Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2e3ea50809046315b94e2a0692d75037f7d6efed 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-ssh1763738780920930647.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-ssh6668583966695763746.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-ssh17009708698054715602.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-ssh4088017881374611168.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-ssh16671398845130014816.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-12627 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 Avoid second fetch Checking out Revision 2e3ea50809046315b94e2a0692d75037f7d6efed (main) Commit message: "feat!: Handle receiving multiple readings in the async payload (#586)" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e3ea50809046315b94e2a0692d75037f7d6efed # timeout=10 > git rev-list --no-walk 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:44:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:44:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:44:24 ========================================================= 21:44:24 EdgeX Global Pipelines Version Info 21:44:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:44:24 ------------------- 21:44:24 stable info: 21:44:24 ------------------- 21:44:24 Commited By: Bill Mahoney bill.mahoney@intel.com 21:44:24 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:44:24 Message: update stable to v1.0.248 21:44:25 ------------------- 21:44:25 experimental info: 21:44:25 ------------------- 21:44:25 Commited By: **** collab-it+edgex@linuxfoundation.org 21:44:25 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:44:25 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e3ea50809046315b94e2a0692d75037f7d6efed [Pipeline] echo 21:44:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e3ea50 [Pipeline] echo 21:44:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:44:26 provisioning config files... 21:44:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17382366651592837703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:44:26 ---> docker-login.sh 21:44:26 nexus3.edgexfoundry.org:10001 21:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:26 Configure a credential helper to remove this warning. See 21:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:26 21:44:26 Login Succeeded 21:44:26 nexus3.edgexfoundry.org:10002 21:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:26 Configure a credential helper to remove this warning. See 21:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:26 21:44:26 Login Succeeded 21:44:26 nexus3.edgexfoundry.org:10003 21:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:26 Configure a credential helper to remove this warning. See 21:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:26 21:44:26 Login Succeeded 21:44:26 nexus3.edgexfoundry.org:10004 21:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:27 Configure a credential helper to remove this warning. See 21:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:27 21:44:27 Login Succeeded 21:44:27 docker.io 21:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:27 Configure a credential helper to remove this warning. See 21:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:27 21:44:27 Login Succeeded 21:44:27 ---> docker-login.sh ends [Pipeline] } 21:44:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:44:27 + git rev-list -1 --merges 2e3ea50809046315b94e2a0692d75037f7d6efed~1..2e3ea50809046315b94e2a0692d75037f7d6efed [Pipeline] echo 21:44:27 -----------> git rev-list -1 --merges 2e3ea50809046315b94e2a0692d75037f7d6efed~1..2e3ea50809046315b94e2a0692d75037f7d6efed 2e3ea50809046315b94e2a0692d75037f7d6efed [false] [Pipeline] sh 21:44:28 + git log --format=format:%s -1 2e3ea50809046315b94e2a0692d75037f7d6efed [Pipeline] echo 21:44:28 ========================================================= 21:44:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:44:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:44:28 + git log --format=format:%s -1 2e3ea50809046315b94e2a0692d75037f7d6efed [Pipeline] echo 21:44:28 [semverPrep] GIT_COMMIT: 2e3ea50809046315b94e2a0692d75037f7d6efed, Commit Message: feat!: Handle receiving multiple readings in the async payload (#586) [Pipeline] echo 21:44:28 [semverPrep] This is not a build commit. [Pipeline] sh 21:44:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:44:28 + grep -v github /etc/ssh/ssh_known_hosts 21:44:28 + [ -e /tmp/ssh_known_hosts ] 21:44:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:44:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:44:28 + sudo tee -a /etc/ssh/ssh_known_hosts 21:44:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:44:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:44:29 21:44:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:44:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:44:29 0.1.4: Pulling from edgex-devops/py-git-semver 21:44:29 b85a868b505f: Pulling fs layer 21:44:29 e2be974225ed: Pulling fs layer 21:44:29 339a4e72a1f5: Pulling fs layer 21:44:29 988bab9f4d93: Pulling fs layer 21:44:29 1469e6f7b9e6: Pulling fs layer 21:44:29 eaf3925da568: Pulling fs layer 21:44:29 bab4dde63d76: Pulling fs layer 21:44:29 bde34c3a00c8: Pulling fs layer 21:44:29 b352a97aabf1: Pulling fs layer 21:44:29 4872d77fe225: Pulling fs layer 21:44:29 5851b861e8e6: Pulling fs layer 21:44:29 988bab9f4d93: Waiting 21:44:29 1469e6f7b9e6: Waiting 21:44:29 eaf3925da568: Waiting 21:44:29 bab4dde63d76: Waiting 21:44:29 bde34c3a00c8: Waiting 21:44:29 4872d77fe225: Waiting 21:44:29 b352a97aabf1: Waiting 21:44:29 e2be974225ed: Verifying Checksum 21:44:29 e2be974225ed: Download complete 21:44:29 988bab9f4d93: Verifying Checksum 21:44:29 988bab9f4d93: Download complete 21:44:29 339a4e72a1f5: Verifying Checksum 21:44:29 339a4e72a1f5: Download complete 21:44:29 1469e6f7b9e6: Verifying Checksum 21:44:29 1469e6f7b9e6: Download complete 21:44:29 eaf3925da568: Verifying Checksum 21:44:29 eaf3925da568: Download complete 21:44:29 bde34c3a00c8: Verifying Checksum 21:44:29 bde34c3a00c8: Download complete 21:44:29 b352a97aabf1: Verifying Checksum 21:44:29 b352a97aabf1: Download complete 21:44:29 4872d77fe225: Verifying Checksum 21:44:29 4872d77fe225: Download complete 21:44:29 5851b861e8e6: Download complete 21:44:29 b85a868b505f: Verifying Checksum 21:44:29 b85a868b505f: Download complete 21:44:30 bab4dde63d76: Verifying Checksum 21:44:30 bab4dde63d76: Download complete 21:44:31 b85a868b505f: Pull complete 21:44:31 e2be974225ed: Pull complete 21:44:31 339a4e72a1f5: Pull complete 21:44:31 988bab9f4d93: Pull complete 21:44:32 1469e6f7b9e6: Pull complete 21:44:32 eaf3925da568: Pull complete 21:44:34 bab4dde63d76: Pull complete 21:44:34 bde34c3a00c8: Pull complete 21:44:34 b352a97aabf1: Pull complete 21:44:34 4872d77fe225: Pull complete 21:44:34 5851b861e8e6: Pull complete 21:44:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:44:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:44:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:44:34 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:44:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:44:37 $ docker top 36d5f1e36b24724aa4f05dd4fd0560813bc4e183b5cdcf0f8740d30c6ba0e732 -eo pid,comm 21:44:37 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). 21:44:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:44:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:44:37 [ssh-agent] Looking for ssh-agent implementation... 21:44:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:44:37 $ docker exec 36d5f1e36b24724aa4f05dd4fd0560813bc4e183b5cdcf0f8740d30c6ba0e732 ssh-agent 21:44:37 SSH_AUTH_SOCK=/tmp/ssh-AvmvmArJYEZ8/agent.33 21:44:37 SSH_AGENT_PID=39 21:44:37 Running ssh-add (command line suppressed) 21:44:37 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12290309665720700338.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12290309665720700338.key) 21:44:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:44:37 + git tag --points-at HEAD [Pipeline] } 21:44:37 $ docker exec --env ******** --env ******** 36d5f1e36b24724aa4f05dd4fd0560813bc4e183b5cdcf0f8740d30c6ba0e732 ssh-agent -k 21:44:37 unset SSH_AUTH_SOCK; 21:44:37 unset SSH_AGENT_PID; 21:44:37 echo Agent pid 39 killed; 21:44:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:44:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:44:37 [ssh-agent] Looking for ssh-agent implementation... 21:44:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:44:38 $ docker exec 36d5f1e36b24724aa4f05dd4fd0560813bc4e183b5cdcf0f8740d30c6ba0e732 ssh-agent 21:44:38 SSH_AUTH_SOCK=/tmp/ssh-AvkpU7bqSltt/agent.71 21:44:38 SSH_AGENT_PID=77 21:44:38 Running ssh-add (command line suppressed) 21:44:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1150180937507807235.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1150180937507807235.key) 21:44:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:44:38 + git semver init 21:44:38 2023-05-03 21:44:38,763 [run_init] DEBUG init version:0.0.0 force:False 21:44:38 2023-05-03 21:44:38,764 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 21:44:38 2023-05-03 21:44:38,765 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 21:44:38 2023-05-03 21:44:38,765 [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) 21:44:39 2023-05-03 21:44:39,540 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 21:44:39 2023-05-03 21:44:39,540 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 21:44:39 2023-05-03 21:44:39,540 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:44:39 2023-05-03 21:44:39,541 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:44:39 3.0.0-dev.28 [Pipeline] } 21:44:39 $ docker exec --env ******** --env ******** 36d5f1e36b24724aa4f05dd4fd0560813bc4e183b5cdcf0f8740d30c6ba0e732 ssh-agent -k 21:44:39 unset SSH_AUTH_SOCK; 21:44:39 unset SSH_AGENT_PID; 21:44:39 echo Agent pid 77 killed; 21:44:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:44:40 + git semver [Pipeline] } 21:44:40 $ docker stop --time=1 36d5f1e36b24724aa4f05dd4fd0560813bc4e183b5cdcf0f8740d30c6ba0e732 21:44:41 $ docker rm -f --volumes 36d5f1e36b24724aa4f05dd4fd0560813bc4e183b5cdcf0f8740d30c6ba0e732 [Pipeline] // withDockerContainer [Pipeline] sh 21:44:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:44:42 Stashed 1 file(s) [Pipeline] echo 21:44:42 [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [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 21:44:42 provisioning config files... 21:44:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15410010324277979936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:44:42 ---> docker-login.sh 21:44:42 nexus3.edgexfoundry.org:10001 21:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:42 Configure a credential helper to remove this warning. See 21:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:42 21:44:42 Login Succeeded 21:44:42 nexus3.edgexfoundry.org:10002 21:44:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:42 Configure a credential helper to remove this warning. See 21:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:42 21:44:42 Login Succeeded 21:44:42 nexus3.edgexfoundry.org:10003 21:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:43 Configure a credential helper to remove this warning. See 21:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:43 21:44:43 Login Succeeded 21:44:43 nexus3.edgexfoundry.org:10004 21:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:43 Configure a credential helper to remove this warning. See 21:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:43 21:44:43 Login Succeeded 21:44:43 docker.io 21:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:44:43 Configure a credential helper to remove this warning. See 21:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:44:43 21:44:43 Login Succeeded 21:44:43 ---> docker-login.sh ends [Pipeline] } 21:44:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:44:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:44:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:44:43 ========================================================= 21:44:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:44:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:44:43 + 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 . 21:44:43 Sending build context to Docker daemon 6.471MB 21:44:43 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:44:43 Step 2/12 : FROM ${BASE} AS builder 21:44:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:44:43 f56be85fc22e: Pulling fs layer 21:44:43 85791d961cd3: Pulling fs layer 21:44:43 d694b5ae8c79: Pulling fs layer 21:44:43 9f32a84ed3da: Pulling fs layer 21:44:43 4d19c01a9841: Pulling fs layer 21:44:43 9325e15d5711: Pulling fs layer 21:44:43 9f32a84ed3da: Waiting 21:44:43 556b6ee489ea: Pulling fs layer 21:44:43 c5a4b2cf53e6: Pulling fs layer 21:44:43 4d19c01a9841: Waiting 21:44:43 9325e15d5711: Waiting 21:44:43 c5a4b2cf53e6: Waiting 21:44:43 556b6ee489ea: Waiting 21:44:43 85791d961cd3: Download complete 21:44:43 9f32a84ed3da: Verifying Checksum 21:44:43 9f32a84ed3da: Download complete 21:44:43 4d19c01a9841: Download complete 21:44:43 f56be85fc22e: Verifying Checksum 21:44:43 f56be85fc22e: Download complete 21:44:43 9325e15d5711: Verifying Checksum 21:44:43 9325e15d5711: Download complete 21:44:43 f56be85fc22e: Pull complete 21:44:44 85791d961cd3: Pull complete 21:44:44 c5a4b2cf53e6: Verifying Checksum 21:44:44 c5a4b2cf53e6: Download complete 21:44:44 d694b5ae8c79: Verifying Checksum 21:44:44 d694b5ae8c79: Download complete 21:44:44 556b6ee489ea: Verifying Checksum 21:44:44 556b6ee489ea: Download complete 21:44:48 d694b5ae8c79: Pull complete 21:44:48 9f32a84ed3da: Pull complete 21:44:48 4d19c01a9841: Pull complete 21:44:48 9325e15d5711: Pull complete 21:44:50 556b6ee489ea: Pull complete 21:44:52 c5a4b2cf53e6: Pull complete 21:44:52 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:44:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:44:52 ---> c4be618373d6 21:44:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:44:56 ---> Running in ac786c7f94c7 21:44:56 Removing intermediate container ac786c7f94c7 21:44:56 ---> 4fdf190fc452 21:44:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:44:56 ---> Running in 02814ee3bc5b 21:44:56 Removing intermediate container 02814ee3bc5b 21:44:56 ---> 573b12308489 21:44:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:44:56 ---> Running in 7a29230af429 21:44:56 Removing intermediate container 7a29230af429 21:44:56 ---> 6a1dd6fce714 21:44:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:44:56 ---> Running in 39461850dfc8 21:44:56 Removing intermediate container 39461850dfc8 21:44:56 ---> 551585bea429 21:44:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:44:56 ---> Running in 4bd3009f176b 21:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:44:57 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:44:57 (2/4) Installing libedit (20221030.3.1-r0) 21:44:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:44:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:44:57 Executing busybox-1.35.0-r29.trigger 21:44:57 OK: 269 MiB in 57 packages 21:44:57 Still waiting to schedule task 21:44:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:44:57 Removing intermediate container 4bd3009f176b 21:44:57 ---> 6b20ca76e0f1 21:44:57 Step 8/12 : WORKDIR /device-mqtt-go 21:44:57 ---> Running in 63147a442f8a 21:44:57 Removing intermediate container 63147a442f8a 21:44:57 ---> b7dbb5ac5283 21:44:57 Step 9/12 : COPY go.mod vendor* ./ 21:44:57 ---> 90f8c65dabe1 21:44:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:44:57 ---> Running in a3d34bd5d55a 21:45:44 Removing intermediate container a3d34bd5d55a 21:45:44 ---> 5c1947d1ea48 21:45:44 Step 11/12 : COPY . . 21:45:44 ---> 19221ca4f912 21:45:44 Step 12/12 : RUN $MAKE 21:45:44 ---> Running in a524b7aa156e 21:45:44 noop 21:45:44 Removing intermediate container a524b7aa156e 21:45:44 ---> b7060de994a5 21:45:44 Successfully built b7060de994a5 21:45:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:44 + docker inspect -f . ci-base-image-x86_64 21:45:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:45:44 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:45:44 $ 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 ******** ci-base-image-x86_64 cat 21:45:45 $ docker top 8cd0d4c276ba1292e2ea1fd6489a33419eb8c69b77fe4a6280ad5aad24468a77 -eo pid,comm [Pipeline] { [Pipeline] sh 21:45:45 + go version 21:45:45 go version go1.20.2 linux/amd64 [Pipeline] } 21:45:45 $ docker stop --time=1 8cd0d4c276ba1292e2ea1fd6489a33419eb8c69b77fe4a6280ad5aad24468a77 21:45:46 $ docker rm -f --volumes 8cd0d4c276ba1292e2ea1fd6489a33419eb8c69b77fe4a6280ad5aad24468a77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:47 + docker inspect -f . ci-base-image-x86_64 21:45:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:45:47 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:45:47 $ 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 ******** ci-base-image-x86_64 cat 21:45:47 $ docker top 5179c55aedba1020b8e7b72ca1c6f254701e3fe41ab55ef0deb371a29ec2bfe1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:45:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 21:45:48 + make test 21:45:48 go test ./... -coverprofile=coverage.out ./... 21:45:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:46:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:46:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:46:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 23.1% of statements 21:46:12 go vet ./... 21:46:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:46:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:46:15 ./bin/test-attribution-txt.sh [Pipeline] echo 21:46:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:46:15 $ docker stop --time=1 5179c55aedba1020b8e7b72ca1c6f254701e3fe41ab55ef0deb371a29ec2bfe1 21:46:18 $ docker rm -f --volumes 5179c55aedba1020b8e7b72ca1c6f254701e3fe41ab55ef0deb371a29ec2bfe1 [Pipeline] // withDockerContainer [Pipeline] sh 21:46:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:46:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:46:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:46:20 + ls -al . 21:46:20 total 180 21:46:20 drwxrwxr-x 10 jenkins jenkins 4096 May 3 21:45 . 21:46:20 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:44 .. 21:46:20 -rw-rw-r-- 1 jenkins jenkins 140 May 3 21:44 .dockerignore 21:46:20 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:44 .git 21:46:20 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:44 .github 21:46:20 -rw-rw-r-- 1 jenkins jenkins 329 May 3 21:44 .gitignore 21:46:20 -rw-rw-r-- 1 jenkins jenkins 41 May 3 21:44 .golangci.yml 21:46:20 drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:44 .semver 21:46:20 -rw-rw-r-- 1 jenkins jenkins 9417 May 3 21:44 Attribution.txt 21:46:20 -rw-rw-r-- 1 jenkins jenkins 13162 May 3 21:44 CHANGELOG.md 21:46:20 -rw-rw-r-- 1 jenkins jenkins 1689 May 3 21:44 Dockerfile 21:46:20 -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:44 GOVERNANCE.md 21:46:20 -rw-rw-r-- 1 jenkins jenkins 678 May 3 21:44 Jenkinsfile 21:46:20 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 21:44 LICENSE 21:46:20 -rw-rw-r-- 1 jenkins jenkins 1732 May 3 21:44 Makefile 21:46:20 -rw-rw-r-- 1 jenkins jenkins 620 May 3 21:44 OWNERS.md 21:46:20 -rw-rw-r-- 1 jenkins jenkins 3165 May 3 21:44 README.md 21:46:20 -rw-rw-r-- 1 jenkins jenkins 12 May 3 21:44 VERSION 21:46:20 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:44 bin 21:46:20 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:44 cmd 21:46:20 -rw-r--r-- 1 jenkins jenkins 18144 May 3 21:46 coverage.out 21:46:20 -rw-rw-r-- 1 jenkins jenkins 3333 May 3 21:44 go.mod 21:46:20 -rw-rw-r-- 1 jenkins jenkins 31443 May 3 21:44 go.sum 21:46:20 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:44 internal 21:46:20 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:44 mock 21:46:20 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:44 snap 21:46:20 -rw-rw-r-- 1 jenkins jenkins 227 May 3 21:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:20 + 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=2e3ea50809046315b94e2a0692d75037f7d6efed --label arch=amd64 --label version=3.0.0-dev.28 . 21:46:20 Sending build context to Docker daemon 6.49MB 21:46:20 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:46:20 Step 2/24 : FROM ${BASE} AS builder 21:46:20 ---> b7060de994a5 21:46:20 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:46:20 ---> Running in a9c66676af92 21:46:20 Removing intermediate container a9c66676af92 21:46:20 ---> b4301d11b041 21:46:20 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:46:20 ---> Running in 260711ce3c88 21:46:20 Removing intermediate container 260711ce3c88 21:46:20 ---> 552780de856b 21:46:20 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:46:20 ---> Running in 762206e244c3 21:46:20 Removing intermediate container 762206e244c3 21:46:20 ---> e9ea9eb4ab06 21:46:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:46:20 ---> Running in 28e13d861dcf 21:46:20 Removing intermediate container 28e13d861dcf 21:46:20 ---> b1fd47cd0c5c 21:46:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:46:20 ---> Running in 4d39bd454162 21:46:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:46:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:46:21 OK: 269 MiB in 57 packages 21:46:21 Removing intermediate container 4d39bd454162 21:46:21 ---> a88a3058ec99 21:46:21 Step 8/24 : WORKDIR /device-mqtt-go 21:46:21 ---> Running in f001f6979155 21:46:21 Removing intermediate container f001f6979155 21:46:21 ---> cf54d62cc312 21:46:21 Step 9/24 : COPY go.mod vendor* ./ 21:46:22 ---> cbe348da06e6 21:46:22 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:46:22 ---> Running in 77db0c7a30ba 21:46:22 Removing intermediate container 77db0c7a30ba 21:46:22 ---> 1eed28b6ebdb 21:46:22 Step 11/24 : COPY . . 21:46:23 ---> e02d99bd61f0 21:46:23 Step 12/24 : RUN $MAKE 21:46:23 ---> Running in ff6b3a4e4a06 21:46:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 21:46:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12628 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 21:46:25 Running in /w/workspace/device-mqtt-go/112 [Pipeline] { [Pipeline] checkout 21:46:25 Selected Git installation does not exist. Using Default 21:46:25 The recommended git tool is: NONE 21:46:30 using credential edgex-jenkins-ssh 21:46:30 Cloning the remote Git repository 21:46:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 21:46:30 > git init /w/workspace/device-mqtt-go/112 # timeout=10 21:46:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:46:30 > git --version # timeout=10 21:46:30 > git --version # 'git version 2.25.1' 21:46:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:46:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:46:32 Avoid second fetch 21:46:32 Checking out Revision 2e3ea50809046315b94e2a0692d75037f7d6efed (main) 21:46:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:46:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:46:32 > git config core.sparsecheckout # timeout=10 21:46:32 > git checkout -f 2e3ea50809046315b94e2a0692d75037f7d6efed # timeout=10 21:46:33 Commit message: "feat!: Handle receiving multiple readings in the async payload (#586)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:46:34 % Total % Received % Xferd Average Speed Time Time Time Current 21:46:34 Dload Upload Total Spent Left Speed 21:46:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 21:46:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:46:35 + sudo tee /etc/docker/daemon.new 21:46:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:46:35 { 21:46:35 "registry-mirrors": [ 21:46:35 "https://nexus3.edgexfoundry.org:10001" 21:46:35 ], 21:46:35 "bip": "10.250.0.254/24", 21:46:35 "hosts": [ 21:46:35 "tcp://0.0.0.0:5555", 21:46:35 "unix:///var/run/docker.sock" 21:46:35 ], 21:46:35 "mtu": 1458, 21:46:35 "selinux-enabled": true, 21:46:35 "seccomp-profile": "/etc/docker/seccomp.json" 21:46:35 } [Pipeline] sh 21:46:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:46:35 + sudo service docker restart 21:46:45 Removing intermediate container ff6b3a4e4a06 21:46:45 ---> 4b39d7eee1c5 21:46:45 Step 13/24 : FROM alpine:3.17 21:46:45 3.17: Pulling from library/alpine 21:46:45 f56be85fc22e: Already exists 21:46:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:46:45 Status: Downloaded newer image for alpine:3.17 21:46:45 ---> 9ed4aefc74f6 21:46:45 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:46:45 ---> Running in b2b54076a95c 21:46:45 Removing intermediate container b2b54076a95c 21:46:45 ---> dfe30769731b 21:46:45 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:46:45 ---> Running in 6d6e40f5d007 21:46:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:46:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:46:45 (1/1) Installing dumb-init (1.2.5-r2) 21:46:45 Executing busybox-1.35.0-r29.trigger 21:46:45 OK: 7 MiB in 16 packages 21:46:45 Removing intermediate container 6d6e40f5d007 21:46:45 ---> d14c15784ce9 21:46:45 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:46:46 ---> 83eb7c4e4402 21:46:46 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:46:46 ---> 4e2a820c319c 21:46:46 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:46:46 ---> 3dc25bfdae91 21:46:46 Step 19/24 : EXPOSE 59982 21:46:46 ---> Running in 81e8f95b7aa4 21:46:46 Removing intermediate container 81e8f95b7aa4 21:46:46 ---> feba57e593df 21:46:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:46:46 ---> Running in 9878706131f9 21:46:46 Removing intermediate container 9878706131f9 21:46:46 ---> f84234305494 21:46:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:46:46 ---> Running in aeef592e3352 21:46:46 Removing intermediate container aeef592e3352 21:46:46 ---> 654d34dbade2 21:46:46 Step 22/24 : LABEL arch=amd64 21:46:46 ---> Running in 528b5baa91cf 21:46:47 Removing intermediate container 528b5baa91cf 21:46:47 ---> fece2ecb86b6 21:46:47 Step 23/24 : LABEL git_sha=2e3ea50809046315b94e2a0692d75037f7d6efed 21:46:47 ---> Running in 2e061fc7a2e6 21:46:47 Removing intermediate container 2e061fc7a2e6 21:46:47 ---> cca4168b26df 21:46:47 Step 24/24 : LABEL version=3.0.0-dev.28 21:46:47 ---> Running in 938da7954603 21:46:47 Removing intermediate container 938da7954603 21:46:47 ---> b22f68fef77b 21:46:47 [Warning] One or more build-args [ARCH] were not consumed 21:46:47 Successfully built b22f68fef77b 21:46:47 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:47 provisioning config files... 21:46:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config424152017287822660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:48 ---> docker-login.sh 21:46:48 nexus3.edgexfoundry.org:10001 21:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:48 Configure a credential helper to remove this warning. See 21:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:48 21:46:48 Login Succeeded 21:46:48 nexus3.edgexfoundry.org:10002 21:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:48 Configure a credential helper to remove this warning. See 21:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:48 21:46:48 Login Succeeded 21:46:48 nexus3.edgexfoundry.org:10003 21:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:48 Configure a credential helper to remove this warning. See 21:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:48 21:46:48 Login Succeeded 21:46:48 nexus3.edgexfoundry.org:10004 21:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:48 Configure a credential helper to remove this warning. See 21:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:48 21:46:48 Login Succeeded 21:46:48 docker.io 21:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:48 Configure a credential helper to remove this warning. See 21:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:48 21:46:48 Login Succeeded 21:46:48 ---> docker-login.sh ends [Pipeline] } 21:46:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:46:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:46:48 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 21:46:48 2e3ea50809046315b94e2a0692d75037f7d6efed 21:46:48 latest 21:46:48 3.0.0-dev.28 21:46:48 2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28 21:46:48 main 21:46:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2e3ea50809046315b94e2a0692d75037f7d6efed [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2e3ea50809046315b94e2a0692d75037f7d6efed 21:46:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:46:49 d8b6abb48312: Preparing 21:46:49 3a72b50cffab: Preparing 21:46:49 fefab0856a8f: Preparing 21:46:49 fd122f5f5107: Preparing 21:46:49 f1417ff83b31: Preparing 21:46:49 f1417ff83b31: Layer already exists 21:46:49 fd122f5f5107: Pushed 21:46:49 3a72b50cffab: Pushed 21:46:49 d8b6abb48312: Pushed 21:46:52 fefab0856a8f: Pushed 21:46:52 2e3ea50809046315b94e2a0692d75037f7d6efed: digest: sha256:84f02c682ba3641a6299cd241d89b4cbcf8b06a4f4e9a6817fa3f5731763e702 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:46:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:46:53 d8b6abb48312: Preparing 21:46:53 3a72b50cffab: Preparing 21:46:53 fefab0856a8f: Preparing 21:46:53 fd122f5f5107: Preparing 21:46:53 f1417ff83b31: Preparing 21:46:53 fefab0856a8f: Layer already exists 21:46:53 fd122f5f5107: Layer already exists 21:46:53 d8b6abb48312: Layer already exists 21:46:53 f1417ff83b31: Layer already exists 21:46:53 3a72b50cffab: Layer already exists 21:46:53 latest: digest: sha256:84f02c682ba3641a6299cd241d89b4cbcf8b06a4f4e9a6817fa3f5731763e702 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.28 21:46:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:46:53 d8b6abb48312: Preparing 21:46:53 3a72b50cffab: Preparing 21:46:53 fefab0856a8f: Preparing 21:46:53 fd122f5f5107: Preparing 21:46:53 f1417ff83b31: Preparing 21:46:53 fd122f5f5107: Layer already exists 21:46:53 f1417ff83b31: Layer already exists 21:46:53 d8b6abb48312: Layer already exists 21:46:53 3a72b50cffab: Layer already exists 21:46:53 fefab0856a8f: Layer already exists 21:46:53 3.0.0-dev.28: digest: sha256:84f02c682ba3641a6299cd241d89b4cbcf8b06a4f4e9a6817fa3f5731763e702 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:54 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28 [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] configFileProvider 21:46:54 provisioning config files... [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/112@tmp/config2212742733097546139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28 21:46:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:46:54 d8b6abb48312: Preparing 21:46:54 3a72b50cffab: Preparing 21:46:54 fefab0856a8f: Preparing 21:46:54 fd122f5f5107: Preparing 21:46:54 f1417ff83b31: Preparing 21:46:54 d8b6abb48312: Layer already exists 21:46:54 fefab0856a8f: Layer already exists 21:46:54 3a72b50cffab: Layer already exists 21:46:54 f1417ff83b31: Layer already exists 21:46:54 fd122f5f5107: Layer already exists 21:46:54 2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28: digest: sha256:84f02c682ba3641a6299cd241d89b4cbcf8b06a4f4e9a6817fa3f5731763e702 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:54 ---> docker-login.sh 21:46:54 nexus3.edgexfoundry.org:10001 21:46:54 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 21:46:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 21:46:54 d8b6abb48312: Preparing 21:46:54 3a72b50cffab: Preparing 21:46:54 fefab0856a8f: Preparing 21:46:54 fd122f5f5107: Preparing 21:46:54 f1417ff83b31: Preparing 21:46:54 f1417ff83b31: Layer already exists 21:46:54 fd122f5f5107: Layer already exists 21:46:54 fefab0856a8f: Layer already exists 21:46:54 3a72b50cffab: Layer already exists 21:46:54 d8b6abb48312: Layer already exists 21:46:54 main: digest: sha256:84f02c682ba3641a6299cd241d89b4cbcf8b06a4f4e9a6817fa3f5731763e702 size: 1365 21:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:54 Configure a credential helper to remove this warning. See 21:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:54 21:46:54 Login Succeeded 21:46:54 nexus3.edgexfoundry.org:10002 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:46:54 ===================================================== [Pipeline] echo 21:46:54 taggedImages: 21:46:54 - nexus3.edgexfoundry.org:10004/device-mqtt:2e3ea50809046315b94e2a0692d75037f7d6efed 21:46:54 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 21:46:54 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.28 21:46:54 - nexus3.edgexfoundry.org:10004/device-mqtt:2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28 21:46:54 - 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 21:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:55 Configure a credential helper to remove this warning. See 21:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:55 21:46:55 Login Succeeded 21:46:55 nexus3.edgexfoundry.org:10003 21:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:46:55 21:46:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:55 Configure a credential helper to remove this warning. See 21:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:55 21:46:55 Login Succeeded 21:46:55 nexus3.edgexfoundry.org:10004 21:46:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:46:55 latest: Pulling from edgex-lftools-log-publisher 21:46:55 5eb5b503b376: Pulling fs layer 21:46:55 5c69ac0246d0: Pulling fs layer 21:46:55 ec43610c2a17: Pulling fs layer 21:46:55 3a2ae6a8a46f: Pulling fs layer 21:46:55 33b1e0a273af: Pulling fs layer 21:46:55 5d3b04190fa2: Pulling fs layer 21:46:55 2f39f015ded8: Pulling fs layer 21:46:55 3a2ae6a8a46f: Waiting 21:46:55 33b1e0a273af: Waiting 21:46:55 5d3b04190fa2: Waiting 21:46:55 2f39f015ded8: Waiting 21:46:55 5c69ac0246d0: Verifying Checksum 21:46:55 5c69ac0246d0: Download complete 21:46:55 3a2ae6a8a46f: Verifying Checksum 21:46:55 3a2ae6a8a46f: Download complete 21:46:55 33b1e0a273af: Verifying Checksum 21:46:55 33b1e0a273af: Download complete 21:46:55 5d3b04190fa2: Verifying Checksum 21:46:55 5d3b04190fa2: Download complete 21:46:55 ec43610c2a17: Verifying Checksum 21:46:55 ec43610c2a17: Download complete 21:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:55 Configure a credential helper to remove this warning. See 21:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:55 21:46:55 Login Succeeded 21:46:55 5eb5b503b376: Verifying Checksum 21:46:55 5eb5b503b376: Download complete 21:46:56 docker.io 21:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:56 Configure a credential helper to remove this warning. See 21:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:56 21:46:56 Login Succeeded 21:46:56 ---> docker-login.sh ends [Pipeline] } 21:46:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 21:46:56 2f39f015ded8: Download complete [Pipeline] echo 21:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:46:56 ========================================================= 21:46:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:46:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:56 + 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 . 21:46:57 5eb5b503b376: Pull complete 21:46:57 Sending build context to Docker daemon 3.356MB 21:46:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:46:57 Step 2/12 : FROM ${BASE} AS builder 21:46:57 5c69ac0246d0: Pull complete 21:46:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:46:57 c41833b44d91: Pulling fs layer 21:46:57 ed15518f5707: Pulling fs layer 21:46:57 feae8fd75edb: Pulling fs layer 21:46:57 242c74f7c9fa: Pulling fs layer 21:46:57 3cdef696dda3: Pulling fs layer 21:46:57 2ced38df9373: Pulling fs layer 21:46:57 58f1dce35555: Pulling fs layer 21:46:57 242c74f7c9fa: Waiting 21:46:57 3cdef696dda3: Waiting 21:46:57 2ced38df9373: Waiting 21:46:57 58f1dce35555: Waiting 21:46:57 ed15518f5707: Verifying Checksum 21:46:57 ed15518f5707: Download complete 21:46:57 242c74f7c9fa: Verifying Checksum 21:46:57 242c74f7c9fa: Download complete 21:46:57 3cdef696dda3: Verifying Checksum 21:46:57 3cdef696dda3: Download complete 21:46:57 c41833b44d91: Verifying Checksum 21:46:57 c41833b44d91: Download complete 21:46:57 ec43610c2a17: Pull complete 21:46:57 3a2ae6a8a46f: Pull complete 21:46:58 33b1e0a273af: Pull complete 21:46:58 5d3b04190fa2: Pull complete 21:46:58 c41833b44d91: Pull complete 21:46:58 58f1dce35555: Verifying Checksum 21:46:58 58f1dce35555: Download complete 21:46:58 ed15518f5707: Pull complete 21:46:59 feae8fd75edb: Verifying Checksum 21:46:59 feae8fd75edb: Download complete 21:46:59 2ced38df9373: Verifying Checksum 21:46:59 2ced38df9373: Download complete 21:47:03 2f39f015ded8: Pull complete 21:47:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:47:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:47:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:03 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:47:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:47:07 $ docker top 87b0b44c69554d41f6a70f37eec7633c68a5f1b69689151544f58797d08075c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:47:07 ---> job-cost.sh 21:47:07 lf-activate-venv: SKIPPING 21:47:07 INFO: No Stack... 21:47:07 INFO: Retrieving Pricing Info for: v3-standard-8 21:47:07 INFO: Archiving Costs [Pipeline] sh 21:47:08 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 21:47:08 + cut -d, -f6 [Pipeline] lock 21:47:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-112-stack-cost] 21:47:08 Resource [jenkins-edgexfoundry-device-mqtt-go-main-112-stack-cost] did not exist. Created. 21:47:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:47:08 + echo total: 0.2199999988079071 [Pipeline] stash 21:47:08 Stashed 1 file(s) [Pipeline] } 21:47:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-112-stack-cost] [Pipeline] // lock [Pipeline] } 21:47:08 $ docker stop --time=1 87b0b44c69554d41f6a70f37eec7633c68a5f1b69689151544f58797d08075c5 21:47:09 $ docker rm -f --volumes 87b0b44c69554d41f6a70f37eec7633c68a5f1b69689151544f58797d08075c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:47:10 feae8fd75edb: Pull complete 21:47:10 242c74f7c9fa: Pull complete 21:47:10 3cdef696dda3: Pull complete 21:47:15 2ced38df9373: Pull complete 21:47:17 58f1dce35555: Pull complete 21:47:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:47:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:47:17 ---> fadd8f120f05 21:47:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:47:19 ---> Running in 73338d1c88a6 21:47:19 Removing intermediate container 73338d1c88a6 21:47:19 ---> 858d71c9b0ee 21:47:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:19 ---> Running in 93df5fe96663 21:47:19 Removing intermediate container 93df5fe96663 21:47:19 ---> d01e870690ad 21:47:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:47:19 ---> Running in c3d65a157e3b 21:47:20 Removing intermediate container c3d65a157e3b 21:47:20 ---> 46ed79247606 21:47:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:47:20 ---> Running in 5c9f1b870008 21:47:20 Removing intermediate container 5c9f1b870008 21:47:20 ---> 8b46b6a29eef 21:47:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:47:20 ---> Running in 29952b47775c 21:47:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:47:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:47:23 (2/4) Installing libedit (20221030.3.1-r0) 21:47:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:47:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:47:23 Executing busybox-1.35.0-r29.trigger 21:47:23 OK: 268 MiB in 57 packages 21:47:24 Removing intermediate container 29952b47775c 21:47:24 ---> 87c56d137637 21:47:24 Step 8/12 : WORKDIR /device-mqtt-go 21:47:24 ---> Running in 9063f33bc8de 21:47:24 Removing intermediate container 9063f33bc8de 21:47:24 ---> 56852e651114 21:47:24 Step 9/12 : COPY go.mod vendor* ./ 21:47:25 ---> 47937d6255dd 21:47:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:25 ---> Running in 3b7469dfd948 21:48:46 Removing intermediate container 3b7469dfd948 21:48:46 ---> 098be26675b4 21:48:46 Step 11/12 : COPY . . 21:48:46 ---> 33173b02b29d 21:48:46 Step 12/12 : RUN $MAKE 21:48:46 ---> Running in 046cc07691d8 21:48:46 noop 21:48:46 Removing intermediate container 046cc07691d8 21:48:46 ---> b9b6a17238cc 21:48:46 Successfully built b9b6a17238cc 21:48:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:47 + docker inspect -f . ci-base-image-arm64 21:48:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:47 prd-ubuntu20.04-docker-arm64-4c-16g-12628 does not seem to be running inside a container 21:48:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/112 -v /w/workspace/device-mqtt-go/112:/w/workspace/device-mqtt-go/112:rw,z -v /w/workspace/device-mqtt-go/112@tmp:/w/workspace/device-mqtt-go/112@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-arm64 cat 21:48:48 $ docker top f217ebb6f3a0cc9af4b1d85255ecd757f4abbc4e29ac102441bdae5716070317 -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:49 + go version 21:48:49 go version go1.20.2 linux/arm64 [Pipeline] } 21:48:49 $ docker stop --time=1 f217ebb6f3a0cc9af4b1d85255ecd757f4abbc4e29ac102441bdae5716070317 21:48:51 $ docker rm -f --volumes f217ebb6f3a0cc9af4b1d85255ecd757f4abbc4e29ac102441bdae5716070317 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:51 + docker inspect -f . ci-base-image-arm64 21:48:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:51 prd-ubuntu20.04-docker-arm64-4c-16g-12628 does not seem to be running inside a container 21:48:51 $ 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/112 -v /w/workspace/device-mqtt-go/112:/w/workspace/device-mqtt-go/112:rw,z -v /w/workspace/device-mqtt-go/112@tmp:/w/workspace/device-mqtt-go/112@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-arm64 cat 21:48:53 $ docker top 4ae5a1117d31ffbeb43cf2087ad1205ee4fc35fa7eced2a5364bdb0603541856 -eo pid,comm [Pipeline] { [Pipeline] sh 21:48:53 + git config --global --add safe.directory /w/workspace/device-mqtt-go/112 [Pipeline] fileExists [Pipeline] sh 21:48:54 + make test 21:48:54 go test ./... -coverprofile=coverage.out ./... 21:49:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:51:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:51:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:51:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 23.1% of statements 21:51:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:51:18 go vet ./... 21:51:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:51:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:51:51 ./bin/test-attribution-txt.sh [Pipeline] echo 21:51:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:51:51 $ docker stop --time=1 4ae5a1117d31ffbeb43cf2087ad1205ee4fc35fa7eced2a5364bdb0603541856 21:51:52 $ docker rm -f --volumes 4ae5a1117d31ffbeb43cf2087ad1205ee4fc35fa7eced2a5364bdb0603541856 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:51:53 Warning: overwriting stash ‘coverage-report’ 21:51:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:55 + ls -al . 21:51:55 total 176 21:51:55 drwxrwxr-x 9 jenkins jenkins 4096 May 3 21:48 . 21:51:55 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:46 .. 21:51:55 -rw-rw-r-- 1 jenkins jenkins 140 May 3 21:46 .dockerignore 21:51:55 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:46 .git 21:51:55 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:46 .github 21:51:55 -rw-rw-r-- 1 jenkins jenkins 329 May 3 21:46 .gitignore 21:51:55 -rw-rw-r-- 1 jenkins jenkins 41 May 3 21:46 .golangci.yml 21:51:55 -rw-rw-r-- 1 jenkins jenkins 9417 May 3 21:46 Attribution.txt 21:51:55 -rw-rw-r-- 1 jenkins jenkins 13162 May 3 21:46 CHANGELOG.md 21:51:55 -rw-rw-r-- 1 jenkins jenkins 1689 May 3 21:46 Dockerfile 21:51:55 -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:46 GOVERNANCE.md 21:51:55 -rw-rw-r-- 1 jenkins jenkins 678 May 3 21:46 Jenkinsfile 21:51:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 21:46 LICENSE 21:51:55 -rw-rw-r-- 1 jenkins jenkins 1732 May 3 21:46 Makefile 21:51:55 -rw-rw-r-- 1 jenkins jenkins 620 May 3 21:46 OWNERS.md 21:51:55 -rw-rw-r-- 1 jenkins jenkins 3165 May 3 21:46 README.md 21:51:55 -rw-rw-r-- 1 jenkins jenkins 12 May 3 21:44 VERSION 21:51:55 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:46 bin 21:51:55 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:46 cmd 21:51:55 -rw-r--r-- 1 jenkins jenkins 18144 May 3 21:51 coverage.out 21:51:55 -rw-rw-r-- 1 jenkins jenkins 3333 May 3 21:46 go.mod 21:51:55 -rw-rw-r-- 1 jenkins jenkins 31443 May 3 21:46 go.sum 21:51:55 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:46 internal 21:51:55 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:46 mock 21:51:55 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:46 snap 21:51:55 -rw-rw-r-- 1 jenkins jenkins 227 May 3 21:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:55 + 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=2e3ea50809046315b94e2a0692d75037f7d6efed --label arch=arm64 --label version=3.0.0-dev.28 . 21:51:55 Sending build context to Docker daemon 3.375MB 21:51:55 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:51:55 Step 2/24 : FROM ${BASE} AS builder 21:51:55 ---> b9b6a17238cc 21:51:55 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:51:55 ---> Running in 8b7680cb08de 21:51:56 Removing intermediate container 8b7680cb08de 21:51:56 ---> 678d084737ac 21:51:56 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:56 ---> Running in d2f81abbe9fe 21:51:56 Removing intermediate container d2f81abbe9fe 21:51:56 ---> 4ab372126fcb 21:51:56 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:51:56 ---> Running in c42e05e1b53d 21:51:56 Removing intermediate container c42e05e1b53d 21:51:56 ---> e1d23ec765fa 21:51:56 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:51:56 ---> Running in 9891ea9b1aa1 21:51:56 Removing intermediate container 9891ea9b1aa1 21:51:56 ---> 3c23bb9b3425 21:51:56 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:57 ---> Running in 36fd869963f7 21:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:51:59 OK: 268 MiB in 57 packages 21:52:00 Removing intermediate container 36fd869963f7 21:52:00 ---> cf10632a8ac8 21:52:00 Step 8/24 : WORKDIR /device-mqtt-go 21:52:00 ---> Running in 56c682edab5b 21:52:00 Removing intermediate container 56c682edab5b 21:52:00 ---> 29e5ce0169b5 21:52:00 Step 9/24 : COPY go.mod vendor* ./ 21:52:01 ---> b3935b6859be 21:52:01 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:01 ---> Running in 208c0a01b14a 21:52:03 Removing intermediate container 208c0a01b14a 21:52:03 ---> 09614ab4a53a 21:52:03 Step 11/24 : COPY . . 21:52:04 ---> a82f13cd64ec 21:52:04 Step 12/24 : RUN $MAKE 21:52:04 ---> Running in 343de9abcd28 21:52:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 21:54:12 Removing intermediate container 343de9abcd28 21:54:12 ---> 360315b04b1e 21:54:12 Step 13/24 : FROM alpine:3.17 21:54:12 3.17: Pulling from library/alpine 21:54:12 c41833b44d91: Already exists 21:54:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:54:12 Status: Downloaded newer image for alpine:3.17 21:54:12 ---> 51e60588ff2c 21:54:12 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:54:12 ---> Running in 43d94f4e35d2 21:54:12 Removing intermediate container 43d94f4e35d2 21:54:12 ---> a2657057e01c 21:54:12 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:54:12 ---> Running in ad887e6b4f18 21:54:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:54:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:54:14 (1/1) Installing dumb-init (1.2.5-r2) 21:54:14 Executing busybox-1.35.0-r29.trigger 21:54:14 OK: 8 MiB in 16 packages 21:54:15 Removing intermediate container ad887e6b4f18 21:54:15 ---> 39701a001423 21:54:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 21:54:19 ---> b0fff96c7129 21:54:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 21:54:20 ---> a19c31537e8e 21:54:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:54:20 ---> 48305e95cbad 21:54:20 Step 19/24 : EXPOSE 59982 21:54:20 ---> Running in 8219bf655068 21:54:21 Removing intermediate container 8219bf655068 21:54:21 ---> 5c12623b343a 21:54:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 21:54:21 ---> Running in c3847bd4ee1c 21:54:21 Removing intermediate container c3847bd4ee1c 21:54:21 ---> 6a38b36d6198 21:54:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:54:21 ---> Running in 2bd6ce6daa9c 21:54:21 Removing intermediate container 2bd6ce6daa9c 21:54:21 ---> 17c158745314 21:54:21 Step 22/24 : LABEL arch=arm64 21:54:22 ---> Running in c622af58e5c2 21:54:22 Removing intermediate container c622af58e5c2 21:54:22 ---> e332c7fbe740 21:54:22 Step 23/24 : LABEL git_sha=2e3ea50809046315b94e2a0692d75037f7d6efed 21:54:22 ---> Running in db793c7cb16a 21:54:22 Removing intermediate container db793c7cb16a 21:54:22 ---> 5925781056a8 21:54:22 Step 24/24 : LABEL version=3.0.0-dev.28 21:54:22 ---> Running in ddc750629899 21:54:22 Removing intermediate container ddc750629899 21:54:22 ---> ddbd72ba2237 21:54:22 [Warning] One or more build-args [ARCH] were not consumed 21:54:23 Successfully built ddbd72ba2237 21:54:23 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 21:54:23 provisioning config files... 21:54:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/112@tmp/config13784019753125451453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:23 ---> docker-login.sh 21:54:23 nexus3.edgexfoundry.org:10001 21:54:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:23 Configure a credential helper to remove this warning. See 21:54:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:23 21:54:23 Login Succeeded 21:54:23 nexus3.edgexfoundry.org:10002 21:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:24 Configure a credential helper to remove this warning. See 21:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:24 21:54:24 Login Succeeded 21:54:24 nexus3.edgexfoundry.org:10003 21:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:24 Configure a credential helper to remove this warning. See 21:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:24 21:54:24 Login Succeeded 21:54:24 nexus3.edgexfoundry.org:10004 21:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:24 Configure a credential helper to remove this warning. See 21:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:24 21:54:24 Login Succeeded 21:54:24 docker.io 21:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:25 Configure a credential helper to remove this warning. See 21:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:25 21:54:25 Login Succeeded 21:54:25 ---> docker-login.sh ends [Pipeline] } 21:54:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:54:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:54:25 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 21:54:25 2e3ea50809046315b94e2a0692d75037f7d6efed 21:54:25 latest 21:54:25 3.0.0-dev.28 21:54:25 2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28 21:54:25 main 21:54:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e3ea50809046315b94e2a0692d75037f7d6efed [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e3ea50809046315b94e2a0692d75037f7d6efed 21:54:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:54:26 23f7d140838c: Preparing 21:54:26 45aae34690e8: Preparing 21:54:26 979f771052f7: Preparing 21:54:26 d366edd18f69: Preparing 21:54:26 26cbea5cba74: Preparing 21:54:26 26cbea5cba74: Layer already exists 21:54:26 d366edd18f69: Pushed 21:54:26 45aae34690e8: Pushed 21:54:26 23f7d140838c: Pushed 21:54:31 979f771052f7: Pushed 21:54:31 2e3ea50809046315b94e2a0692d75037f7d6efed: digest: sha256:7421269182def678298e0edf8f076c2c524c5cf05f2a33684e0456b7e9e4f0c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:54:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:54:32 23f7d140838c: Preparing 21:54:32 45aae34690e8: Preparing 21:54:32 979f771052f7: Preparing 21:54:32 d366edd18f69: Preparing 21:54:32 26cbea5cba74: Preparing 21:54:32 26cbea5cba74: Layer already exists 21:54:32 45aae34690e8: Layer already exists 21:54:32 d366edd18f69: Layer already exists 21:54:32 979f771052f7: Layer already exists 21:54:32 23f7d140838c: Layer already exists 21:54:32 latest: digest: sha256:7421269182def678298e0edf8f076c2c524c5cf05f2a33684e0456b7e9e4f0c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.28 21:54:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:54:33 23f7d140838c: Preparing 21:54:33 45aae34690e8: Preparing 21:54:33 979f771052f7: Preparing 21:54:33 d366edd18f69: Preparing 21:54:33 26cbea5cba74: Preparing 21:54:33 26cbea5cba74: Layer already exists 21:54:33 d366edd18f69: Layer already exists 21:54:33 45aae34690e8: Layer already exists 21:54:33 979f771052f7: Layer already exists 21:54:33 23f7d140838c: Layer already exists 21:54:33 3.0.0-dev.28: digest: sha256:7421269182def678298e0edf8f076c2c524c5cf05f2a33684e0456b7e9e4f0c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28 21:54:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:54:34 23f7d140838c: Preparing 21:54:34 45aae34690e8: Preparing 21:54:34 979f771052f7: Preparing 21:54:34 d366edd18f69: Preparing 21:54:34 26cbea5cba74: Preparing 21:54:34 979f771052f7: Layer already exists 21:54:34 23f7d140838c: Layer already exists 21:54:34 45aae34690e8: Layer already exists 21:54:34 d366edd18f69: Layer already exists 21:54:34 26cbea5cba74: Layer already exists 21:54:34 2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28: digest: sha256:7421269182def678298e0edf8f076c2c524c5cf05f2a33684e0456b7e9e4f0c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:35 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 21:54:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:54:35 23f7d140838c: Preparing 21:54:35 45aae34690e8: Preparing 21:54:35 979f771052f7: Preparing 21:54:35 d366edd18f69: Preparing 21:54:35 26cbea5cba74: Preparing 21:54:35 45aae34690e8: Layer already exists 21:54:35 23f7d140838c: Layer already exists 21:54:35 26cbea5cba74: Layer already exists 21:54:35 979f771052f7: Layer already exists 21:54:35 d366edd18f69: Layer already exists 21:54:35 main: digest: sha256:7421269182def678298e0edf8f076c2c524c5cf05f2a33684e0456b7e9e4f0c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:54:35 ===================================================== [Pipeline] echo 21:54:35 taggedImages: 21:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e3ea50809046315b94e2a0692d75037f7d6efed 21:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.28 21:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2e3ea50809046315b94e2a0692d75037f7d6efed-3.0.0-dev.28 21:54:35 - 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 21:54:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:54:36 21:54:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:54:36 arm64: Pulling from edgex-lftools-log-publisher 21:54:36 8998bd30e6a1: Pulling fs layer 21:54:36 04944245beec: Pulling fs layer 21:54:36 699f458cf7ca: Pulling fs layer 21:54:36 765212b225bb: Pulling fs layer 21:54:36 f23df028b6ca: Pulling fs layer 21:54:36 d65c8cfc05b1: Pulling fs layer 21:54:36 2437ff75d9bd: Pulling fs layer 21:54:36 765212b225bb: Waiting 21:54:36 f23df028b6ca: Waiting 21:54:36 d65c8cfc05b1: Waiting 21:54:36 2437ff75d9bd: Waiting 21:54:36 04944245beec: Verifying Checksum 21:54:36 04944245beec: Download complete 21:54:36 765212b225bb: Verifying Checksum 21:54:36 765212b225bb: Download complete 21:54:36 f23df028b6ca: Verifying Checksum 21:54:36 f23df028b6ca: Download complete 21:54:36 d65c8cfc05b1: Verifying Checksum 21:54:36 d65c8cfc05b1: Download complete 21:54:36 699f458cf7ca: Verifying Checksum 21:54:36 699f458cf7ca: Download complete 21:54:37 8998bd30e6a1: Verifying Checksum 21:54:37 8998bd30e6a1: Download complete 21:54:39 2437ff75d9bd: Verifying Checksum 21:54:41 8998bd30e6a1: Pull complete 21:54:41 04944245beec: Pull complete 21:54:43 699f458cf7ca: Pull complete 21:54:43 765212b225bb: Pull complete 21:54:47 f23df028b6ca: Pull complete 21:54:47 d65c8cfc05b1: Pull complete 21:55:02 2437ff75d9bd: Pull complete 21:55:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:55:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:55:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:02 prd-ubuntu20.04-docker-arm64-4c-16g-12628 does not seem to be running inside a container 21:55:02 $ 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/112 -v /w/workspace/device-mqtt-go/112:/w/workspace/device-mqtt-go/112:rw,z -v /w/workspace/device-mqtt-go/112@tmp:/w/workspace/device-mqtt-go/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:55:05 $ docker top 39999db6ea4ffe143abcc3ccfcbf6ed34a2519d0c216879b593af1a2b9cc8449 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:55:06 ---> job-cost.sh 21:55:06 lf-activate-venv: SKIPPING 21:55:06 INFO: No Stack... 21:55:07 INFO: Retrieving Pricing Info for: v3-standard-4 21:55:07 INFO: Archiving Costs [Pipeline] sh 21:55:08 + cat /w/workspace/device-mqtt-go/112/archives/cost.csv 21:55:08 + cut -d, -f6 [Pipeline] lock 21:55:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-112-stack-cost] 21:55:08 Resource [jenkins-edgexfoundry-device-mqtt-go-main-112-stack-cost] did not exist. Created. 21:55:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:55:09 /w/workspace/device-mqtt-go/112@tmp/durable-504bb85f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:55:09 + echo total: 0.10999999940395355 [Pipeline] stash 21:55:09 Warning: overwriting stash ‘stack-cost’ 21:55:09 Stashed 1 file(s) [Pipeline] } 21:55:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-112-stack-cost] [Pipeline] // lock [Pipeline] } 21:55:09 $ docker stop --time=1 39999db6ea4ffe143abcc3ccfcbf6ed34a2519d0c216879b593af1a2b9cc8449 21:55:11 $ docker rm -f --volumes 39999db6ea4ffe143abcc3ccfcbf6ed34a2519d0c216879b593af1a2b9cc8449 [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 21:55:11 provisioning config files... 21:55:11 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14027683349681307157tmp [Pipeline] { [Pipeline] sh 21:55:12 + set +x 21:55:12 + curl -s https://codecov.io/bash 21:55:12 + bash -s -- 21:55:12 21:55:12 _____ _ 21:55:12 / ____| | | 21:55:12 | | ___ __| | ___ ___ _____ __ 21:55:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:55:12 | |___| (_) | (_| | __/ (_| (_) \ V / 21:55:12 \_____\___/ \__,_|\___|\___\___/ \_/ 21:55:12 Bash-1.0.6 21:55:12 21:55:12 21:55:12 ==> git version 2.25.1 found 21:55:12 ==> 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 21:55:12 Release-Date: 2020-01-08 21:55:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:55:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:55:12 ==> Jenkins CI detected. 21:55:12 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 21:55:12 project root: . 21:55:12 --> token set from env 21:55:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:55:12 ==> Running gcov in . (disable via -X gcov) 21:55:12 ==> Python coveragepy not found 21:55:12 ==> Searching for coverage reports in: 21:55:12 + . 21:55:12 -> Found 1 reports 21:55:12 ==> Detecting git/mercurial file structure 21:55:12 ==> Reading reports 21:55:12 + ./coverage.out bytes=18144 21:55:12 ==> Appending adjustments 21:55:12 https://docs.codecov.io/docs/fixing-reports 21:55:12 + Found adjustments 21:55:12 ==> Gzipping contents 21:55:12 4.0K /tmp/codecov.2A3FAO.gz 21:55:12 ==> Uploading reports 21:55:12 url: https://codecov.io 21:55:12 query: branch=main&commit=2e3ea50809046315b94e2a0692d75037f7d6efed&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:55:12 -> Pinging Codecov 21:55:12 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=2e3ea50809046315b94e2a0692d75037f7d6efed&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:55:12 -> Uploading to 21:55:12 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/7D719EC7BBE17E464838252E33014C33/2e3ea50809046315b94e2a0692d75037f7d6efed/9900e92d-5170-4855-93ce-622170c85324.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T215512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c37f7006859360d5d22b990bfa31e691287b6802f6ab084a516a77e6fb3f6534 21:55:12 % Total % Received % Xferd Average Speed Time Time Time Current 21:55:12 Dload Upload Total Spent Left Speed 21:55:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 14672 --:--:-- --:--:-- --:--:-- 14672 21:55:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2e3ea50809046315b94e2a0692d75037f7d6efed [Pipeline] } 21:55:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:55:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:55:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:55:13 21:55:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:55:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:55:13 df9b9388f04a: Pulling fs layer 21:55:13 52dc419b0ee2: Pulling fs layer 21:55:13 25bc292e5bac: Pulling fs layer 21:55:13 114826534d7a: Pulling fs layer 21:55:13 4657fd5d0bcf: Pulling fs layer 21:55:13 6ad1cebc031e: Pulling fs layer 21:55:13 8a3aa393b2d8: Pulling fs layer 21:55:13 114826534d7a: Waiting 21:55:13 4657fd5d0bcf: Waiting 21:55:13 6ad1cebc031e: Waiting 21:55:13 8a3aa393b2d8: Waiting 21:55:13 25bc292e5bac: Verifying Checksum 21:55:13 25bc292e5bac: Download complete 21:55:13 52dc419b0ee2: Verifying Checksum 21:55:13 52dc419b0ee2: Download complete 21:55:13 4657fd5d0bcf: Verifying Checksum 21:55:13 4657fd5d0bcf: Download complete 21:55:13 df9b9388f04a: Verifying Checksum 21:55:13 df9b9388f04a: Download complete 21:55:13 6ad1cebc031e: Verifying Checksum 21:55:13 6ad1cebc031e: Download complete 21:55:13 df9b9388f04a: Pull complete 21:55:13 52dc419b0ee2: Pull complete 21:55:14 25bc292e5bac: Pull complete 21:55:14 114826534d7a: Download complete 21:55:14 8a3aa393b2d8: Verifying Checksum 21:55:14 8a3aa393b2d8: Download complete 21:55:17 114826534d7a: Pull complete 21:55:17 4657fd5d0bcf: Pull complete 21:55:17 6ad1cebc031e: Pull complete 21:55:20 8a3aa393b2d8: Pull complete 21:55:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:55:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:55:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:20 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:55:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:55:22 $ docker top d4b09d71741b0655875f59001e34dac8b1bdb2765585b6e639493af58fef11cf -eo pid,comm [Pipeline] { [Pipeline] echo 21:55:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 21:55:22 + set -o pipefail 21:55:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 21:55:28 21:55:28 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 21:55:28 21:55:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/64649bb5-68df-4525-b119-72145cd60392 21:55:28 21:55:28 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:55:28 21:55:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:55:28 21:55:28 21:55:28 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:55:28 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:55:28 More details here: https://snyk.co/ue1NS 21:55:28 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:55:28 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:55:28 $ docker stop --time=1 d4b09d71741b0655875f59001e34dac8b1bdb2765585b6e639493af58fef11cf 21:55:30 $ docker rm -f --volumes d4b09d71741b0655875f59001e34dac8b1bdb2765585b6e639493af58fef11cf [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 21:55:31 + git log --format=format:%s -1 2e3ea50809046315b94e2a0692d75037f7d6efed [Pipeline] sh 21:55:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:55:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:32 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:55:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:55:32 $ docker top 46704c6362451cf6bffc87c6b8525d8ca58f8900e6684b441f724504149cfe12 -eo pid,comm 21:55:32 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). 21:55:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:55:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:32 [ssh-agent] Looking for ssh-agent implementation... 21:55:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:32 $ docker exec 46704c6362451cf6bffc87c6b8525d8ca58f8900e6684b441f724504149cfe12 ssh-agent 21:55:32 SSH_AUTH_SOCK=/tmp/ssh-98Z9sgkwptAo/agent.31 21:55:32 SSH_AGENT_PID=37 21:55:32 Running ssh-add (command line suppressed) 21:55:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18306756703027110453.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18306756703027110453.key) 21:55:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:33 + git semver tag 21:55:33 2023-05-03 21:55:33,279 [run_tag] DEBUG tag force:False 21:55:33 2023-05-03 21:55:33,279 [check_head_tag] DEBUG check head tag 21:55:33 2023-05-03 21:55:33,280 [execute] INFO git cat-file --batch-check 21:55:33 2023-05-03 21:55:33,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:55:33 2023-05-03 21:55:33,285 [execute] INFO git cat-file --batch 21:55:33 2023-05-03 21:55:33,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:55:33 2023-05-03 21:55:33,315 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:55:33 2023-05-03 21:55:33,315 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 21:55:33 2023-05-03 21:55:33,315 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:55:33 2023-05-03 21:55:33,320 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:55:33 3.0.0-dev.28 [Pipeline] } 21:55:33 $ docker exec --env ******** --env ******** 46704c6362451cf6bffc87c6b8525d8ca58f8900e6684b441f724504149cfe12 ssh-agent -k 21:55:33 unset SSH_AUTH_SOCK; 21:55:33 unset SSH_AGENT_PID; 21:55:33 echo Agent pid 37 killed; 21:55:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:55:33 + git semver [Pipeline] } 21:55:34 $ docker stop --time=1 46704c6362451cf6bffc87c6b8525d8ca58f8900e6684b441f724504149cfe12 21:55:35 $ docker rm -f --volumes 46704c6362451cf6bffc87c6b8525d8ca58f8900e6684b441f724504149cfe12 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:55:35 21:55:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:55:36 0.23.1-centos7: Pulling from edgex-lftools 21:55:36 ab5ef0e58194: Pulling fs layer 21:55:36 9712f1f96733: Pulling fs layer 21:55:36 63f879dbbcfc: Pulling fs layer 21:55:36 0d9ebad4ef96: Pulling fs layer 21:55:36 e9a5061849ea: Pulling fs layer 21:55:36 d747dcd14b5f: Pulling fs layer 21:55:36 2de7ff778b66: Pulling fs layer 21:55:36 e9a5061849ea: Waiting 21:55:36 d747dcd14b5f: Waiting 21:55:36 2de7ff778b66: Waiting 21:55:36 0d9ebad4ef96: Waiting 21:55:36 9712f1f96733: Verifying Checksum 21:55:36 9712f1f96733: Download complete 21:55:36 63f879dbbcfc: Verifying Checksum 21:55:36 63f879dbbcfc: Download complete 21:55:36 e9a5061849ea: Verifying Checksum 21:55:36 e9a5061849ea: Download complete 21:55:36 d747dcd14b5f: Verifying Checksum 21:55:36 d747dcd14b5f: Download complete 21:55:36 ab5ef0e58194: Verifying Checksum 21:55:36 ab5ef0e58194: Download complete 21:55:36 0d9ebad4ef96: Verifying Checksum 21:55:36 0d9ebad4ef96: Download complete 21:55:36 2de7ff778b66: Verifying Checksum 21:55:36 2de7ff778b66: Download complete 21:55:39 ab5ef0e58194: Pull complete 21:55:39 9712f1f96733: Pull complete 21:55:40 63f879dbbcfc: Pull complete 21:55:44 0d9ebad4ef96: Pull complete 21:55:44 e9a5061849ea: Pull complete 21:55:44 d747dcd14b5f: Pull complete 21:55:44 2de7ff778b66: Pull complete 21:55:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:55:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:55:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:44 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:55:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:55:47 $ docker top 49a6db5dcc6b8a745e84da74152f29892543051e71293d6c7b3c3190f6c69db4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:55:47 provisioning config files... 21:55:47 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8915823575213297441tmp 21:55:47 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12240106262068078541tmp 21:55:47 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12823533153446525480tmp [Pipeline] { [Pipeline] echo 21:55:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:55:47 ---> sigul-configuration.sh 21:55:47 gpg: directory `/root/.gnupg' created 21:55:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:55:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:55:47 gpg: keyring `/root/.gnupg/secring.gpg' created 21:55:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:55:47 gpg: CAST5 encrypted data 21:55:47 gpg: encrypted with 1 passphrase 21:55:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:55:47 + mkdir /home/jenkins 21:55:47 + mkdir /home/jenkins/sigul [Pipeline] sh 21:55:48 + 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 21:55:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:55:48 ---> sigul-install.sh 21:55:48 Sigul already installed; skipping installation. [Pipeline] sh 21:55:48 + git tag --list 21:55:48 0.7.1 21:55:48 v1.0.0 21:55:48 v1.1.0 21:55:48 v1.1.1 21:55:48 v1.2.2 21:55:48 v1.3.0 21:55:48 v1.3.1 21:55:48 v2.0.0 21:55:48 v2.1.0 21:55:48 v2.1.1 21:55:48 v2.1.1-dev.1 21:55:48 v2.1.1-dev.2 21:55:48 v2.2.0 21:55:48 v2.2.1-dev.1 21:55:48 v2.2.1-dev.10 21:55:48 v2.2.1-dev.2 21:55:48 v2.2.1-dev.3 21:55:48 v2.2.1-dev.4 21:55:48 v2.2.1-dev.5 21:55:48 v2.2.1-dev.6 21:55:48 v2.2.1-dev.7 21:55:48 v2.2.1-dev.8 21:55:48 v2.2.1-dev.9 21:55:48 v2.3.0 21:55:48 v2.3.0-dev.10 21:55:48 v2.3.0-dev.11 21:55:48 v2.3.0-dev.12 21:55:48 v2.3.0-dev.13 21:55:48 v2.3.0-dev.14 21:55:48 v2.3.0-dev.15 21:55:48 v2.3.0-dev.16 21:55:48 v2.3.0-dev.17 21:55:48 v2.3.0-dev.18 21:55:48 v2.3.0-dev.19 21:55:48 v2.3.0-dev.20 21:55:48 v2.3.0-dev.21 21:55:48 v2.3.0-dev.22 21:55:48 v2.3.0-dev.23 21:55:48 v2.3.0-dev.24 21:55:48 v2.3.0-dev.25 21:55:48 v2.3.0-dev.26 21:55:48 v2.3.0-dev.27 21:55:48 v2.3.0-dev.28 21:55:48 v2.3.0-dev.29 21:55:48 v2.3.0-dev.30 21:55:48 v2.3.0-dev.31 21:55:48 v2.3.0-dev.32 21:55:48 v2.3.0-dev.33 21:55:48 v2.3.0-dev.34 21:55:48 v3.0.0-dev.1 21:55:48 v3.0.0-dev.10 21:55:48 v3.0.0-dev.11 21:55:48 v3.0.0-dev.12 21:55:48 v3.0.0-dev.13 21:55:48 v3.0.0-dev.14 21:55:48 v3.0.0-dev.15 21:55:48 v3.0.0-dev.16 21:55:48 v3.0.0-dev.17 21:55:48 v3.0.0-dev.18 21:55:48 v3.0.0-dev.19 21:55:48 v3.0.0-dev.2 21:55:48 v3.0.0-dev.20 21:55:48 v3.0.0-dev.21 21:55:48 v3.0.0-dev.22 21:55:48 v3.0.0-dev.23 21:55:48 v3.0.0-dev.24 21:55:48 v3.0.0-dev.25 21:55:48 v3.0.0-dev.26 21:55:48 v3.0.0-dev.27 21:55:48 v3.0.0-dev.28 21:55:48 v3.0.0-dev.3 21:55:48 v3.0.0-dev.4 21:55:48 v3.0.0-dev.5 21:55:48 v3.0.0-dev.6 21:55:48 v3.0.0-dev.7 21:55:48 v3.0.0-dev.8 21:55:48 v3.0.0-dev.9 [Pipeline] sh 21:55:48 + lftools sign git-tag v3.0.0-dev.28 21:55:49 Signing Git tag with Sigul... 21:55:49 Signing v3.0.0-dev.28 [Pipeline] echo 21:55:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:55:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:55:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:55:50 $ docker stop --time=1 49a6db5dcc6b8a745e84da74152f29892543051e71293d6c7b3c3190f6c69db4 21:55:51 $ docker rm -f --volumes 49a6db5dcc6b8a745e84da74152f29892543051e71293d6c7b3c3190f6c69db4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:55:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:55:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:52 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:55:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:55:52 $ docker top e9a5e47adb00880a35fc4b50fef8cf447535a95ee74685dd2a883ff6156ac9b0 -eo pid,comm 21:55:52 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). 21:55:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:55:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:52 [ssh-agent] Looking for ssh-agent implementation... 21:55:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:52 $ docker exec e9a5e47adb00880a35fc4b50fef8cf447535a95ee74685dd2a883ff6156ac9b0 ssh-agent 21:55:52 SSH_AUTH_SOCK=/tmp/ssh-NLiwrm9QmehD/agent.32 21:55:52 SSH_AGENT_PID=38 21:55:52 Running ssh-add (command line suppressed) 21:55:52 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12691541123517347915.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12691541123517347915.key) 21:55:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:53 + git semver bump pre 21:55:53 2023-05-03 21:55:53,407 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:55:53 2023-05-03 21:55:53,407 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev 21:55:53 2023-05-03 21:55:53,407 [bump_version] DEBUG bumped version:3.0.0-dev.29 21:55:53 2023-05-03 21:55:53,408 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 21:55:53 2023-05-03 21:55:53,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:55:53 2023-05-03 21:55:53,408 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:55:53 2023-05-03 21:55:53,410 [execute] INFO git cat-file --batch-check 21:55:53 2023-05-03 21:55:53,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:55:53 2023-05-03 21:55:53,416 [execute] INFO git cat-file --batch 21:55:53 2023-05-03 21:55:53,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:55:53 2023-05-03 21:55:53,420 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:55:53 3.0.0-dev.29 [Pipeline] } 21:55:53 $ docker exec --env ******** --env ******** e9a5e47adb00880a35fc4b50fef8cf447535a95ee74685dd2a883ff6156ac9b0 ssh-agent -k 21:55:53 unset SSH_AUTH_SOCK; 21:55:53 unset SSH_AGENT_PID; 21:55:53 echo Agent pid 38 killed; 21:55:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:55:53 + git semver [Pipeline] } 21:55:54 $ docker stop --time=1 e9a5e47adb00880a35fc4b50fef8cf447535a95ee74685dd2a883ff6156ac9b0 21:55:55 $ docker rm -f --volumes e9a5e47adb00880a35fc4b50fef8cf447535a95ee74685dd2a883ff6156ac9b0 [Pipeline] // withDockerContainer [Pipeline] sh 21:55:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:55:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:55:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:55:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:55:56 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:55:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:55:56 $ docker top 2526e3f227d548cdc6aab89cc4acdd919a6987493eb54aa4164711f57ef1a357 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:55:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:55:56 [ssh-agent] Looking for ssh-agent implementation... 21:55:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:55:56 $ docker exec 2526e3f227d548cdc6aab89cc4acdd919a6987493eb54aa4164711f57ef1a357 ssh-agent 21:55:56 SSH_AUTH_SOCK=/tmp/ssh-QBr8lUV6Fn5U/agent.31 21:55:56 SSH_AGENT_PID=37 21:55:56 Running ssh-add (command line suppressed) 21:55:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5274648706016713461.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5274648706016713461.key) 21:55:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:55:57 + git semver push 21:55:57 2023-05-03 21:55:57,522 [run_push] DEBUG push 21:55:57 2023-05-03 21:55:57,522 [execute] INFO git cat-file --batch-check 21:55:57 2023-05-03 21:55:57,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:55:57 2023-05-03 21:55:57,526 [execute] INFO git rev-list d396acfb6e184e2ecc32581fda5dba525eb9a356 -- 21:55:57 2023-05-03 21:55:57,527 [execute] DEBUG Popen(['git', 'rev-list', 'd396acfb6e184e2ecc32581fda5dba525eb9a356', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:55:57 2023-05-03 21:55:57,536 [execute] INFO git fetch -v origin 21:55:57 2023-05-03 21:55:57,536 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:55:58 2023-05-03 21:55:58,020 [run_push] DEBUG no remote changes detected 21:55:58 2023-05-03 21:55:58,021 [execute] INFO git push origin semver 21:55:58 2023-05-03 21:55:58,021 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:55:58 2023-05-03 21:55:58,742 [run_push] DEBUG push all version tags 21:55:58 2023-05-03 21:55:58,743 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:55:58 2023-05-03 21:55:58,743 [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) 21:55:59 2023-05-03 21:55:59,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:55:59 3.0.0-dev.29 [Pipeline] } 21:55:59 $ docker exec --env ******** --env ******** 2526e3f227d548cdc6aab89cc4acdd919a6987493eb54aa4164711f57ef1a357 ssh-agent -k 21:55:59 unset SSH_AUTH_SOCK; 21:55:59 unset SSH_AGENT_PID; 21:55:59 echo Agent pid 37 killed; 21:55:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:56:00 + git semver [Pipeline] } 21:56:00 $ docker stop --time=1 2526e3f227d548cdc6aab89cc4acdd919a6987493eb54aa4164711f57ef1a357 21:56:01 $ docker rm -f --volumes 2526e3f227d548cdc6aab89cc4acdd919a6987493eb54aa4164711f57ef1a357 [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 21:56:02 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 21:56:02 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:56:02 total 16 21:56:02 drwxr-xr-x 3 root root 4096 May 3 21:47 . 21:56:02 drwxrwxr-x 11 jenkins jenkins 4096 May 3 21:55 .. 21:56:02 drwxr-xr-x 2 root root 4096 May 3 21:47 cost 21:56:02 -rw-r--r-- 1 root root 86 May 3 21:47 cost.csv 21:56:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:56:02 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:56:02 total 16 21:56:02 drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:47 . 21:56:02 drwxrwxr-x 11 jenkins jenkins 4096 May 3 21:55 .. 21:56:02 drwxr-xr-x 2 jenkins jenkins 4096 May 3 21:47 cost 21:56:02 -rw-r--r-- 1 jenkins jenkins 86 May 3 21:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:56:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:56:03 ---> package-listing.sh 21:56:03 ++ facter osfamily 21:56:03 ++ tr '[:upper:]' '[:lower:]' 21:56:03 + OS_FAMILY=debian 21:56:03 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 21:56:03 + START_PACKAGES=/tmp/packages_start.txt 21:56:03 + END_PACKAGES=/tmp/packages_end.txt 21:56:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:56:03 + PACKAGES=/tmp/packages_start.txt 21:56:03 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:56:03 + PACKAGES=/tmp/packages_end.txt 21:56:03 + case "${OS_FAMILY}" in 21:56:03 + dpkg -l 21:56:03 + grep '^ii' 21:56:03 + '[' -f /tmp/packages_start.txt ']' 21:56:03 + '[' -f /tmp/packages_end.txt ']' 21:56:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:56:03 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:56:03 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 21:56:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 21:56:03 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 21:56:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:56:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:04 prd-ubuntu20.04-docker-8c-8g-12627 does not seem to be running inside a container 21:56:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:56:04 $ docker top 19f784b19139b39831e5d5ff85992cdc94388da614a6e14456ca25fb2490e14f -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:05 + touch /tmp/pre-build-complete [Pipeline] sh 21:56:05 + mkdir -p /var/log/sysstat [Pipeline] sh 21:56:05 + ls /var/log/sa-host 21:56:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:56:05 provisioning config files... 21:56:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6316568242436942686tmp [Pipeline] { [Pipeline] echo 21:56:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:56:06 ---> create-netrc.sh [Pipeline] } 21:56:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:56:06 ---> python-tools-install.sh [Pipeline] echo 21:56:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:56:06 ---> sudo-logs.sh 21:56:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:56:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:56:06 ---> job-cost.sh 21:56:06 lf-activate-venv: SKIPPING 21:56:06 DEBUG: total: 0.2199999988079071 21:56:06 INFO: Retrieving Stack Cost... 21:56:07 INFO: Retrieving Pricing Info for: v3-standard-8 21:56:07 INFO: Archiving Costs [Pipeline] echo 21:56:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:56:08 ---> logs-deploy.sh 21:56:08 lf-activate-venv: SKIPPING 21:56:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/112 21:56:08 INFO: archiving workspace using pattern(s): 21:56:09 Archives upload complete. 21:56:09 INFO: archiving logs to Nexus