Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from daf9656040259007f9ff9da57e54fb024fb8fec3 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-ssh12846958547783065412.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh12337145315754111061.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh6298674535203612995.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh17187729305727070195.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-ssh9644811657585947531.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16759 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision daf9656040259007f9ff9da57e54fb024fb8fec3 (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 daf9656040259007f9ff9da57e54fb024fb8fec3 # timeout=10 Commit message: "docs: Update Readme to refer to 3.1 main doc page (#642)" > git rev-list --no-walk a20e3f699be50ae0fa7b260dcb78cdd891955ce4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:58:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:58:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:58:28 ========================================================= 23:58:28 EdgeX Global Pipelines Version Info 23:58:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:58:29 ------------------- 23:58:29 stable info: 23:58:29 ------------------- 23:58:29 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 23:58:29 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 23:58:29 Message: update stable to v1.0.257 23:58:29 ------------------- 23:58:29 experimental info: 23:58:29 ------------------- 23:58:29 Commited By: **** collab-it+edgex@linuxfoundation.org 23:58:29 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 23:58:29 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:58:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:58:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:58:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:58:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = daf9656 [Pipeline] echo 23:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:58:30 provisioning config files... 23:58:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14086234847610944577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:30 ---> docker-login.sh 23:58:30 nexus3.edgexfoundry.org:10001 23:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:31 Configure a credential helper to remove this warning. See 23:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:31 23:58:31 Login Succeeded 23:58:31 nexus3.edgexfoundry.org:10002 23:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:31 Configure a credential helper to remove this warning. See 23:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:31 23:58:31 Login Succeeded 23:58:31 nexus3.edgexfoundry.org:10003 23:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:31 Configure a credential helper to remove this warning. See 23:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:31 23:58:31 Login Succeeded 23:58:31 nexus3.edgexfoundry.org:10004 23:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:31 Configure a credential helper to remove this warning. See 23:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:31 23:58:31 Login Succeeded 23:58:31 docker.io 23:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:31 Configure a credential helper to remove this warning. See 23:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:31 23:58:31 Login Succeeded 23:58:31 ---> docker-login.sh ends [Pipeline] } 23:58:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:58:32 + git rev-list -1 --merges daf9656040259007f9ff9da57e54fb024fb8fec3~1..daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] echo 23:58:32 -----------> git rev-list -1 --merges daf9656040259007f9ff9da57e54fb024fb8fec3~1..daf9656040259007f9ff9da57e54fb024fb8fec3 daf9656040259007f9ff9da57e54fb024fb8fec3 [false] [Pipeline] sh 23:58:32 + git log --format=format:%s -1 daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] echo 23:58:32 ========================================================= 23:58:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:58:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:32 + git log --format=format:%s -1 daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] echo 23:58:32 [semverPrep] GIT_COMMIT: daf9656040259007f9ff9da57e54fb024fb8fec3, Commit Message: docs: Update Readme to refer to 3.1 main doc page (#642) [Pipeline] echo 23:58:32 [semverPrep] This is not a build commit. [Pipeline] sh 23:58:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:58:33 + grep -v github /etc/ssh/ssh_known_hosts 23:58:33 + [ -e /tmp/ssh_known_hosts ] 23:58:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:58:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:58:33 + sudo tee -a /etc/ssh/ssh_known_hosts 23:58:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:58:33 23:58:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:58:33 0.1.4: Pulling from edgex-devops/py-git-semver 23:58:33 b85a868b505f: Pulling fs layer 23:58:33 e2be974225ed: Pulling fs layer 23:58:33 339a4e72a1f5: Pulling fs layer 23:58:33 988bab9f4d93: Pulling fs layer 23:58:33 1469e6f7b9e6: Pulling fs layer 23:58:33 eaf3925da568: Pulling fs layer 23:58:33 bab4dde63d76: Pulling fs layer 23:58:33 bde34c3a00c8: Pulling fs layer 23:58:33 b352a97aabf1: Pulling fs layer 23:58:33 4872d77fe225: Pulling fs layer 23:58:33 5851b861e8e6: Pulling fs layer 23:58:33 bab4dde63d76: Waiting 23:58:33 4872d77fe225: Waiting 23:58:33 5851b861e8e6: Waiting 23:58:33 bde34c3a00c8: Waiting 23:58:33 988bab9f4d93: Waiting 23:58:33 b352a97aabf1: Waiting 23:58:33 1469e6f7b9e6: Waiting 23:58:33 e2be974225ed: Verifying Checksum 23:58:33 e2be974225ed: Download complete 23:58:33 988bab9f4d93: Download complete 23:58:33 1469e6f7b9e6: Verifying Checksum 23:58:33 1469e6f7b9e6: Download complete 23:58:34 eaf3925da568: Verifying Checksum 23:58:34 eaf3925da568: Download complete 23:58:34 339a4e72a1f5: Verifying Checksum 23:58:34 339a4e72a1f5: Download complete 23:58:34 bde34c3a00c8: Download complete 23:58:34 b352a97aabf1: Download complete 23:58:34 4872d77fe225: Verifying Checksum 23:58:34 4872d77fe225: Download complete 23:58:34 5851b861e8e6: Verifying Checksum 23:58:34 5851b861e8e6: Download complete 23:58:34 b85a868b505f: Verifying Checksum 23:58:34 b85a868b505f: Download complete 23:58:34 bab4dde63d76: Verifying Checksum 23:58:34 bab4dde63d76: Download complete 23:58:35 b85a868b505f: Pull complete 23:58:35 e2be974225ed: Pull complete 23:58:35 339a4e72a1f5: Pull complete 23:58:35 988bab9f4d93: Pull complete 23:58:36 1469e6f7b9e6: Pull complete 23:58:36 eaf3925da568: Pull complete 23:58:38 bab4dde63d76: Pull complete 23:58:38 bde34c3a00c8: Pull complete 23:58:38 b352a97aabf1: Pull complete 23:58:38 4872d77fe225: Pull complete 23:58:38 5851b861e8e6: Pull complete 23:58:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:58:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:38 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 23:58:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:58:40 $ docker top 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 -eo pid,comm 23:58:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:58:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:58:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:40 [ssh-agent] Looking for ssh-agent implementation... 23:58:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:41 $ docker exec 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 ssh-agent 23:58:41 SSH_AUTH_SOCK=/tmp/ssh-XJWwrl6k8w9h/agent.31 23:58:41 SSH_AGENT_PID=37 23:58:41 Running ssh-add (command line suppressed) 23:58:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_305643377428521100.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_305643377428521100.key) 23:58:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:41 + git tag --points-at HEAD [Pipeline] } 23:58:41 $ docker exec --env ******** --env ******** 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 ssh-agent -k 23:58:41 unset SSH_AUTH_SOCK; 23:58:41 unset SSH_AGENT_PID; 23:58:41 echo Agent pid 37 killed; 23:58:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:58:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:41 [ssh-agent] Looking for ssh-agent implementation... 23:58:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:41 $ docker exec 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 ssh-agent 23:58:41 SSH_AUTH_SOCK=/tmp/ssh-bUKmW080EPY4/agent.69 23:58:41 SSH_AGENT_PID=75 23:58:41 Running ssh-add (command line suppressed) 23:58:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17997576841292373055.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17997576841292373055.key) 23:58:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:42 + git semver init 23:58:42 2023-11-06 23:58:42,481 [run_init] DEBUG init version:0.0.0 force:False 23:58:42 2023-11-06 23:58:42,482 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:58:42 2023-11-06 23:58:42,483 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:58:42 2023-11-06 23:58:42,483 [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) 23:58:43 2023-11-06 23:58:43,321 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 23:58:43 2023-11-06 23:58:43,322 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 23:58:43 2023-11-06 23:58:43,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:58:43 2023-11-06 23:58:43,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:58:43 3.1.0-dev.22 [Pipeline] } 23:58:43 $ docker exec --env ******** --env ******** 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 ssh-agent -k 23:58:43 unset SSH_AUTH_SOCK; 23:58:43 unset SSH_AGENT_PID; 23:58:43 echo Agent pid 75 killed; 23:58:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:58:43 + git semver [Pipeline] } 23:58:44 $ docker stop --time=1 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 23:58:45 $ docker rm -f --volumes 8b229ba4bb9ff7d9b23b92a70f932a475d56ef263477dd50dcf90082e6590343 [Pipeline] // withDockerContainer [Pipeline] sh 23:58:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:58:46 Stashed 1 file(s) [Pipeline] echo 23:58:46 [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [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 23:58:46 provisioning config files... 23:58:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2869805619877187592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:46 ---> docker-login.sh 23:58:46 nexus3.edgexfoundry.org:10001 23:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:46 Configure a credential helper to remove this warning. See 23:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:46 23:58:46 Login Succeeded 23:58:46 nexus3.edgexfoundry.org:10002 23:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:46 Configure a credential helper to remove this warning. See 23:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:46 23:58:46 Login Succeeded 23:58:46 nexus3.edgexfoundry.org:10003 23:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:46 Configure a credential helper to remove this warning. See 23:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:46 23:58:46 Login Succeeded 23:58:46 nexus3.edgexfoundry.org:10004 23:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:46 Configure a credential helper to remove this warning. See 23:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:46 23:58:46 Login Succeeded 23:58:46 docker.io 23:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:47 Configure a credential helper to remove this warning. See 23:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:47 23:58:47 Login Succeeded 23:58:47 ---> docker-login.sh ends [Pipeline] } 23:58:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:58:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:58:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:58:47 ========================================================= 23:58:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:58:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:58:47 Sending build context to Docker daemon 6.555MB 23:58:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:58:47 Step 2/12 : FROM ${BASE} AS builder 23:58:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:58:47 7264a8db6415: Pulling fs layer 23:58:47 c4d48a809fc2: Pulling fs layer 23:58:47 4f1c88b9dad5: Pulling fs layer 23:58:47 ad3a456e5733: Pulling fs layer 23:58:47 33e27b845d1e: Pulling fs layer 23:58:47 c68163c4e522: Pulling fs layer 23:58:47 50da416c3ac9: Pulling fs layer 23:58:47 23d2d4c4bb30: Pulling fs layer 23:58:47 33e27b845d1e: Waiting 23:58:47 ad3a456e5733: Waiting 23:58:47 c68163c4e522: Waiting 23:58:47 23d2d4c4bb30: Waiting 23:58:47 c4d48a809fc2: Download complete 23:58:47 ad3a456e5733: Download complete 23:58:47 33e27b845d1e: Verifying Checksum 23:58:47 33e27b845d1e: Download complete 23:58:47 7264a8db6415: Verifying Checksum 23:58:47 7264a8db6415: Download complete 23:58:47 c68163c4e522: Verifying Checksum 23:58:47 c68163c4e522: Download complete 23:58:47 7264a8db6415: Pull complete 23:58:48 23d2d4c4bb30: Verifying Checksum 23:58:48 23d2d4c4bb30: Download complete 23:58:48 c4d48a809fc2: Pull complete 23:58:48 4f1c88b9dad5: Verifying Checksum 23:58:48 4f1c88b9dad5: Download complete 23:58:48 50da416c3ac9: Verifying Checksum 23:58:48 50da416c3ac9: Download complete 23:58:51 4f1c88b9dad5: Pull complete 23:58:51 ad3a456e5733: Pull complete 23:58:51 33e27b845d1e: Pull complete 23:58:51 c68163c4e522: Pull complete 23:58:53 50da416c3ac9: Pull complete 23:58:53 23d2d4c4bb30: Pull complete 23:58:53 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 23:58:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:58:53 ---> 0786185ac409 23:58:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:58:58 ---> Running in c7a7d68ca93a 23:58:58 Removing intermediate container c7a7d68ca93a 23:58:58 ---> 394742209330 23:58:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:58:58 ---> Running in a19f29531daf 23:58:58 Removing intermediate container a19f29531daf 23:58:58 ---> 4473a9ff973e 23:58:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:58:58 ---> Running in 0315bfefefd5 23:58:59 Removing intermediate container 0315bfefefd5 23:58:59 ---> e358d5dac71c 23:58:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:58:59 ---> Running in 18518f7a89e2 23:58:59 Removing intermediate container 18518f7a89e2 23:58:59 ---> 6d30d64418ff 23:58:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:59 ---> Running in 459d5ce80486 23:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:59:00 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:59:00 (2/4) Installing libedit (20221030.3.1-r1) 23:59:00 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:59:00 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:59:00 Executing busybox-1.36.1-r2.trigger 23:59:00 OK: 268 MiB in 56 packages 23:59:00 Removing intermediate container 459d5ce80486 23:59:00 ---> f7026d856ac3 23:59:00 Step 8/12 : WORKDIR /device-mqtt-go 23:59:00 ---> Running in f17bcc517225 23:59:00 Removing intermediate container f17bcc517225 23:59:00 ---> 701a38318347 23:59:00 Step 9/12 : COPY go.mod vendor* ./ 23:59:00 ---> 933d1c7dc9fe 23:59:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:00 ---> Running in eeb39c3182ef 23:59:01 Still waiting to schedule task 23:59:01 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:59:32 Removing intermediate container eeb39c3182ef 23:59:32 ---> ab13242244a1 23:59:32 Step 11/12 : COPY . . 23:59:32 ---> 9b892adb3559 23:59:32 Step 12/12 : RUN $MAKE 23:59:32 ---> Running in 8ca537f23a39 23:59:32 noop 23:59:32 Removing intermediate container 8ca537f23a39 23:59:32 ---> 67e4923cba2b 23:59:32 Successfully built 67e4923cba2b 23:59:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:33 + docker inspect -f . ci-base-image-x86_64 23:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:33 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 23:59:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:59:33 $ docker top 46240ab1829f8a229658ad9af0cee60de1c73f69e06b1816786ee6f0b32d5ad1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:34 + go version 23:59:34 go version go1.21.0 linux/amd64 [Pipeline] } 23:59:34 $ docker stop --time=1 46240ab1829f8a229658ad9af0cee60de1c73f69e06b1816786ee6f0b32d5ad1 23:59:35 $ docker rm -f --volumes 46240ab1829f8a229658ad9af0cee60de1c73f69e06b1816786ee6f0b32d5ad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:35 + docker inspect -f . ci-base-image-x86_64 23:59:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:35 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 23:59:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:59:36 $ docker top 1f83f38f66b82a0b870484ed79948a237d549e9ab5fc5dc5bfd7734cf98e47fc -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 23:59:36 + make test 23:59:36 go test ./... -coverprofile=coverage.out ./... 23:59:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:59:48 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:59:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:59:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.8% of statements 23:59:53 go vet ./... 23:59:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:59:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:59:56 ./bin/test-attribution-txt.sh [Pipeline] echo 23:59:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:59:56 $ docker stop --time=1 1f83f38f66b82a0b870484ed79948a237d549e9ab5fc5dc5bfd7734cf98e47fc 23:59:59 $ docker rm -f --volumes 1f83f38f66b82a0b870484ed79948a237d549e9ab5fc5dc5bfd7734cf98e47fc [Pipeline] // withDockerContainer [Pipeline] sh 23:59:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:00:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:00:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:00:01 + ls -al . 00:00:01 total 184 00:00:01 drwxrwxr-x 9 jenkins jenkins 4096 Nov 6 23:59 . 00:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 23:58 .. 00:00:01 -rw-rw-r-- 1 jenkins jenkins 140 Nov 6 23:58 .dockerignore 00:00:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 6 23:59 .git 00:00:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:58 .github 00:00:01 -rw-rw-r-- 1 jenkins jenkins 264 Nov 6 23:58 .gitignore 00:00:01 -rw-rw-r-- 1 jenkins jenkins 41 Nov 6 23:58 .golangci.yml 00:00:01 drwxr-xr-x 3 jenkins jenkins 4096 Nov 6 23:58 .semver 00:00:01 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 6 23:58 Attribution.txt 00:00:01 -rw-rw-r-- 1 jenkins jenkins 17522 Nov 6 23:58 CHANGELOG.md 00:00:01 -rw-rw-r-- 1 jenkins jenkins 1689 Nov 6 23:58 Dockerfile 00:00:01 -rw-rw-r-- 1 jenkins jenkins 677 Nov 6 23:58 GOVERNANCE.md 00:00:01 -rw-rw-r-- 1 jenkins jenkins 657 Nov 6 23:58 Jenkinsfile 00:00:01 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 6 23:58 LICENSE 00:00:01 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 6 23:58 Makefile 00:00:01 -rw-rw-r-- 1 jenkins jenkins 620 Nov 6 23:58 OWNERS.md 00:00:01 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 6 23:58 README.md 00:00:01 -rw-rw-r-- 1 jenkins jenkins 12 Nov 6 23:58 VERSION 00:00:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:58 bin 00:00:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:58 cmd 00:00:01 -rw-r--r-- 1 jenkins jenkins 18506 Nov 6 23:59 coverage.out 00:00:01 -rw-rw-r-- 1 jenkins jenkins 3822 Nov 6 23:58 go.mod 00:00:01 -rw-rw-r-- 1 jenkins jenkins 35094 Nov 6 23:58 go.sum 00:00:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 23:58 internal 00:00:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 23:58 mock 00:00:01 -rw-rw-r-- 1 jenkins jenkins 227 Nov 6 23:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:01 + 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=daf9656040259007f9ff9da57e54fb024fb8fec3 --label arch=amd64 --label version=3.1.0-dev.22 . 00:00:01 Sending build context to Docker daemon 6.574MB 00:00:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 00:00:01 Step 2/24 : FROM ${BASE} AS builder 00:00:01 ---> 67e4923cba2b 00:00:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:00:01 ---> Running in dc69c5e38c8c 00:00:01 Removing intermediate container dc69c5e38c8c 00:00:01 ---> 1a864e04e101 00:00:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:00:01 ---> Running in f563db642709 00:00:01 Removing intermediate container f563db642709 00:00:01 ---> 5b69d44072bf 00:00:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:00:01 ---> Running in ed714c809103 00:00:01 Removing intermediate container ed714c809103 00:00:01 ---> 00556f0dc401 00:00:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:00:01 ---> Running in c73a45cd3d89 00:00:01 Removing intermediate container c73a45cd3d89 00:00:01 ---> 85d21c596d71 00:00:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:01 ---> Running in d560e7fb10e8 00:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:00:02 OK: 268 MiB in 56 packages 00:00:02 Removing intermediate container d560e7fb10e8 00:00:02 ---> f2152ab9dfa7 00:00:02 Step 8/24 : WORKDIR /device-mqtt-go 00:00:02 ---> Running in aa0e7d893240 00:00:03 Removing intermediate container aa0e7d893240 00:00:03 ---> dfcb88db5c74 00:00:03 Step 9/24 : COPY go.mod vendor* ./ 00:00:03 ---> f6b1d2b178b2 00:00:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:03 ---> Running in 3a4d04e02e88 00:00:04 Removing intermediate container 3a4d04e02e88 00:00:04 ---> 42eb985f1798 00:00:04 Step 11/24 : COPY . . 00:00:04 ---> 56fc4e194f85 00:00:04 Step 12/24 : RUN $MAKE 00:00:04 ---> Running in ece9337fd204 00:00:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 00:00:22 Removing intermediate container ece9337fd204 00:00:22 ---> 639a08ccad9f 00:00:22 Step 13/24 : FROM alpine:3.18 00:00:22 3.18: Pulling from library/alpine 00:00:22 96526aa774ef: Pulling fs layer 00:00:22 96526aa774ef: Verifying Checksum 00:00:22 96526aa774ef: Download complete 00:00:22 96526aa774ef: Pull complete 00:00:22 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:00:22 Status: Downloaded newer image for alpine:3.18 00:00:22 ---> 8ca4688f4f35 00:00:22 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:00:22 ---> Running in 5458c4e75b07 00:00:22 Removing intermediate container 5458c4e75b07 00:00:22 ---> 302be5c9edcf 00:00:22 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:00:22 ---> Running in f2cde1fdcc74 00:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:00:23 (1/1) Installing dumb-init (1.2.5-r2) 00:00:23 Executing busybox-1.36.1-r2.trigger 00:00:23 OK: 7 MiB in 16 packages 00:00:23 Removing intermediate container f2cde1fdcc74 00:00:23 ---> d31fbaafd2a8 00:00:23 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:00:24 ---> 414d90added2 00:00:24 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:00:24 ---> d7cd68ba3e6f 00:00:24 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:00:24 ---> 39347a03aec5 00:00:24 Step 19/24 : EXPOSE 59982 00:00:24 ---> Running in bce121ecc0e7 00:00:24 Removing intermediate container bce121ecc0e7 00:00:24 ---> ec7987abea84 00:00:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:00:24 ---> Running in ac3b25751b0c 00:00:24 Removing intermediate container ac3b25751b0c 00:00:24 ---> ef4309d09f06 00:00:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:00:24 ---> Running in 5ddf68d99ed0 00:00:24 Removing intermediate container 5ddf68d99ed0 00:00:24 ---> 8a102cc9a983 00:00:24 Step 22/24 : LABEL arch=amd64 00:00:24 ---> Running in 7cae7c54800b 00:00:24 Removing intermediate container 7cae7c54800b 00:00:24 ---> 753501c4e58d 00:00:24 Step 23/24 : LABEL git_sha=daf9656040259007f9ff9da57e54fb024fb8fec3 00:00:24 ---> Running in 9c3c7b514885 00:00:25 Removing intermediate container 9c3c7b514885 00:00:25 ---> bd4c2a280f99 00:00:25 Step 24/24 : LABEL version=3.1.0-dev.22 00:00:25 ---> Running in 4b11bad77082 00:00:25 Removing intermediate container 4b11bad77082 00:00:25 ---> a00d9b46dc5b 00:00:25 [Warning] One or more build-args [ARCH] were not consumed 00:00:25 Successfully built a00d9b46dc5b 00:00:25 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:25 provisioning config files... 00:00:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10375523155539773557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:25 ---> docker-login.sh 00:00:25 nexus3.edgexfoundry.org:10001 00:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:25 Configure a credential helper to remove this warning. See 00:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:25 00:00:25 Login Succeeded 00:00:25 nexus3.edgexfoundry.org:10002 00:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:25 Configure a credential helper to remove this warning. See 00:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:25 00:00:25 Login Succeeded 00:00:25 nexus3.edgexfoundry.org:10003 00:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:25 Configure a credential helper to remove this warning. See 00:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:25 00:00:25 Login Succeeded 00:00:25 nexus3.edgexfoundry.org:10004 00:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:25 Configure a credential helper to remove this warning. See 00:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:25 00:00:25 Login Succeeded 00:00:25 docker.io 00:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:26 Configure a credential helper to remove this warning. See 00:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:26 00:00:26 Login Succeeded 00:00:26 ---> docker-login.sh ends [Pipeline] } 00:00:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:00:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:00:26 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 00:00:26 daf9656040259007f9ff9da57e54fb024fb8fec3 00:00:26 latest 00:00:26 3.1.0-dev.22 00:00:26 daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 00:00:26 main 00:00:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:26 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3 00:00:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:00:26 b7009d03f585: Preparing 00:00:26 6173db5095f5: Preparing 00:00:26 088c270c5193: Preparing 00:00:26 6e429f78b980: Preparing 00:00:26 cc2447e1835a: Preparing 00:00:26 cc2447e1835a: Layer already exists 00:00:26 b7009d03f585: Pushed 00:00:26 6173db5095f5: Pushed 00:00:26 6e429f78b980: Pushed 00:00:30 088c270c5193: Pushed 00:00:30 daf9656040259007f9ff9da57e54fb024fb8fec3: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:30 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:00:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:00:30 b7009d03f585: Preparing 00:00:30 6173db5095f5: Preparing 00:00:30 088c270c5193: Preparing 00:00:30 6e429f78b980: Preparing 00:00:30 cc2447e1835a: Preparing 00:00:30 b7009d03f585: Layer already exists 00:00:30 6173db5095f5: Layer already exists 00:00:30 cc2447e1835a: Layer already exists 00:00:30 6e429f78b980: Layer already exists 00:00:30 088c270c5193: Layer already exists 00:00:30 latest: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.22 00:00:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:00:31 b7009d03f585: Preparing 00:00:31 6173db5095f5: Preparing 00:00:31 088c270c5193: Preparing 00:00:31 6e429f78b980: Preparing 00:00:31 cc2447e1835a: Preparing 00:00:31 b7009d03f585: Layer already exists 00:00:31 6173db5095f5: Layer already exists 00:00:31 088c270c5193: Layer already exists 00:00:31 cc2447e1835a: Layer already exists 00:00:31 6e429f78b980: Layer already exists 00:00:31 3.1.0-dev.22: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 00:00:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:00:32 b7009d03f585: Preparing 00:00:32 6173db5095f5: Preparing 00:00:32 088c270c5193: Preparing 00:00:32 6e429f78b980: Preparing 00:00:32 cc2447e1835a: Preparing 00:00:32 088c270c5193: Layer already exists 00:00:32 6173db5095f5: Layer already exists 00:00:32 cc2447e1835a: Layer already exists 00:00:32 6e429f78b980: Layer already exists 00:00:32 b7009d03f585: Layer already exists 00:00:32 daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 00:00:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 00:00:32 b7009d03f585: Preparing 00:00:32 6173db5095f5: Preparing 00:00:32 088c270c5193: Preparing 00:00:32 6e429f78b980: Preparing 00:00:32 cc2447e1835a: Preparing 00:00:32 6e429f78b980: Layer already exists 00:00:32 6173db5095f5: Layer already exists 00:00:32 088c270c5193: Layer already exists 00:00:32 cc2447e1835a: Layer already exists 00:00:32 b7009d03f585: Layer already exists 00:00:32 main: digest: sha256:c46a2963f26275bf6155068d75bff9b4dd10933e9ad7e438b19d2e2cd4f25043 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:00:32 ===================================================== [Pipeline] echo 00:00:32 taggedImages: 00:00:32 - nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3 00:00:32 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 00:00:32 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.22 00:00:32 - nexus3.edgexfoundry.org:10004/device-mqtt:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 00:00:32 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:33 00:00:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:33 latest: Pulling from edgex-lftools-log-publisher 00:00:33 5eb5b503b376: Pulling fs layer 00:00:33 5c69ac0246d0: Pulling fs layer 00:00:33 ec43610c2a17: Pulling fs layer 00:00:33 3a2ae6a8a46f: Pulling fs layer 00:00:33 33b1e0a273af: Pulling fs layer 00:00:33 5d3b04190fa2: Pulling fs layer 00:00:33 2f39f015ded8: Pulling fs layer 00:00:33 3a2ae6a8a46f: Waiting 00:00:33 33b1e0a273af: Waiting 00:00:33 5d3b04190fa2: Waiting 00:00:33 2f39f015ded8: Waiting 00:00:33 5c69ac0246d0: Download complete 00:00:33 3a2ae6a8a46f: Verifying Checksum 00:00:33 3a2ae6a8a46f: Download complete 00:00:33 33b1e0a273af: Verifying Checksum 00:00:33 33b1e0a273af: Download complete 00:00:33 5d3b04190fa2: Download complete 00:00:33 ec43610c2a17: Verifying Checksum 00:00:33 ec43610c2a17: Download complete 00:00:34 5eb5b503b376: Verifying Checksum 00:00:34 5eb5b503b376: Download complete 00:00:35 5eb5b503b376: Pull complete 00:00:35 5c69ac0246d0: Pull complete 00:00:36 2f39f015ded8: Verifying Checksum 00:00:36 2f39f015ded8: Download complete 00:00:36 ec43610c2a17: Pull complete 00:00:36 3a2ae6a8a46f: Pull complete 00:00:36 33b1e0a273af: Pull complete 00:00:36 5d3b04190fa2: Pull complete 00:00:40 2f39f015ded8: Pull complete 00:00:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:00:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:00:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:40 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 00:00:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:00:47 $ docker top 784b79c37efe366a08ef5043cadb02172eff216b4f8948697836caf9dd1dafa8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:59 ---> job-cost.sh 00:00:59 lf-activate-venv: SKIPPING 00:00:59 INFO: No Stack... 00:00:59 INFO: Retrieving Pricing Info for: v3-standard-8 00:01:00 INFO: Archiving Costs [Pipeline] sh 00:01:00 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 00:01:00 + cut -d, -f6 [Pipeline] lock 00:01:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] 00:01:00 Resource [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] did not exist. Created. 00:01:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:00 + echo total: 0.2199999988079071 [Pipeline] stash 00:01:00 Stashed 1 file(s) [Pipeline] } 00:01:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:00 $ docker stop --time=1 784b79c37efe366a08ef5043cadb02172eff216b4f8948697836caf9dd1dafa8 00:01:01 $ docker rm -f --volumes 784b79c37efe366a08ef5043cadb02172eff216b4f8948697836caf9dd1dafa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:01:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16761 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 00:01:37 Running in /w/workspace/device-mqtt-go/150 [Pipeline] { [Pipeline] checkout 00:01:37 The recommended git tool is: git 00:01:43 using credential edgex-jenkins-ssh 00:01:43 Cloning the remote Git repository 00:01:43 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:01:43 > git init /w/workspace/device-mqtt-go/150 # timeout=10 00:01:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:01:44 > git --version # timeout=10 00:01:44 > git --version # 'git version 2.25.1' 00:01:44 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:01:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:48 Avoid second fetch 00:01:48 Checking out Revision daf9656040259007f9ff9da57e54fb024fb8fec3 (main) 00:01:49 Commit message: "docs: Update Readme to refer to 3.1 main doc page (#642)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:49 > git config core.sparsecheckout # timeout=10 00:01:49 > git checkout -f daf9656040259007f9ff9da57e54fb024fb8fec3 # timeout=10 00:01:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:01:50 % Total % Received % Xferd Average Speed Time Time Time Current 00:01:50 Dload Upload Total Spent Left Speed 00:01:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 221k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh 00:01:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:01:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 00:01:51 sudo tee /etc/docker/daemon.new 00:01:51 { 00:01:51 "registry-mirrors": [ 00:01:51 "https://nexus3.edgexfoundry.org:10001" 00:01:51 ], 00:01:51 "bip": "10.250.0.254/24", 00:01:51 "hosts": [ 00:01:51 "tcp://0.0.0.0:5555", 00:01:51 "unix:///var/run/docker.sock" 00:01:51 ], 00:01:51 "mtu": 1458, 00:01:51 "selinux-enabled": true, 00:01:51 "seccomp-profile": "/etc/docker/seccomp.json" 00:01:51 } [Pipeline] sh 00:01:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:01:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:10 provisioning config files... 00:02:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/150@tmp/config1400700675317963715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:10 ---> docker-login.sh 00:02:10 nexus3.edgexfoundry.org:10001 00:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:11 Configure a credential helper to remove this warning. See 00:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:11 00:02:11 Login Succeeded 00:02:11 nexus3.edgexfoundry.org:10002 00:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:11 Configure a credential helper to remove this warning. See 00:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:11 00:02:11 Login Succeeded 00:02:11 nexus3.edgexfoundry.org:10003 00:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:12 Configure a credential helper to remove this warning. See 00:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:12 00:02:12 Login Succeeded 00:02:12 nexus3.edgexfoundry.org:10004 00:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:12 Configure a credential helper to remove this warning. See 00:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:12 00:02:12 Login Succeeded 00:02:12 docker.io 00:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:13 Configure a credential helper to remove this warning. See 00:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:13 00:02:13 Login Succeeded 00:02:13 ---> docker-login.sh ends [Pipeline] } 00:02:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:02:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:02:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:02:13 ========================================================= 00:02:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:02:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:02:18 Sending build context to Docker daemon 3.375MB 00:02:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:02:18 Step 2/12 : FROM ${BASE} AS builder 00:02:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:02:18 9fda8d8052c6: Pulling fs layer 00:02:18 5d54e960e981: Pulling fs layer 00:02:18 c4a7e357bf2a: Pulling fs layer 00:02:18 f0e02332f6b5: Pulling fs layer 00:02:18 cefa15bbcfad: Pulling fs layer 00:02:18 17808c966233: Pulling fs layer 00:02:18 f4c1fc716caa: Pulling fs layer 00:02:18 cefa15bbcfad: Waiting 00:02:18 17808c966233: Waiting 00:02:18 f0e02332f6b5: Waiting 00:02:18 f4c1fc716caa: Waiting 00:02:18 5d54e960e981: Verifying Checksum 00:02:18 5d54e960e981: Download complete 00:02:18 f0e02332f6b5: Verifying Checksum 00:02:18 f0e02332f6b5: Download complete 00:02:18 cefa15bbcfad: Verifying Checksum 00:02:18 cefa15bbcfad: Download complete 00:02:18 9fda8d8052c6: Download complete 00:02:18 f4c1fc716caa: Verifying Checksum 00:02:18 f4c1fc716caa: Download complete 00:02:18 9fda8d8052c6: Pull complete 00:02:19 5d54e960e981: Pull complete 00:02:19 c4a7e357bf2a: Verifying Checksum 00:02:19 c4a7e357bf2a: Download complete 00:02:21 17808c966233: Verifying Checksum 00:02:21 17808c966233: Download complete 00:02:33 c4a7e357bf2a: Pull complete 00:02:33 f0e02332f6b5: Pull complete 00:02:33 cefa15bbcfad: Pull complete 00:02:41 17808c966233: Pull complete 00:02:45 f4c1fc716caa: Pull complete 00:02:45 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:02:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:02:45 ---> ea914061e18c 00:02:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:02:47 ---> Running in 02dba359efc0 00:02:47 Removing intermediate container 02dba359efc0 00:02:47 ---> be5ec4cbaddc 00:02:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:02:47 ---> Running in c5c07d0bdba7 00:02:48 Removing intermediate container c5c07d0bdba7 00:02:48 ---> eedff945e57a 00:02:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:02:48 ---> Running in aa8ada0d6cc1 00:02:48 Removing intermediate container aa8ada0d6cc1 00:02:48 ---> 383c65768d94 00:02:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:02:48 ---> Running in 75c0720321fb 00:02:48 Removing intermediate container 75c0720321fb 00:02:48 ---> 943a55332587 00:02:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:48 ---> Running in d4f6c321f096 00:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:02:51 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:02:51 (2/4) Installing libedit (20221030.3.1-r1) 00:02:51 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:02:51 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:02:51 Executing busybox-1.36.1-r2.trigger 00:02:51 OK: 270 MiB in 56 packages 00:02:53 Removing intermediate container d4f6c321f096 00:02:53 ---> b7b117cf6829 00:02:53 Step 8/12 : WORKDIR /device-mqtt-go 00:02:53 ---> Running in 1d7edda19cc5 00:02:53 Removing intermediate container 1d7edda19cc5 00:02:53 ---> d36268ed56f7 00:02:53 Step 9/12 : COPY go.mod vendor* ./ 00:02:53 ---> bc89bd0a499a 00:02:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:54 ---> Running in ada8a0500087 00:04:15 Removing intermediate container ada8a0500087 00:04:15 ---> 845756c015ce 00:04:15 Step 11/12 : COPY . . 00:04:15 ---> e3331bb2ce54 00:04:15 Step 12/12 : RUN $MAKE 00:04:15 ---> Running in b7ab4e353905 00:04:15 noop 00:04:15 Removing intermediate container b7ab4e353905 00:04:15 ---> 50632c21c357 00:04:15 Successfully built 50632c21c357 00:04:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:16 + docker inspect -f . ci-base-image-arm64 00:04:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:16 prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container 00:04:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/150 -v /w/workspace/device-mqtt-go/150:/w/workspace/device-mqtt-go/150:rw,z -v /w/workspace/device-mqtt-go/150@tmp:/w/workspace/device-mqtt-go/150@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 00:04:17 $ docker top db059de4c6a7fe26295acbb9387cc385aae46f6929598b440cd75a587f1e2f35 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:18 + go version 00:04:18 go version go1.21.0 linux/arm64 [Pipeline] } 00:04:18 $ docker stop --time=1 db059de4c6a7fe26295acbb9387cc385aae46f6929598b440cd75a587f1e2f35 00:04:20 $ docker rm -f --volumes db059de4c6a7fe26295acbb9387cc385aae46f6929598b440cd75a587f1e2f35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:20 + docker inspect -f . ci-base-image-arm64 00:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:20 prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container 00:04:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/150 -v /w/workspace/device-mqtt-go/150:/w/workspace/device-mqtt-go/150:rw,z -v /w/workspace/device-mqtt-go/150@tmp:/w/workspace/device-mqtt-go/150@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 00:04:22 $ docker top fa5601030c5e6ee589df87509c4c81e729189c80742a4a073d2a66879b428f8d -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:22 + git config --global --add safe.directory /w/workspace/device-mqtt-go/150 [Pipeline] fileExists [Pipeline] sh 00:04:23 + make test 00:04:23 go test ./... -coverprofile=coverage.out ./... 00:04:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:06:04 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:06:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:06:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 22.8% of statements 00:06:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:06:07 go vet ./... 00:06:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:06:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:06:39 ./bin/test-attribution-txt.sh [Pipeline] echo 00:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:06:39 $ docker stop --time=1 fa5601030c5e6ee589df87509c4c81e729189c80742a4a073d2a66879b428f8d 00:06:42 $ docker rm -f --volumes fa5601030c5e6ee589df87509c4c81e729189c80742a4a073d2a66879b428f8d [Pipeline] // withDockerContainer [Pipeline] sh 00:06:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:06:43 Warning: overwriting stash ‘coverage-report’ 00:06:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:06:44 + ls -al . 00:06:44 total 180 00:06:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:04 . 00:06:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:01 .. 00:06:44 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:01 .dockerignore 00:06:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:01 .git 00:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:01 .github 00:06:44 -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 00:01 .gitignore 00:06:44 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 00:01 .golangci.yml 00:06:44 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 7 00:01 Attribution.txt 00:06:44 -rw-rw-r-- 1 jenkins jenkins 17522 Nov 7 00:01 CHANGELOG.md 00:06:44 -rw-rw-r-- 1 jenkins jenkins 1689 Nov 7 00:01 Dockerfile 00:06:44 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:01 GOVERNANCE.md 00:06:44 -rw-rw-r-- 1 jenkins jenkins 657 Nov 7 00:01 Jenkinsfile 00:06:44 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 00:01 LICENSE 00:06:44 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 7 00:01 Makefile 00:06:44 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 00:01 OWNERS.md 00:06:44 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 7 00:01 README.md 00:06:44 -rw-rw-r-- 1 jenkins jenkins 12 Nov 6 23:58 VERSION 00:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:01 bin 00:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:01 cmd 00:06:44 -rw-r--r-- 1 jenkins jenkins 18506 Nov 7 00:06 coverage.out 00:06:44 -rw-rw-r-- 1 jenkins jenkins 3822 Nov 7 00:01 go.mod 00:06:44 -rw-rw-r-- 1 jenkins jenkins 35094 Nov 7 00:01 go.sum 00:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:01 internal 00:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:01 mock 00:06:44 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 00:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:44 + 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=daf9656040259007f9ff9da57e54fb024fb8fec3 --label arch=arm64 --label version=3.1.0-dev.22 . 00:06:45 Sending build context to Docker daemon 3.395MB 00:06:45 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 00:06:45 Step 2/24 : FROM ${BASE} AS builder 00:06:45 ---> 50632c21c357 00:06:45 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:06:45 ---> Running in 8b07820e8f3c 00:06:45 Removing intermediate container 8b07820e8f3c 00:06:45 ---> 1c5cdd53c060 00:06:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:06:46 ---> Running in 387ad56a9f7b 00:06:46 Removing intermediate container 387ad56a9f7b 00:06:46 ---> b0cbdd4e08e6 00:06:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:06:46 ---> Running in af51e561d9b3 00:06:46 Removing intermediate container af51e561d9b3 00:06:46 ---> 9015ae938311 00:06:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:06:46 ---> Running in 5cbe49955b4c 00:06:47 Removing intermediate container 5cbe49955b4c 00:06:47 ---> 1b9ecf6181ef 00:06:47 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:47 ---> Running in ebcf8902a8cf 00:06:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:06:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:06:50 OK: 270 MiB in 56 packages 00:06:51 Removing intermediate container ebcf8902a8cf 00:06:51 ---> a890f902c828 00:06:51 Step 8/24 : WORKDIR /device-mqtt-go 00:06:51 ---> Running in ba7180ea7874 00:06:51 Removing intermediate container ba7180ea7874 00:06:51 ---> ae0f1f643ff2 00:06:51 Step 9/24 : COPY go.mod vendor* ./ 00:06:52 ---> 6722bb834e8d 00:06:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:52 ---> Running in 9974429a7e37 00:06:55 Removing intermediate container 9974429a7e37 00:06:55 ---> 6bd070270b45 00:06:55 Step 11/24 : COPY . . 00:06:56 ---> c2ffe8f9efb6 00:06:56 Step 12/24 : RUN $MAKE 00:06:56 ---> Running in 4f05b85493f0 00:06:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 00:09:03 Removing intermediate container 4f05b85493f0 00:09:03 ---> b112d5067e1f 00:09:03 Step 13/24 : FROM alpine:3.18 00:09:03 3.18: Pulling from library/alpine 00:09:03 579b34f0a95b: Pulling fs layer 00:09:03 579b34f0a95b: Download complete 00:09:03 579b34f0a95b: Pull complete 00:09:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:09:03 Status: Downloaded newer image for alpine:3.18 00:09:03 ---> 3cc203321400 00:09:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:09:03 ---> Running in c62f5f7edf13 00:09:03 Removing intermediate container c62f5f7edf13 00:09:03 ---> 2ce6b5626f67 00:09:03 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:09:03 ---> Running in 6d1b94bea79d 00:09:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:09:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:09:03 (1/1) Installing dumb-init (1.2.5-r2) 00:09:03 Executing busybox-1.36.1-r2.trigger 00:09:03 OK: 8 MiB in 16 packages 00:09:03 Removing intermediate container 6d1b94bea79d 00:09:03 ---> c5d17df60c7e 00:09:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:09:03 ---> fcc60562db9a 00:09:03 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:09:03 ---> ca681dfbb70e 00:09:03 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:09:04 ---> 8ea3ddc071eb 00:09:04 Step 19/24 : EXPOSE 59982 00:09:04 ---> Running in a0f9179e7934 00:09:04 Removing intermediate container a0f9179e7934 00:09:04 ---> 241c80de5615 00:09:04 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:09:05 ---> Running in 4bbb24e2e753 00:09:05 Removing intermediate container 4bbb24e2e753 00:09:05 ---> 1b226a1fc7b0 00:09:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:09:05 ---> Running in 0d629c7fe9db 00:09:05 Removing intermediate container 0d629c7fe9db 00:09:05 ---> b066ee11c600 00:09:05 Step 22/24 : LABEL arch=arm64 00:09:05 ---> Running in 23e10185ca1a 00:09:10 Removing intermediate container 23e10185ca1a 00:09:10 ---> 84d7f8ca1494 00:09:10 Step 23/24 : LABEL git_sha=daf9656040259007f9ff9da57e54fb024fb8fec3 00:09:10 ---> Running in 1a0a54a42719 00:09:10 Removing intermediate container 1a0a54a42719 00:09:10 ---> 3076f99bff70 00:09:10 Step 24/24 : LABEL version=3.1.0-dev.22 00:09:10 ---> Running in abd373caf0cf 00:09:10 Removing intermediate container abd373caf0cf 00:09:10 ---> e37d55166c25 00:09:10 [Warning] One or more build-args [ARCH] were not consumed 00:09:10 Successfully built e37d55166c25 00:09: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 00:09:11 provisioning config files... 00:09:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/150@tmp/config17105377101647271673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:11 ---> docker-login.sh 00:09:11 nexus3.edgexfoundry.org:10001 00:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:11 Configure a credential helper to remove this warning. See 00:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:11 00:09:11 Login Succeeded 00:09:11 nexus3.edgexfoundry.org:10002 00:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:11 Configure a credential helper to remove this warning. See 00:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:11 00:09:11 Login Succeeded 00:09:11 nexus3.edgexfoundry.org:10003 00:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:12 Configure a credential helper to remove this warning. See 00:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:12 00:09:12 Login Succeeded 00:09:12 nexus3.edgexfoundry.org:10004 00:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:12 Configure a credential helper to remove this warning. See 00:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:12 00:09:12 Login Succeeded 00:09:12 docker.io 00:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:13 Configure a credential helper to remove this warning. See 00:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:13 00:09:13 Login Succeeded 00:09:13 ---> docker-login.sh ends [Pipeline] } 00:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:09:13 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 00:09:13 daf9656040259007f9ff9da57e54fb024fb8fec3 00:09:13 latest 00:09:13 3.1.0-dev.22 00:09:13 daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 00:09:13 main 00:09:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3 00:09:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:09:14 292e38bfd0b8: Preparing 00:09:14 481d2db98829: Preparing 00:09:14 0b58b2ffb029: Preparing 00:09:14 510f535eb4bb: Preparing 00:09:14 5f4d9fc4d98d: Preparing 00:09:14 5f4d9fc4d98d: Layer already exists 00:09:14 481d2db98829: Pushed 00:09:14 292e38bfd0b8: Pushed 00:09:14 510f535eb4bb: Pushed 00:09:20 0b58b2ffb029: Pushed 00:09:20 daf9656040259007f9ff9da57e54fb024fb8fec3: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:09:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:09:21 292e38bfd0b8: Preparing 00:09:21 481d2db98829: Preparing 00:09:21 0b58b2ffb029: Preparing 00:09:21 510f535eb4bb: Preparing 00:09:21 5f4d9fc4d98d: Preparing 00:09:21 5f4d9fc4d98d: Layer already exists 00:09:21 510f535eb4bb: Layer already exists 00:09:21 292e38bfd0b8: Layer already exists 00:09:21 481d2db98829: Layer already exists 00:09:21 0b58b2ffb029: Layer already exists 00:09:21 latest: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.22 00:09:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:09:22 292e38bfd0b8: Preparing 00:09:22 481d2db98829: Preparing 00:09:22 0b58b2ffb029: Preparing 00:09:22 510f535eb4bb: Preparing 00:09:22 5f4d9fc4d98d: Preparing 00:09:22 292e38bfd0b8: Layer already exists 00:09:22 0b58b2ffb029: Layer already exists 00:09:22 5f4d9fc4d98d: Layer already exists 00:09:22 481d2db98829: Layer already exists 00:09:22 510f535eb4bb: Layer already exists 00:09:22 3.1.0-dev.22: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 00:09:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:09:25 292e38bfd0b8: Preparing 00:09:25 481d2db98829: Preparing 00:09:25 0b58b2ffb029: Preparing 00:09:25 510f535eb4bb: Preparing 00:09:25 5f4d9fc4d98d: Preparing 00:09:25 481d2db98829: Layer already exists 00:09:25 510f535eb4bb: Layer already exists 00:09:25 292e38bfd0b8: Layer already exists 00:09:25 5f4d9fc4d98d: Layer already exists 00:09:25 0b58b2ffb029: Layer already exists 00:09:26 daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 00:09:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 00:09:26 292e38bfd0b8: Preparing 00:09:26 481d2db98829: Preparing 00:09:26 0b58b2ffb029: Preparing 00:09:26 510f535eb4bb: Preparing 00:09:26 5f4d9fc4d98d: Preparing 00:09:26 5f4d9fc4d98d: Layer already exists 00:09:26 0b58b2ffb029: Layer already exists 00:09:26 510f535eb4bb: Layer already exists 00:09:26 481d2db98829: Layer already exists 00:09:26 292e38bfd0b8: Layer already exists 00:09:26 main: digest: sha256:87512a66d50c624a7253f8c87bad96ff107dde370b0375201d9863f3a1865a51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:09:27 ===================================================== [Pipeline] echo 00:09:27 taggedImages: 00:09:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3 00:09:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 00:09:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.22 00:09:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:daf9656040259007f9ff9da57e54fb024fb8fec3-3.1.0-dev.22 00:09:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:27 00:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:27 arm64: Pulling from edgex-lftools-log-publisher 00:09:27 8998bd30e6a1: Pulling fs layer 00:09:27 04944245beec: Pulling fs layer 00:09:27 699f458cf7ca: Pulling fs layer 00:09:27 765212b225bb: Pulling fs layer 00:09:27 f23df028b6ca: Pulling fs layer 00:09:27 765212b225bb: Waiting 00:09:27 d65c8cfc05b1: Pulling fs layer 00:09:27 f23df028b6ca: Waiting 00:09:27 d65c8cfc05b1: Waiting 00:09:27 2437ff75d9bd: Pulling fs layer 00:09:27 2437ff75d9bd: Waiting 00:09:27 04944245beec: Verifying Checksum 00:09:27 04944245beec: Download complete 00:09:27 765212b225bb: Verifying Checksum 00:09:27 765212b225bb: Download complete 00:09:27 f23df028b6ca: Verifying Checksum 00:09:27 f23df028b6ca: Download complete 00:09:27 d65c8cfc05b1: Verifying Checksum 00:09:27 d65c8cfc05b1: Download complete 00:09:28 699f458cf7ca: Verifying Checksum 00:09:28 699f458cf7ca: Download complete 00:09:28 8998bd30e6a1: Verifying Checksum 00:09:28 8998bd30e6a1: Download complete 00:09:31 2437ff75d9bd: Verifying Checksum 00:09:31 2437ff75d9bd: Download complete 00:09:33 8998bd30e6a1: Pull complete 00:09:33 04944245beec: Pull complete 00:09:34 699f458cf7ca: Pull complete 00:09:34 765212b225bb: Pull complete 00:09:35 f23df028b6ca: Pull complete 00:09:40 d65c8cfc05b1: Pull complete 00:09:55 2437ff75d9bd: Pull complete 00:09:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:09:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:09:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:55 prd-ubuntu20.04-docker-arm64-4c-16g-16761 does not seem to be running inside a container 00:09:55 $ 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/150 -v /w/workspace/device-mqtt-go/150:/w/workspace/device-mqtt-go/150:rw,z -v /w/workspace/device-mqtt-go/150@tmp:/w/workspace/device-mqtt-go/150@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 00:09:58 $ docker top 005ccf257117a244cfb612c2d61d408e2623aaa3b75fb45173a23712a9182901 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:59 ---> job-cost.sh 00:09:59 lf-activate-venv: SKIPPING 00:09:59 INFO: No Stack... 00:09:59 INFO: Retrieving Pricing Info for: v3-standard-4 00:10:00 INFO: Archiving Costs [Pipeline] sh 00:10:01 + cat /w/workspace/device-mqtt-go/150/archives/cost.csv 00:10:01 + cut -d, -f6 [Pipeline] lock 00:10:01 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] 00:10:01 Resource [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] did not exist. Created. 00:10:01 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:10:01 /w/workspace/device-mqtt-go/150@tmp/durable-51303122/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:10:02 + echo total: 0.10999999940395355 [Pipeline] stash 00:10:02 Warning: overwriting stash ‘stack-cost’ 00:10:02 Stashed 1 file(s) [Pipeline] } 00:10:02 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 00:10:02 $ docker stop --time=1 005ccf257117a244cfb612c2d61d408e2623aaa3b75fb45173a23712a9182901 00:10:04 $ docker rm -f --volumes 005ccf257117a244cfb612c2d61d408e2623aaa3b75fb45173a23712a9182901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:10:04 provisioning config files... 00:10:04 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17018867500487595220tmp [Pipeline] { [Pipeline] sh 00:10:04 + set +x 00:10:04 + curl -s https://codecov.io/bash 00:10:04 + bash -s -- 00:10:04 00:10:04 _____ _ 00:10:04 / ____| | | 00:10:04 | | ___ __| | ___ ___ _____ __ 00:10:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:10:04 | |___| (_) | (_| | __/ (_| (_) \ V / 00:10:04 \_____\___/ \__,_|\___|\___\___/ \_/ 00:10:04 Bash-1.0.6 00:10:04 00:10:04 00:10:04 ==> git version 2.25.1 found 00:10:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:10:04 Release-Date: 2020-01-08 00:10:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:10:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:10:04 ==> Jenkins CI detected. 00:10:04 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 00:10:04 project root: . 00:10:04 --> token set from env 00:10:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:10:04 ==> Running gcov in . (disable via -X gcov) 00:10:04 ==> Python coveragepy not found 00:10:04 ==> Searching for coverage reports in: 00:10:04 + . 00:10:05 -> Found 1 reports 00:10:05 ==> Detecting git/mercurial file structure 00:10:05 ==> Reading reports 00:10:05 + ./coverage.out bytes=18506 00:10:05 ==> Appending adjustments 00:10:05 https://docs.codecov.io/docs/fixing-reports 00:10:05 + Found adjustments 00:10:05 ==> Gzipping contents 00:10:05 4.0K /tmp/codecov.XI2cNB.gz 00:10:05 ==> Uploading reports 00:10:05 url: https://codecov.io 00:10:05 query: branch=main&commit=daf9656040259007f9ff9da57e54fb024fb8fec3&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:10:05 -> Pinging Codecov 00:10:05 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=daf9656040259007f9ff9da57e54fb024fb8fec3&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:10:05 -> Uploading to 00:10:05 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/7D719EC7BBE17E464838252E33014C33/daf9656040259007f9ff9da57e54fb024fb8fec3/f0dfdafd-1ef5-4783-a7cf-ca9a61d78ca9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T001005Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4648b85eecca229f3f19d279abe126f41292c8bcf5a32d3ed4612328044d830b 00:10:05 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:05 Dload Upload Total Spent Left Speed 00:10:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11209 --:--:-- --:--:-- --:--:-- 11209 00:10:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] } 00:10:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:10:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:10:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:10:05 00:10:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:10:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:10:06 df9b9388f04a: Pulling fs layer 00:10:06 52dc419b0ee2: Pulling fs layer 00:10:06 25bc292e5bac: Pulling fs layer 00:10:06 114826534d7a: Pulling fs layer 00:10:06 4657fd5d0bcf: Pulling fs layer 00:10:06 6ad1cebc031e: Pulling fs layer 00:10:06 8a3aa393b2d8: Pulling fs layer 00:10:06 114826534d7a: Waiting 00:10:06 4657fd5d0bcf: Waiting 00:10:06 6ad1cebc031e: Waiting 00:10:06 8a3aa393b2d8: Waiting 00:10:06 25bc292e5bac: Verifying Checksum 00:10:06 25bc292e5bac: Download complete 00:10:06 52dc419b0ee2: Download complete 00:10:06 4657fd5d0bcf: Verifying Checksum 00:10:06 4657fd5d0bcf: Download complete 00:10:06 df9b9388f04a: Download complete 00:10:06 6ad1cebc031e: Verifying Checksum 00:10:06 6ad1cebc031e: Download complete 00:10:06 df9b9388f04a: Pull complete 00:10:06 52dc419b0ee2: Pull complete 00:10:06 25bc292e5bac: Pull complete 00:10:07 114826534d7a: Verifying Checksum 00:10:07 114826534d7a: Download complete 00:10:07 8a3aa393b2d8: Verifying Checksum 00:10:07 8a3aa393b2d8: Download complete 00:10:10 114826534d7a: Pull complete 00:10:10 4657fd5d0bcf: Pull complete 00:10:10 6ad1cebc031e: Pull complete 00:10:13 8a3aa393b2d8: Pull complete 00:10:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:10:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:13 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 00:10:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:10:16 $ docker top 7f1bd477987ff4aa0c0fc91e0acb0635280fa5bd30b49b6cb7bf12bcc08428d5 -eo pid,comm [Pipeline] { [Pipeline] echo 00:10:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 00:10:17 + set -o pipefail 00:10:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 00:10:22 00:10:22 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 00:10:22 00:10:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/d7a0f5fa-f73b-4ec8-bb21-3e2bba4779f6 00:10:22 00:10:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:10:22 00:10:22 00:10:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:10:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:10:22 More details here: https://snyk.co/ue1NS 00:10:22 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:10:22 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:10:22 $ docker stop --time=1 7f1bd477987ff4aa0c0fc91e0acb0635280fa5bd30b49b6cb7bf12bcc08428d5 00:10:26 $ docker rm -f --volumes 7f1bd477987ff4aa0c0fc91e0acb0635280fa5bd30b49b6cb7bf12bcc08428d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:10:27 + git log --format=format:%s -1 daf9656040259007f9ff9da57e54fb024fb8fec3 [Pipeline] sh 00:10:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:27 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 00:10:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:28 $ docker top f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a -eo pid,comm 00:10:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:10:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:28 [ssh-agent] Looking for ssh-agent implementation... 00:10:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:28 $ docker exec f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a ssh-agent 00:10:28 SSH_AUTH_SOCK=/tmp/ssh-ghHhhLrXorWE/agent.32 00:10:28 SSH_AGENT_PID=38 00:10:28 Running ssh-add (command line suppressed) 00:10:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8153441608751193710.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8153441608751193710.key) 00:10:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:28 + git semver tag 00:10:29 2023-11-07 00:10:29,093 [run_tag] DEBUG tag force:False 00:10:29 2023-11-07 00:10:29,093 [check_head_tag] DEBUG check head tag 00:10:29 2023-11-07 00:10:29,094 [execute] INFO git cat-file --batch-check 00:10:29 2023-11-07 00:10:29,094 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:10:29 2023-11-07 00:10:29,098 [execute] INFO git cat-file --batch 00:10:29 2023-11-07 00:10:29,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 00:10:29 2023-11-07 00:10:29,113 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:29 2023-11-07 00:10:29,113 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 00:10:29 2023-11-07 00:10:29,113 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:10:29 2023-11-07 00:10:29,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:29 3.1.0-dev.22 [Pipeline] } 00:10:29 $ docker exec --env ******** --env ******** f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a ssh-agent -k 00:10:29 unset SSH_AUTH_SOCK; 00:10:29 unset SSH_AGENT_PID; 00:10:29 echo Agent pid 38 killed; 00:10:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:29 + git semver [Pipeline] } 00:10:29 $ docker stop --time=1 f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a 00:10:31 $ docker rm -f --volumes f3cdf4214695b6fb3bba23b85297d0224b34f9e4342f67bb396ee1fe24808b7a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:10:31 00:10:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:10:31 0.23.1-centos7: Pulling from edgex-lftools 00:10:31 ab5ef0e58194: Pulling fs layer 00:10:31 9712f1f96733: Pulling fs layer 00:10:31 63f879dbbcfc: Pulling fs layer 00:10:31 0d9ebad4ef96: Pulling fs layer 00:10:31 e9a5061849ea: Pulling fs layer 00:10:31 0d9ebad4ef96: Waiting 00:10:31 d747dcd14b5f: Pulling fs layer 00:10:31 2de7ff778b66: Pulling fs layer 00:10:31 d747dcd14b5f: Waiting 00:10:31 2de7ff778b66: Waiting 00:10:31 9712f1f96733: Verifying Checksum 00:10:31 9712f1f96733: Download complete 00:10:32 63f879dbbcfc: Verifying Checksum 00:10:32 63f879dbbcfc: Download complete 00:10:32 0d9ebad4ef96: Verifying Checksum 00:10:32 0d9ebad4ef96: Download complete 00:10:32 d747dcd14b5f: Verifying Checksum 00:10:32 d747dcd14b5f: Download complete 00:10:32 ab5ef0e58194: Download complete 00:10:32 e9a5061849ea: Verifying Checksum 00:10:32 e9a5061849ea: Download complete 00:10:32 2de7ff778b66: Verifying Checksum 00:10:32 2de7ff778b66: Download complete 00:10:35 ab5ef0e58194: Pull complete 00:10:35 9712f1f96733: Pull complete 00:10:35 63f879dbbcfc: Pull complete 00:10:38 0d9ebad4ef96: Pull complete 00:10:38 e9a5061849ea: Pull complete 00:10:39 d747dcd14b5f: Pull complete 00:10:40 2de7ff778b66: Pull complete 00:10:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:10:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:10:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:40 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 00:10:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:10:44 $ docker top e2dadba3296844a411297ad2d8a23c13bf55ae5a7333203319e5d25e0b91175b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:10:44 provisioning config files... 00:10:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2055588135714241133tmp 00:10:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config274424971413908460tmp 00:10:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10496373602550494442tmp [Pipeline] { [Pipeline] echo 00:10:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:10:44 ---> sigul-configuration.sh 00:10:44 gpg: directory `/root/.gnupg' created 00:10:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:10:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:10:44 gpg: keyring `/root/.gnupg/secring.gpg' created 00:10:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:10:44 gpg: CAST5 encrypted data 00:10:44 gpg: encrypted with 1 passphrase 00:10:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:10:45 + mkdir /home/jenkins 00:10:45 + mkdir /home/jenkins/sigul [Pipeline] sh 00:10:45 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:10:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:10:45 ---> sigul-install.sh 00:10:45 Sigul already installed; skipping installation. [Pipeline] sh 00:10:46 + git tag --list 00:10:46 0.7.1 00:10:46 v1.0.0 00:10:46 v1.1.0 00:10:46 v1.1.1 00:10:46 v1.2.2 00:10:46 v1.3.0 00:10:46 v1.3.1 00:10:46 v2.0.0 00:10:46 v2.1.0 00:10:46 v2.1.1 00:10:46 v2.2.0 00:10:46 v2.3.0 00:10:46 v3.0 00:10:46 v3.0.0 00:10:46 v3.1.0-dev.1 00:10:46 v3.1.0-dev.10 00:10:46 v3.1.0-dev.11 00:10:46 v3.1.0-dev.12 00:10:46 v3.1.0-dev.13 00:10:46 v3.1.0-dev.14 00:10:46 v3.1.0-dev.15 00:10:46 v3.1.0-dev.16 00:10:46 v3.1.0-dev.17 00:10:46 v3.1.0-dev.18 00:10:46 v3.1.0-dev.19 00:10:46 v3.1.0-dev.2 00:10:46 v3.1.0-dev.20 00:10:46 v3.1.0-dev.21 00:10:46 v3.1.0-dev.22 00:10:46 v3.1.0-dev.3 00:10:46 v3.1.0-dev.4 00:10:46 v3.1.0-dev.5 00:10:46 v3.1.0-dev.6 00:10:46 v3.1.0-dev.7 00:10:46 v3.1.0-dev.8 00:10:46 v3.1.0-dev.9 [Pipeline] sh 00:10:46 + lftools sign git-tag v3.1.0-dev.22 00:10:46 Signing Git tag with Sigul... 00:10:46 Signing v3.1.0-dev.22 [Pipeline] echo 00:10:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:10:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:10:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:10:47 $ docker stop --time=1 e2dadba3296844a411297ad2d8a23c13bf55ae5a7333203319e5d25e0b91175b 00:10:48 $ docker rm -f --volumes e2dadba3296844a411297ad2d8a23c13bf55ae5a7333203319e5d25e0b91175b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:10:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:49 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 00:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:49 $ docker top 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 -eo pid,comm 00:10:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:10:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:50 [ssh-agent] Looking for ssh-agent implementation... 00:10:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:50 $ docker exec 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 ssh-agent 00:10:50 SSH_AUTH_SOCK=/tmp/ssh-lRctVNtjZNX4/agent.32 00:10:50 SSH_AGENT_PID=38 00:10:50 Running ssh-add (command line suppressed) 00:10:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6338511588793822874.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6338511588793822874.key) 00:10:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:50 + git semver bump pre 00:10:50 2023-11-07 00:10:50,853 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:50 2023-11-07 00:10:50,853 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev 00:10:50 2023-11-07 00:10:50,853 [bump_version] DEBUG bumped version:3.1.0-dev.23 00:10:50 2023-11-07 00:10:50,853 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 00:10:50 2023-11-07 00:10:50,853 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:50 2023-11-07 00:10:50,853 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:50 2023-11-07 00:10:50,856 [execute] INFO git cat-file --batch-check 00:10:50 2023-11-07 00:10:50,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:10:50 2023-11-07 00:10:50,862 [execute] INFO git cat-file --batch 00:10:50 2023-11-07 00:10:50,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:10:50 2023-11-07 00:10:50,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:50 3.1.0-dev.23 [Pipeline] } 00:10:50 $ docker exec --env ******** --env ******** 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 ssh-agent -k 00:10:51 unset SSH_AUTH_SOCK; 00:10:51 unset SSH_AGENT_PID; 00:10:51 echo Agent pid 38 killed; 00:10:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:51 + git semver [Pipeline] } 00:10:51 $ docker stop --time=1 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 00:10:52 $ docker rm -f --volumes 82fb857e93185b71e6f71c906950ebff9e341bd00d20d1a81270cc9541ea1dc9 [Pipeline] // withDockerContainer [Pipeline] sh 00:10:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:10:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:10:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:53 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 00:10:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:10:53 $ docker top e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 -eo pid,comm 00:10:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:10:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:10:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:10:54 [ssh-agent] Looking for ssh-agent implementation... 00:10:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:10:54 $ docker exec e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 ssh-agent 00:10:54 SSH_AUTH_SOCK=/tmp/ssh-MmzevZYg140r/agent.32 00:10:54 SSH_AGENT_PID=38 00:10:54 Running ssh-add (command line suppressed) 00:10:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15609051145357170629.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15609051145357170629.key) 00:10:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:10:54 + git semver push 00:10:54 2023-11-07 00:10:54,937 [run_push] DEBUG push 00:10:54 2023-11-07 00:10:54,938 [execute] INFO git cat-file --batch-check 00:10:54 2023-11-07 00:10:54,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:10:54 2023-11-07 00:10:54,943 [execute] INFO git rev-list ac6bc17c42ccd03d9c52e791d5d3ce28054a2205 -- 00:10:54 2023-11-07 00:10:54,943 [execute] DEBUG Popen(['git', 'rev-list', 'ac6bc17c42ccd03d9c52e791d5d3ce28054a2205', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:10:54 2023-11-07 00:10:54,955 [execute] INFO git fetch -v origin 00:10:54 2023-11-07 00:10:54,955 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:10:55 2023-11-07 00:10:55,501 [run_push] DEBUG no remote changes detected 00:10:55 2023-11-07 00:10:55,501 [execute] INFO git push origin semver 00:10:55 2023-11-07 00:10:55,501 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:10:56 2023-11-07 00:10:56,287 [run_push] DEBUG push all version tags 00:10:56 2023-11-07 00:10:56,287 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:10:56 2023-11-07 00:10:56,288 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 00:10:57 2023-11-07 00:10:57,065 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 00:10:57 3.1.0-dev.23 [Pipeline] } 00:10:57 $ docker exec --env ******** --env ******** e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 ssh-agent -k 00:10:57 unset SSH_AUTH_SOCK; 00:10:57 unset SSH_AGENT_PID; 00:10:57 echo Agent pid 38 killed; 00:10:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:10:57 + git semver [Pipeline] } 00:10:58 $ docker stop --time=1 e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 00:10:59 $ docker rm -f --volumes e12b2fb8701fc4e7428ee037e2dfbcef97866103d18da957ba9dba98a14fbb63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:10:59 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 00:10:59 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:10:59 total 16 00:10:59 drwxr-xr-x 3 root root 4096 Nov 7 00:00 . 00:10:59 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:10 .. 00:10:59 drwxr-xr-x 2 root root 4096 Nov 7 00:00 cost 00:10:59 -rw-r--r-- 1 root root 86 Nov 7 00:00 cost.csv 00:10:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:10:59 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 00:10:59 total 16 00:10:59 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:00 . 00:10:59 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:10 .. 00:10:59 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 00:00 cost 00:10:59 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 00:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:11:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:11:01 ---> package-listing.sh 00:11:01 ++ facter osfamily 00:11:01 ++ tr '[:upper:]' '[:lower:]' 00:11:01 + OS_FAMILY=debian 00:11:01 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 00:11:01 + START_PACKAGES=/tmp/packages_start.txt 00:11:01 + END_PACKAGES=/tmp/packages_end.txt 00:11:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:11:01 + PACKAGES=/tmp/packages_start.txt 00:11:01 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:11:01 + PACKAGES=/tmp/packages_end.txt 00:11:01 + case "${OS_FAMILY}" in 00:11:01 + dpkg -l 00:11:01 + grep '^ii' 00:11:01 + '[' -f /tmp/packages_start.txt ']' 00:11:01 + '[' -f /tmp/packages_end.txt ']' 00:11:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:11:01 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 00:11:01 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 00:11:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 00:11:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:11:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:11:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:02 prd-ubuntu20.04-docker-8c-8g-16759 does not seem to be running inside a container 00:11:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:11:02 $ docker top c33d22f6e74746621885b789d7684c57b3826fb8ebb74fcdfa7151a23843cb86 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:02 + touch /tmp/pre-build-complete [Pipeline] sh 00:11:03 + mkdir -p /var/log/sysstat [Pipeline] sh 00:11:03 + ls /var/log/sa-host 00:11:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:03 provisioning config files... 00:11:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2917022433535578738tmp [Pipeline] { [Pipeline] echo 00:11:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:11:03 ---> create-netrc.sh [Pipeline] } 00:11:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:11:04 ---> python-tools-install.sh [Pipeline] echo 00:11:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:11:04 ---> sudo-logs.sh 00:11:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:11:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:11:04 ---> job-cost.sh 00:11:04 lf-activate-venv: SKIPPING 00:11:04 DEBUG: total: 0.2199999988079071 00:11:04 INFO: Retrieving Stack Cost... 00:11:05 INFO: Retrieving Pricing Info for: v3-standard-8 00:11:05 INFO: Archiving Costs [Pipeline] echo 00:11:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:11:05 ---> logs-deploy.sh 00:11:05 lf-activate-venv: SKIPPING 00:11:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/150 00:11:05 INFO: archiving workspace using pattern(s): 00:11:06 Archives upload complete. 00:11:07 INFO: archiving logs to Nexus