Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 44db128f908bb002eba25d15c491b9a779a086c0 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-ssh8929176401707304206.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8549787544511958035.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9673956436468361156.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16245523996852121401.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-ssh5938121803440843135.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 ‘prd-ubuntu20.04-docker-8c-8g-12220’ Running on prd-ubuntu20.04-docker-8c-8g-12224 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 44db128f908bb002eba25d15c491b9a779a086c0 (main) > 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 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#584)" > git rev-list --no-walk 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:47:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:47:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:47:59 ========================================================= 18:47:59 EdgeX Global Pipelines Version Info 18:47:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:48:00 ------------------- 18:48:00 stable info: 18:48:00 ------------------- 18:48:00 Commited By: Bill Mahoney bill.mahoney@intel.com 18:48:00 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:48:00 Message: update stable to v1.0.248 18:48:01 ------------------- 18:48:01 experimental info: 18:48:01 ------------------- 18:48:01 Commited By: **** collab-it+edgex@linuxfoundation.org 18:48:01 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:48:01 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44db128f908bb002eba25d15c491b9a779a086c0 [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44db128 [Pipeline] echo 18:48:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:01 provisioning config files... 18:48:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5815945131588451161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:02 ---> docker-login.sh 18:48:02 nexus3.edgexfoundry.org:10001 18:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:02 Configure a credential helper to remove this warning. See 18:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:02 18:48:02 Login Succeeded 18:48:02 nexus3.edgexfoundry.org:10002 18:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:02 Configure a credential helper to remove this warning. See 18:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:02 18:48:02 Login Succeeded 18:48:02 nexus3.edgexfoundry.org:10003 18:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:02 Configure a credential helper to remove this warning. See 18:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:02 18:48:02 Login Succeeded 18:48:02 nexus3.edgexfoundry.org:10004 18:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:02 Configure a credential helper to remove this warning. See 18:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:02 18:48:02 Login Succeeded 18:48:02 docker.io 18:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:03 Configure a credential helper to remove this warning. See 18:48:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:03 18:48:03 Login Succeeded 18:48:03 ---> docker-login.sh ends [Pipeline] } 18:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:48:03 + git rev-list -1 --merges 44db128f908bb002eba25d15c491b9a779a086c0~1..44db128f908bb002eba25d15c491b9a779a086c0 [Pipeline] echo 18:48:03 -----------> git rev-list -1 --merges 44db128f908bb002eba25d15c491b9a779a086c0~1..44db128f908bb002eba25d15c491b9a779a086c0 44db128f908bb002eba25d15c491b9a779a086c0 [false] [Pipeline] sh 18:48:03 + git log --format=format:%s -1 44db128f908bb002eba25d15c491b9a779a086c0 [Pipeline] echo 18:48:03 ========================================================= 18:48:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:48:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:04 + git log --format=format:%s -1 44db128f908bb002eba25d15c491b9a779a086c0 [Pipeline] echo 18:48:04 [semverPrep] GIT_COMMIT: 44db128f908bb002eba25d15c491b9a779a086c0, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#584) [Pipeline] echo 18:48:04 [semverPrep] This is not a build commit. [Pipeline] sh 18:48:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:48:04 + grep -v github /etc/ssh/ssh_known_hosts 18:48:04 + [ -e /tmp/ssh_known_hosts ] 18:48:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:48:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:48:04 + sudo tee -a /etc/ssh/ssh_known_hosts 18:48:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:04 18:48:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:05 0.1.4: Pulling from edgex-devops/py-git-semver 18:48:05 b85a868b505f: Pulling fs layer 18:48:05 e2be974225ed: Pulling fs layer 18:48:05 339a4e72a1f5: Pulling fs layer 18:48:05 988bab9f4d93: Pulling fs layer 18:48:05 1469e6f7b9e6: Pulling fs layer 18:48:05 eaf3925da568: Pulling fs layer 18:48:05 bab4dde63d76: Pulling fs layer 18:48:05 bde34c3a00c8: Pulling fs layer 18:48:05 b352a97aabf1: Pulling fs layer 18:48:05 4872d77fe225: Pulling fs layer 18:48:05 5851b861e8e6: Pulling fs layer 18:48:05 1469e6f7b9e6: Waiting 18:48:05 eaf3925da568: Waiting 18:48:05 bab4dde63d76: Waiting 18:48:05 bde34c3a00c8: Waiting 18:48:05 b352a97aabf1: Waiting 18:48:05 4872d77fe225: Waiting 18:48:05 988bab9f4d93: Waiting 18:48:05 5851b861e8e6: Waiting 18:48:05 e2be974225ed: Download complete 18:48:05 988bab9f4d93: Verifying Checksum 18:48:05 988bab9f4d93: Download complete 18:48:05 1469e6f7b9e6: Verifying Checksum 18:48:05 1469e6f7b9e6: Download complete 18:48:05 eaf3925da568: Verifying Checksum 18:48:05 eaf3925da568: Download complete 18:48:05 339a4e72a1f5: Verifying Checksum 18:48:05 339a4e72a1f5: Download complete 18:48:05 bde34c3a00c8: Download complete 18:48:05 b352a97aabf1: Verifying Checksum 18:48:05 b352a97aabf1: Download complete 18:48:05 4872d77fe225: Verifying Checksum 18:48:05 4872d77fe225: Download complete 18:48:05 5851b861e8e6: Verifying Checksum 18:48:05 5851b861e8e6: Download complete 18:48:05 b85a868b505f: Verifying Checksum 18:48:05 b85a868b505f: Download complete 18:48:05 bab4dde63d76: Verifying Checksum 18:48:05 bab4dde63d76: Download complete 18:48:06 b85a868b505f: Pull complete 18:48:06 e2be974225ed: Pull complete 18:48:07 339a4e72a1f5: Pull complete 18:48:07 988bab9f4d93: Pull complete 18:48:07 1469e6f7b9e6: Pull complete 18:48:07 eaf3925da568: Pull complete 18:48:09 bab4dde63d76: Pull complete 18:48:09 bde34c3a00c8: Pull complete 18:48:09 b352a97aabf1: Pull complete 18:48:09 4872d77fe225: Pull complete 18:48:09 5851b861e8e6: Pull complete 18:48:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:48:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:09 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 18:48:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:48:11 $ docker top 222709d945deb719e8f9546547f8a930b43a02e31e2cd9ba19783c766c4d79ad -eo pid,comm 18:48:12 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). 18:48:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:48:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:12 [ssh-agent] Looking for ssh-agent implementation... 18:48:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:12 $ docker exec 222709d945deb719e8f9546547f8a930b43a02e31e2cd9ba19783c766c4d79ad ssh-agent 18:48:12 SSH_AUTH_SOCK=/tmp/ssh-pYxUywLhPmJT/agent.33 18:48:12 SSH_AGENT_PID=39 18:48:12 Running ssh-add (command line suppressed) 18:48:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_343957937765561984.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_343957937765561984.key) 18:48:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:12 + git tag --points-at HEAD [Pipeline] } 18:48:12 $ docker exec --env ******** --env ******** 222709d945deb719e8f9546547f8a930b43a02e31e2cd9ba19783c766c4d79ad ssh-agent -k 18:48:12 unset SSH_AUTH_SOCK; 18:48:12 unset SSH_AGENT_PID; 18:48:12 echo Agent pid 39 killed; 18:48:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:48:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:12 [ssh-agent] Looking for ssh-agent implementation... 18:48:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:12 $ docker exec 222709d945deb719e8f9546547f8a930b43a02e31e2cd9ba19783c766c4d79ad ssh-agent 18:48:13 SSH_AUTH_SOCK=/tmp/ssh-kWjiDtYlO1zQ/agent.71 18:48:13 SSH_AGENT_PID=77 18:48:13 Running ssh-add (command line suppressed) 18:48:13 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4557162340811654806.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4557162340811654806.key) 18:48:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:13 + git semver init 18:48:13 2023-05-01 18:48:13,657 [run_init] DEBUG init version:0.0.0 force:False 18:48:13 2023-05-01 18:48:13,658 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:48:13 2023-05-01 18:48:13,658 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:48:13 2023-05-01 18:48:13,659 [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) 18:48:14 2023-05-01 18:48:14,448 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 18:48:14 2023-05-01 18:48:14,449 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 18:48:14 2023-05-01 18:48:14,449 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:48:14 2023-05-01 18:48:14,449 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:48:14 3.0.0-dev.27 [Pipeline] } 18:48:14 $ docker exec --env ******** --env ******** 222709d945deb719e8f9546547f8a930b43a02e31e2cd9ba19783c766c4d79ad ssh-agent -k 18:48:14 unset SSH_AUTH_SOCK; 18:48:14 unset SSH_AGENT_PID; 18:48:14 echo Agent pid 77 killed; 18:48:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:48:15 + git semver [Pipeline] } 18:48:15 $ docker stop --time=1 222709d945deb719e8f9546547f8a930b43a02e31e2cd9ba19783c766c4d79ad 18:48:16 $ docker rm -f --volumes 222709d945deb719e8f9546547f8a930b43a02e31e2cd9ba19783c766c4d79ad [Pipeline] // withDockerContainer [Pipeline] sh 18:48:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:48:17 Stashed 1 file(s) [Pipeline] echo 18:48:17 [edgeXSemver]: initialized semver on version 3.0.0-dev.27 [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 18:48:17 provisioning config files... 18:48:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8639350388712008041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:17 ---> docker-login.sh 18:48:17 nexus3.edgexfoundry.org:10001 18:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:17 Configure a credential helper to remove this warning. See 18:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:17 18:48:17 Login Succeeded 18:48:17 nexus3.edgexfoundry.org:10002 18:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:17 Configure a credential helper to remove this warning. See 18:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:17 18:48:17 Login Succeeded 18:48:17 nexus3.edgexfoundry.org:10003 18:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:17 Configure a credential helper to remove this warning. See 18:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:17 18:48:17 Login Succeeded 18:48:17 nexus3.edgexfoundry.org:10004 18:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:17 Configure a credential helper to remove this warning. See 18:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:17 18:48:17 Login Succeeded 18:48:17 docker.io 18:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:18 Configure a credential helper to remove this warning. See 18:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:18 18:48:18 Login Succeeded 18:48:18 ---> docker-login.sh ends [Pipeline] } 18:48:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:48:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:18 ========================================================= 18:48:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:48:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:18 + 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 . 18:48:18 Sending build context to Docker daemon 6.461MB 18:48:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:48:18 Step 2/12 : FROM ${BASE} AS builder 18:48:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:48:18 f56be85fc22e: Pulling fs layer 18:48:18 85791d961cd3: Pulling fs layer 18:48:18 d694b5ae8c79: Pulling fs layer 18:48:18 9f32a84ed3da: Pulling fs layer 18:48:18 4d19c01a9841: Pulling fs layer 18:48:18 9325e15d5711: Pulling fs layer 18:48:18 556b6ee489ea: Pulling fs layer 18:48:18 c5a4b2cf53e6: Pulling fs layer 18:48:18 9f32a84ed3da: Waiting 18:48:18 4d19c01a9841: Waiting 18:48:18 c5a4b2cf53e6: Waiting 18:48:18 9325e15d5711: Waiting 18:48:18 85791d961cd3: Download complete 18:48:18 9f32a84ed3da: Verifying Checksum 18:48:18 9f32a84ed3da: Download complete 18:48:18 4d19c01a9841: Verifying Checksum 18:48:18 4d19c01a9841: Download complete 18:48:18 f56be85fc22e: Verifying Checksum 18:48:18 f56be85fc22e: Download complete 18:48:18 9325e15d5711: Verifying Checksum 18:48:18 9325e15d5711: Download complete 18:48:18 f56be85fc22e: Pull complete 18:48:19 85791d961cd3: Pull complete 18:48:19 c5a4b2cf53e6: Verifying Checksum 18:48:19 c5a4b2cf53e6: Download complete 18:48:19 d694b5ae8c79: Verifying Checksum 18:48:19 d694b5ae8c79: Download complete 18:48:19 556b6ee489ea: Verifying Checksum 18:48:19 556b6ee489ea: Download complete 18:48:22 d694b5ae8c79: Pull complete 18:48:22 9f32a84ed3da: Pull complete 18:48:22 4d19c01a9841: Pull complete 18:48:22 9325e15d5711: Pull complete 18:48:25 556b6ee489ea: Pull complete 18:48:26 c5a4b2cf53e6: Pull complete 18:48:26 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:48:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:48:26 ---> c4be618373d6 18:48:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:48:29 ---> Running in bea1c4435c71 18:48:29 Removing intermediate container bea1c4435c71 18:48:29 ---> 054d7fd203cc 18:48:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:29 ---> Running in a537df30d411 18:48:29 Removing intermediate container a537df30d411 18:48:29 ---> 49bcb68cc4f6 18:48:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:48:29 ---> Running in 9d1f4057512e 18:48:30 Removing intermediate container 9d1f4057512e 18:48:30 ---> efd51baac344 18:48:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:48:30 ---> Running in 164c7c78b1b2 18:48:30 Removing intermediate container 164c7c78b1b2 18:48:30 ---> b524b7ac3321 18:48:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:48:30 ---> Running in 671fe10ad447 18:48:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:48:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:48:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:48:31 (2/4) Installing libedit (20221030.3.1-r0) 18:48:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:48:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:48:31 Executing busybox-1.35.0-r29.trigger 18:48:31 OK: 269 MiB in 57 packages 18:48:31 Removing intermediate container 671fe10ad447 18:48:31 ---> f3af35999b01 18:48:31 Step 8/12 : WORKDIR /device-mqtt-go 18:48:31 ---> Running in 47af4fd5302b 18:48:31 Removing intermediate container 47af4fd5302b 18:48:31 ---> 923a5b35db68 18:48:31 Step 9/12 : COPY go.mod vendor* ./ 18:48:31 ---> ba1e351df265 18:48:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:31 ---> Running in 694e2216213a 18:48:32 Still waiting to schedule task 18:48:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12222’ 18:48:58 Removing intermediate container 694e2216213a 18:48:58 ---> 23db8c6523be 18:48:58 Step 11/12 : COPY . . 18:48:58 ---> b466df5c21db 18:48:58 Step 12/12 : RUN $MAKE 18:48:58 ---> Running in 72a7d88c7908 18:48:58 noop 18:48:58 Removing intermediate container 72a7d88c7908 18:48:58 ---> a6367d9e004f 18:48:58 Successfully built a6367d9e004f 18:48:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:58 + docker inspect -f . ci-base-image-x86_64 18:48:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:58 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 18:48:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:48:59 $ docker top 487edd79afa87cae40251313c5d93627fff51b7952aa800a57d42a363fee88ad -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:59 + go version 18:48:59 go version go1.20.2 linux/amd64 [Pipeline] } 18:48:59 $ docker stop --time=1 487edd79afa87cae40251313c5d93627fff51b7952aa800a57d42a363fee88ad 18:49:00 $ docker rm -f --volumes 487edd79afa87cae40251313c5d93627fff51b7952aa800a57d42a363fee88ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:01 + docker inspect -f . ci-base-image-x86_64 18:49:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:01 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 18:49:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:49:01 $ docker top 6e818bcb323953c0074d3f5f30293724edba87e8b0f7215d0345f180f354031c -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 18:49:02 + make test 18:49:02 go test ./... -coverprofile=coverage.out ./... 18:49:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:49:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:49:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:49:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 24.6% of statements 18:49:24 go vet ./... 18:49:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:49:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:49:28 ./bin/test-attribution-txt.sh [Pipeline] echo 18:49:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:49:28 $ docker stop --time=1 6e818bcb323953c0074d3f5f30293724edba87e8b0f7215d0345f180f354031c 18:49:31 $ docker rm -f --volumes 6e818bcb323953c0074d3f5f30293724edba87e8b0f7215d0345f180f354031c [Pipeline] // withDockerContainer [Pipeline] sh 18:49:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:49:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:49:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:49:32 + ls -al . 18:49:32 total 180 18:49:32 drwxrwxr-x 10 jenkins jenkins 4096 May 1 18:49 . 18:49:32 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:47 .. 18:49:32 -rw-rw-r-- 1 jenkins jenkins 140 May 1 18:47 .dockerignore 18:49:32 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:48 .git 18:49:32 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:47 .github 18:49:32 -rw-rw-r-- 1 jenkins jenkins 329 May 1 18:47 .gitignore 18:49:32 -rw-rw-r-- 1 jenkins jenkins 41 May 1 18:47 .golangci.yml 18:49:32 drwxr-xr-x 3 jenkins jenkins 4096 May 1 18:48 .semver 18:49:32 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 18:47 Attribution.txt 18:49:32 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 18:47 CHANGELOG.md 18:49:32 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 18:47 Dockerfile 18:49:32 -rw-rw-r-- 1 jenkins jenkins 677 May 1 18:47 GOVERNANCE.md 18:49:32 -rw-rw-r-- 1 jenkins jenkins 678 May 1 18:47 Jenkinsfile 18:49:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 18:47 LICENSE 18:49:32 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 18:47 Makefile 18:49:32 -rw-rw-r-- 1 jenkins jenkins 620 May 1 18:47 OWNERS.md 18:49:32 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 18:47 README.md 18:49:32 -rw-rw-r-- 1 jenkins jenkins 12 May 1 18:48 VERSION 18:49:32 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:47 bin 18:49:32 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:47 cmd 18:49:32 -rw-r--r-- 1 jenkins jenkins 16535 May 1 18:49 coverage.out 18:49:32 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 18:47 go.mod 18:49:32 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 18:47 go.sum 18:49:32 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:47 internal 18:49:32 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:47 mock 18:49:32 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:47 snap 18:49:32 -rw-rw-r-- 1 jenkins jenkins 227 May 1 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:33 + 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=44db128f908bb002eba25d15c491b9a779a086c0 --label arch=amd64 --label version=3.0.0-dev.27 . 18:49:33 Sending build context to Docker daemon 6.478MB 18:49:33 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 18:49:33 Step 2/24 : FROM ${BASE} AS builder 18:49:33 ---> a6367d9e004f 18:49:33 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:49:33 ---> Running in 99e45b87a1b3 18:49:33 Removing intermediate container 99e45b87a1b3 18:49:33 ---> 7f81ac0000c6 18:49:33 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:49:33 ---> Running in bf0da0bbe60f 18:49:33 Removing intermediate container bf0da0bbe60f 18:49:33 ---> f9c688aeb6c4 18:49:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:49:33 ---> Running in f3c26280c52f 18:49:33 Removing intermediate container f3c26280c52f 18:49:33 ---> 6766eb82fbd8 18:49:33 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:49:33 ---> Running in a20d9e596d5b 18:49:33 Removing intermediate container a20d9e596d5b 18:49:33 ---> a70336ac213a 18:49:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:49:33 ---> Running in 15c7b5c953c8 18:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:49:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:49:34 OK: 269 MiB in 57 packages 18:49:34 Removing intermediate container 15c7b5c953c8 18:49:34 ---> e24659bb98bc 18:49:34 Step 8/24 : WORKDIR /device-mqtt-go 18:49:34 ---> Running in 3b6f669a43d1 18:49:34 Removing intermediate container 3b6f669a43d1 18:49:34 ---> 80932cb2ab09 18:49:34 Step 9/24 : COPY go.mod vendor* ./ 18:49:34 ---> ca27ec44a978 18:49:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:34 ---> Running in 1765d2a1e3db 18:49:35 Removing intermediate container 1765d2a1e3db 18:49:35 ---> 10b74b02b4b5 18:49:35 Step 11/24 : COPY . . 18:49:35 ---> 5c75e0f85f4b 18:49:35 Step 12/24 : RUN $MAKE 18:49:35 ---> Running in 49cdc1eda975 18:49:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:49:58 Removing intermediate container 49cdc1eda975 18:49:58 ---> 45f6818faed1 18:49:58 Step 13/24 : FROM alpine:3.17 18:49:58 3.17: Pulling from library/alpine 18:49:58 f56be85fc22e: Already exists 18:49:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:49:58 Status: Downloaded newer image for alpine:3.17 18:49:58 ---> 9ed4aefc74f6 18:49:58 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:49:58 ---> Running in f297a41683a6 18:49:58 Removing intermediate container f297a41683a6 18:49:58 ---> 59536f69f5eb 18:49:58 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:49:58 ---> Running in 33876bab1348 18:49:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:49:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:49:58 (1/1) Installing dumb-init (1.2.5-r2) 18:49:58 Executing busybox-1.35.0-r29.trigger 18:49:58 OK: 7 MiB in 16 packages 18:49:58 Removing intermediate container 33876bab1348 18:49:58 ---> 426b0c2d44d6 18:49:58 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:49:58 ---> 6fb782a77507 18:49:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:49:58 ---> 07409d100c00 18:49:58 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:49:58 ---> 18d5e338293a 18:49:58 Step 19/24 : EXPOSE 59982 18:49:58 ---> Running in 26ae07b43139 18:49:58 Removing intermediate container 26ae07b43139 18:49:58 ---> dfe39cdb6668 18:49:58 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:49:58 ---> Running in bf4e192eba7a 18:49:58 Removing intermediate container bf4e192eba7a 18:49:58 ---> e595da15a53b 18:49:58 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:49:58 ---> Running in 2fa2accef68d 18:49:58 Removing intermediate container 2fa2accef68d 18:49:58 ---> c34c3901dc08 18:49:58 Step 22/24 : LABEL arch=amd64 18:49:58 ---> Running in c462fa2105ac 18:49:58 Removing intermediate container c462fa2105ac 18:49:58 ---> 8cccfe94ef15 18:49:58 Step 23/24 : LABEL git_sha=44db128f908bb002eba25d15c491b9a779a086c0 18:49:58 ---> Running in 5c67f4724753 18:49:58 Removing intermediate container 5c67f4724753 18:49:58 ---> b6cb2e0455ff 18:49:58 Step 24/24 : LABEL version=3.0.0-dev.27 18:49:58 ---> Running in 71d769ae2828 18:49:58 Removing intermediate container 71d769ae2828 18:49:58 ---> 28822ac28524 18:49:58 [Warning] One or more build-args [ARCH] were not consumed 18:49:58 Successfully built 28822ac28524 18:49:58 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:58 provisioning config files... 18:49:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5688905805149283570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:58 ---> docker-login.sh 18:49:58 nexus3.edgexfoundry.org:10001 18:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:58 Configure a credential helper to remove this warning. See 18:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:58 18:49:58 Login Succeeded 18:49:58 nexus3.edgexfoundry.org:10002 18:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:58 Configure a credential helper to remove this warning. See 18:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:58 18:49:58 Login Succeeded 18:49:58 nexus3.edgexfoundry.org:10003 18:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:58 Configure a credential helper to remove this warning. See 18:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:58 18:49:58 Login Succeeded 18:49:58 nexus3.edgexfoundry.org:10004 18:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:58 Configure a credential helper to remove this warning. See 18:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:58 18:49:58 Login Succeeded 18:49:58 docker.io 18:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:59 Configure a credential helper to remove this warning. See 18:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:59 18:49:59 Login Succeeded 18:49:59 ---> docker-login.sh ends [Pipeline] } 18:49:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:49:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:49:59 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 18:49:59 44db128f908bb002eba25d15c491b9a779a086c0 18:49:59 latest 18:49:59 3.0.0-dev.27 18:49:59 44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27 18:49:59 main 18:49:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:44db128f908bb002eba25d15c491b9a779a086c0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:44db128f908bb002eba25d15c491b9a779a086c0 18:49:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:49:59 91d163de9f22: Preparing 18:49:59 df31afa2b29c: Preparing 18:49:59 33431a9c0e8d: Preparing 18:49:59 d81b73252c30: Preparing 18:49:59 f1417ff83b31: Preparing 18:49:59 f1417ff83b31: Layer already exists 18:49:59 d81b73252c30: Pushed 18:49:59 df31afa2b29c: Pushed 18:49:59 91d163de9f22: Pushed 18:50:02 33431a9c0e8d: Pushed 18:50:02 44db128f908bb002eba25d15c491b9a779a086c0: digest: sha256:f14901a98aaac92845594777c522eb4cf067e3c43be0f8f480e78c8384771be6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:50:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:02 91d163de9f22: Preparing 18:50:02 df31afa2b29c: Preparing 18:50:02 33431a9c0e8d: Preparing 18:50:02 d81b73252c30: Preparing 18:50:02 f1417ff83b31: Preparing 18:50:02 df31afa2b29c: Layer already exists 18:50:02 d81b73252c30: Layer already exists 18:50:02 91d163de9f22: Layer already exists 18:50:02 33431a9c0e8d: Layer already exists 18:50:02 f1417ff83b31: Layer already exists 18:50:02 latest: digest: sha256:f14901a98aaac92845594777c522eb4cf067e3c43be0f8f480e78c8384771be6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.27 18:50:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:03 91d163de9f22: Preparing 18:50:03 df31afa2b29c: Preparing 18:50:03 33431a9c0e8d: Preparing 18:50:03 d81b73252c30: Preparing 18:50:03 f1417ff83b31: Preparing 18:50:03 91d163de9f22: Layer already exists 18:50:03 d81b73252c30: Layer already exists 18:50:03 33431a9c0e8d: Layer already exists 18:50:03 df31afa2b29c: Layer already exists 18:50:03 f1417ff83b31: Layer already exists 18:50:03 3.0.0-dev.27: digest: sha256:f14901a98aaac92845594777c522eb4cf067e3c43be0f8f480e78c8384771be6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27 18:50:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:04 91d163de9f22: Preparing 18:50:04 df31afa2b29c: Preparing 18:50:04 33431a9c0e8d: Preparing 18:50:04 d81b73252c30: Preparing 18:50:04 f1417ff83b31: Preparing 18:50:04 91d163de9f22: Layer already exists 18:50:04 d81b73252c30: Layer already exists 18:50:04 df31afa2b29c: Layer already exists 18:50:04 f1417ff83b31: Layer already exists 18:50:04 33431a9c0e8d: Layer already exists 18:50:04 44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27: digest: sha256:f14901a98aaac92845594777c522eb4cf067e3c43be0f8f480e78c8384771be6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 18:50:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:04 91d163de9f22: Preparing 18:50:04 df31afa2b29c: Preparing 18:50:04 33431a9c0e8d: Preparing 18:50:04 d81b73252c30: Preparing 18:50:04 f1417ff83b31: Preparing 18:50:04 91d163de9f22: Layer already exists 18:50:04 d81b73252c30: Layer already exists 18:50:04 f1417ff83b31: Layer already exists 18:50:04 33431a9c0e8d: Layer already exists 18:50:04 df31afa2b29c: Layer already exists 18:50:04 main: digest: sha256:f14901a98aaac92845594777c522eb4cf067e3c43be0f8f480e78c8384771be6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:50:04 ===================================================== [Pipeline] echo 18:50:04 taggedImages: 18:50:04 - nexus3.edgexfoundry.org:10004/device-mqtt:44db128f908bb002eba25d15c491b9a779a086c0 18:50:04 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:50:04 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.27 18:50:04 - nexus3.edgexfoundry.org:10004/device-mqtt:44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27 18:50:04 - 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 18:50:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:05 18:50:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:05 latest: Pulling from edgex-lftools-log-publisher 18:50:05 5eb5b503b376: Pulling fs layer 18:50:05 5c69ac0246d0: Pulling fs layer 18:50:05 ec43610c2a17: Pulling fs layer 18:50:05 3a2ae6a8a46f: Pulling fs layer 18:50:05 33b1e0a273af: Pulling fs layer 18:50:05 5d3b04190fa2: Pulling fs layer 18:50:05 2f39f015ded8: Pulling fs layer 18:50:05 33b1e0a273af: Waiting 18:50:05 2f39f015ded8: Waiting 18:50:05 5d3b04190fa2: Waiting 18:50:05 3a2ae6a8a46f: Waiting 18:50:05 5c69ac0246d0: Verifying Checksum 18:50:05 5c69ac0246d0: Download complete 18:50:05 3a2ae6a8a46f: Verifying Checksum 18:50:05 3a2ae6a8a46f: Download complete 18:50:05 33b1e0a273af: Verifying Checksum 18:50:05 33b1e0a273af: Download complete 18:50:05 5d3b04190fa2: Verifying Checksum 18:50:05 5d3b04190fa2: Download complete 18:50:05 ec43610c2a17: Verifying Checksum 18:50:05 ec43610c2a17: Download complete 18:50:05 5eb5b503b376: Verifying Checksum 18:50:05 5eb5b503b376: Download complete 18:50:06 2f39f015ded8: Download complete 18:50:06 5eb5b503b376: Pull complete 18:50:07 5c69ac0246d0: Pull complete 18:50:07 ec43610c2a17: Pull complete 18:50:07 3a2ae6a8a46f: Pull complete 18:50:07 33b1e0a273af: Pull complete 18:50:07 5d3b04190fa2: Pull complete 18:50:13 2f39f015ded8: Pull complete 18:50:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:50:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:13 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 18:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:50:16 $ docker top 7c3839755a5f58a68aee2f6b911f4618c08436ed045aadc113eb0c278df35ffa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:16 ---> job-cost.sh 18:50:16 lf-activate-venv: SKIPPING 18:50:16 INFO: No Stack... 18:50:16 INFO: Retrieving Pricing Info for: v3-standard-8 18:50:17 INFO: Archiving Costs [Pipeline] sh 18:50:17 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 18:50:17 + cut -d, -f6 [Pipeline] lock 18:50:17 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-111-stack-cost] 18:50:17 Resource [jenkins-edgexfoundry-device-mqtt-go-main-111-stack-cost] did not exist. Created. 18:50:17 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:50:17 + echo total: 0.2199999988079071 [Pipeline] stash 18:50:17 Stashed 1 file(s) [Pipeline] } 18:50:17 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 18:50:18 $ docker stop --time=1 7c3839755a5f58a68aee2f6b911f4618c08436ed045aadc113eb0c278df35ffa 18:50:19 $ docker rm -f --volumes 7c3839755a5f58a68aee2f6b911f4618c08436ed045aadc113eb0c278df35ffa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:51:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12226 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 18:51:17 Running in /w/workspace/device-mqtt-go/111 [Pipeline] { [Pipeline] checkout 18:51:17 Selected Git installation does not exist. Using Default 18:51:17 The recommended git tool is: NONE 18:51:23 using credential edgex-jenkins-ssh 18:51:23 Cloning the remote Git repository 18:51:23 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:51:23 > git init /w/workspace/device-mqtt-go/111 # timeout=10 18:51:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:51:24 > git --version # timeout=10 18:51:24 > git --version # 'git version 2.25.1' 18:51:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:51:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:51:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:51:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:51:27 Avoid second fetch 18:51:27 Checking out Revision 44db128f908bb002eba25d15c491b9a779a086c0 (main) 18:51:27 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#584)" 18:51:27 > git config core.sparsecheckout # timeout=10 18:51:27 > git checkout -f 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:51:28 % Total % Received % Xferd Average Speed Time Time Time Current 18:51:28 Dload Upload Total Spent Left Speed 18:51:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 18:51:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:51:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:51:29 + sudo tee /etc/docker/daemon.new 18:51:29 { 18:51:29 "registry-mirrors": [ 18:51:29 "https://nexus3.edgexfoundry.org:10001" 18:51:29 ], 18:51:29 "bip": "10.250.0.254/24", 18:51:29 "hosts": [ 18:51:29 "tcp://0.0.0.0:5555", 18:51:29 "unix:///var/run/docker.sock" 18:51:29 ], 18:51:29 "mtu": 1458, 18:51:29 "selinux-enabled": true, 18:51:29 "seccomp-profile": "/etc/docker/seccomp.json" 18:51:29 } [Pipeline] sh 18:51:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:51:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:48 provisioning config files... 18:51:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/111@tmp/config14531179896743366063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:49 ---> docker-login.sh 18:51:49 nexus3.edgexfoundry.org:10001 18:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:49 Configure a credential helper to remove this warning. See 18:51:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:49 18:51:49 Login Succeeded 18:51:49 nexus3.edgexfoundry.org:10002 18:51:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:50 Configure a credential helper to remove this warning. See 18:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:50 18:51:50 Login Succeeded 18:51:50 nexus3.edgexfoundry.org:10003 18:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:50 Configure a credential helper to remove this warning. See 18:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:50 18:51:50 Login Succeeded 18:51:50 nexus3.edgexfoundry.org:10004 18:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:50 Configure a credential helper to remove this warning. See 18:51:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:50 18:51:50 Login Succeeded 18:51:50 docker.io 18:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:51 Configure a credential helper to remove this warning. See 18:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:51 18:51:51 Login Succeeded 18:51:51 ---> docker-login.sh ends [Pipeline] } 18:51:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:51:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:51 ========================================================= 18:51:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:51:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:52 + 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 . 18:51:52 Sending build context to Docker daemon 3.367MB 18:51:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:51:52 Step 2/12 : FROM ${BASE} AS builder 18:51:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:51:53 c41833b44d91: Pulling fs layer 18:51:53 ed15518f5707: Pulling fs layer 18:51:53 feae8fd75edb: Pulling fs layer 18:51:53 242c74f7c9fa: Pulling fs layer 18:51:53 3cdef696dda3: Pulling fs layer 18:51:53 2ced38df9373: Pulling fs layer 18:51:53 58f1dce35555: Pulling fs layer 18:51:53 3cdef696dda3: Waiting 18:51:53 2ced38df9373: Waiting 18:51:53 58f1dce35555: Waiting 18:51:53 242c74f7c9fa: Waiting 18:51:53 ed15518f5707: Verifying Checksum 18:51:53 ed15518f5707: Download complete 18:51:53 242c74f7c9fa: Verifying Checksum 18:51:53 242c74f7c9fa: Download complete 18:51:53 3cdef696dda3: Verifying Checksum 18:51:53 3cdef696dda3: Download complete 18:51:53 c41833b44d91: Verifying Checksum 18:51:53 c41833b44d91: Download complete 18:51:54 c41833b44d91: Pull complete 18:51:54 58f1dce35555: Verifying Checksum 18:51:54 58f1dce35555: Download complete 18:51:55 ed15518f5707: Pull complete 18:51:55 feae8fd75edb: Verifying Checksum 18:51:55 feae8fd75edb: Download complete 18:51:55 2ced38df9373: Download complete 18:52:08 feae8fd75edb: Pull complete 18:52:08 242c74f7c9fa: Pull complete 18:52:08 3cdef696dda3: Pull complete 18:52:15 2ced38df9373: Pull complete 18:52:16 58f1dce35555: Pull complete 18:52:16 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:52:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:52:16 ---> fadd8f120f05 18:52:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:52:18 ---> Running in f4c63b1785ce 18:52:18 Removing intermediate container f4c63b1785ce 18:52:18 ---> e5b3633ef8f8 18:52:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:52:19 ---> Running in aad6e38f501d 18:52:19 Removing intermediate container aad6e38f501d 18:52:19 ---> 67837e16bdf3 18:52:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:52:19 ---> Running in ccf43390af47 18:52:19 Removing intermediate container ccf43390af47 18:52:19 ---> ef32db00e845 18:52:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:52:19 ---> Running in be433ead1f8d 18:52:20 Removing intermediate container be433ead1f8d 18:52:20 ---> f4ecfa3418aa 18:52:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:52:20 ---> Running in 4460c4a76ab3 18:52:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:52:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:52:22 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:52:22 (2/4) Installing libedit (20221030.3.1-r0) 18:52:22 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:52:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:52:23 Executing busybox-1.35.0-r29.trigger 18:52:23 OK: 268 MiB in 57 packages 18:52:24 Removing intermediate container 4460c4a76ab3 18:52:24 ---> 705ef86d9d92 18:52:24 Step 8/12 : WORKDIR /device-mqtt-go 18:52:24 ---> Running in 9dd9aab03c96 18:52:24 Removing intermediate container 9dd9aab03c96 18:52:24 ---> 5f7b57e8699c 18:52:24 Step 9/12 : COPY go.mod vendor* ./ 18:52:25 ---> 30dc076633a1 18:52:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:25 ---> Running in a49f21f4381a 18:53:33 Removing intermediate container a49f21f4381a 18:53:33 ---> e18885d5500f 18:53:33 Step 11/12 : COPY . . 18:53:33 ---> 8863ffc59ce4 18:53:33 Step 12/12 : RUN $MAKE 18:53:33 ---> Running in c0ec41bc8f0e 18:53:33 noop 18:53:33 Removing intermediate container c0ec41bc8f0e 18:53:33 ---> 02ed2d16316e 18:53:33 Successfully built 02ed2d16316e 18:53:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:33 + docker inspect -f . ci-base-image-arm64 18:53:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:33 prd-ubuntu20.04-docker-arm64-4c-16g-12226 does not seem to be running inside a container 18:53:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/111 -v /w/workspace/device-mqtt-go/111:/w/workspace/device-mqtt-go/111:rw,z -v /w/workspace/device-mqtt-go/111@tmp:/w/workspace/device-mqtt-go/111@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 18:53:35 $ docker top dcbe0da07430bb85b6d344a574f7ad587552e07b048db7ed36ab670c678bffe0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:35 + go version 18:53:35 go version go1.20.2 linux/arm64 [Pipeline] } 18:53:35 $ docker stop --time=1 dcbe0da07430bb85b6d344a574f7ad587552e07b048db7ed36ab670c678bffe0 18:53:37 $ docker rm -f --volumes dcbe0da07430bb85b6d344a574f7ad587552e07b048db7ed36ab670c678bffe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:38 + docker inspect -f . ci-base-image-arm64 18:53:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:38 prd-ubuntu20.04-docker-arm64-4c-16g-12226 does not seem to be running inside a container 18:53:38 $ 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/111 -v /w/workspace/device-mqtt-go/111:/w/workspace/device-mqtt-go/111:rw,z -v /w/workspace/device-mqtt-go/111@tmp:/w/workspace/device-mqtt-go/111@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 18:53:39 $ docker top b0677dcd1ba5f97a3f409743a26439f455443a2a91fa291936c56366f7e5c531 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:40 + git config --global --add safe.directory /w/workspace/device-mqtt-go/111 [Pipeline] fileExists [Pipeline] sh 18:53:40 + make test 18:53:40 go test ./... -coverprofile=coverage.out ./... 18:54:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:56:04 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:56:04 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:56:04 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 24.6% of statements 18:56:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:56:05 go vet ./... 18:56:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:56:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:56:32 ./bin/test-attribution-txt.sh [Pipeline] echo 18:56:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:56:32 $ docker stop --time=1 b0677dcd1ba5f97a3f409743a26439f455443a2a91fa291936c56366f7e5c531 18:56:33 $ docker rm -f --volumes b0677dcd1ba5f97a3f409743a26439f455443a2a91fa291936c56366f7e5c531 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:56:35 Warning: overwriting stash ‘coverage-report’ 18:56:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:56:36 + ls -al . 18:56:36 total 176 18:56:36 drwxrwxr-x 9 jenkins jenkins 4096 May 1 18:53 . 18:56:36 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:51 .. 18:56:36 -rw-rw-r-- 1 jenkins jenkins 140 May 1 18:51 .dockerignore 18:56:36 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:51 .git 18:56:36 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:51 .github 18:56:36 -rw-rw-r-- 1 jenkins jenkins 329 May 1 18:51 .gitignore 18:56:36 -rw-rw-r-- 1 jenkins jenkins 41 May 1 18:51 .golangci.yml 18:56:36 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 18:51 Attribution.txt 18:56:36 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 18:51 CHANGELOG.md 18:56:36 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 18:51 Dockerfile 18:56:36 -rw-rw-r-- 1 jenkins jenkins 677 May 1 18:51 GOVERNANCE.md 18:56:36 -rw-rw-r-- 1 jenkins jenkins 678 May 1 18:51 Jenkinsfile 18:56:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 18:51 LICENSE 18:56:36 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 18:51 Makefile 18:56:36 -rw-rw-r-- 1 jenkins jenkins 620 May 1 18:51 OWNERS.md 18:56:36 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 18:51 README.md 18:56:36 -rw-rw-r-- 1 jenkins jenkins 12 May 1 18:48 VERSION 18:56:36 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:51 bin 18:56:36 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:51 cmd 18:56:36 -rw-r--r-- 1 jenkins jenkins 16535 May 1 18:56 coverage.out 18:56:36 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 18:51 go.mod 18:56:36 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 18:51 go.sum 18:56:36 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:51 internal 18:56:36 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:51 mock 18:56:36 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:51 snap 18:56:36 -rw-rw-r-- 1 jenkins jenkins 227 May 1 18:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:36 + 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=44db128f908bb002eba25d15c491b9a779a086c0 --label arch=arm64 --label version=3.0.0-dev.27 . 18:56:37 Sending build context to Docker daemon 3.384MB 18:56:37 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 18:56:37 Step 2/24 : FROM ${BASE} AS builder 18:56:37 ---> 02ed2d16316e 18:56:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:56:37 ---> Running in b0b8151ebcc7 18:56:37 Removing intermediate container b0b8151ebcc7 18:56:37 ---> d40e7914c846 18:56:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:56:37 ---> Running in 3da966304b1f 18:56:37 Removing intermediate container 3da966304b1f 18:56:37 ---> 05fe3c992555 18:56:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:56:38 ---> Running in 00062eeeabc2 18:56:38 Removing intermediate container 00062eeeabc2 18:56:38 ---> 99804d19a221 18:56:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:56:38 ---> Running in b26a34ffac09 18:56:38 Removing intermediate container b26a34ffac09 18:56:38 ---> f1d78b7c45df 18:56:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:38 ---> Running in 5aaf2b0e43a5 18:56:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:56:41 OK: 268 MiB in 57 packages 18:56:42 Removing intermediate container 5aaf2b0e43a5 18:56:42 ---> ab2428f6e5f1 18:56:42 Step 8/24 : WORKDIR /device-mqtt-go 18:56:42 ---> Running in 6b3901740483 18:56:42 Removing intermediate container 6b3901740483 18:56:42 ---> afa42b25bd3f 18:56:42 Step 9/24 : COPY go.mod vendor* ./ 18:56:43 ---> 4f193769701c 18:56:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:56:43 ---> Running in a01c98699f99 18:56:45 Removing intermediate container a01c98699f99 18:56:45 ---> efab1dd85159 18:56:45 Step 11/24 : COPY . . 18:56:46 ---> c87a4499deb2 18:56:46 Step 12/24 : RUN $MAKE 18:56:46 ---> Running in 939e2c0bbc8c 18:56:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:59:09 Removing intermediate container 939e2c0bbc8c 18:59:09 ---> 92eab211d2ec 18:59:09 Step 13/24 : FROM alpine:3.17 18:59:09 3.17: Pulling from library/alpine 18:59:09 c41833b44d91: Already exists 18:59:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:59:09 Status: Downloaded newer image for alpine:3.17 18:59:09 ---> 51e60588ff2c 18:59:09 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:59:09 ---> Running in 157f1e11cf63 18:59:09 Removing intermediate container 157f1e11cf63 18:59:09 ---> 955be0fade0e 18:59:09 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:59:09 ---> Running in d278cd790f47 18:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:59:09 (1/1) Installing dumb-init (1.2.5-r2) 18:59:09 Executing busybox-1.35.0-r29.trigger 18:59:09 OK: 8 MiB in 16 packages 18:59:09 Removing intermediate container d278cd790f47 18:59:09 ---> 7a93f0b935c9 18:59:09 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:59:09 ---> 9cad0aa9157d 18:59:09 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:59:09 ---> 01b5839ea816 18:59:09 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:59:09 ---> 043682ff9fe5 18:59:09 Step 19/24 : EXPOSE 59982 18:59:09 ---> Running in 6eea9729801d 18:59:09 Removing intermediate container 6eea9729801d 18:59:09 ---> 412734eedc93 18:59:09 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:59:09 ---> Running in 8c0c8c87d9cb 18:59:09 Removing intermediate container 8c0c8c87d9cb 18:59:09 ---> bb9bc8a63a0c 18:59:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:59:09 ---> Running in 1c7fa5ddd1fb 18:59:09 Removing intermediate container 1c7fa5ddd1fb 18:59:09 ---> ac56229e64b6 18:59:09 Step 22/24 : LABEL arch=arm64 18:59:09 ---> Running in a76b834e8957 18:59:09 Removing intermediate container a76b834e8957 18:59:09 ---> 6a42860408a8 18:59:09 Step 23/24 : LABEL git_sha=44db128f908bb002eba25d15c491b9a779a086c0 18:59:09 ---> Running in 921e34cb1e9e 18:59:10 Removing intermediate container 921e34cb1e9e 18:59:10 ---> 62f1dde152b7 18:59:10 Step 24/24 : LABEL version=3.0.0-dev.27 18:59:10 ---> Running in 8d5be5eb0abb 18:59:10 Removing intermediate container 8d5be5eb0abb 18:59:10 ---> 01de66a740f0 18:59:10 [Warning] One or more build-args [ARCH] were not consumed 18:59:10 Successfully built 01de66a740f0 18:59:10 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 18:59:10 provisioning config files... 18:59:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/111@tmp/config1486879441782753879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:11 ---> docker-login.sh 18:59:11 nexus3.edgexfoundry.org:10001 18:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:11 Configure a credential helper to remove this warning. See 18:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:11 18:59:11 Login Succeeded 18:59:11 nexus3.edgexfoundry.org:10002 18:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:11 Configure a credential helper to remove this warning. See 18:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:11 18:59:11 Login Succeeded 18:59:11 nexus3.edgexfoundry.org:10003 18:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:12 Configure a credential helper to remove this warning. See 18:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:12 18:59:12 Login Succeeded 18:59:12 nexus3.edgexfoundry.org:10004 18:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:12 Configure a credential helper to remove this warning. See 18:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:12 18:59:12 Login Succeeded 18:59:12 docker.io 18:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:13 Configure a credential helper to remove this warning. See 18:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:13 18:59:13 Login Succeeded 18:59:13 ---> docker-login.sh ends [Pipeline] } 18:59:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:59:13 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 18:59:13 44db128f908bb002eba25d15c491b9a779a086c0 18:59:13 latest 18:59:13 3.0.0-dev.27 18:59:13 44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27 18:59:13 main 18:59:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:44db128f908bb002eba25d15c491b9a779a086c0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:44db128f908bb002eba25d15c491b9a779a086c0 18:59:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:13 75b272c5d530: Preparing 18:59:13 ce054e97d0ea: Preparing 18:59:13 b1fdb3e542f1: Preparing 18:59:13 12d42a696e34: Preparing 18:59:13 26cbea5cba74: Preparing 18:59:13 26cbea5cba74: Layer already exists 18:59:14 ce054e97d0ea: Pushed 18:59:14 75b272c5d530: Pushed 18:59:14 12d42a696e34: Pushed 18:59:19 b1fdb3e542f1: Pushed 18:59:19 44db128f908bb002eba25d15c491b9a779a086c0: digest: sha256:6d97f6b0ebc81ae2ce5789cdf67c377a59688af6351a5295f395c2dc08edf35f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:59:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:20 75b272c5d530: Preparing 18:59:20 ce054e97d0ea: Preparing 18:59:20 b1fdb3e542f1: Preparing 18:59:20 12d42a696e34: Preparing 18:59:20 26cbea5cba74: Preparing 18:59:20 75b272c5d530: Layer already exists 18:59:20 26cbea5cba74: Layer already exists 18:59:20 12d42a696e34: Layer already exists 18:59:20 ce054e97d0ea: Layer already exists 18:59:20 b1fdb3e542f1: Layer already exists 18:59:20 latest: digest: sha256:6d97f6b0ebc81ae2ce5789cdf67c377a59688af6351a5295f395c2dc08edf35f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.27 18:59:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:20 75b272c5d530: Preparing 18:59:20 ce054e97d0ea: Preparing 18:59:20 b1fdb3e542f1: Preparing 18:59:20 12d42a696e34: Preparing 18:59:20 26cbea5cba74: Preparing 18:59:20 26cbea5cba74: Layer already exists 18:59:20 b1fdb3e542f1: Layer already exists 18:59:20 75b272c5d530: Layer already exists 18:59:20 12d42a696e34: Layer already exists 18:59:20 ce054e97d0ea: Layer already exists 18:59:20 3.0.0-dev.27: digest: sha256:6d97f6b0ebc81ae2ce5789cdf67c377a59688af6351a5295f395c2dc08edf35f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27 18:59:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:21 75b272c5d530: Preparing 18:59:21 ce054e97d0ea: Preparing 18:59:21 b1fdb3e542f1: Preparing 18:59:21 12d42a696e34: Preparing 18:59:21 26cbea5cba74: Preparing 18:59:21 ce054e97d0ea: Layer already exists 18:59:21 26cbea5cba74: Layer already exists 18:59:21 12d42a696e34: Layer already exists 18:59:21 75b272c5d530: Layer already exists 18:59:21 b1fdb3e542f1: Layer already exists 18:59:21 44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27: digest: sha256:6d97f6b0ebc81ae2ce5789cdf67c377a59688af6351a5295f395c2dc08edf35f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 18:59:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:22 75b272c5d530: Preparing 18:59:22 ce054e97d0ea: Preparing 18:59:22 b1fdb3e542f1: Preparing 18:59:22 12d42a696e34: Preparing 18:59:22 26cbea5cba74: Preparing 18:59:22 12d42a696e34: Layer already exists 18:59:22 ce054e97d0ea: Layer already exists 18:59:22 b1fdb3e542f1: Layer already exists 18:59:22 26cbea5cba74: Layer already exists 18:59:22 75b272c5d530: Layer already exists 18:59:22 main: digest: sha256:6d97f6b0ebc81ae2ce5789cdf67c377a59688af6351a5295f395c2dc08edf35f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:59:22 ===================================================== [Pipeline] echo 18:59:22 taggedImages: 18:59:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:44db128f908bb002eba25d15c491b9a779a086c0 18:59:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:59:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.27 18:59:22 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:44db128f908bb002eba25d15c491b9a779a086c0-3.0.0-dev.27 18:59:22 - 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 18:59:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:23 18:59:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:23 arm64: Pulling from edgex-lftools-log-publisher 18:59:23 8998bd30e6a1: Pulling fs layer 18:59:23 04944245beec: Pulling fs layer 18:59:23 699f458cf7ca: Pulling fs layer 18:59:23 765212b225bb: Pulling fs layer 18:59:23 f23df028b6ca: Pulling fs layer 18:59:23 d65c8cfc05b1: Pulling fs layer 18:59:23 2437ff75d9bd: Pulling fs layer 18:59:23 765212b225bb: Waiting 18:59:23 f23df028b6ca: Waiting 18:59:23 d65c8cfc05b1: Waiting 18:59:23 2437ff75d9bd: Waiting 18:59:23 04944245beec: Verifying Checksum 18:59:23 04944245beec: Download complete 18:59:23 765212b225bb: Verifying Checksum 18:59:23 765212b225bb: Download complete 18:59:23 f23df028b6ca: Verifying Checksum 18:59:23 f23df028b6ca: Download complete 18:59:23 d65c8cfc05b1: Verifying Checksum 18:59:23 d65c8cfc05b1: Download complete 18:59:23 699f458cf7ca: Verifying Checksum 18:59:23 699f458cf7ca: Download complete 18:59:24 8998bd30e6a1: Download complete 18:59:26 2437ff75d9bd: Verifying Checksum 18:59:26 2437ff75d9bd: Download complete 18:59:28 8998bd30e6a1: Pull complete 18:59:30 04944245beec: Pull complete 18:59:32 699f458cf7ca: Pull complete 18:59:32 765212b225bb: Pull complete 18:59:33 f23df028b6ca: Pull complete 18:59:33 d65c8cfc05b1: Pull complete 18:59:48 2437ff75d9bd: Pull complete 18:59:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:48 prd-ubuntu20.04-docker-arm64-4c-16g-12226 does not seem to be running inside a container 18:59:48 $ 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/111 -v /w/workspace/device-mqtt-go/111:/w/workspace/device-mqtt-go/111:rw,z -v /w/workspace/device-mqtt-go/111@tmp:/w/workspace/device-mqtt-go/111@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 18:59:51 $ docker top 5513e14eac4741a4806557acf1e2219a849d10813ff15f45254792d5751b2f63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:51 ---> job-cost.sh 18:59:51 lf-activate-venv: SKIPPING 18:59:51 INFO: No Stack... 18:59:52 INFO: Retrieving Pricing Info for: v3-standard-4 18:59:53 INFO: Archiving Costs [Pipeline] sh 18:59:53 + cat /w/workspace/device-mqtt-go/111/archives/cost.csv 18:59:53 + cut -d, -f6 [Pipeline] lock 18:59:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-111-stack-cost] 18:59:53 Resource [jenkins-edgexfoundry-device-mqtt-go-main-111-stack-cost] did not exist. Created. 18:59:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:59:54 /w/workspace/device-mqtt-go/111@tmp/durable-18819e25/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:59:55 + echo total: 0.10999999940395355 [Pipeline] stash 18:59:55 Warning: overwriting stash ‘stack-cost’ 18:59:55 Stashed 1 file(s) [Pipeline] } 18:59:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 18:59:55 $ docker stop --time=1 5513e14eac4741a4806557acf1e2219a849d10813ff15f45254792d5751b2f63 18:59:56 $ docker rm -f --volumes 5513e14eac4741a4806557acf1e2219a849d10813ff15f45254792d5751b2f63 [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 18:59:58 provisioning config files... 18:59:58 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7224207351622620603tmp [Pipeline] { [Pipeline] sh 18:59:59 + set +x 18:59:59 + curl -s https://codecov.io/bash 18:59:59 + bash -s -- 18:59:59 18:59:59 _____ _ 18:59:59 / ____| | | 18:59:59 | | ___ __| | ___ ___ _____ __ 18:59:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:59:59 | |___| (_) | (_| | __/ (_| (_) \ V / 18:59:59 \_____\___/ \__,_|\___|\___\___/ \_/ 18:59:59 Bash-1.0.6 18:59:59 18:59:59 18:59:59 ==> git version 2.25.1 found 18:59:59 ==> 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 18:59:59 Release-Date: 2020-01-08 18:59:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:59:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:59:59 ==> Jenkins CI detected. 18:59:59 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 18:59:59 project root: . 18:59:59 --> token set from env 18:59:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:59:59 ==> Running gcov in . (disable via -X gcov) 18:59:59 ==> Python coveragepy not found 18:59:59 ==> Searching for coverage reports in: 18:59:59 + . 18:59:59 -> Found 1 reports 18:59:59 ==> Detecting git/mercurial file structure 18:59:59 ==> Reading reports 18:59:59 + ./coverage.out bytes=16535 18:59:59 ==> Appending adjustments 18:59:59 https://docs.codecov.io/docs/fixing-reports 18:59:59 + Found adjustments 18:59:59 ==> Gzipping contents 18:59:59 4.0K /tmp/codecov.cj03r2.gz 18:59:59 ==> Uploading reports 18:59:59 url: https://codecov.io 18:59:59 query: branch=main&commit=44db128f908bb002eba25d15c491b9a779a086c0&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:59:59 -> Pinging Codecov 18:59:59 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=44db128f908bb002eba25d15c491b9a779a086c0&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:59:59 -> Uploading to 18:59:59 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/7D719EC7BBE17E464838252E33014C33/44db128f908bb002eba25d15c491b9a779a086c0/27a0abe5-8d0d-4820-9f87-63d14aa7ea9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T185959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a91b1b8f4224c0e593da6de4db3d673a40918d93b2fb5cfe86d6081fdade3b32 18:59:59 % Total % Received % Xferd Average Speed Time Time Time Current 18:59:59 Dload Upload Total Spent Left Speed 18:59:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 12364 --:--:-- --:--:-- --:--:-- 12364 18:59:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/44db128f908bb002eba25d15c491b9a779a086c0 [Pipeline] } 18:59:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:00:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:00:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:00:00 19:00:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:00:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:00:00 df9b9388f04a: Pulling fs layer 19:00:00 52dc419b0ee2: Pulling fs layer 19:00:00 25bc292e5bac: Pulling fs layer 19:00:00 114826534d7a: Pulling fs layer 19:00:00 4657fd5d0bcf: Pulling fs layer 19:00:00 6ad1cebc031e: Pulling fs layer 19:00:00 8a3aa393b2d8: Pulling fs layer 19:00:00 114826534d7a: Waiting 19:00:00 4657fd5d0bcf: Waiting 19:00:00 8a3aa393b2d8: Waiting 19:00:00 6ad1cebc031e: Waiting 19:00:00 25bc292e5bac: Verifying Checksum 19:00:00 25bc292e5bac: Download complete 19:00:00 52dc419b0ee2: Verifying Checksum 19:00:00 52dc419b0ee2: Download complete 19:00:00 4657fd5d0bcf: Download complete 19:00:00 df9b9388f04a: Verifying Checksum 19:00:00 df9b9388f04a: Download complete 19:00:00 6ad1cebc031e: Verifying Checksum 19:00:00 6ad1cebc031e: Download complete 19:00:00 df9b9388f04a: Pull complete 19:00:00 52dc419b0ee2: Pull complete 19:00:01 25bc292e5bac: Pull complete 19:00:01 114826534d7a: Verifying Checksum 19:00:01 114826534d7a: Download complete 19:00:01 8a3aa393b2d8: Verifying Checksum 19:00:01 8a3aa393b2d8: Download complete 19:00:04 114826534d7a: Pull complete 19:00:04 4657fd5d0bcf: Pull complete 19:00:05 6ad1cebc031e: Pull complete 19:00:07 8a3aa393b2d8: Pull complete 19:00:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:00:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:00:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:07 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 19:00:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:00:10 $ docker top 4a422415d354751b73d5d0b4d3e3abdeab42ebd902fda010dd96ff96a454c4a6 -eo pid,comm [Pipeline] { [Pipeline] echo 19:00:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 19:00:10 + set -o pipefail 19:00:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 19:00:17 19:00:17 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 19:00:17 19:00:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/eb561e1b-fed6-46b1-9a25-a56ab2392e7e 19:00:17 19:00:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:00:17 19:00:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:00:17 19:00:18 19:00:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:00:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:00:18 More details here: https://snyk.co/ue1NS [Pipeline] } 19:00:18 $ docker stop --time=1 4a422415d354751b73d5d0b4d3e3abdeab42ebd902fda010dd96ff96a454c4a6 19:00:20 $ docker rm -f --volumes 4a422415d354751b73d5d0b4d3e3abdeab42ebd902fda010dd96ff96a454c4a6 [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 19:00:21 + git log --format=format:%s -1 44db128f908bb002eba25d15c491b9a779a086c0 [Pipeline] sh 19:00:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:00:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:21 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 19:00: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:00:22 $ docker top b1e88d7845759acbb54c4f7101aa84cb00624507680714456c60ac162830d57a -eo pid,comm 19:00:22 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). 19:00:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:22 [ssh-agent] Looking for ssh-agent implementation... 19:00:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:22 $ docker exec b1e88d7845759acbb54c4f7101aa84cb00624507680714456c60ac162830d57a ssh-agent 19:00:22 SSH_AUTH_SOCK=/tmp/ssh-Wtfx0ccW1SzW/agent.32 19:00:22 SSH_AGENT_PID=38 19:00:22 Running ssh-add (command line suppressed) 19:00:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13583924559952421359.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13583924559952421359.key) 19:00:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:23 + git semver tag 19:00:23 2023-05-01 19:00:23,302 [run_tag] DEBUG tag force:False 19:00:23 2023-05-01 19:00:23,303 [check_head_tag] DEBUG check head tag 19:00:23 2023-05-01 19:00:23,304 [execute] INFO git cat-file --batch-check 19:00:23 2023-05-01 19:00:23,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 19:00:23 2023-05-01 19:00:23,308 [execute] INFO git cat-file --batch 19:00:23 2023-05-01 19:00:23,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 19:00:23 2023-05-01 19:00:23,329 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:23 2023-05-01 19:00:23,329 [execute] INFO git tag -a v3.0.0-dev.27 -m v3.0.0-dev.27 19:00:23 2023-05-01 19:00:23,329 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.27', '-m', 'v3.0.0-dev.27'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 19:00:23 2023-05-01 19:00:23,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:23 3.0.0-dev.27 [Pipeline] } 19:00:23 $ docker exec --env ******** --env ******** b1e88d7845759acbb54c4f7101aa84cb00624507680714456c60ac162830d57a ssh-agent -k 19:00:23 unset SSH_AUTH_SOCK; 19:00:23 unset SSH_AGENT_PID; 19:00:23 echo Agent pid 38 killed; 19:00:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:00:23 + git semver [Pipeline] } 19:00:24 $ docker stop --time=1 b1e88d7845759acbb54c4f7101aa84cb00624507680714456c60ac162830d57a 19:00:25 $ docker rm -f --volumes b1e88d7845759acbb54c4f7101aa84cb00624507680714456c60ac162830d57a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:00:25 19:00:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:00:26 0.23.1-centos7: Pulling from edgex-lftools 19:00:26 ab5ef0e58194: Pulling fs layer 19:00:26 9712f1f96733: Pulling fs layer 19:00:26 63f879dbbcfc: Pulling fs layer 19:00:26 0d9ebad4ef96: Pulling fs layer 19:00:26 e9a5061849ea: Pulling fs layer 19:00:26 d747dcd14b5f: Pulling fs layer 19:00:26 2de7ff778b66: Pulling fs layer 19:00:26 0d9ebad4ef96: Waiting 19:00:26 e9a5061849ea: Waiting 19:00:26 d747dcd14b5f: Waiting 19:00:26 2de7ff778b66: Waiting 19:00:26 9712f1f96733: Verifying Checksum 19:00:26 9712f1f96733: Download complete 19:00:26 63f879dbbcfc: Verifying Checksum 19:00:26 63f879dbbcfc: Download complete 19:00:26 0d9ebad4ef96: Verifying Checksum 19:00:26 0d9ebad4ef96: Download complete 19:00:26 d747dcd14b5f: Verifying Checksum 19:00:26 d747dcd14b5f: Download complete 19:00:26 ab5ef0e58194: Verifying Checksum 19:00:26 ab5ef0e58194: Download complete 19:00:26 e9a5061849ea: Verifying Checksum 19:00:26 e9a5061849ea: Download complete 19:00:26 2de7ff778b66: Verifying Checksum 19:00:26 2de7ff778b66: Download complete 19:00:29 ab5ef0e58194: Pull complete 19:00:29 9712f1f96733: Pull complete 19:00:30 63f879dbbcfc: Pull complete 19:00:34 0d9ebad4ef96: Pull complete 19:00:34 e9a5061849ea: Pull complete 19:00:34 d747dcd14b5f: Pull complete 19:00:35 2de7ff778b66: Pull complete 19:00:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:00:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:35 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 19:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:00:39 $ docker top d513856477a99807409e57cc889193707b8ecee42cdae73ae01065202404da91 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:00:39 provisioning config files... 19:00:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9770958870361990799tmp 19:00:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7488265054327939365tmp 19:00:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7780113542489397637tmp [Pipeline] { [Pipeline] echo 19:00:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:00:39 ---> sigul-configuration.sh 19:00:39 gpg: directory `/root/.gnupg' created 19:00:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:00:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:00:39 gpg: keyring `/root/.gnupg/secring.gpg' created 19:00:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:00:39 gpg: CAST5 encrypted data 19:00:39 gpg: encrypted with 1 passphrase 19:00:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:00:40 + mkdir /home/jenkins 19:00:40 + mkdir /home/jenkins/sigul [Pipeline] sh 19:00:40 + 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 19:00:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:00:40 ---> sigul-install.sh 19:00:40 Sigul already installed; skipping installation. [Pipeline] sh 19:00:41 + git tag --list 19:00:41 0.7.1 19:00:41 v1.0.0 19:00:41 v1.1.0 19:00:41 v1.1.1 19:00:41 v1.2.2 19:00:41 v1.3.0 19:00:41 v1.3.1 19:00:41 v2.0.0 19:00:41 v2.1.0 19:00:41 v2.1.1 19:00:41 v2.1.1-dev.1 19:00:41 v2.1.1-dev.2 19:00:41 v2.2.0 19:00:41 v2.2.1-dev.1 19:00:41 v2.2.1-dev.10 19:00:41 v2.2.1-dev.2 19:00:41 v2.2.1-dev.3 19:00:41 v2.2.1-dev.4 19:00:41 v2.2.1-dev.5 19:00:41 v2.2.1-dev.6 19:00:41 v2.2.1-dev.7 19:00:41 v2.2.1-dev.8 19:00:41 v2.2.1-dev.9 19:00:41 v2.3.0 19:00:41 v2.3.0-dev.10 19:00:41 v2.3.0-dev.11 19:00:41 v2.3.0-dev.12 19:00:41 v2.3.0-dev.13 19:00:41 v2.3.0-dev.14 19:00:41 v2.3.0-dev.15 19:00:41 v2.3.0-dev.16 19:00:41 v2.3.0-dev.17 19:00:41 v2.3.0-dev.18 19:00:41 v2.3.0-dev.19 19:00:41 v2.3.0-dev.20 19:00:41 v2.3.0-dev.21 19:00:41 v2.3.0-dev.22 19:00:41 v2.3.0-dev.23 19:00:41 v2.3.0-dev.24 19:00:41 v2.3.0-dev.25 19:00:41 v2.3.0-dev.26 19:00:41 v2.3.0-dev.27 19:00:41 v2.3.0-dev.28 19:00:41 v2.3.0-dev.29 19:00:41 v2.3.0-dev.30 19:00:41 v2.3.0-dev.31 19:00:41 v2.3.0-dev.32 19:00:41 v2.3.0-dev.33 19:00:41 v2.3.0-dev.34 19:00:41 v3.0.0-dev.1 19:00:41 v3.0.0-dev.10 19:00:41 v3.0.0-dev.11 19:00:41 v3.0.0-dev.12 19:00:41 v3.0.0-dev.13 19:00:41 v3.0.0-dev.14 19:00:41 v3.0.0-dev.15 19:00:41 v3.0.0-dev.16 19:00:41 v3.0.0-dev.17 19:00:41 v3.0.0-dev.18 19:00:41 v3.0.0-dev.19 19:00:41 v3.0.0-dev.2 19:00:41 v3.0.0-dev.20 19:00:41 v3.0.0-dev.21 19:00:41 v3.0.0-dev.22 19:00:41 v3.0.0-dev.23 19:00:41 v3.0.0-dev.24 19:00:41 v3.0.0-dev.25 19:00:41 v3.0.0-dev.26 19:00:41 v3.0.0-dev.27 19:00:41 v3.0.0-dev.3 19:00:41 v3.0.0-dev.4 19:00:41 v3.0.0-dev.5 19:00:41 v3.0.0-dev.6 19:00:41 v3.0.0-dev.7 19:00:41 v3.0.0-dev.8 19:00:41 v3.0.0-dev.9 [Pipeline] sh 19:00:41 + lftools sign git-tag v3.0.0-dev.27 19:00:41 Signing Git tag with Sigul... 19:00:41 Signing v3.0.0-dev.27 [Pipeline] echo 19:00:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:00:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:00:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:00:42 $ docker stop --time=1 d513856477a99807409e57cc889193707b8ecee42cdae73ae01065202404da91 19:00:43 $ docker rm -f --volumes d513856477a99807409e57cc889193707b8ecee42cdae73ae01065202404da91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:00:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:00:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:44 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 19:00:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:00:44 $ docker top ac42f5ac96c4e40486aeb66bdc1a9b8c857a917fbf05cc1cb89a54e77b2b7b8b -eo pid,comm 19:00:44 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). 19:00:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:44 [ssh-agent] Looking for ssh-agent implementation... 19:00:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:44 $ docker exec ac42f5ac96c4e40486aeb66bdc1a9b8c857a917fbf05cc1cb89a54e77b2b7b8b ssh-agent 19:00:45 SSH_AUTH_SOCK=/tmp/ssh-0h3PRAKd6GRQ/agent.32 19:00:45 SSH_AGENT_PID=38 19:00:45 Running ssh-add (command line suppressed) 19:00:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12719257546988278461.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12719257546988278461.key) 19:00:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:45 + git semver bump pre 19:00:45 2023-05-01 19:00:45,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:45 2023-05-01 19:00:45,619 [bump_version] DEBUG bumping version:3.0.0-dev.27 on axis:pre with prefix:dev 19:00:45 2023-05-01 19:00:45,619 [bump_version] DEBUG bumped version:3.0.0-dev.28 19:00:45 2023-05-01 19:00:45,619 [write_version] DEBUG write version:3.0.0-dev.28 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 19:00:45 2023-05-01 19:00:45,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:45 2023-05-01 19:00:45,619 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:45 2023-05-01 19:00:45,621 [execute] INFO git cat-file --batch-check 19:00:45 2023-05-01 19:00:45,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:00:45 2023-05-01 19:00:45,629 [execute] INFO git cat-file --batch 19:00:45 2023-05-01 19:00:45,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:00:45 2023-05-01 19:00:45,636 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:45 3.0.0-dev.28 [Pipeline] } 19:00:45 $ docker exec --env ******** --env ******** ac42f5ac96c4e40486aeb66bdc1a9b8c857a917fbf05cc1cb89a54e77b2b7b8b ssh-agent -k 19:00:45 unset SSH_AUTH_SOCK; 19:00:45 unset SSH_AGENT_PID; 19:00:45 echo Agent pid 38 killed; 19:00:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:00:46 + git semver [Pipeline] } 19:00:46 $ docker stop --time=1 ac42f5ac96c4e40486aeb66bdc1a9b8c857a917fbf05cc1cb89a54e77b2b7b8b 19:00:47 $ docker rm -f --volumes ac42f5ac96c4e40486aeb66bdc1a9b8c857a917fbf05cc1cb89a54e77b2b7b8b [Pipeline] // withDockerContainer [Pipeline] sh 19:00:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:00:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:48 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 19:00:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:00:48 $ docker top 5e612192743037f6c6ca683c31fa8cff99103509acd8e5e848552ad79824c8fd -eo pid,comm 19:00:48 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). 19:00:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:48 [ssh-agent] Looking for ssh-agent implementation... 19:00:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:48 $ docker exec 5e612192743037f6c6ca683c31fa8cff99103509acd8e5e848552ad79824c8fd ssh-agent 19:00:49 SSH_AUTH_SOCK=/tmp/ssh-PzKrzvX0Tqlx/agent.32 19:00:49 SSH_AGENT_PID=38 19:00:49 Running ssh-add (command line suppressed) 19:00:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8214830415717867523.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8214830415717867523.key) 19:00:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:49 + git semver push 19:00:49 2023-05-01 19:00:49,662 [run_push] DEBUG push 19:00:49 2023-05-01 19:00:49,662 [execute] INFO git cat-file --batch-check 19:00:49 2023-05-01 19:00:49,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:00:49 2023-05-01 19:00:49,666 [execute] INFO git rev-list 19527f44ed9a6cf32c0c5adf21370191ed348c18 -- 19:00:49 2023-05-01 19:00:49,666 [execute] DEBUG Popen(['git', 'rev-list', '19527f44ed9a6cf32c0c5adf21370191ed348c18', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:00:49 2023-05-01 19:00:49,674 [execute] INFO git fetch -v origin 19:00:49 2023-05-01 19:00:49,675 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:00:50 2023-05-01 19:00:50,145 [run_push] DEBUG no remote changes detected 19:00:50 2023-05-01 19:00:50,145 [execute] INFO git push origin semver 19:00:50 2023-05-01 19:00:50,146 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:00:51 2023-05-01 19:00:50,960 [run_push] DEBUG push all version tags 19:00:51 2023-05-01 19:00:50,960 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:00:51 2023-05-01 19:00:50,961 [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) 19:00:51 2023-05-01 19:00:51,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:51 3.0.0-dev.28 [Pipeline] } 19:00:51 $ docker exec --env ******** --env ******** 5e612192743037f6c6ca683c31fa8cff99103509acd8e5e848552ad79824c8fd ssh-agent -k 19:00:51 unset SSH_AUTH_SOCK; 19:00:51 unset SSH_AGENT_PID; 19:00:51 echo Agent pid 38 killed; 19:00:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:00:52 + git semver [Pipeline] } 19:00:52 $ docker stop --time=1 5e612192743037f6c6ca683c31fa8cff99103509acd8e5e848552ad79824c8fd 19:00:53 $ docker rm -f --volumes 5e612192743037f6c6ca683c31fa8cff99103509acd8e5e848552ad79824c8fd [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 19:00:54 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 19:00:54 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:00:54 total 16 19:00:54 drwxr-xr-x 3 root root 4096 May 1 18:50 . 19:00:54 drwxrwxr-x 11 jenkins jenkins 4096 May 1 19:00 .. 19:00:54 drwxr-xr-x 2 root root 4096 May 1 18:50 cost 19:00:54 -rw-r--r-- 1 root root 86 May 1 18:50 cost.csv 19:00:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:00:54 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:00:54 total 16 19:00:54 drwxr-xr-x 3 jenkins jenkins 4096 May 1 18:50 . 19:00:54 drwxrwxr-x 11 jenkins jenkins 4096 May 1 19:00 .. 19:00:54 drwxr-xr-x 2 jenkins jenkins 4096 May 1 18:50 cost 19:00:54 -rw-r--r-- 1 jenkins jenkins 86 May 1 18:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:00:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:00:55 ---> package-listing.sh 19:00:55 ++ facter osfamily 19:00:55 ++ tr '[:upper:]' '[:lower:]' 19:00:55 + OS_FAMILY=debian 19:00:55 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 19:00:55 + START_PACKAGES=/tmp/packages_start.txt 19:00:55 + END_PACKAGES=/tmp/packages_end.txt 19:00:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:00:55 + PACKAGES=/tmp/packages_start.txt 19:00:55 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 19:00:55 + PACKAGES=/tmp/packages_end.txt 19:00:55 + case "${OS_FAMILY}" in 19:00:55 + dpkg -l 19:00:55 + grep '^ii' 19:00:55 + '[' -f /tmp/packages_start.txt ']' 19:00:55 + '[' -f /tmp/packages_end.txt ']' 19:00:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:00:55 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 19:00:55 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 19:00:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 19:00:55 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 19:00:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:00:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:56 prd-ubuntu20.04-docker-8c-8g-12224 does not seem to be running inside a container 19:00:56 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:00:57 $ docker top 2c4a7957ebf23ad31f64ff6ac2caac476b58edcb008c51ce7a1f1bb31d08014e -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:57 + touch /tmp/pre-build-complete [Pipeline] sh 19:00:57 + mkdir -p /var/log/sysstat [Pipeline] sh 19:00:58 + ls /var/log/sa-host 19:00:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:58 provisioning config files... 19:00:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14623285846558466749tmp [Pipeline] { [Pipeline] echo 19:00:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:00:58 ---> create-netrc.sh [Pipeline] } 19:00:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:00:58 ---> python-tools-install.sh [Pipeline] echo 19:00:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:00:59 ---> sudo-logs.sh 19:00:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:00:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:00:59 ---> job-cost.sh 19:00:59 lf-activate-venv: SKIPPING 19:00:59 DEBUG: total: 0.2199999988079071 19:00:59 INFO: Retrieving Stack Cost... 19:00:59 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:00 INFO: Archiving Costs [Pipeline] echo 19:01:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:01:00 ---> logs-deploy.sh 19:01:00 lf-activate-venv: SKIPPING 19:01:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/111 19:01:00 INFO: archiving workspace using pattern(s): 19:01:01 Archives upload complete. 19:01:01 INFO: archiving logs to Nexus