Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a35f1d313b93b1afef0ede40251cd94a3668512 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-ssh11630627734733872004.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10532692264228458276.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6261441609967689315.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh6740300477468269753.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-ssh12422318655485859400.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2272 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 4a35f1d313b93b1afef0ede40251cd94a3668512 (main) Commit message: "Merge pull request #527 from lenny-intel/go-1.20" > 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 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 > git rev-list --no-walk 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:40:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:40:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:40:27 ========================================================= 20:40:27 EdgeX Global Pipelines Version Info 20:40:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:40:28 ------------------- 20:40:28 stable info: 20:40:28 ------------------- 20:40:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:40:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:40:28 Message: update stable to v1.0.245 20:40:28 ------------------- 20:40:28 experimental info: 20:40:28 ------------------- 20:40:28 Commited By: **** collab-it+edgex@linuxfoundation.org 20:40:28 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:40:28 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:40:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a35f1d [Pipeline] echo 20:40:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:40:29 provisioning config files... 20:40:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16760485477790889020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:29 ---> docker-login.sh 20:40:29 nexus3.edgexfoundry.org:10001 20:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:29 Configure a credential helper to remove this warning. See 20:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:29 20:40:29 Login Succeeded 20:40:29 nexus3.edgexfoundry.org:10002 20:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:30 Configure a credential helper to remove this warning. See 20:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:30 20:40:30 Login Succeeded 20:40:30 nexus3.edgexfoundry.org:10003 20:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:30 Configure a credential helper to remove this warning. See 20:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:30 20:40:30 Login Succeeded 20:40:30 nexus3.edgexfoundry.org:10004 20:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:30 Configure a credential helper to remove this warning. See 20:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:30 20:40:30 Login Succeeded 20:40:30 docker.io 20:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:30 Configure a credential helper to remove this warning. See 20:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:30 20:40:30 Login Succeeded 20:40:30 ---> docker-login.sh ends [Pipeline] } 20:40:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:40:30 + git rev-list -1 --merges 4a35f1d313b93b1afef0ede40251cd94a3668512~1..4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo 20:40:30 -----------> git rev-list -1 --merges 4a35f1d313b93b1afef0ede40251cd94a3668512~1..4a35f1d313b93b1afef0ede40251cd94a3668512 4a35f1d313b93b1afef0ede40251cd94a3668512 20:40:30 4a35f1d313b93b1afef0ede40251cd94a3668512 [false] [Pipeline] sh 20:40:31 + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo 20:40:31 ========================================================= 20:40:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:40:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:31 + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo 20:40:31 [semverPrep] GIT_COMMIT: 4a35f1d313b93b1afef0ede40251cd94a3668512, Commit Message: Merge pull request #527 from lenny-intel/go-1.20 [Pipeline] echo 20:40:31 [semverPrep] This is not a build commit. [Pipeline] sh 20:40:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:40:31 + grep -v github /etc/ssh/ssh_known_hosts 20:40:31 + [ -e /tmp/ssh_known_hosts ] 20:40:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:40:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:40:31 + sudo tee -a /etc/ssh/ssh_known_hosts 20:40:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:32 20:40:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:32 0.1.4: Pulling from edgex-devops/py-git-semver 20:40:32 b85a868b505f: Pulling fs layer 20:40:32 e2be974225ed: Pulling fs layer 20:40:32 339a4e72a1f5: Pulling fs layer 20:40:32 988bab9f4d93: Pulling fs layer 20:40:32 1469e6f7b9e6: Pulling fs layer 20:40:32 eaf3925da568: Pulling fs layer 20:40:32 bab4dde63d76: Pulling fs layer 20:40:32 bde34c3a00c8: Pulling fs layer 20:40:32 b352a97aabf1: Pulling fs layer 20:40:32 4872d77fe225: Pulling fs layer 20:40:32 5851b861e8e6: Pulling fs layer 20:40:32 eaf3925da568: Waiting 20:40:32 b352a97aabf1: Waiting 20:40:32 bab4dde63d76: Waiting 20:40:32 4872d77fe225: Waiting 20:40:32 5851b861e8e6: Waiting 20:40:32 988bab9f4d93: Waiting 20:40:32 1469e6f7b9e6: Waiting 20:40:32 e2be974225ed: Download complete 20:40:32 988bab9f4d93: Download complete 20:40:32 1469e6f7b9e6: Verifying Checksum 20:40:32 1469e6f7b9e6: Download complete 20:40:32 339a4e72a1f5: Verifying Checksum 20:40:32 339a4e72a1f5: Download complete 20:40:32 eaf3925da568: Download complete 20:40:32 bde34c3a00c8: Download complete 20:40:32 b352a97aabf1: Verifying Checksum 20:40:32 b352a97aabf1: Download complete 20:40:32 4872d77fe225: Download complete 20:40:33 5851b861e8e6: Download complete 20:40:33 b85a868b505f: Verifying Checksum 20:40:33 b85a868b505f: Download complete 20:40:33 bab4dde63d76: Verifying Checksum 20:40:33 bab4dde63d76: Download complete 20:40:34 b85a868b505f: Pull complete 20:40:34 e2be974225ed: Pull complete 20:40:34 339a4e72a1f5: Pull complete 20:40:34 988bab9f4d93: Pull complete 20:40:35 1469e6f7b9e6: Pull complete 20:40:35 eaf3925da568: Pull complete 20:40:37 bab4dde63d76: Pull complete 20:40:37 bde34c3a00c8: Pull complete 20:40:37 b352a97aabf1: Pull complete 20:40:37 4872d77fe225: Pull complete 20:40:37 5851b861e8e6: Pull complete 20:40:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:40:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:37 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:40:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:40:40 $ docker top eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd -eo pid,comm 20:40:40 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). 20:40:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:40:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:40 [ssh-agent] Looking for ssh-agent implementation... 20:40:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:40 $ docker exec eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd ssh-agent 20:40:40 SSH_AUTH_SOCK=/tmp/ssh-KGiyZ54EYm9f/agent.32 20:40:40 SSH_AGENT_PID=38 20:40:40 Running ssh-add (command line suppressed) 20:40:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12810478232208630483.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12810478232208630483.key) 20:40:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:40 + git tag --points-at HEAD [Pipeline] } 20:40:40 $ docker exec --env ******** --env ******** eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd ssh-agent -k 20:40:40 unset SSH_AUTH_SOCK; 20:40:40 unset SSH_AGENT_PID; 20:40:40 echo Agent pid 38 killed; 20:40:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:40:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:40 [ssh-agent] Looking for ssh-agent implementation... 20:40:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:41 $ docker exec eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd ssh-agent 20:40:41 SSH_AUTH_SOCK=/tmp/ssh-rfOEyeINMB7p/agent.70 20:40:41 SSH_AGENT_PID=76 20:40:41 Running ssh-add (command line suppressed) 20:40:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3754735135672343606.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3754735135672343606.key) 20:40:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:41 + git semver init 20:40:41 2023-03-15 20:40:41,753 [run_init] DEBUG init version:0.0.0 force:False 20:40:41 2023-03-15 20:40:41,754 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:40:41 2023-03-15 20:40:41,754 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:40:41 2023-03-15 20:40:41,754 [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) 20:40:42 2023-03-15 20:40:42,499 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 20:40:42 2023-03-15 20:40:42,500 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 20:40:42 2023-03-15 20:40:42,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:40:42 2023-03-15 20:40:42,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:40:42 3.0.0-dev.12 [Pipeline] } 20:40:42 $ docker exec --env ******** --env ******** eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd ssh-agent -k 20:40:42 unset SSH_AUTH_SOCK; 20:40:42 unset SSH_AGENT_PID; 20:40:42 echo Agent pid 76 killed; 20:40:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:40:43 + git semver [Pipeline] } 20:40:43 $ docker stop --time=1 eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd 20:40:44 $ docker rm -f --volumes eb237c4212ca83d177e3fc9ad5651acd67a6dc18b92e709afe3eb6aa4f5b56fd [Pipeline] // withDockerContainer [Pipeline] sh 20:40:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:40:45 Stashed 1 file(s) [Pipeline] echo 20:40:45 [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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 20:40:45 provisioning config files... 20:40:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6839035427389780645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:45 ---> docker-login.sh 20:40:45 nexus3.edgexfoundry.org:10001 20:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:45 Configure a credential helper to remove this warning. See 20:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:45 20:40:45 Login Succeeded 20:40:45 nexus3.edgexfoundry.org:10002 20:40:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:45 Configure a credential helper to remove this warning. See 20:40:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:45 20:40:45 Login Succeeded 20:40:45 nexus3.edgexfoundry.org:10003 20:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:46 Configure a credential helper to remove this warning. See 20:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:46 20:40:46 Login Succeeded 20:40:46 nexus3.edgexfoundry.org:10004 20:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:46 Configure a credential helper to remove this warning. See 20:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:46 20:40:46 Login Succeeded 20:40:46 docker.io 20:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:46 Configure a credential helper to remove this warning. See 20:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:46 20:40:46 Login Succeeded 20:40:46 ---> docker-login.sh ends [Pipeline] } 20:40:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:40:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:46 ========================================================= 20:40:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:40:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:46 + 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 . 20:40:46 Sending build context to Docker daemon 6.366MB 20:40:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:40:46 Step 2/12 : FROM ${BASE} AS builder 20:40:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:40:46 63b65145d645: Pulling fs layer 20:40:46 a2d21d5440eb: Pulling fs layer 20:40:46 935e6c44a52c: Pulling fs layer 20:40:46 94cc34f8dd06: Pulling fs layer 20:40:46 30dea6a524f1: Pulling fs layer 20:40:46 a2aff8979fd8: Pulling fs layer 20:40:46 6808be2612f2: Pulling fs layer 20:40:46 f25807f1079a: Pulling fs layer 20:40:46 94cc34f8dd06: Waiting 20:40:46 30dea6a524f1: Waiting 20:40:46 a2aff8979fd8: Waiting 20:40:46 f25807f1079a: Waiting 20:40:46 6808be2612f2: Waiting 20:40:46 a2d21d5440eb: Verifying Checksum 20:40:46 a2d21d5440eb: Download complete 20:40:46 94cc34f8dd06: Verifying Checksum 20:40:46 94cc34f8dd06: Download complete 20:40:46 30dea6a524f1: Verifying Checksum 20:40:46 30dea6a524f1: Download complete 20:40:46 63b65145d645: Verifying Checksum 20:40:46 63b65145d645: Download complete 20:40:46 a2aff8979fd8: Verifying Checksum 20:40:46 a2aff8979fd8: Download complete 20:40:46 63b65145d645: Pull complete 20:40:47 a2d21d5440eb: Pull complete 20:40:47 f25807f1079a: Download complete 20:40:47 935e6c44a52c: Download complete 20:40:47 6808be2612f2: Verifying Checksum 20:40:47 6808be2612f2: Download complete 20:40:51 935e6c44a52c: Pull complete 20:40:51 94cc34f8dd06: Pull complete 20:40:51 30dea6a524f1: Pull complete 20:40:51 a2aff8979fd8: Pull complete 20:40:53 6808be2612f2: Pull complete 20:40:54 f25807f1079a: Pull complete 20:40:54 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:40:54 ---> 3b553350e43f 20:40:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:40:58 ---> Running in a4e45d8c46ff 20:40:58 Removing intermediate container a4e45d8c46ff 20:40:58 ---> 393142052f1a 20:40:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:40:58 ---> Running in d17f74cfffc1 20:40:58 Removing intermediate container d17f74cfffc1 20:40:58 ---> 54d12200b9c3 20:40:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:40:58 ---> Running in d3d806bae84d 20:40:58 Removing intermediate container d3d806bae84d 20:40:58 ---> 939433b226e5 20:40:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:40:58 ---> Running in b0110326c725 20:40:58 Removing intermediate container b0110326c725 20:40:58 ---> d6da2baab461 20:40:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:58 ---> Running in 43147c428350 20:40:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:40:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:40:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:40:59 (2/4) Installing libedit (20221030.3.1-r0) 20:40:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:40:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:40:59 Executing busybox-1.35.0-r29.trigger 20:40:59 OK: 269 MiB in 57 packages 20:40:59 Removing intermediate container 43147c428350 20:40:59 ---> cd1476abfe00 20:40:59 Step 8/12 : WORKDIR /device-mqtt-go 20:40:59 ---> Running in 5aa83b127389 20:40:59 Removing intermediate container 5aa83b127389 20:40:59 ---> 38568a3e3d23 20:40:59 Step 9/12 : COPY go.mod vendor* ./ 20:40:59 ---> 47f95175cccb 20:40:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:59 ---> Running in 5b4f16504c46 20:41:00 Still waiting to schedule task 20:41:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:41:26 Removing intermediate container 5b4f16504c46 20:41:26 ---> b69bdd69025c 20:41:26 Step 11/12 : COPY . . 20:41:26 ---> 04258b57ed26 20:41:26 Step 12/12 : RUN $MAKE 20:41:26 ---> Running in 2356bbb34712 20:41:26 noop 20:41:26 Removing intermediate container 2356bbb34712 20:41:26 ---> bfe3e5c1f0f0 20:41:26 Successfully built bfe3e5c1f0f0 20:41:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:26 + docker inspect -f . ci-base-image-x86_64 20:41:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:26 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:41:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:41:27 $ docker top 7c62ceb302c2cc57bb6ebc5a467b217aa3dda1ede0392ca5a5e7a2f2f31981c4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:27 + go version 20:41:27 go version go1.20.2 linux/amd64 [Pipeline] } 20:41:27 $ docker stop --time=1 7c62ceb302c2cc57bb6ebc5a467b217aa3dda1ede0392ca5a5e7a2f2f31981c4 20:41:28 $ docker rm -f --volumes 7c62ceb302c2cc57bb6ebc5a467b217aa3dda1ede0392ca5a5e7a2f2f31981c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:29 + docker inspect -f . ci-base-image-x86_64 20:41:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:29 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:41:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:41:29 $ docker top f5e5d9b20e3d406cc54ebcfe7a156b9734a7941a99ef6656c2d76236e81c42b7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 20:41:30 + make test 20:41:30 go test ./... -coverprofile=coverage.out ./... 20:41:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:41:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:41:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:41:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.2% of statements 20:41:53 go vet ./... 20:41:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:41:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:41:56 ./bin/test-attribution-txt.sh [Pipeline] echo 20:41:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:41:56 $ docker stop --time=1 f5e5d9b20e3d406cc54ebcfe7a156b9734a7941a99ef6656c2d76236e81c42b7 20:41:58 $ docker rm -f --volumes f5e5d9b20e3d406cc54ebcfe7a156b9734a7941a99ef6656c2d76236e81c42b7 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:41:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:59 + ls -al . 20:41:59 total 180 20:41:59 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 20:41 . 20:41:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:40 .. 20:41:59 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 20:40 .dockerignore 20:41:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 20:40 .git 20:41:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:40 .github 20:41:59 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 20:40 .gitignore 20:41:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 20:40 .golangci.yml 20:41:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 20:40 .semver 20:41:59 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 20:40 Attribution.txt 20:41:59 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 20:40 CHANGELOG.md 20:41:59 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 20:40 Dockerfile 20:41:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 20:40 GOVERNANCE.md 20:41:59 -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 20:40 Jenkinsfile 20:41:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 20:40 LICENSE 20:41:59 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 20:40 Makefile 20:41:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 20:40 OWNERS.md 20:41:59 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 20:40 README.md 20:41:59 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 20:40 VERSION 20:41:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:40 bin 20:41:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:40 cmd 20:41:59 -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 20:41 coverage.out 20:41:59 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 20:40 go.mod 20:41:59 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 20:40 go.sum 20:41:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:40 internal 20:41:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:40 mock 20:41:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:40 snap 20:41:59 -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:00 + 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=4a35f1d313b93b1afef0ede40251cd94a3668512 --label arch=amd64 --label version=3.0.0-dev.12 . 20:42:00 Sending build context to Docker daemon 6.385MB 20:42:00 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 20:42:00 Step 2/24 : FROM ${BASE} AS builder 20:42:00 ---> bfe3e5c1f0f0 20:42:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:42:00 ---> Running in 3867f41bc4ed 20:42:00 Removing intermediate container 3867f41bc4ed 20:42:00 ---> eea98c12acae 20:42:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:00 ---> Running in 1cc622e6b36f 20:42:00 Removing intermediate container 1cc622e6b36f 20:42:00 ---> 5fd2cf0a7d66 20:42:00 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:42:00 ---> Running in 3acb36acf7be 20:42:00 Removing intermediate container 3acb36acf7be 20:42:00 ---> e485ba7d4003 20:42:00 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:42:00 ---> Running in 3d0d1ae1448c 20:42:00 Removing intermediate container 3d0d1ae1448c 20:42:00 ---> 2109808720c2 20:42:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:00 ---> Running in 8e10b158c206 20:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:42:01 OK: 269 MiB in 57 packages 20:42:01 Removing intermediate container 8e10b158c206 20:42:01 ---> 03b799a9c107 20:42:01 Step 8/24 : WORKDIR /device-mqtt-go 20:42:01 ---> Running in 215e5e14da51 20:42:01 Removing intermediate container 215e5e14da51 20:42:01 ---> c472a369fbb1 20:42:01 Step 9/24 : COPY go.mod vendor* ./ 20:42:01 ---> b39fcc88b7d2 20:42:01 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:01 ---> Running in e5ddfb4ba360 20:42:02 Removing intermediate container e5ddfb4ba360 20:42:02 ---> 16632fd89892 20:42:02 Step 11/24 : COPY . . 20:42:03 ---> df994b003f9b 20:42:03 Step 12/24 : RUN $MAKE 20:42:03 ---> Running in 81217c62157e 20:42:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 20:42:21 Removing intermediate container 81217c62157e 20:42:21 ---> 5c399d626302 20:42:21 Step 13/24 : FROM alpine:3.17 20:42:21 3.17: Pulling from library/alpine 20:42:22 63b65145d645: Already exists 20:42:22 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:42:22 Status: Downloaded newer image for alpine:3.17 20:42:22 ---> b2aa39c304c2 20:42:22 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:42:22 ---> Running in fee6d833efa0 20:42:22 Removing intermediate container fee6d833efa0 20:42:22 ---> 180b02d552b1 20:42:22 Step 15/24 : RUN apk add --update --no-cache dumb-init 20:42:22 ---> Running in b29e277e63c9 20:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:42:22 (1/1) Installing dumb-init (1.2.5-r2) 20:42:22 Executing busybox-1.35.0-r29.trigger 20:42:22 OK: 7 MiB in 16 packages 20:42:23 Removing intermediate container b29e277e63c9 20:42:23 ---> a9eaf69a1d76 20:42:23 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:42:24 ---> 6eb87c25889c 20:42:24 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:42:24 ---> 3292cc5ac041 20:42:24 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:42:24 ---> 97d59278234b 20:42:24 Step 19/24 : EXPOSE 59982 20:42:24 ---> Running in a1ce26a7bda7 20:42:24 Removing intermediate container a1ce26a7bda7 20:42:24 ---> b2eede2056d8 20:42:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:42:24 ---> Running in a9cbd5df06ac 20:42:24 Removing intermediate container a9cbd5df06ac 20:42:24 ---> b4f669898c7d 20:42:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:42:24 ---> Running in 88d4401f3693 20:42:24 Removing intermediate container 88d4401f3693 20:42:24 ---> e2039534f087 20:42:24 Step 22/24 : LABEL arch=amd64 20:42:24 ---> Running in 1183cd0ba461 20:42:24 Removing intermediate container 1183cd0ba461 20:42:24 ---> 1412638c1a4d 20:42:24 Step 23/24 : LABEL git_sha=4a35f1d313b93b1afef0ede40251cd94a3668512 20:42:24 ---> Running in e366d3b54311 20:42:24 Removing intermediate container e366d3b54311 20:42:24 ---> fddbd7a0cea6 20:42:24 Step 24/24 : LABEL version=3.0.0-dev.12 20:42:24 ---> Running in aa1a09dcc2d7 20:42:24 Removing intermediate container aa1a09dcc2d7 20:42:24 ---> b54be5d80633 20:42:24 [Warning] One or more build-args [ARCH] were not consumed 20:42:24 Successfully built b54be5d80633 20:42:24 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:25 provisioning config files... 20:42:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config469265030089294849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:25 ---> docker-login.sh 20:42:25 nexus3.edgexfoundry.org:10001 20:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:25 Configure a credential helper to remove this warning. See 20:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:25 20:42:25 Login Succeeded 20:42:25 nexus3.edgexfoundry.org:10002 20:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:25 Configure a credential helper to remove this warning. See 20:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:25 20:42:25 Login Succeeded 20:42:25 nexus3.edgexfoundry.org:10003 20:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:25 Configure a credential helper to remove this warning. See 20:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:25 20:42:25 Login Succeeded 20:42:25 nexus3.edgexfoundry.org:10004 20:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:25 Configure a credential helper to remove this warning. See 20:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:25 20:42:25 Login Succeeded 20:42:25 docker.io 20:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:25 Configure a credential helper to remove this warning. See 20:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:25 20:42:25 Login Succeeded 20:42:25 ---> docker-login.sh ends [Pipeline] } 20:42:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:25 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 20:42:25 4a35f1d313b93b1afef0ede40251cd94a3668512 20:42:25 latest 20:42:25 3.0.0-dev.12 20:42:25 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 20:42:25 main 20:42:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:26 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 20:42:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:42:26 c29b98dce257: Preparing 20:42:26 9dfa2c958e82: Preparing 20:42:26 92da60e27b6d: Preparing 20:42:26 f1e1991e381d: Preparing 20:42:26 7cd52847ad77: Preparing 20:42:26 7cd52847ad77: Layer already exists 20:42:26 9dfa2c958e82: Pushed 20:42:26 c29b98dce257: Pushed 20:42:26 f1e1991e381d: Pushed 20:42:29 92da60e27b6d: Pushed 20:42:29 4a35f1d313b93b1afef0ede40251cd94a3668512: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:30 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:42:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:42:30 c29b98dce257: Preparing 20:42:30 9dfa2c958e82: Preparing 20:42:30 92da60e27b6d: Preparing 20:42:30 f1e1991e381d: Preparing 20:42:30 7cd52847ad77: Preparing 20:42:30 9dfa2c958e82: Layer already exists 20:42:30 7cd52847ad77: Layer already exists 20:42:30 92da60e27b6d: Layer already exists 20:42:30 f1e1991e381d: Layer already exists 20:42:30 c29b98dce257: Layer already exists 20:42:30 latest: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:30 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 20:42:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:42:31 c29b98dce257: Preparing 20:42:31 9dfa2c958e82: Preparing 20:42:31 92da60e27b6d: Preparing 20:42:31 f1e1991e381d: Preparing 20:42:31 7cd52847ad77: Preparing 20:42:31 9dfa2c958e82: Layer already exists 20:42:31 92da60e27b6d: Layer already exists 20:42:31 c29b98dce257: Layer already exists 20:42:31 f1e1991e381d: Layer already exists 20:42:31 7cd52847ad77: Layer already exists 20:42:31 3.0.0-dev.12: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 20:42:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:42:31 c29b98dce257: Preparing 20:42:31 9dfa2c958e82: Preparing 20:42:31 92da60e27b6d: Preparing 20:42:31 f1e1991e381d: Preparing 20:42:31 7cd52847ad77: Preparing 20:42:31 f1e1991e381d: Layer already exists 20:42:31 7cd52847ad77: Layer already exists 20:42:31 9dfa2c958e82: Layer already exists 20:42:31 92da60e27b6d: Layer already exists 20:42:31 c29b98dce257: Layer already exists 20:42:31 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 20:42:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:42:32 c29b98dce257: Preparing 20:42:32 9dfa2c958e82: Preparing 20:42:32 92da60e27b6d: Preparing 20:42:32 f1e1991e381d: Preparing 20:42:32 7cd52847ad77: Preparing 20:42:32 f1e1991e381d: Layer already exists 20:42:32 7cd52847ad77: Layer already exists 20:42:32 c29b98dce257: Layer already exists 20:42:32 92da60e27b6d: Layer already exists 20:42:32 9dfa2c958e82: Layer already exists 20:42:32 main: digest: sha256:c0fcf8a4f6c4d1f93facbc052f2776d71f9f4f491ed575578d3b861afb3376c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:32 ===================================================== [Pipeline] echo 20:42:32 taggedImages: 20:42:32 - nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 20:42:32 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:42:32 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 20:42:32 - nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 20:42:32 - 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 20:42:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:32 20:42:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:33 latest: Pulling from edgex-lftools-log-publisher 20:42:33 5eb5b503b376: Pulling fs layer 20:42:33 5c69ac0246d0: Pulling fs layer 20:42:33 ec43610c2a17: Pulling fs layer 20:42:33 3a2ae6a8a46f: Pulling fs layer 20:42:33 33b1e0a273af: Pulling fs layer 20:42:33 5d3b04190fa2: Pulling fs layer 20:42:33 2f39f015ded8: Pulling fs layer 20:42:33 5d3b04190fa2: Waiting 20:42:33 2f39f015ded8: Waiting 20:42:33 3a2ae6a8a46f: Waiting 20:42:33 33b1e0a273af: Waiting 20:42:33 5c69ac0246d0: Verifying Checksum 20:42:33 5c69ac0246d0: Download complete 20:42:33 3a2ae6a8a46f: Verifying Checksum 20:42:33 3a2ae6a8a46f: Download complete 20:42:33 33b1e0a273af: Verifying Checksum 20:42:33 33b1e0a273af: Download complete 20:42:33 5d3b04190fa2: Verifying Checksum 20:42:33 5d3b04190fa2: Download complete 20:42:33 ec43610c2a17: Verifying Checksum 20:42:33 ec43610c2a17: Download complete 20:42:33 5eb5b503b376: Verifying Checksum 20:42:33 5eb5b503b376: Download complete 20:42:33 2f39f015ded8: Download complete 20:42:34 5eb5b503b376: Pull complete 20:42:34 5c69ac0246d0: Pull complete 20:42:34 ec43610c2a17: Pull complete 20:42:35 3a2ae6a8a46f: Pull complete 20:42:35 33b1e0a273af: Pull complete 20:42:35 5d3b04190fa2: Pull complete 20:42:39 2f39f015ded8: Pull complete 20:42:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:42:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:39 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:42:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:42:42 $ docker top 9debe54ab2437866d20ba74e77d2a2ba595b460447ec0dfe86c5c328b0ebd4dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:42 ---> job-cost.sh 20:42:42 lf-activate-venv: SKIPPING 20:42:42 INFO: No Stack... 20:42:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:42:43 INFO: Archiving Costs [Pipeline] sh 20:42:43 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 20:42:43 + cut -d, -f6 [Pipeline] lock 20:42:43 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] 20:42:43 Resource [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] did not exist. Created. 20:42:43 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:43 + echo total: 0.2199999988079071 [Pipeline] stash 20:42:43 Stashed 1 file(s) [Pipeline] } 20:42:43 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:43 $ docker stop --time=1 9debe54ab2437866d20ba74e77d2a2ba595b460447ec0dfe86c5c328b0ebd4dc 20:42:44 $ docker rm -f --volumes 9debe54ab2437866d20ba74e77d2a2ba595b460447ec0dfe86c5c328b0ebd4dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:43:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2273 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 20:43:48 Running in /w/workspace/device-mqtt-go/96 [Pipeline] { [Pipeline] checkout 20:43:48 Selected Git installation does not exist. Using Default 20:43:48 The recommended git tool is: NONE 20:43:54 using credential edgex-jenkins-ssh 20:43:54 Cloning the remote Git repository 20:43:54 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:43:54 > git init /w/workspace/device-mqtt-go/96 # timeout=10 20:43:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:43:54 > git --version # timeout=10 20:43:54 > git --version # 'git version 2.25.1' 20:43:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:55 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:43:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:56 Avoid second fetch 20:43:56 Checking out Revision 4a35f1d313b93b1afef0ede40251cd94a3668512 (main) 20:43:57 Commit message: "Merge pull request #527 from lenny-intel/go-1.20" 20:43:56 > git config core.sparsecheckout # timeout=10 20:43:56 > git checkout -f 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:43:58 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:58 Dload Upload Total Spent Left Speed 20:43:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 20:43:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:43:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:43:58 + sudo tee /etc/docker/daemon.new 20:43:58 { 20:43:58 "registry-mirrors": [ 20:43:58 "https://nexus3.edgexfoundry.org:10001" 20:43:58 ], 20:43:58 "bip": "10.250.0.254/24", 20:43:58 "hosts": [ 20:43:58 "tcp://0.0.0.0:5555", 20:43:58 "unix:///var/run/docker.sock" 20:43:58 ], 20:43:58 "mtu": 1458, 20:43:58 "selinux-enabled": true, 20:43:58 "seccomp-profile": "/etc/docker/seccomp.json" 20:43:58 } [Pipeline] sh 20:43:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:43:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:17 provisioning config files... 20:44:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/96@tmp/config9188735242297943070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:18 ---> docker-login.sh 20:44:18 nexus3.edgexfoundry.org:10001 20:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:19 Configure a credential helper to remove this warning. See 20:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:19 20:44:19 Login Succeeded 20:44:19 nexus3.edgexfoundry.org:10002 20:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:19 Configure a credential helper to remove this warning. See 20:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:19 20:44:19 Login Succeeded 20:44:19 nexus3.edgexfoundry.org:10003 20:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:19 Configure a credential helper to remove this warning. See 20:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:19 20:44:19 Login Succeeded 20:44:19 nexus3.edgexfoundry.org:10004 20:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:20 Configure a credential helper to remove this warning. See 20:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:20 20:44:20 Login Succeeded 20:44:20 docker.io 20:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:20 Configure a credential helper to remove this warning. See 20:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:20 20:44:20 Login Succeeded 20:44:20 ---> docker-login.sh ends [Pipeline] } 20:44:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:44:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:21 ========================================================= 20:44:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:44:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:21 + 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 . 20:44:24 Sending build context to Docker daemon 3.306MB 20:44:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:44:24 Step 2/12 : FROM ${BASE} AS builder 20:44:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:44:24 af6eaf76a39c: Pulling fs layer 20:44:24 55522c791124: Pulling fs layer 20:44:24 ce5c4a1c91eb: Pulling fs layer 20:44:24 169dfbe0d373: Pulling fs layer 20:44:24 e1ff8fa3b103: Pulling fs layer 20:44:24 52ebb69f0ebf: Pulling fs layer 20:44:24 5abe8eddf0d5: Pulling fs layer 20:44:24 169dfbe0d373: Waiting 20:44:24 e1ff8fa3b103: Waiting 20:44:24 52ebb69f0ebf: Waiting 20:44:24 5abe8eddf0d5: Waiting 20:44:24 55522c791124: Download complete 20:44:24 169dfbe0d373: Verifying Checksum 20:44:24 169dfbe0d373: Download complete 20:44:24 e1ff8fa3b103: Verifying Checksum 20:44:24 e1ff8fa3b103: Download complete 20:44:24 af6eaf76a39c: Verifying Checksum 20:44:25 af6eaf76a39c: Pull complete 20:44:25 5abe8eddf0d5: Verifying Checksum 20:44:25 5abe8eddf0d5: Download complete 20:44:26 55522c791124: Pull complete 20:44:26 ce5c4a1c91eb: Verifying Checksum 20:44:26 ce5c4a1c91eb: Download complete 20:44:27 52ebb69f0ebf: Download complete 20:44:39 ce5c4a1c91eb: Pull complete 20:44:39 169dfbe0d373: Pull complete 20:44:39 e1ff8fa3b103: Pull complete 20:44:44 52ebb69f0ebf: Pull complete 20:44:46 5abe8eddf0d5: Pull complete 20:44:46 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:44:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:44:46 ---> 6cb57ee374ae 20:44:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:44:48 ---> Running in b51a7595e735 20:44:48 Removing intermediate container b51a7595e735 20:44:48 ---> 4b55048513b4 20:44:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:48 ---> Running in 0fb4e1ab128a 20:44:49 Removing intermediate container 0fb4e1ab128a 20:44:49 ---> fd3f76c2e1f5 20:44:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:44:49 ---> Running in a016bf5ccc86 20:44:49 Removing intermediate container a016bf5ccc86 20:44:49 ---> b2d93ca4bcb9 20:44:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:44:49 ---> Running in b07316c57bcf 20:44:50 Removing intermediate container b07316c57bcf 20:44:50 ---> 8df0b96e87bd 20:44:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:50 ---> Running in 71f798a6ee07 20:44:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:44:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:44:52 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:44:52 (2/4) Installing libedit (20221030.3.1-r0) 20:44:52 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:44:53 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:44:53 Executing busybox-1.35.0-r29.trigger 20:44:53 OK: 268 MiB in 57 packages 20:44:54 Removing intermediate container 71f798a6ee07 20:44:54 ---> e8d05d2ab39d 20:44:54 Step 8/12 : WORKDIR /device-mqtt-go 20:44:54 ---> Running in bc57788ada29 20:44:54 Removing intermediate container bc57788ada29 20:44:54 ---> d94f7e650262 20:44:54 Step 9/12 : COPY go.mod vendor* ./ 20:44:54 ---> 802bd0efebf1 20:44:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:54 ---> Running in f81470c1e321 20:46:02 Removing intermediate container f81470c1e321 20:46:02 ---> 9fda45b00af9 20:46:02 Step 11/12 : COPY . . 20:46:02 ---> 0ba9711a0d15 20:46:02 Step 12/12 : RUN $MAKE 20:46:02 ---> Running in b2d5b4679162 20:46:02 noop 20:46:02 Removing intermediate container b2d5b4679162 20:46:02 ---> 25269bde2744 20:46:02 Successfully built 25269bde2744 20:46:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:03 + docker inspect -f . ci-base-image-arm64 20:46:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:03 prd-ubuntu20.04-docker-arm64-4c-16g-2273 does not seem to be running inside a container 20:46:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/96 -v /w/workspace/device-mqtt-go/96:/w/workspace/device-mqtt-go/96:rw,z -v /w/workspace/device-mqtt-go/96@tmp:/w/workspace/device-mqtt-go/96@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 20:46:04 $ docker top 2f10ae050438351a26e6ab09330e606f90279be9ae7e6cc459ffa033560609b0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:05 + go version 20:46:05 go version go1.20.2 linux/arm64 [Pipeline] } 20:46:05 $ docker stop --time=1 2f10ae050438351a26e6ab09330e606f90279be9ae7e6cc459ffa033560609b0 20:46:07 $ docker rm -f --volumes 2f10ae050438351a26e6ab09330e606f90279be9ae7e6cc459ffa033560609b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:07 + docker inspect -f . ci-base-image-arm64 20:46:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:07 prd-ubuntu20.04-docker-arm64-4c-16g-2273 does not seem to be running inside a container 20:46:07 $ 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/96 -v /w/workspace/device-mqtt-go/96:/w/workspace/device-mqtt-go/96:rw,z -v /w/workspace/device-mqtt-go/96@tmp:/w/workspace/device-mqtt-go/96@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 20:46:09 $ docker top 52a51d110a54c78ebc27262291b1e3dcac2d3380625459aa732c3ba98a68340a -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:09 + git config --global --add safe.directory /w/workspace/device-mqtt-go/96 [Pipeline] fileExists [Pipeline] sh 20:46:10 + make test 20:46:10 go test ./... -coverprofile=coverage.out ./... 20:46:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:48:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:48:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:48:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.2% of statements 20:48:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:48:36 go vet ./... 20:49:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:15 ./bin/test-attribution-txt.sh [Pipeline] echo 20:49:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:49:15 $ docker stop --time=1 52a51d110a54c78ebc27262291b1e3dcac2d3380625459aa732c3ba98a68340a 20:49:17 $ docker rm -f --volumes 52a51d110a54c78ebc27262291b1e3dcac2d3380625459aa732c3ba98a68340a [Pipeline] // withDockerContainer [Pipeline] sh 20:49:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:18 Warning: overwriting stash ‘coverage-report’ 20:49:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:20 + ls -al . 20:49:20 total 176 20:49:20 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 20:46 . 20:49:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:43 .. 20:49:20 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 20:43 .dockerignore 20:49:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 20:43 .git 20:49:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:43 .github 20:49:20 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 20:43 .gitignore 20:49:20 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 20:43 .golangci.yml 20:49:20 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 20:43 Attribution.txt 20:49:20 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 20:43 CHANGELOG.md 20:49:20 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 20:43 Dockerfile 20:49:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 20:43 GOVERNANCE.md 20:49:20 -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 20:43 Jenkinsfile 20:49:20 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 20:43 LICENSE 20:49:20 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 20:43 Makefile 20:49:20 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 20:43 OWNERS.md 20:49:20 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 20:43 README.md 20:49:20 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 20:40 VERSION 20:49:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:43 bin 20:49:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:43 cmd 20:49:20 -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 20:48 coverage.out 20:49:20 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 20:43 go.mod 20:49:20 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 20:43 go.sum 20:49:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:43 internal 20:49:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:43 mock 20:49:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:43 snap 20:49:20 -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:20 + 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=4a35f1d313b93b1afef0ede40251cd94a3668512 --label arch=arm64 --label version=3.0.0-dev.12 . 20:49:20 Sending build context to Docker daemon 3.325MB 20:49:20 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 20:49:20 Step 2/24 : FROM ${BASE} AS builder 20:49:20 ---> 25269bde2744 20:49:20 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:49:23 ---> Running in 049b375dae61 20:49:24 Removing intermediate container 049b375dae61 20:49:24 ---> 2c7f8608669b 20:49:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:24 ---> Running in a85c23411507 20:49:24 Removing intermediate container a85c23411507 20:49:24 ---> feee9028c09f 20:49:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:49:24 ---> Running in cb8bdf0993e1 20:49:24 Removing intermediate container cb8bdf0993e1 20:49:24 ---> 19d80bea21b9 20:49:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:49:25 ---> Running in a70deaac98ff 20:49:25 Removing intermediate container a70deaac98ff 20:49:25 ---> 0c384bc83405 20:49:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:25 ---> Running in 47e095755edc 20:49:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:49:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:49:27 OK: 268 MiB in 57 packages 20:49:28 Removing intermediate container 47e095755edc 20:49:28 ---> c6fba10cc82f 20:49:28 Step 8/24 : WORKDIR /device-mqtt-go 20:49:28 ---> Running in f9a0b02bb3a1 20:49:29 Removing intermediate container f9a0b02bb3a1 20:49:29 ---> 809f0e01b506 20:49:29 Step 9/24 : COPY go.mod vendor* ./ 20:49:29 ---> 4c021bf5e921 20:49:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:29 ---> Running in 2be92204bb8c 20:49:32 Removing intermediate container 2be92204bb8c 20:49:32 ---> 8709695f16e2 20:49:32 Step 11/24 : COPY . . 20:49:33 ---> 7e6f8890745d 20:49:33 Step 12/24 : RUN $MAKE 20:49:33 ---> Running in 3cd9a5b4918e 20:49:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 20:51:41 Removing intermediate container 3cd9a5b4918e 20:51:41 ---> d96d370655a2 20:51:41 Step 13/24 : FROM alpine:3.17 20:51:41 3.17: Pulling from library/alpine 20:51:41 af6eaf76a39c: Already exists 20:51:41 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:51:41 Status: Downloaded newer image for alpine:3.17 20:51:41 ---> d74e625d9115 20:51:41 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:51:41 ---> Running in 592622c82be3 20:51:41 Removing intermediate container 592622c82be3 20:51:41 ---> 9b983cde88a9 20:51:41 Step 15/24 : RUN apk add --update --no-cache dumb-init 20:51:41 ---> Running in bdc9c08b868e 20:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:51:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:51:44 (1/1) Installing dumb-init (1.2.5-r2) 20:51:44 Executing busybox-1.35.0-r29.trigger 20:51:44 OK: 8 MiB in 16 packages 20:51:45 Removing intermediate container bdc9c08b868e 20:51:45 ---> a6d187857120 20:51:45 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:51:48 ---> 4f748b177078 20:51:48 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:51:48 ---> f9240c4bcb78 20:51:48 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:51:48 ---> 08efd9dbcc4d 20:51:48 Step 19/24 : EXPOSE 59982 20:51:48 ---> Running in 5bf705507aa9 20:51:49 Removing intermediate container 5bf705507aa9 20:51:49 ---> 9d3964f3452b 20:51:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:51:49 ---> Running in 0f48fb0f0656 20:51:49 Removing intermediate container 0f48fb0f0656 20:51:49 ---> f5c05b724746 20:51:49 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:51:49 ---> Running in 656d30967e4f 20:51:49 Removing intermediate container 656d30967e4f 20:51:49 ---> f3e9cd1b6752 20:51:49 Step 22/24 : LABEL arch=arm64 20:51:50 ---> Running in 2df5febebea8 20:51:50 Removing intermediate container 2df5febebea8 20:51:50 ---> ec6ce8b57d83 20:51:50 Step 23/24 : LABEL git_sha=4a35f1d313b93b1afef0ede40251cd94a3668512 20:51:50 ---> Running in befe4c4062dd 20:51:50 Removing intermediate container befe4c4062dd 20:51:50 ---> 91d262e515a7 20:51:50 Step 24/24 : LABEL version=3.0.0-dev.12 20:51:50 ---> Running in 7af389f815a8 20:51:50 Removing intermediate container 7af389f815a8 20:51:50 ---> 2204ac60464a 20:51:50 [Warning] One or more build-args [ARCH] were not consumed 20:51:50 Successfully built 2204ac60464a 20:51:50 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 20:51:50 provisioning config files... 20:51:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/96@tmp/config11939229342025310745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:51 ---> docker-login.sh 20:51:51 nexus3.edgexfoundry.org:10001 20:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:51 Configure a credential helper to remove this warning. See 20:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:51 20:51:51 Login Succeeded 20:51:51 nexus3.edgexfoundry.org:10002 20:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:51 Configure a credential helper to remove this warning. See 20:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:51 20:51:51 Login Succeeded 20:51:51 nexus3.edgexfoundry.org:10003 20:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:52 Configure a credential helper to remove this warning. See 20:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:52 20:51:52 Login Succeeded 20:51:52 nexus3.edgexfoundry.org:10004 20:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:52 Configure a credential helper to remove this warning. See 20:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:52 20:51:52 Login Succeeded 20:51:52 docker.io 20:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:52 Configure a credential helper to remove this warning. See 20:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:52 20:51:52 Login Succeeded 20:51:52 ---> docker-login.sh ends [Pipeline] } 20:51:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:51:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:52 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 20:51:52 4a35f1d313b93b1afef0ede40251cd94a3668512 20:51:52 latest 20:51:52 3.0.0-dev.12 20:51:52 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 20:51:52 main 20:51:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 20:51:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:51:53 c547444124a2: Preparing 20:51:53 668c4cad567f: Preparing 20:51:53 151e9bf41346: Preparing 20:51:53 2e2e86396bb8: Preparing 20:51:53 edf70074bd40: Preparing 20:51:53 edf70074bd40: Layer already exists 20:51:53 668c4cad567f: Pushed 20:51:53 c547444124a2: Pushed 20:51:53 2e2e86396bb8: Pushed 20:51:59 151e9bf41346: Pushed 20:52:00 4a35f1d313b93b1afef0ede40251cd94a3668512: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:52:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:52:01 c547444124a2: Preparing 20:52:01 668c4cad567f: Preparing 20:52:01 151e9bf41346: Preparing 20:52:01 2e2e86396bb8: Preparing 20:52:01 edf70074bd40: Preparing 20:52:01 668c4cad567f: Layer already exists 20:52:01 c547444124a2: Layer already exists 20:52:01 edf70074bd40: Layer already exists 20:52:01 2e2e86396bb8: Layer already exists 20:52:01 151e9bf41346: Layer already exists 20:52:01 latest: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:01 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 20:52:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:52:02 c547444124a2: Preparing 20:52:02 668c4cad567f: Preparing 20:52:02 151e9bf41346: Preparing 20:52:02 2e2e86396bb8: Preparing 20:52:02 edf70074bd40: Preparing 20:52:02 151e9bf41346: Layer already exists 20:52:02 edf70074bd40: Layer already exists 20:52:02 c547444124a2: Layer already exists 20:52:02 2e2e86396bb8: Layer already exists 20:52:02 668c4cad567f: Layer already exists 20:52:02 3.0.0-dev.12: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:02 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 20:52:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:52:02 c547444124a2: Preparing 20:52:02 668c4cad567f: Preparing 20:52:02 151e9bf41346: Preparing 20:52:02 2e2e86396bb8: Preparing 20:52:02 edf70074bd40: Preparing 20:52:02 2e2e86396bb8: Layer already exists 20:52:02 c547444124a2: Layer already exists 20:52:02 668c4cad567f: Layer already exists 20:52:02 edf70074bd40: Layer already exists 20:52:02 151e9bf41346: Layer already exists 20:52:03 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 20:52:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:52:03 c547444124a2: Preparing 20:52:03 668c4cad567f: Preparing 20:52:03 151e9bf41346: Preparing 20:52:03 2e2e86396bb8: Preparing 20:52:03 edf70074bd40: Preparing 20:52:03 edf70074bd40: Layer already exists 20:52:03 151e9bf41346: Layer already exists 20:52:03 c547444124a2: Layer already exists 20:52:03 2e2e86396bb8: Layer already exists 20:52:03 668c4cad567f: Layer already exists 20:52:03 main: digest: sha256:30f802f9434f25ef3cc24e4b473ff1520655b50418a10ae9ffb6c60084807ca2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:03 ===================================================== [Pipeline] echo 20:52:03 taggedImages: 20:52:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 20:52:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:52:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 20:52:03 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 20:52:03 - 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 20:52:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:04 20:52:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:04 arm64: Pulling from edgex-lftools-log-publisher 20:52:04 8998bd30e6a1: Pulling fs layer 20:52:04 04944245beec: Pulling fs layer 20:52:04 699f458cf7ca: Pulling fs layer 20:52:04 765212b225bb: Pulling fs layer 20:52:04 f23df028b6ca: Pulling fs layer 20:52:04 d65c8cfc05b1: Pulling fs layer 20:52:04 2437ff75d9bd: Pulling fs layer 20:52:04 765212b225bb: Waiting 20:52:04 d65c8cfc05b1: Waiting 20:52:04 2437ff75d9bd: Waiting 20:52:04 f23df028b6ca: Waiting 20:52:04 04944245beec: Verifying Checksum 20:52:04 04944245beec: Download complete 20:52:04 765212b225bb: Verifying Checksum 20:52:04 765212b225bb: Download complete 20:52:04 f23df028b6ca: Verifying Checksum 20:52:04 f23df028b6ca: Download complete 20:52:04 d65c8cfc05b1: Verifying Checksum 20:52:04 d65c8cfc05b1: Download complete 20:52:04 699f458cf7ca: Verifying Checksum 20:52:04 699f458cf7ca: Download complete 20:52:05 8998bd30e6a1: Verifying Checksum 20:52:05 8998bd30e6a1: Download complete 20:52:07 2437ff75d9bd: Verifying Checksum 20:52:07 2437ff75d9bd: Download complete 20:52:09 8998bd30e6a1: Pull complete 20:52:09 04944245beec: Pull complete 20:52:11 699f458cf7ca: Pull complete 20:52:11 765212b225bb: Pull complete 20:52:13 f23df028b6ca: Pull complete 20:52:13 d65c8cfc05b1: Pull complete 20:52:25 2437ff75d9bd: Pull complete 20:52:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:52:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:25 prd-ubuntu20.04-docker-arm64-4c-16g-2273 does not seem to be running inside a container 20:52:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/96 -v /w/workspace/device-mqtt-go/96:/w/workspace/device-mqtt-go/96:rw,z -v /w/workspace/device-mqtt-go/96@tmp:/w/workspace/device-mqtt-go/96@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 20:52:27 $ docker top 1a96a618d4535cd85437db06aaff65e7672d56731d2724482e7a22889a767802 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:28 ---> job-cost.sh 20:52:28 lf-activate-venv: SKIPPING 20:52:28 INFO: No Stack... 20:52:29 INFO: Retrieving Pricing Info for: v3-standard-4 20:52:29 INFO: Archiving Costs [Pipeline] sh 20:52:30 + cut -d, -f6 20:52:30 + cat /w/workspace/device-mqtt-go/96/archives/cost.csv [Pipeline] lock 20:52:30 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] 20:52:30 Resource [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] did not exist. Created. 20:52:30 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:30 /w/workspace/device-mqtt-go/96@tmp/durable-ebc19f15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:52:31 + echo total: 0.10999999940395355 [Pipeline] stash 20:52:31 Warning: overwriting stash ‘stack-cost’ 20:52:31 Stashed 1 file(s) [Pipeline] } 20:52:31 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:31 $ docker stop --time=1 1a96a618d4535cd85437db06aaff65e7672d56731d2724482e7a22889a767802 20:52:32 $ docker rm -f --volumes 1a96a618d4535cd85437db06aaff65e7672d56731d2724482e7a22889a767802 [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 20:52:33 provisioning config files... 20:52:33 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17057293517559198957tmp [Pipeline] { [Pipeline] sh 20:52:33 + set +x 20:52:33 + curl -s https://codecov.io/bash 20:52:33 + bash -s -- 20:52:33 20:52:33 _____ _ 20:52:33 / ____| | | 20:52:33 | | ___ __| | ___ ___ _____ __ 20:52:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:52:33 | |___| (_) | (_| | __/ (_| (_) \ V / 20:52:33 \_____\___/ \__,_|\___|\___\___/ \_/ 20:52:33 Bash-1.0.6 20:52:33 20:52:33 20:52:33 ==> git version 2.25.1 found 20:52:33 ==> 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 20:52:33 Release-Date: 2020-01-08 20:52:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:52:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:52:33 ==> Jenkins CI detected. 20:52:33 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 20:52:33 project root: . 20:52:33 --> token set from env 20:52:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:52:33 ==> Running gcov in . (disable via -X gcov) 20:52:33 ==> Python coveragepy not found 20:52:33 ==> Searching for coverage reports in: 20:52:33 + . 20:52:33 -> Found 1 reports 20:52:33 ==> Detecting git/mercurial file structure 20:52:33 ==> Reading reports 20:52:33 + ./coverage.out bytes=18047 20:52:33 ==> Appending adjustments 20:52:33 https://docs.codecov.io/docs/fixing-reports 20:52:33 + Found adjustments 20:52:33 ==> Gzipping contents 20:52:33 4.0K /tmp/codecov.zSQLOK.gz 20:52:33 ==> Uploading reports 20:52:33 url: https://codecov.io 20:52:33 query: branch=main&commit=4a35f1d313b93b1afef0ede40251cd94a3668512&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:52:33 -> Pinging Codecov 20:52:33 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=4a35f1d313b93b1afef0ede40251cd94a3668512&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:52:33 -> Uploading to 20:52:33 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7D719EC7BBE17E464838252E33014C33/4a35f1d313b93b1afef0ede40251cd94a3668512/587fc547-ee4d-4886-ad0d-20ce0d65383b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T205233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9902513f8f700916ec895e5b49f82342547f8d203c1c285ad77f5bdb03cc9493 20:52:33 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:33 Dload Upload Total Spent Left Speed 20:52:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 12905 --:--:-- --:--:-- --:--:-- 12905 20:52:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } 20:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:52:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:52:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:34 20:52:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:34 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:52:34 df9b9388f04a: Pulling fs layer 20:52:34 52dc419b0ee2: Pulling fs layer 20:52:34 25bc292e5bac: Pulling fs layer 20:52:34 114826534d7a: Pulling fs layer 20:52:34 4657fd5d0bcf: Pulling fs layer 20:52:34 6ad1cebc031e: Pulling fs layer 20:52:34 8a3aa393b2d8: Pulling fs layer 20:52:34 114826534d7a: Waiting 20:52:34 4657fd5d0bcf: Waiting 20:52:34 6ad1cebc031e: Waiting 20:52:34 8a3aa393b2d8: Waiting 20:52:34 25bc292e5bac: Verifying Checksum 20:52:34 25bc292e5bac: Download complete 20:52:34 52dc419b0ee2: Download complete 20:52:34 4657fd5d0bcf: Verifying Checksum 20:52:34 4657fd5d0bcf: Download complete 20:52:34 df9b9388f04a: Verifying Checksum 20:52:34 df9b9388f04a: Download complete 20:52:35 df9b9388f04a: Pull complete 20:52:35 6ad1cebc031e: Verifying Checksum 20:52:35 6ad1cebc031e: Download complete 20:52:35 52dc419b0ee2: Pull complete 20:52:35 25bc292e5bac: Pull complete 20:52:35 114826534d7a: Download complete 20:52:35 8a3aa393b2d8: Verifying Checksum 20:52:35 8a3aa393b2d8: Download complete 20:52:39 114826534d7a: Pull complete 20:52:39 4657fd5d0bcf: Pull complete 20:52:39 6ad1cebc031e: Pull complete 20:52:41 8a3aa393b2d8: Pull complete 20:52:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:52:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:52:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:41 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:52:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:52:45 $ docker top c5f7ae54102321619caa94aa7db608fa5a99be150978daa18aa0afb0a5d13afe -eo pid,comm [Pipeline] { [Pipeline] echo 20:52:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 20:52:46 + set -o pipefail 20:52:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 20:52:54 20:52:54 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 20:52:54 20:52:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/256a0de8-53ae-4b8f-90e8-e8090e247f32 20:52:54 20:52:54 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:52:54 20:52:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:52:54 20:52:54 20:52:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:52:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:52:54 More details here: https://snyk.co/ue1NS [Pipeline] } 20:52:54 $ docker stop --time=1 c5f7ae54102321619caa94aa7db608fa5a99be150978daa18aa0afb0a5d13afe 20:52:57 $ docker rm -f --volumes c5f7ae54102321619caa94aa7db608fa5a99be150978daa18aa0afb0a5d13afe [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 20:52:58 + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] sh 20:52:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:58 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:52:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:52:59 $ docker top c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a -eo pid,comm 20:52:59 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). 20:52:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:59 [ssh-agent] Looking for ssh-agent implementation... 20:52:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:59 $ docker exec c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a ssh-agent 20:52:59 SSH_AUTH_SOCK=/tmp/ssh-bUdFwlgVFmbO/agent.32 20:52:59 SSH_AGENT_PID=38 20:52:59 Running ssh-add (command line suppressed) 20:52:59 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7339863127306306092.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7339863127306306092.key) 20:52:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:59 + git semver tag 20:53:00 2023-03-15 20:53:00,109 [run_tag] DEBUG tag force:False 20:53:00 2023-03-15 20:53:00,110 [check_head_tag] DEBUG check head tag 20:53:00 2023-03-15 20:53:00,111 [execute] INFO git cat-file --batch-check 20:53:00 2023-03-15 20:53:00,111 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 20:53:00 2023-03-15 20:53:00,115 [execute] INFO git cat-file --batch 20:53:00 2023-03-15 20:53:00,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 20:53:00 2023-03-15 20:53:00,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:53:00 2023-03-15 20:53:00,135 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 20:53:00 2023-03-15 20:53:00,136 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 20:53:00 2023-03-15 20:53:00,140 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:53:00 3.0.0-dev.12 [Pipeline] } 20:53:00 $ docker exec --env ******** --env ******** c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a ssh-agent -k 20:53:00 unset SSH_AUTH_SOCK; 20:53:00 unset SSH_AGENT_PID; 20:53:00 echo Agent pid 38 killed; 20:53:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:00 + git semver [Pipeline] } 20:53:00 $ docker stop --time=1 c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a 20:53:02 $ docker rm -f --volumes c57224113eca5c78b641a78532a1fb3f9edd521d63ec47341172c8b26261582a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:02 20:53:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:02 0.23.1-centos7: Pulling from edgex-lftools 20:53:02 ab5ef0e58194: Pulling fs layer 20:53:02 9712f1f96733: Pulling fs layer 20:53:02 63f879dbbcfc: Pulling fs layer 20:53:02 0d9ebad4ef96: Pulling fs layer 20:53:02 e9a5061849ea: Pulling fs layer 20:53:02 d747dcd14b5f: Pulling fs layer 20:53:02 2de7ff778b66: Pulling fs layer 20:53:02 e9a5061849ea: Waiting 20:53:02 2de7ff778b66: Waiting 20:53:02 0d9ebad4ef96: Waiting 20:53:02 9712f1f96733: Verifying Checksum 20:53:02 9712f1f96733: Download complete 20:53:03 63f879dbbcfc: Verifying Checksum 20:53:03 63f879dbbcfc: Download complete 20:53:03 e9a5061849ea: Verifying Checksum 20:53:03 e9a5061849ea: Download complete 20:53:03 ab5ef0e58194: Verifying Checksum 20:53:03 ab5ef0e58194: Download complete 20:53:03 d747dcd14b5f: Verifying Checksum 20:53:03 d747dcd14b5f: Download complete 20:53:03 0d9ebad4ef96: Verifying Checksum 20:53:03 0d9ebad4ef96: Download complete 20:53:03 2de7ff778b66: Verifying Checksum 20:53:03 2de7ff778b66: Download complete 20:53:06 ab5ef0e58194: Pull complete 20:53:06 9712f1f96733: Pull complete 20:53:06 63f879dbbcfc: Pull complete 20:53:10 0d9ebad4ef96: Pull complete 20:53:10 e9a5061849ea: Pull complete 20:53:10 d747dcd14b5f: Pull complete 20:53:11 2de7ff778b66: Pull complete 20:53:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:53:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:11 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:53:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:53:16 $ docker top 9a48253de7626ccd2386dec330638927f9282a79f8b17dace19fe45d8a2e319a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:53:16 provisioning config files... 20:53:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10611974464653978044tmp 20:53:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8671279750620806358tmp 20:53:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13098185517627968239tmp [Pipeline] { [Pipeline] echo 20:53:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:53:16 ---> sigul-configuration.sh 20:53:16 gpg: directory `/root/.gnupg' created 20:53:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:53:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:53:16 gpg: keyring `/root/.gnupg/secring.gpg' created 20:53:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:53:16 gpg: CAST5 encrypted data 20:53:16 gpg: encrypted with 1 passphrase 20:53:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:53:17 + mkdir /home/jenkins 20:53:17 + mkdir /home/jenkins/sigul [Pipeline] sh 20:53:17 + 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 20:53:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:53:17 ---> sigul-install.sh 20:53:17 Sigul already installed; skipping installation. [Pipeline] sh 20:53:17 + git tag --list 20:53:17 0.7.1 20:53:17 v1.0.0 20:53:17 v1.1.0 20:53:17 v1.1.1 20:53:17 v1.2.2 20:53:17 v1.3.0 20:53:17 v1.3.1 20:53:17 v2.0.0 20:53:17 v2.1.0 20:53:17 v2.1.1 20:53:17 v2.1.1-dev.1 20:53:17 v2.1.1-dev.2 20:53:17 v2.2.0 20:53:17 v2.2.1-dev.1 20:53:17 v2.2.1-dev.10 20:53:17 v2.2.1-dev.2 20:53:17 v2.2.1-dev.3 20:53:17 v2.2.1-dev.4 20:53:17 v2.2.1-dev.5 20:53:17 v2.2.1-dev.6 20:53:17 v2.2.1-dev.7 20:53:17 v2.2.1-dev.8 20:53:17 v2.2.1-dev.9 20:53:17 v2.3.0 20:53:17 v2.3.0-dev.10 20:53:17 v2.3.0-dev.11 20:53:17 v2.3.0-dev.12 20:53:17 v2.3.0-dev.13 20:53:17 v2.3.0-dev.14 20:53:17 v2.3.0-dev.15 20:53:17 v2.3.0-dev.16 20:53:17 v2.3.0-dev.17 20:53:17 v2.3.0-dev.18 20:53:17 v2.3.0-dev.19 20:53:17 v2.3.0-dev.20 20:53:17 v2.3.0-dev.21 20:53:17 v2.3.0-dev.22 20:53:17 v2.3.0-dev.23 20:53:17 v2.3.0-dev.24 20:53:17 v2.3.0-dev.25 20:53:17 v2.3.0-dev.26 20:53:17 v2.3.0-dev.27 20:53:17 v2.3.0-dev.28 20:53:17 v2.3.0-dev.29 20:53:17 v2.3.0-dev.30 20:53:17 v2.3.0-dev.31 20:53:17 v2.3.0-dev.32 20:53:17 v2.3.0-dev.33 20:53:17 v2.3.0-dev.34 20:53:17 v3.0.0-dev.1 20:53:17 v3.0.0-dev.10 20:53:17 v3.0.0-dev.11 20:53:17 v3.0.0-dev.12 20:53:17 v3.0.0-dev.2 20:53:17 v3.0.0-dev.3 20:53:17 v3.0.0-dev.4 20:53:17 v3.0.0-dev.5 20:53:17 v3.0.0-dev.6 20:53:17 v3.0.0-dev.7 20:53:17 v3.0.0-dev.8 20:53:17 v3.0.0-dev.9 [Pipeline] sh 20:53:18 + lftools sign git-tag v3.0.0-dev.12 20:53:18 Signing Git tag with Sigul... 20:53:18 Signing v3.0.0-dev.12 [Pipeline] echo 20:53:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:53:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:53:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:53:19 $ docker stop --time=1 9a48253de7626ccd2386dec330638927f9282a79f8b17dace19fe45d8a2e319a 20:53:20 $ docker rm -f --volumes 9a48253de7626ccd2386dec330638927f9282a79f8b17dace19fe45d8a2e319a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:53:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:21 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:53:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:53:21 $ docker top 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:21 [ssh-agent] Looking for ssh-agent implementation... 20:53:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:21 $ docker exec 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 ssh-agent 20:53:22 SSH_AUTH_SOCK=/tmp/ssh-QUpWMhbnkmMj/agent.32 20:53:22 SSH_AGENT_PID=38 20:53:22 Running ssh-add (command line suppressed) 20:53:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15845778183837552025.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15845778183837552025.key) 20:53:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:22 + git semver bump pre 20:53:22 2023-03-15 20:53:22,675 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:53:22 2023-03-15 20:53:22,675 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev 20:53:22 2023-03-15 20:53:22,676 [bump_version] DEBUG bumped version:3.0.0-dev.13 20:53:22 2023-03-15 20:53:22,676 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 20:53:22 2023-03-15 20:53:22,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:53:22 2023-03-15 20:53:22,676 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:53:22 2023-03-15 20:53:22,678 [execute] INFO git cat-file --batch-check 20:53:22 2023-03-15 20:53:22,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:22 2023-03-15 20:53:22,684 [execute] INFO git cat-file --batch 20:53:22 2023-03-15 20:53:22,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:22 2023-03-15 20:53:22,689 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:53:22 3.0.0-dev.13 [Pipeline] } 20:53:22 $ docker exec --env ******** --env ******** 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 ssh-agent -k 20:53:22 unset SSH_AUTH_SOCK; 20:53:22 unset SSH_AGENT_PID; 20:53:22 echo Agent pid 38 killed; 20:53:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:23 + git semver [Pipeline] } 20:53:23 $ docker stop --time=1 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 20:53:24 $ docker rm -f --volumes 8ec081e18e99ec209040fb0729a4b464b0ff093375aa723d941c9ce1bab252c7 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:25 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:53:25 $ docker top 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:25 [ssh-agent] Looking for ssh-agent implementation... 20:53:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:26 $ docker exec 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 ssh-agent 20:53:26 SSH_AUTH_SOCK=/tmp/ssh-hxL81EbiVcUc/agent.31 20:53:26 SSH_AGENT_PID=37 20:53:26 Running ssh-add (command line suppressed) 20:53:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1016543152082233225.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1016543152082233225.key) 20:53:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:26 + git semver push 20:53:26 2023-03-15 20:53:26,738 [run_push] DEBUG push 20:53:26 2023-03-15 20:53:26,738 [execute] INFO git cat-file --batch-check 20:53:26 2023-03-15 20:53:26,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:26 2023-03-15 20:53:26,743 [execute] INFO git rev-list e4bb67e06d5e8727353931d796e6b547d602c0d5 -- 20:53:26 2023-03-15 20:53:26,743 [execute] DEBUG Popen(['git', 'rev-list', 'e4bb67e06d5e8727353931d796e6b547d602c0d5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:53:26 2023-03-15 20:53:26,752 [execute] INFO git fetch -v origin 20:53:26 2023-03-15 20:53:26,752 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:53:27 2023-03-15 20:53:27,232 [run_push] DEBUG no remote changes detected 20:53:27 2023-03-15 20:53:27,232 [execute] INFO git push origin semver 20:53:27 2023-03-15 20:53:27,232 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:53:28 2023-03-15 20:53:27,999 [run_push] DEBUG push all version tags 20:53:28 2023-03-15 20:53:28,000 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:53:28 2023-03-15 20:53:28,001 [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) 20:53:28 2023-03-15 20:53:28,797 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:53:28 3.0.0-dev.13 [Pipeline] } 20:53:28 $ docker exec --env ******** --env ******** 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 ssh-agent -k 20:53:28 unset SSH_AUTH_SOCK; 20:53:28 unset SSH_AGENT_PID; 20:53:28 echo Agent pid 37 killed; 20:53:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:29 + git semver [Pipeline] } 20:53:29 $ docker stop --time=1 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 20:53:30 $ docker rm -f --volumes 66df23b2e41716a032bff3ef8a1556da8220de817bee07ffd6ff346759a8ac69 [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 20:53:31 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 20:53:31 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:53:31 total 16 20:53:31 drwxr-xr-x 3 root root 4096 Mar 15 20:42 . 20:53:31 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 20:53 .. 20:53:31 drwxr-xr-x 2 root root 4096 Mar 15 20:42 cost 20:53:31 -rw-r--r-- 1 root root 85 Mar 15 20:42 cost.csv 20:53:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:53:31 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:53:31 total 16 20:53:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 20:42 . 20:53:31 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 20:53 .. 20:53:31 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 20:42 cost 20:53:31 -rw-r--r-- 1 jenkins jenkins 85 Mar 15 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:53:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:53:32 ---> package-listing.sh 20:53:32 ++ facter osfamily 20:53:32 ++ tr '[:upper:]' '[:lower:]' 20:53:32 + OS_FAMILY=debian 20:53:32 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 20:53:32 + START_PACKAGES=/tmp/packages_start.txt 20:53:32 + END_PACKAGES=/tmp/packages_end.txt 20:53:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:53:32 + PACKAGES=/tmp/packages_start.txt 20:53:32 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:53:32 + PACKAGES=/tmp/packages_end.txt 20:53:32 + case "${OS_FAMILY}" in 20:53:32 + dpkg -l 20:53:32 + grep '^ii' 20:53:32 + '[' -f /tmp/packages_start.txt ']' 20:53:32 + '[' -f /tmp/packages_end.txt ']' 20:53:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:53:32 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:53:32 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 20:53:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 20:53:32 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 20:53:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:33 prd-ubuntu20.04-docker-8c-8g-2272 does not seem to be running inside a container 20:53:33 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:53:33 $ docker top afec003407ade05cfa8a677aa3eab555bd6f9ee4bf25411829130fbb41e5369b -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:34 + touch /tmp/pre-build-complete [Pipeline] sh 20:53:34 + mkdir -p /var/log/sysstat [Pipeline] sh 20:53:34 + ls /var/log/sa-host 20:53:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:35 provisioning config files... 20:53:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9210477269446223852tmp [Pipeline] { [Pipeline] echo 20:53:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:53:35 ---> create-netrc.sh [Pipeline] } 20:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:53:35 ---> python-tools-install.sh [Pipeline] echo 20:53:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:53:35 ---> sudo-logs.sh 20:53:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:53:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:53:36 ---> job-cost.sh 20:53:36 lf-activate-venv: SKIPPING 20:53:36 DEBUG: total: 0.2199999988079071 20:53:36 INFO: Retrieving Stack Cost... 20:53:36 INFO: Retrieving Pricing Info for: v3-standard-8 20:53:37 INFO: Archiving Costs [Pipeline] echo 20:53:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:53:37 ---> logs-deploy.sh 20:53:37 lf-activate-venv: SKIPPING 20:53:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/96 20:53:37 INFO: archiving workspace using pattern(s): 20:53:38 Archives upload complete. 20:53:38 INFO: archiving logs to Nexus