Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 15e121638b61dd5d2b05931572372c8312ebd12f 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-ssh13051032926650912618.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11664089680732978220.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh8912167537781598073.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh247838599475175268.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-ssh2252668895137661231.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, buildSnap:false] ========================================================= [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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10895 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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 > 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 Avoid second fetch Checking out Revision 15e121638b61dd5d2b05931572372c8312ebd12f (main) Commit message: "refactor!: Make multi-level topics the only implementation (#579)" > git config core.sparsecheckout # timeout=10 > git checkout -f 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 > git rev-list --no-walk e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:10:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:10:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:10:42 ========================================================= 00:10:42 EdgeX Global Pipelines Version Info 00:10:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:10:42 ------------------- 00:10:42 stable info: 00:10:42 ------------------- 00:10:42 Commited By: Bill Mahoney bill.mahoney@intel.com 00:10:42 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 00:10:42 Message: update stable to v1.0.248 00:10:43 ------------------- 00:10:43 experimental info: 00:10:43 ------------------- 00:10:43 Commited By: **** collab-it+edgex@linuxfoundation.org 00:10:43 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 00:10:43 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:10:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:10:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:10:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:10:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15e121638b61dd5d2b05931572372c8312ebd12f [Pipeline] echo 00:10:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15e1216 [Pipeline] echo 00:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:44 provisioning config files... 00:10:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5619123657961475138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:44 ---> docker-login.sh 00:10:44 nexus3.edgexfoundry.org:10001 00:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:45 Configure a credential helper to remove this warning. See 00:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:45 00:10:45 Login Succeeded 00:10:45 nexus3.edgexfoundry.org:10002 00:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:45 Configure a credential helper to remove this warning. See 00:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:45 00:10:45 Login Succeeded 00:10:45 nexus3.edgexfoundry.org:10003 00:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:45 Configure a credential helper to remove this warning. See 00:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:45 00:10:45 Login Succeeded 00:10:45 nexus3.edgexfoundry.org:10004 00:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:45 Configure a credential helper to remove this warning. See 00:10:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:45 00:10:45 Login Succeeded 00:10:45 docker.io 00:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:46 Configure a credential helper to remove this warning. See 00:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:46 00:10:46 Login Succeeded 00:10:46 ---> docker-login.sh ends [Pipeline] } 00:10:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:10:46 + git rev-list -1 --merges 15e121638b61dd5d2b05931572372c8312ebd12f~1..15e121638b61dd5d2b05931572372c8312ebd12f [Pipeline] echo 00:10:46 -----------> git rev-list -1 --merges 15e121638b61dd5d2b05931572372c8312ebd12f~1..15e121638b61dd5d2b05931572372c8312ebd12f 15e121638b61dd5d2b05931572372c8312ebd12f [false] [Pipeline] sh 00:10:46 + git log --format=format:%s -1 15e121638b61dd5d2b05931572372c8312ebd12f [Pipeline] echo 00:10:46 ========================================================= 00:10:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:10:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:47 + git log --format=format:%s -1 15e121638b61dd5d2b05931572372c8312ebd12f [Pipeline] echo 00:10:47 [semverPrep] GIT_COMMIT: 15e121638b61dd5d2b05931572372c8312ebd12f, Commit Message: refactor!: Make multi-level topics the only implementation (#579) [Pipeline] echo 00:10:47 [semverPrep] This is not a build commit. [Pipeline] sh 00:10:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:47 + grep -v github /etc/ssh/ssh_known_hosts 00:10:47 + [ -e /tmp/ssh_known_hosts ] 00:10:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:10:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:10:47 + sudo tee -a /etc/ssh/ssh_known_hosts 00:10:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:48 00:10:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:48 0.1.4: Pulling from edgex-devops/py-git-semver 00:10:48 b85a868b505f: Pulling fs layer 00:10:48 e2be974225ed: Pulling fs layer 00:10:48 339a4e72a1f5: Pulling fs layer 00:10:48 988bab9f4d93: Pulling fs layer 00:10:48 1469e6f7b9e6: Pulling fs layer 00:10:48 eaf3925da568: Pulling fs layer 00:10:48 bab4dde63d76: Pulling fs layer 00:10:48 bde34c3a00c8: Pulling fs layer 00:10:48 b352a97aabf1: Pulling fs layer 00:10:48 4872d77fe225: Pulling fs layer 00:10:48 5851b861e8e6: Pulling fs layer 00:10:48 bab4dde63d76: Waiting 00:10:48 bde34c3a00c8: Waiting 00:10:48 b352a97aabf1: Waiting 00:10:48 4872d77fe225: Waiting 00:10:48 5851b861e8e6: Waiting 00:10:48 1469e6f7b9e6: Waiting 00:10:48 eaf3925da568: Waiting 00:10:48 988bab9f4d93: Waiting 00:10:48 e2be974225ed: Verifying Checksum 00:10:48 e2be974225ed: Download complete 00:10:48 988bab9f4d93: Verifying Checksum 00:10:48 988bab9f4d93: Download complete 00:10:48 1469e6f7b9e6: Verifying Checksum 00:10:48 1469e6f7b9e6: Download complete 00:10:48 339a4e72a1f5: Verifying Checksum 00:10:48 339a4e72a1f5: Download complete 00:10:48 eaf3925da568: Verifying Checksum 00:10:48 eaf3925da568: Download complete 00:10:48 bde34c3a00c8: Verifying Checksum 00:10:48 bde34c3a00c8: Download complete 00:10:48 b352a97aabf1: Download complete 00:10:48 4872d77fe225: Verifying Checksum 00:10:48 4872d77fe225: Download complete 00:10:48 5851b861e8e6: Verifying Checksum 00:10:48 5851b861e8e6: Download complete 00:10:48 b85a868b505f: Verifying Checksum 00:10:48 b85a868b505f: Download complete 00:10:48 bab4dde63d76: Verifying Checksum 00:10:48 bab4dde63d76: Download complete 00:10:50 b85a868b505f: Pull complete 00:10:50 e2be974225ed: Pull complete 00:10:51 339a4e72a1f5: Pull complete 00:10:51 988bab9f4d93: Pull complete 00:10:51 1469e6f7b9e6: Pull complete 00:10:51 eaf3925da568: Pull complete 00:10:53 bab4dde63d76: Pull complete 00:10:53 bde34c3a00c8: Pull complete 00:10:53 b352a97aabf1: Pull complete 00:10:53 4872d77fe225: Pull complete 00:10:53 5851b861e8e6: Pull complete 00:10:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:53 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:10:53 $ 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 00:10:57 $ docker top 4b1148bc8333eec10ce073cf6f98a6c488ad5840faf8e480da98ec1d6f178862 -eo pid,comm 00:10:57 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). 00:10:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:57 [ssh-agent] Looking for ssh-agent implementation... 00:10:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:57 $ docker exec 4b1148bc8333eec10ce073cf6f98a6c488ad5840faf8e480da98ec1d6f178862 ssh-agent 00:10:58 SSH_AUTH_SOCK=/tmp/ssh-Pdp8ZjIVGpEF/agent.32 00:10:58 SSH_AGENT_PID=38 00:10:58 Running ssh-add (command line suppressed) 00:10:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11735199698612264054.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11735199698612264054.key) 00:10:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:58 + git tag --points-at HEAD [Pipeline] } 00:10:58 $ docker exec --env ******** --env ******** 4b1148bc8333eec10ce073cf6f98a6c488ad5840faf8e480da98ec1d6f178862 ssh-agent -k 00:10:58 unset SSH_AUTH_SOCK; 00:10:58 unset SSH_AGENT_PID; 00:10:58 echo Agent pid 38 killed; 00:10:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:10:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:58 [ssh-agent] Looking for ssh-agent implementation... 00:10:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:58 $ docker exec 4b1148bc8333eec10ce073cf6f98a6c488ad5840faf8e480da98ec1d6f178862 ssh-agent 00:10:58 SSH_AUTH_SOCK=/tmp/ssh-X0FBKzKNXku6/agent.70 00:10:58 SSH_AGENT_PID=76 00:10:58 Running ssh-add (command line suppressed) 00:10:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12929735685324620262.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12929735685324620262.key) 00:10:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:59 + git semver init 00:10:59 2023-04-26 00:10:59,482 [run_init] DEBUG init version:0.0.0 force:False 00:10:59 2023-04-26 00:10:59,484 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 00:10:59 2023-04-26 00:10:59,485 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 00:10:59 2023-04-26 00:10:59,485 [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) 00:11:00 2023-04-26 00:11:00,264 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 00:11:00 2023-04-26 00:11:00,265 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 00:11:00 2023-04-26 00:11:00,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:11:00 2023-04-26 00:11:00,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:11:00 3.0.0-dev.25 [Pipeline] } 00:11:00 $ docker exec --env ******** --env ******** 4b1148bc8333eec10ce073cf6f98a6c488ad5840faf8e480da98ec1d6f178862 ssh-agent -k 00:11:00 unset SSH_AUTH_SOCK; 00:11:00 unset SSH_AGENT_PID; 00:11:00 echo Agent pid 76 killed; 00:11:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:00 + git semver [Pipeline] } 00:11:01 $ docker stop --time=1 4b1148bc8333eec10ce073cf6f98a6c488ad5840faf8e480da98ec1d6f178862 00:11:02 $ docker rm -f --volumes 4b1148bc8333eec10ce073cf6f98a6c488ad5840faf8e480da98ec1d6f178862 [Pipeline] // withDockerContainer [Pipeline] sh 00:11:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:11:03 Stashed 1 file(s) [Pipeline] echo 00:11:03 [edgeXSemver]: initialized semver on version 3.0.0-dev.25 [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 00:11:03 provisioning config files... 00:11:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5639759388900902751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10891 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 00:11:03 Running in /w/workspace/device-mqtt-go/109 [Pipeline] { [Pipeline] checkout 00:11:03 Selected Git installation does not exist. Using Default 00:11:03 The recommended git tool is: NONE 00:11:03 ---> docker-login.sh 00:11:03 nexus3.edgexfoundry.org:10001 00:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:03 Configure a credential helper to remove this warning. See 00:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:03 00:11:03 Login Succeeded 00:11:03 nexus3.edgexfoundry.org:10002 00:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:03 Configure a credential helper to remove this warning. See 00:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:03 00:11:03 Login Succeeded 00:11:03 nexus3.edgexfoundry.org:10003 00:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:03 Configure a credential helper to remove this warning. See 00:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:03 00:11:03 Login Succeeded 00:11:03 nexus3.edgexfoundry.org:10004 00:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:03 Configure a credential helper to remove this warning. See 00:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:03 00:11:03 Login Succeeded 00:11:03 docker.io 00:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:04 Configure a credential helper to remove this warning. See 00:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:04 00:11:04 Login Succeeded 00:11:04 ---> docker-login.sh ends [Pipeline] } 00:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:04 ========================================================= 00:11:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:11:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:11:04 Sending build context to Docker daemon 6.494MB 00:11:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:11:04 Step 2/12 : FROM ${BASE} AS builder 00:11:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:11:04 f56be85fc22e: Pulling fs layer 00:11:04 85791d961cd3: Pulling fs layer 00:11:04 d694b5ae8c79: Pulling fs layer 00:11:04 9f32a84ed3da: Pulling fs layer 00:11:04 4d19c01a9841: Pulling fs layer 00:11:04 9325e15d5711: Pulling fs layer 00:11:04 556b6ee489ea: Pulling fs layer 00:11:04 c5a4b2cf53e6: Pulling fs layer 00:11:04 4d19c01a9841: Waiting 00:11:04 9325e15d5711: Waiting 00:11:04 556b6ee489ea: Waiting 00:11:04 c5a4b2cf53e6: Waiting 00:11:04 85791d961cd3: Download complete 00:11:04 9f32a84ed3da: Verifying Checksum 00:11:04 9f32a84ed3da: Download complete 00:11:04 4d19c01a9841: Verifying Checksum 00:11:04 4d19c01a9841: Download complete 00:11:04 f56be85fc22e: Verifying Checksum 00:11:04 f56be85fc22e: Download complete 00:11:04 9325e15d5711: Verifying Checksum 00:11:04 9325e15d5711: Download complete 00:11:04 f56be85fc22e: Pull complete 00:11:04 85791d961cd3: Pull complete 00:11:04 c5a4b2cf53e6: Verifying Checksum 00:11:04 c5a4b2cf53e6: Download complete 00:11:05 d694b5ae8c79: Verifying Checksum 00:11:05 d694b5ae8c79: Download complete 00:11:05 556b6ee489ea: Verifying Checksum 00:11:05 556b6ee489ea: Download complete 00:11:08 using credential edgex-jenkins-ssh 00:11:08 Cloning the remote Git repository 00:11:08 d694b5ae8c79: Pull complete 00:11:08 9f32a84ed3da: Pull complete 00:11:08 4d19c01a9841: Pull complete 00:11:08 9325e15d5711: Pull complete 00:11:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:11:08 > git init /w/workspace/device-mqtt-go/109 # timeout=10 00:11:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:11:08 > git --version # timeout=10 00:11:08 > git --version # 'git version 2.25.1' 00:11:08 using GIT_SSH to set credentials SSH Credentials for GitHub 00:11:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:11:10 Avoid second fetch 00:11:10 Checking out Revision 15e121638b61dd5d2b05931572372c8312ebd12f (main) 00:11:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:11:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:11:10 > git config core.sparsecheckout # timeout=10 00:11:10 > git checkout -f 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 00:11:10 Commit message: "refactor!: Make multi-level topics the only implementation (#579)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:11:11 556b6ee489ea: Pull complete 00:11:11 c5a4b2cf53e6: Pull complete 00:11:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:11:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:11:11 % Total % Received % Xferd Average Speed Time Time Time Current 00:11:11 Dload Upload Total Spent Left Speed 00:11:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 71234 0 --:--:-- --:--:-- --:--:-- 71234 00:11:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:11:12 ---> c4be618373d6 00:11:12 Step 3/12 : ARG ADD_BUILD_TAGS="" [Pipeline] sh 00:11:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:11:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:11:12 + sudo tee /etc/docker/daemon.new 00:11:12 { 00:11:12 "registry-mirrors": [ 00:11:12 "https://nexus3.edgexfoundry.org:10001" 00:11:12 ], 00:11:12 "bip": "10.250.0.254/24", 00:11:12 "hosts": [ 00:11:12 "tcp://0.0.0.0:5555", 00:11:12 "unix:///var/run/docker.sock" 00:11:12 ], 00:11:12 "mtu": 1458, 00:11:12 "selinux-enabled": true, 00:11:12 "seccomp-profile": "/etc/docker/seccomp.json" 00:11:12 } [Pipeline] sh 00:11:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:11:13 + sudo service docker restart 00:11:18 ---> Running in 1cb66994601b 00:11:18 Removing intermediate container 1cb66994601b 00:11:18 ---> a2743fbd72e2 00:11:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:11:18 ---> Running in 812368f7e7e3 00:11:18 Removing intermediate container 812368f7e7e3 00:11:18 ---> 35e0bf831cf0 00:11:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:11:18 ---> Running in 800505c99736 00:11:18 Removing intermediate container 800505c99736 00:11:18 ---> 722c23a64682 00:11:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:11:18 ---> Running in 240bd1675999 00:11:18 Removing intermediate container 240bd1675999 00:11:18 ---> ec503b432201 00:11:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:18 ---> Running in 73b3b82ed060 00:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:11:19 (1/4) Installing openssh-keygen (9.1_p1-r2) 00:11:19 (2/4) Installing libedit (20221030.3.1-r0) 00:11:19 (3/4) Installing openssh-client-common (9.1_p1-r2) 00:11:19 (4/4) Installing openssh-client-default (9.1_p1-r2) 00:11:19 Executing busybox-1.35.0-r29.trigger 00:11:19 OK: 269 MiB in 57 packages 00:11:20 Removing intermediate container 73b3b82ed060 00:11:20 ---> 139cbe8fcc20 00:11:20 Step 8/12 : WORKDIR /device-mqtt-go 00:11:20 ---> Running in f2f1ce5bfef5 00:11:20 Removing intermediate container f2f1ce5bfef5 00:11:20 ---> 060793054480 00:11:20 Step 9/12 : COPY go.mod vendor* ./ 00:11:20 ---> 666b17c55f7c 00:11:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:20 ---> Running in 704c517e53de [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:31 provisioning config files... 00:11:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/109@tmp/config2850345110389898224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:32 ---> docker-login.sh 00:11:32 nexus3.edgexfoundry.org:10001 00:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:33 Configure a credential helper to remove this warning. See 00:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:33 00:11:33 Login Succeeded 00:11:33 nexus3.edgexfoundry.org:10002 00:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:33 Configure a credential helper to remove this warning. See 00:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:33 00:11:33 Login Succeeded 00:11:33 nexus3.edgexfoundry.org:10003 00:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:33 Configure a credential helper to remove this warning. See 00:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:33 00:11:33 Login Succeeded 00:11:33 nexus3.edgexfoundry.org:10004 00:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:33 Configure a credential helper to remove this warning. See 00:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:33 00:11:33 Login Succeeded 00:11:33 docker.io 00:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:34 Configure a credential helper to remove this warning. See 00:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:34 00:11:34 Login Succeeded 00:11:34 ---> docker-login.sh ends [Pipeline] } 00:11:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:34 ========================================================= 00:11:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:11:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:11:35 Sending build context to Docker daemon 3.373MB 00:11:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:11:35 Step 2/12 : FROM ${BASE} AS builder 00:11:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:11:35 c41833b44d91: Pulling fs layer 00:11:35 ed15518f5707: Pulling fs layer 00:11:35 feae8fd75edb: Pulling fs layer 00:11:35 242c74f7c9fa: Pulling fs layer 00:11:35 3cdef696dda3: Pulling fs layer 00:11:35 2ced38df9373: Pulling fs layer 00:11:35 58f1dce35555: Pulling fs layer 00:11:35 2ced38df9373: Waiting 00:11:35 58f1dce35555: Waiting 00:11:35 242c74f7c9fa: Waiting 00:11:35 3cdef696dda3: Waiting 00:11:35 ed15518f5707: Download complete 00:11:35 242c74f7c9fa: Verifying Checksum 00:11:35 242c74f7c9fa: Download complete 00:11:35 3cdef696dda3: Verifying Checksum 00:11:35 3cdef696dda3: Download complete 00:11:35 c41833b44d91: Download complete 00:11:36 c41833b44d91: Pull complete 00:11:36 58f1dce35555: Verifying Checksum 00:11:36 58f1dce35555: Download complete 00:11:37 ed15518f5707: Pull complete 00:11:38 feae8fd75edb: Download complete 00:11:38 2ced38df9373: Verifying Checksum 00:11:38 2ced38df9373: Download complete 00:11:50 feae8fd75edb: Pull complete 00:11:50 242c74f7c9fa: Pull complete 00:11:50 3cdef696dda3: Pull complete 00:11:55 2ced38df9373: Pull complete 00:11:59 Removing intermediate container 704c517e53de 00:11:59 ---> 3a0de75c8558 00:11:59 Step 11/12 : COPY . . 00:11:59 ---> b6c472aec918 00:11:59 Step 12/12 : RUN $MAKE 00:11:59 ---> Running in 16a7df65a905 00:11:59 noop 00:11:59 Removing intermediate container 16a7df65a905 00:11:59 ---> 94b4e769c5b4 00:11:59 Successfully built 94b4e769c5b4 00:11:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:00 + docker inspect -f . ci-base-image-x86_64 00:12:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:00 58f1dce35555: Pull complete 00:12:00 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:12:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:12:00 ---> fadd8f120f05 00:12:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:12:00 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:12:00 $ 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 00:12:00 $ docker top ba807db6435667920e6e789b28c9b032009ff97388b85965848b2645a7036513 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:00 + go version 00:12:00 go version go1.20.2 linux/amd64 [Pipeline] } 00:12:01 $ docker stop --time=1 ba807db6435667920e6e789b28c9b032009ff97388b85965848b2645a7036513 00:12:01 ---> Running in e41880414d13 00:12:01 Removing intermediate container e41880414d13 00:12:01 ---> 56fc14b1d4ed 00:12:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:12:01 ---> Running in cd6c0a7c6746 00:12:01 Removing intermediate container cd6c0a7c6746 00:12:01 ---> 890fbf0745bf 00:12:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:12:02 ---> Running in af5596b1ce17 00:12:02 $ docker rm -f --volumes ba807db6435667920e6e789b28c9b032009ff97388b85965848b2645a7036513 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:02 Removing intermediate container af5596b1ce17 00:12:02 ---> c167222acf8b 00:12:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:12:02 ---> Running in 848895af6baf 00:12:02 + docker inspect -f . ci-base-image-x86_64 00:12:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:02 Removing intermediate container 848895af6baf 00:12:02 ---> 30712049dcb7 00:12:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:02 ---> Running in cd722d746918 00:12:02 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:12:02 $ 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 00:12:03 $ docker top 7893aa60f9e50de966ecbfca622f29c11154de300e7b47a731f370645be627f3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 00:12:03 + make test 00:12:03 go test ./... -coverprofile=coverage.out ./... 00:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:12:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 00:12:05 (2/4) Installing libedit (20221030.3.1-r0) 00:12:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 00:12:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 00:12:05 Executing busybox-1.35.0-r29.trigger 00:12:05 OK: 268 MiB in 57 packages 00:12:06 Removing intermediate container cd722d746918 00:12:06 ---> f11a8a89690d 00:12:06 Step 8/12 : WORKDIR /device-mqtt-go 00:12:06 ---> Running in c9b5aeeb2740 00:12:07 Removing intermediate container c9b5aeeb2740 00:12:07 ---> d448184f31f6 00:12:07 Step 9/12 : COPY go.mod vendor* ./ 00:12:07 ---> 098a2c33d7dd 00:12:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:07 ---> Running in 8038c165ba4b 00:12:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:12:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:12:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:12:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 24.6% of statements 00:12:24 go vet ./... 00:12:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:12:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:12:27 ./bin/test-attribution-txt.sh [Pipeline] echo 00:12:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:12:27 $ docker stop --time=1 7893aa60f9e50de966ecbfca622f29c11154de300e7b47a731f370645be627f3 00:12:34 $ docker rm -f --volumes 7893aa60f9e50de966ecbfca622f29c11154de300e7b47a731f370645be627f3 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:12:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:12:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:12:35 + ls -al . 00:12:35 total 180 00:12:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 00:12 . 00:12:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 00:10 .. 00:12:35 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 00:10 .dockerignore 00:12:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 00:11 .git 00:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 00:10 .github 00:12:35 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 00:10 .gitignore 00:12:35 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 00:10 .golangci.yml 00:12:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 00:11 .semver 00:12:35 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 26 00:10 Attribution.txt 00:12:35 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 26 00:10 CHANGELOG.md 00:12:35 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 26 00:10 Dockerfile 00:12:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 00:10 GOVERNANCE.md 00:12:35 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 00:10 Jenkinsfile 00:12:35 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 00:10 LICENSE 00:12:35 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 26 00:10 Makefile 00:12:35 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 00:10 OWNERS.md 00:12:35 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 26 00:10 README.md 00:12:35 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 00:11 VERSION 00:12:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 00:10 bin 00:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 00:10 cmd 00:12:35 -rw-r--r-- 1 jenkins jenkins 16535 Apr 26 00:12 coverage.out 00:12:35 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 26 00:10 go.mod 00:12:35 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 00:10 go.sum 00:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 00:10 internal 00:12:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 00:10 mock 00:12:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 00:10 snap 00:12:35 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 00:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:36 + 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=15e121638b61dd5d2b05931572372c8312ebd12f --label arch=amd64 --label version=3.0.0-dev.25 . 00:12:36 Sending build context to Docker daemon 6.511MB 00:12:36 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:12:36 Step 2/24 : FROM ${BASE} AS builder 00:12:36 ---> 94b4e769c5b4 00:12:36 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:12:36 ---> Running in 0a8bc579bce9 00:12:36 Removing intermediate container 0a8bc579bce9 00:12:36 ---> 0303f3165050 00:12:36 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:12:36 ---> Running in e2d031ebeecc 00:12:36 Removing intermediate container e2d031ebeecc 00:12:36 ---> 293ec0f30fd9 00:12:36 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:12:36 ---> Running in 84d209a1e6d9 00:12:36 Removing intermediate container 84d209a1e6d9 00:12:36 ---> 75150cebc02e 00:12:36 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:12:36 ---> Running in 60bbfc8c7524 00:12:36 Removing intermediate container 60bbfc8c7524 00:12:36 ---> a4c4fd34b7db 00:12:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:36 ---> Running in fc9c8ea91b04 00:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:12:37 OK: 269 MiB in 57 packages 00:12:37 Removing intermediate container fc9c8ea91b04 00:12:37 ---> eff6c3887ecf 00:12:37 Step 8/24 : WORKDIR /device-mqtt-go 00:12:37 ---> Running in 6412e722ac3f 00:12:37 Removing intermediate container 6412e722ac3f 00:12:37 ---> 7323ae97b2f2 00:12:37 Step 9/24 : COPY go.mod vendor* ./ 00:12:37 ---> d08db957b16a 00:12:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:37 ---> Running in 8b18cb81482b 00:12:38 Removing intermediate container 8b18cb81482b 00:12:38 ---> 4d1b63c62653 00:12:38 Step 11/24 : COPY . . 00:12:39 ---> 2515b8ea7afd 00:12:39 Step 12/24 : RUN $MAKE 00:12:39 ---> Running in b05f82e540b2 00:12:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 00:13:02 Removing intermediate container b05f82e540b2 00:13:02 ---> a4fa23fd8e1a 00:13:02 Step 13/24 : FROM alpine:3.17 00:13:03 3.17: Pulling from library/alpine 00:13:03 f56be85fc22e: Already exists 00:13:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:13:03 Status: Downloaded newer image for alpine:3.17 00:13:03 ---> 9ed4aefc74f6 00:13:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:13:03 ---> Running in 40f33dfe431d 00:13:03 Removing intermediate container 40f33dfe431d 00:13:03 ---> a5854501768f 00:13:03 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:13:03 ---> Running in 747c6abd6292 00:13:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:13:04 (1/1) Installing dumb-init (1.2.5-r2) 00:13:04 Executing busybox-1.35.0-r29.trigger 00:13:04 OK: 7 MiB in 16 packages 00:13:04 Removing intermediate container 747c6abd6292 00:13:04 ---> 0a2741e36713 00:13:04 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:13:05 ---> 80c02d886444 00:13:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:13:06 ---> b7b086aed283 00:13:06 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:13:06 ---> 380909b9fb50 00:13:06 Step 19/24 : EXPOSE 59982 00:13:06 ---> Running in 439f0a69bbcf 00:13:06 Removing intermediate container 439f0a69bbcf 00:13:06 ---> 04663a3ce62d 00:13:06 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:13:06 ---> Running in c7e6beddb57f 00:13:06 Removing intermediate container c7e6beddb57f 00:13:06 ---> da499a2aa55d 00:13:06 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:13:06 ---> Running in 52a6f2517d66 00:13:06 Removing intermediate container 52a6f2517d66 00:13:06 ---> cdc3f8af2a4c 00:13:06 Step 22/24 : LABEL arch=amd64 00:13:06 ---> Running in 532c274d6ada 00:13:06 Removing intermediate container 532c274d6ada 00:13:06 ---> f11e19cb7ae8 00:13:06 Step 23/24 : LABEL git_sha=15e121638b61dd5d2b05931572372c8312ebd12f 00:13:06 ---> Running in b112aed2a983 00:13:06 Removing intermediate container b112aed2a983 00:13:06 ---> 073d65f452a8 00:13:06 Step 24/24 : LABEL version=3.0.0-dev.25 00:13:06 ---> Running in 38868a065240 00:13:06 Removing intermediate container 38868a065240 00:13:06 ---> a84a36c44b1f 00:13:06 [Warning] One or more build-args [ARCH] were not consumed 00:13:06 Successfully built a84a36c44b1f 00:13:06 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:06 provisioning config files... 00:13:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10835053946387566543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:07 ---> docker-login.sh 00:13:07 nexus3.edgexfoundry.org:10001 00:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:07 Configure a credential helper to remove this warning. See 00:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:07 00:13:07 Login Succeeded 00:13:07 nexus3.edgexfoundry.org:10002 00:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:07 Configure a credential helper to remove this warning. See 00:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:07 00:13:07 Login Succeeded 00:13:07 nexus3.edgexfoundry.org:10003 00:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:07 Configure a credential helper to remove this warning. See 00:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:07 00:13:07 Login Succeeded 00:13:07 nexus3.edgexfoundry.org:10004 00:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:07 Configure a credential helper to remove this warning. See 00:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:07 00:13:07 Login Succeeded 00:13:07 docker.io 00:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:07 Configure a credential helper to remove this warning. See 00:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:07 00:13:07 Login Succeeded 00:13:07 ---> docker-login.sh ends [Pipeline] } 00:13:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:07 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 00:13:07 15e121638b61dd5d2b05931572372c8312ebd12f 00:13:07 latest 00:13:07 3.0.0-dev.25 00:13:07 15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25 00:13:07 main 00:13:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:15e121638b61dd5d2b05931572372c8312ebd12f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:15e121638b61dd5d2b05931572372c8312ebd12f 00:13:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:13:08 6a5759d2edd9: Preparing 00:13:08 4064afc3f74f: Preparing 00:13:08 84a6d073a91a: Preparing 00:13:08 834a03215943: Preparing 00:13:08 f1417ff83b31: Preparing 00:13:08 f1417ff83b31: Layer already exists 00:13:08 4064afc3f74f: Pushed 00:13:08 6a5759d2edd9: Pushed 00:13:08 834a03215943: Pushed 00:13:10 84a6d073a91a: Pushed 00:13:11 15e121638b61dd5d2b05931572372c8312ebd12f: digest: sha256:a93762aa5b6bfad5e2d31b1dbdf85571ba06f90d7f81b71027a5565f763b96fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:13:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:13:11 6a5759d2edd9: Preparing 00:13:11 4064afc3f74f: Preparing 00:13:11 84a6d073a91a: Preparing 00:13:11 834a03215943: Preparing 00:13:11 f1417ff83b31: Preparing 00:13:11 84a6d073a91a: Layer already exists 00:13:11 4064afc3f74f: Layer already exists 00:13:11 f1417ff83b31: Layer already exists 00:13:11 6a5759d2edd9: Layer already exists 00:13:11 834a03215943: Layer already exists 00:13:11 latest: digest: sha256:a93762aa5b6bfad5e2d31b1dbdf85571ba06f90d7f81b71027a5565f763b96fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.25 00:13:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:13:12 6a5759d2edd9: Preparing 00:13:12 4064afc3f74f: Preparing 00:13:12 84a6d073a91a: Preparing 00:13:12 834a03215943: Preparing 00:13:12 f1417ff83b31: Preparing 00:13:12 84a6d073a91a: Layer already exists 00:13:12 834a03215943: Layer already exists 00:13:12 6a5759d2edd9: Layer already exists 00:13:12 4064afc3f74f: Layer already exists 00:13:12 f1417ff83b31: Layer already exists 00:13:12 3.0.0-dev.25: digest: sha256:a93762aa5b6bfad5e2d31b1dbdf85571ba06f90d7f81b71027a5565f763b96fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25 00:13:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:13:12 6a5759d2edd9: Preparing 00:13:12 4064afc3f74f: Preparing 00:13:12 84a6d073a91a: Preparing 00:13:12 834a03215943: Preparing 00:13:12 f1417ff83b31: Preparing 00:13:12 4064afc3f74f: Layer already exists 00:13:12 84a6d073a91a: Layer already exists 00:13:12 834a03215943: Layer already exists 00:13:12 6a5759d2edd9: Layer already exists 00:13:12 f1417ff83b31: Layer already exists 00:13:12 15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25: digest: sha256:a93762aa5b6bfad5e2d31b1dbdf85571ba06f90d7f81b71027a5565f763b96fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 00:13:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:13:13 6a5759d2edd9: Preparing 00:13:13 4064afc3f74f: Preparing 00:13:13 84a6d073a91a: Preparing 00:13:13 834a03215943: Preparing 00:13:13 f1417ff83b31: Preparing 00:13:13 4064afc3f74f: Layer already exists 00:13:13 84a6d073a91a: Layer already exists 00:13:13 834a03215943: Layer already exists 00:13:13 f1417ff83b31: Layer already exists 00:13:13 6a5759d2edd9: Layer already exists 00:13:13 main: digest: sha256:a93762aa5b6bfad5e2d31b1dbdf85571ba06f90d7f81b71027a5565f763b96fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:13:13 ===================================================== [Pipeline] echo 00:13:13 taggedImages: 00:13:13 - nexus3.edgexfoundry.org:10004/device-mqtt:15e121638b61dd5d2b05931572372c8312ebd12f 00:13:13 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:13:13 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.25 00:13:13 - nexus3.edgexfoundry.org:10004/device-mqtt:15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25 00:13:13 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:14 00:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:14 latest: Pulling from edgex-lftools-log-publisher 00:13:14 5eb5b503b376: Pulling fs layer 00:13:14 5c69ac0246d0: Pulling fs layer 00:13:14 ec43610c2a17: Pulling fs layer 00:13:14 3a2ae6a8a46f: Pulling fs layer 00:13:14 33b1e0a273af: Pulling fs layer 00:13:14 5d3b04190fa2: Pulling fs layer 00:13:14 2f39f015ded8: Pulling fs layer 00:13:14 33b1e0a273af: Waiting 00:13:14 5d3b04190fa2: Waiting 00:13:14 2f39f015ded8: Waiting 00:13:14 3a2ae6a8a46f: Waiting 00:13:14 5c69ac0246d0: Download complete 00:13:14 3a2ae6a8a46f: Download complete 00:13:14 33b1e0a273af: Verifying Checksum 00:13:14 33b1e0a273af: Download complete 00:13:14 ec43610c2a17: Download complete 00:13:14 5d3b04190fa2: Verifying Checksum 00:13:14 5d3b04190fa2: Download complete 00:13:14 5eb5b503b376: Verifying Checksum 00:13:14 5eb5b503b376: Download complete 00:13:15 2f39f015ded8: Download complete 00:13:15 Removing intermediate container 8038c165ba4b 00:13:15 ---> 749e43949af4 00:13:15 Step 11/12 : COPY . . 00:13:15 ---> bf0ab5bfe14e 00:13:15 Step 12/12 : RUN $MAKE 00:13:15 ---> Running in c952d000375e 00:13:15 noop 00:13:15 Removing intermediate container c952d000375e 00:13:15 ---> 242cd9bd9336 00:13:15 Successfully built 242cd9bd9336 00:13:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:15 5eb5b503b376: Pull complete 00:13:16 5c69ac0246d0: Pull complete 00:13:16 + docker inspect -f . ci-base-image-arm64 00:13:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:16 prd-ubuntu20.04-docker-arm64-4c-16g-10891 does not seem to be running inside a container 00:13:16 ec43610c2a17: Pull complete 00:13:16 3a2ae6a8a46f: Pull complete 00:13:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/109 -v /w/workspace/device-mqtt-go/109:/w/workspace/device-mqtt-go/109:rw,z -v /w/workspace/device-mqtt-go/109@tmp:/w/workspace/device-mqtt-go/109@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 ******** ci-base-image-arm64 cat 00:13:16 33b1e0a273af: Pull complete 00:13:16 5d3b04190fa2: Pull complete 00:13:17 $ docker top 3687027b1c3094b6dbaea6d622d72c3ad97d013db244601c462a9360e7216b30 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:18 + go version 00:13:18 go version go1.20.2 linux/arm64 [Pipeline] } 00:13:18 $ docker stop --time=1 3687027b1c3094b6dbaea6d622d72c3ad97d013db244601c462a9360e7216b30 00:13:20 $ docker rm -f --volumes 3687027b1c3094b6dbaea6d622d72c3ad97d013db244601c462a9360e7216b30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:20 + docker inspect -f . ci-base-image-arm64 00:13:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:20 2f39f015ded8: Pull complete 00:13:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:13:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:20 prd-ubuntu20.04-docker-arm64-4c-16g-10891 does not seem to be running inside a container 00:13:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/109 -v /w/workspace/device-mqtt-go/109:/w/workspace/device-mqtt-go/109:rw,z -v /w/workspace/device-mqtt-go/109@tmp:/w/workspace/device-mqtt-go/109@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 ******** ci-base-image-arm64 cat 00:13:22 $ docker top a90e59a8afa8e5bbb6964bb76f4e303a5b04b1c14a59c9b314d4b4446e879206 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:22 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:13:22 $ 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 00:13:22 + git config --global --add safe.directory /w/workspace/device-mqtt-go/109 00:13:28 $ docker top 42ab100f3a5f5265cb47e72771d6f0490a12353afaa306093c11b67bad8747ef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh 00:13:28 ---> job-cost.sh 00:13:28 lf-activate-venv: SKIPPING 00:13:28 INFO: No Stack... 00:13:29 + make test 00:13:29 go test ./... -coverprofile=coverage.out ./... 00:13:29 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:29 INFO: Archiving Costs [Pipeline] sh 00:13:30 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 00:13:30 + cut -d, -f6 [Pipeline] lock 00:13:30 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-109-stack-cost] 00:13:30 Resource [jenkins-edgexfoundry-device-mqtt-go-main-109-stack-cost] did not exist. Created. 00:13:30 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-109-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:30 + echo total: 0.2199999988079071 [Pipeline] stash 00:13:30 Stashed 1 file(s) [Pipeline] } 00:13:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-109-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:30 $ docker stop --time=1 42ab100f3a5f5265cb47e72771d6f0490a12353afaa306093c11b67bad8747ef 00:13:31 $ docker rm -f --volumes 42ab100f3a5f5265cb47e72771d6f0490a12353afaa306093c11b67bad8747ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:14:01 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:15:52 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:15:52 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:15:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 24.6% of statements 00:15:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:15:52 go vet ./... 00:16:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:16:15 ./bin/test-attribution-txt.sh [Pipeline] echo 00:16:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:16:15 $ docker stop --time=1 a90e59a8afa8e5bbb6964bb76f4e303a5b04b1c14a59c9b314d4b4446e879206 00:16:17 $ docker rm -f --volumes a90e59a8afa8e5bbb6964bb76f4e303a5b04b1c14a59c9b314d4b4446e879206 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:18 Warning: overwriting stash ‘coverage-report’ 00:16:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:16:19 + ls -al . 00:16:19 total 176 00:16:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 00:13 . 00:16:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 00:11 .. 00:16:19 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 00:11 .dockerignore 00:16:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 00:11 .git 00:16:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 00:11 .github 00:16:19 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 00:11 .gitignore 00:16:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 00:11 .golangci.yml 00:16:19 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 26 00:11 Attribution.txt 00:16:19 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 26 00:11 CHANGELOG.md 00:16:19 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 26 00:11 Dockerfile 00:16:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 00:11 GOVERNANCE.md 00:16:19 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 00:11 Jenkinsfile 00:16:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 00:11 LICENSE 00:16:19 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 26 00:11 Makefile 00:16:19 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 00:11 OWNERS.md 00:16:19 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 26 00:11 README.md 00:16:19 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 00:11 VERSION 00:16:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 00:11 bin 00:16:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 00:11 cmd 00:16:19 -rw-r--r-- 1 jenkins jenkins 16535 Apr 26 00:15 coverage.out 00:16:19 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 26 00:11 go.mod 00:16:19 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 00:11 go.sum 00:16:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 00:11 internal 00:16:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 00:11 mock 00:16:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 00:11 snap 00:16:19 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:19 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=15e121638b61dd5d2b05931572372c8312ebd12f --label arch=arm64 --label version=3.0.0-dev.25 . 00:16:20 Sending build context to Docker daemon 3.39MB 00:16:20 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:16:20 Step 2/24 : FROM ${BASE} AS builder 00:16:20 ---> 242cd9bd9336 00:16:20 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:16:20 ---> Running in b10ffb7d1b98 00:16:20 Removing intermediate container b10ffb7d1b98 00:16:20 ---> f8e7be59346f 00:16:20 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:20 ---> Running in 3657beb385a4 00:16:21 Removing intermediate container 3657beb385a4 00:16:21 ---> 37f81f3d406a 00:16:21 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:16:21 ---> Running in 041aced9199b 00:16:21 Removing intermediate container 041aced9199b 00:16:21 ---> 1b1f41619002 00:16:21 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:16:21 ---> Running in 29a461d4ca42 00:16:21 Removing intermediate container 29a461d4ca42 00:16:21 ---> da3e9c98853f 00:16:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:21 ---> Running in fcdb1a9e4e27 00:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:16:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:16:24 OK: 268 MiB in 57 packages 00:16:25 Removing intermediate container fcdb1a9e4e27 00:16:25 ---> 93baeb073def 00:16:25 Step 8/24 : WORKDIR /device-mqtt-go 00:16:25 ---> Running in 7a495759c0fd 00:16:25 Removing intermediate container 7a495759c0fd 00:16:25 ---> 1e45205127dd 00:16:25 Step 9/24 : COPY go.mod vendor* ./ 00:16:26 ---> c0d902a490c3 00:16:26 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:26 ---> Running in 0884252422b9 00:16:28 Removing intermediate container 0884252422b9 00:16:28 ---> 98af62a024dc 00:16:28 Step 11/24 : COPY . . 00:16:29 ---> 891d8a425d26 00:16:29 Step 12/24 : RUN $MAKE 00:16:29 ---> Running in 35fa35ed0550 00:16:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.25" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 00:18:37 Removing intermediate container 35fa35ed0550 00:18:37 ---> eeb10babbbe4 00:18:37 Step 13/24 : FROM alpine:3.17 00:18:37 3.17: Pulling from library/alpine 00:18:37 c41833b44d91: Already exists 00:18:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:18:37 Status: Downloaded newer image for alpine:3.17 00:18:37 ---> 51e60588ff2c 00:18:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:18:37 ---> Running in 5be8c829c614 00:18:37 Removing intermediate container 5be8c829c614 00:18:37 ---> 5bf6a6280ae6 00:18:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:18:37 ---> Running in 8b5fa105c492 00:18:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:18:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:18:38 (1/1) Installing dumb-init (1.2.5-r2) 00:18:38 Executing busybox-1.35.0-r29.trigger 00:18:38 OK: 8 MiB in 16 packages 00:18:40 Removing intermediate container 8b5fa105c492 00:18:40 ---> 51cf1783de41 00:18:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:18:41 ---> 2c0894a34ef6 00:18:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:18:42 ---> 19a944d218c5 00:18:42 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:18:42 ---> 20cf7f03b4ef 00:18:42 Step 19/24 : EXPOSE 59982 00:18:42 ---> Running in daa3131b92e3 00:18:43 Removing intermediate container daa3131b92e3 00:18:43 ---> ed302bc25fb4 00:18:43 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:18:43 ---> Running in b3f3ad375f9e 00:18:43 Removing intermediate container b3f3ad375f9e 00:18:43 ---> 9a3f31bceb0b 00:18:43 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:18:43 ---> Running in af173f9044cc 00:18:43 Removing intermediate container af173f9044cc 00:18:43 ---> c6278c62c102 00:18:43 Step 22/24 : LABEL arch=arm64 00:18:43 ---> Running in 950afa6b4768 00:18:44 Removing intermediate container 950afa6b4768 00:18:44 ---> e55039abff03 00:18:44 Step 23/24 : LABEL git_sha=15e121638b61dd5d2b05931572372c8312ebd12f 00:18:44 ---> Running in 376849cc8078 00:18:44 Removing intermediate container 376849cc8078 00:18:44 ---> ac6cbac9d8ab 00:18:44 Step 24/24 : LABEL version=3.0.0-dev.25 00:18:44 ---> Running in 9e3e846345d0 00:18:44 Removing intermediate container 9e3e846345d0 00:18:44 ---> eca8a42f9eec 00:18:44 [Warning] One or more build-args [ARCH] were not consumed 00:18:44 Successfully built eca8a42f9eec 00:18:44 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:45 provisioning config files... 00:18:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/109@tmp/config10133400220958866491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:45 ---> docker-login.sh 00:18:45 nexus3.edgexfoundry.org:10001 00:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:45 Configure a credential helper to remove this warning. See 00:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:45 00:18:45 Login Succeeded 00:18:45 nexus3.edgexfoundry.org:10002 00:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:45 Configure a credential helper to remove this warning. See 00:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:45 00:18:45 Login Succeeded 00:18:45 nexus3.edgexfoundry.org:10003 00:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:46 Configure a credential helper to remove this warning. See 00:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:46 00:18:46 Login Succeeded 00:18:46 nexus3.edgexfoundry.org:10004 00:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:46 Configure a credential helper to remove this warning. See 00:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:46 00:18:46 Login Succeeded 00:18:46 docker.io 00:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:47 Configure a credential helper to remove this warning. See 00:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:47 00:18:47 Login Succeeded 00:18:47 ---> docker-login.sh ends [Pipeline] } 00:18:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:18:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:47 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 00:18:47 15e121638b61dd5d2b05931572372c8312ebd12f 00:18:47 latest 00:18:47 3.0.0-dev.25 00:18:47 15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25 00:18:47 main 00:18:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:15e121638b61dd5d2b05931572372c8312ebd12f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:15e121638b61dd5d2b05931572372c8312ebd12f 00:18:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:18:48 7f45dbc4c73e: Preparing 00:18:48 3cb264dab8c0: Preparing 00:18:48 74da4fe7fd45: Preparing 00:18:48 d9f71ee6dc97: Preparing 00:18:48 26cbea5cba74: Preparing 00:18:48 26cbea5cba74: Layer already exists 00:18:48 3cb264dab8c0: Pushed 00:18:48 7f45dbc4c73e: Pushed 00:18:48 d9f71ee6dc97: Pushed 00:18:53 74da4fe7fd45: Pushed 00:18:53 15e121638b61dd5d2b05931572372c8312ebd12f: digest: sha256:1f70eb48a9e25717af4bf57702db4c026d91c3b398157e9a84eec6f11ebf9e57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:18:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:18:54 7f45dbc4c73e: Preparing 00:18:54 3cb264dab8c0: Preparing 00:18:54 74da4fe7fd45: Preparing 00:18:54 d9f71ee6dc97: Preparing 00:18:54 26cbea5cba74: Preparing 00:18:54 26cbea5cba74: Layer already exists 00:18:54 74da4fe7fd45: Layer already exists 00:18:54 7f45dbc4c73e: Layer already exists 00:18:54 3cb264dab8c0: Layer already exists 00:18:54 d9f71ee6dc97: Layer already exists 00:18:54 latest: digest: sha256:1f70eb48a9e25717af4bf57702db4c026d91c3b398157e9a84eec6f11ebf9e57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.25 00:18:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:18:55 7f45dbc4c73e: Preparing 00:18:55 3cb264dab8c0: Preparing 00:18:55 74da4fe7fd45: Preparing 00:18:55 d9f71ee6dc97: Preparing 00:18:55 26cbea5cba74: Preparing 00:18:55 26cbea5cba74: Layer already exists 00:18:55 d9f71ee6dc97: Layer already exists 00:18:55 74da4fe7fd45: Layer already exists 00:18:55 3cb264dab8c0: Layer already exists 00:18:55 7f45dbc4c73e: Layer already exists 00:18:55 3.0.0-dev.25: digest: sha256:1f70eb48a9e25717af4bf57702db4c026d91c3b398157e9a84eec6f11ebf9e57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25 00:18:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:18:55 7f45dbc4c73e: Preparing 00:18:55 3cb264dab8c0: Preparing 00:18:55 74da4fe7fd45: Preparing 00:18:55 d9f71ee6dc97: Preparing 00:18:55 26cbea5cba74: Preparing 00:18:55 26cbea5cba74: Layer already exists 00:18:55 74da4fe7fd45: Layer already exists 00:18:55 7f45dbc4c73e: Layer already exists 00:18:55 d9f71ee6dc97: Layer already exists 00:18:55 3cb264dab8c0: Layer already exists 00:18:55 15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25: digest: sha256:1f70eb48a9e25717af4bf57702db4c026d91c3b398157e9a84eec6f11ebf9e57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 00:18:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:18:56 7f45dbc4c73e: Preparing 00:18:56 3cb264dab8c0: Preparing 00:18:56 74da4fe7fd45: Preparing 00:18:56 d9f71ee6dc97: Preparing 00:18:56 26cbea5cba74: Preparing 00:18:56 d9f71ee6dc97: Layer already exists 00:18:56 26cbea5cba74: Layer already exists 00:18:56 74da4fe7fd45: Layer already exists 00:18:56 3cb264dab8c0: Layer already exists 00:18:56 7f45dbc4c73e: Layer already exists 00:18:56 main: digest: sha256:1f70eb48a9e25717af4bf57702db4c026d91c3b398157e9a84eec6f11ebf9e57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:18:56 ===================================================== [Pipeline] echo 00:18:56 taggedImages: 00:18:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:15e121638b61dd5d2b05931572372c8312ebd12f 00:18:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:18:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.25 00:18:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:15e121638b61dd5d2b05931572372c8312ebd12f-3.0.0-dev.25 00:18:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:18:57 00:18:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:18:57 arm64: Pulling from edgex-lftools-log-publisher 00:18:57 8998bd30e6a1: Pulling fs layer 00:18:57 04944245beec: Pulling fs layer 00:18:57 699f458cf7ca: Pulling fs layer 00:18:57 765212b225bb: Pulling fs layer 00:18:57 f23df028b6ca: Pulling fs layer 00:18:57 d65c8cfc05b1: Pulling fs layer 00:18:57 2437ff75d9bd: Pulling fs layer 00:18:57 f23df028b6ca: Waiting 00:18:57 2437ff75d9bd: Waiting 00:18:57 d65c8cfc05b1: Waiting 00:18:57 765212b225bb: Waiting 00:18:57 04944245beec: Verifying Checksum 00:18:57 04944245beec: Download complete 00:18:57 765212b225bb: Verifying Checksum 00:18:57 765212b225bb: Download complete 00:18:57 f23df028b6ca: Download complete 00:18:57 d65c8cfc05b1: Verifying Checksum 00:18:57 d65c8cfc05b1: Download complete 00:18:58 699f458cf7ca: Verifying Checksum 00:18:58 699f458cf7ca: Download complete 00:18:58 8998bd30e6a1: Verifying Checksum 00:18:58 8998bd30e6a1: Download complete 00:19:00 2437ff75d9bd: Verifying Checksum 00:19:00 2437ff75d9bd: Download complete 00:19:02 8998bd30e6a1: Pull complete 00:19:02 04944245beec: Pull complete 00:19:03 699f458cf7ca: Pull complete 00:19:03 765212b225bb: Pull complete 00:19:04 f23df028b6ca: Pull complete 00:19:04 d65c8cfc05b1: Pull complete 00:19:19 2437ff75d9bd: Pull complete 00:19:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:19:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:20 prd-ubuntu20.04-docker-arm64-4c-16g-10891 does not seem to be running inside a container 00:19:20 $ 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/109 -v /w/workspace/device-mqtt-go/109:/w/workspace/device-mqtt-go/109:rw,z -v /w/workspace/device-mqtt-go/109@tmp:/w/workspace/device-mqtt-go/109@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:arm64 cat 00:19:22 $ docker top 12cf0ce50d59f5d1ccaa99f0a09753312533e312d06751f09a167fe1d7b0489c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:23 ---> job-cost.sh 00:19:23 lf-activate-venv: SKIPPING 00:19:23 INFO: No Stack... 00:19:23 INFO: Retrieving Pricing Info for: v3-standard-4 00:19:24 INFO: Archiving Costs [Pipeline] sh 00:19:24 + cat /w/workspace/device-mqtt-go/109/archives/cost.csv 00:19:24 + cut -d, -f6 [Pipeline] lock 00:19:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-109-stack-cost] 00:19:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-109-stack-cost] did not exist. Created. 00:19:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-109-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:19:25 /w/workspace/device-mqtt-go/109@tmp/durable-a33bb277/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:19:25 + echo total: 0.33000001311302185 [Pipeline] stash 00:19:25 Warning: overwriting stash ‘stack-cost’ 00:19:25 Stashed 1 file(s) [Pipeline] } 00:19:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-109-stack-cost] [Pipeline] // lock [Pipeline] } 00:19:25 $ docker stop --time=1 12cf0ce50d59f5d1ccaa99f0a09753312533e312d06751f09a167fe1d7b0489c 00:19:27 $ docker rm -f --volumes 12cf0ce50d59f5d1ccaa99f0a09753312533e312d06751f09a167fe1d7b0489c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:19:27 provisioning config files... 00:19:27 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8363704709425524919tmp [Pipeline] { [Pipeline] sh 00:19:28 + set +x 00:19:28 + curl -s https://codecov.io/bash 00:19:28 + bash -s -- 00:19:28 00:19:28 _____ _ 00:19:28 / ____| | | 00:19:28 | | ___ __| | ___ ___ _____ __ 00:19:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:19:28 | |___| (_) | (_| | __/ (_| (_) \ V / 00:19:28 \_____\___/ \__,_|\___|\___\___/ \_/ 00:19:28 Bash-1.0.6 00:19:28 00:19:28 00:19:28 ==> git version 2.25.1 found 00:19:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:19:28 Release-Date: 2020-01-08 00:19:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:19:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:19:28 ==> Jenkins CI detected. 00:19:28 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 00:19:28 project root: . 00:19:28 --> token set from env 00:19:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:19:28 ==> Running gcov in . (disable via -X gcov) 00:19:28 ==> Python coveragepy not found 00:19:28 ==> Searching for coverage reports in: 00:19:28 + . 00:19:28 -> Found 1 reports 00:19:28 ==> Detecting git/mercurial file structure 00:19:28 ==> Reading reports 00:19:28 + ./coverage.out bytes=16535 00:19:28 ==> Appending adjustments 00:19:28 https://docs.codecov.io/docs/fixing-reports 00:19:28 + Found adjustments 00:19:28 ==> Gzipping contents 00:19:28 4.0K /tmp/codecov.U40dei.gz 00:19:28 ==> Uploading reports 00:19:28 url: https://codecov.io 00:19:28 query: branch=main&commit=15e121638b61dd5d2b05931572372c8312ebd12f&build=109&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F109%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:19:28 -> Pinging Codecov 00:19:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=15e121638b61dd5d2b05931572372c8312ebd12f&build=109&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F109%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:19:28 -> Uploading to 00:19:28 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/7D719EC7BBE17E464838252E33014C33/15e121638b61dd5d2b05931572372c8312ebd12f/0f92114c-97a5-4818-8067-eb3fbc61b67c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T001928Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e696566a15c47504d6eda0046de5b8c8a6e5086293c36a498aacffd1a9ebd7d 00:19:28 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:28 Dload Upload Total Spent Left Speed 00:19:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 14231 --:--:-- --:--:-- --:--:-- 14231 00:19:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/15e121638b61dd5d2b05931572372c8312ebd12f [Pipeline] } 00:19:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:19:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:19:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:19:29 00:19:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:19:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:19:29 df9b9388f04a: Pulling fs layer 00:19:29 52dc419b0ee2: Pulling fs layer 00:19:29 25bc292e5bac: Pulling fs layer 00:19:29 114826534d7a: Pulling fs layer 00:19:29 4657fd5d0bcf: Pulling fs layer 00:19:29 6ad1cebc031e: Pulling fs layer 00:19:29 8a3aa393b2d8: Pulling fs layer 00:19:29 4657fd5d0bcf: Waiting 00:19:29 6ad1cebc031e: Waiting 00:19:29 8a3aa393b2d8: Waiting 00:19:29 114826534d7a: Waiting 00:19:29 52dc419b0ee2: Download complete 00:19:29 df9b9388f04a: Verifying Checksum 00:19:29 df9b9388f04a: Download complete 00:19:29 25bc292e5bac: Download complete 00:19:29 4657fd5d0bcf: Verifying Checksum 00:19:29 4657fd5d0bcf: Download complete 00:19:29 df9b9388f04a: Pull complete 00:19:29 6ad1cebc031e: Verifying Checksum 00:19:29 6ad1cebc031e: Download complete 00:19:29 52dc419b0ee2: Pull complete 00:19:30 25bc292e5bac: Pull complete 00:19:30 114826534d7a: Verifying Checksum 00:19:30 114826534d7a: Download complete 00:19:30 8a3aa393b2d8: Verifying Checksum 00:19:30 8a3aa393b2d8: Download complete 00:19:34 114826534d7a: Pull complete 00:19:34 4657fd5d0bcf: Pull complete 00:19:34 6ad1cebc031e: Pull complete 00:19:36 8a3aa393b2d8: Pull complete 00:19:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:19:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:19:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:36 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:19:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -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-devops/edgex-snyk-go:1.410.4 cat 00:19:43 $ docker top 360a923a5b98ef6618fddd25f2a7c945c3014cafc50944e59ec946b5b8ad4f6b -eo pid,comm [Pipeline] { [Pipeline] echo 00:19:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 00:19:43 + set -o pipefail 00:19:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 00:19:48 00:19:48 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 00:19:48 00:19:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/a0b65f29-ce60-4c70-bc8a-c74f749c3441 00:19:48 00:19:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:19:48 00:19:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:19:48 00:19:49 00:19:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:19:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:19:49 More details here: https://snyk.co/ue1NS [Pipeline] } 00:19:49 $ docker stop --time=1 360a923a5b98ef6618fddd25f2a7c945c3014cafc50944e59ec946b5b8ad4f6b 00:19:53 $ docker rm -f --volumes 360a923a5b98ef6618fddd25f2a7c945c3014cafc50944e59ec946b5b8ad4f6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:19:54 + git log --format=format:%s -1 15e121638b61dd5d2b05931572372c8312ebd12f [Pipeline] sh 00:19:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:19:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:54 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:19:54 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:19:55 $ docker top 5381f94a30b659a449bb6c963f54a98b797750c704f34cac8583737dca1f9b36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:19:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:19:55 [ssh-agent] Looking for ssh-agent implementation... 00:19:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:19:55 $ docker exec 5381f94a30b659a449bb6c963f54a98b797750c704f34cac8583737dca1f9b36 ssh-agent 00:19:55 SSH_AUTH_SOCK=/tmp/ssh-gXiHSipG4KfO/agent.32 00:19:55 SSH_AGENT_PID=38 00:19:55 Running ssh-add (command line suppressed) 00:19:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9897253203101430477.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9897253203101430477.key) 00:19:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:19:56 + git semver tag 00:19:56 2023-04-26 00:19:56,182 [run_tag] DEBUG tag force:False 00:19:56 2023-04-26 00:19:56,182 [check_head_tag] DEBUG check head tag 00:19:56 2023-04-26 00:19:56,183 [execute] INFO git cat-file --batch-check 00:19:56 2023-04-26 00:19:56,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:19:56 2023-04-26 00:19:56,187 [execute] INFO git cat-file --batch 00:19:56 2023-04-26 00:19:56,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:19:56 2023-04-26 00:19:56,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:19:56 2023-04-26 00:19:56,205 [execute] INFO git tag -a v3.0.0-dev.25 -m v3.0.0-dev.25 00:19:56 2023-04-26 00:19:56,206 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.25', '-m', 'v3.0.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:19:56 2023-04-26 00:19:56,210 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:19:56 3.0.0-dev.25 [Pipeline] } 00:19:56 $ docker exec --env ******** --env ******** 5381f94a30b659a449bb6c963f54a98b797750c704f34cac8583737dca1f9b36 ssh-agent -k 00:19:56 unset SSH_AUTH_SOCK; 00:19:56 unset SSH_AGENT_PID; 00:19:56 echo Agent pid 38 killed; 00:19:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:19:56 + git semver [Pipeline] } 00:19:56 $ docker stop --time=1 5381f94a30b659a449bb6c963f54a98b797750c704f34cac8583737dca1f9b36 00:19:58 $ docker rm -f --volumes 5381f94a30b659a449bb6c963f54a98b797750c704f34cac8583737dca1f9b36 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:19:58 00:19:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:19:58 0.23.1-centos7: Pulling from edgex-lftools 00:19:58 ab5ef0e58194: Pulling fs layer 00:19:58 9712f1f96733: Pulling fs layer 00:19:58 63f879dbbcfc: Pulling fs layer 00:19:58 0d9ebad4ef96: Pulling fs layer 00:19:58 e9a5061849ea: Pulling fs layer 00:19:58 d747dcd14b5f: Pulling fs layer 00:19:58 0d9ebad4ef96: Waiting 00:19:58 e9a5061849ea: Waiting 00:19:58 2de7ff778b66: Pulling fs layer 00:19:58 d747dcd14b5f: Waiting 00:19:58 2de7ff778b66: Waiting 00:19:58 9712f1f96733: Verifying Checksum 00:19:58 9712f1f96733: Download complete 00:19:59 63f879dbbcfc: Verifying Checksum 00:19:59 63f879dbbcfc: Download complete 00:19:59 e9a5061849ea: Verifying Checksum 00:19:59 e9a5061849ea: Download complete 00:19:59 d747dcd14b5f: Verifying Checksum 00:19:59 d747dcd14b5f: Download complete 00:19:59 0d9ebad4ef96: Verifying Checksum 00:19:59 0d9ebad4ef96: Download complete 00:19:59 ab5ef0e58194: Verifying Checksum 00:19:59 ab5ef0e58194: Download complete 00:19:59 2de7ff778b66: Download complete 00:20:02 ab5ef0e58194: Pull complete 00:20:02 9712f1f96733: Pull complete 00:20:02 63f879dbbcfc: Pull complete 00:20:07 0d9ebad4ef96: Pull complete 00:20:07 e9a5061849ea: Pull complete 00:20:07 d747dcd14b5f: Pull complete 00:20:07 2de7ff778b66: Pull complete 00:20:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:20:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:20:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:08 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:20:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:20:17 $ docker top 79380fcf430955db843f44d9b2af4a75b72c90f7370c4ad96eb117c11fd1daa8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:20:17 provisioning config files... 00:20:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1090355971599493834tmp 00:20:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2056982469227428558tmp 00:20:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17944421098029322413tmp [Pipeline] { [Pipeline] echo 00:20:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:20:17 ---> sigul-configuration.sh 00:20:17 gpg: directory `/root/.gnupg' created 00:20:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:20:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:20:17 gpg: keyring `/root/.gnupg/secring.gpg' created 00:20:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:20:17 gpg: CAST5 encrypted data 00:20:17 gpg: encrypted with 1 passphrase 00:20:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:20:17 + mkdir /home/jenkins 00:20:17 + mkdir /home/jenkins/sigul [Pipeline] sh 00:20:18 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:20:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:20:18 ---> sigul-install.sh 00:20:18 Sigul already installed; skipping installation. [Pipeline] sh 00:20:18 + git tag --list 00:20:18 0.7.1 00:20:18 v1.0.0 00:20:18 v1.1.0 00:20:18 v1.1.1 00:20:18 v1.2.2 00:20:18 v1.3.0 00:20:18 v1.3.1 00:20:18 v2.0.0 00:20:18 v2.1.0 00:20:18 v2.1.1 00:20:18 v2.1.1-dev.1 00:20:18 v2.1.1-dev.2 00:20:18 v2.2.0 00:20:18 v2.2.1-dev.1 00:20:18 v2.2.1-dev.10 00:20:18 v2.2.1-dev.2 00:20:18 v2.2.1-dev.3 00:20:18 v2.2.1-dev.4 00:20:18 v2.2.1-dev.5 00:20:18 v2.2.1-dev.6 00:20:18 v2.2.1-dev.7 00:20:18 v2.2.1-dev.8 00:20:18 v2.2.1-dev.9 00:20:18 v2.3.0 00:20:18 v2.3.0-dev.10 00:20:18 v2.3.0-dev.11 00:20:18 v2.3.0-dev.12 00:20:18 v2.3.0-dev.13 00:20:18 v2.3.0-dev.14 00:20:18 v2.3.0-dev.15 00:20:18 v2.3.0-dev.16 00:20:18 v2.3.0-dev.17 00:20:18 v2.3.0-dev.18 00:20:18 v2.3.0-dev.19 00:20:18 v2.3.0-dev.20 00:20:18 v2.3.0-dev.21 00:20:18 v2.3.0-dev.22 00:20:18 v2.3.0-dev.23 00:20:18 v2.3.0-dev.24 00:20:18 v2.3.0-dev.25 00:20:18 v2.3.0-dev.26 00:20:18 v2.3.0-dev.27 00:20:18 v2.3.0-dev.28 00:20:18 v2.3.0-dev.29 00:20:18 v2.3.0-dev.30 00:20:18 v2.3.0-dev.31 00:20:18 v2.3.0-dev.32 00:20:18 v2.3.0-dev.33 00:20:18 v2.3.0-dev.34 00:20:18 v3.0.0-dev.1 00:20:18 v3.0.0-dev.10 00:20:18 v3.0.0-dev.11 00:20:18 v3.0.0-dev.12 00:20:18 v3.0.0-dev.13 00:20:18 v3.0.0-dev.14 00:20:18 v3.0.0-dev.15 00:20:18 v3.0.0-dev.16 00:20:18 v3.0.0-dev.17 00:20:18 v3.0.0-dev.18 00:20:18 v3.0.0-dev.19 00:20:18 v3.0.0-dev.2 00:20:18 v3.0.0-dev.20 00:20:18 v3.0.0-dev.21 00:20:18 v3.0.0-dev.22 00:20:18 v3.0.0-dev.23 00:20:18 v3.0.0-dev.24 00:20:18 v3.0.0-dev.25 00:20:18 v3.0.0-dev.3 00:20:18 v3.0.0-dev.4 00:20:18 v3.0.0-dev.5 00:20:18 v3.0.0-dev.6 00:20:18 v3.0.0-dev.7 00:20:18 v3.0.0-dev.8 00:20:18 v3.0.0-dev.9 [Pipeline] sh 00:20:19 + lftools sign git-tag v3.0.0-dev.25 00:20:19 Signing Git tag with Sigul... 00:20:19 Signing v3.0.0-dev.25 [Pipeline] echo 00:20:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:20:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:20:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:20:20 $ docker stop --time=1 79380fcf430955db843f44d9b2af4a75b72c90f7370c4ad96eb117c11fd1daa8 00:20:21 $ docker rm -f --volumes 79380fcf430955db843f44d9b2af4a75b72c90f7370c4ad96eb117c11fd1daa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:20:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:20:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:20:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:22 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:20:22 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:20:22 $ docker top 9874a9e28e36c608ca5eda2c7ad4c598dd35a610430707807743619bbe93e4e2 -eo pid,comm 00:20:23 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). 00:20:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:20:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:20:23 [ssh-agent] Looking for ssh-agent implementation... 00:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:20:23 $ docker exec 9874a9e28e36c608ca5eda2c7ad4c598dd35a610430707807743619bbe93e4e2 ssh-agent 00:20:23 SSH_AUTH_SOCK=/tmp/ssh-ILI61NwBsqSY/agent.32 00:20:23 SSH_AGENT_PID=38 00:20:23 Running ssh-add (command line suppressed) 00:20:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13545665634303828456.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13545665634303828456.key) 00:20:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:20:23 + git semver bump pre 00:20:23 2023-04-26 00:20:23,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:20:23 2023-04-26 00:20:23,902 [bump_version] DEBUG bumping version:3.0.0-dev.25 on axis:pre with prefix:dev 00:20:23 2023-04-26 00:20:23,902 [bump_version] DEBUG bumped version:3.0.0-dev.26 00:20:23 2023-04-26 00:20:23,902 [write_version] DEBUG write version:3.0.0-dev.26 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 00:20:23 2023-04-26 00:20:23,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:20:23 2023-04-26 00:20:23,903 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:20:23 2023-04-26 00:20:23,906 [execute] INFO git cat-file --batch-check 00:20:23 2023-04-26 00:20:23,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:20:23 2023-04-26 00:20:23,912 [execute] INFO git cat-file --batch 00:20:23 2023-04-26 00:20:23,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:20:23 2023-04-26 00:20:23,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:20:23 3.0.0-dev.26 [Pipeline] } 00:20:23 $ docker exec --env ******** --env ******** 9874a9e28e36c608ca5eda2c7ad4c598dd35a610430707807743619bbe93e4e2 ssh-agent -k 00:20:24 unset SSH_AUTH_SOCK; 00:20:24 unset SSH_AGENT_PID; 00:20:24 echo Agent pid 38 killed; 00:20:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:20:24 + git semver [Pipeline] } 00:20:24 $ docker stop --time=1 9874a9e28e36c608ca5eda2c7ad4c598dd35a610430707807743619bbe93e4e2 00:20:26 $ docker rm -f --volumes 9874a9e28e36c608ca5eda2c7ad4c598dd35a610430707807743619bbe93e4e2 [Pipeline] // withDockerContainer [Pipeline] sh 00:20:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:20:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:20:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:27 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:20:27 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:20:27 $ docker top 0d9643d2b8e57dd6bb825b8147b298e150af89b10d8b2b384ceacdbedfc93813 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:20:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:20:27 [ssh-agent] Looking for ssh-agent implementation... 00:20:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:20:27 $ docker exec 0d9643d2b8e57dd6bb825b8147b298e150af89b10d8b2b384ceacdbedfc93813 ssh-agent 00:20:27 SSH_AUTH_SOCK=/tmp/ssh-74Y5MJVswjFj/agent.32 00:20:27 SSH_AGENT_PID=38 00:20:27 Running ssh-add (command line suppressed) 00:20:27 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3973339699624963728.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3973339699624963728.key) 00:20:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:20:28 + git semver push 00:20:28 2023-04-26 00:20:28,281 [run_push] DEBUG push 00:20:28 2023-04-26 00:20:28,281 [execute] INFO git cat-file --batch-check 00:20:28 2023-04-26 00:20:28,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:20:28 2023-04-26 00:20:28,285 [execute] INFO git rev-list c78f44bfa6c1010cded1f68a895f84e1d4622078 -- 00:20:28 2023-04-26 00:20:28,285 [execute] DEBUG Popen(['git', 'rev-list', 'c78f44bfa6c1010cded1f68a895f84e1d4622078', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:20:28 2023-04-26 00:20:28,295 [execute] INFO git fetch -v origin 00:20:28 2023-04-26 00:20:28,295 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:20:28 2023-04-26 00:20:28,782 [run_push] DEBUG no remote changes detected 00:20:28 2023-04-26 00:20:28,783 [execute] INFO git push origin semver 00:20:28 2023-04-26 00:20:28,783 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:20:29 2023-04-26 00:20:29,539 [run_push] DEBUG push all version tags 00:20:29 2023-04-26 00:20:29,539 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:20:29 2023-04-26 00:20:29,540 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:20:30 2023-04-26 00:20:30,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:20:30 3.0.0-dev.26 [Pipeline] } 00:20:30 $ docker exec --env ******** --env ******** 0d9643d2b8e57dd6bb825b8147b298e150af89b10d8b2b384ceacdbedfc93813 ssh-agent -k 00:20:30 unset SSH_AUTH_SOCK; 00:20:30 unset SSH_AGENT_PID; 00:20:30 echo Agent pid 38 killed; 00:20:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:20:30 + git semver [Pipeline] } 00:20:31 $ docker stop --time=1 0d9643d2b8e57dd6bb825b8147b298e150af89b10d8b2b384ceacdbedfc93813 00:20:32 $ docker rm -f --volumes 0d9643d2b8e57dd6bb825b8147b298e150af89b10d8b2b384ceacdbedfc93813 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:20:32 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 00:20:32 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:20:32 total 16 00:20:32 drwxr-xr-x 3 root root 4096 Apr 26 00:13 . 00:20:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 00:20 .. 00:20:32 drwxr-xr-x 2 root root 4096 Apr 26 00:13 cost 00:20:32 -rw-r--r-- 1 root root 86 Apr 26 00:13 cost.csv 00:20:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:20:32 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:20:32 total 16 00:20:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 00:13 . 00:20:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 00:20 .. 00:20:32 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 00:13 cost 00:20:32 -rw-r--r-- 1 jenkins jenkins 86 Apr 26 00:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:20:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:20:34 ---> package-listing.sh 00:20:34 ++ facter osfamily 00:20:34 ++ tr '[:upper:]' '[:lower:]' 00:20:34 + OS_FAMILY=debian 00:20:34 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 00:20:34 + START_PACKAGES=/tmp/packages_start.txt 00:20:34 + END_PACKAGES=/tmp/packages_end.txt 00:20:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:20:34 + PACKAGES=/tmp/packages_start.txt 00:20:34 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:20:34 + PACKAGES=/tmp/packages_end.txt 00:20:34 + case "${OS_FAMILY}" in 00:20:34 + grep '^ii' 00:20:34 + dpkg -l 00:20:34 + '[' -f /tmp/packages_start.txt ']' 00:20:34 + '[' -f /tmp/packages_end.txt ']' 00:20:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:20:34 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:20:34 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 00:20:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 00:20:34 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 00:20:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:20:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:35 prd-ubuntu20.04-docker-8c-8g-10895 does not seem to be running inside a container 00:20:35 $ 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 00:20:35 $ docker top f4b3690207cbf35dc00fba71d8cb524e295f77a8f2264ff7f30ecfa6bce7a7c9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:35 + touch /tmp/pre-build-complete [Pipeline] sh 00:20:36 + mkdir -p /var/log/sysstat [Pipeline] sh 00:20:36 + ls /var/log/sa-host 00:20:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:36 provisioning config files... 00:20:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12964121207881899613tmp [Pipeline] { [Pipeline] echo 00:20:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:20:36 ---> create-netrc.sh [Pipeline] } 00:20:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:20:37 ---> python-tools-install.sh [Pipeline] echo 00:20:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:20:37 ---> sudo-logs.sh 00:20:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:20:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:20:37 ---> job-cost.sh 00:20:37 lf-activate-venv: SKIPPING 00:20:37 DEBUG: total: 0.2199999988079071 00:20:37 INFO: Retrieving Stack Cost... 00:20:38 INFO: Retrieving Pricing Info for: v3-standard-8 00:20:38 INFO: Archiving Costs [Pipeline] echo 00:20:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:20:39 ---> logs-deploy.sh 00:20:39 lf-activate-venv: SKIPPING 00:20:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/109 00:20:39 INFO: archiving workspace using pattern(s): 00:20:39 Archives upload complete. 00:20:39 INFO: archiving logs to Nexus 00:20:40 ---> uname -a: 00:20:40 Linux prd-ubuntu20-04-docker-8c-8g-10895 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:20:40 00:20:40 00:20:40 ---> lscpu: 00:20:40 Architecture: x86_64 00:20:40 CPU op-mode(s): 32-bit, 64-bit 00:20:40 Byte Order: Little Endian 00:20:40 Address sizes: 40 bits physical, 48 bits virtual 00:20:40 CPU(s): 8 00:20:40 On-line CPU(s) list: 0-7 00:20:40 Thread(s) per core: 1 00:20:40 Core(s) per socket: 1 00:20:40 Socket(s): 8 00:20:40 NUMA node(s): 1 00:20:40 Vendor ID: AuthenticAMD 00:20:40 CPU family: 23 00:20:40 Model: 49 00:20:40 Model name: AMD EPYC-Rome Processor 00:20:40 Stepping: 0 00:20:40 CPU MHz: 2800.000 00:20:40 BogoMIPS: 5600.00 00:20:40 Virtualization: AMD-V 00:20:40 Hypervisor vendor: KVM 00:20:40 Virtualization type: full 00:20:40 L1d cache: 256 KiB 00:20:40 L1i cache: 256 KiB 00:20:40 L2 cache: 4 MiB 00:20:40 L3 cache: 128 MiB 00:20:40 NUMA node0 CPU(s): 0-7 00:20:40 Vulnerability Itlb multihit: Not affected 00:20:40 Vulnerability L1tf: Not affected 00:20:40 Vulnerability Mds: Not affected 00:20:40 Vulnerability Meltdown: Not affected 00:20:40 Vulnerability Mmio stale data: Not affected 00:20:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:20:40 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:20:40 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:20:40 Vulnerability Srbds: Not affected 00:20:40 Vulnerability Tsx async abort: Not affected 00:20:40 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 00:20:40 00:20:40 00:20:40 ---> nproc: 00:20:40 8 00:20:40 00:20:40 00:20:40 ---> df -h: 00:20:40 Filesystem Size Used Avail Use% Mounted on 00:20:40 overlay 155G 13G 143G 9% / 00:20:40 tmpfs 64M 0 64M 0% /dev 00:20:40 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:20:40 shm 64M 0 64M 0% /dev/shm 00:20:40 /dev/vda1 155G 13G 143G 9% /facter-os 00:20:40 00:20:40 00:20:40 ---> sar -b -r -n DEV: 00:20:40 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10895) 04/26/23 _x86_64_ (8 CPU) 00:20:40 00:20:40 00:10:04 LINUX RESTART (8 CPU) 00:20:40 00:20:40 00:11:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:20:40 00:12:01 183.02 1.59 181.43 0.00 37.42 73536.69 0.00 00:20:40 00:13:01 99.02 1.72 97.30 0.00 33.99 24454.46 0.00 00:20:40 00:14:01 87.44 0.05 87.39 0.00 6.13 19350.11 0.00 00:20:40 00:15:01 2.88 0.00 2.88 0.00 0.00 32.41 0.00 00:20:40 00:16:01 55.62 10.76 44.86 0.00 5173.40 8827.73 0.00 00:20:40 00:17:01 4.12 0.03 4.08 0.00 0.27 96.23 0.00 00:20:40 00:18:01 1.10 0.00 1.10 0.00 0.00 13.06 0.00 00:20:40 00:19:01 1.68 0.00 1.68 0.00 0.00 19.06 0.00 00:20:40 00:20:01 59.69 0.37 59.32 0.00 22.50 33568.97 0.00 00:20:40 Average: 54.71 1.61 53.10 0.00 586.90 17664.81 0.00 00:20:40 00:20:40 00:11:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:20:40 00:12:01 28441548 31580188 721372 2.19 145268 3207316 1932644 5.70 1070048 2934392 624 00:20:40 00:13:01 28175656 31560952 738020 2.24 149404 3433204 1901164 5.60 1226140 3024588 180 00:20:40 00:14:01 27651880 31568176 728484 2.22 159492 3903112 1739384 5.13 1262516 3456896 372 00:20:40 00:15:01 27651720 31568256 727684 2.21 159564 3903108 1739384 5.13 1262260 3456896 12 00:20:40 00:16:01 27124588 31555272 726084 2.21 193216 4363956 1825160 5.38 1578064 3630684 4 00:20:40 00:17:01 27129512 31555340 725536 2.21 191780 4360696 1798232 5.30 1576608 3627484 8 00:20:40 00:18:01 27132148 31558092 722636 2.20 191800 4360704 1798232 5.30 1574700 3627488 8 00:20:40 00:19:01 27132284 31558400 722452 2.20 191840 4360708 1798232 5.30 1574544 3627620 16 00:20:40 00:20:01 25950932 31504736 773060 2.35 209184 5395992 2116444 6.24 1683572 4620652 337080 00:20:40 Average: 27376696 31556601 731703 2.23 176839 4143200 1849875 5.45 1423161 3556300 37589 00:20:40 00:20:40 00:11:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:20:40 00:12:01 lo 2.58 2.58 0.25 0.25 0.00 0.00 0.00 0.00 00:20:40 00:12:01 docker0 182.55 309.98 14.50 1999.57 0.00 0.00 0.00 0.00 00:20:40 00:12:01 vethf166f05 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 00:20:40 00:12:01 ens3 490.58 279.29 6320.39 35.68 0.00 0.00 0.00 0.00 00:20:40 00:13:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 00:20:40 00:13:01 docker0 1.98 4.92 0.12 42.62 0.00 0.00 0.00 0.00 00:20:40 00:13:01 ens3 62.16 51.62 83.29 106.01 0.00 0.00 0.00 0.00 00:20:40 00:14:01 lo 6.73 6.73 0.66 0.66 0.00 0.00 0.00 0.00 00:20:40 00:14:01 docker0 1.60 3.47 0.10 43.02 0.00 0.00 0.00 0.00 00:20:40 00:14:01 ens3 156.79 107.82 2601.17 224.70 0.00 0.00 0.00 0.00 00:20:40 00:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:20:40 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:40 00:15:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 00:20:40 00:16:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 00:20:40 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:40 00:16:01 ens3 214.88 107.07 2867.77 7.54 0.00 0.00 0.00 0.00 00:20:40 00:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:20:40 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:40 00:17:01 ens3 0.62 0.20 0.06 0.01 0.00 0.00 0.00 0.00 00:20:40 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:40 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:40 00:18:01 ens3 1.35 0.97 2.83 0.25 0.00 0.00 0.00 0.00 00:20:40 00:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:20:40 00:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:40 00:19:01 ens3 0.58 0.45 0.27 0.21 0.00 0.00 0.00 0.00 00:20:40 00:20:01 lo 1.93 1.93 0.19 0.19 0.00 0.00 0.00 0.00 00:20:40 00:20:01 docker0 32.84 57.02 2.90 578.13 0.00 0.00 0.00 0.00 00:20:40 00:20:01 ens3 335.30 188.60 7735.51 28.19 0.00 0.00 0.00 0.00 00:20:40 Average: lo 1.48 1.48 0.14 0.14 0.00 0.00 0.00 0.00 00:20:40 Average: docker0 24.04 41.21 1.93 292.80 0.00 0.00 0.00 0.00 00:20:40 Average: ens3 139.64 81.44 2172.03 44.75 0.00 0.00 0.00 0.00 00:20:40 00:20:40 00:20:40 ---> sar -P ALL: 00:20:40 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10895) 04/26/23 _x86_64_ (8 CPU) 00:20:40 00:20:40 00:10:04 LINUX RESTART (8 CPU) 00:20:40 00:20:40 00:11:02 CPU %user %nice %system %iowait %steal %idle 00:20:40 00:12:01 all 7.69 0.00 3.70 7.47 0.06 81.07 00:20:40 00:12:01 0 7.72 0.00 3.75 6.14 0.05 82.34 00:20:40 00:12:01 1 7.14 0.00 4.50 0.55 0.05 87.76 00:20:40 00:12:01 2 8.20 0.00 3.73 0.58 0.05 87.44 00:20:40 00:12:01 3 8.33 0.00 4.72 42.36 0.09 44.51 00:20:40 00:12:01 4 8.16 0.00 3.11 1.68 0.05 87.00 00:20:40 00:12:01 5 9.23 0.00 3.88 2.85 0.05 84.00 00:20:40 00:12:01 6 5.87 0.00 2.62 4.06 0.05 87.40 00:20:40 00:12:01 7 6.90 0.00 3.33 1.99 0.07 87.71 00:20:40 00:13:01 all 38.04 0.00 6.40 2.91 0.10 52.54 00:20:40 00:13:01 0 37.28 0.00 7.10 0.20 0.10 55.32 00:20:40 00:13:01 1 38.63 0.00 6.33 1.40 0.12 53.53 00:20:40 00:13:01 2 39.84 0.00 5.90 0.22 0.10 53.94 00:20:40 00:13:01 3 38.34 0.00 6.20 2.16 0.10 53.19 00:20:40 00:13:01 4 37.94 0.00 6.51 2.52 0.10 52.93 00:20:40 00:13:01 5 38.70 0.00 6.40 0.08 0.10 54.71 00:20:40 00:13:01 6 34.71 0.00 6.05 16.34 0.08 42.82 00:20:40 00:13:01 7 38.88 0.00 6.74 0.42 0.10 53.85 00:20:40 00:14:01 all 4.01 0.00 1.52 1.80 0.04 92.63 00:20:40 00:14:01 0 3.60 0.00 1.51 0.08 0.03 94.78 00:20:40 00:14:01 1 5.36 0.00 1.62 0.05 0.03 92.94 00:20:40 00:14:01 2 3.08 0.00 1.43 0.07 0.02 95.40 00:20:40 00:14:01 3 6.18 0.00 1.89 0.07 0.03 91.84 00:20:40 00:14:01 4 4.17 0.00 1.77 9.77 0.05 84.24 00:20:40 00:14:01 5 3.53 0.00 1.20 0.74 0.03 94.50 00:20:40 00:14:01 6 2.90 0.00 1.17 3.67 0.03 92.22 00:20:40 00:14:01 7 3.22 0.00 1.57 0.05 0.05 95.12 00:20:40 00:15:01 all 0.19 0.00 0.01 0.02 0.00 99.79 00:20:40 00:15:01 0 0.02 0.00 0.00 0.02 0.00 99.97 00:20:40 00:15:01 1 0.03 0.00 0.00 0.00 0.00 99.97 00:20:40 00:15:01 2 0.02 0.00 0.02 0.00 0.00 99.97 00:20:40 00:15:01 3 1.42 0.00 0.03 0.00 0.00 98.55 00:20:40 00:15:01 4 0.00 0.00 0.00 0.12 0.00 99.88 00:20:40 00:15:01 5 0.00 0.00 0.02 0.00 0.00 99.98 00:20:40 00:15:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:20:40 00:15:01 7 0.00 0.00 0.02 0.00 0.00 99.98 00:20:40 00:16:01 all 2.35 0.00 1.54 1.14 0.03 94.94 00:20:40 00:16:01 0 3.00 0.00 1.33 0.05 0.02 95.61 00:20:40 00:16:01 1 2.44 0.00 1.09 1.71 0.03 94.73 00:20:40 00:16:01 2 2.05 0.00 2.10 0.05 0.02 95.78 00:20:40 00:16:01 3 1.79 0.00 0.85 1.64 0.03 95.68 00:20:40 00:16:01 4 1.99 0.00 1.15 2.64 0.02 94.21 00:20:40 00:16:01 5 2.05 0.00 1.30 1.89 0.02 94.74 00:20:40 00:16:01 6 3.34 0.00 2.76 1.12 0.03 92.75 00:20:40 00:16:01 7 2.11 0.00 1.76 0.07 0.03 96.03 00:20:40 00:17:01 all 0.09 0.00 0.05 0.01 0.01 99.84 00:20:40 00:17:01 0 0.22 0.00 0.12 0.00 0.00 99.67 00:20:40 00:17:01 1 0.12 0.00 0.07 0.03 0.02 99.77 00:20:40 00:17:01 2 0.03 0.00 0.03 0.00 0.00 99.93 00:20:40 00:17:01 3 0.07 0.00 0.05 0.02 0.02 99.85 00:20:40 00:17:01 4 0.15 0.00 0.03 0.07 0.02 99.73 00:20:40 00:17:01 5 0.02 0.00 0.07 0.00 0.00 99.92 00:20:40 00:17:01 6 0.05 0.00 0.02 0.00 0.00 99.93 00:20:40 00:17:01 7 0.07 0.00 0.03 0.00 0.00 99.90 00:20:40 00:18:01 all 0.03 0.00 0.01 0.00 0.00 99.96 00:20:40 00:18:01 0 0.03 0.00 0.00 0.00 0.00 99.97 00:20:40 00:18:01 1 0.07 0.00 0.02 0.00 0.00 99.92 00:20:40 00:18:01 2 0.05 0.00 0.02 0.00 0.00 99.93 00:20:40 00:18:01 3 0.02 0.00 0.02 0.00 0.00 99.97 00:20:40 00:18:01 4 0.00 0.00 0.00 0.00 0.00 100.00 00:20:40 00:18:01 5 0.03 0.00 0.00 0.00 0.00 99.97 00:20:40 00:18:01 6 0.02 0.00 0.02 0.00 0.00 99.97 00:20:40 00:18:01 7 0.05 0.00 0.02 0.00 0.00 99.93 00:20:40 00:19:01 all 0.07 0.00 0.02 0.00 0.01 99.90 00:20:40 00:19:01 0 0.03 0.00 0.03 0.00 0.00 99.93 00:20:40 00:19:01 1 0.25 0.00 0.00 0.02 0.02 99.72 00:20:40 00:19:01 2 0.07 0.00 0.00 0.00 0.02 99.92 00:20:40 00:19:01 3 0.13 0.00 0.02 0.00 0.00 99.85 00:20:40 00:19:01 4 0.03 0.00 0.03 0.02 0.00 99.92 00:20:40 00:19:01 5 0.00 0.00 0.02 0.00 0.02 99.97 00:20:40 00:19:01 6 0.03 0.00 0.02 0.00 0.02 99.93 00:20:40 00:19:01 7 0.00 0.00 0.02 0.00 0.00 99.98 00:20:40 00:20:01 all 5.63 0.00 2.37 1.98 0.05 89.96 00:20:40 00:20:01 0 5.48 0.00 2.66 0.30 0.03 91.52 00:20:40 00:20:01 1 6.11 0.00 2.68 0.79 0.15 90.27 00:20:40 00:20:01 2 5.90 0.00 2.03 4.02 0.03 88.02 00:20:40 00:20:01 3 5.39 0.00 1.97 0.00 0.05 92.59 00:20:40 00:20:01 4 5.65 0.00 2.55 1.74 0.03 90.02 00:20:40 00:20:01 5 5.30 0.00 2.38 0.03 0.03 92.25 00:20:40 00:20:01 6 4.93 0.00 1.73 0.20 0.03 93.10 00:20:40 00:20:01 7 6.25 0.00 2.99 8.82 0.05 81.89 00:20:40 Average: all 6.41 0.00 1.72 1.69 0.03 90.15 00:20:40 Average: 0 6.33 0.00 1.82 0.74 0.03 91.09 00:20:40 Average: 1 6.65 0.00 1.80 0.50 0.05 91.00 00:20:40 Average: 2 6.56 0.00 1.69 0.55 0.03 91.18 00:20:40 Average: 3 6.80 0.00 1.73 4.98 0.04 86.46 00:20:40 Average: 4 6.40 0.00 1.67 2.05 0.03 89.84 00:20:40 Average: 5 6.49 0.00 1.68 0.61 0.03 91.19 00:20:40 Average: 6 5.71 0.00 1.59 2.80 0.03 89.87 00:20:40 Average: 7 6.33 0.00 1.81 1.25 0.03 90.57 00:20:40 00:20:40 00:20:40