Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from caab5c19f0226ea205a717313438d75c5b5382a1 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-ssh9872514962979723901.key Verifying host key using known hosts file > 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-ssh5370115154486489843.key Verifying host key using known hosts file > 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-ssh10615098127497895417.key Verifying host key using known hosts file > 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-ssh5530724004250634154.key Verifying host key using known hosts file > 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-ssh15844922225601429116.key Verifying host key using known hosts file > 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 ‘prd-ubuntu20.04-docker-8c-8g-118087’ Running on prd-ubuntu20.04-docker-8c-8g-118090 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 caab5c19f0226ea205a717313438d75c5b5382a1 (main) Commit message: "Merge pull request #435 from lenny-intel/levski-change-log" > 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 caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 > git rev-list --no-walk 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:38:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:38:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:38:19 ========================================================= 09:38:19 EdgeX Global Pipelines Version Info 09:38:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:38:20 ------------------- 09:38:20 stable info: 09:38:20 ------------------- 09:38:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:38:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:38:20 Message: update stable to v1.0.244 09:38:21 ------------------- 09:38:21 experimental info: 09:38:21 ------------------- 09:38:21 Commited By: **** collab-it+edgex@linuxfoundation.org 09:38:21 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:38:21 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = caab5c19f0226ea205a717313438d75c5b5382a1 [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = caab5c1 [Pipeline] echo 09:38:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:38:21 provisioning config files... 09:38:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12947679790826718159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:38:21 ---> docker-login.sh 09:38:21 nexus3.edgexfoundry.org:10001 09:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:22 Configure a credential helper to remove this warning. See 09:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:22 09:38:22 Login Succeeded 09:38:22 nexus3.edgexfoundry.org:10002 09:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:22 Configure a credential helper to remove this warning. See 09:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:22 09:38:22 Login Succeeded 09:38:22 nexus3.edgexfoundry.org:10003 09:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:22 Configure a credential helper to remove this warning. See 09:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:22 09:38:22 Login Succeeded 09:38:22 nexus3.edgexfoundry.org:10004 09:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:22 Configure a credential helper to remove this warning. See 09:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:22 09:38:22 Login Succeeded 09:38:22 docker.io 09:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:22 Configure a credential helper to remove this warning. See 09:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:22 09:38:22 Login Succeeded 09:38:22 ---> docker-login.sh ends [Pipeline] } 09:38:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:38:23 + git rev-list -1 --merges caab5c19f0226ea205a717313438d75c5b5382a1~1..caab5c19f0226ea205a717313438d75c5b5382a1 [Pipeline] echo 09:38:23 -----------> git rev-list -1 --merges caab5c19f0226ea205a717313438d75c5b5382a1~1..caab5c19f0226ea205a717313438d75c5b5382a1 caab5c19f0226ea205a717313438d75c5b5382a1 09:38:23 caab5c19f0226ea205a717313438d75c5b5382a1 [false] [Pipeline] sh 09:38:23 + git log --format=format:%s -1 caab5c19f0226ea205a717313438d75c5b5382a1 [Pipeline] echo 09:38:23 ========================================================= 09:38:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:38:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:38:23 + git log --format=format:%s -1 caab5c19f0226ea205a717313438d75c5b5382a1 [Pipeline] echo 09:38:23 [semverPrep] GIT_COMMIT: caab5c19f0226ea205a717313438d75c5b5382a1, Commit Message: Merge pull request #435 from lenny-intel/levski-change-log [Pipeline] echo 09:38:23 [semverPrep] This is not a build commit. [Pipeline] sh 09:38:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:38:24 + grep -v github /etc/ssh/ssh_known_hosts 09:38:24 + [ -e /tmp/ssh_known_hosts ] 09:38:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:38:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:38:24 + sudo tee -a /etc/ssh/ssh_known_hosts 09:38:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:38:24 09:38:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:38:24 0.1.4: Pulling from edgex-devops/py-git-semver 09:38:24 b85a868b505f: Pulling fs layer 09:38:24 e2be974225ed: Pulling fs layer 09:38:24 339a4e72a1f5: Pulling fs layer 09:38:24 988bab9f4d93: Pulling fs layer 09:38:24 1469e6f7b9e6: Pulling fs layer 09:38:24 988bab9f4d93: Waiting 09:38:24 eaf3925da568: Pulling fs layer 09:38:24 eaf3925da568: Waiting 09:38:24 bab4dde63d76: Pulling fs layer 09:38:24 bde34c3a00c8: Pulling fs layer 09:38:24 b352a97aabf1: Pulling fs layer 09:38:24 4872d77fe225: Pulling fs layer 09:38:24 bab4dde63d76: Waiting 09:38:24 5851b861e8e6: Pulling fs layer 09:38:24 bde34c3a00c8: Waiting 09:38:24 5851b861e8e6: Waiting 09:38:24 b352a97aabf1: Waiting 09:38:24 4872d77fe225: Waiting 09:38:24 e2be974225ed: Download complete 09:38:24 988bab9f4d93: Download complete 09:38:25 339a4e72a1f5: Verifying Checksum 09:38:25 339a4e72a1f5: Download complete 09:38:25 1469e6f7b9e6: Verifying Checksum 09:38:25 1469e6f7b9e6: Download complete 09:38:25 eaf3925da568: Verifying Checksum 09:38:25 eaf3925da568: Download complete 09:38:25 bde34c3a00c8: Verifying Checksum 09:38:25 bde34c3a00c8: Download complete 09:38:25 b352a97aabf1: Verifying Checksum 09:38:25 b352a97aabf1: Download complete 09:38:25 4872d77fe225: Verifying Checksum 09:38:25 4872d77fe225: Download complete 09:38:25 5851b861e8e6: Verifying Checksum 09:38:25 5851b861e8e6: Download complete 09:38:25 b85a868b505f: Verifying Checksum 09:38:25 b85a868b505f: Download complete 09:38:25 bab4dde63d76: Verifying Checksum 09:38:25 bab4dde63d76: Download complete 09:38:26 b85a868b505f: Pull complete 09:38:26 e2be974225ed: Pull complete 09:38:26 339a4e72a1f5: Pull complete 09:38:27 988bab9f4d93: Pull complete 09:38:27 1469e6f7b9e6: Pull complete 09:38:27 eaf3925da568: Pull complete 09:38:29 bab4dde63d76: Pull complete 09:38:29 bde34c3a00c8: Pull complete 09:38:29 b352a97aabf1: Pull complete 09:38:29 4872d77fe225: Pull complete 09:38:29 5851b861e8e6: Pull complete 09:38:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:38:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:38:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:38:29 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:38:29 $ 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 09:38:30 $ docker top a4b8c5f9caec0e4bb97c38448ec4796f3961b190781fd6c77fdfdeddbfea2b11 -eo pid,comm 09:38:30 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). 09:38:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:38:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:38:31 [ssh-agent] Looking for ssh-agent implementation... 09:38:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:38:31 $ docker exec a4b8c5f9caec0e4bb97c38448ec4796f3961b190781fd6c77fdfdeddbfea2b11 ssh-agent 09:38:31 SSH_AUTH_SOCK=/tmp/ssh-412tJUMgQ4l0/agent.32 09:38:31 SSH_AGENT_PID=38 09:38:31 Running ssh-add (command line suppressed) 09:38:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14367751543290542161.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14367751543290542161.key) 09:38:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:38:31 + git tag --points-at HEAD [Pipeline] } 09:38:31 $ docker exec --env ******** --env ******** a4b8c5f9caec0e4bb97c38448ec4796f3961b190781fd6c77fdfdeddbfea2b11 ssh-agent -k 09:38:31 unset SSH_AUTH_SOCK; 09:38:31 unset SSH_AGENT_PID; 09:38:31 echo Agent pid 38 killed; 09:38:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:38:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:38:31 [ssh-agent] Looking for ssh-agent implementation... 09:38:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:38:31 $ docker exec a4b8c5f9caec0e4bb97c38448ec4796f3961b190781fd6c77fdfdeddbfea2b11 ssh-agent 09:38:32 SSH_AUTH_SOCK=/tmp/ssh-xMP3SwSQjA5l/agent.70 09:38:32 SSH_AGENT_PID=76 09:38:32 Running ssh-add (command line suppressed) 09:38:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15370431817946575297.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15370431817946575297.key) 09:38:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:38:32 + git semver init 09:38:32 2022-11-03 09:38:32,613 [run_init] DEBUG init version:0.0.0 force:False 09:38:32 2022-11-03 09:38:32,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 09:38:32 2022-11-03 09:38:32,614 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 09:38:32 2022-11-03 09:38:32,615 [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) 09:38:33 2022-11-03 09:38:33,552 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 09:38:33 2022-11-03 09:38:33,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 09:38:33 2022-11-03 09:38:33,553 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:38:33 2022-11-03 09:38:33,553 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:38:33 2.3.0-dev.31 [Pipeline] } 09:38:33 $ docker exec --env ******** --env ******** a4b8c5f9caec0e4bb97c38448ec4796f3961b190781fd6c77fdfdeddbfea2b11 ssh-agent -k 09:38:33 unset SSH_AUTH_SOCK; 09:38:33 unset SSH_AGENT_PID; 09:38:33 echo Agent pid 76 killed; 09:38:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:38:34 + git semver [Pipeline] } 09:38:34 $ docker stop --time=1 a4b8c5f9caec0e4bb97c38448ec4796f3961b190781fd6c77fdfdeddbfea2b11 09:38:35 $ docker rm -f a4b8c5f9caec0e4bb97c38448ec4796f3961b190781fd6c77fdfdeddbfea2b11 [Pipeline] // withDockerContainer [Pipeline] sh 09:38:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:38:36 Stashed 1 file(s) [Pipeline] echo 09:38:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.31 [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 09:38:36 provisioning config files... 09:38:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10597007056397503158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:38:36 ---> docker-login.sh 09:38:36 nexus3.edgexfoundry.org:10001 09:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:36 Configure a credential helper to remove this warning. See 09:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:36 09:38:36 Login Succeeded 09:38:36 nexus3.edgexfoundry.org:10002 09:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:36 Configure a credential helper to remove this warning. See 09:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:36 09:38:36 Login Succeeded 09:38:36 nexus3.edgexfoundry.org:10003 09:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:36 Configure a credential helper to remove this warning. See 09:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:36 09:38:36 Login Succeeded 09:38:36 nexus3.edgexfoundry.org:10004 09:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:36 Configure a credential helper to remove this warning. See 09:38:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:36 09:38:36 Login Succeeded 09:38:36 docker.io 09:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:38:37 Configure a credential helper to remove this warning. See 09:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:38:37 09:38:37 Login Succeeded 09:38:37 ---> docker-login.sh ends [Pipeline] } 09:38:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:38:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:38:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:38:37 ========================================================= 09:38:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:38:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:37 + 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 . 09:38:37 Sending build context to Docker daemon 6.233MB 09:38:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:38:37 Step 2/12 : FROM ${BASE} AS builder 09:38:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:38:37 213ec9aee27d: Pulling fs layer 09:38:37 4583459ba037: Pulling fs layer 09:38:37 93c1e223e6f2: Pulling fs layer 09:38:37 53926ce57604: Pulling fs layer 09:38:37 21b2b0c7a3f4: Pulling fs layer 09:38:37 22ff95d597cd: Pulling fs layer 09:38:37 12d6caf4c0d1: Pulling fs layer 09:38:37 96b7cbca73a9: Pulling fs layer 09:38:37 53926ce57604: Waiting 09:38:37 22ff95d597cd: Waiting 09:38:37 21b2b0c7a3f4: Waiting 09:38:37 12d6caf4c0d1: Waiting 09:38:37 96b7cbca73a9: Waiting 09:38:37 a7acece74701: Pulling fs layer 09:38:37 a7acece74701: Waiting 09:38:37 93c1e223e6f2: Verifying Checksum 09:38:37 93c1e223e6f2: Download complete 09:38:37 4583459ba037: Verifying Checksum 09:38:37 4583459ba037: Download complete 09:38:37 21b2b0c7a3f4: Verifying Checksum 09:38:37 21b2b0c7a3f4: Download complete 09:38:37 22ff95d597cd: Verifying Checksum 09:38:37 22ff95d597cd: Download complete 09:38:37 213ec9aee27d: Verifying Checksum 09:38:37 213ec9aee27d: Download complete 09:38:37 12d6caf4c0d1: Download complete 09:38:37 213ec9aee27d: Pull complete 09:38:38 4583459ba037: Pull complete 09:38:38 93c1e223e6f2: Pull complete 09:38:38 a7acece74701: Verifying Checksum 09:38:38 a7acece74701: Download complete 09:38:38 53926ce57604: Verifying Checksum 09:38:38 53926ce57604: Download complete 09:38:39 96b7cbca73a9: Download complete 09:38:42 53926ce57604: Pull complete 09:38:42 21b2b0c7a3f4: Pull complete 09:38:42 22ff95d597cd: Pull complete 09:38:42 12d6caf4c0d1: Pull complete 09:38:44 96b7cbca73a9: Pull complete 09:38:45 a7acece74701: Pull complete 09:38:45 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:38:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:38:45 ---> db6d94c90886 09:38:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:38:46 ---> Running in dbb099cec771 09:38:46 Removing intermediate container dbb099cec771 09:38:46 ---> 31fc9b8f0276 09:38:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:38:46 ---> Running in 3e55cf6b8bed 09:38:47 Removing intermediate container 3e55cf6b8bed 09:38:47 ---> 11238d2edc2c 09:38:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:38:47 ---> Running in 8a1dfc25b7d8 09:38:47 Removing intermediate container 8a1dfc25b7d8 09:38:47 ---> 0d1b6953863f 09:38:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:38:47 ---> Running in a2c7d85dad31 09:38:47 Removing intermediate container a2c7d85dad31 09:38:47 ---> c9da6a5705fc 09:38:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:38:47 ---> Running in a089c218268a 09:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:38:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:38:48 (2/4) Installing libedit (20210910.3.1-r0) 09:38:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:38:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:38:48 Executing busybox-1.35.0-r17.trigger 09:38:48 OK: 216 MiB in 55 packages 09:38:48 Removing intermediate container a089c218268a 09:38:48 ---> 57dd7a006ee4 09:38:48 Step 8/12 : WORKDIR /device-mqtt-go 09:38:48 ---> Running in 81ea3cdc073f 09:38:48 Removing intermediate container 81ea3cdc073f 09:38:48 ---> b03d16454a82 09:38:48 Step 9/12 : COPY go.mod vendor* ./ 09:38:48 ---> b2d24bab96eb 09:38:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:38:48 ---> Running in 357a72f26765 09:38:51 Still waiting to schedule task 09:38:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118088’ 09:39:06 Removing intermediate container 357a72f26765 09:39:06 ---> f70a7cbffd70 09:39:06 Step 11/12 : COPY . . 09:39:06 ---> 1ba990ed9571 09:39:06 Step 12/12 : RUN $MAKE 09:39:06 ---> Running in 55a35641e8ef 09:39:06 noop 09:39:06 Removing intermediate container 55a35641e8ef 09:39:06 ---> b05bb85f73b7 09:39:06 Successfully built b05bb85f73b7 09:39:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:07 + docker inspect -f . ci-base-image-x86_64 09:39:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:07 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:39:07 $ 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 09:39:07 $ docker top 5bad0ed85467b40367cadd90f0bb3f815f5565a55f9fcf7d87e67c49ac602c5f -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:08 + go version 09:39:08 go version go1.18.7 linux/amd64 [Pipeline] } 09:39:08 $ docker stop --time=1 5bad0ed85467b40367cadd90f0bb3f815f5565a55f9fcf7d87e67c49ac602c5f 09:39:09 $ docker rm -f 5bad0ed85467b40367cadd90f0bb3f815f5565a55f9fcf7d87e67c49ac602c5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:09 + docker inspect -f . ci-base-image-x86_64 09:39:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:39:09 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:39:09 $ 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 09:39:10 $ docker top 4764f656ac0de32b03dbde3bf849ec55e8bbd9a755d655c958ba349b58189461 -eo pid,comm [Pipeline] { [Pipeline] sh 09:39:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 09:39:10 + make test 09:39:10 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:39:11 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:39:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:39:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 09:39:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:39:26 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." 09:39:26 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:39:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:39:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:39:29 ./bin/test-attribution-txt.sh [Pipeline] echo 09:39:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:39:29 $ docker stop --time=1 4764f656ac0de32b03dbde3bf849ec55e8bbd9a755d655c958ba349b58189461 09:39:31 $ docker rm -f 4764f656ac0de32b03dbde3bf849ec55e8bbd9a755d655c958ba349b58189461 [Pipeline] // withDockerContainer [Pipeline] sh 09:39:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:39:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:39:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:39:32 + ls -al . 09:39:32 total 196 09:39:32 drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:39 . 09:39:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:38 .. 09:39:32 -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 09:38 .dockerignore 09:39:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:39 .git 09:39:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 .github 09:39:32 -rw-rw-r-- 1 jenkins jenkins 329 Nov 3 09:38 .gitignore 09:39:32 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:38 .golangci.yml 09:39:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:38 .semver 09:39:32 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 3 09:38 Attribution.txt 09:39:32 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 3 09:38 CHANGELOG.md 09:39:32 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 3 09:38 Dockerfile 09:39:32 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:38 GOVERNANCE.md 09:39:32 -rw-rw-r-- 1 jenkins jenkins 678 Nov 3 09:38 Jenkinsfile 09:39:32 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:38 LICENSE 09:39:32 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 3 09:38 Makefile 09:39:32 -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 09:38 OWNERS.md 09:39:32 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 3 09:38 README.md 09:39:32 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:38 VERSION 09:39:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:38 bin 09:39:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 cmd 09:39:32 -rw-r--r-- 1 jenkins jenkins 17887 Nov 3 09:39 coverage.out 09:39:32 -rw-rw-r-- 1 jenkins jenkins 3512 Nov 3 09:38 go.mod 09:39:32 -rw-rw-r-- 1 jenkins jenkins 45144 Nov 3 09:38 go.sum 09:39:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 internal 09:39:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:38 mock 09:39:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:38 snap 09:39:32 -rw-rw-r-- 1 jenkins jenkins 227 Nov 3 09:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:32 + 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=caab5c19f0226ea205a717313438d75c5b5382a1 --label arch=amd64 --label version=2.3.0-dev.31 . 09:39:32 Sending build context to Docker daemon 6.251MB 09:39:32 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:39:32 Step 2/24 : FROM ${BASE} AS builder 09:39:32 ---> b05bb85f73b7 09:39:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:39:32 ---> Running in 581444673b83 09:39:32 Removing intermediate container 581444673b83 09:39:32 ---> 6455cbd408ab 09:39:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:39:32 ---> Running in 4cb851483d74 09:39:32 Removing intermediate container 4cb851483d74 09:39:32 ---> 0723dbc734bd 09:39:32 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:39:32 ---> Running in 230b15538c24 09:39:33 Removing intermediate container 230b15538c24 09:39:33 ---> 7e1477744365 09:39:33 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:39:33 ---> Running in c59cd3c212ca 09:39:33 Removing intermediate container c59cd3c212ca 09:39:33 ---> 4d3e05d2bb7e 09:39:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:39:33 ---> Running in 525f5f3e122e 09:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:39:33 OK: 216 MiB in 55 packages 09:39:34 Removing intermediate container 525f5f3e122e 09:39:34 ---> 10cfc25ddd0a 09:39:34 Step 8/24 : WORKDIR /device-mqtt-go 09:39:34 ---> Running in 988b471b3a56 09:39:34 Removing intermediate container 988b471b3a56 09:39:34 ---> 5f24f18fa7ee 09:39:34 Step 9/24 : COPY go.mod vendor* ./ 09:39:34 ---> 603098ed4956 09:39:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:39:34 ---> Running in 1431e885d149 09:39:35 Removing intermediate container 1431e885d149 09:39:35 ---> a67fef6d6617 09:39:35 Step 11/24 : COPY . . 09:39:35 ---> 6c10148c8b8f 09:39:35 Step 12/24 : RUN $MAKE 09:39:35 ---> Running in a6ffcc1c46da 09:39:35 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.31" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 09:39:53 Removing intermediate container a6ffcc1c46da 09:39:53 ---> c274d1f834d6 09:39:53 Step 13/24 : FROM alpine:3.16 09:39:53 3.16: Pulling from library/alpine 09:39:54 213ec9aee27d: Already exists 09:39:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:39:54 Status: Downloaded newer image for alpine:3.16 09:39:54 ---> 9c6f07244728 09:39:54 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:39:54 ---> Running in 5165c66319c8 09:39:54 Removing intermediate container 5165c66319c8 09:39:54 ---> 11539f8485e7 09:39:54 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:39:54 ---> Running in 20e58b71d70a 09:39:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:39:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:39:54 (1/6) Installing dumb-init (1.2.5-r1) 09:39:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:39:54 (3/6) Installing libsodium (1.0.18-r0) 09:39:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:39:54 (5/6) Installing libzmq (4.3.4-r0) 09:39:54 (6/6) Installing zeromq (4.3.4-r0) 09:39:54 Executing busybox-1.35.0-r17.trigger 09:39:54 OK: 8 MiB in 20 packages 09:39:55 Removing intermediate container 20e58b71d70a 09:39:55 ---> 54c6d5c66e4b 09:39:55 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:39:56 ---> 7383784809be 09:39:56 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:39:56 ---> 07d83b7d5aab 09:39:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:39:56 ---> bc80fb37f8ee 09:39:56 Step 19/24 : EXPOSE 59982 09:39:56 ---> Running in 21c60d0fbb5d 09:39:56 Removing intermediate container 21c60d0fbb5d 09:39:56 ---> aea116041fc3 09:39:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:39:56 ---> Running in 3eab772204f3 09:39:56 Removing intermediate container 3eab772204f3 09:39:56 ---> fd06ee46db2f 09:39:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:39:56 ---> Running in 0b5a05638d39 09:39:56 Removing intermediate container 0b5a05638d39 09:39:56 ---> cf4447eaf989 09:39:56 Step 22/24 : LABEL arch=amd64 09:39:56 ---> Running in 043de0c770bb 09:39:56 Removing intermediate container 043de0c770bb 09:39:56 ---> 799292711512 09:39:56 Step 23/24 : LABEL git_sha=caab5c19f0226ea205a717313438d75c5b5382a1 09:39:56 ---> Running in c83dd95d6a39 09:39:56 Removing intermediate container c83dd95d6a39 09:39:56 ---> cb74b72a9470 09:39:56 Step 24/24 : LABEL version=2.3.0-dev.31 09:39:56 ---> Running in b9057e437045 09:39:56 Removing intermediate container b9057e437045 09:39:56 ---> 48e63701e5f9 09:39:56 [Warning] One or more build-args [ARCH] were not consumed 09:39:56 Successfully built 48e63701e5f9 09:39:56 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:39:56 provisioning config files... 09:39:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10950926502842168491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:39:57 ---> docker-login.sh 09:39:57 nexus3.edgexfoundry.org:10001 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 nexus3.edgexfoundry.org:10002 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 nexus3.edgexfoundry.org:10003 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 nexus3.edgexfoundry.org:10004 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 docker.io 09:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:39:57 Configure a credential helper to remove this warning. See 09:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:39:57 09:39:57 Login Succeeded 09:39:57 ---> docker-login.sh ends [Pipeline] } 09:39:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:39:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:39:58 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 09:39:58 caab5c19f0226ea205a717313438d75c5b5382a1 09:39:58 latest 09:39:58 2.3.0-dev.31 09:39:58 caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31 09:39:58 main 09:39:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:caab5c19f0226ea205a717313438d75c5b5382a1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:39:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:caab5c19f0226ea205a717313438d75c5b5382a1 09:39:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:39:58 072a939b4f92: Preparing 09:39:58 6d23eb41a8a3: Preparing 09:39:58 a97c40c498c1: Preparing 09:39:58 0ab6f874bb25: Preparing 09:39:58 994393dc58e7: Preparing 09:39:58 994393dc58e7: Layer already exists 09:39:58 6d23eb41a8a3: Pushed 09:39:58 072a939b4f92: Pushed 09:39:58 0ab6f874bb25: Pushed 09:40:00 a97c40c498c1: Pushed 09:40:01 caab5c19f0226ea205a717313438d75c5b5382a1: digest: sha256:084ae31901ca48a61e7acdda800241707d10fc8fa5557881be71626b701dd0fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:01 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 09:40:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:40:01 072a939b4f92: Preparing 09:40:01 6d23eb41a8a3: Preparing 09:40:01 a97c40c498c1: Preparing 09:40:01 0ab6f874bb25: Preparing 09:40:01 994393dc58e7: Preparing 09:40:01 994393dc58e7: Layer already exists 09:40:01 072a939b4f92: Layer already exists 09:40:01 6d23eb41a8a3: Layer already exists 09:40:01 a97c40c498c1: Layer already exists 09:40:01 0ab6f874bb25: Layer already exists 09:40:01 latest: digest: sha256:084ae31901ca48a61e7acdda800241707d10fc8fa5557881be71626b701dd0fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.31 09:40:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:40:02 072a939b4f92: Preparing 09:40:02 6d23eb41a8a3: Preparing 09:40:02 a97c40c498c1: Preparing 09:40:02 0ab6f874bb25: Preparing 09:40:02 994393dc58e7: Preparing 09:40:02 994393dc58e7: Layer already exists 09:40:02 6d23eb41a8a3: Layer already exists 09:40:02 072a939b4f92: Layer already exists 09:40:02 a97c40c498c1: Layer already exists 09:40:02 0ab6f874bb25: Layer already exists 09:40:02 2.3.0-dev.31: digest: sha256:084ae31901ca48a61e7acdda800241707d10fc8fa5557881be71626b701dd0fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31 09:40:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:40:02 072a939b4f92: Preparing 09:40:02 6d23eb41a8a3: Preparing 09:40:02 a97c40c498c1: Preparing 09:40:02 0ab6f874bb25: Preparing 09:40:02 994393dc58e7: Preparing 09:40:02 6d23eb41a8a3: Layer already exists 09:40:02 0ab6f874bb25: Layer already exists 09:40:02 a97c40c498c1: Layer already exists 09:40:02 072a939b4f92: Layer already exists 09:40:02 994393dc58e7: Layer already exists 09:40:02 caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31: digest: sha256:084ae31901ca48a61e7acdda800241707d10fc8fa5557881be71626b701dd0fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 09:40:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 09:40:03 072a939b4f92: Preparing 09:40:03 6d23eb41a8a3: Preparing 09:40:03 a97c40c498c1: Preparing 09:40:03 0ab6f874bb25: Preparing 09:40:03 994393dc58e7: Preparing 09:40:03 0ab6f874bb25: Layer already exists 09:40:03 a97c40c498c1: Layer already exists 09:40:03 072a939b4f92: Layer already exists 09:40:03 6d23eb41a8a3: Layer already exists 09:40:03 994393dc58e7: Layer already exists 09:40:03 main: digest: sha256:084ae31901ca48a61e7acdda800241707d10fc8fa5557881be71626b701dd0fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:40:03 ===================================================== [Pipeline] echo 09:40:03 taggedImages: 09:40:03 - nexus3.edgexfoundry.org:10004/device-mqtt:caab5c19f0226ea205a717313438d75c5b5382a1 09:40:03 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 09:40:03 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.31 09:40:03 - nexus3.edgexfoundry.org:10004/device-mqtt:caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31 09:40:03 - 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 09:40:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:40:03 09:40:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:40:04 latest: Pulling from edgex-lftools-log-publisher 09:40:04 5eb5b503b376: Pulling fs layer 09:40:04 5c69ac0246d0: Pulling fs layer 09:40:04 ec43610c2a17: Pulling fs layer 09:40:04 3a2ae6a8a46f: Pulling fs layer 09:40:04 33b1e0a273af: Pulling fs layer 09:40:04 5d3b04190fa2: Pulling fs layer 09:40:04 3a2ae6a8a46f: Waiting 09:40:04 5d3b04190fa2: Waiting 09:40:04 2f39f015ded8: Pulling fs layer 09:40:04 2f39f015ded8: Waiting 09:40:04 5c69ac0246d0: Verifying Checksum 09:40:04 5c69ac0246d0: Download complete 09:40:04 3a2ae6a8a46f: Verifying Checksum 09:40:04 3a2ae6a8a46f: Download complete 09:40:04 33b1e0a273af: Verifying Checksum 09:40:04 33b1e0a273af: Download complete 09:40:04 ec43610c2a17: Verifying Checksum 09:40:04 ec43610c2a17: Download complete 09:40:04 5d3b04190fa2: Verifying Checksum 09:40:04 5d3b04190fa2: Download complete 09:40:04 5eb5b503b376: Verifying Checksum 09:40:04 5eb5b503b376: Download complete 09:40:05 2f39f015ded8: Download complete 09:40:05 5eb5b503b376: Pull complete 09:40:05 5c69ac0246d0: Pull complete 09:40:06 ec43610c2a17: Pull complete 09:40:06 3a2ae6a8a46f: Pull complete 09:40:06 33b1e0a273af: Pull complete 09:40:06 5d3b04190fa2: Pull complete 09:40:10 2f39f015ded8: Pull complete 09:40:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:40:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:40:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:40:10 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:40:10 $ 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 09:40:12 $ docker top a3f96539222384857870d0860e404a961b1554fc09fe5aa5f1a75e76fbeb33a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:40:12 ---> job-cost.sh 09:40:12 lf-activate-venv: SKIPPING 09:40:12 INFO: No Stack... 09:40:13 INFO: Retrieving Pricing Info for: v3-standard-8 09:40:13 INFO: Archiving Costs [Pipeline] sh 09:40:13 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 09:40:13 + cut -d, -f6 [Pipeline] lock 09:40:13 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-78-stack-cost] 09:40:13 Resource [jenkins-edgexfoundry-device-mqtt-go-main-78-stack-cost] did not exist. Created. 09:40:13 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:40:14 + echo total: 0.2199999988079071 [Pipeline] stash 09:40:14 Stashed 1 file(s) [Pipeline] } 09:40:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 09:40:14 $ docker stop --time=1 a3f96539222384857870d0860e404a961b1554fc09fe5aa5f1a75e76fbeb33a1 09:40:15 $ docker rm -f a3f96539222384857870d0860e404a961b1554fc09fe5aa5f1a75e76fbeb33a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:41:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118093 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 09:41:46 Running in /w/workspace/device-mqtt-go/78 [Pipeline] { [Pipeline] checkout 09:41:46 Selected Git installation does not exist. Using Default 09:41:46 The recommended git tool is: NONE 09:41:52 using credential edgex-jenkins-ssh 09:41:52 Cloning the remote Git repository 09:41:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:41:52 > git init /w/workspace/device-mqtt-go/78 # timeout=10 09:41:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:41:52 > git --version # timeout=10 09:41:52 > git --version # 'git version 2.25.1' 09:41:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:41:52 Verifying host key using known hosts file 09:41:53 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:41:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:41:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:41:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:41:55 Avoid second fetch 09:41:55 Checking out Revision caab5c19f0226ea205a717313438d75c5b5382a1 (main) 09:41:55 Commit message: "Merge pull request #435 from lenny-intel/levski-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:41:55 > git config core.sparsecheckout # timeout=10 09:41:55 > git checkout -f caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 09:41:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:41:56 % Total % Received % Xferd Average Speed Time Time Time Current 09:41:56 Dload Upload Total Spent Left Speed 09:41:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 09:41:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:41:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:41:57 + sudo tee /etc/docker/daemon.new 09:41:57 { 09:41:57 "registry-mirrors": [ 09:41:57 "https://nexus3.edgexfoundry.org:10001" 09:41:57 ], 09:41:57 "bip": "10.250.0.254/24", 09:41:57 "hosts": [ 09:41:57 "tcp://0.0.0.0:5555", 09:41:57 "unix:///var/run/docker.sock" 09:41:57 ], 09:41:57 "mtu": 1458, 09:41:57 "selinux-enabled": true, 09:41:57 "seccomp-profile": "/etc/docker/seccomp.json" 09:41:57 } [Pipeline] sh 09:41:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:41:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:42:16 provisioning config files... 09:42:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/78@tmp/config14717209697249489784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:17 ---> docker-login.sh 09:42:17 nexus3.edgexfoundry.org:10001 09:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:17 Configure a credential helper to remove this warning. See 09:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:17 09:42:17 Login Succeeded 09:42:18 nexus3.edgexfoundry.org:10002 09:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:18 Configure a credential helper to remove this warning. See 09:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:18 09:42:18 Login Succeeded 09:42:18 nexus3.edgexfoundry.org:10003 09:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:18 Configure a credential helper to remove this warning. See 09:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:18 09:42:18 Login Succeeded 09:42:18 nexus3.edgexfoundry.org:10004 09:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:19 Configure a credential helper to remove this warning. See 09:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:19 09:42:19 Login Succeeded 09:42:19 docker.io 09:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:42:19 Configure a credential helper to remove this warning. See 09:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:42:19 09:42:19 Login Succeeded 09:42:19 ---> docker-login.sh ends [Pipeline] } 09:42:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:42:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:42:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:42:20 ========================================================= 09:42:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:42:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:20 + 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 . 09:42:20 Sending build context to Docker daemon 3.233MB 09:42:20 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:42:20 Step 2/12 : FROM ${BASE} AS builder 09:42:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:42:20 9b18e9b68314: Pulling fs layer 09:42:20 35d82f9e3411: Pulling fs layer 09:42:20 e16973657156: Pulling fs layer 09:42:20 fc693d55d65f: Pulling fs layer 09:42:20 7e9fc2657dce: Pulling fs layer 09:42:20 dda99020689f: Pulling fs layer 09:42:20 db1c61fa0a46: Pulling fs layer 09:42:20 891c053d2c06: Pulling fs layer 09:42:20 dda99020689f: Waiting 09:42:20 fc693d55d65f: Waiting 09:42:20 7e9fc2657dce: Waiting 09:42:20 db1c61fa0a46: Waiting 09:42:20 891c053d2c06: Waiting 09:42:20 e16973657156: Verifying Checksum 09:42:20 e16973657156: Download complete 09:42:20 35d82f9e3411: Verifying Checksum 09:42:20 35d82f9e3411: Download complete 09:42:20 7e9fc2657dce: Verifying Checksum 09:42:20 7e9fc2657dce: Download complete 09:42:20 dda99020689f: Verifying Checksum 09:42:20 dda99020689f: Download complete 09:42:20 9b18e9b68314: Verifying Checksum 09:42:22 9b18e9b68314: Pull complete 09:42:22 891c053d2c06: Verifying Checksum 09:42:22 891c053d2c06: Download complete 09:42:22 35d82f9e3411: Pull complete 09:42:23 e16973657156: Pull complete 09:42:23 db1c61fa0a46: Verifying Checksum 09:42:23 db1c61fa0a46: Download complete 09:42:24 fc693d55d65f: Verifying Checksum 09:42:24 fc693d55d65f: Download complete 09:42:36 fc693d55d65f: Pull complete 09:42:36 7e9fc2657dce: Pull complete 09:42:37 dda99020689f: Pull complete 09:42:45 db1c61fa0a46: Pull complete 09:42:46 891c053d2c06: Pull complete 09:42:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:42:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:42:46 ---> f96f9c87975a 09:42:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:42:47 ---> Running in eb8022f33aa2 09:42:48 Removing intermediate container eb8022f33aa2 09:42:48 ---> 4a6193658ece 09:42:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:42:48 ---> Running in 31ab3ea7d086 09:42:48 Removing intermediate container 31ab3ea7d086 09:42:48 ---> 1b0f3bb53e30 09:42:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:42:48 ---> Running in a4030908daef 09:42:48 Removing intermediate container a4030908daef 09:42:48 ---> 646e455698a3 09:42:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:42:49 ---> Running in 7b69f74a89a6 09:42:49 Removing intermediate container 7b69f74a89a6 09:42:49 ---> 7fe92f051f7f 09:42:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:42:49 ---> Running in 9763832913cd 09:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:42:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:42:51 (2/4) Installing libedit (20210910.3.1-r0) 09:42:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:42:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:42:52 Executing busybox-1.35.0-r17.trigger 09:42:52 OK: 226 MiB in 55 packages 09:42:53 Removing intermediate container 9763832913cd 09:42:53 ---> d3fadc7332fe 09:42:53 Step 8/12 : WORKDIR /device-mqtt-go 09:42:53 ---> Running in 3babaf288b7a 09:42:53 Removing intermediate container 3babaf288b7a 09:42:53 ---> ea0e27e07690 09:42:53 Step 9/12 : COPY go.mod vendor* ./ 09:42:53 ---> fd45d61f5df1 09:42:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:42:54 ---> Running in faf03628dce7 09:43:50 Removing intermediate container faf03628dce7 09:43:50 ---> 69ed14833e66 09:43:50 Step 11/12 : COPY . . 09:43:50 ---> 9e5585826550 09:43:50 Step 12/12 : RUN $MAKE 09:43:50 ---> Running in 1fcf8fee1285 09:43:51 noop 09:43:52 Removing intermediate container 1fcf8fee1285 09:43:52 ---> a8eddc9951d9 09:43:52 Successfully built a8eddc9951d9 09:43:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:52 + docker inspect -f . ci-base-image-arm64 09:43:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:52 prd-ubuntu20.04-docker-arm64-4c-16g-118093 does not seem to be running inside a container 09:43:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/78 -v /w/workspace/device-mqtt-go/78:/w/workspace/device-mqtt-go/78:rw,z -v /w/workspace/device-mqtt-go/78@tmp:/w/workspace/device-mqtt-go/78@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 09:43:54 $ docker top 3a97c0217dcc6262761a4ae0dd418904c44bb98878f1b9dc786653c52d979650 -eo pid,comm [Pipeline] { [Pipeline] sh 09:43:54 + go version 09:43:54 go version go1.18.7 linux/arm64 [Pipeline] } 09:43:54 $ docker stop --time=1 3a97c0217dcc6262761a4ae0dd418904c44bb98878f1b9dc786653c52d979650 09:43:56 $ docker rm -f 3a97c0217dcc6262761a4ae0dd418904c44bb98878f1b9dc786653c52d979650 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:57 + docker inspect -f . ci-base-image-arm64 09:43:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:57 prd-ubuntu20.04-docker-arm64-4c-16g-118093 does not seem to be running inside a container 09:43:57 $ 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/78 -v /w/workspace/device-mqtt-go/78:/w/workspace/device-mqtt-go/78:rw,z -v /w/workspace/device-mqtt-go/78@tmp:/w/workspace/device-mqtt-go/78@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 09:43:59 $ docker top 0d57218eab7b09cf6ef12661c80612fa6407bbdac9cde7db88bfbbdf056feca5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:00 + git config --global --add safe.directory /w/workspace/device-mqtt-go/78 [Pipeline] fileExists [Pipeline] sh 09:44:01 + make test 09:44:01 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:44:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:45:39 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:45:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.8% of statements 09:45:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:45:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:45:39 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:46:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:46:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:46:06 ./bin/test-attribution-txt.sh [Pipeline] echo 09:46:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:46:06 $ docker stop --time=1 0d57218eab7b09cf6ef12661c80612fa6407bbdac9cde7db88bfbbdf056feca5 09:46:08 $ docker rm -f 0d57218eab7b09cf6ef12661c80612fa6407bbdac9cde7db88bfbbdf056feca5 [Pipeline] // withDockerContainer [Pipeline] sh 09:46:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:46:09 Warning: overwriting stash ‘coverage-report’ 09:46:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:46:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:46:10 + ls -al . 09:46:10 total 192 09:46:10 drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 09:44 . 09:46:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:41 .. 09:46:10 -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 09:41 .dockerignore 09:46:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:41 .git 09:46:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:41 .github 09:46:10 -rw-rw-r-- 1 jenkins jenkins 329 Nov 3 09:41 .gitignore 09:46:10 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:41 .golangci.yml 09:46:10 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 3 09:41 Attribution.txt 09:46:10 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 3 09:41 CHANGELOG.md 09:46:10 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 3 09:41 Dockerfile 09:46:10 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:41 GOVERNANCE.md 09:46:10 -rw-rw-r-- 1 jenkins jenkins 678 Nov 3 09:41 Jenkinsfile 09:46:10 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:41 LICENSE 09:46:10 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 3 09:41 Makefile 09:46:10 -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 09:41 OWNERS.md 09:46:10 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 3 09:41 README.md 09:46:10 -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:38 VERSION 09:46:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:41 bin 09:46:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:41 cmd 09:46:10 -rw-r--r-- 1 jenkins jenkins 17887 Nov 3 09:45 coverage.out 09:46:10 -rw-rw-r-- 1 jenkins jenkins 3512 Nov 3 09:41 go.mod 09:46:10 -rw-rw-r-- 1 jenkins jenkins 45144 Nov 3 09:41 go.sum 09:46:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:41 internal 09:46:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:41 mock 09:46:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:41 snap 09:46:10 -rw-rw-r-- 1 jenkins jenkins 227 Nov 3 09:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:11 + 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=caab5c19f0226ea205a717313438d75c5b5382a1 --label arch=arm64 --label version=2.3.0-dev.31 . 09:46:11 Sending build context to Docker daemon 3.251MB 09:46:11 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:46:11 Step 2/24 : FROM ${BASE} AS builder 09:46:11 ---> a8eddc9951d9 09:46:11 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:46:11 ---> Running in c1f735e71979 09:46:12 Removing intermediate container c1f735e71979 09:46:12 ---> dcbb770e8b20 09:46:12 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:46:12 ---> Running in 719ff85fd7eb 09:46:12 Removing intermediate container 719ff85fd7eb 09:46:12 ---> 670fddb8ca99 09:46:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:46:12 ---> Running in 89d016e248e9 09:46:13 Removing intermediate container 89d016e248e9 09:46:13 ---> 19f43ff140d2 09:46:13 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:46:13 ---> Running in 9180f201288e 09:46:13 Removing intermediate container 9180f201288e 09:46:13 ---> dba1e90d1994 09:46:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:46:13 ---> Running in e37121eaf102 09:46:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:46:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:46:16 OK: 226 MiB in 55 packages 09:46:17 Removing intermediate container e37121eaf102 09:46:17 ---> d73284472a77 09:46:17 Step 8/24 : WORKDIR /device-mqtt-go 09:46:17 ---> Running in cc84a234172e 09:46:17 Removing intermediate container cc84a234172e 09:46:17 ---> 9fd6f1d4eb68 09:46:17 Step 9/24 : COPY go.mod vendor* ./ 09:46:18 ---> 20788f5df0dc 09:46:18 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:46:18 ---> Running in fdc95543a275 09:46:22 Removing intermediate container fdc95543a275 09:46:22 ---> 6bde895b8363 09:46:22 Step 11/24 : COPY . . 09:46:22 ---> 0f333a75bdca 09:46:22 Step 12/24 : RUN $MAKE 09:46:22 ---> Running in 108812bbdc05 09:46:23 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.31" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 09:49:15 Removing intermediate container 108812bbdc05 09:49:15 ---> 5f4b9b309a15 09:49:15 Step 13/24 : FROM alpine:3.16 09:49:15 3.16: Pulling from library/alpine 09:49:15 9b18e9b68314: Already exists 09:49:15 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:49:15 Status: Downloaded newer image for alpine:3.16 09:49:15 ---> a6215f271958 09:49:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:49:15 ---> Running in dfa9539ad821 09:49:15 Removing intermediate container dfa9539ad821 09:49:15 ---> 607b77fa1473 09:49:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:49:15 ---> Running in e629ce72bd17 09:49:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:49:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:49:15 (1/6) Installing dumb-init (1.2.5-r1) 09:49:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:49:15 (3/6) Installing libsodium (1.0.18-r0) 09:49:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:49:15 (5/6) Installing libzmq (4.3.4-r0) 09:49:15 (6/6) Installing zeromq (4.3.4-r0) 09:49:15 Executing busybox-1.35.0-r17.trigger 09:49:15 OK: 8 MiB in 20 packages 09:49:15 Removing intermediate container e629ce72bd17 09:49:15 ---> 69a40cc3f6d4 09:49:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:49:15 ---> 411ceb49fbe6 09:49:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:49:15 ---> 8ab0052f2f39 09:49:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:49:15 ---> 428fabb1a522 09:49:15 Step 19/24 : EXPOSE 59982 09:49:15 ---> Running in d6924f951760 09:49:15 Removing intermediate container d6924f951760 09:49:15 ---> fcd4037bcf7d 09:49:15 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:49:15 ---> Running in 4e7f947431a3 09:49:15 Removing intermediate container 4e7f947431a3 09:49:15 ---> 05cfce8f8cc0 09:49:15 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:49:15 ---> Running in 2997d1dde469 09:49:15 Removing intermediate container 2997d1dde469 09:49:15 ---> 9e149539b815 09:49:15 Step 22/24 : LABEL arch=arm64 09:49:15 ---> Running in 2c1e38e1321b 09:49:15 Removing intermediate container 2c1e38e1321b 09:49:15 ---> 2c1b662d94d0 09:49:15 Step 23/24 : LABEL git_sha=caab5c19f0226ea205a717313438d75c5b5382a1 09:49:15 ---> Running in 99624bc61720 09:49:15 Removing intermediate container 99624bc61720 09:49:15 ---> 338efd2143ff 09:49:15 Step 24/24 : LABEL version=2.3.0-dev.31 09:49:15 ---> Running in 23edbc76173b 09:49:15 Removing intermediate container 23edbc76173b 09:49:15 ---> 5b8e6f52a064 09:49:15 [Warning] One or more build-args [ARCH] were not consumed 09:49:15 Successfully built 5b8e6f52a064 09:49:15 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 09:49:15 provisioning config files... 09:49:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/78@tmp/config16792206900057152749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:15 ---> docker-login.sh 09:49:15 nexus3.edgexfoundry.org:10001 09:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:16 Configure a credential helper to remove this warning. See 09:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:16 09:49:16 Login Succeeded 09:49:16 nexus3.edgexfoundry.org:10002 09:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:16 Configure a credential helper to remove this warning. See 09:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:16 09:49:16 Login Succeeded 09:49:16 nexus3.edgexfoundry.org:10003 09:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:16 Configure a credential helper to remove this warning. See 09:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:16 09:49:16 Login Succeeded 09:49:16 nexus3.edgexfoundry.org:10004 09:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:17 Configure a credential helper to remove this warning. See 09:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:17 09:49:17 Login Succeeded 09:49:17 docker.io 09:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:17 Configure a credential helper to remove this warning. See 09:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:17 09:49:17 Login Succeeded 09:49:17 ---> docker-login.sh ends [Pipeline] } 09:49:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:49:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:49:17 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 09:49:17 caab5c19f0226ea205a717313438d75c5b5382a1 09:49:17 latest 09:49:17 2.3.0-dev.31 09:49:17 caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31 09:49:17 main 09:49:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:caab5c19f0226ea205a717313438d75c5b5382a1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:caab5c19f0226ea205a717313438d75c5b5382a1 09:49:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:49:18 07cf537fe71a: Preparing 09:49:18 07e27c6e5e12: Preparing 09:49:18 ecffda4386f8: Preparing 09:49:18 9203f2bf3ba6: Preparing 09:49:18 5d3e392a13a0: Preparing 09:49:18 5d3e392a13a0: Layer already exists 09:49:18 07e27c6e5e12: Pushed 09:49:18 07cf537fe71a: Pushed 09:49:19 9203f2bf3ba6: Pushed 09:49:23 ecffda4386f8: Pushed 09:49:23 caab5c19f0226ea205a717313438d75c5b5382a1: digest: sha256:7e6fafc0a8d0d63aea864ee1378cb7b4523614d9308447c934901cedfbc21f2d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:23 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 09:49:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:49:24 07cf537fe71a: Preparing 09:49:24 07e27c6e5e12: Preparing 09:49:24 ecffda4386f8: Preparing 09:49:24 9203f2bf3ba6: Preparing 09:49:24 5d3e392a13a0: Preparing 09:49:24 07cf537fe71a: Layer already exists 09:49:24 9203f2bf3ba6: Layer already exists 09:49:24 07e27c6e5e12: Layer already exists 09:49:24 ecffda4386f8: Layer already exists 09:49:24 5d3e392a13a0: Layer already exists 09:49:24 latest: digest: sha256:7e6fafc0a8d0d63aea864ee1378cb7b4523614d9308447c934901cedfbc21f2d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:24 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.31 09:49:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:49:25 07cf537fe71a: Preparing 09:49:25 07e27c6e5e12: Preparing 09:49:25 ecffda4386f8: Preparing 09:49:25 9203f2bf3ba6: Preparing 09:49:25 5d3e392a13a0: Preparing 09:49:25 5d3e392a13a0: Layer already exists 09:49:25 07cf537fe71a: Layer already exists 09:49:25 9203f2bf3ba6: Layer already exists 09:49:25 07e27c6e5e12: Layer already exists 09:49:25 ecffda4386f8: Layer already exists 09:49:25 2.3.0-dev.31: digest: sha256:7e6fafc0a8d0d63aea864ee1378cb7b4523614d9308447c934901cedfbc21f2d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31 09:49:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:49:25 07cf537fe71a: Preparing 09:49:25 07e27c6e5e12: Preparing 09:49:25 ecffda4386f8: Preparing 09:49:25 9203f2bf3ba6: Preparing 09:49:25 5d3e392a13a0: Preparing 09:49:25 5d3e392a13a0: Layer already exists 09:49:25 ecffda4386f8: Layer already exists 09:49:25 9203f2bf3ba6: Layer already exists 09:49:25 07cf537fe71a: Layer already exists 09:49:25 07e27c6e5e12: Layer already exists 09:49:25 caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31: digest: sha256:7e6fafc0a8d0d63aea864ee1378cb7b4523614d9308447c934901cedfbc21f2d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 09:49:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 09:49:26 07cf537fe71a: Preparing 09:49:26 07e27c6e5e12: Preparing 09:49:26 ecffda4386f8: Preparing 09:49:26 9203f2bf3ba6: Preparing 09:49:26 5d3e392a13a0: Preparing 09:49:26 07cf537fe71a: Layer already exists 09:49:26 ecffda4386f8: Layer already exists 09:49:26 07e27c6e5e12: Layer already exists 09:49:26 5d3e392a13a0: Layer already exists 09:49:26 9203f2bf3ba6: Layer already exists 09:49:26 main: digest: sha256:7e6fafc0a8d0d63aea864ee1378cb7b4523614d9308447c934901cedfbc21f2d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:49:27 ===================================================== [Pipeline] echo 09:49:27 taggedImages: 09:49:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:caab5c19f0226ea205a717313438d75c5b5382a1 09:49:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 09:49:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.31 09:49:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:caab5c19f0226ea205a717313438d75c5b5382a1-2.3.0-dev.31 09:49:27 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:49:27 09:49:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:49:27 arm64: Pulling from edgex-lftools-log-publisher 09:49:27 8998bd30e6a1: Pulling fs layer 09:49:27 04944245beec: Pulling fs layer 09:49:27 699f458cf7ca: Pulling fs layer 09:49:27 765212b225bb: Pulling fs layer 09:49:27 f23df028b6ca: Pulling fs layer 09:49:27 d65c8cfc05b1: Pulling fs layer 09:49:27 2437ff75d9bd: Pulling fs layer 09:49:27 f23df028b6ca: Waiting 09:49:27 d65c8cfc05b1: Waiting 09:49:27 765212b225bb: Waiting 09:49:27 2437ff75d9bd: Waiting 09:49:28 04944245beec: Verifying Checksum 09:49:28 04944245beec: Download complete 09:49:28 765212b225bb: Verifying Checksum 09:49:28 765212b225bb: Download complete 09:49:28 f23df028b6ca: Verifying Checksum 09:49:28 f23df028b6ca: Download complete 09:49:28 d65c8cfc05b1: Verifying Checksum 09:49:28 d65c8cfc05b1: Download complete 09:49:28 699f458cf7ca: Verifying Checksum 09:49:28 699f458cf7ca: Download complete 09:49:28 8998bd30e6a1: Verifying Checksum 09:49:28 8998bd30e6a1: Download complete 09:49:31 2437ff75d9bd: Verifying Checksum 09:49:31 2437ff75d9bd: Download complete 09:49:32 8998bd30e6a1: Pull complete 09:49:33 04944245beec: Pull complete 09:49:34 699f458cf7ca: Pull complete 09:49:34 765212b225bb: Pull complete 09:49:35 f23df028b6ca: Pull complete 09:49:35 d65c8cfc05b1: Pull complete 09:49:50 2437ff75d9bd: Pull complete 09:49:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:49:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:49:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:50 prd-ubuntu20.04-docker-arm64-4c-16g-118093 does not seem to be running inside a container 09:49:50 $ 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/78 -v /w/workspace/device-mqtt-go/78:/w/workspace/device-mqtt-go/78:rw,z -v /w/workspace/device-mqtt-go/78@tmp:/w/workspace/device-mqtt-go/78@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 09:49:53 $ docker top 39a6ce816eb91e5c5da923a59488bf02717481912e5dd50519490663e54cf24d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:54 ---> job-cost.sh 09:49:54 lf-activate-venv: SKIPPING 09:49:54 INFO: No Stack... 09:49:55 INFO: Retrieving Pricing Info for: v3-standard-4 09:49:55 INFO: Archiving Costs [Pipeline] sh 09:49:55 + cat /w/workspace/device-mqtt-go/78/archives/cost.csv 09:49:55 + cut -d, -f6 [Pipeline] lock 09:49:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-78-stack-cost] 09:49:56 Resource [jenkins-edgexfoundry-device-mqtt-go-main-78-stack-cost] did not exist. Created. 09:49:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:49:56 /w/workspace/device-mqtt-go/78@tmp/durable-1c72494e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:49:56 + echo total: 0.10999999940395355 [Pipeline] stash 09:49:56 Warning: overwriting stash ‘stack-cost’ 09:49:57 Stashed 1 file(s) [Pipeline] } 09:49:57 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 09:49:57 $ docker stop --time=1 39a6ce816eb91e5c5da923a59488bf02717481912e5dd50519490663e54cf24d 09:49:58 $ docker rm -f 39a6ce816eb91e5c5da923a59488bf02717481912e5dd50519490663e54cf24d [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 09:49:58 provisioning config files... 09:49:58 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config300415772339788691tmp [Pipeline] { [Pipeline] sh 09:49:59 + set +x 09:49:59 + curl -s https://codecov.io/bash 09:49:59 + bash -s -- 09:49:59 09:49:59 _____ _ 09:49:59 / ____| | | 09:49:59 | | ___ __| | ___ ___ _____ __ 09:49:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:49:59 | |___| (_) | (_| | __/ (_| (_) \ V / 09:49:59 \_____\___/ \__,_|\___|\___\___/ \_/ 09:49:59 Bash-1.0.6 09:49:59 09:49:59 09:49:59 ==> git version 2.25.1 found 09:49:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:49:59 Release-Date: 2020-01-08 09:49:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:49:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:49:59 ==> Jenkins CI detected. 09:49:59 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 09:49:59 project root: . 09:49:59 --> token set from env 09:49:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:49:59 ==> Running gcov in . (disable via -X gcov) 09:49:59 ==> Python coveragepy not found 09:49:59 ==> Searching for coverage reports in: 09:49:59 + . 09:49:59 -> Found 1 reports 09:49:59 ==> Detecting git/mercurial file structure 09:49:59 ==> Reading reports 09:49:59 + ./coverage.out bytes=17887 09:49:59 ==> Appending adjustments 09:49:59 https://docs.codecov.io/docs/fixing-reports 09:49:59 + Found adjustments 09:49:59 ==> Gzipping contents 09:49:59 4.0K /tmp/codecov.J236hx.gz 09:49:59 ==> Uploading reports 09:49:59 url: https://codecov.io 09:49:59 query: branch=main&commit=caab5c19f0226ea205a717313438d75c5b5382a1&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:49:59 -> Pinging Codecov 09:49:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=caab5c19f0226ea205a717313438d75c5b5382a1&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:49:59 -> Uploading to 09:49:59 https://storage.googleapis.com/codecov/v4/raw/2022-11-03/7D719EC7BBE17E464838252E33014C33/caab5c19f0226ea205a717313438d75c5b5382a1/283090cd-6615-45e6-a627-e3875c617a05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T094959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=03d93218df69414f1fd75bdef46b24c90d96862dc5adc268d9b80f0b47c50ca3 09:49:59 % Total % Received % Xferd Average Speed Time Time Time Current 09:49:59 Dload Upload Total Spent Left Speed 09:50:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 14205 --:--:-- --:--:-- --:--:-- 14205 09:50:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/caab5c19f0226ea205a717313438d75c5b5382a1 [Pipeline] } 09:50:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:50:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:50:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:50:00 09:50:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:50:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:50:00 df9b9388f04a: Pulling fs layer 09:50:00 52dc419b0ee2: Pulling fs layer 09:50:00 25bc292e5bac: Pulling fs layer 09:50:00 114826534d7a: Pulling fs layer 09:50:00 4657fd5d0bcf: Pulling fs layer 09:50:00 6ad1cebc031e: Pulling fs layer 09:50:00 8a3aa393b2d8: Pulling fs layer 09:50:00 6ad1cebc031e: Waiting 09:50:00 8a3aa393b2d8: Waiting 09:50:00 114826534d7a: Waiting 09:50:00 4657fd5d0bcf: Waiting 09:50:00 25bc292e5bac: Download complete 09:50:00 52dc419b0ee2: Verifying Checksum 09:50:00 52dc419b0ee2: Download complete 09:50:00 4657fd5d0bcf: Download complete 09:50:01 df9b9388f04a: Verifying Checksum 09:50:01 df9b9388f04a: Download complete 09:50:01 df9b9388f04a: Pull complete 09:50:01 6ad1cebc031e: Verifying Checksum 09:50:01 6ad1cebc031e: Download complete 09:50:01 52dc419b0ee2: Pull complete 09:50:01 25bc292e5bac: Pull complete 09:50:01 114826534d7a: Download complete 09:50:01 8a3aa393b2d8: Verifying Checksum 09:50:01 8a3aa393b2d8: Download complete 09:50:05 114826534d7a: Pull complete 09:50:05 4657fd5d0bcf: Pull complete 09:50:05 6ad1cebc031e: Pull complete 09:50:07 8a3aa393b2d8: Pull complete 09:50:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:50:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:50:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:07 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:50:08 $ 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 09:50:09 $ docker top 2700ba29a1e4437e53c648f77eac526047e5135ddd06c07f39d5528a09ea65c7 -eo pid,comm [Pipeline] { [Pipeline] echo 09:50:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 09:50:10 + set -o pipefail 09:50:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 09:50:14 09:50:14 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 09:50:14 09:50:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/85717207-7307-4eac-a707-fd61ecf63c02 09:50:14 09:50:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:50:14 09:50:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:50:14 09:50:14 09:50:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:50:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:50:14 More details here: https://snyk.co/ue1NS [Pipeline] } 09:50:14 $ docker stop --time=1 2700ba29a1e4437e53c648f77eac526047e5135ddd06c07f39d5528a09ea65c7 09:50:16 $ docker rm -f 2700ba29a1e4437e53c648f77eac526047e5135ddd06c07f39d5528a09ea65c7 [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 09:50:17 + git log --format=format:%s -1 caab5c19f0226ea205a717313438d75c5b5382a1 [Pipeline] sh 09:50:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:50:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:18 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:50:18 $ 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 09:50:18 $ docker top 47ac8e4532ac92f2c7f12f38be1b3872e061c6417752cc32b8f5cd08a5ce8cac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:50:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:18 [ssh-agent] Looking for ssh-agent implementation... 09:50:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:18 $ docker exec 47ac8e4532ac92f2c7f12f38be1b3872e061c6417752cc32b8f5cd08a5ce8cac ssh-agent 09:50:18 SSH_AUTH_SOCK=/tmp/ssh-ZHe1LbzbDNpN/agent.32 09:50:18 SSH_AGENT_PID=38 09:50:19 Running ssh-add (command line suppressed) 09:50:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13671256235738848439.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13671256235738848439.key) 09:50:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:19 + git semver tag 09:50:19 2022-11-03 09:50:19,575 [run_tag] DEBUG tag force:False 09:50:19 2022-11-03 09:50:19,575 [check_head_tag] DEBUG check head tag 09:50:19 2022-11-03 09:50:19,576 [execute] INFO git cat-file --batch-check 09:50:19 2022-11-03 09:50:19,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 09:50:19 2022-11-03 09:50:19,579 [execute] INFO git cat-file --batch 09:50:19 2022-11-03 09:50:19,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 09:50:19 2022-11-03 09:50:19,602 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:50:19 2022-11-03 09:50:19,602 [execute] INFO git tag -a v2.3.0-dev.31 -m v2.3.0-dev.31 09:50:19 2022-11-03 09:50:19,602 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.31', '-m', 'v2.3.0-dev.31'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 09:50:19 2022-11-03 09:50:19,607 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:50:19 2.3.0-dev.31 [Pipeline] } 09:50:19 $ docker exec --env ******** --env ******** 47ac8e4532ac92f2c7f12f38be1b3872e061c6417752cc32b8f5cd08a5ce8cac ssh-agent -k 09:50:19 unset SSH_AUTH_SOCK; 09:50:19 unset SSH_AGENT_PID; 09:50:19 echo Agent pid 38 killed; 09:50:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:50:20 + git semver [Pipeline] } 09:50:20 $ docker stop --time=1 47ac8e4532ac92f2c7f12f38be1b3872e061c6417752cc32b8f5cd08a5ce8cac 09:50:21 $ docker rm -f 47ac8e4532ac92f2c7f12f38be1b3872e061c6417752cc32b8f5cd08a5ce8cac [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:50:22 09:50:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:50:22 0.23.1-centos7: Pulling from edgex-lftools 09:50:22 ab5ef0e58194: Pulling fs layer 09:50:22 9712f1f96733: Pulling fs layer 09:50:22 63f879dbbcfc: Pulling fs layer 09:50:22 0d9ebad4ef96: Pulling fs layer 09:50:22 e9a5061849ea: Pulling fs layer 09:50:22 d747dcd14b5f: Pulling fs layer 09:50:22 2de7ff778b66: Pulling fs layer 09:50:22 0d9ebad4ef96: Waiting 09:50:22 d747dcd14b5f: Waiting 09:50:22 2de7ff778b66: Waiting 09:50:22 e9a5061849ea: Waiting 09:50:22 9712f1f96733: Download complete 09:50:22 63f879dbbcfc: Verifying Checksum 09:50:22 63f879dbbcfc: Download complete 09:50:22 e9a5061849ea: Verifying Checksum 09:50:22 e9a5061849ea: Download complete 09:50:22 d747dcd14b5f: Download complete 09:50:22 ab5ef0e58194: Verifying Checksum 09:50:22 ab5ef0e58194: Download complete 09:50:22 0d9ebad4ef96: Verifying Checksum 09:50:22 0d9ebad4ef96: Download complete 09:50:22 2de7ff778b66: Verifying Checksum 09:50:22 2de7ff778b66: Download complete 09:50:25 ab5ef0e58194: Pull complete 09:50:25 9712f1f96733: Pull complete 09:50:26 63f879dbbcfc: Pull complete 09:50:29 0d9ebad4ef96: Pull complete 09:50:29 e9a5061849ea: Pull complete 09:50:29 d747dcd14b5f: Pull complete 09:50:30 2de7ff778b66: Pull complete 09:50:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:50:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:50:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:30 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:50:30 $ 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 09:50:32 $ docker top ec8b3d27b511aaac1955ba953ac0bf9863b758563094a8eef84e27d599e280f7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:50:32 provisioning config files... 09:50:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config52537456313708609tmp 09:50:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7738622858169375593tmp 09:50:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6900415403064398376tmp [Pipeline] { [Pipeline] echo 09:50:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:50:33 ---> sigul-configuration.sh 09:50:33 gpg: directory `/root/.gnupg' created 09:50:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:50:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:50:33 gpg: keyring `/root/.gnupg/secring.gpg' created 09:50:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:50:33 gpg: CAST5 encrypted data 09:50:33 gpg: encrypted with 1 passphrase 09:50:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:50:33 + mkdir /home/jenkins 09:50:33 + mkdir /home/jenkins/sigul [Pipeline] sh 09:50:33 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:50:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:50:34 ---> sigul-install.sh 09:50:34 Sigul already installed; skipping installation. [Pipeline] sh 09:50:34 + git tag --list 09:50:34 0.7.1 09:50:34 v1.0.0 09:50:34 v1.1.0 09:50:34 v1.1.1 09:50:34 v1.2.2 09:50:34 v1.3.0 09:50:34 v1.3.1 09:50:34 v2.0.0 09:50:34 v2.1.0 09:50:34 v2.1.1 09:50:34 v2.1.1-dev.1 09:50:34 v2.1.1-dev.2 09:50:34 v2.2.0 09:50:34 v2.2.1-dev.1 09:50:34 v2.2.1-dev.10 09:50:34 v2.2.1-dev.2 09:50:34 v2.2.1-dev.3 09:50:34 v2.2.1-dev.4 09:50:34 v2.2.1-dev.5 09:50:34 v2.2.1-dev.6 09:50:34 v2.2.1-dev.7 09:50:34 v2.2.1-dev.8 09:50:34 v2.2.1-dev.9 09:50:34 v2.3.0-dev.10 09:50:34 v2.3.0-dev.11 09:50:34 v2.3.0-dev.12 09:50:34 v2.3.0-dev.13 09:50:34 v2.3.0-dev.14 09:50:34 v2.3.0-dev.15 09:50:34 v2.3.0-dev.16 09:50:34 v2.3.0-dev.17 09:50:34 v2.3.0-dev.18 09:50:34 v2.3.0-dev.19 09:50:34 v2.3.0-dev.20 09:50:34 v2.3.0-dev.21 09:50:34 v2.3.0-dev.22 09:50:34 v2.3.0-dev.23 09:50:34 v2.3.0-dev.24 09:50:34 v2.3.0-dev.25 09:50:34 v2.3.0-dev.26 09:50:34 v2.3.0-dev.27 09:50:34 v2.3.0-dev.28 09:50:34 v2.3.0-dev.29 09:50:34 v2.3.0-dev.30 09:50:34 v2.3.0-dev.31 [Pipeline] sh 09:50:34 + lftools sign git-tag v2.3.0-dev.31 09:50:35 Signing Git tag with Sigul... 09:50:35 Signing v2.3.0-dev.31 [Pipeline] echo 09:50:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:50:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:50:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:50:35 $ docker stop --time=1 ec8b3d27b511aaac1955ba953ac0bf9863b758563094a8eef84e27d599e280f7 09:50:37 $ docker rm -f ec8b3d27b511aaac1955ba953ac0bf9863b758563094a8eef84e27d599e280f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:50:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:50:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:38 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:50:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:50:38 $ docker top d3c1a101870aaa5e6216b30063d0412e9bf756c9011b41e6316f917fc4ef5a62 -eo pid,comm 09:50:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:50:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:50:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:38 [ssh-agent] Looking for ssh-agent implementation... 09:50:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:38 $ docker exec d3c1a101870aaa5e6216b30063d0412e9bf756c9011b41e6316f917fc4ef5a62 ssh-agent 09:50:38 SSH_AUTH_SOCK=/tmp/ssh-gFi3dOCaxM7n/agent.32 09:50:38 SSH_AGENT_PID=38 09:50:38 Running ssh-add (command line suppressed) 09:50:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4614520259140269444.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4614520259140269444.key) 09:50:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:39 + git semver bump pre 09:50:39 2022-11-03 09:50:39,331 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:50:39 2022-11-03 09:50:39,331 [bump_version] DEBUG bumping version:2.3.0-dev.31 on axis:pre with prefix:dev 09:50:39 2022-11-03 09:50:39,331 [bump_version] DEBUG bumped version:2.3.0-dev.32 09:50:39 2022-11-03 09:50:39,332 [write_version] DEBUG write version:2.3.0-dev.32 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 09:50:39 2022-11-03 09:50:39,332 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:50:39 2022-11-03 09:50:39,332 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:50:39 2022-11-03 09:50:39,333 [execute] INFO git cat-file --batch-check 09:50:39 2022-11-03 09:50:39,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:50:39 2022-11-03 09:50:39,340 [execute] INFO git cat-file --batch 09:50:39 2022-11-03 09:50:39,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:50:39 2022-11-03 09:50:39,347 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:50:39 2.3.0-dev.32 [Pipeline] } 09:50:39 $ docker exec --env ******** --env ******** d3c1a101870aaa5e6216b30063d0412e9bf756c9011b41e6316f917fc4ef5a62 ssh-agent -k 09:50:39 unset SSH_AUTH_SOCK; 09:50:39 unset SSH_AGENT_PID; 09:50:39 echo Agent pid 38 killed; 09:50:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:50:39 + git semver [Pipeline] } 09:50:40 $ docker stop --time=1 d3c1a101870aaa5e6216b30063d0412e9bf756c9011b41e6316f917fc4ef5a62 09:50:41 $ docker rm -f d3c1a101870aaa5e6216b30063d0412e9bf756c9011b41e6316f917fc4ef5a62 [Pipeline] // withDockerContainer [Pipeline] sh 09:50:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:50:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:42 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:50:42 $ 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 09:50:42 $ docker top 95894ed9083975ec6b5203364e2babc61aa0dcfb4843b027896dd9002ff77bb1 -eo pid,comm 09:50:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:50:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:50:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:42 [ssh-agent] Looking for ssh-agent implementation... 09:50:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:42 $ docker exec 95894ed9083975ec6b5203364e2babc61aa0dcfb4843b027896dd9002ff77bb1 ssh-agent 09:50:42 SSH_AUTH_SOCK=/tmp/ssh-U2IdFJsqwkD8/agent.32 09:50:42 SSH_AGENT_PID=38 09:50:42 Running ssh-add (command line suppressed) 09:50:43 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13174297650415548063.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13174297650415548063.key) 09:50:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:43 + git semver push 09:50:43 2022-11-03 09:50:43,559 [run_push] DEBUG push 09:50:43 2022-11-03 09:50:43,559 [execute] INFO git cat-file --batch-check 09:50:43 2022-11-03 09:50:43,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:50:43 2022-11-03 09:50:43,563 [execute] INFO git rev-list 2caed503b8d0ca37babeb04432271e230cd95f52 -- 09:50:43 2022-11-03 09:50:43,563 [execute] DEBUG Popen(['git', 'rev-list', '2caed503b8d0ca37babeb04432271e230cd95f52', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:50:43 2022-11-03 09:50:43,571 [execute] INFO git fetch -v origin 09:50:43 2022-11-03 09:50:43,571 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:50:44 2022-11-03 09:50:44,193 [run_push] DEBUG no remote changes detected 09:50:44 2022-11-03 09:50:44,193 [execute] INFO git push origin semver 09:50:44 2022-11-03 09:50:44,194 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:50:45 2022-11-03 09:50:45,108 [run_push] DEBUG push all version tags 09:50:45 2022-11-03 09:50:45,108 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:50:45 2022-11-03 09:50:45,109 [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) 09:50:46 2022-11-03 09:50:45,964 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 09:50:46 2.3.0-dev.32 [Pipeline] } 09:50:46 $ docker exec --env ******** --env ******** 95894ed9083975ec6b5203364e2babc61aa0dcfb4843b027896dd9002ff77bb1 ssh-agent -k 09:50:46 unset SSH_AUTH_SOCK; 09:50:46 unset SSH_AGENT_PID; 09:50:46 echo Agent pid 38 killed; 09:50:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:50:46 + git semver [Pipeline] } 09:50:46 $ docker stop --time=1 95894ed9083975ec6b5203364e2babc61aa0dcfb4843b027896dd9002ff77bb1 09:50:48 $ docker rm -f 95894ed9083975ec6b5203364e2babc61aa0dcfb4843b027896dd9002ff77bb1 [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 09:50:48 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 09:50:48 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:50:48 total 16 09:50:48 drwxr-xr-x 3 root root 4096 Nov 3 09:40 . 09:50:48 drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 09:50 .. 09:50:48 drwxr-xr-x 2 root root 4096 Nov 3 09:40 cost 09:50:48 -rw-r--r-- 1 root root 85 Nov 3 09:40 cost.csv 09:50:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:50:48 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 09:50:48 total 16 09:50:48 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:40 . 09:50:48 drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 09:50 .. 09:50:48 drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 09:40 cost 09:50:48 -rw-r--r-- 1 jenkins jenkins 85 Nov 3 09:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:50:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:50:49 ---> package-listing.sh 09:50:49 ++ facter osfamily 09:50:49 ++ tr '[:upper:]' '[:lower:]' 09:50:50 + OS_FAMILY=debian 09:50:50 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 09:50:50 + START_PACKAGES=/tmp/packages_start.txt 09:50:50 + END_PACKAGES=/tmp/packages_end.txt 09:50:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:50:50 + PACKAGES=/tmp/packages_start.txt 09:50:50 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 09:50:50 + PACKAGES=/tmp/packages_end.txt 09:50:50 + case "${OS_FAMILY}" in 09:50:50 + dpkg -l 09:50:50 + grep '^ii' 09:50:50 + '[' -f /tmp/packages_start.txt ']' 09:50:50 + '[' -f /tmp/packages_end.txt ']' 09:50:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:50:50 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 09:50:50 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 09:50:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 09:50:50 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 09:50:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:50:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:50 prd-ubuntu20.04-docker-8c-8g-118090 does not seem to be running inside a container 09:50:51 $ 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 09:50:51 $ docker top 8b52f3f78ef20e6be3491532d7ae78c701046360a01aeefea1160cc889a426b3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:51 + touch /tmp/pre-build-complete [Pipeline] sh 09:50:52 + mkdir -p /var/log/sysstat [Pipeline] sh 09:50:52 + ls /var/log/sa-host 09:50:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:50:52 provisioning config files... 09:50:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3343489350109787565tmp [Pipeline] { [Pipeline] echo 09:50:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:50:52 ---> create-netrc.sh [Pipeline] } 09:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:50:53 ---> python-tools-install.sh [Pipeline] echo 09:50:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:50:53 ---> sudo-logs.sh 09:50:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:50:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:50:53 ---> job-cost.sh 09:50:53 lf-activate-venv: SKIPPING 09:50:53 DEBUG: total: 0.2199999988079071 09:50:53 INFO: Retrieving Stack Cost... 09:50:54 INFO: Retrieving Pricing Info for: v3-standard-8 09:50:54 INFO: Archiving Costs [Pipeline] echo 09:50:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:50:54 ---> logs-deploy.sh 09:50:54 lf-activate-venv: SKIPPING 09:50:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/78 09:50:54 INFO: archiving workspace using pattern(s): 09:50:55 Archives upload complete. 09:50:55 INFO: archiving logs to Nexus