Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14341be0e00f90cb93f09a8fe34181eba0d3b045 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-ssh4595341869137802430.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh856191734280113449.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17015318692247616926.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17141149491732544558.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-ssh13432586792124099902.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.18 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-9938 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 14341be0e00f90cb93f09a8fe34181eba0d3b045 (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#523)" > 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 14341be0e00f90cb93f09a8fe34181eba0d3b045 # timeout=10 > git rev-list --no-walk dc80312a46813471bd7ca781724042db8dc8e361 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:48:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:48:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:48:57 ========================================================= 18:48:57 EdgeX Global Pipelines Version Info 18:48:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:48:58 ------------------- 18:48:58 stable info: 18:48:58 ------------------- 18:48:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:48:58 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:48:58 Message: update stable to v1.0.245 18:48:59 ------------------- 18:48:59 experimental info: 18:48:59 ------------------- 18:48:59 Commited By: **** collab-it+edgex@linuxfoundation.org 18:48:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:48:59 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14341be0e00f90cb93f09a8fe34181eba0d3b045 [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14341be [Pipeline] echo 18:48:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:59 provisioning config files... 18:48:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15392019075292779770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:00 ---> docker-login.sh 18:49:00 nexus3.edgexfoundry.org:10001 18:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:00 Configure a credential helper to remove this warning. See 18:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:00 18:49:00 Login Succeeded 18:49:00 nexus3.edgexfoundry.org:10002 18:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:00 Configure a credential helper to remove this warning. See 18:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:00 18:49:00 Login Succeeded 18:49:00 nexus3.edgexfoundry.org:10003 18:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:00 Configure a credential helper to remove this warning. See 18:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:00 18:49:00 Login Succeeded 18:49:00 nexus3.edgexfoundry.org:10004 18:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:00 Configure a credential helper to remove this warning. See 18:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:00 18:49:00 Login Succeeded 18:49:00 docker.io 18:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:01 Configure a credential helper to remove this warning. See 18:49:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:01 18:49:01 Login Succeeded 18:49:01 ---> docker-login.sh ends [Pipeline] } 18:49:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:49:01 + git rev-list -1 --merges 14341be0e00f90cb93f09a8fe34181eba0d3b045~1..14341be0e00f90cb93f09a8fe34181eba0d3b045 [Pipeline] echo 18:49:01 -----------> git rev-list -1 --merges 14341be0e00f90cb93f09a8fe34181eba0d3b045~1..14341be0e00f90cb93f09a8fe34181eba0d3b045 14341be0e00f90cb93f09a8fe34181eba0d3b045 [false] [Pipeline] sh 18:49:01 + git log --format=format:%s -1 14341be0e00f90cb93f09a8fe34181eba0d3b045 [Pipeline] echo 18:49:01 ========================================================= 18:49:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:49:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:02 + git log --format=format:%s -1 14341be0e00f90cb93f09a8fe34181eba0d3b045 [Pipeline] echo 18:49:02 [semverPrep] GIT_COMMIT: 14341be0e00f90cb93f09a8fe34181eba0d3b045, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#523) [Pipeline] echo 18:49:02 [semverPrep] This is not a build commit. [Pipeline] sh 18:49:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:49:02 + grep -v github /etc/ssh/ssh_known_hosts 18:49:02 + [ -e /tmp/ssh_known_hosts ] 18:49:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:49:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:49:02 + sudo tee -a /etc/ssh/ssh_known_hosts 18:49:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:49:03 18:49:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:49:03 0.1.4: Pulling from edgex-devops/py-git-semver 18:49:03 b85a868b505f: Pulling fs layer 18:49:03 e2be974225ed: Pulling fs layer 18:49:03 339a4e72a1f5: Pulling fs layer 18:49:03 988bab9f4d93: Pulling fs layer 18:49:03 1469e6f7b9e6: Pulling fs layer 18:49:03 eaf3925da568: Pulling fs layer 18:49:03 bab4dde63d76: Pulling fs layer 18:49:03 bde34c3a00c8: Pulling fs layer 18:49:03 b352a97aabf1: Pulling fs layer 18:49:03 4872d77fe225: Pulling fs layer 18:49:03 5851b861e8e6: Pulling fs layer 18:49:03 1469e6f7b9e6: Waiting 18:49:03 bde34c3a00c8: Waiting 18:49:03 988bab9f4d93: Waiting 18:49:03 b352a97aabf1: Waiting 18:49:03 bab4dde63d76: Waiting 18:49:03 4872d77fe225: Waiting 18:49:03 5851b861e8e6: Waiting 18:49:03 e2be974225ed: Verifying Checksum 18:49:03 e2be974225ed: Download complete 18:49:03 988bab9f4d93: Download complete 18:49:03 1469e6f7b9e6: Verifying Checksum 18:49:03 1469e6f7b9e6: Download complete 18:49:03 eaf3925da568: Download complete 18:49:03 339a4e72a1f5: Verifying Checksum 18:49:03 339a4e72a1f5: Download complete 18:49:03 bde34c3a00c8: Verifying Checksum 18:49:03 bde34c3a00c8: Download complete 18:49:03 b352a97aabf1: Verifying Checksum 18:49:03 b352a97aabf1: Download complete 18:49:03 4872d77fe225: Verifying Checksum 18:49:03 4872d77fe225: Download complete 18:49:03 5851b861e8e6: Download complete 18:49:03 b85a868b505f: Verifying Checksum 18:49:03 b85a868b505f: Download complete 18:49:04 bab4dde63d76: Verifying Checksum 18:49:04 bab4dde63d76: Download complete 18:49:05 b85a868b505f: Pull complete 18:49:05 e2be974225ed: Pull complete 18:49:05 339a4e72a1f5: Pull complete 18:49:05 988bab9f4d93: Pull complete 18:49:05 1469e6f7b9e6: Pull complete 18:49:05 eaf3925da568: Pull complete 18:49:07 bab4dde63d76: Pull complete 18:49:07 bde34c3a00c8: Pull complete 18:49:07 b352a97aabf1: Pull complete 18:49:07 4872d77fe225: Pull complete 18:49:07 5851b861e8e6: Pull complete 18:49:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:49:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:49:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:07 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 18:49:07 $ 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:49:10 $ docker top 61d4f0565fba08ed3238085959222948d071ba48a44860f7e3ff80eeba280fde -eo pid,comm 18:49:10 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:49:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:49:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:49:10 [ssh-agent] Looking for ssh-agent implementation... 18:49:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:49:10 $ docker exec 61d4f0565fba08ed3238085959222948d071ba48a44860f7e3ff80eeba280fde ssh-agent 18:49:10 SSH_AUTH_SOCK=/tmp/ssh-ZocQjrfoz8jU/agent.32 18:49:10 SSH_AGENT_PID=38 18:49:10 Running ssh-add (command line suppressed) 18:49:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18161666108647028929.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18161666108647028929.key) 18:49:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:49:11 + git tag --points-at HEAD [Pipeline] } 18:49:11 $ docker exec --env ******** --env ******** 61d4f0565fba08ed3238085959222948d071ba48a44860f7e3ff80eeba280fde ssh-agent -k 18:49:11 unset SSH_AUTH_SOCK; 18:49:11 unset SSH_AGENT_PID; 18:49:11 echo Agent pid 38 killed; 18:49:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:49:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:49:11 [ssh-agent] Looking for ssh-agent implementation... 18:49:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:49:11 $ docker exec 61d4f0565fba08ed3238085959222948d071ba48a44860f7e3ff80eeba280fde ssh-agent 18:49:11 SSH_AUTH_SOCK=/tmp/ssh-WAWBUsDvqxON/agent.69 18:49:11 SSH_AGENT_PID=75 18:49:11 Running ssh-add (command line suppressed) 18:49:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6986774831342224697.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6986774831342224697.key) 18:49:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:49:11 + git semver init 18:49:12 2023-03-13 18:49:12,091 [run_init] DEBUG init version:0.0.0 force:False 18:49:12 2023-03-13 18:49:12,092 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:49:12 2023-03-13 18:49:12,093 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:49:12 2023-03-13 18:49:12,093 [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:49:13 2023-03-13 18:49:12,872 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 18:49:13 2023-03-13 18:49:12,873 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 18:49:13 2023-03-13 18:49:12,873 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:49:13 2023-03-13 18:49:12,873 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:49:13 3.0.0-dev.10 [Pipeline] } 18:49:13 $ docker exec --env ******** --env ******** 61d4f0565fba08ed3238085959222948d071ba48a44860f7e3ff80eeba280fde ssh-agent -k 18:49:13 unset SSH_AUTH_SOCK; 18:49:13 unset SSH_AGENT_PID; 18:49:13 echo Agent pid 75 killed; 18:49:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:49:13 + git semver [Pipeline] } 18:49:13 $ docker stop --time=1 61d4f0565fba08ed3238085959222948d071ba48a44860f7e3ff80eeba280fde 18:49:15 $ docker rm -f --volumes 61d4f0565fba08ed3238085959222948d071ba48a44860f7e3ff80eeba280fde [Pipeline] // withDockerContainer [Pipeline] sh 18:49:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:49:15 Stashed 1 file(s) [Pipeline] echo 18:49:15 [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [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:49:15 provisioning config files... 18:49:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5900456400559028343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:16 ---> docker-login.sh 18:49:16 nexus3.edgexfoundry.org:10001 18:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:16 Configure a credential helper to remove this warning. See 18:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:16 18:49:16 Login Succeeded 18:49:16 nexus3.edgexfoundry.org:10002 18:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:16 Configure a credential helper to remove this warning. See 18:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:16 18:49:16 Login Succeeded 18:49:16 nexus3.edgexfoundry.org:10003 18:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:16 Configure a credential helper to remove this warning. See 18:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:16 18:49:16 Login Succeeded 18:49:16 nexus3.edgexfoundry.org:10004 18:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:16 Configure a credential helper to remove this warning. See 18:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:16 18:49:16 Login Succeeded 18:49:16 docker.io 18:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:49:16 Configure a credential helper to remove this warning. See 18:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:49:16 18:49:16 Login Succeeded 18:49:16 ---> docker-login.sh ends [Pipeline] } 18:49:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:49:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:49:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:49:16 ========================================================= 18:49:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:49:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:49:16 Sending build context to Docker daemon 6.365MB 18:49:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:49:16 Step 2/12 : FROM ${BASE} AS builder 18:49:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:49:16 213ec9aee27d: Pulling fs layer 18:49:16 4583459ba037: Pulling fs layer 18:49:16 93c1e223e6f2: Pulling fs layer 18:49:16 53926ce57604: Pulling fs layer 18:49:16 21b2b0c7a3f4: Pulling fs layer 18:49:16 22ff95d597cd: Pulling fs layer 18:49:16 12d6caf4c0d1: Pulling fs layer 18:49:16 96b7cbca73a9: Pulling fs layer 18:49:16 a7acece74701: Pulling fs layer 18:49:16 53926ce57604: Waiting 18:49:16 21b2b0c7a3f4: Waiting 18:49:16 22ff95d597cd: Waiting 18:49:16 12d6caf4c0d1: Waiting 18:49:16 96b7cbca73a9: Waiting 18:49:16 a7acece74701: Waiting 18:49:16 93c1e223e6f2: Verifying Checksum 18:49:16 93c1e223e6f2: Download complete 18:49:16 4583459ba037: Verifying Checksum 18:49:16 4583459ba037: Download complete 18:49:17 21b2b0c7a3f4: Verifying Checksum 18:49:17 21b2b0c7a3f4: Download complete 18:49:17 22ff95d597cd: Verifying Checksum 18:49:17 22ff95d597cd: Download complete 18:49:17 213ec9aee27d: Verifying Checksum 18:49:17 213ec9aee27d: Download complete 18:49:17 12d6caf4c0d1: Download complete 18:49:17 213ec9aee27d: Pull complete 18:49:17 4583459ba037: Pull complete 18:49:17 93c1e223e6f2: Pull complete 18:49:17 a7acece74701: Verifying Checksum 18:49:17 a7acece74701: Download complete 18:49:17 96b7cbca73a9: Verifying Checksum 18:49:18 53926ce57604: Verifying Checksum 18:49:18 53926ce57604: Download complete 18:49:21 53926ce57604: Pull complete 18:49:21 21b2b0c7a3f4: Pull complete 18:49:21 22ff95d597cd: Pull complete 18:49:21 12d6caf4c0d1: Pull complete 18:49:23 96b7cbca73a9: Pull complete 18:49:24 a7acece74701: Pull complete 18:49:24 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:49:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:49:24 ---> db6d94c90886 18:49:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:49:28 ---> Running in 26324b49346f 18:49:28 Removing intermediate container 26324b49346f 18:49:28 ---> 33d5e7d07924 18:49:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:49:28 ---> Running in 0cb764cf43c3 18:49:28 Removing intermediate container 0cb764cf43c3 18:49:28 ---> a70cddd9577d 18:49:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:49:28 ---> Running in 07a93bd15e15 18:49:28 Removing intermediate container 07a93bd15e15 18:49:28 ---> de075c534e4f 18:49:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:49:28 ---> Running in 596d1c541d1a 18:49:28 Removing intermediate container 596d1c541d1a 18:49:28 ---> 3569a7c6c479 18:49:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:49:28 ---> Running in 4dc4bae31e71 18:49:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:49:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:49:29 (2/4) Installing libedit (20210910.3.1-r0) 18:49:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:49:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:49:29 Executing busybox-1.35.0-r17.trigger 18:49:29 OK: 216 MiB in 55 packages 18:49:29 Removing intermediate container 4dc4bae31e71 18:49:29 ---> 16f8113e9abc 18:49:29 Step 8/12 : WORKDIR /device-mqtt-go 18:49:29 ---> Running in df9bbc65218c 18:49:30 Removing intermediate container df9bbc65218c 18:49:30 ---> ddc63032f680 18:49:30 Step 9/12 : COPY go.mod vendor* ./ 18:49:30 ---> 214b2e38865a 18:49:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:30 ---> Running in 5620d425eb51 18:49:30 Still waiting to schedule task 18:49:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:49:57 Removing intermediate container 5620d425eb51 18:49:57 ---> 81af30d0e2eb 18:49:57 Step 11/12 : COPY . . 18:49:57 ---> 5c1ec07cb120 18:49:57 Step 12/12 : RUN $MAKE 18:49:57 ---> Running in 21a71f8706a6 18:49:57 noop 18:49:57 Removing intermediate container 21a71f8706a6 18:49:57 ---> 08573ba1f2cb 18:49:57 Successfully built 08573ba1f2cb 18:49:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:57 + docker inspect -f . ci-base-image-x86_64 18:49:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:57 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 18:49:57 $ 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:49:57 $ docker top 9f3d525e16d8d9cc7da8d02653aa86c0e0683828b798592083182388a615fdc5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:58 + go version 18:49:58 go version go1.18.7 linux/amd64 [Pipeline] } 18:49:58 $ docker stop --time=1 9f3d525e16d8d9cc7da8d02653aa86c0e0683828b798592083182388a615fdc5 18:49:59 $ docker rm -f --volumes 9f3d525e16d8d9cc7da8d02653aa86c0e0683828b798592083182388a615fdc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:00 + docker inspect -f . ci-base-image-x86_64 18:50:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:00 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 18:50:00 $ 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:50:00 $ docker top 57d085fe4c7077bc7842585f8fa862c19cdb636f3f9e662ab2c2e4c0c742d5dd -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 18:50:01 + make test 18:50:01 go test ./... -coverprofile=coverage.out ./... 18:50:01 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:50:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:50:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.2% of statements 18:50:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:50:16 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:50:16 go vet ./... 18:50:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:50:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:50:17 ./bin/test-attribution-txt.sh [Pipeline] echo 18:50:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:50:17 $ docker stop --time=1 57d085fe4c7077bc7842585f8fa862c19cdb636f3f9e662ab2c2e4c0c742d5dd 18:50:20 $ docker rm -f --volumes 57d085fe4c7077bc7842585f8fa862c19cdb636f3f9e662ab2c2e4c0c742d5dd [Pipeline] // withDockerContainer [Pipeline] sh 18:50:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:50:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:50:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:50:21 + ls -al . 18:50:21 total 180 18:50:21 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 18:50 . 18:50:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 18:48 .. 18:50:21 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 18:48 .dockerignore 18:50:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 18:50 .git 18:50:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 18:48 .github 18:50:21 -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 18:48 .gitignore 18:50:21 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 18:48 .golangci.yml 18:50:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 18:49 .semver 18:50:21 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 13 18:48 Attribution.txt 18:50:21 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 13 18:48 CHANGELOG.md 18:50:21 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 13 18:48 Dockerfile 18:50:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 18:48 GOVERNANCE.md 18:50:21 -rw-rw-r-- 1 jenkins jenkins 678 Mar 13 18:48 Jenkinsfile 18:50:21 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 18:48 LICENSE 18:50:21 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 13 18:48 Makefile 18:50:21 -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 18:48 OWNERS.md 18:50:21 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 13 18:48 README.md 18:50:21 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 18:49 VERSION 18:50:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 18:48 bin 18:50:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 18:48 cmd 18:50:21 -rw-r--r-- 1 jenkins jenkins 18047 Mar 13 18:50 coverage.out 18:50:21 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 13 18:48 go.mod 18:50:21 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 18:48 go.sum 18:50:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 18:48 internal 18:50:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 18:48 mock 18:50:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 18:48 snap 18:50:21 -rw-rw-r-- 1 jenkins jenkins 227 Mar 13 18:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50: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=14341be0e00f90cb93f09a8fe34181eba0d3b045 --label arch=amd64 --label version=3.0.0-dev.10 . 18:50:21 Sending build context to Docker daemon 6.384MB 18:50:21 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:50:21 Step 2/24 : FROM ${BASE} AS builder 18:50:21 ---> 08573ba1f2cb 18:50:21 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:50:21 ---> Running in 7991ce850cf5 18:50:22 Removing intermediate container 7991ce850cf5 18:50:22 ---> b4ad35e7fe33 18:50:22 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:50:22 ---> Running in 2cd3459bf123 18:50:22 Removing intermediate container 2cd3459bf123 18:50:22 ---> 96d28e4dd133 18:50:22 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:50:22 ---> Running in cca01868f47a 18:50:22 Removing intermediate container cca01868f47a 18:50:22 ---> 452f6521d392 18:50:22 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:50:22 ---> Running in d40aee49d963 18:50:22 Removing intermediate container d40aee49d963 18:50:22 ---> 26125cdba0cd 18:50:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:50:22 ---> Running in 4bc7ce7b2ef6 18:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:50:22 OK: 216 MiB in 55 packages 18:50:23 Removing intermediate container 4bc7ce7b2ef6 18:50:23 ---> e35f12ba9198 18:50:23 Step 8/24 : WORKDIR /device-mqtt-go 18:50:23 ---> Running in a9e18467ea61 18:50:23 Removing intermediate container a9e18467ea61 18:50:23 ---> 7ba8aeb23502 18:50:23 Step 9/24 : COPY go.mod vendor* ./ 18:50:23 ---> 8e1dbcaf69b3 18:50:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:23 ---> Running in 228c53232423 18:50:24 Removing intermediate container 228c53232423 18:50:24 ---> 0d480dd2c3ad 18:50:24 Step 11/24 : COPY . . 18:50:24 ---> f5338c1fabc2 18:50:24 Step 12/24 : RUN $MAKE 18:50:24 ---> Running in f296b9171a3a 18:50:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:50:43 Removing intermediate container f296b9171a3a 18:50:43 ---> 12f53816b8b6 18:50:43 Step 13/24 : FROM alpine:3.16 18:50:43 3.16: Pulling from library/alpine 18:50:43 ef5531b6e74e: Pulling fs layer 18:50:43 ef5531b6e74e: Verifying Checksum 18:50:43 ef5531b6e74e: Pull complete 18:50:43 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 18:50:43 Status: Downloaded newer image for alpine:3.16 18:50:43 ---> dfd21b5a31f5 18:50:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:50:43 ---> Running in 9049fbee151e 18:50:43 Removing intermediate container 9049fbee151e 18:50:43 ---> 476444c07ea6 18:50:43 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:50:43 ---> Running in 43b5268d5b00 18:50:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:50:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:50:43 (1/1) Installing dumb-init (1.2.5-r1) 18:50:43 Executing busybox-1.35.0-r17.trigger 18:50:43 OK: 6 MiB in 15 packages 18:50:43 Removing intermediate container 43b5268d5b00 18:50:43 ---> 01036c712cfe 18:50:43 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:50:44 ---> 3137a58bb48c 18:50:44 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:50:44 ---> aa303760a1ce 18:50:44 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:50:44 ---> 87cb69a6b763 18:50:44 Step 19/24 : EXPOSE 59982 18:50:44 ---> Running in b3968075f91e 18:50:44 Removing intermediate container b3968075f91e 18:50:44 ---> 549c1694a4c8 18:50:44 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:50:44 ---> Running in 2a44cd1b2407 18:50:44 Removing intermediate container 2a44cd1b2407 18:50:44 ---> 71bd5b876cc2 18:50:44 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:50:44 ---> Running in a5f73b308569 18:50:44 Removing intermediate container a5f73b308569 18:50:44 ---> 3ea36544e7a9 18:50:44 Step 22/24 : LABEL arch=amd64 18:50:44 ---> Running in 4017cafaab80 18:50:44 Removing intermediate container 4017cafaab80 18:50:44 ---> 47995f4f1953 18:50:44 Step 23/24 : LABEL git_sha=14341be0e00f90cb93f09a8fe34181eba0d3b045 18:50:44 ---> Running in 5349e123b58e 18:50:44 Removing intermediate container 5349e123b58e 18:50:44 ---> 15b29737750b 18:50:44 Step 24/24 : LABEL version=3.0.0-dev.10 18:50:44 ---> Running in 8a13d9ca3426 18:50:44 Removing intermediate container 8a13d9ca3426 18:50:44 ---> bd6ff72b35b7 18:50:44 [Warning] One or more build-args [ARCH] were not consumed 18:50:44 Successfully built bd6ff72b35b7 18:50:44 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:50:45 provisioning config files... 18:50:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5870563138183993248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:45 ---> docker-login.sh 18:50:45 nexus3.edgexfoundry.org:10001 18:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:45 Configure a credential helper to remove this warning. See 18:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:45 18:50:45 Login Succeeded 18:50:45 nexus3.edgexfoundry.org:10002 18:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:45 Configure a credential helper to remove this warning. See 18:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:45 18:50:45 Login Succeeded 18:50:45 nexus3.edgexfoundry.org:10003 18:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:45 Configure a credential helper to remove this warning. See 18:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:45 18:50:45 Login Succeeded 18:50:45 nexus3.edgexfoundry.org:10004 18:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:45 Configure a credential helper to remove this warning. See 18:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:45 18:50:45 Login Succeeded 18:50:45 docker.io 18:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:45 Configure a credential helper to remove this warning. See 18:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:45 18:50:45 Login Succeeded 18:50:45 ---> docker-login.sh ends [Pipeline] } 18:50:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:50:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:45 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 18:50:45 14341be0e00f90cb93f09a8fe34181eba0d3b045 18:50:45 latest 18:50:45 3.0.0-dev.10 18:50:45 14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10 18:50:45 main 18:50:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:14341be0e00f90cb93f09a8fe34181eba0d3b045 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:14341be0e00f90cb93f09a8fe34181eba0d3b045 18:50:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:46 c276e3d77501: Preparing 18:50:46 b54cae08b563: Preparing 18:50:46 6d65dbb40b7c: Preparing 18:50:46 aa61f2c8c25a: Preparing 18:50:46 aa5968d388b8: Preparing 18:50:46 aa5968d388b8: Layer already exists 18:50:46 c276e3d77501: Pushed 18:50:46 b54cae08b563: Pushed 18:50:46 aa61f2c8c25a: Pushed 18:50:49 6d65dbb40b7c: Pushed 18:50:50 14341be0e00f90cb93f09a8fe34181eba0d3b045: digest: sha256:fe6b9e06968000b61a69d2e89387bb3a5d3709cb79ab03c4679f1befe62c8245 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:50:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:50 c276e3d77501: Preparing 18:50:50 b54cae08b563: Preparing 18:50:50 6d65dbb40b7c: Preparing 18:50:50 aa61f2c8c25a: Preparing 18:50:50 aa5968d388b8: Preparing 18:50:50 aa5968d388b8: Layer already exists 18:50:50 6d65dbb40b7c: Layer already exists 18:50:50 b54cae08b563: Layer already exists 18:50:50 aa61f2c8c25a: Layer already exists 18:50:50 c276e3d77501: Layer already exists 18:50:50 latest: digest: sha256:fe6b9e06968000b61a69d2e89387bb3a5d3709cb79ab03c4679f1befe62c8245 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.10 18:50:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:51 c276e3d77501: Preparing 18:50:51 b54cae08b563: Preparing 18:50:51 6d65dbb40b7c: Preparing 18:50:51 aa61f2c8c25a: Preparing 18:50:51 aa5968d388b8: Preparing 18:50:51 aa5968d388b8: Layer already exists 18:50:51 b54cae08b563: Layer already exists 18:50:51 c276e3d77501: Layer already exists 18:50:51 6d65dbb40b7c: Layer already exists 18:50:51 aa61f2c8c25a: Layer already exists 18:50:51 3.0.0-dev.10: digest: sha256:fe6b9e06968000b61a69d2e89387bb3a5d3709cb79ab03c4679f1befe62c8245 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10 18:50:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:51 c276e3d77501: Preparing 18:50:51 b54cae08b563: Preparing 18:50:51 6d65dbb40b7c: Preparing 18:50:51 aa61f2c8c25a: Preparing 18:50:51 aa5968d388b8: Preparing 18:50:51 aa61f2c8c25a: Layer already exists 18:50:51 aa5968d388b8: Layer already exists 18:50:51 b54cae08b563: Layer already exists 18:50:51 6d65dbb40b7c: Layer already exists 18:50:51 c276e3d77501: Layer already exists 18:50:51 14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10: digest: sha256:fe6b9e06968000b61a69d2e89387bb3a5d3709cb79ab03c4679f1befe62c8245 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 18:50:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:50:52 c276e3d77501: Preparing 18:50:52 b54cae08b563: Preparing 18:50:52 6d65dbb40b7c: Preparing 18:50:52 aa61f2c8c25a: Preparing 18:50:52 aa5968d388b8: Preparing 18:50:52 aa5968d388b8: Layer already exists 18:50:52 aa61f2c8c25a: Layer already exists 18:50:52 6d65dbb40b7c: Layer already exists 18:50:52 b54cae08b563: Layer already exists 18:50:52 c276e3d77501: Layer already exists 18:50:52 main: digest: sha256:fe6b9e06968000b61a69d2e89387bb3a5d3709cb79ab03c4679f1befe62c8245 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:50:52 ===================================================== [Pipeline] echo 18:50:52 taggedImages: 18:50:52 - nexus3.edgexfoundry.org:10004/device-mqtt:14341be0e00f90cb93f09a8fe34181eba0d3b045 18:50:52 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:50:52 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.10 18:50:52 - nexus3.edgexfoundry.org:10004/device-mqtt:14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10 18:50:52 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:52 18:50:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:53 latest: Pulling from edgex-lftools-log-publisher 18:50:53 5eb5b503b376: Pulling fs layer 18:50:53 5c69ac0246d0: Pulling fs layer 18:50:53 ec43610c2a17: Pulling fs layer 18:50:53 3a2ae6a8a46f: Pulling fs layer 18:50:53 33b1e0a273af: Pulling fs layer 18:50:53 5d3b04190fa2: Pulling fs layer 18:50:53 2f39f015ded8: Pulling fs layer 18:50:53 5d3b04190fa2: Waiting 18:50:53 2f39f015ded8: Waiting 18:50:53 3a2ae6a8a46f: Waiting 18:50:53 33b1e0a273af: Waiting 18:50:53 5c69ac0246d0: Verifying Checksum 18:50:53 5c69ac0246d0: Download complete 18:50:53 3a2ae6a8a46f: Verifying Checksum 18:50:53 3a2ae6a8a46f: Download complete 18:50:53 33b1e0a273af: Verifying Checksum 18:50:53 33b1e0a273af: Download complete 18:50:53 ec43610c2a17: Verifying Checksum 18:50:53 ec43610c2a17: Download complete 18:50:53 5d3b04190fa2: Verifying Checksum 18:50:53 5d3b04190fa2: Download complete 18:50:53 5eb5b503b376: Download complete 18:50:54 2f39f015ded8: Download complete 18:50:54 5eb5b503b376: Pull complete 18:50:54 5c69ac0246d0: Pull complete 18:50:55 ec43610c2a17: Pull complete 18:50:55 3a2ae6a8a46f: Pull complete 18:50:55 33b1e0a273af: Pull complete 18:50:55 5d3b04190fa2: Pull complete 18:50:59 2f39f015ded8: Pull complete 18:50:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:59 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 18:50:59 $ 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:51:03 $ docker top 440eb241ed232d3ed48ab5b7ecc4d217342b28051bab2dcf927b49c14fec386e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:03 ---> job-cost.sh 18:51:03 lf-activate-venv: SKIPPING 18:51:03 INFO: No Stack... 18:51:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:51:04 INFO: Archiving Costs [Pipeline] sh 18:51:04 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 18:51:04 + cut -d, -f6 [Pipeline] lock 18:51:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-93-stack-cost] 18:51:04 Resource [jenkins-edgexfoundry-device-mqtt-go-main-93-stack-cost] did not exist. Created. 18:51:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:51:05 + echo total: 0.2199999988079071 [Pipeline] stash 18:51:05 Stashed 1 file(s) [Pipeline] } 18:51:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } 18:51:05 $ docker stop --time=1 440eb241ed232d3ed48ab5b7ecc4d217342b28051bab2dcf927b49c14fec386e 18:51:06 $ docker rm -f --volumes 440eb241ed232d3ed48ab5b7ecc4d217342b28051bab2dcf927b49c14fec386e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:52:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9942 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 18:52:07 Running in /w/workspace/device-mqtt-go/93 [Pipeline] { [Pipeline] checkout 18:52:07 Selected Git installation does not exist. Using Default 18:52:07 The recommended git tool is: NONE 18:52:13 using credential edgex-jenkins-ssh 18:52:13 Cloning the remote Git repository 18:52:13 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:52:13 > git init /w/workspace/device-mqtt-go/93 # timeout=10 18:52:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:52:14 > git --version # timeout=10 18:52:14 > git --version # 'git version 2.25.1' 18:52:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:52:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:18 Avoid second fetch 18:52:18 Checking out Revision 14341be0e00f90cb93f09a8fe34181eba0d3b045 (main) 18:52:19 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#523)" 18:52:18 > git config core.sparsecheckout # timeout=10 18:52:18 > git checkout -f 14341be0e00f90cb93f09a8fe34181eba0d3b045 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:52:20 % Total % Received % Xferd Average Speed Time Time Time Current 18:52:20 Dload Upload Total Spent Left Speed 18:52:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh 18:52:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:52:21 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:52:21 sudo tee /etc/docker/daemon.new 18:52:21 { 18:52:21 "registry-mirrors": [ 18:52:21 "https://nexus3.edgexfoundry.org:10001" 18:52:21 ], 18:52:21 "bip": "10.250.0.254/24", 18:52:21 "hosts": [ 18:52:21 "tcp://0.0.0.0:5555", 18:52:21 "unix:///var/run/docker.sock" 18:52:21 ], 18:52:21 "mtu": 1458, 18:52:21 "selinux-enabled": true, 18:52:21 "seccomp-profile": "/etc/docker/seccomp.json" 18:52:21 } [Pipeline] sh 18:52:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:52:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:40 provisioning config files... 18:52:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/93@tmp/config367061977706929404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:40 ---> docker-login.sh 18:52:40 nexus3.edgexfoundry.org:10001 18:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:41 Configure a credential helper to remove this warning. See 18:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:41 18:52:41 Login Succeeded 18:52:41 nexus3.edgexfoundry.org:10002 18:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:41 Configure a credential helper to remove this warning. See 18:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:41 18:52:41 Login Succeeded 18:52:41 nexus3.edgexfoundry.org:10003 18:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:42 Configure a credential helper to remove this warning. See 18:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:42 18:52:42 Login Succeeded 18:52:42 nexus3.edgexfoundry.org:10004 18:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:42 Configure a credential helper to remove this warning. See 18:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:42 18:52:42 Login Succeeded 18:52:42 docker.io 18:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:43 Configure a credential helper to remove this warning. See 18:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:43 18:52:43 Login Succeeded 18:52:43 ---> docker-login.sh ends [Pipeline] } 18:52:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:52:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:43 ========================================================= 18:52:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:52:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:52:44 Sending build context to Docker daemon 3.301MB 18:52:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:52:44 Step 2/12 : FROM ${BASE} AS builder 18:52:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:52:44 9b18e9b68314: Pulling fs layer 18:52:44 35d82f9e3411: Pulling fs layer 18:52:44 e16973657156: Pulling fs layer 18:52:44 fc693d55d65f: Pulling fs layer 18:52:44 7e9fc2657dce: Pulling fs layer 18:52:44 dda99020689f: Pulling fs layer 18:52:44 db1c61fa0a46: Pulling fs layer 18:52:44 891c053d2c06: Pulling fs layer 18:52:44 dda99020689f: Waiting 18:52:44 fc693d55d65f: Waiting 18:52:44 db1c61fa0a46: Waiting 18:52:44 891c053d2c06: Waiting 18:52:44 7e9fc2657dce: Waiting 18:52:44 e16973657156: Verifying Checksum 18:52:44 e16973657156: Download complete 18:52:44 35d82f9e3411: Verifying Checksum 18:52:44 35d82f9e3411: Download complete 18:52:44 7e9fc2657dce: Download complete 18:52:44 dda99020689f: Verifying Checksum 18:52:44 dda99020689f: Download complete 18:52:44 9b18e9b68314: Verifying Checksum 18:52:44 9b18e9b68314: Download complete 18:52:45 9b18e9b68314: Pull complete 18:52:45 891c053d2c06: Verifying Checksum 18:52:45 891c053d2c06: Download complete 18:52:46 35d82f9e3411: Pull complete 18:52:46 e16973657156: Pull complete 18:52:47 db1c61fa0a46: Verifying Checksum 18:52:47 db1c61fa0a46: Download complete 18:52:47 fc693d55d65f: Verifying Checksum 18:52:47 fc693d55d65f: Download complete 18:53:00 fc693d55d65f: Pull complete 18:53:00 7e9fc2657dce: Pull complete 18:53:00 dda99020689f: Pull complete 18:53:05 db1c61fa0a46: Pull complete 18:53:07 891c053d2c06: Pull complete 18:53:07 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:53:07 ---> f96f9c87975a 18:53:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:53:10 ---> Running in 18ae161a413d 18:53:10 Removing intermediate container 18ae161a413d 18:53:10 ---> 553a2d41c0dc 18:53:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:10 ---> Running in 067b3e08d844 18:53:10 Removing intermediate container 067b3e08d844 18:53:10 ---> 866f4613c1ad 18:53:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:53:10 ---> Running in e8a1b548771c 18:53:11 Removing intermediate container e8a1b548771c 18:53:11 ---> aed0867fedca 18:53:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:53:11 ---> Running in 275b91252186 18:53:11 Removing intermediate container 275b91252186 18:53:11 ---> b23c9d8aa3a5 18:53:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:11 ---> Running in bb05277c23d0 18:53:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:53:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:53:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:53:14 (2/4) Installing libedit (20210910.3.1-r0) 18:53:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:53:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:53:14 Executing busybox-1.35.0-r17.trigger 18:53:14 OK: 226 MiB in 55 packages 18:53:16 Removing intermediate container bb05277c23d0 18:53:16 ---> 71cc1147896f 18:53:16 Step 8/12 : WORKDIR /device-mqtt-go 18:53:16 ---> Running in d0aebf84c4bc 18:53:16 Removing intermediate container d0aebf84c4bc 18:53:16 ---> de9f3ed5761a 18:53:16 Step 9/12 : COPY go.mod vendor* ./ 18:53:17 ---> bfbe8ae05f87 18:53:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:17 ---> Running in 6ddc3a5035d5 18:54:25 Removing intermediate container 6ddc3a5035d5 18:54:25 ---> 717f70a100b9 18:54:25 Step 11/12 : COPY . . 18:54:25 ---> 90784ba73c8a 18:54:25 Step 12/12 : RUN $MAKE 18:54:25 ---> Running in eb2a1537f2c6 18:54:25 noop 18:54:25 Removing intermediate container eb2a1537f2c6 18:54:25 ---> c117ddb6bcc0 18:54:25 Successfully built c117ddb6bcc0 18:54:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:25 + docker inspect -f . ci-base-image-arm64 18:54:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:25 prd-ubuntu20.04-docker-arm64-4c-16g-9942 does not seem to be running inside a container 18:54:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/93 -v /w/workspace/device-mqtt-go/93:/w/workspace/device-mqtt-go/93:rw,z -v /w/workspace/device-mqtt-go/93@tmp:/w/workspace/device-mqtt-go/93@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:54:27 $ docker top eeb0d0a0bd254fec5589e9158a9b2860095785c336275f1e6bb9bdc800e560ed -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:28 + go version 18:54:28 go version go1.18.7 linux/arm64 [Pipeline] } 18:54:28 $ docker stop --time=1 eeb0d0a0bd254fec5589e9158a9b2860095785c336275f1e6bb9bdc800e560ed 18:54:30 $ docker rm -f --volumes eeb0d0a0bd254fec5589e9158a9b2860095785c336275f1e6bb9bdc800e560ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:30 + docker inspect -f . ci-base-image-arm64 18:54:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:30 prd-ubuntu20.04-docker-arm64-4c-16g-9942 does not seem to be running inside a container 18:54:30 $ 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/93 -v /w/workspace/device-mqtt-go/93:/w/workspace/device-mqtt-go/93:rw,z -v /w/workspace/device-mqtt-go/93@tmp:/w/workspace/device-mqtt-go/93@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:54:32 $ docker top 2b6911939eeaeb56eda943caaf57e30c261459454b1952003cc0ca38585cecbb -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:33 + git config --global --add safe.directory /w/workspace/device-mqtt-go/93 [Pipeline] fileExists [Pipeline] sh 18:54:33 + make test 18:54:33 go test ./... -coverprofile=coverage.out ./... 18:54:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:56:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:56:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 22.2% of statements 18:56:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:56:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:56:15 go vet ./... 18:56:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:56:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:56:54 ./bin/test-attribution-txt.sh [Pipeline] echo 18:56:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:56:54 $ docker stop --time=1 2b6911939eeaeb56eda943caaf57e30c261459454b1952003cc0ca38585cecbb 18:56:56 $ docker rm -f --volumes 2b6911939eeaeb56eda943caaf57e30c261459454b1952003cc0ca38585cecbb [Pipeline] // withDockerContainer [Pipeline] sh 18:56:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:56:57 Warning: overwriting stash ‘coverage-report’ 18:56:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:56:59 + ls -al . 18:56:59 total 176 18:56:59 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 18:54 . 18:56:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 18:52 .. 18:56:59 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 18:52 .dockerignore 18:56:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 18:52 .git 18:56:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 18:52 .github 18:56:59 -rw-rw-r-- 1 jenkins jenkins 329 Mar 13 18:52 .gitignore 18:56:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 18:52 .golangci.yml 18:56:59 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 13 18:52 Attribution.txt 18:56:59 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 13 18:52 CHANGELOG.md 18:56:59 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 13 18:52 Dockerfile 18:56:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 18:52 GOVERNANCE.md 18:56:59 -rw-rw-r-- 1 jenkins jenkins 678 Mar 13 18:52 Jenkinsfile 18:56:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 18:52 LICENSE 18:56:59 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 13 18:52 Makefile 18:56:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 18:52 OWNERS.md 18:56:59 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 13 18:52 README.md 18:56:59 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 18:49 VERSION 18:56:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 18:52 bin 18:56:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 18:52 cmd 18:56:59 -rw-r--r-- 1 jenkins jenkins 18047 Mar 13 18:56 coverage.out 18:56:59 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 13 18:52 go.mod 18:56:59 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 13 18:52 go.sum 18:56:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 18:52 internal 18:56:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 18:52 mock 18:56:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 18:52 snap 18:56:59 -rw-rw-r-- 1 jenkins jenkins 227 Mar 13 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:59 + 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=14341be0e00f90cb93f09a8fe34181eba0d3b045 --label arch=arm64 --label version=3.0.0-dev.10 . 18:56:59 Sending build context to Docker daemon 3.32MB 18:56:59 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:56:59 Step 2/24 : FROM ${BASE} AS builder 18:56:59 ---> c117ddb6bcc0 18:56:59 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:57:00 ---> Running in c50409f364fa 18:57:00 Removing intermediate container c50409f364fa 18:57:00 ---> d91053bf6763 18:57:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:57:00 ---> Running in 4c743660636e 18:57:01 Removing intermediate container 4c743660636e 18:57:01 ---> 922e09ae075a 18:57:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:57:01 ---> Running in 6a48027bbcc2 18:57:01 Removing intermediate container 6a48027bbcc2 18:57:01 ---> 9483ad57d9da 18:57:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:57:01 ---> Running in 526094d99a3e 18:57:01 Removing intermediate container 526094d99a3e 18:57:01 ---> 0b5afb2202cb 18:57:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:57:01 ---> Running in bf5c8810d9ae 18:57:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:57:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:57:05 OK: 226 MiB in 55 packages 18:57:07 Removing intermediate container bf5c8810d9ae 18:57:07 ---> a97fed049a59 18:57:07 Step 8/24 : WORKDIR /device-mqtt-go 18:57:07 ---> Running in 05efcd41a34f 18:57:07 Removing intermediate container 05efcd41a34f 18:57:07 ---> 48da73fa2fa9 18:57:07 Step 9/24 : COPY go.mod vendor* ./ 18:57:08 ---> e9a9ca699a2e 18:57:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:08 ---> Running in 1ddda39cf569 18:57:11 Removing intermediate container 1ddda39cf569 18:57:11 ---> 13d40acd99ba 18:57:11 Step 11/24 : COPY . . 18:57:12 ---> 621012b44ada 18:57:12 Step 12/24 : RUN $MAKE 18:57:13 ---> Running in 0557323c5a7d 18:57:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:59:35 Removing intermediate container 0557323c5a7d 18:59:35 ---> cd3a6a346ff2 18:59:35 Step 13/24 : FROM alpine:3.16 18:59:36 3.16: Pulling from library/alpine 18:59:36 3760b48202b3: Pulling fs layer 18:59:36 3760b48202b3: Verifying Checksum 18:59:36 3760b48202b3: Download complete 18:59:37 3760b48202b3: Pull complete 18:59:37 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 18:59:37 Status: Downloaded newer image for alpine:3.16 18:59:37 ---> 4c81e5bf8899 18:59:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:59:37 ---> Running in 2008446d722c 18:59:37 Removing intermediate container 2008446d722c 18:59:37 ---> 6e98a11bb2bb 18:59:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:59:37 ---> Running in 1e266c625df6 18:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:59:39 (1/1) Installing dumb-init (1.2.5-r1) 18:59:39 Executing busybox-1.35.0-r17.trigger 18:59:40 OK: 5 MiB in 15 packages 18:59:40 Removing intermediate container 1e266c625df6 18:59:40 ---> 070d60376bd3 18:59:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:59:42 ---> adca6c3c0b98 18:59:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:59:43 ---> 4abb4890a193 18:59:43 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:59:44 ---> 5481ef29ad49 18:59:44 Step 19/24 : EXPOSE 59982 18:59:44 ---> Running in c9cf328d8fae 18:59:44 Removing intermediate container c9cf328d8fae 18:59:44 ---> 286e0e5d0185 18:59:44 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:59:44 ---> Running in aa9663c5e22b 18:59:44 Removing intermediate container aa9663c5e22b 18:59:44 ---> fce001a2bb9e 18:59:44 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:59:44 ---> Running in 86f061451850 18:59:45 Removing intermediate container 86f061451850 18:59:45 ---> 629d839d7530 18:59:45 Step 22/24 : LABEL arch=arm64 18:59:45 ---> Running in 411684f7c936 18:59:45 Removing intermediate container 411684f7c936 18:59:45 ---> f0d4d0db5885 18:59:45 Step 23/24 : LABEL git_sha=14341be0e00f90cb93f09a8fe34181eba0d3b045 18:59:45 ---> Running in dadf07fb5f8a 18:59:45 Removing intermediate container dadf07fb5f8a 18:59:45 ---> d1280c1861a6 18:59:45 Step 24/24 : LABEL version=3.0.0-dev.10 18:59:45 ---> Running in 113b764bf096 18:59:46 Removing intermediate container 113b764bf096 18:59:46 ---> a0496aab2bde 18:59:46 [Warning] One or more build-args [ARCH] were not consumed 18:59:46 Successfully built a0496aab2bde 18:59:46 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:46 provisioning config files... 18:59:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/93@tmp/config5403977084589423974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:46 ---> docker-login.sh 18:59:46 nexus3.edgexfoundry.org:10001 18:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:46 Configure a credential helper to remove this warning. See 18:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:46 18:59:46 Login Succeeded 18:59:46 nexus3.edgexfoundry.org:10002 18:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:47 Configure a credential helper to remove this warning. See 18:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:47 18:59:47 Login Succeeded 18:59:47 nexus3.edgexfoundry.org:10003 18:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:47 Configure a credential helper to remove this warning. See 18:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:47 18:59:47 Login Succeeded 18:59:47 nexus3.edgexfoundry.org:10004 18:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:48 Configure a credential helper to remove this warning. See 18:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:48 18:59:48 Login Succeeded 18:59:48 docker.io 18:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:48 Configure a credential helper to remove this warning. See 18:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:48 18:59:48 Login Succeeded 18:59:48 ---> docker-login.sh ends [Pipeline] } 18:59:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:59:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:59:48 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 18:59:48 14341be0e00f90cb93f09a8fe34181eba0d3b045 18:59:48 latest 18:59:48 3.0.0-dev.10 18:59:48 14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10 18:59:48 main 18:59:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:14341be0e00f90cb93f09a8fe34181eba0d3b045 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:14341be0e00f90cb93f09a8fe34181eba0d3b045 18:59:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:49 6e8955d84d84: Preparing 18:59:49 7383d3077a25: Preparing 18:59:49 debc17e28630: Preparing 18:59:49 b9156eedaa4d: Preparing 18:59:49 f70ee36035b9: Preparing 18:59:49 f70ee36035b9: Layer already exists 18:59:49 6e8955d84d84: Pushed 18:59:49 7383d3077a25: Pushed 18:59:49 b9156eedaa4d: Pushed 18:59:55 debc17e28630: Pushed 18:59:55 14341be0e00f90cb93f09a8fe34181eba0d3b045: digest: sha256:d4cbdd0ac4e8ee0a1862e5cbb5e856ed1ed40417defb586889ebc0fbc83bc9c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:59:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:55 6e8955d84d84: Preparing 18:59:55 7383d3077a25: Preparing 18:59:55 debc17e28630: Preparing 18:59:55 b9156eedaa4d: Preparing 18:59:55 f70ee36035b9: Preparing 18:59:55 f70ee36035b9: Layer already exists 18:59:55 b9156eedaa4d: Layer already exists 18:59:55 debc17e28630: Layer already exists 18:59:55 6e8955d84d84: Layer already exists 18:59:55 7383d3077a25: Layer already exists 18:59:55 latest: digest: sha256:d4cbdd0ac4e8ee0a1862e5cbb5e856ed1ed40417defb586889ebc0fbc83bc9c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.10 18:59:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:56 6e8955d84d84: Preparing 18:59:56 7383d3077a25: Preparing 18:59:56 debc17e28630: Preparing 18:59:56 b9156eedaa4d: Preparing 18:59:56 f70ee36035b9: Preparing 18:59:56 b9156eedaa4d: Layer already exists 18:59:56 f70ee36035b9: Layer already exists 18:59:56 7383d3077a25: Layer already exists 18:59:56 6e8955d84d84: Layer already exists 18:59:56 debc17e28630: Layer already exists 18:59:56 3.0.0-dev.10: digest: sha256:d4cbdd0ac4e8ee0a1862e5cbb5e856ed1ed40417defb586889ebc0fbc83bc9c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10 18:59:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:57 6e8955d84d84: Preparing 18:59:57 7383d3077a25: Preparing 18:59:57 debc17e28630: Preparing 18:59:57 b9156eedaa4d: Preparing 18:59:57 f70ee36035b9: Preparing 18:59:57 f70ee36035b9: Layer already exists 18:59:57 6e8955d84d84: Layer already exists 18:59:57 7383d3077a25: Layer already exists 18:59:57 debc17e28630: Layer already exists 18:59:57 b9156eedaa4d: Layer already exists 18:59:57 14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10: digest: sha256:d4cbdd0ac4e8ee0a1862e5cbb5e856ed1ed40417defb586889ebc0fbc83bc9c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 18:59:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:59:58 6e8955d84d84: Preparing 18:59:58 7383d3077a25: Preparing 18:59:58 debc17e28630: Preparing 18:59:58 b9156eedaa4d: Preparing 18:59:58 f70ee36035b9: Preparing 18:59:58 debc17e28630: Layer already exists 18:59:58 f70ee36035b9: Layer already exists 18:59:58 7383d3077a25: Layer already exists 18:59:58 6e8955d84d84: Layer already exists 18:59:58 b9156eedaa4d: Layer already exists 18:59:58 main: digest: sha256:d4cbdd0ac4e8ee0a1862e5cbb5e856ed1ed40417defb586889ebc0fbc83bc9c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:59:58 ===================================================== [Pipeline] echo 18:59:58 taggedImages: 18:59:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:14341be0e00f90cb93f09a8fe34181eba0d3b045 18:59:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:59:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.10 18:59:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:14341be0e00f90cb93f09a8fe34181eba0d3b045-3.0.0-dev.10 18:59:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:58 18:59:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:58 arm64: Pulling from edgex-lftools-log-publisher 18:59:58 8998bd30e6a1: Pulling fs layer 18:59:58 04944245beec: Pulling fs layer 18:59:58 699f458cf7ca: Pulling fs layer 18:59:58 765212b225bb: Pulling fs layer 18:59:58 f23df028b6ca: Pulling fs layer 18:59:58 d65c8cfc05b1: Pulling fs layer 18:59:58 2437ff75d9bd: Pulling fs layer 18:59:58 765212b225bb: Waiting 18:59:58 f23df028b6ca: Waiting 18:59:58 d65c8cfc05b1: Waiting 18:59:58 2437ff75d9bd: Waiting 18:59:59 04944245beec: Verifying Checksum 18:59:59 04944245beec: Download complete 18:59:59 765212b225bb: Download complete 18:59:59 f23df028b6ca: Verifying Checksum 18:59:59 f23df028b6ca: Download complete 18:59:59 d65c8cfc05b1: Verifying Checksum 18:59:59 d65c8cfc05b1: Download complete 18:59:59 699f458cf7ca: Verifying Checksum 18:59:59 699f458cf7ca: Download complete 18:59:59 8998bd30e6a1: Verifying Checksum 18:59:59 8998bd30e6a1: Download complete 19:00:01 2437ff75d9bd: Verifying Checksum 19:00:01 2437ff75d9bd: Download complete 19:00:03 8998bd30e6a1: Pull complete 19:00:03 04944245beec: Pull complete 19:00:04 699f458cf7ca: Pull complete 19:00:05 765212b225bb: Pull complete 19:00:05 f23df028b6ca: Pull complete 19:00:06 d65c8cfc05b1: Pull complete 19:00:21 2437ff75d9bd: Pull complete 19:00:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:00:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:21 prd-ubuntu20.04-docker-arm64-4c-16g-9942 does not seem to be running inside a container 19:00:21 $ 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/93 -v /w/workspace/device-mqtt-go/93:/w/workspace/device-mqtt-go/93:rw,z -v /w/workspace/device-mqtt-go/93@tmp:/w/workspace/device-mqtt-go/93@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 19:00:23 $ docker top c5c2e0421d434c0f38f34b9220d49862bbcaa0e09bd8ff3aacb0725be5abbedf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:24 ---> job-cost.sh 19:00:24 lf-activate-venv: SKIPPING 19:00:24 INFO: No Stack... 19:00:24 INFO: Retrieving Pricing Info for: v3-standard-4 19:00:25 INFO: Archiving Costs [Pipeline] sh 19:00:26 + + cat /w/workspace/device-mqtt-go/93/archives/cost.csvcut -d, 19:00:26 -f6 [Pipeline] lock 19:00:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-93-stack-cost] 19:00:26 Resource [jenkins-edgexfoundry-device-mqtt-go-main-93-stack-cost] did not exist. Created. 19:00:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:00:27 /w/workspace/device-mqtt-go/93@tmp/durable-5d7589e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:00:27 + echo total: 0.10999999940395355 [Pipeline] stash 19:00:27 Warning: overwriting stash ‘stack-cost’ 19:00:27 Stashed 1 file(s) [Pipeline] } 19:00:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-93-stack-cost] [Pipeline] // lock [Pipeline] } 19:00:27 $ docker stop --time=1 c5c2e0421d434c0f38f34b9220d49862bbcaa0e09bd8ff3aacb0725be5abbedf 19:00:29 $ docker rm -f --volumes c5c2e0421d434c0f38f34b9220d49862bbcaa0e09bd8ff3aacb0725be5abbedf [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 19:00:29 provisioning config files... 19:00:29 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12887674950918697827tmp [Pipeline] { [Pipeline] sh 19:00:30 + set +x 19:00:30 + + curl -s https://codecov.io/bashbash 19:00:30 -s -- 19:00:30 19:00:30 _____ _ 19:00:30 / ____| | | 19:00:30 | | ___ __| | ___ ___ _____ __ 19:00:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:00:30 | |___| (_) | (_| | __/ (_| (_) \ V / 19:00:30 \_____\___/ \__,_|\___|\___\___/ \_/ 19:00:30 Bash-1.0.6 19:00:30 19:00:30 19:00:30 ==> git version 2.25.1 found 19:00:30 ==> 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 19:00:30 Release-Date: 2020-01-08 19:00:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:00:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:00:30 ==> Jenkins CI detected. 19:00:30 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 19:00:30 project root: . 19:00:30 --> token set from env 19:00:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:00:30 ==> Running gcov in . (disable via -X gcov) 19:00:30 ==> Python coveragepy not found 19:00:30 ==> Searching for coverage reports in: 19:00:30 + . 19:00:30 -> Found 1 reports 19:00:30 ==> Detecting git/mercurial file structure 19:00:30 ==> Reading reports 19:00:30 + ./coverage.out bytes=18047 19:00:30 ==> Appending adjustments 19:00:30 https://docs.codecov.io/docs/fixing-reports 19:00:30 + Found adjustments 19:00:30 ==> Gzipping contents 19:00:30 4.0K /tmp/codecov.5GObYb.gz 19:00:30 ==> Uploading reports 19:00:30 url: https://codecov.io 19:00:30 query: branch=main&commit=14341be0e00f90cb93f09a8fe34181eba0d3b045&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:00:30 -> Pinging Codecov 19:00:30 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=14341be0e00f90cb93f09a8fe34181eba0d3b045&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:00:35 -> Uploading to 19:00:35 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/7D719EC7BBE17E464838252E33014C33/14341be0e00f90cb93f09a8fe34181eba0d3b045/309e20d6-5aad-4223-b8b2-dea0215272ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T190035Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45984aa28fefcf98cafa478228bc91db54d32e9ab72f1d3796f85a71bf966d07 19:00:35 % Total % Received % Xferd Average Speed Time Time Time Current 19:00:35 Dload Upload Total Spent Left Speed 19:00:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3147 0 0 100 3147 0 11569 --:--:-- --:--:-- --:--:-- 11612 19:00:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/14341be0e00f90cb93f09a8fe34181eba0d3b045 [Pipeline] } 19:00:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:00:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:00:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:00:36 19:00:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:00:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:00:36 df9b9388f04a: Pulling fs layer 19:00:36 52dc419b0ee2: Pulling fs layer 19:00:36 25bc292e5bac: Pulling fs layer 19:00:36 114826534d7a: Pulling fs layer 19:00:36 4657fd5d0bcf: Pulling fs layer 19:00:36 6ad1cebc031e: Pulling fs layer 19:00:36 8a3aa393b2d8: Pulling fs layer 19:00:36 114826534d7a: Waiting 19:00:36 6ad1cebc031e: Waiting 19:00:36 4657fd5d0bcf: Waiting 19:00:36 8a3aa393b2d8: Waiting 19:00:36 25bc292e5bac: Verifying Checksum 19:00:36 25bc292e5bac: Download complete 19:00:36 52dc419b0ee2: Verifying Checksum 19:00:36 52dc419b0ee2: Download complete 19:00:36 4657fd5d0bcf: Download complete 19:00:36 df9b9388f04a: Download complete 19:00:36 df9b9388f04a: Pull complete 19:00:36 52dc419b0ee2: Pull complete 19:00:36 25bc292e5bac: Pull complete 19:00:37 6ad1cebc031e: Verifying Checksum 19:00:37 6ad1cebc031e: Download complete 19:00:37 114826534d7a: Verifying Checksum 19:00:37 114826534d7a: Download complete 19:00:38 8a3aa393b2d8: Verifying Checksum 19:00:38 8a3aa393b2d8: Download complete 19:00:41 114826534d7a: Pull complete 19:00:41 4657fd5d0bcf: Pull complete 19:00:41 6ad1cebc031e: Pull complete 19:00:43 8a3aa393b2d8: Pull complete 19:00:43 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:00:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:00:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:44 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 19:00:44 $ 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 19:00:47 $ docker top f73742bc393e976e02c497fb164f2d80c50637ef7e2a378c603b25be2fbde5f2 -eo pid,comm [Pipeline] { [Pipeline] echo 19:00:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 19:00:47 + set -o pipefail 19:00:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 19:00:54 19:00:54 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 19:00:54 19:00:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/d99cdb69-ecb3-4001-a1e5-40b722a96b20 19:00:54 19:00:54 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:00:54 19:00:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:00:54 19:00:54 19:00:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:00:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:00:54 More details here: https://snyk.co/ue1NS 19:00:54 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 19:00:54 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 19:00:54 $ docker stop --time=1 f73742bc393e976e02c497fb164f2d80c50637ef7e2a378c603b25be2fbde5f2 19:00:57 $ docker rm -f --volumes f73742bc393e976e02c497fb164f2d80c50637ef7e2a378c603b25be2fbde5f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:00:57 + git log --format=format:%s -1 14341be0e00f90cb93f09a8fe34181eba0d3b045 [Pipeline] sh 19:00:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:00:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:58 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 19:00:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:00:58 $ docker top 815db26645f4f496b71a3208b7eb74c48f861a996136f86a25a54b75c63ec7ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:59 [ssh-agent] Looking for ssh-agent implementation... 19:00:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:59 $ docker exec 815db26645f4f496b71a3208b7eb74c48f861a996136f86a25a54b75c63ec7ac ssh-agent 19:00:59 SSH_AUTH_SOCK=/tmp/ssh-OpupM6OHJcoN/agent.32 19:00:59 SSH_AGENT_PID=38 19:00:59 Running ssh-add (command line suppressed) 19:00:59 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2376847779619100173.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2376847779619100173.key) 19:00:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:59 + git semver tag 19:00:59 2023-03-13 19:00:59,842 [run_tag] DEBUG tag force:False 19:00:59 2023-03-13 19:00:59,842 [check_head_tag] DEBUG check head tag 19:00:59 2023-03-13 19:00:59,843 [execute] INFO git cat-file --batch-check 19:00:59 2023-03-13 19:00:59,844 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 19:00:59 2023-03-13 19:00:59,846 [execute] INFO git cat-file --batch 19:00:59 2023-03-13 19:00:59,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 19:00:59 2023-03-13 19:00:59,865 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:59 2023-03-13 19:00:59,866 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 19:00:59 2023-03-13 19:00:59,866 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 19:00:59 2023-03-13 19:00:59,871 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:00:59 3.0.0-dev.10 [Pipeline] } 19:00:59 $ docker exec --env ******** --env ******** 815db26645f4f496b71a3208b7eb74c48f861a996136f86a25a54b75c63ec7ac ssh-agent -k 19:01:00 unset SSH_AUTH_SOCK; 19:01:00 unset SSH_AGENT_PID; 19:01:00 echo Agent pid 38 killed; 19:01:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:01:00 + git semver [Pipeline] } 19:01:00 $ docker stop --time=1 815db26645f4f496b71a3208b7eb74c48f861a996136f86a25a54b75c63ec7ac 19:01:01 $ docker rm -f --volumes 815db26645f4f496b71a3208b7eb74c48f861a996136f86a25a54b75c63ec7ac [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:01:02 19:01:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:01:02 0.23.1-centos7: Pulling from edgex-lftools 19:01:02 ab5ef0e58194: Pulling fs layer 19:01:02 9712f1f96733: Pulling fs layer 19:01:02 63f879dbbcfc: Pulling fs layer 19:01:02 0d9ebad4ef96: Pulling fs layer 19:01:02 e9a5061849ea: Pulling fs layer 19:01:02 d747dcd14b5f: Pulling fs layer 19:01:02 2de7ff778b66: Pulling fs layer 19:01:02 d747dcd14b5f: Waiting 19:01:02 0d9ebad4ef96: Waiting 19:01:02 2de7ff778b66: Waiting 19:01:02 e9a5061849ea: Waiting 19:01:02 9712f1f96733: Verifying Checksum 19:01:02 9712f1f96733: Download complete 19:01:03 63f879dbbcfc: Verifying Checksum 19:01:03 63f879dbbcfc: Download complete 19:01:03 ab5ef0e58194: Verifying Checksum 19:01:03 ab5ef0e58194: Download complete 19:01:03 d747dcd14b5f: Verifying Checksum 19:01:03 d747dcd14b5f: Download complete 19:01:03 e9a5061849ea: Verifying Checksum 19:01:03 e9a5061849ea: Download complete 19:01:03 0d9ebad4ef96: Verifying Checksum 19:01:03 0d9ebad4ef96: Download complete 19:01:03 2de7ff778b66: Verifying Checksum 19:01:03 2de7ff778b66: Download complete 19:01:05 ab5ef0e58194: Pull complete 19:01:05 9712f1f96733: Pull complete 19:01:06 63f879dbbcfc: Pull complete 19:01:09 0d9ebad4ef96: Pull complete 19:01:10 e9a5061849ea: Pull complete 19:01:10 d747dcd14b5f: Pull complete 19:01:11 2de7ff778b66: Pull complete 19:01:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:01:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:01:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:11 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 19:01:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:01:14 $ docker top c7336f624aeaf42c0228165d8b1353cab22163bb5265e48ada0acf84d17b5eb2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:01:14 provisioning config files... 19:01:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14627638616032431061tmp 19:01:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4095135336732079432tmp 19:01:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17846011849433482037tmp [Pipeline] { [Pipeline] echo 19:01:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:01:15 ---> sigul-configuration.sh 19:01:15 gpg: directory `/root/.gnupg' created 19:01:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:01:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:01:15 gpg: keyring `/root/.gnupg/secring.gpg' created 19:01:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:01:15 gpg: CAST5 encrypted data 19:01:15 gpg: encrypted with 1 passphrase 19:01:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:01:15 + mkdir /home/jenkins 19:01:15 + mkdir /home/jenkins/sigul [Pipeline] sh 19:01:15 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 19:01:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:01:15 ---> sigul-install.sh 19:01:15 Sigul already installed; skipping installation. [Pipeline] sh 19:01:16 + git tag --list 19:01:16 0.7.1 19:01:16 v1.0.0 19:01:16 v1.1.0 19:01:16 v1.1.1 19:01:16 v1.2.2 19:01:16 v1.3.0 19:01:16 v1.3.1 19:01:16 v2.0.0 19:01:16 v2.1.0 19:01:16 v2.1.1 19:01:16 v2.1.1-dev.1 19:01:16 v2.1.1-dev.2 19:01:16 v2.2.0 19:01:16 v2.2.1-dev.1 19:01:16 v2.2.1-dev.10 19:01:16 v2.2.1-dev.2 19:01:16 v2.2.1-dev.3 19:01:16 v2.2.1-dev.4 19:01:16 v2.2.1-dev.5 19:01:16 v2.2.1-dev.6 19:01:16 v2.2.1-dev.7 19:01:16 v2.2.1-dev.8 19:01:16 v2.2.1-dev.9 19:01:16 v2.3.0 19:01:16 v2.3.0-dev.10 19:01:16 v2.3.0-dev.11 19:01:16 v2.3.0-dev.12 19:01:16 v2.3.0-dev.13 19:01:16 v2.3.0-dev.14 19:01:16 v2.3.0-dev.15 19:01:16 v2.3.0-dev.16 19:01:16 v2.3.0-dev.17 19:01:16 v2.3.0-dev.18 19:01:16 v2.3.0-dev.19 19:01:16 v2.3.0-dev.20 19:01:16 v2.3.0-dev.21 19:01:16 v2.3.0-dev.22 19:01:16 v2.3.0-dev.23 19:01:16 v2.3.0-dev.24 19:01:16 v2.3.0-dev.25 19:01:16 v2.3.0-dev.26 19:01:16 v2.3.0-dev.27 19:01:16 v2.3.0-dev.28 19:01:16 v2.3.0-dev.29 19:01:16 v2.3.0-dev.30 19:01:16 v2.3.0-dev.31 19:01:16 v2.3.0-dev.32 19:01:16 v2.3.0-dev.33 19:01:16 v2.3.0-dev.34 19:01:16 v3.0.0-dev.1 19:01:16 v3.0.0-dev.10 19:01:16 v3.0.0-dev.2 19:01:16 v3.0.0-dev.3 19:01:16 v3.0.0-dev.4 19:01:16 v3.0.0-dev.5 19:01:16 v3.0.0-dev.6 19:01:16 v3.0.0-dev.7 19:01:16 v3.0.0-dev.8 19:01:16 v3.0.0-dev.9 [Pipeline] sh 19:01:16 + lftools sign git-tag v3.0.0-dev.10 19:01:17 Signing Git tag with Sigul... 19:01:17 Signing v3.0.0-dev.10 [Pipeline] echo 19:01:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:01:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:01:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:01:17 $ docker stop --time=1 c7336f624aeaf42c0228165d8b1353cab22163bb5265e48ada0acf84d17b5eb2 19:01:18 $ docker rm -f --volumes c7336f624aeaf42c0228165d8b1353cab22163bb5265e48ada0acf84d17b5eb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:01:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:01:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:19 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 19:01:19 $ 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 19:01:20 $ docker top 6a20bdea7933a37b9f8d81558b3b8dc4c4f5729efa7263ca28f8914fb21f0dfd -eo pid,comm 19:01:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:01:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:01:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:20 [ssh-agent] Looking for ssh-agent implementation... 19:01:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:20 $ docker exec 6a20bdea7933a37b9f8d81558b3b8dc4c4f5729efa7263ca28f8914fb21f0dfd ssh-agent 19:01:20 SSH_AUTH_SOCK=/tmp/ssh-HwmIsNTozy4Q/agent.32 19:01:20 SSH_AGENT_PID=38 19:01:20 Running ssh-add (command line suppressed) 19:01:20 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_194065622826315888.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_194065622826315888.key) 19:01:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:20 + git semver bump pre 19:01:20 2023-03-13 19:01:20,891 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:01:20 2023-03-13 19:01:20,891 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev 19:01:20 2023-03-13 19:01:20,891 [bump_version] DEBUG bumped version:3.0.0-dev.11 19:01:20 2023-03-13 19:01:20,891 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 19:01:20 2023-03-13 19:01:20,891 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:01:20 2023-03-13 19:01:20,891 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:01:20 2023-03-13 19:01:20,893 [execute] INFO git cat-file --batch-check 19:01:20 2023-03-13 19:01:20,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:01:20 2023-03-13 19:01:20,898 [execute] INFO git cat-file --batch 19:01:20 2023-03-13 19:01:20,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:01:20 2023-03-13 19:01:20,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:01:20 3.0.0-dev.11 [Pipeline] } 19:01:21 $ docker exec --env ******** --env ******** 6a20bdea7933a37b9f8d81558b3b8dc4c4f5729efa7263ca28f8914fb21f0dfd ssh-agent -k 19:01:21 unset SSH_AUTH_SOCK; 19:01:21 unset SSH_AGENT_PID; 19:01:21 echo Agent pid 38 killed; 19:01:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:01:21 + git semver [Pipeline] } 19:01:21 $ docker stop --time=1 6a20bdea7933a37b9f8d81558b3b8dc4c4f5729efa7263ca28f8914fb21f0dfd 19:01:22 $ docker rm -f --volumes 6a20bdea7933a37b9f8d81558b3b8dc4c4f5729efa7263ca28f8914fb21f0dfd [Pipeline] // withDockerContainer [Pipeline] sh 19:01:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:01:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:01:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:23 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 19:01:23 $ 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 19:01:23 $ docker top d92c40a7faf80f1b089bbbf302b0e7838d77af3b0207ef97287ff4af65df8670 -eo pid,comm 19:01:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:01:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:01:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:01:24 [ssh-agent] Looking for ssh-agent implementation... 19:01:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:01:24 $ docker exec d92c40a7faf80f1b089bbbf302b0e7838d77af3b0207ef97287ff4af65df8670 ssh-agent 19:01:24 SSH_AUTH_SOCK=/tmp/ssh-z3S0PSsUjIoy/agent.32 19:01:24 SSH_AGENT_PID=38 19:01:24 Running ssh-add (command line suppressed) 19:01:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1714532559939949702.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1714532559939949702.key) 19:01:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:01:24 + git semver push 19:01:24 2023-03-13 19:01:24,841 [run_push] DEBUG push 19:01:24 2023-03-13 19:01:24,842 [execute] INFO git cat-file --batch-check 19:01:24 2023-03-13 19:01:24,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:01:24 2023-03-13 19:01:24,846 [execute] INFO git rev-list d4efd3dac2ddec9ed23eed3a3d0e0dd76d83f2ca -- 19:01:24 2023-03-13 19:01:24,846 [execute] DEBUG Popen(['git', 'rev-list', 'd4efd3dac2ddec9ed23eed3a3d0e0dd76d83f2ca', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:01:24 2023-03-13 19:01:24,855 [execute] INFO git fetch -v origin 19:01:24 2023-03-13 19:01:24,856 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:01:25 2023-03-13 19:01:25,375 [run_push] DEBUG no remote changes detected 19:01:25 2023-03-13 19:01:25,375 [execute] INFO git push origin semver 19:01:25 2023-03-13 19:01:25,376 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:01:26 2023-03-13 19:01:26,202 [run_push] DEBUG push all version tags 19:01:26 2023-03-13 19:01:26,203 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:01:26 2023-03-13 19:01:26,204 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 19:01:27 2023-03-13 19:01:27,124 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:01:27 3.0.0-dev.11 [Pipeline] } 19:01:27 $ docker exec --env ******** --env ******** d92c40a7faf80f1b089bbbf302b0e7838d77af3b0207ef97287ff4af65df8670 ssh-agent -k 19:01:27 unset SSH_AUTH_SOCK; 19:01:27 unset SSH_AGENT_PID; 19:01:27 echo Agent pid 38 killed; 19:01:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:01:27 + git semver [Pipeline] } 19:01:28 $ docker stop --time=1 d92c40a7faf80f1b089bbbf302b0e7838d77af3b0207ef97287ff4af65df8670 19:01:29 $ docker rm -f --volumes d92c40a7faf80f1b089bbbf302b0e7838d77af3b0207ef97287ff4af65df8670 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:01:29 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 19:01:29 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:01:29 total 16 19:01:29 drwxr-xr-x 3 root root 4096 Mar 13 18:51 . 19:01:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 19:01 .. 19:01:29 drwxr-xr-x 2 root root 4096 Mar 13 18:51 cost 19:01:29 -rw-r--r-- 1 root root 85 Mar 13 18:51 cost.csv 19:01:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:01:29 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:01:29 total 16 19:01:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 18:51 . 19:01:29 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 19:01 .. 19:01:29 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 18:51 cost 19:01:29 -rw-r--r-- 1 jenkins jenkins 85 Mar 13 18:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:01:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:01:31 ---> package-listing.sh 19:01:31 ++ facter osfamily 19:01:31 ++ tr '[:upper:]' '[:lower:]' 19:01:31 + OS_FAMILY=debian 19:01:31 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 19:01:31 + START_PACKAGES=/tmp/packages_start.txt 19:01:31 + END_PACKAGES=/tmp/packages_end.txt 19:01:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:01:31 + PACKAGES=/tmp/packages_start.txt 19:01:31 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 19:01:31 + PACKAGES=/tmp/packages_end.txt 19:01:31 + case "${OS_FAMILY}" in 19:01:31 + dpkg -l 19:01:31 + grep '^ii' 19:01:31 + '[' -f /tmp/packages_start.txt ']' 19:01:31 + '[' -f /tmp/packages_end.txt ']' 19:01:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:01:31 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 19:01:31 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 19:01:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 19:01:31 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:01:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:32 prd-ubuntu20.04-docker-8c-8g-9938 does not seem to be running inside a container 19:01:32 $ 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 19:01:32 $ docker top eb45e932884a80c657be77f36e4b602a072ac27f890ddb9223d1eac41e88de61 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:32 + touch /tmp/pre-build-complete [Pipeline] sh 19:01:33 + mkdir -p /var/log/sysstat [Pipeline] sh 19:01:33 + ls /var/log/sa-host 19:01:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:33 provisioning config files... 19:01:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13111680890069552042tmp [Pipeline] { [Pipeline] echo 19:01:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:01:33 ---> create-netrc.sh [Pipeline] } 19:01:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:01:34 ---> python-tools-install.sh [Pipeline] echo 19:01:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:01:34 ---> sudo-logs.sh 19:01:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:01:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:01:34 ---> job-cost.sh 19:01:34 lf-activate-venv: SKIPPING 19:01:34 DEBUG: total: 0.2199999988079071 19:01:34 INFO: Retrieving Stack Cost... 19:01:35 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:35 INFO: Archiving Costs [Pipeline] echo 19:01:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:01:35 ---> logs-deploy.sh 19:01:35 lf-activate-venv: SKIPPING 19:01:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/93 19:01:35 INFO: archiving workspace using pattern(s): 19:01:36 Archives upload complete. 19:01:36 INFO: archiving logs to Nexus