Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61add75b1ef191377c59afa20b8ba92f4dc8af4b 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-ssh473196620153852025.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9398195275847048352.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3828319254926500106.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2833435899449832441.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-ssh9430713478266613289.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-211 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 61add75b1ef191377c59afa20b8ba92f4dc8af4b (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#525)" > 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 61add75b1ef191377c59afa20b8ba92f4dc8af4b # timeout=10 > git rev-list --no-walk 14341be0e00f90cb93f09a8fe34181eba0d3b045 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:27:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:27:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:27:31 ========================================================= 18:27:31 EdgeX Global Pipelines Version Info 18:27:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:27:31 ------------------- 18:27:31 stable info: 18:27:31 ------------------- 18:27:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:27:31 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:27:31 Message: update stable to v1.0.245 18:27:32 ------------------- 18:27:32 experimental info: 18:27:32 ------------------- 18:27:32 Commited By: **** collab-it+edgex@linuxfoundation.org 18:27:32 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:27:32 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61add75b1ef191377c59afa20b8ba92f4dc8af4b [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61add75 [Pipeline] echo 18:27:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:33 provisioning config files... 18:27:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6163953461688353412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:33 ---> docker-login.sh 18:27:33 nexus3.edgexfoundry.org:10001 18:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:33 Configure a credential helper to remove this warning. See 18:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:33 18:27:33 Login Succeeded 18:27:33 nexus3.edgexfoundry.org:10002 18:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:33 Configure a credential helper to remove this warning. See 18:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:33 18:27:33 Login Succeeded 18:27:33 nexus3.edgexfoundry.org:10003 18:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:33 Configure a credential helper to remove this warning. See 18:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:33 18:27:33 Login Succeeded 18:27:33 nexus3.edgexfoundry.org:10004 18:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:34 Configure a credential helper to remove this warning. See 18:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:34 18:27:34 Login Succeeded 18:27:34 docker.io 18:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:34 Configure a credential helper to remove this warning. See 18:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:34 18:27:34 Login Succeeded 18:27:34 ---> docker-login.sh ends [Pipeline] } 18:27:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:27:34 + git rev-list -1 --merges 61add75b1ef191377c59afa20b8ba92f4dc8af4b~1..61add75b1ef191377c59afa20b8ba92f4dc8af4b [Pipeline] echo 18:27:34 -----------> git rev-list -1 --merges 61add75b1ef191377c59afa20b8ba92f4dc8af4b~1..61add75b1ef191377c59afa20b8ba92f4dc8af4b 61add75b1ef191377c59afa20b8ba92f4dc8af4b [false] [Pipeline] sh 18:27:35 + git log --format=format:%s -1 61add75b1ef191377c59afa20b8ba92f4dc8af4b [Pipeline] echo 18:27:35 ========================================================= 18:27:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:27:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:35 + git log --format=format:%s -1 61add75b1ef191377c59afa20b8ba92f4dc8af4b [Pipeline] echo 18:27:35 [semverPrep] GIT_COMMIT: 61add75b1ef191377c59afa20b8ba92f4dc8af4b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#525) [Pipeline] echo 18:27:35 [semverPrep] This is not a build commit. [Pipeline] sh 18:27:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:27:35 + grep -v github /etc/ssh/ssh_known_hosts 18:27:35 + [ -e /tmp/ssh_known_hosts ] 18:27:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:27:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:27:35 + sudo tee -a /etc/ssh/ssh_known_hosts 18:27:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:36 18:27:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:36 0.1.4: Pulling from edgex-devops/py-git-semver 18:27:36 b85a868b505f: Pulling fs layer 18:27:36 e2be974225ed: Pulling fs layer 18:27:36 339a4e72a1f5: Pulling fs layer 18:27:36 988bab9f4d93: Pulling fs layer 18:27:36 1469e6f7b9e6: Pulling fs layer 18:27:36 eaf3925da568: Pulling fs layer 18:27:36 bab4dde63d76: Pulling fs layer 18:27:36 bde34c3a00c8: Pulling fs layer 18:27:36 b352a97aabf1: Pulling fs layer 18:27:36 4872d77fe225: Pulling fs layer 18:27:36 5851b861e8e6: Pulling fs layer 18:27:36 988bab9f4d93: Waiting 18:27:36 1469e6f7b9e6: Waiting 18:27:36 eaf3925da568: Waiting 18:27:36 4872d77fe225: Waiting 18:27:36 5851b861e8e6: Waiting 18:27:36 bab4dde63d76: Waiting 18:27:36 bde34c3a00c8: Waiting 18:27:36 b352a97aabf1: Waiting 18:27:36 e2be974225ed: Verifying Checksum 18:27:36 e2be974225ed: Download complete 18:27:36 988bab9f4d93: Verifying Checksum 18:27:36 988bab9f4d93: Download complete 18:27:36 1469e6f7b9e6: Verifying Checksum 18:27:36 1469e6f7b9e6: Download complete 18:27:36 339a4e72a1f5: Verifying Checksum 18:27:36 339a4e72a1f5: Download complete 18:27:36 eaf3925da568: Verifying Checksum 18:27:36 eaf3925da568: Download complete 18:27:36 bde34c3a00c8: Verifying Checksum 18:27:36 bde34c3a00c8: Download complete 18:27:37 b352a97aabf1: Verifying Checksum 18:27:37 b352a97aabf1: Download complete 18:27:37 5851b861e8e6: Verifying Checksum 18:27:37 5851b861e8e6: Download complete 18:27:37 b85a868b505f: Download complete 18:27:37 bab4dde63d76: Verifying Checksum 18:27:37 bab4dde63d76: Download complete 18:27:38 b85a868b505f: Pull complete 18:27:38 e2be974225ed: Pull complete 18:27:39 339a4e72a1f5: Pull complete 18:27:39 988bab9f4d93: Pull complete 18:27:39 1469e6f7b9e6: Pull complete 18:27:39 eaf3925da568: Pull complete 18:27:41 bab4dde63d76: Pull complete 18:27:41 bde34c3a00c8: Pull complete 18:27:41 b352a97aabf1: Pull complete 18:27:41 4872d77fe225: Pull complete 18:27:41 5851b861e8e6: Pull complete 18:27:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:27:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:41 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:27:41 $ 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 18:27:45 $ docker top d585cef5971eb72d942f10167940e1fe768ba140be4984b576bea39790c7d1de -eo pid,comm 18:27:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:27:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:27:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:27:45 [ssh-agent] Looking for ssh-agent implementation... 18:27:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:27:45 $ docker exec d585cef5971eb72d942f10167940e1fe768ba140be4984b576bea39790c7d1de ssh-agent 18:27:45 SSH_AUTH_SOCK=/tmp/ssh-HYmKeaZ4tFKs/agent.32 18:27:45 SSH_AGENT_PID=38 18:27:45 Running ssh-add (command line suppressed) 18:27:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4532406698109641394.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4532406698109641394.key) 18:27:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:27:46 + git tag --points-at HEAD [Pipeline] } 18:27:46 $ docker exec --env ******** --env ******** d585cef5971eb72d942f10167940e1fe768ba140be4984b576bea39790c7d1de ssh-agent -k 18:27:46 unset SSH_AUTH_SOCK; 18:27:46 unset SSH_AGENT_PID; 18:27:46 echo Agent pid 38 killed; 18:27:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:27:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:27:46 [ssh-agent] Looking for ssh-agent implementation... 18:27:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:27:46 $ docker exec d585cef5971eb72d942f10167940e1fe768ba140be4984b576bea39790c7d1de ssh-agent 18:27:46 SSH_AUTH_SOCK=/tmp/ssh-j6ot2unQQf4V/agent.70 18:27:46 SSH_AGENT_PID=76 18:27:46 Running ssh-add (command line suppressed) 18:27:46 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6337481446182916055.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6337481446182916055.key) 18:27:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:27:46 + git semver init 18:27:47 2023-03-14 18:27:47,120 [run_init] DEBUG init version:0.0.0 force:False 18:27:47 2023-03-14 18:27:47,121 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:27:47 2023-03-14 18:27:47,121 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:27:47 2023-03-14 18:27:47,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 18:27:48 2023-03-14 18:27:47,978 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 18:27:48 2023-03-14 18:27:47,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 18:27:48 2023-03-14 18:27:47,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:27:48 2023-03-14 18:27:47,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:27:48 3.0.0-dev.11 [Pipeline] } 18:27:48 $ docker exec --env ******** --env ******** d585cef5971eb72d942f10167940e1fe768ba140be4984b576bea39790c7d1de ssh-agent -k 18:27:48 unset SSH_AUTH_SOCK; 18:27:48 unset SSH_AGENT_PID; 18:27:48 echo Agent pid 76 killed; 18:27:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:27:48 + git semver [Pipeline] } 18:27:48 $ docker stop --time=1 d585cef5971eb72d942f10167940e1fe768ba140be4984b576bea39790c7d1de 18:27:50 $ docker rm -f --volumes d585cef5971eb72d942f10167940e1fe768ba140be4984b576bea39790c7d1de [Pipeline] // withDockerContainer [Pipeline] sh 18:27:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:27:50 Stashed 1 file(s) [Pipeline] echo 18:27:50 [edgeXSemver]: initialized semver on version 3.0.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:50 provisioning config files... 18:27:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3051471807374240281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:51 ---> docker-login.sh 18:27:51 nexus3.edgexfoundry.org:10001 18:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:51 Configure a credential helper to remove this warning. See 18:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:51 18:27:51 Login Succeeded 18:27:51 nexus3.edgexfoundry.org:10002 18:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:51 Configure a credential helper to remove this warning. See 18:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:51 18:27:51 Login Succeeded 18:27:51 nexus3.edgexfoundry.org:10003 18:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:51 Configure a credential helper to remove this warning. See 18:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:51 18:27:51 Login Succeeded 18:27:51 nexus3.edgexfoundry.org:10004 18:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:51 Configure a credential helper to remove this warning. See 18:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:51 18:27:51 Login Succeeded 18:27:51 docker.io 18:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:51 Configure a credential helper to remove this warning. See 18:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:51 18:27:51 Login Succeeded 18:27:51 ---> docker-login.sh ends [Pipeline] } 18:27:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:27:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:51 ========================================================= 18:27:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:27:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:27:51 Sending build context to Docker daemon 6.346MB 18:27:51 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:27:51 Step 2/12 : FROM ${BASE} AS builder 18:27:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:27:51 63b65145d645: Pulling fs layer 18:27:51 a2d21d5440eb: Pulling fs layer 18:27:51 935e6c44a52c: Pulling fs layer 18:27:51 94cc34f8dd06: Pulling fs layer 18:27:51 30dea6a524f1: Pulling fs layer 18:27:51 a2aff8979fd8: Pulling fs layer 18:27:51 6808be2612f2: Pulling fs layer 18:27:51 f25807f1079a: Pulling fs layer 18:27:51 a2aff8979fd8: Waiting 18:27:51 6808be2612f2: Waiting 18:27:51 f25807f1079a: Waiting 18:27:51 30dea6a524f1: Waiting 18:27:51 94cc34f8dd06: Waiting 18:27:52 a2d21d5440eb: Download complete 18:27:52 94cc34f8dd06: Verifying Checksum 18:27:52 94cc34f8dd06: Download complete 18:27:52 30dea6a524f1: Verifying Checksum 18:27:52 30dea6a524f1: Download complete 18:27:52 63b65145d645: Verifying Checksum 18:27:52 63b65145d645: Download complete 18:27:52 a2aff8979fd8: Verifying Checksum 18:27:52 a2aff8979fd8: Download complete 18:27:52 63b65145d645: Pull complete 18:27:52 a2d21d5440eb: Pull complete 18:27:53 935e6c44a52c: Verifying Checksum 18:27:53 935e6c44a52c: Download complete 18:27:53 f25807f1079a: Verifying Checksum 18:27:53 f25807f1079a: Download complete 18:27:53 6808be2612f2: Verifying Checksum 18:27:53 6808be2612f2: Download complete 18:27:56 935e6c44a52c: Pull complete 18:27:56 94cc34f8dd06: Pull complete 18:27:56 30dea6a524f1: Pull complete 18:27:56 a2aff8979fd8: Pull complete 18:27:59 6808be2612f2: Pull complete 18:28:00 f25807f1079a: Pull complete 18:28:00 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:28:00 ---> 3b553350e43f 18:28:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:28:05 Still waiting to schedule task 18:28:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:28:05 ---> Running in b3897d428615 18:28:05 Removing intermediate container b3897d428615 18:28:05 ---> ffe3fff1c6de 18:28:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:28:05 ---> Running in 90a35c6bdfe2 18:28:05 Removing intermediate container 90a35c6bdfe2 18:28:05 ---> 79d2866deadf 18:28:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:28:05 ---> Running in 19161927b70c 18:28:05 Removing intermediate container 19161927b70c 18:28:05 ---> b0ecb3722a48 18:28:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:28:06 ---> Running in c44e7822265c 18:28:06 Removing intermediate container c44e7822265c 18:28:06 ---> 44b6577c016d 18:28:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:28:06 ---> Running in d039ce374320 18:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:28:06 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:28:06 (2/4) Installing libedit (20221030.3.1-r0) 18:28:06 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:28:06 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:28:06 Executing busybox-1.35.0-r29.trigger 18:28:06 OK: 269 MiB in 57 packages 18:28:07 Removing intermediate container d039ce374320 18:28:07 ---> 93ea557bedea 18:28:07 Step 8/12 : WORKDIR /device-mqtt-go 18:28:07 ---> Running in 79c97e1674b4 18:28:07 Removing intermediate container 79c97e1674b4 18:28:07 ---> 7f7ab232a299 18:28:07 Step 9/12 : COPY go.mod vendor* ./ 18:28:07 ---> fd978fa107f3 18:28:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:28:07 ---> Running in f52f2210844b 18:28:46 Removing intermediate container f52f2210844b 18:28:46 ---> db996fd36e55 18:28:46 Step 11/12 : COPY . . 18:28:46 ---> 0ec03cce234d 18:28:46 Step 12/12 : RUN $MAKE 18:28:46 ---> Running in f8f33daa791f 18:28:46 noop 18:28:46 Removing intermediate container f8f33daa791f 18:28:46 ---> c98de65eed72 18:28:46 Successfully built c98de65eed72 18:28:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:46 + docker inspect -f . ci-base-image-x86_64 18:28:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:46 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:28:46 $ 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 18:28:47 $ docker top 0a1a1a6ac92e74cccf86fbb170a2489239cf95bcc6e4e45c50bd9e98e0c2cd69 -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:47 + go version 18:28:47 go version go1.20.2 linux/amd64 [Pipeline] } 18:28:47 $ docker stop --time=1 0a1a1a6ac92e74cccf86fbb170a2489239cf95bcc6e4e45c50bd9e98e0c2cd69 18:28:49 $ docker rm -f --volumes 0a1a1a6ac92e74cccf86fbb170a2489239cf95bcc6e4e45c50bd9e98e0c2cd69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:49 + docker inspect -f . ci-base-image-x86_64 18:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:49 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:28:49 $ 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 18:28:50 $ docker top ca2167112fa61d858ac36fdd6a0a6da13fe6e22afac41cd209f4c92827334b97 -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 18:28:51 + make test 18:28:51 go test ./... -coverprofile=coverage.out ./... 18:28:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:29:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:29:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:29:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.2% of statements 18:29:14 go vet ./... 18:29:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:17 ./bin/test-attribution-txt.sh [Pipeline] echo 18:29:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:17 $ docker stop --time=1 ca2167112fa61d858ac36fdd6a0a6da13fe6e22afac41cd209f4c92827334b97 18:29:19 $ docker rm -f --volumes ca2167112fa61d858ac36fdd6a0a6da13fe6e22afac41cd209f4c92827334b97 [Pipeline] // withDockerContainer [Pipeline] sh 18:29:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:29:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:20 + ls -al . 18:29:20 total 180 18:29:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 18:28 . 18:29:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:27 .. 18:29:20 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 18:27 .dockerignore 18:29:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:27 .git 18:29:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:27 .github 18:29:20 -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 18:27 .gitignore 18:29:20 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 18:27 .golangci.yml 18:29:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:27 .semver 18:29:20 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 14 18:27 Attribution.txt 18:29:20 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 14 18:27 CHANGELOG.md 18:29:20 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 14 18:27 Dockerfile 18:29:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:27 GOVERNANCE.md 18:29:20 -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 18:27 Jenkinsfile 18:29:20 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 18:27 LICENSE 18:29:20 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 14 18:27 Makefile 18:29:20 -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 18:27 OWNERS.md 18:29:20 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 14 18:27 README.md 18:29:20 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 18:27 VERSION 18:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:27 bin 18:29:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:27 cmd 18:29:20 -rw-r--r-- 1 jenkins jenkins 18047 Mar 14 18:29 coverage.out 18:29:20 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 14 18:27 go.mod 18:29:20 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 18:27 go.sum 18:29:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:27 internal 18:29:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:27 mock 18:29:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:27 snap 18:29:20 -rw-rw-r-- 1 jenkins jenkins 227 Mar 14 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:21 + 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=61add75b1ef191377c59afa20b8ba92f4dc8af4b --label arch=amd64 --label version=3.0.0-dev.11 . 18:29:21 Sending build context to Docker daemon 6.365MB 18:29:21 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:29:21 Step 2/24 : FROM ${BASE} AS builder 18:29:21 ---> c98de65eed72 18:29:21 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:29:21 ---> Running in 150f21368486 18:29:21 Removing intermediate container 150f21368486 18:29:21 ---> aa0dbf6c7cd7 18:29:21 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:29:21 ---> Running in f2715c82ab69 18:29:21 Removing intermediate container f2715c82ab69 18:29:21 ---> c57dae31f231 18:29:21 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:29:21 ---> Running in ab16755b813a 18:29:21 Removing intermediate container ab16755b813a 18:29:21 ---> 88a411487edb 18:29:21 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:29:21 ---> Running in 571c23e711f3 18:29:22 Removing intermediate container 571c23e711f3 18:29:22 ---> 6f7735b3a96f 18:29:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:29:22 ---> Running in 52496af2c336 18:29:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:29:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:29:22 OK: 269 MiB in 57 packages 18:29:22 Removing intermediate container 52496af2c336 18:29:22 ---> 50fb960ee61e 18:29:22 Step 8/24 : WORKDIR /device-mqtt-go 18:29:22 ---> Running in 18fda57c078c 18:29:23 Removing intermediate container 18fda57c078c 18:29:23 ---> b5f5bf6f574c 18:29:23 Step 9/24 : COPY go.mod vendor* ./ 18:29:23 ---> 795680099fc5 18:29:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:23 ---> Running in 809a661170d1 18:29:24 Removing intermediate container 809a661170d1 18:29:24 ---> 4e60ddef4173 18:29:24 Step 11/24 : COPY . . 18:29:24 ---> 1e929fe0612e 18:29:24 Step 12/24 : RUN $MAKE 18:29:24 ---> Running in 3c60ea8f00fe 18:29:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:29:46 Removing intermediate container 3c60ea8f00fe 18:29:46 ---> ff93e137f5f5 18:29:46 Step 13/24 : FROM alpine:3.16 18:29:46 3.16: Pulling from library/alpine 18:29:46 ef5531b6e74e: Pulling fs layer 18:29:46 ef5531b6e74e: Verifying Checksum 18:29:46 ef5531b6e74e: Download complete 18:29:46 ef5531b6e74e: Pull complete 18:29:46 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 18:29:46 Status: Downloaded newer image for alpine:3.16 18:29:46 ---> dfd21b5a31f5 18:29:46 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:29:46 ---> Running in 31e38ad40da5 18:29:46 Removing intermediate container 31e38ad40da5 18:29:46 ---> 64344efc4015 18:29:46 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:29:46 ---> Running in 8c6d4d171434 18:29:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:29:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:29:46 (1/1) Installing dumb-init (1.2.5-r1) 18:29:46 Executing busybox-1.35.0-r17.trigger 18:29:46 OK: 6 MiB in 15 packages 18:29:46 Removing intermediate container 8c6d4d171434 18:29:46 ---> 71993658a1cd 18:29:46 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:29:46 ---> 060b50c2c580 18:29:46 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:29:46 ---> 9433d81220e3 18:29:46 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:29:46 ---> afa8a4d25869 18:29:46 Step 19/24 : EXPOSE 59982 18:29:46 ---> Running in d7e3c83b912f 18:29:46 Removing intermediate container d7e3c83b912f 18:29:46 ---> b045a249c593 18:29:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:29:46 ---> Running in 3d34fed739c4 18:29:46 Removing intermediate container 3d34fed739c4 18:29:46 ---> 737773723ec7 18:29:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:29:46 ---> Running in 0b3d1994b63c 18:29:46 Removing intermediate container 0b3d1994b63c 18:29:46 ---> 468ae9c04d3c 18:29:46 Step 22/24 : LABEL arch=amd64 18:29:46 ---> Running in 58b5c65a6734 18:29:46 Removing intermediate container 58b5c65a6734 18:29:46 ---> 6ca67bf433ca 18:29:46 Step 23/24 : LABEL git_sha=61add75b1ef191377c59afa20b8ba92f4dc8af4b 18:29:46 ---> Running in e3d69f345797 18:29:46 Removing intermediate container e3d69f345797 18:29:46 ---> 1861ef4b7173 18:29:46 Step 24/24 : LABEL version=3.0.0-dev.11 18:29:46 ---> Running in 47fff20f1143 18:29:46 Removing intermediate container 47fff20f1143 18:29:46 ---> 9be8ca7f6a87 18:29:46 [Warning] One or more build-args [ARCH] were not consumed 18:29:46 Successfully built 9be8ca7f6a87 18:29:46 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:29:46 provisioning config files... 18:29:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1912369277854636128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:46 ---> docker-login.sh 18:29:46 nexus3.edgexfoundry.org:10001 18:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:46 Configure a credential helper to remove this warning. See 18:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:46 18:29:46 Login Succeeded 18:29:46 nexus3.edgexfoundry.org:10002 18:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:46 Configure a credential helper to remove this warning. See 18:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:46 18:29:46 Login Succeeded 18:29:46 nexus3.edgexfoundry.org:10003 18:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:47 Configure a credential helper to remove this warning. See 18:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:47 18:29:47 Login Succeeded 18:29:47 nexus3.edgexfoundry.org:10004 18:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:47 Configure a credential helper to remove this warning. See 18:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:47 18:29:47 Login Succeeded 18:29:47 docker.io 18:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:47 Configure a credential helper to remove this warning. See 18:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:47 18:29:47 Login Succeeded 18:29:47 ---> docker-login.sh ends [Pipeline] } 18:29:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:29:47 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 18:29:47 61add75b1ef191377c59afa20b8ba92f4dc8af4b 18:29:47 latest 18:29:47 3.0.0-dev.11 18:29:47 61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11 18:29:47 main 18:29:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:61add75b1ef191377c59afa20b8ba92f4dc8af4b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:61add75b1ef191377c59afa20b8ba92f4dc8af4b 18:29:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:47 49f1c6771333: Preparing 18:29:47 55da191af100: Preparing 18:29:47 6947f1404236: Preparing 18:29:47 31628faf9caf: Preparing 18:29:47 aa5968d388b8: Preparing 18:29:47 aa5968d388b8: Layer already exists 18:29:47 49f1c6771333: Pushed 18:29:47 55da191af100: Pushed 18:29:47 31628faf9caf: Pushed 18:29:50 6947f1404236: Pushed 18:29:50 61add75b1ef191377c59afa20b8ba92f4dc8af4b: digest: sha256:522e6ee9af069df5d7d8edf23f385fc429abf201df19a47e1221ef21ac08a8d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:29:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:51 49f1c6771333: Preparing 18:29:51 55da191af100: Preparing 18:29:51 6947f1404236: Preparing 18:29:51 31628faf9caf: Preparing 18:29:51 aa5968d388b8: Preparing 18:29:51 31628faf9caf: Layer already exists 18:29:51 6947f1404236: Layer already exists 18:29:51 aa5968d388b8: Layer already exists 18:29:51 49f1c6771333: Layer already exists 18:29:51 55da191af100: Layer already exists 18:29:51 latest: digest: sha256:522e6ee9af069df5d7d8edf23f385fc429abf201df19a47e1221ef21ac08a8d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.11 18:29:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:52 49f1c6771333: Preparing 18:29:52 55da191af100: Preparing 18:29:52 6947f1404236: Preparing 18:29:52 31628faf9caf: Preparing 18:29:52 aa5968d388b8: Preparing 18:29:52 55da191af100: Layer already exists 18:29:52 49f1c6771333: Layer already exists 18:29:52 31628faf9caf: Layer already exists 18:29:52 6947f1404236: Layer already exists 18:29:52 aa5968d388b8: Layer already exists 18:29:52 3.0.0-dev.11: digest: sha256:522e6ee9af069df5d7d8edf23f385fc429abf201df19a47e1221ef21ac08a8d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11 18:29:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:52 49f1c6771333: Preparing 18:29:52 55da191af100: Preparing 18:29:52 6947f1404236: Preparing 18:29:52 31628faf9caf: Preparing 18:29:52 aa5968d388b8: Preparing 18:29:52 aa5968d388b8: Layer already exists 18:29:52 55da191af100: Layer already exists 18:29:52 6947f1404236: Layer already exists 18:29:52 49f1c6771333: Layer already exists 18:29:52 31628faf9caf: Layer already exists 18:29:52 61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11: digest: sha256:522e6ee9af069df5d7d8edf23f385fc429abf201df19a47e1221ef21ac08a8d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 18:29:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:29:53 49f1c6771333: Preparing 18:29:53 55da191af100: Preparing 18:29:53 6947f1404236: Preparing 18:29:53 31628faf9caf: Preparing 18:29:53 aa5968d388b8: Preparing 18:29:53 aa5968d388b8: Layer already exists 18:29:53 55da191af100: Layer already exists 18:29:53 31628faf9caf: Layer already exists 18:29:53 49f1c6771333: Layer already exists 18:29:53 6947f1404236: Layer already exists 18:29:53 main: digest: sha256:522e6ee9af069df5d7d8edf23f385fc429abf201df19a47e1221ef21ac08a8d6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:29:53 ===================================================== [Pipeline] echo 18:29:53 taggedImages: 18:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:61add75b1ef191377c59afa20b8ba92f4dc8af4b 18:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.11 18:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11 18:29:53 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:53 18:29:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:53 latest: Pulling from edgex-lftools-log-publisher 18:29:53 5eb5b503b376: Pulling fs layer 18:29:53 5c69ac0246d0: Pulling fs layer 18:29:53 ec43610c2a17: Pulling fs layer 18:29:53 3a2ae6a8a46f: Pulling fs layer 18:29:53 33b1e0a273af: Pulling fs layer 18:29:53 5d3b04190fa2: Pulling fs layer 18:29:53 2f39f015ded8: Pulling fs layer 18:29:53 33b1e0a273af: Waiting 18:29:53 5d3b04190fa2: Waiting 18:29:53 2f39f015ded8: Waiting 18:29:53 3a2ae6a8a46f: Waiting 18:29:53 5c69ac0246d0: Verifying Checksum 18:29:53 5c69ac0246d0: Download complete 18:29:53 3a2ae6a8a46f: Verifying Checksum 18:29:53 3a2ae6a8a46f: Download complete 18:29:54 33b1e0a273af: Verifying Checksum 18:29:54 33b1e0a273af: Download complete 18:29:54 ec43610c2a17: Verifying Checksum 18:29:54 ec43610c2a17: Download complete 18:29:54 5d3b04190fa2: Download complete 18:29:54 5eb5b503b376: Verifying Checksum 18:29:54 5eb5b503b376: Download complete 18:29:54 2f39f015ded8: Download complete 18:29:55 5eb5b503b376: Pull complete 18:29:55 5c69ac0246d0: Pull complete 18:29:55 ec43610c2a17: Pull complete 18:29:56 3a2ae6a8a46f: Pull complete 18:29:56 33b1e0a273af: Pull complete 18:29:56 5d3b04190fa2: Pull complete 18:30:00 2f39f015ded8: Pull complete 18:30:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:00 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:30:00 $ 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 18:30:03 $ docker top 52ca84c960c89b8725be25fca0a32788e63016695a7f624cfdf9acf366a9d651 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:04 ---> job-cost.sh 18:30:04 lf-activate-venv: SKIPPING 18:30:04 INFO: No Stack... 18:30:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:30:04 INFO: Archiving Costs [Pipeline] sh 18:30:05 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 18:30:05 + cut -d, -f6 [Pipeline] lock 18:30:05 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-94-stack-cost] 18:30:05 Resource [jenkins-edgexfoundry-device-mqtt-go-main-94-stack-cost] did not exist. Created. 18:30:05 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:30:05 + echo total: 0.2199999988079071 [Pipeline] stash 18:30:05 Stashed 1 file(s) [Pipeline] } 18:30:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } 18:30:05 $ docker stop --time=1 52ca84c960c89b8725be25fca0a32788e63016695a7f624cfdf9acf366a9d651 18:30:06 $ docker rm -f --volumes 52ca84c960c89b8725be25fca0a32788e63016695a7f624cfdf9acf366a9d651 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:30:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-216 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 18:30:57 Running in /w/workspace/device-mqtt-go/94 [Pipeline] { [Pipeline] checkout 18:30:57 Selected Git installation does not exist. Using Default 18:30:57 The recommended git tool is: NONE 18:31:04 using credential edgex-jenkins-ssh 18:31:04 Cloning the remote Git repository 18:31:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:31:05 > git init /w/workspace/device-mqtt-go/94 # timeout=10 18:31:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:31:05 > git --version # timeout=10 18:31:05 > git --version # 'git version 2.25.1' 18:31:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:31:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:31:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:31:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:31:07 Avoid second fetch 18:31:07 Checking out Revision 61add75b1ef191377c59afa20b8ba92f4dc8af4b (main) 18:31:08 > git config core.sparsecheckout # timeout=10 18:31:08 > git checkout -f 61add75b1ef191377c59afa20b8ba92f4dc8af4b # timeout=10 18:31:08 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#525)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:31:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:31:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:31:09 Dload Upload Total Spent Left Speed 18:31:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 18:31:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:31:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:31:10 + sudo tee /etc/docker/daemon.new 18:31:10 { 18:31:10 "registry-mirrors": [ 18:31:10 "https://nexus3.edgexfoundry.org:10001" 18:31:10 ], 18:31:10 "bip": "10.250.0.254/24", 18:31:10 "hosts": [ 18:31:10 "tcp://0.0.0.0:5555", 18:31:10 "unix:///var/run/docker.sock" 18:31:10 ], 18:31:10 "mtu": 1458, 18:31:10 "selinux-enabled": true, 18:31:10 "seccomp-profile": "/etc/docker/seccomp.json" 18:31:10 } [Pipeline] sh 18:31:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:31:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:31:29 provisioning config files... 18:31:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/94@tmp/config12001029485101782434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:30 ---> docker-login.sh 18:31:30 nexus3.edgexfoundry.org:10001 18:31:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:30 Configure a credential helper to remove this warning. See 18:31:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:30 18:31:30 Login Succeeded 18:31:30 nexus3.edgexfoundry.org:10002 18:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:31 Configure a credential helper to remove this warning. See 18:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:31 18:31:31 Login Succeeded 18:31:31 nexus3.edgexfoundry.org:10003 18:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:31 Configure a credential helper to remove this warning. See 18:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:31 18:31:31 Login Succeeded 18:31:31 nexus3.edgexfoundry.org:10004 18:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:32 Configure a credential helper to remove this warning. See 18:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:32 18:31:32 Login Succeeded 18:31:32 docker.io 18:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:32 Configure a credential helper to remove this warning. See 18:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:32 18:31:32 Login Succeeded 18:31:32 ---> docker-login.sh ends [Pipeline] } 18:31:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:31:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:31:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:31:33 ========================================================= 18:31:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:31:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:31:33 Sending build context to Docker daemon 3.294MB 18:31:33 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:31:33 Step 2/12 : FROM ${BASE} AS builder 18:31:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:31:34 af6eaf76a39c: Pulling fs layer 18:31:34 55522c791124: Pulling fs layer 18:31:34 ce5c4a1c91eb: Pulling fs layer 18:31:34 169dfbe0d373: Pulling fs layer 18:31:34 e1ff8fa3b103: Pulling fs layer 18:31:34 52ebb69f0ebf: Pulling fs layer 18:31:34 5abe8eddf0d5: Pulling fs layer 18:31:34 169dfbe0d373: Waiting 18:31:34 52ebb69f0ebf: Waiting 18:31:34 e1ff8fa3b103: Waiting 18:31:34 5abe8eddf0d5: Waiting 18:31:34 55522c791124: Download complete 18:31:34 169dfbe0d373: Verifying Checksum 18:31:34 169dfbe0d373: Download complete 18:31:34 e1ff8fa3b103: Verifying Checksum 18:31:34 e1ff8fa3b103: Download complete 18:31:34 af6eaf76a39c: Verifying Checksum 18:31:35 af6eaf76a39c: Pull complete 18:31:35 5abe8eddf0d5: Verifying Checksum 18:31:35 5abe8eddf0d5: Download complete 18:31:35 55522c791124: Pull complete 18:31:37 52ebb69f0ebf: Verifying Checksum 18:31:37 ce5c4a1c91eb: Verifying Checksum 18:31:37 ce5c4a1c91eb: Download complete 18:31:49 ce5c4a1c91eb: Pull complete 18:31:49 169dfbe0d373: Pull complete 18:31:49 e1ff8fa3b103: Pull complete 18:31:55 52ebb69f0ebf: Pull complete 18:31:57 5abe8eddf0d5: Pull complete 18:31:57 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:31:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:31:57 ---> 6cb57ee374ae 18:31:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:31:59 ---> Running in 6b1f48447b8f 18:31:59 Removing intermediate container 6b1f48447b8f 18:31:59 ---> 00cc7378b0dc 18:31:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:31:59 ---> Running in a1347e5ffa9d 18:32:00 Removing intermediate container a1347e5ffa9d 18:32:00 ---> d95c4917fc9b 18:32:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:32:00 ---> Running in 3b06b049db52 18:32:00 Removing intermediate container 3b06b049db52 18:32:00 ---> 897e0eb6ba2a 18:32:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:32:00 ---> Running in 330f89700382 18:32:00 Removing intermediate container 330f89700382 18:32:00 ---> e77c0d7e2dad 18:32:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:32:01 ---> Running in b358051d0a78 18:32:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:32:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:32:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:32:04 (2/4) Installing libedit (20221030.3.1-r0) 18:32:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:32:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:32:04 Executing busybox-1.35.0-r29.trigger 18:32:04 OK: 268 MiB in 57 packages 18:32:06 Removing intermediate container b358051d0a78 18:32:06 ---> 7afbc950e4a0 18:32:06 Step 8/12 : WORKDIR /device-mqtt-go 18:32:06 ---> Running in 30099047b147 18:32:06 Removing intermediate container 30099047b147 18:32:06 ---> 7531767398c4 18:32:06 Step 9/12 : COPY go.mod vendor* ./ 18:32:07 ---> 3ab530d67e14 18:32:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:07 ---> Running in d14bbffb23dc 18:33:15 Removing intermediate container d14bbffb23dc 18:33:15 ---> c3dc04fd2809 18:33:15 Step 11/12 : COPY . . 18:33:15 ---> 536e77fbc363 18:33:15 Step 12/12 : RUN $MAKE 18:33:15 ---> Running in ccf2c8e39977 18:33:15 noop 18:33:15 Removing intermediate container ccf2c8e39977 18:33:15 ---> f82e97f99caf 18:33:15 Successfully built f82e97f99caf 18:33:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:15 + docker inspect -f . ci-base-image-arm64 18:33:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:15 prd-ubuntu20.04-docker-arm64-4c-16g-216 does not seem to be running inside a container 18:33:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/94 -v /w/workspace/device-mqtt-go/94:/w/workspace/device-mqtt-go/94:rw,z -v /w/workspace/device-mqtt-go/94@tmp:/w/workspace/device-mqtt-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:33:17 $ docker top d18485420b3db07bc2741fbd04c95ec39378709a7c12a8dd89a243810380e118 -eo pid,comm [Pipeline] { [Pipeline] sh 18:33:18 + go version 18:33:18 go version go1.20.2 linux/arm64 [Pipeline] } 18:33:18 $ docker stop --time=1 d18485420b3db07bc2741fbd04c95ec39378709a7c12a8dd89a243810380e118 18:33:20 $ docker rm -f --volumes d18485420b3db07bc2741fbd04c95ec39378709a7c12a8dd89a243810380e118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:21 + docker inspect -f . ci-base-image-arm64 18:33:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:21 prd-ubuntu20.04-docker-arm64-4c-16g-216 does not seem to be running inside a container 18:33:21 $ 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/94 -v /w/workspace/device-mqtt-go/94:/w/workspace/device-mqtt-go/94:rw,z -v /w/workspace/device-mqtt-go/94@tmp:/w/workspace/device-mqtt-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:33:23 $ docker top 7d304e5ab8e4cbd24460cf4e80bb4dcf28bae5cf53a67eedda83bfe9a83cfe9c -eo pid,comm [Pipeline] { [Pipeline] sh 18:33:24 + git config --global --add safe.directory /w/workspace/device-mqtt-go/94 [Pipeline] fileExists [Pipeline] sh 18:33:24 + make test 18:33:24 go test ./... -coverprofile=coverage.out ./... 18:34:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:36:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:36:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:36:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.084s coverage: 22.2% of statements 18:36:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:36:41 go vet ./... 18:37:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:37:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:37:13 ./bin/test-attribution-txt.sh [Pipeline] echo 18:37:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:37:13 $ docker stop --time=1 7d304e5ab8e4cbd24460cf4e80bb4dcf28bae5cf53a67eedda83bfe9a83cfe9c 18:37:15 $ docker rm -f --volumes 7d304e5ab8e4cbd24460cf4e80bb4dcf28bae5cf53a67eedda83bfe9a83cfe9c [Pipeline] // withDockerContainer [Pipeline] sh 18:37:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:37:16 Warning: overwriting stash ‘coverage-report’ 18:37:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:37:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:37:17 + ls -al . 18:37:17 total 176 18:37:17 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 18:33 . 18:37:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:31 .. 18:37:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 18:31 .dockerignore 18:37:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 18:31 .git 18:37:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:31 .github 18:37:17 -rw-rw-r-- 1 jenkins jenkins 329 Mar 14 18:31 .gitignore 18:37:17 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 18:31 .golangci.yml 18:37:17 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 14 18:31 Attribution.txt 18:37:17 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 14 18:31 CHANGELOG.md 18:37:17 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 14 18:31 Dockerfile 18:37:17 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 18:31 GOVERNANCE.md 18:37:17 -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 18:31 Jenkinsfile 18:37:17 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 18:31 LICENSE 18:37:17 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 14 18:31 Makefile 18:37:17 -rw-rw-r-- 1 jenkins jenkins 620 Mar 14 18:31 OWNERS.md 18:37:17 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 14 18:31 README.md 18:37:17 -rw-rw-r-- 1 jenkins jenkins 12 Mar 14 18:27 VERSION 18:37:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:31 bin 18:37:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:31 cmd 18:37:17 -rw-r--r-- 1 jenkins jenkins 18047 Mar 14 18:36 coverage.out 18:37:17 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 14 18:31 go.mod 18:37:17 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 14 18:31 go.sum 18:37:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 18:31 internal 18:37:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 18:31 mock 18:37:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 18:31 snap 18:37:17 -rw-rw-r-- 1 jenkins jenkins 227 Mar 14 18:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:18 + 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=61add75b1ef191377c59afa20b8ba92f4dc8af4b --label arch=arm64 --label version=3.0.0-dev.11 . 18:37:18 Sending build context to Docker daemon 3.313MB 18:37:18 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:37:18 Step 2/24 : FROM ${BASE} AS builder 18:37:18 ---> f82e97f99caf 18:37:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:37:18 ---> Running in 395878dc56f0 18:37:19 Removing intermediate container 395878dc56f0 18:37:19 ---> f35bb8a9b5fd 18:37:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:37:19 ---> Running in b9cd31f8eaf1 18:37:19 Removing intermediate container b9cd31f8eaf1 18:37:19 ---> c3cd507c47d2 18:37:19 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:37:19 ---> Running in e7977e29067d 18:37:19 Removing intermediate container e7977e29067d 18:37:19 ---> 931d4245e890 18:37:19 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:37:20 ---> Running in 510ba20fa99f 18:37:20 Removing intermediate container 510ba20fa99f 18:37:20 ---> 46bdedbf473b 18:37:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:20 ---> Running in 09d073d55236 18:37:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:37:23 OK: 268 MiB in 57 packages 18:37:24 Removing intermediate container 09d073d55236 18:37:24 ---> 5a6032dd15a6 18:37:24 Step 8/24 : WORKDIR /device-mqtt-go 18:37:24 ---> Running in 591e0f25fe8d 18:37:24 Removing intermediate container 591e0f25fe8d 18:37:24 ---> ef1c93af7e7a 18:37:24 Step 9/24 : COPY go.mod vendor* ./ 18:37:25 ---> 93cb48c26dc1 18:37:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:25 ---> Running in 147d48ea2344 18:37:28 Removing intermediate container 147d48ea2344 18:37:28 ---> 7dc142938ea4 18:37:28 Step 11/24 : COPY . . 18:37:29 ---> 3a2886bcadd9 18:37:29 Step 12/24 : RUN $MAKE 18:37:29 ---> Running in fcde15034fdd 18:37:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:40:07 Removing intermediate container fcde15034fdd 18:40:07 ---> 0b82d5e4b9f4 18:40:07 Step 13/24 : FROM alpine:3.16 18:40:07 3.16: Pulling from library/alpine 18:40:07 3760b48202b3: Pulling fs layer 18:40:07 3760b48202b3: Download complete 18:40:07 3760b48202b3: Pull complete 18:40:07 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 18:40:07 Status: Downloaded newer image for alpine:3.16 18:40:07 ---> 4c81e5bf8899 18:40:07 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:40:07 ---> Running in fed5b15c2201 18:40:07 Removing intermediate container fed5b15c2201 18:40:07 ---> 47616d6467fb 18:40:07 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:40:07 ---> Running in 88828e3b60e9 18:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:40:07 (1/1) Installing dumb-init (1.2.5-r1) 18:40:07 Executing busybox-1.35.0-r17.trigger 18:40:07 OK: 5 MiB in 15 packages 18:40:07 Removing intermediate container 88828e3b60e9 18:40:07 ---> ebe192c019ca 18:40:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:40:07 ---> 96fc18ea75c3 18:40:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:40:07 ---> d9aa070db9af 18:40:07 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:40:07 ---> 50056b581385 18:40:07 Step 19/24 : EXPOSE 59982 18:40:07 ---> Running in 6a4357ccbd75 18:40:07 Removing intermediate container 6a4357ccbd75 18:40:07 ---> a258691bdd16 18:40:07 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:40:07 ---> Running in b5060cd94dc4 18:40:07 Removing intermediate container b5060cd94dc4 18:40:07 ---> 5e42b5346c48 18:40:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:40:07 ---> Running in 44c0bc121ae8 18:40:07 Removing intermediate container 44c0bc121ae8 18:40:07 ---> 76cb69f1cb3f 18:40:07 Step 22/24 : LABEL arch=arm64 18:40:07 ---> Running in ae48e16bd8e0 18:40:07 Removing intermediate container ae48e16bd8e0 18:40:07 ---> 3901def56f93 18:40:07 Step 23/24 : LABEL git_sha=61add75b1ef191377c59afa20b8ba92f4dc8af4b 18:40:07 ---> Running in cd49e4a58f7a 18:40:07 Removing intermediate container cd49e4a58f7a 18:40:07 ---> 4228bbd09545 18:40:07 Step 24/24 : LABEL version=3.0.0-dev.11 18:40:07 ---> Running in e0f7de690c66 18:40:07 Removing intermediate container e0f7de690c66 18:40:07 ---> 31878cae3e0b 18:40:07 [Warning] One or more build-args [ARCH] were not consumed 18:40:07 Successfully built 31878cae3e0b 18:40:07 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:07 provisioning config files... 18:40:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/94@tmp/config14974713117633937943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:07 ---> docker-login.sh 18:40:07 nexus3.edgexfoundry.org:10001 18:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:07 Configure a credential helper to remove this warning. See 18:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:07 18:40:07 Login Succeeded 18:40:07 nexus3.edgexfoundry.org:10002 18:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:08 Configure a credential helper to remove this warning. See 18:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:08 18:40:08 Login Succeeded 18:40:08 nexus3.edgexfoundry.org:10003 18:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:08 Configure a credential helper to remove this warning. See 18:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:08 18:40:08 Login Succeeded 18:40:08 nexus3.edgexfoundry.org:10004 18:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:09 Configure a credential helper to remove this warning. See 18:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:09 18:40:09 Login Succeeded 18:40:09 docker.io 18:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:09 Configure a credential helper to remove this warning. See 18:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:09 18:40:09 Login Succeeded 18:40:09 ---> docker-login.sh ends [Pipeline] } 18:40:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:40:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:09 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 18:40:09 61add75b1ef191377c59afa20b8ba92f4dc8af4b 18:40:09 latest 18:40:09 3.0.0-dev.11 18:40:09 61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11 18:40:09 main 18:40:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:61add75b1ef191377c59afa20b8ba92f4dc8af4b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:61add75b1ef191377c59afa20b8ba92f4dc8af4b 18:40:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:40:10 6433962874d8: Preparing 18:40:10 94e3660bc477: Preparing 18:40:10 a4d4e18e189d: Preparing 18:40:10 b773c1b24d56: Preparing 18:40:10 f70ee36035b9: Preparing 18:40:10 f70ee36035b9: Layer already exists 18:40:10 94e3660bc477: Pushed 18:40:10 b773c1b24d56: Pushed 18:40:10 6433962874d8: Pushed 18:40:17 a4d4e18e189d: Pushed 18:40:17 61add75b1ef191377c59afa20b8ba92f4dc8af4b: digest: sha256:544fedd9e03cabf7dcbf0c55285568115f1648ca8d6ad9819b70ed3dbb8235bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:17 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:40:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:40:18 6433962874d8: Preparing 18:40:18 94e3660bc477: Preparing 18:40:18 a4d4e18e189d: Preparing 18:40:18 b773c1b24d56: Preparing 18:40:18 f70ee36035b9: Preparing 18:40:18 f70ee36035b9: Layer already exists 18:40:18 a4d4e18e189d: Layer already exists 18:40:18 94e3660bc477: Layer already exists 18:40:18 6433962874d8: Layer already exists 18:40:18 b773c1b24d56: Layer already exists 18:40:18 latest: digest: sha256:544fedd9e03cabf7dcbf0c55285568115f1648ca8d6ad9819b70ed3dbb8235bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.11 18:40:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:40:19 6433962874d8: Preparing 18:40:19 94e3660bc477: Preparing 18:40:19 a4d4e18e189d: Preparing 18:40:19 b773c1b24d56: Preparing 18:40:19 f70ee36035b9: Preparing 18:40:19 a4d4e18e189d: Layer already exists 18:40:19 6433962874d8: Layer already exists 18:40:19 94e3660bc477: Layer already exists 18:40:19 f70ee36035b9: Layer already exists 18:40:19 b773c1b24d56: Layer already exists 18:40:19 3.0.0-dev.11: digest: sha256:544fedd9e03cabf7dcbf0c55285568115f1648ca8d6ad9819b70ed3dbb8235bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11 18:40:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:40:20 6433962874d8: Preparing 18:40:20 94e3660bc477: Preparing 18:40:20 a4d4e18e189d: Preparing 18:40:20 b773c1b24d56: Preparing 18:40:20 f70ee36035b9: Preparing 18:40:20 f70ee36035b9: Layer already exists 18:40:20 94e3660bc477: Layer already exists 18:40:20 a4d4e18e189d: Layer already exists 18:40:20 b773c1b24d56: Layer already exists 18:40:20 6433962874d8: Layer already exists 18:40:20 61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11: digest: sha256:544fedd9e03cabf7dcbf0c55285568115f1648ca8d6ad9819b70ed3dbb8235bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 18:40:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:40:21 6433962874d8: Preparing 18:40:21 94e3660bc477: Preparing 18:40:21 a4d4e18e189d: Preparing 18:40:21 b773c1b24d56: Preparing 18:40:21 f70ee36035b9: Preparing 18:40:21 f70ee36035b9: Layer already exists 18:40:21 b773c1b24d56: Layer already exists 18:40:21 a4d4e18e189d: Layer already exists 18:40:21 6433962874d8: Layer already exists 18:40:21 94e3660bc477: Layer already exists 18:40:21 main: digest: sha256:544fedd9e03cabf7dcbf0c55285568115f1648ca8d6ad9819b70ed3dbb8235bb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:40:21 ===================================================== [Pipeline] echo 18:40:21 taggedImages: 18:40:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:61add75b1ef191377c59afa20b8ba92f4dc8af4b 18:40:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:40:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.11 18:40:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:61add75b1ef191377c59afa20b8ba92f4dc8af4b-3.0.0-dev.11 18:40:21 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:40:21 18:40:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:40:22 arm64: Pulling from edgex-lftools-log-publisher 18:40:22 8998bd30e6a1: Pulling fs layer 18:40:22 04944245beec: Pulling fs layer 18:40:22 699f458cf7ca: Pulling fs layer 18:40:22 765212b225bb: Pulling fs layer 18:40:22 f23df028b6ca: Pulling fs layer 18:40:22 d65c8cfc05b1: Pulling fs layer 18:40:22 2437ff75d9bd: Pulling fs layer 18:40:22 765212b225bb: Waiting 18:40:22 f23df028b6ca: Waiting 18:40:22 d65c8cfc05b1: Waiting 18:40:22 2437ff75d9bd: Waiting 18:40:22 04944245beec: Verifying Checksum 18:40:22 04944245beec: Download complete 18:40:22 765212b225bb: Download complete 18:40:22 f23df028b6ca: Verifying Checksum 18:40:22 f23df028b6ca: Download complete 18:40:22 d65c8cfc05b1: Verifying Checksum 18:40:22 d65c8cfc05b1: Download complete 18:40:22 699f458cf7ca: Verifying Checksum 18:40:22 699f458cf7ca: Download complete 18:40:22 8998bd30e6a1: Verifying Checksum 18:40:22 8998bd30e6a1: Download complete 18:40:25 2437ff75d9bd: Verifying Checksum 18:40:25 2437ff75d9bd: Download complete 18:40:27 8998bd30e6a1: Pull complete 18:40:27 04944245beec: Pull complete 18:40:29 699f458cf7ca: Pull complete 18:40:29 765212b225bb: Pull complete 18:40:30 f23df028b6ca: Pull complete 18:40:30 d65c8cfc05b1: Pull complete 18:40:45 2437ff75d9bd: Pull complete 18:40:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:40:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:45 prd-ubuntu20.04-docker-arm64-4c-16g-216 does not seem to be running inside a container 18:40:45 $ 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/94 -v /w/workspace/device-mqtt-go/94:/w/workspace/device-mqtt-go/94:rw,z -v /w/workspace/device-mqtt-go/94@tmp:/w/workspace/device-mqtt-go/94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:40:48 $ docker top 2f9d54b438ecc85c1d7e07dd480c6e3ea76102b424de7ef5aa7bd7221362ecfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:49 ---> job-cost.sh 18:40:49 lf-activate-venv: SKIPPING 18:40:49 INFO: No Stack... 18:40:49 INFO: Retrieving Pricing Info for: v3-standard-4 18:40:50 INFO: Archiving Costs [Pipeline] sh 18:40:50 + cut -d, -f6 18:40:50 + cat /w/workspace/device-mqtt-go/94/archives/cost.csv [Pipeline] lock 18:40:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-94-stack-cost] 18:40:52 Resource [jenkins-edgexfoundry-device-mqtt-go-main-94-stack-cost] did not exist. Created. 18:40:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:40:53 /w/workspace/device-mqtt-go/94@tmp/durable-29fb2739/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:40:53 + echo total: 0.10999999940395355 [Pipeline] stash 18:40:53 Warning: overwriting stash ‘stack-cost’ 18:40:53 Stashed 1 file(s) [Pipeline] } 18:40:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } 18:40:53 $ docker stop --time=1 2f9d54b438ecc85c1d7e07dd480c6e3ea76102b424de7ef5aa7bd7221362ecfe 18:40:55 $ docker rm -f --volumes 2f9d54b438ecc85c1d7e07dd480c6e3ea76102b424de7ef5aa7bd7221362ecfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:40:55 provisioning config files... 18:40:55 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18200523076984548086tmp [Pipeline] { [Pipeline] sh 18:40:56 + set +x 18:40:56 + + curl -s https://codecov.io/bash 18:40:56 bash -s -- 18:40:56 18:40:56 _____ _ 18:40:56 / ____| | | 18:40:56 | | ___ __| | ___ ___ _____ __ 18:40:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:40:56 | |___| (_) | (_| | __/ (_| (_) \ V / 18:40:56 \_____\___/ \__,_|\___|\___\___/ \_/ 18:40:56 Bash-1.0.6 18:40:56 18:40:56 18:40:56 ==> git version 2.25.1 found 18:40:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:40:56 Release-Date: 2020-01-08 18:40:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:40:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:40:56 ==> Jenkins CI detected. 18:40:56 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 18:40:56 project root: . 18:40:56 --> token set from env 18:40:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:40:56 ==> Running gcov in . (disable via -X gcov) 18:40:56 ==> Python coveragepy not found 18:40:56 ==> Searching for coverage reports in: 18:40:56 + . 18:40:56 -> Found 1 reports 18:40:56 ==> Detecting git/mercurial file structure 18:40:56 ==> Reading reports 18:40:56 + ./coverage.out bytes=18047 18:40:56 ==> Appending adjustments 18:40:56 https://docs.codecov.io/docs/fixing-reports 18:40:56 + Found adjustments 18:40:56 ==> Gzipping contents 18:40:56 4.0K /tmp/codecov.5PwLoq.gz 18:40:56 ==> Uploading reports 18:40:56 url: https://codecov.io 18:40:56 query: branch=main&commit=61add75b1ef191377c59afa20b8ba92f4dc8af4b&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:40:56 -> Pinging Codecov 18:40:56 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=61add75b1ef191377c59afa20b8ba92f4dc8af4b&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:40:56 -> Uploading to 18:40:56 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7D719EC7BBE17E464838252E33014C33/61add75b1ef191377c59afa20b8ba92f4dc8af4b/5923db5a-77bf-4392-90ce-baa9f7ae0375.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T184056Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=73329c9f75c0dd47a470ddb5a99f308faef335206b99317941998be07a1862b5 18:40:56 % Total % Received % Xferd Average Speed Time Time Time Current 18:40:56 Dload Upload Total Spent Left Speed 18:40:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 12397 --:--:-- --:--:-- --:--:-- 12349 18:40:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/61add75b1ef191377c59afa20b8ba92f4dc8af4b [Pipeline] } 18:40:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:40:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:40:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:40:57 18:40:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:40:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:40:57 df9b9388f04a: Pulling fs layer 18:40:57 52dc419b0ee2: Pulling fs layer 18:40:57 25bc292e5bac: Pulling fs layer 18:40:57 114826534d7a: Pulling fs layer 18:40:57 4657fd5d0bcf: Pulling fs layer 18:40:57 6ad1cebc031e: Pulling fs layer 18:40:57 8a3aa393b2d8: Pulling fs layer 18:40:57 114826534d7a: Waiting 18:40:57 4657fd5d0bcf: Waiting 18:40:57 6ad1cebc031e: Waiting 18:40:57 8a3aa393b2d8: Waiting 18:40:57 25bc292e5bac: Verifying Checksum 18:40:57 25bc292e5bac: Download complete 18:40:57 52dc419b0ee2: Download complete 18:40:57 4657fd5d0bcf: Verifying Checksum 18:40:57 4657fd5d0bcf: Download complete 18:40:57 df9b9388f04a: Verifying Checksum 18:40:57 df9b9388f04a: Download complete 18:40:57 df9b9388f04a: Pull complete 18:40:57 52dc419b0ee2: Pull complete 18:40:57 6ad1cebc031e: Verifying Checksum 18:40:57 6ad1cebc031e: Download complete 18:40:57 25bc292e5bac: Pull complete 18:40:58 114826534d7a: Download complete 18:40:58 8a3aa393b2d8: Verifying Checksum 18:40:58 8a3aa393b2d8: Download complete 18:41:01 114826534d7a: Pull complete 18:41:01 4657fd5d0bcf: Pull complete 18:41:01 6ad1cebc031e: Pull complete 18:41:04 8a3aa393b2d8: Pull complete 18:41:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:41:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:41:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:04 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:41:04 $ 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 18:41:06 $ docker top e92c7dd055818083b1d314c00269f3eed39075f19357fac9e29394550ea1ee7d -eo pid,comm [Pipeline] { [Pipeline] echo 18:41:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 18:41:07 + set -o pipefail 18:41:07 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 18:41:12 18:41:12 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 18:41:12 18:41:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/2d867f8a-e789-4d6b-a6f2-e3b5ca8d5167 18:41:12 18:41:12 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:41:12 18:41:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:41:12 18:41:13 18:41:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:41:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:41:13 More details here: https://snyk.co/ue1NS 18:41:13 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 18:41:13 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:41:13 $ docker stop --time=1 e92c7dd055818083b1d314c00269f3eed39075f19357fac9e29394550ea1ee7d 18:41:15 $ docker rm -f --volumes e92c7dd055818083b1d314c00269f3eed39075f19357fac9e29394550ea1ee7d [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 18:41:15 + git log --format=format:%s -1 61add75b1ef191377c59afa20b8ba92f4dc8af4b [Pipeline] sh 18:41:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:16 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:41:16 $ 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 18:41:17 $ docker top c188a2d61c3d78ce8434ea6050587c657191b771076e554ccf42b60c9e399394 -eo pid,comm 18:41:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:41:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:17 [ssh-agent] Looking for ssh-agent implementation... 18:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:17 $ docker exec c188a2d61c3d78ce8434ea6050587c657191b771076e554ccf42b60c9e399394 ssh-agent 18:41:17 SSH_AUTH_SOCK=/tmp/ssh-5rp6SxYfmiw1/agent.31 18:41:17 SSH_AGENT_PID=37 18:41:17 Running ssh-add (command line suppressed) 18:41:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9588336535471837544.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9588336535471837544.key) 18:41:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:17 + git semver tag 18:41:18 2023-03-14 18:41:18,007 [run_tag] DEBUG tag force:False 18:41:18 2023-03-14 18:41:18,008 [check_head_tag] DEBUG check head tag 18:41:18 2023-03-14 18:41:18,008 [execute] INFO git cat-file --batch-check 18:41:18 2023-03-14 18:41:18,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 18:41:18 2023-03-14 18:41:18,012 [execute] INFO git cat-file --batch 18:41:18 2023-03-14 18:41:18,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 18:41:18 2023-03-14 18:41:18,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:41:18 2023-03-14 18:41:18,034 [execute] INFO git tag -a v3.0.0-dev.11 -m v3.0.0-dev.11 18:41:18 2023-03-14 18:41:18,034 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.11', '-m', 'v3.0.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 18:41:18 2023-03-14 18:41:18,037 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:41:18 3.0.0-dev.11 [Pipeline] } 18:41:18 $ docker exec --env ******** --env ******** c188a2d61c3d78ce8434ea6050587c657191b771076e554ccf42b60c9e399394 ssh-agent -k 18:41:18 unset SSH_AUTH_SOCK; 18:41:18 unset SSH_AGENT_PID; 18:41:18 echo Agent pid 37 killed; 18:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:18 + git semver [Pipeline] } 18:41:18 $ docker stop --time=1 c188a2d61c3d78ce8434ea6050587c657191b771076e554ccf42b60c9e399394 18:41:20 $ docker rm -f --volumes c188a2d61c3d78ce8434ea6050587c657191b771076e554ccf42b60c9e399394 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:41:20 18:41:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:41:20 0.23.1-centos7: Pulling from edgex-lftools 18:41:20 ab5ef0e58194: Pulling fs layer 18:41:20 9712f1f96733: Pulling fs layer 18:41:20 63f879dbbcfc: Pulling fs layer 18:41:20 0d9ebad4ef96: Pulling fs layer 18:41:20 e9a5061849ea: Pulling fs layer 18:41:20 d747dcd14b5f: Pulling fs layer 18:41:20 2de7ff778b66: Pulling fs layer 18:41:20 e9a5061849ea: Waiting 18:41:20 d747dcd14b5f: Waiting 18:41:20 0d9ebad4ef96: Waiting 18:41:20 2de7ff778b66: Waiting 18:41:20 9712f1f96733: Verifying Checksum 18:41:20 9712f1f96733: Download complete 18:41:21 63f879dbbcfc: Verifying Checksum 18:41:21 63f879dbbcfc: Download complete 18:41:21 0d9ebad4ef96: Verifying Checksum 18:41:21 0d9ebad4ef96: Download complete 18:41:21 d747dcd14b5f: Verifying Checksum 18:41:21 d747dcd14b5f: Download complete 18:41:21 e9a5061849ea: Verifying Checksum 18:41:21 e9a5061849ea: Download complete 18:41:21 ab5ef0e58194: Download complete 18:41:21 2de7ff778b66: Verifying Checksum 18:41:21 2de7ff778b66: Download complete 18:41:24 ab5ef0e58194: Pull complete 18:41:24 9712f1f96733: Pull complete 18:41:25 63f879dbbcfc: Pull complete 18:41:28 0d9ebad4ef96: Pull complete 18:41:28 e9a5061849ea: Pull complete 18:41:28 d747dcd14b5f: Pull complete 18:41:29 2de7ff778b66: Pull complete 18:41:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:41:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:41:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:29 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:41:29 $ 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 18:41:32 $ docker top d2a73c726e01677d71ffbae71a2645d3564983feeeb99fd8080769d26777e139 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:41:32 provisioning config files... 18:41:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15444700298969152980tmp 18:41:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10762174378072528144tmp 18:41:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config721125578176493114tmp [Pipeline] { [Pipeline] echo 18:41:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:41:33 ---> sigul-configuration.sh 18:41:33 gpg: directory `/root/.gnupg' created 18:41:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:41:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:41:33 gpg: keyring `/root/.gnupg/secring.gpg' created 18:41:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:41:33 gpg: CAST5 encrypted data 18:41:33 gpg: encrypted with 1 passphrase 18:41:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:41:33 + mkdir /home/jenkins 18:41:33 + mkdir /home/jenkins/sigul [Pipeline] sh 18:41:33 + 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 18:41:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:41:34 ---> sigul-install.sh 18:41:34 Sigul already installed; skipping installation. [Pipeline] sh 18:41:34 + git tag --list 18:41:34 0.7.1 18:41:34 v1.0.0 18:41:34 v1.1.0 18:41:34 v1.1.1 18:41:34 v1.2.2 18:41:34 v1.3.0 18:41:34 v1.3.1 18:41:34 v2.0.0 18:41:34 v2.1.0 18:41:34 v2.1.1 18:41:34 v2.1.1-dev.1 18:41:34 v2.1.1-dev.2 18:41:34 v2.2.0 18:41:34 v2.2.1-dev.1 18:41:34 v2.2.1-dev.10 18:41:34 v2.2.1-dev.2 18:41:34 v2.2.1-dev.3 18:41:34 v2.2.1-dev.4 18:41:34 v2.2.1-dev.5 18:41:34 v2.2.1-dev.6 18:41:34 v2.2.1-dev.7 18:41:34 v2.2.1-dev.8 18:41:34 v2.2.1-dev.9 18:41:34 v2.3.0 18:41:34 v2.3.0-dev.10 18:41:34 v2.3.0-dev.11 18:41:34 v2.3.0-dev.12 18:41:34 v2.3.0-dev.13 18:41:34 v2.3.0-dev.14 18:41:34 v2.3.0-dev.15 18:41:34 v2.3.0-dev.16 18:41:34 v2.3.0-dev.17 18:41:34 v2.3.0-dev.18 18:41:34 v2.3.0-dev.19 18:41:34 v2.3.0-dev.20 18:41:34 v2.3.0-dev.21 18:41:34 v2.3.0-dev.22 18:41:34 v2.3.0-dev.23 18:41:34 v2.3.0-dev.24 18:41:34 v2.3.0-dev.25 18:41:34 v2.3.0-dev.26 18:41:34 v2.3.0-dev.27 18:41:34 v2.3.0-dev.28 18:41:34 v2.3.0-dev.29 18:41:34 v2.3.0-dev.30 18:41:34 v2.3.0-dev.31 18:41:34 v2.3.0-dev.32 18:41:34 v2.3.0-dev.33 18:41:34 v2.3.0-dev.34 18:41:34 v3.0.0-dev.1 18:41:34 v3.0.0-dev.10 18:41:34 v3.0.0-dev.11 18:41:34 v3.0.0-dev.2 18:41:34 v3.0.0-dev.3 18:41:34 v3.0.0-dev.4 18:41:34 v3.0.0-dev.5 18:41:34 v3.0.0-dev.6 18:41:34 v3.0.0-dev.7 18:41:34 v3.0.0-dev.8 18:41:34 v3.0.0-dev.9 [Pipeline] sh 18:41:34 + lftools sign git-tag v3.0.0-dev.11 18:41:35 Signing Git tag with Sigul... 18:41:35 Signing v3.0.0-dev.11 [Pipeline] echo 18:41:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:41:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:41:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:41:35 $ docker stop --time=1 d2a73c726e01677d71ffbae71a2645d3564983feeeb99fd8080769d26777e139 18:41:37 $ docker rm -f --volumes d2a73c726e01677d71ffbae71a2645d3564983feeeb99fd8080769d26777e139 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:37 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:41:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:41:38 $ docker top ff82bee77dd4bf0a5a8b16b31f9b5883fe9cfb842aaf34cf634fc5e382a79a22 -eo pid,comm 18:41:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:41:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:38 [ssh-agent] Looking for ssh-agent implementation... 18:41:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:38 $ docker exec ff82bee77dd4bf0a5a8b16b31f9b5883fe9cfb842aaf34cf634fc5e382a79a22 ssh-agent 18:41:38 SSH_AUTH_SOCK=/tmp/ssh-5yAZY8B98lIM/agent.32 18:41:38 SSH_AGENT_PID=38 18:41:38 Running ssh-add (command line suppressed) 18:41:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14010893186582784432.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14010893186582784432.key) 18:41:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:38 + git semver bump pre 18:41:39 2023-03-14 18:41:39,157 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:41:39 2023-03-14 18:41:39,157 [bump_version] DEBUG bumping version:3.0.0-dev.11 on axis:pre with prefix:dev 18:41:39 2023-03-14 18:41:39,157 [bump_version] DEBUG bumped version:3.0.0-dev.12 18:41:39 2023-03-14 18:41:39,157 [write_version] DEBUG write version:3.0.0-dev.12 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 18:41:39 2023-03-14 18:41:39,157 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:41:39 2023-03-14 18:41:39,157 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:41:39 2023-03-14 18:41:39,159 [execute] INFO git cat-file --batch-check 18:41:39 2023-03-14 18:41:39,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:41:39 2023-03-14 18:41:39,164 [execute] INFO git cat-file --batch 18:41:39 2023-03-14 18:41:39,165 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:41:39 2023-03-14 18:41:39,169 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:41:39 3.0.0-dev.12 [Pipeline] } 18:41:39 $ docker exec --env ******** --env ******** ff82bee77dd4bf0a5a8b16b31f9b5883fe9cfb842aaf34cf634fc5e382a79a22 ssh-agent -k 18:41:39 unset SSH_AUTH_SOCK; 18:41:39 unset SSH_AGENT_PID; 18:41:39 echo Agent pid 38 killed; 18:41:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:39 + git semver [Pipeline] } 18:41:39 $ docker stop --time=1 ff82bee77dd4bf0a5a8b16b31f9b5883fe9cfb842aaf34cf634fc5e382a79a22 18:41:41 $ docker rm -f --volumes ff82bee77dd4bf0a5a8b16b31f9b5883fe9cfb842aaf34cf634fc5e382a79a22 [Pipeline] // withDockerContainer [Pipeline] sh 18:41:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:41 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:41:41 $ 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 18:41:42 $ docker top 9fe6e7d380e014b7894c9093daf377f3df550a7927717b6f4daf090e7ed763e1 -eo pid,comm 18:41:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:41:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:42 [ssh-agent] Looking for ssh-agent implementation... 18:41:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:42 $ docker exec 9fe6e7d380e014b7894c9093daf377f3df550a7927717b6f4daf090e7ed763e1 ssh-agent 18:41:42 SSH_AUTH_SOCK=/tmp/ssh-HY9N4VxtJcta/agent.32 18:41:42 SSH_AGENT_PID=38 18:41:42 Running ssh-add (command line suppressed) 18:41:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17661346947531400872.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17661346947531400872.key) 18:41:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:43 + git semver push 18:41:43 2023-03-14 18:41:43,176 [run_push] DEBUG push 18:41:43 2023-03-14 18:41:43,176 [execute] INFO git cat-file --batch-check 18:41:43 2023-03-14 18:41:43,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:41:43 2023-03-14 18:41:43,181 [execute] INFO git rev-list f8b7090cf4b16dab2fc0ff17764fe93a9154695a -- 18:41:43 2023-03-14 18:41:43,181 [execute] DEBUG Popen(['git', 'rev-list', 'f8b7090cf4b16dab2fc0ff17764fe93a9154695a', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:41:43 2023-03-14 18:41:43,189 [execute] INFO git fetch -v origin 18:41:43 2023-03-14 18:41:43,189 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:41:43 2023-03-14 18:41:43,718 [run_push] DEBUG no remote changes detected 18:41:43 2023-03-14 18:41:43,719 [execute] INFO git push origin semver 18:41:43 2023-03-14 18:41:43,719 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:41:44 2023-03-14 18:41:44,700 [run_push] DEBUG push all version tags 18:41:44 2023-03-14 18:41:44,700 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:41:44 2023-03-14 18:41:44,701 [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) 18:41:45 2023-03-14 18:41:45,637 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:41:45 3.0.0-dev.12 [Pipeline] } 18:41:45 $ docker exec --env ******** --env ******** 9fe6e7d380e014b7894c9093daf377f3df550a7927717b6f4daf090e7ed763e1 ssh-agent -k 18:41:45 unset SSH_AUTH_SOCK; 18:41:45 unset SSH_AGENT_PID; 18:41:45 echo Agent pid 38 killed; 18:41:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:46 + git semver [Pipeline] } 18:41:46 $ docker stop --time=1 9fe6e7d380e014b7894c9093daf377f3df550a7927717b6f4daf090e7ed763e1 18:41:47 $ docker rm -f --volumes 9fe6e7d380e014b7894c9093daf377f3df550a7927717b6f4daf090e7ed763e1 [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 18:41:48 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 18:41:48 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:41:48 total 16 18:41:48 drwxr-xr-x 3 root root 4096 Mar 14 18:30 . 18:41:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 18:41 .. 18:41:48 drwxr-xr-x 2 root root 4096 Mar 14 18:30 cost 18:41:48 -rw-r--r-- 1 root root 85 Mar 14 18:30 cost.csv 18:41:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:41:48 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:41:48 total 16 18:41:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 18:30 . 18:41:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 18:41 .. 18:41:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 18:30 cost 18:41:48 -rw-r--r-- 1 jenkins jenkins 85 Mar 14 18:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:41:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:41:49 ---> package-listing.sh 18:41:49 ++ facter osfamily 18:41:49 ++ tr '[:upper:]' '[:lower:]' 18:41:49 + OS_FAMILY=debian 18:41:49 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 18:41:49 + START_PACKAGES=/tmp/packages_start.txt 18:41:49 + END_PACKAGES=/tmp/packages_end.txt 18:41:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:41:49 + PACKAGES=/tmp/packages_start.txt 18:41:49 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:41:49 + PACKAGES=/tmp/packages_end.txt 18:41:49 + case "${OS_FAMILY}" in 18:41:49 + dpkg -l 18:41:49 + grep '^ii' 18:41:49 + '[' -f /tmp/packages_start.txt ']' 18:41:49 + '[' -f /tmp/packages_end.txt ']' 18:41:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:41:49 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:41:49 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 18:41:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 18:41:49 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 18:41:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:50 prd-ubuntu20.04-docker-8c-8g-211 does not seem to be running inside a container 18:41:50 $ 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 18:41:50 $ docker top b2e7a3132402d95da6a7f2ebc1d09b3683be903e3811e32ca9d88f63a9bc8932 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:51 + touch /tmp/pre-build-complete [Pipeline] sh 18:41:51 + mkdir -p /var/log/sysstat [Pipeline] sh 18:41:51 + ls /var/log/sa-host 18:41:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:51 provisioning config files... 18:41:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2639808003888316174tmp [Pipeline] { [Pipeline] echo 18:41:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:41:52 ---> create-netrc.sh [Pipeline] } 18:41:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:41:52 ---> python-tools-install.sh [Pipeline] echo 18:41:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:41:52 ---> sudo-logs.sh 18:41:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:41:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:41:53 ---> job-cost.sh 18:41:53 lf-activate-venv: SKIPPING 18:41:53 DEBUG: total: 0.2199999988079071 18:41:53 INFO: Retrieving Stack Cost... 18:41:53 INFO: Retrieving Pricing Info for: v3-standard-8 18:41:53 INFO: Archiving Costs [Pipeline] echo 18:41:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:41:54 ---> logs-deploy.sh 18:41:54 lf-activate-venv: SKIPPING 18:41:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/94 18:41:54 INFO: archiving workspace using pattern(s): 18:41:55 Archives upload complete. 18:41:55 INFO: archiving logs to Nexus