Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb 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-ssh7182278202143193806.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-ssh12268478447876357625.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17289357106583766625.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 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-ssh16098513692260843001.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16757885854922633350.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-7247 in /w/workspace/edgexfoundry_device-mqtt-go_main [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/edgexfoundry_device-mqtt-go_main # 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 Avoid second fetch Checking out Revision cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb (main) Commit message: "Merge pull request #687 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" > 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 core.sparsecheckout # timeout=10 > git checkout -f cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 > git rev-list --no-walk 151f68fece686541369959fa72875a7edd02f739 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:57:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:57:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:57:05 ========================================================= 01:57:05 EdgeX Global Pipelines Version Info 01:57:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:57:06 ------------------- 01:57:06 stable info: 01:57:06 ------------------- 01:57:06 Commited By: Ginny Guan ginny@iotechsys.com 01:57:06 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:57:06 Message: update stable to v1.0.260 01:57:06 ------------------- 01:57:06 experimental info: 01:57:06 ------------------- 01:57:06 Commited By: Ginny Guan ginny@iotechsys.com 01:57:06 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:57:06 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:57:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf4a1ca [Pipeline] echo 01:57:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:07 provisioning config files... 01:57:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15609954584701069295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:07 ---> ****-login.sh 01:57:07 nexus3.edgexfoundry.org:10001 01:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:08 Configure a credential helper to remove this warning. See 01:57:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:08 01:57:08 Login Succeeded 01:57:08 nexus3.edgexfoundry.org:10002 01:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:08 Configure a credential helper to remove this warning. See 01:57:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:08 01:57:08 Login Succeeded 01:57:08 nexus3.edgexfoundry.org:10003 01:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:08 Configure a credential helper to remove this warning. See 01:57:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:08 01:57:08 Login Succeeded 01:57:08 nexus3.edgexfoundry.org:10004 01:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:08 Configure a credential helper to remove this warning. See 01:57:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:08 01:57:08 Login Succeeded 01:57:08 ****.io 01:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:08 Configure a credential helper to remove this warning. See 01:57:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:08 01:57:08 Login Succeeded 01:57:08 ---> ****-login.sh ends [Pipeline] } 01:57:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:57:09 + git rev-list -1 --merges cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb~1..cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb [Pipeline] echo 01:57:09 -----------> git rev-list -1 --merges cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb~1..cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb 01:57:09 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb [false] [Pipeline] sh 01:57:09 + git log --format=format:%s -1 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb [Pipeline] echo 01:57:09 ========================================================= 01:57:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:57:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:09 + git log --format=format:%s -1 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb [Pipeline] echo 01:57:09 [semverPrep] GIT_COMMIT: cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb, Commit Message: Merge pull request #687 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0 [Pipeline] echo 01:57:09 [semverPrep] This is not a build commit. [Pipeline] sh 01:57:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:57:10 + grep -v github /etc/ssh/ssh_known_hosts 01:57:10 + [ -e /tmp/ssh_known_hosts ] 01:57:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:57:10 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:57:10 sudo tee -a /etc/ssh/ssh_known_hosts 01:57:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:10 01:57:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:11 0.1.4: Pulling from edgex-devops/py-git-semver 01:57:11 b85a868b505f: Pulling fs layer 01:57:11 e2be974225ed: Pulling fs layer 01:57:11 339a4e72a1f5: Pulling fs layer 01:57:11 988bab9f4d93: Pulling fs layer 01:57:11 1469e6f7b9e6: Pulling fs layer 01:57:11 eaf3925da568: Pulling fs layer 01:57:11 bab4dde63d76: Pulling fs layer 01:57:11 bde34c3a00c8: Pulling fs layer 01:57:11 b352a97aabf1: Pulling fs layer 01:57:11 4872d77fe225: Pulling fs layer 01:57:11 5851b861e8e6: Pulling fs layer 01:57:11 988bab9f4d93: Waiting 01:57:11 1469e6f7b9e6: Waiting 01:57:11 eaf3925da568: Waiting 01:57:11 4872d77fe225: Waiting 01:57:11 bab4dde63d76: Waiting 01:57:11 b352a97aabf1: Waiting 01:57:11 5851b861e8e6: Waiting 01:57:11 bde34c3a00c8: Waiting 01:57:11 e2be974225ed: Verifying Checksum 01:57:11 e2be974225ed: Download complete 01:57:11 988bab9f4d93: Download complete 01:57:11 1469e6f7b9e6: Verifying Checksum 01:57:11 1469e6f7b9e6: Download complete 01:57:11 eaf3925da568: Verifying Checksum 01:57:11 eaf3925da568: Download complete 01:57:11 339a4e72a1f5: Verifying Checksum 01:57:11 339a4e72a1f5: Download complete 01:57:11 bde34c3a00c8: Verifying Checksum 01:57:11 bde34c3a00c8: Download complete 01:57:11 4872d77fe225: Download complete 01:57:11 5851b861e8e6: Verifying Checksum 01:57:11 5851b861e8e6: Download complete 01:57:11 b85a868b505f: Verifying Checksum 01:57:11 b85a868b505f: Download complete 01:57:11 bab4dde63d76: Verifying Checksum 01:57:11 bab4dde63d76: Download complete 01:57:12 b85a868b505f: Pull complete 01:57:12 e2be974225ed: Pull complete 01:57:13 339a4e72a1f5: Pull complete 01:57:13 988bab9f4d93: Pull complete 01:57:13 1469e6f7b9e6: Pull complete 01:57:13 eaf3925da568: Pull complete 01:57:15 bab4dde63d76: Pull complete 01:57:15 bde34c3a00c8: Pull complete 01:57:15 b352a97aabf1: Pull complete 01:57:15 4872d77fe225: Pull complete 01:57:15 5851b861e8e6: Pull complete 01:57:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:57:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:15 prd-ubuntu20.04-docker-8c-8g-7247 does not seem to be running inside a container 01:57:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:57:19 $ docker top f38d2d86b9156cc8f04ecbf78d18ac655625293e001e40872d22870cae5878bc -eo pid,comm 01:57:19 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:57:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:57:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:19 [ssh-agent] Looking for ssh-agent implementation... 01:57:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:19 $ docker exec f38d2d86b9156cc8f04ecbf78d18ac655625293e001e40872d22870cae5878bc ssh-agent 01:57:19 SSH_AUTH_SOCK=/tmp/ssh-K2QDPoBs0xkF/agent.32 01:57:19 SSH_AGENT_PID=38 01:57:19 Running ssh-add (command line suppressed) 01:57:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16228090990995297270.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16228090990995297270.key) 01:57:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:20 + git tag --points-at HEAD [Pipeline] } 01:57:20 $ docker exec --env ******** --env ******** f38d2d86b9156cc8f04ecbf78d18ac655625293e001e40872d22870cae5878bc ssh-agent -k 01:57:20 unset SSH_AUTH_SOCK; 01:57:20 unset SSH_AGENT_PID; 01:57:20 echo Agent pid 38 killed; 01:57:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:57:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:20 [ssh-agent] Looking for ssh-agent implementation... 01:57:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:20 $ docker exec f38d2d86b9156cc8f04ecbf78d18ac655625293e001e40872d22870cae5878bc ssh-agent 01:57:20 SSH_AUTH_SOCK=/tmp/ssh-irlaNzPsUtZ9/agent.71 01:57:20 SSH_AGENT_PID=77 01:57:20 Running ssh-add (command line suppressed) 01:57:20 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6875288939379434391.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6875288939379434391.key) 01:57:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:20 + git semver init 01:57:21 2024-08-07 01:57:21,080 [run_init] DEBUG init version:0.0.0 force:False 01:57:21 2024-08-07 01:57:21,081 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:57:21 2024-08-07 01:57:21,082 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:57:21 2024-08-07 01:57:21,082 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 01:57:23 2024-08-07 01:57:22,666 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:57:23 2024-08-07 01:57:22,667 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:57:23 2024-08-07 01:57:22,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:57:23 2024-08-07 01:57:22,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:57:23 3.2.0-dev.19 [Pipeline] } 01:57:23 $ docker exec --env ******** --env ******** f38d2d86b9156cc8f04ecbf78d18ac655625293e001e40872d22870cae5878bc ssh-agent -k 01:57:23 unset SSH_AUTH_SOCK; 01:57:23 unset SSH_AGENT_PID; 01:57:23 echo Agent pid 77 killed; 01:57:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:57:23 + git semver [Pipeline] } 01:57:23 $ docker stop --time=1 f38d2d86b9156cc8f04ecbf78d18ac655625293e001e40872d22870cae5878bc 01:57:25 $ docker rm -f --volumes f38d2d86b9156cc8f04ecbf78d18ac655625293e001e40872d22870cae5878bc [Pipeline] // withDockerContainer [Pipeline] sh 01:57:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:57:25 Stashed 1 file(s) [Pipeline] echo 01:57:25 [edgeXSemver]: initialized semver on version 3.2.0-dev.19 [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:57:25 provisioning config files... 01:57:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2740128378688741328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:26 ---> ****-login.sh 01:57:26 nexus3.edgexfoundry.org:10001 01:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:26 Configure a credential helper to remove this warning. See 01:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:26 01:57:26 Login Succeeded 01:57:26 nexus3.edgexfoundry.org:10002 01:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:26 Configure a credential helper to remove this warning. See 01:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:26 01:57:26 Login Succeeded 01:57:26 nexus3.edgexfoundry.org:10003 01:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:26 Configure a credential helper to remove this warning. See 01:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:26 01:57:26 Login Succeeded 01:57:26 nexus3.edgexfoundry.org:10004 01:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:26 Configure a credential helper to remove this warning. See 01:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:26 01:57:26 Login Succeeded 01:57:26 ****.io 01:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:26 Configure a credential helper to remove this warning. See 01:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:26 01:57:26 Login Succeeded 01:57:26 ---> ****-login.sh ends [Pipeline] } 01:57:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:26 ========================================================= 01:57:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:57:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:27 + 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:57:27 Sending build context to Docker daemon 20.82MB 01:57:27 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:57:27 Step 2/12 : FROM ${BASE} AS builder 01:57:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:57:27 619be1103602: Pulling fs layer 01:57:27 7862e08f4a3e: Pulling fs layer 01:57:27 5df492c9dc93: Pulling fs layer 01:57:27 7629e6793208: Pulling fs layer 01:57:27 4f4fb700ef54: Pulling fs layer 01:57:27 fb5054dd5b73: Pulling fs layer 01:57:27 eeca6798cff9: Pulling fs layer 01:57:27 aa269ceb94a6: Pulling fs layer 01:57:27 ada007ff1a6a: Pulling fs layer 01:57:27 4f4fb700ef54: Waiting 01:57:27 eeca6798cff9: Waiting 01:57:27 fb5054dd5b73: Waiting 01:57:27 aa269ceb94a6: Waiting 01:57:27 ada007ff1a6a: Waiting 01:57:27 7629e6793208: Waiting 01:57:27 7862e08f4a3e: Verifying Checksum 01:57:27 7862e08f4a3e: Download complete 01:57:27 7629e6793208: Verifying Checksum 01:57:27 7629e6793208: Download complete 01:57:27 4f4fb700ef54: Download complete 01:57:27 fb5054dd5b73: Download complete 01:57:27 619be1103602: Verifying Checksum 01:57:27 619be1103602: Download complete 01:57:27 eeca6798cff9: Verifying Checksum 01:57:27 eeca6798cff9: Download complete 01:57:27 619be1103602: Pull complete 01:57:27 ada007ff1a6a: Verifying Checksum 01:57:27 7862e08f4a3e: Pull complete 01:57:27 5df492c9dc93: Verifying Checksum 01:57:27 5df492c9dc93: Download complete 01:57:28 aa269ceb94a6: Verifying Checksum 01:57:28 aa269ceb94a6: Download complete 01:57:31 5df492c9dc93: Pull complete 01:57:31 7629e6793208: Pull complete 01:57:31 4f4fb700ef54: Pull complete 01:57:31 fb5054dd5b73: Pull complete 01:57:31 eeca6798cff9: Pull complete 01:57:34 aa269ceb94a6: Pull complete 01:57:34 ada007ff1a6a: Pull complete 01:57:34 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:57:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:57:34 ---> f489d0715acc 01:57:34 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:57:40 ---> Running in ff0e5b7e12ae 01:57:40 Removing intermediate container ff0e5b7e12ae 01:57:40 ---> 2e0b760bd335 01:57:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:57:40 ---> Running in 130ebe2ff603 01:57:40 Removing intermediate container 130ebe2ff603 01:57:40 ---> 6084e720d98a 01:57:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:57:40 ---> Running in 869ca77b6687 01:57:40 Removing intermediate container 869ca77b6687 01:57:40 ---> fad8dd6f9b9d 01:57:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:57:40 ---> Running in d6ce5237e6ca 01:57:40 Removing intermediate container d6ce5237e6ca 01:57:40 ---> 76b4d4355d8b 01:57:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:57:40 ---> Running in bf60aea13f6f 01:57:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:57:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:57:40 Still waiting to schedule task 01:57:40 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:57:40 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:57:40 (2/4) Installing libedit (20221030.3.1-r1) 01:57:40 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:57:40 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:57:40 Executing busybox-1.36.1-r5.trigger 01:57:40 OK: 268 MiB in 56 packages 01:57:41 Removing intermediate container bf60aea13f6f 01:57:41 ---> a8643e802c79 01:57:41 Step 8/12 : WORKDIR /device-mqtt-go 01:57:41 ---> Running in 8b63803a6d53 01:57:41 Removing intermediate container 8b63803a6d53 01:57:41 ---> acfe0835ac22 01:57:41 Step 9/12 : COPY go.mod vendor* ./ 01:57:41 ---> a0bbe9047f3a 01:57:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:41 ---> Running in 5f7e6050189a 01:58:38 Removing intermediate container 5f7e6050189a 01:58:38 ---> 2111574a709e 01:58:38 Step 11/12 : COPY . . 01:58:39 ---> 858460bdea94 01:58:39 Step 12/12 : RUN $MAKE 01:58:39 ---> Running in a4d32764c056 01:58:39 noop 01:58:39 Removing intermediate container a4d32764c056 01:58:39 ---> 7044d9b6cf43 01:58:39 Successfully built 7044d9b6cf43 01:58:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:39 + docker inspect -f . ci-base-image-x86_64 01:58:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:39 prd-ubuntu20.04-docker-8c-8g-7247 does not seem to be running inside a container 01:58:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat 01:58:40 $ docker top 04bca7a02fda180136cf3df2a0404f8db3e1c2035c02f2b9ad964e44ec63021a -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:40 + go version 01:58:40 go version go1.21.9 linux/amd64 [Pipeline] } 01:58:40 $ docker stop --time=1 04bca7a02fda180136cf3df2a0404f8db3e1c2035c02f2b9ad964e44ec63021a 01:58:41 $ docker rm -f --volumes 04bca7a02fda180136cf3df2a0404f8db3e1c2035c02f2b9ad964e44ec63021a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:42 + docker inspect -f . ci-base-image-x86_64 01:58:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:42 prd-ubuntu20.04-docker-8c-8g-7247 does not seem to be running inside a container 01:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat 01:58:42 $ docker top 4129b81ce42b2ff9a67aae0a9ef671c64dea05100f5d805915d8c5b30853fb08 -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:43 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:58:43 + make test 01:58:43 go test ./... -coverprofile=coverage.out ./... 01:58:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:59:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:59:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:59:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.8% of statements 01:59:16 go vet ./... 01:59:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:59:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:59:21 ./bin/test-attribution-txt.sh 01:59:21 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:59:21 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:59:21 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:59:21 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:59:21 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:59:21 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:59:21 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:59:21 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:59:21 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:59:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:59:21 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:59:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:59:21 $ docker stop --time=1 4129b81ce42b2ff9a67aae0a9ef671c64dea05100f5d805915d8c5b30853fb08 01:59:26 $ docker rm -f --volumes 4129b81ce42b2ff9a67aae0a9ef671c64dea05100f5d805915d8c5b30853fb08 [Pipeline] // withDockerContainer [Pipeline] sh 01:59:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:59:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:59:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:59:27 + ls -al . 01:59:27 total 252 01:59:27 drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 01:58 . 01:59:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 01:56 .. 01:59:27 -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 01:57 .dockerignore 01:59:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 01:59 .git 01:59:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:57 .github 01:59:27 -rw-rw-r-- 1 jenkins jenkins 264 Aug 7 01:57 .gitignore 01:59:27 -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 01:57 .golangci.yml 01:59:27 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 01:57 .semver 01:59:27 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 7 01:57 Attribution.txt 01:59:27 -rw-rw-r-- 1 jenkins jenkins 18574 Aug 7 01:57 CHANGELOG.md 01:59:27 -rw-rw-r-- 1 jenkins jenkins 1798 Aug 7 01:57 Dockerfile 01:59:27 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 01:57 GOVERNANCE.md 01:59:27 -rw-rw-r-- 1 jenkins jenkins 657 Aug 7 01:57 Jenkinsfile 01:59:27 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 01:57 LICENSE 01:59:27 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 7 01:57 Makefile 01:59:27 -rw-rw-r-- 1 jenkins jenkins 620 Aug 7 01:57 OWNERS.md 01:59:27 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 7 01:57 README.md 01:59:27 -rw-rw-r-- 1 jenkins jenkins 12 Aug 7 01:57 VERSION 01:59:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:57 bin 01:59:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:57 cmd 01:59:27 -rw-r--r-- 1 jenkins jenkins 18506 Aug 7 01:59 coverage.out 01:59:27 -rw-rw-r-- 1 jenkins jenkins 7065 Aug 7 01:57 go.mod 01:59:27 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 7 01:57 go.sum 01:59:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:57 internal 01:59:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:57 mock 01:59:27 -rw-rw-r-- 1 jenkins jenkins 227 Aug 7 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:28 + 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=cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb --label arch=amd64 --label version=3.2.0-dev.19 . 01:59:28 Sending build context to Docker daemon 20.84MB 01:59:28 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:59:28 Step 2/25 : FROM ${BASE} AS builder 01:59:28 ---> 7044d9b6cf43 01:59:28 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:59:28 ---> Running in d896f3bb5914 01:59:28 Removing intermediate container d896f3bb5914 01:59:28 ---> 6203cfb1e37c 01:59:28 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:28 ---> Running in a1c6a6620980 01:59:28 Removing intermediate container a1c6a6620980 01:59:28 ---> 41ed907b0929 01:59:28 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:28 ---> Running in 16450907ec41 01:59:28 Removing intermediate container 16450907ec41 01:59:28 ---> 0a8de0e87bd4 01:59:28 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:59:28 ---> Running in a40174a1db00 01:59:28 Removing intermediate container a40174a1db00 01:59:28 ---> 1bf4c9c8db4e 01:59:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:28 ---> Running in aec3d649ca75 01:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:59:29 OK: 268 MiB in 56 packages 01:59:29 Removing intermediate container aec3d649ca75 01:59:29 ---> 880c5ba0c412 01:59:29 Step 8/25 : WORKDIR /device-mqtt-go 01:59:29 ---> Running in 7b5994025166 01:59:30 Removing intermediate container 7b5994025166 01:59:30 ---> 195111f28beb 01:59:30 Step 9/25 : COPY go.mod vendor* ./ 01:59:30 ---> 99692ee17bf8 01:59:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:30 ---> Running in cab207e17c65 01:59:31 Removing intermediate container cab207e17c65 01:59:31 ---> a71ad9e6eec8 01:59:31 Step 11/25 : COPY . . 01:59:31 ---> 74ed010e5cce 01:59:31 Step 12/25 : RUN $MAKE 01:59:31 ---> Running in d28629ca39c0 01:59:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:00:10 Removing intermediate container d28629ca39c0 02:00:10 ---> c7a89feca30a 02:00:10 Step 13/25 : FROM alpine:3.18 02:00:10 3.18: Pulling from library/alpine 02:00:10 930bdd4d222e: Pulling fs layer 02:00:10 930bdd4d222e: Verifying Checksum 02:00:10 930bdd4d222e: Download complete 02:00:10 930bdd4d222e: Pull complete 02:00:10 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:00:10 Status: Downloaded newer image for alpine:3.18 02:00:10 ---> 18f865063206 02:00:10 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:00:10 ---> Running in 5f2e2ea08fee 02:00:10 Removing intermediate container 5f2e2ea08fee 02:00:10 ---> 25a4b26a7c54 02:00:10 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:00:10 ---> Running in d2a45a770ae1 02:00:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:00:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:00:10 (1/1) Installing dumb-init (1.2.5-r2) 02:00:10 Executing busybox-1.36.1-r7.trigger 02:00:10 OK: 7 MiB in 16 packages 02:00:10 Removing intermediate container d2a45a770ae1 02:00:10 ---> 6c4096f018d4 02:00:10 Step 16/25 : RUN apk --no-cache upgrade 02:00:10 ---> Running in 4bf8b986bc26 02:00:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:00:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:00:10 OK: 7 MiB in 16 packages 02:00:11 Removing intermediate container 4bf8b986bc26 02:00:11 ---> 438223e3e644 02:00:11 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:00:13 ---> 98a48f8f3a34 02:00:13 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:00:13 ---> 1696f9a6026f 02:00:13 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:00:13 ---> d5798ccdd9d5 02:00:13 Step 20/25 : EXPOSE 59982 02:00:13 ---> Running in a07ae36a71f5 02:00:13 Removing intermediate container a07ae36a71f5 02:00:13 ---> e92019f0afca 02:00:13 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:00:13 ---> Running in b76b00921a6f 02:00:13 Removing intermediate container b76b00921a6f 02:00:13 ---> c98e065f1fed 02:00:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:00:13 ---> Running in 5f813c5d0ada 02:00:13 Removing intermediate container 5f813c5d0ada 02:00:13 ---> f8ceec5292e4 02:00:13 Step 23/25 : LABEL arch=amd64 02:00:13 ---> Running in 8d9194cb500c 02:00:13 Removing intermediate container 8d9194cb500c 02:00:13 ---> 27c532eda7a3 02:00:13 Step 24/25 : LABEL git_sha=cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb 02:00:13 ---> Running in 746db05f00ad 02:00:13 Removing intermediate container 746db05f00ad 02:00:13 ---> aad212ca1621 02:00:13 Step 25/25 : LABEL version=3.2.0-dev.19 02:00:13 ---> Running in ba2083b9afd2 02:00:13 Removing intermediate container ba2083b9afd2 02:00:13 ---> 003e3cb4c47a 02:00:13 [Warning] One or more build-args [ARCH] were not consumed 02:00:13 Successfully built 003e3cb4c47a 02:00:13 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:13 provisioning config files... 02:00:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8331697579399859733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:14 ---> ****-login.sh 02:00:14 nexus3.edgexfoundry.org:10001 02:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:14 Configure a credential helper to remove this warning. See 02:00:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:14 02:00:14 Login Succeeded 02:00:14 nexus3.edgexfoundry.org:10002 02:00:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:15 Configure a credential helper to remove this warning. See 02:00:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:15 02:00:15 Login Succeeded 02:00:15 nexus3.edgexfoundry.org:10003 02:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:15 Configure a credential helper to remove this warning. See 02:00:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:15 02:00:15 Login Succeeded 02:00:15 nexus3.edgexfoundry.org:10004 02:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:15 Configure a credential helper to remove this warning. See 02:00:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:15 02:00:15 Login Succeeded 02:00:15 ****.io 02:00:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:00:16 Configure a credential helper to remove this warning. See 02:00:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:00:16 02:00:16 Login Succeeded 02:00:16 ---> ****-login.sh ends [Pipeline] } 02:00:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:00:16 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:00:16 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb 02:00:16 latest 02:00:16 3.2.0-dev.19 02:00:16 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb-3.2.0-dev.19 02:00:16 main 02:00:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb 02:00:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:16 47352bfef9a5: Preparing 02:00:16 b757cd8207c3: Preparing 02:00:16 162ac360ece2: Preparing 02:00:16 26c87d61f010: Preparing 02:00:16 f18df0cd8404: Preparing 02:00:16 ce7f800efff9: Preparing 02:00:16 ce7f800efff9: Waiting 02:00:16 b757cd8207c3: Pushed 02:00:16 47352bfef9a5: Pushed 02:00:16 ce7f800efff9: Layer already exists 02:00:17 26c87d61f010: Pushed 02:00:17 f18df0cd8404: Pushed 02:00:22 162ac360ece2: Pushed 02:00:22 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb: digest: sha256:68785b113f2e4d7b599883894ef621dace6c6dd0b322bb7cd58413a7c5c16562 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:00:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:23 47352bfef9a5: Preparing 02:00:23 b757cd8207c3: Preparing 02:00:23 162ac360ece2: Preparing 02:00:23 26c87d61f010: Preparing 02:00:23 f18df0cd8404: Preparing 02:00:23 ce7f800efff9: Preparing 02:00:23 ce7f800efff9: Waiting 02:00:23 26c87d61f010: Layer already exists 02:00:23 b757cd8207c3: Layer already exists 02:00:23 f18df0cd8404: Layer already exists 02:00:23 162ac360ece2: Layer already exists 02:00:23 47352bfef9a5: Layer already exists 02:00:23 ce7f800efff9: Layer already exists 02:00:23 latest: digest: sha256:68785b113f2e4d7b599883894ef621dace6c6dd0b322bb7cd58413a7c5c16562 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.19 02:00:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:23 47352bfef9a5: Preparing 02:00:23 b757cd8207c3: Preparing 02:00:23 162ac360ece2: Preparing 02:00:23 26c87d61f010: Preparing 02:00:23 f18df0cd8404: Preparing 02:00:23 ce7f800efff9: Preparing 02:00:23 ce7f800efff9: Waiting 02:00:23 47352bfef9a5: Layer already exists 02:00:23 26c87d61f010: Layer already exists 02:00:23 b757cd8207c3: Layer already exists 02:00:23 162ac360ece2: Layer already exists 02:00:23 f18df0cd8404: Layer already exists 02:00:24 ce7f800efff9: Layer already exists 02:00:24 3.2.0-dev.19: digest: sha256:68785b113f2e4d7b599883894ef621dace6c6dd0b322bb7cd58413a7c5c16562 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb-3.2.0-dev.19 02:00:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:24 47352bfef9a5: Preparing 02:00:24 b757cd8207c3: Preparing 02:00:24 162ac360ece2: Preparing 02:00:24 26c87d61f010: Preparing 02:00:24 f18df0cd8404: Preparing 02:00:24 ce7f800efff9: Preparing 02:00:24 ce7f800efff9: Waiting 02:00:24 162ac360ece2: Layer already exists 02:00:24 b757cd8207c3: Layer already exists 02:00:24 26c87d61f010: Layer already exists 02:00:24 47352bfef9a5: Layer already exists 02:00:24 f18df0cd8404: Layer already exists 02:00:24 ce7f800efff9: Layer already exists 02:00:24 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb-3.2.0-dev.19: digest: sha256:68785b113f2e4d7b599883894ef621dace6c6dd0b322bb7cd58413a7c5c16562 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:00:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:00:26 47352bfef9a5: Preparing 02:00:26 b757cd8207c3: Preparing 02:00:26 162ac360ece2: Preparing 02:00:26 26c87d61f010: Preparing 02:00:26 f18df0cd8404: Preparing 02:00:26 ce7f800efff9: Preparing 02:00:26 ce7f800efff9: Waiting 02:00:27 f18df0cd8404: Layer already exists 02:00:27 26c87d61f010: Layer already exists 02:00:27 b757cd8207c3: Layer already exists 02:00:27 47352bfef9a5: Layer already exists 02:00:27 162ac360ece2: Layer already exists 02:00:27 ce7f800efff9: Layer already exists 02:00:27 main: digest: sha256:68785b113f2e4d7b599883894ef621dace6c6dd0b322bb7cd58413a7c5c16562 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:27 ===================================================== [Pipeline] echo 02:00:27 taggedImages: 02:00:27 - nexus3.edgexfoundry.org:10004/device-mqtt:cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb 02:00:27 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:00:27 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.19 02:00:27 - nexus3.edgexfoundry.org:10004/device-mqtt:cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb-3.2.0-dev.19 02:00:27 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [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 02:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:27 02:00:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:28 latest: Pulling from edgex-lftools-log-publisher 02:00:28 5eb5b503b376: Pulling fs layer 02:00:28 5c69ac0246d0: Pulling fs layer 02:00:28 ec43610c2a17: Pulling fs layer 02:00:28 3a2ae6a8a46f: Pulling fs layer 02:00:28 33b1e0a273af: Pulling fs layer 02:00:28 5d3b04190fa2: Pulling fs layer 02:00:28 2f39f015ded8: Pulling fs layer 02:00:28 3a2ae6a8a46f: Waiting 02:00:28 33b1e0a273af: Waiting 02:00:28 5d3b04190fa2: Waiting 02:00:28 2f39f015ded8: Waiting 02:00:28 5c69ac0246d0: Verifying Checksum 02:00:28 5c69ac0246d0: Download complete 02:00:28 3a2ae6a8a46f: Download complete 02:00:28 33b1e0a273af: Verifying Checksum 02:00:28 33b1e0a273af: Download complete 02:00:28 5d3b04190fa2: Verifying Checksum 02:00:28 5d3b04190fa2: Download complete 02:00:28 ec43610c2a17: Verifying Checksum 02:00:28 ec43610c2a17: Download complete 02:00:28 5eb5b503b376: Verifying Checksum 02:00:28 5eb5b503b376: Download complete 02:00:28 2f39f015ded8: Download complete 02:00:29 5eb5b503b376: Pull complete 02:00:29 5c69ac0246d0: Pull complete 02:00:30 ec43610c2a17: Pull complete 02:00:30 3a2ae6a8a46f: Pull complete 02:00:30 33b1e0a273af: Pull complete 02:00:30 5d3b04190fa2: Pull complete 02:00:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7248 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:00:34 Running in /w/workspace/device-mqtt-go/173 [Pipeline] { [Pipeline] checkout 02:00:34 2f39f015ded8: Pull complete 02:00:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:00:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 02:00:37 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:37 prd-ubuntu20.04-docker-8c-8g-7247 does not seem to be running inside a container 02:00:37 $ 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/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:00:42 using credential edgex-jenkins-ssh 02:00:42 Cloning the remote Git repository 02:00:43 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:00:43 > git init /w/workspace/device-mqtt-go/173 # timeout=10 02:00:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:00:43 > git --version # timeout=10 02:00:43 > git --version # 'git version 2.25.1' 02:00:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:00:44 $ docker top 967355a8f820ff17370225096cb1a74ea115ad6c5606c332ccf3392498b9471f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:44 ---> job-cost.sh 02:00:44 lf-activate-venv: SKIPPING 02:00:44 INFO: No Stack... 02:00:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:00:46 INFO: Archiving Costs [Pipeline] sh 02:00:46 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:00:46 + cut -d, -f6 [Pipeline] lock 02:00:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-173-stack-cost] 02:00:46 Resource [jenkins-edgexfoundry-device-mqtt-go-main-173-stack-cost] did not exist. Created. 02:00:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:00:46 + echo total: 0.2199999988079071 [Pipeline] stash 02:00:46 Stashed 1 file(s) [Pipeline] } 02:00:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } 02:00:47 $ docker stop --time=1 967355a8f820ff17370225096cb1a74ea115ad6c5606c332ccf3392498b9471f 02:00:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:00:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:00:51 $ docker rm -f --volumes 967355a8f820ff17370225096cb1a74ea115ad6c5606c332ccf3392498b9471f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:04 Avoid second fetch 02:01:04 Checking out Revision cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb (main) 02:01:05 Commit message: "Merge pull request #687 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" 02:01:04 > git config core.sparsecheckout # timeout=10 02:01:04 > git checkout -f cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:01:14 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:14 Dload Upload Total Spent Left Speed 02:01:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 02:01:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:01:15 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 02:01:15 /etc/docker/daemon.json 02:01:15 { 02:01:15 "registry-mirrors": [ 02:01:15 "https://nexus3.edgexfoundry.org:10001" 02:01:15 ], 02:01:15 "bip": "10.250.0.254/24", 02:01:15 "hosts": [ 02:01:15 "tcp://0.0.0.0:5555", 02:01:15 "unix:///var/run/docker.sock" 02:01:15 ], 02:01:15 "mtu": 1458, 02:01:15 "selinux-enabled": true, 02:01:15 "seccomp-profile": "/etc/docker/seccomp.json" 02:01:15 } [Pipeline] sh 02:01:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:01:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:34 provisioning config files... 02:01:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/173@tmp/config3778415709238643163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:34 ---> ****-login.sh 02:01:34 nexus3.edgexfoundry.org:10001 02:01:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:53 Error response from daemon: Get "https://nexus3.edgexfoundry.org:10001/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers) [Pipeline] } 02:01:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:01:53 02:01:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:01:58 arm64: Pulling from edgex-lftools-log-publisher 02:01:58 8998bd30e6a1: Pulling fs layer 02:01:58 04944245beec: Pulling fs layer 02:01:58 699f458cf7ca: Pulling fs layer 02:01:58 765212b225bb: Pulling fs layer 02:01:58 f23df028b6ca: Pulling fs layer 02:01:58 765212b225bb: Waiting 02:01:58 f23df028b6ca: Waiting 02:01:58 d65c8cfc05b1: Pulling fs layer 02:01:58 2437ff75d9bd: Pulling fs layer 02:01:58 d65c8cfc05b1: Waiting 02:01:58 2437ff75d9bd: Waiting 02:01:58 04944245beec: Verifying Checksum 02:01:58 04944245beec: Download complete 02:01:58 765212b225bb: Verifying Checksum 02:01:58 765212b225bb: Download complete 02:01:58 f23df028b6ca: Verifying Checksum 02:01:58 f23df028b6ca: Download complete 02:01:58 d65c8cfc05b1: Verifying Checksum 02:01:58 d65c8cfc05b1: Download complete 02:01:58 699f458cf7ca: Verifying Checksum 02:01:58 699f458cf7ca: Download complete 02:01:59 8998bd30e6a1: Download complete 02:02:01 2437ff75d9bd: Verifying Checksum 02:02:01 2437ff75d9bd: Download complete 02:02:03 8998bd30e6a1: Pull complete 02:02:04 04944245beec: Pull complete 02:02:05 699f458cf7ca: Pull complete 02:02:05 765212b225bb: Pull complete 02:02:06 f23df028b6ca: Pull complete 02:02:06 d65c8cfc05b1: Pull complete 02:02:25 2437ff75d9bd: Pull complete 02:02:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:02:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:25 prd-ubuntu20.04-docker-arm64-4c-16g-7248 does not seem to be running inside a container 02:02:25 $ 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/173 -v /w/workspace/device-mqtt-go/173:/w/workspace/device-mqtt-go/173:rw,z -v /w/workspace/device-mqtt-go/173@tmp:/w/workspace/device-mqtt-go/173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:02:28 $ docker top 8b7499b313afd9120099e97475582b10f0a4dc61b4e259371aec40b6374106f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:28 ---> job-cost.sh 02:02:28 lf-activate-venv: SKIPPING 02:02:28 INFO: No Stack... 02:02:29 INFO: Retrieving Pricing Info for: v3-standard-4 02:02:30 INFO: Archiving Costs [Pipeline] sh 02:02:30 + cat /w/workspace/device-mqtt-go/173/archives/cost.csv 02:02:30 + cut -d, -f6 [Pipeline] lock 02:02:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-173-stack-cost] 02:02:30 Resource [jenkins-edgexfoundry-device-mqtt-go-main-173-stack-cost] did not exist. Created. 02:02:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-173-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:02:31 /w/workspace/device-mqtt-go/173@tmp/durable-aac5d94f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:02:32 + echo total: 0.10999999940395355 [Pipeline] stash 02:02:32 Warning: overwriting stash ‘stack-cost’ 02:02:32 Stashed 1 file(s) [Pipeline] } 02:02:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-173-stack-cost] [Pipeline] // lock [Pipeline] } 02:02:32 $ docker stop --time=1 8b7499b313afd9120099e97475582b10f0a4dc61b4e259371aec40b6374106f2 02:02:34 $ docker rm -f --volumes 8b7499b313afd9120099e97475582b10f0a4dc61b4e259371aec40b6374106f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:02:34 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:02:35 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:02:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:02:35 total 16 02:02:35 drwxr-xr-x 3 root root 4096 Aug 7 02:00 . 02:02:35 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 02:00 .. 02:02:35 drwxr-xr-x 2 root root 4096 Aug 7 02:00 cost 02:02:35 -rw-r--r-- 1 root root 86 Aug 7 02:00 cost.csv 02:02:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:02:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:02:35 total 16 02:02:35 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 02:00 . 02:02:35 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 02:00 .. 02:02:35 drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 02:00 cost 02:02:35 -rw-r--r-- 1 jenkins jenkins 86 Aug 7 02:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:02:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:02:36 ---> package-listing.sh 02:02:36 ++ facter osfamily 02:02:36 ++ tr '[:upper:]' '[:lower:]' 02:02:36 + OS_FAMILY=debian 02:02:36 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:02:36 + START_PACKAGES=/tmp/packages_start.txt 02:02:36 + END_PACKAGES=/tmp/packages_end.txt 02:02:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:02:36 + PACKAGES=/tmp/packages_start.txt 02:02:36 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:02:36 + PACKAGES=/tmp/packages_end.txt 02:02:36 + case "${OS_FAMILY}" in 02:02:36 + dpkg -l 02:02:36 + grep '^ii' 02:02:36 + '[' -f /tmp/packages_start.txt ']' 02:02:36 + '[' -f /tmp/packages_end.txt ']' 02:02:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:02:36 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:02:36 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:02:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:02:36 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:02:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:38 prd-ubuntu20.04-docker-8c-8g-7247 does not seem to be running inside a container 02:02:38 $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-lftools-log-publisher:latest cat 02:02:38 $ docker top 8220114cb0f50e32c088e1c397df9c0316af63c9991144959957a54496286f87 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:41 + touch /tmp/pre-build-complete [Pipeline] sh 02:02:42 + mkdir -p /var/log/sysstat [Pipeline] sh 02:02:42 + ls /var/log/sa-host 02:02:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:42 provisioning config files... 02:02:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5472835987729262567tmp [Pipeline] { [Pipeline] echo 02:02:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:02:42 ---> create-netrc.sh [Pipeline] } 02:02:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:02:43 ---> python-tools-install.sh [Pipeline] echo 02:02:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:02:43 ---> sudo-logs.sh 02:02:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:02:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:02:43 ---> job-cost.sh 02:02:43 lf-activate-venv: SKIPPING 02:02:43 DEBUG: total: 0.2199999988079071 02:02:43 INFO: Retrieving Stack Cost... 02:02:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:02:44 INFO: Archiving Costs [Pipeline] echo 02:02:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:02:44 ---> logs-deploy.sh 02:02:44 lf-activate-venv: SKIPPING 02:02:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/173 02:02:44 INFO: archiving workspace using pattern(s): 02:02:45 Archives upload complete. 02:02:46 INFO: archiving logs to Nexus 02:02:46 ---> uname -a: 02:02:46 Linux prd-ubuntu20-04-docker-8c-8g-7247 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:02:46 02:02:46 02:02:46 ---> lscpu: 02:02:46 Architecture: x86_64 02:02:46 CPU op-mode(s): 32-bit, 64-bit 02:02:46 Byte Order: Little Endian 02:02:46 Address sizes: 40 bits physical, 48 bits virtual 02:02:46 CPU(s): 8 02:02:46 On-line CPU(s) list: 0-7 02:02:46 Thread(s) per core: 1 02:02:46 Core(s) per socket: 1 02:02:46 Socket(s): 8 02:02:46 NUMA node(s): 1 02:02:46 Vendor ID: AuthenticAMD 02:02:46 CPU family: 23 02:02:46 Model: 49 02:02:46 Model name: AMD EPYC-Rome Processor 02:02:46 Stepping: 0 02:02:46 CPU MHz: 2800.000 02:02:46 BogoMIPS: 5600.00 02:02:46 Virtualization: AMD-V 02:02:46 Hypervisor vendor: KVM 02:02:46 Virtualization type: full 02:02:46 L1d cache: 256 KiB 02:02:46 L1i cache: 256 KiB 02:02:46 L2 cache: 4 MiB 02:02:46 L3 cache: 128 MiB 02:02:46 NUMA node0 CPU(s): 0-7 02:02:46 Vulnerability Itlb multihit: Not affected 02:02:46 Vulnerability L1tf: Not affected 02:02:46 Vulnerability Mds: Not affected 02:02:46 Vulnerability Meltdown: Not affected 02:02:46 Vulnerability Mmio stale data: Not affected 02:02:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:02:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:02:46 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:02:46 Vulnerability Srbds: Not affected 02:02:46 Vulnerability Tsx async abort: Not affected 02:02:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:02:46 02:02:46 02:02:46 ---> nproc: 02:02:46 8 02:02:46 02:02:46 02:02:46 ---> df -h: 02:02:46 Filesystem Size Used Avail Use% Mounted on 02:02:46 overlay 155G 12G 143G 8% / 02:02:46 tmpfs 64M 0 64M 0% /dev 02:02:46 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:02:46 shm 64M 0 64M 0% /dev/shm 02:02:46 /dev/vda1 155G 12G 143G 8% /facter-os 02:02:46 02:02:46 02:02:46 ---> sar -b -r -n DEV: 02:02:46 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7247) 08/07/24 _x86_64_ (8 CPU) 02:02:46 02:02:46 01:56:23 LINUX RESTART (8 CPU) 02:02:46 02:02:46 01:57:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:02:46 01:58:01 399.27 10.95 388.32 0.00 1759.04 102437.59 0.00 02:02:46 01:59:01 236.50 1.78 234.72 0.00 29.59 77656.38 0.00 02:02:46 02:00:01 94.77 0.13 94.63 0.00 10.80 30373.87 0.00 02:02:46 02:01:01 125.98 0.07 125.91 0.00 8.80 34740.34 0.00 02:02:46 02:02:01 47.61 5.30 42.31 0.00 4363.41 8401.28 0.00 02:02:46 Average: 180.83 3.65 177.18 0.00 1234.29 50722.79 0.00 02:02:46 02:02:46 01:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:02:46 01:58:01 28997800 31482388 825428 2.51 88464 2648544 2001836 5.90 1102848 2361836 108360 02:02:46 01:59:01 27048264 31296908 1003440 3.05 189140 4153224 2186932 6.45 1776636 3472568 636500 02:02:46 02:00:01 27221000 31499464 803600 2.44 193096 4189772 2012384 5.93 1390680 3698816 261092 02:02:46 02:01:01 26976004 31523020 777456 2.36 202980 4412196 1790152 5.28 1383808 3908540 152 02:02:46 02:02:01 26522188 31499536 771472 2.35 231496 4810760 1718724 5.07 1662400 4047764 1104 02:02:46 Average: 27353051 31460263 836279 2.54 181035 4042899 1942006 5.72 1463274 3497905 201442 02:02:46 02:02:46 01:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:02:46 01:58:01 veth3d26cfb 185.57 217.16 18.39 437.03 0.00 0.00 0.00 0.04 02:02:46 01:58:01 lo 6.20 6.20 0.61 0.61 0.00 0.00 0.00 0.00 02:02:46 01:58:01 ens3 508.68 376.07 5555.77 67.74 0.00 0.00 0.00 0.00 02:02:46 01:58:01 docker0 209.52 244.54 17.74 658.27 0.00 0.00 0.00 0.00 02:02:46 01:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:02:46 01:59:01 veth4c78137 0.00 0.20 0.00 0.02 0.00 0.00 0.00 0.00 02:02:46 01:59:01 ens3 318.61 162.08 2823.51 24.08 0.00 0.00 0.00 0.00 02:02:46 01:59:01 docker0 147.32 296.75 12.55 2799.24 0.00 0.00 0.00 0.00 02:02:46 02:00:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 02:02:46 02:00:01 ens3 23.98 14.46 50.47 9.46 0.00 0.00 0.00 0.00 02:02:46 02:00:01 docker0 1.38 2.25 0.08 30.86 0.00 0.00 0.00 0.00 02:02:46 02:01:01 lo 7.93 7.93 0.78 0.78 0.00 0.00 0.00 0.00 02:02:46 02:01:01 ens3 175.10 128.11 2686.27 353.06 0.00 0.00 0.00 0.00 02:02:46 02:01:01 docker0 2.98 5.10 0.18 62.27 0.00 0.00 0.00 0.00 02:02:46 02:02:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 02:02:46 02:02:01 ens3 173.25 73.84 2731.60 5.53 0.00 0.00 0.00 0.00 02:02:46 02:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:02:46 Average: lo 3.04 3.04 0.30 0.30 0.00 0.00 0.00 0.00 02:02:46 Average: ens3 239.93 150.91 2769.53 91.97 0.00 0.00 0.00 0.00 02:02:46 Average: docker0 72.24 109.73 6.11 710.20 0.00 0.00 0.00 0.00 02:02:46 02:02:46 02:02:46 ---> sar -P ALL: 02:02:46 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7247) 08/07/24 _x86_64_ (8 CPU) 02:02:46 02:02:46 01:56:23 LINUX RESTART (8 CPU) 02:02:46 02:02:46 01:57:01 CPU %user %nice %system %iowait %steal %idle 02:02:46 01:58:01 all 7.14 0.00 3.21 2.95 0.06 86.64 02:02:46 01:58:01 0 7.67 0.00 3.03 4.30 0.07 84.93 02:02:46 01:58:01 1 7.80 0.00 3.82 4.79 0.07 83.53 02:02:46 01:58:01 2 7.05 0.00 2.96 7.89 0.07 82.04 02:02:46 01:58:01 3 6.29 0.00 3.20 1.39 0.07 89.06 02:02:46 01:58:01 4 5.08 0.00 3.60 0.72 0.03 90.56 02:02:46 01:58:01 5 5.90 0.00 3.41 1.02 0.05 89.62 02:02:46 01:58:01 6 8.61 0.00 2.85 0.12 0.07 88.35 02:02:46 01:58:01 7 8.75 0.00 2.78 3.34 0.07 85.07 02:02:46 01:59:01 all 28.04 0.00 6.98 4.93 0.09 59.97 02:02:46 01:59:01 0 28.95 0.00 7.53 0.59 0.07 62.85 02:02:46 01:59:01 1 28.96 0.00 7.47 1.03 0.12 62.43 02:02:46 01:59:01 2 29.02 0.00 7.20 7.31 0.08 56.39 02:02:46 01:59:01 3 28.47 0.00 6.18 0.92 0.08 64.34 02:02:46 01:59:01 4 24.75 0.00 6.38 14.57 0.07 54.22 02:02:46 01:59:01 5 28.51 0.00 7.64 13.03 0.08 50.73 02:02:46 01:59:01 6 28.82 0.00 6.77 1.58 0.10 62.74 02:02:46 01:59:01 7 26.85 0.00 6.63 0.47 0.08 65.97 02:02:46 02:00:01 all 44.23 0.00 6.84 1.73 0.11 47.10 02:02:46 02:00:01 0 42.34 0.00 7.28 0.39 0.12 49.86 02:02:46 02:00:01 1 45.11 0.00 7.12 0.24 0.10 47.43 02:02:46 02:00:01 2 44.36 0.00 6.86 0.56 0.10 48.11 02:02:46 02:00:01 3 43.48 0.00 6.24 0.05 0.10 50.13 02:02:46 02:00:01 4 41.44 0.00 6.41 10.28 0.12 41.75 02:02:46 02:00:01 5 45.02 0.00 7.00 0.22 0.10 47.66 02:02:46 02:00:01 6 46.26 0.00 6.52 2.24 0.10 44.88 02:02:46 02:00:01 7 45.72 0.00 7.24 0.03 0.12 46.88 02:02:46 02:01:01 all 4.65 0.00 1.83 3.21 0.05 90.27 02:02:46 02:01:01 0 4.60 0.00 1.91 0.03 0.05 93.41 02:02:46 02:01:01 1 4.60 0.00 1.84 3.72 0.05 89.79 02:02:46 02:01:01 2 5.88 0.00 1.68 0.82 0.05 91.57 02:02:46 02:01:01 3 3.23 0.00 1.81 0.86 0.03 94.07 02:02:46 02:01:01 4 6.04 0.00 1.78 19.06 0.05 73.06 02:02:46 02:01:01 5 3.47 0.00 2.06 0.25 0.05 94.16 02:02:46 02:01:01 6 4.65 0.00 2.08 0.82 0.05 92.40 02:02:46 02:01:01 7 4.71 0.00 1.48 0.15 0.05 93.61 02:02:46 02:02:01 all 2.61 0.00 1.38 0.53 0.03 95.45 02:02:46 02:02:01 0 1.32 0.00 0.98 1.38 0.03 96.28 02:02:46 02:02:01 1 2.27 0.00 1.17 0.10 0.03 96.43 02:02:46 02:02:01 2 2.29 0.00 2.05 0.42 0.02 95.23 02:02:46 02:02:01 3 2.79 0.00 1.47 0.48 0.02 95.24 02:02:46 02:02:01 4 5.41 0.00 2.22 0.52 0.02 91.83 02:02:46 02:02:01 5 2.36 0.00 1.50 1.24 0.03 94.87 02:02:46 02:02:01 6 1.44 0.00 0.83 0.05 0.03 97.65 02:02:46 02:02:01 7 3.03 0.00 0.83 0.08 0.03 96.02 02:02:46 Average: all 17.22 0.00 4.03 2.67 0.07 76.01 02:02:46 Average: 0 16.88 0.00 4.13 1.34 0.07 77.58 02:02:46 Average: 1 17.68 0.00 4.27 1.98 0.07 76.00 02:02:46 Average: 2 17.60 0.00 4.14 3.40 0.06 74.80 02:02:46 Average: 3 16.77 0.00 3.77 0.74 0.06 78.65 02:02:46 Average: 4 16.34 0.00 4.06 9.00 0.06 70.55 02:02:46 Average: 5 16.88 0.00 4.30 3.16 0.06 75.60 02:02:46 Average: 6 17.86 0.00 3.80 0.96 0.07 77.31 02:02:46 Average: 7 17.77 0.00 3.78 0.81 0.07 77.57 02:02:46 02:02:46 02:02:46