Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1a028d96f2f1053b1975dad0f0d16109b5d4490c 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-ssh5145850246684247199.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5412040002042122153.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh8188652324214694011.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh7687180313084030113.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-ssh10925290076024619279.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7330 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 1a028d96f2f1053b1975dad0f0d16109b5d4490c (main) Commit message: "fix(snap): Remove duplicate file copying in install hook (#420)" > 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 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 > git rev-list --no-walk c1f0bf142c77c6d86ff5b845358552b8abffa481 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:03:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:03:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:03:50 ========================================================= 11:03:50 EdgeX Global Pipelines Version Info 11:03:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:03:51 ------------------- 11:03:51 stable info: 11:03:51 ------------------- 11:03:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:03:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:03:51 Message: update stable to v1.0.239 11:03:52 ------------------- 11:03:52 experimental info: 11:03:52 ------------------- 11:03:52 Commited By: **** collab-it+edgex@linuxfoundation.org 11:03:52 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:03:52 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a028d96f2f1053b1975dad0f0d16109b5d4490c [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a028d9 [Pipeline] echo 11:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:03:52 provisioning config files... 11:03:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11057401341318236798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:03:53 ---> docker-login.sh 11:03:53 nexus3.edgexfoundry.org:10001 11:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:53 Configure a credential helper to remove this warning. See 11:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:53 11:03:53 Login Succeeded 11:03:53 nexus3.edgexfoundry.org:10002 11:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:53 Configure a credential helper to remove this warning. See 11:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:53 11:03:53 Login Succeeded 11:03:53 nexus3.edgexfoundry.org:10003 11:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:53 Configure a credential helper to remove this warning. See 11:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:53 11:03:53 Login Succeeded 11:03:53 nexus3.edgexfoundry.org:10004 11:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:53 Configure a credential helper to remove this warning. See 11:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:53 11:03:53 Login Succeeded 11:03:53 docker.io 11:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:54 Configure a credential helper to remove this warning. See 11:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:54 11:03:54 Login Succeeded 11:03:54 ---> docker-login.sh ends [Pipeline] } 11:03:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:03:54 + git rev-list -1 --merges 1a028d96f2f1053b1975dad0f0d16109b5d4490c~1..1a028d96f2f1053b1975dad0f0d16109b5d4490c [Pipeline] echo 11:03:54 -----------> git rev-list -1 --merges 1a028d96f2f1053b1975dad0f0d16109b5d4490c~1..1a028d96f2f1053b1975dad0f0d16109b5d4490c 1a028d96f2f1053b1975dad0f0d16109b5d4490c [false] [Pipeline] sh 11:03:54 + git log --format=format:%s -1 1a028d96f2f1053b1975dad0f0d16109b5d4490c [Pipeline] echo 11:03:54 ========================================================= 11:03:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:03:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:03:55 + git log --format=format:%s -1 1a028d96f2f1053b1975dad0f0d16109b5d4490c [Pipeline] echo 11:03:55 [semverPrep] GIT_COMMIT: 1a028d96f2f1053b1975dad0f0d16109b5d4490c, Commit Message: fix(snap): Remove duplicate file copying in install hook (#420) [Pipeline] echo 11:03:55 [semverPrep] This is not a build commit. [Pipeline] sh 11:03:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:03:55 + grep -v github /etc/ssh/ssh_known_hosts 11:03:55 + [ -e /tmp/ssh_known_hosts ] 11:03:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:03:55 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 11:03:55 tee -a /etc/ssh/ssh_known_hosts 11:03:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:03:55 11:03:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:03:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:03:56 0.1.4: Pulling from edgex-devops/py-git-semver 11:03:56 b85a868b505f: Pulling fs layer 11:03:56 e2be974225ed: Pulling fs layer 11:03:56 339a4e72a1f5: Pulling fs layer 11:03:56 988bab9f4d93: Pulling fs layer 11:03:56 1469e6f7b9e6: Pulling fs layer 11:03:56 eaf3925da568: Pulling fs layer 11:03:56 bab4dde63d76: Pulling fs layer 11:03:56 bde34c3a00c8: Pulling fs layer 11:03:56 b352a97aabf1: Pulling fs layer 11:03:56 4872d77fe225: Pulling fs layer 11:03:56 5851b861e8e6: Pulling fs layer 11:03:56 988bab9f4d93: Waiting 11:03:56 1469e6f7b9e6: Waiting 11:03:56 eaf3925da568: Waiting 11:03:56 bab4dde63d76: Waiting 11:03:56 bde34c3a00c8: Waiting 11:03:56 b352a97aabf1: Waiting 11:03:56 4872d77fe225: Waiting 11:03:56 5851b861e8e6: Waiting 11:03:56 e2be974225ed: Verifying Checksum 11:03:56 e2be974225ed: Download complete 11:03:56 988bab9f4d93: Verifying Checksum 11:03:56 988bab9f4d93: Download complete 11:03:56 1469e6f7b9e6: Verifying Checksum 11:03:56 1469e6f7b9e6: Download complete 11:03:56 eaf3925da568: Download complete 11:03:56 339a4e72a1f5: Verifying Checksum 11:03:56 339a4e72a1f5: Download complete 11:03:56 bde34c3a00c8: Download complete 11:03:56 b352a97aabf1: Verifying Checksum 11:03:56 b352a97aabf1: Download complete 11:03:56 4872d77fe225: Download complete 11:03:56 5851b861e8e6: Download complete 11:03:56 b85a868b505f: Verifying Checksum 11:03:56 b85a868b505f: Download complete 11:03:56 bab4dde63d76: Download complete 11:03:57 b85a868b505f: Pull complete 11:03:58 e2be974225ed: Pull complete 11:03:58 339a4e72a1f5: Pull complete 11:03:58 988bab9f4d93: Pull complete 11:03:59 1469e6f7b9e6: Pull complete 11:03:59 eaf3925da568: Pull complete 11:04:00 bab4dde63d76: Pull complete 11:04:00 bde34c3a00c8: Pull complete 11:04:00 b352a97aabf1: Pull complete 11:04:00 4872d77fe225: Pull complete 11:04:00 5851b861e8e6: Pull complete 11:04:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:01 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:04:01 $ 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 11:04:02 $ docker top 7f0f2635bdfd5863f952bbed4f3ef0ce1b0dcc283aad1b795639da0ad8204f0d -eo pid,comm 11:04:02 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). 11:04:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:02 [ssh-agent] Looking for ssh-agent implementation... 11:04:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:02 $ docker exec 7f0f2635bdfd5863f952bbed4f3ef0ce1b0dcc283aad1b795639da0ad8204f0d ssh-agent 11:04:02 SSH_AUTH_SOCK=/tmp/ssh-TBzDmlSzoN9w/agent.32 11:04:02 SSH_AGENT_PID=38 11:04:02 Running ssh-add (command line suppressed) 11:04:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17337436668881425843.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17337436668881425843.key) 11:04:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:03 + git tag --points-at HEAD [Pipeline] } 11:04:03 $ docker exec --env ******** --env ******** 7f0f2635bdfd5863f952bbed4f3ef0ce1b0dcc283aad1b795639da0ad8204f0d ssh-agent -k 11:04:03 unset SSH_AUTH_SOCK; 11:04:03 unset SSH_AGENT_PID; 11:04:03 echo Agent pid 38 killed; 11:04:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:04:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:03 [ssh-agent] Looking for ssh-agent implementation... 11:04:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:03 $ docker exec 7f0f2635bdfd5863f952bbed4f3ef0ce1b0dcc283aad1b795639da0ad8204f0d ssh-agent 11:04:03 SSH_AUTH_SOCK=/tmp/ssh-ksPPmaBDdYk3/agent.70 11:04:03 SSH_AGENT_PID=76 11:04:03 Running ssh-add (command line suppressed) 11:04:03 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5895066056174678477.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5895066056174678477.key) 11:04:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:03 + git semver init 11:04:04 2022-10-07 11:04:04,137 [run_init] DEBUG init version:0.0.0 force:False 11:04:04 2022-10-07 11:04:04,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 11:04:04 2022-10-07 11:04:04,138 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 11:04:04 2022-10-07 11:04:04,138 [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) 11:04:05 2022-10-07 11:04:05,052 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 11:04:05 2022-10-07 11:04:05,052 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 11:04:05 2022-10-07 11:04:05,052 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:04:05 2022-10-07 11:04:05,052 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:04:05 2.3.0-dev.21 [Pipeline] } 11:04:05 $ docker exec --env ******** --env ******** 7f0f2635bdfd5863f952bbed4f3ef0ce1b0dcc283aad1b795639da0ad8204f0d ssh-agent -k 11:04:05 unset SSH_AUTH_SOCK; 11:04:05 unset SSH_AGENT_PID; 11:04:05 echo Agent pid 76 killed; 11:04:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:05 + git semver [Pipeline] } 11:04:05 $ docker stop --time=1 7f0f2635bdfd5863f952bbed4f3ef0ce1b0dcc283aad1b795639da0ad8204f0d 11:04:07 $ docker rm -f 7f0f2635bdfd5863f952bbed4f3ef0ce1b0dcc283aad1b795639da0ad8204f0d [Pipeline] // withDockerContainer [Pipeline] sh 11:04:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:04:07 Stashed 1 file(s) [Pipeline] echo 11:04:07 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [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 11:04:07 provisioning config files... 11:04:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10383514068874476725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:08 ---> docker-login.sh 11:04:08 nexus3.edgexfoundry.org:10001 11:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:08 Configure a credential helper to remove this warning. See 11:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:08 11:04:08 Login Succeeded 11:04:08 nexus3.edgexfoundry.org:10002 11:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:08 Configure a credential helper to remove this warning. See 11:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:08 11:04:08 Login Succeeded 11:04:08 nexus3.edgexfoundry.org:10003 11:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:08 Configure a credential helper to remove this warning. See 11:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:08 11:04:08 Login Succeeded 11:04:08 nexus3.edgexfoundry.org:10004 11:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:08 Configure a credential helper to remove this warning. See 11:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:08 11:04:08 Login Succeeded 11:04:08 docker.io 11:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:08 Configure a credential helper to remove this warning. See 11:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:08 11:04:08 Login Succeeded 11:04:08 ---> docker-login.sh ends [Pipeline] } 11:04:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:09 ========================================================= 11:04:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:04:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:09 + 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 . 11:04:09 Sending build context to Docker daemon 6.132MB 11:04:09 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:04:09 Step 2/13 : FROM ${BASE} AS builder 11:04:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:04:09 2408cc74d12b: Pulling fs layer 11:04:09 ea60b727a1ce: Pulling fs layer 11:04:09 30c4a7721957: Pulling fs layer 11:04:09 370296b7ddb6: Pulling fs layer 11:04:09 7c6cee850709: Pulling fs layer 11:04:09 aa9baa53a306: Pulling fs layer 11:04:09 8b309c321861: Pulling fs layer 11:04:09 d8d76fd02f46: Pulling fs layer 11:04:09 fa31f396de31: Pulling fs layer 11:04:09 aa9baa53a306: Waiting 11:04:09 8b309c321861: Waiting 11:04:09 fa31f396de31: Waiting 11:04:09 d8d76fd02f46: Waiting 11:04:09 370296b7ddb6: Waiting 11:04:09 7c6cee850709: Waiting 11:04:09 30c4a7721957: Verifying Checksum 11:04:09 30c4a7721957: Download complete 11:04:09 ea60b727a1ce: Verifying Checksum 11:04:09 ea60b727a1ce: Download complete 11:04:09 7c6cee850709: Verifying Checksum 11:04:09 7c6cee850709: Download complete 11:04:09 aa9baa53a306: Verifying Checksum 11:04:09 aa9baa53a306: Download complete 11:04:09 2408cc74d12b: Verifying Checksum 11:04:09 2408cc74d12b: Download complete 11:04:09 8b309c321861: Verifying Checksum 11:04:09 2408cc74d12b: Pull complete 11:04:09 ea60b727a1ce: Pull complete 11:04:09 30c4a7721957: Pull complete 11:04:10 370296b7ddb6: Verifying Checksum 11:04:10 370296b7ddb6: Download complete 11:04:10 fa31f396de31: Verifying Checksum 11:04:10 fa31f396de31: Download complete 11:04:10 d8d76fd02f46: Verifying Checksum 11:04:10 d8d76fd02f46: Download complete 11:04:13 370296b7ddb6: Pull complete 11:04:14 7c6cee850709: Pull complete 11:04:14 aa9baa53a306: Pull complete 11:04:14 8b309c321861: Pull complete 11:04:15 d8d76fd02f46: Pull complete 11:04:16 fa31f396de31: Pull complete 11:04:16 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 11:04:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:04:16 ---> cef68f9685f8 11:04:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 11:04:18 ---> Running in d5ef49d1615b 11:04:18 Removing intermediate container d5ef49d1615b 11:04:18 ---> eed6c0d8c255 11:04:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:04:18 ---> Running in 749d1220cd62 11:04:18 Removing intermediate container 749d1220cd62 11:04:18 ---> 0be4cab91acc 11:04:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:04:19 ---> Running in 39f5c068b3c4 11:04:19 Removing intermediate container 39f5c068b3c4 11:04:19 ---> 1c86705ac483 11:04:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 11:04:19 ---> Running in 09c125a5c6b2 11:04:19 Removing intermediate container 09c125a5c6b2 11:04:19 ---> c54abb5756f8 11:04:19 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:04:19 ---> Running in b7dbe5abea6a 11:04:19 Removing intermediate container b7dbe5abea6a 11:04:19 ---> a803779fb106 11:04:19 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:04:19 ---> Running in f17e46893784 11:04:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:04:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:04:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:04:21 (2/4) Installing libedit (20210910.3.1-r0) 11:04:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:04:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:04:21 Executing busybox-1.35.0-r13.trigger 11:04:21 OK: 216 MiB in 55 packages 11:04:22 Removing intermediate container f17e46893784 11:04:22 ---> c9d027af9264 11:04:22 Step 9/13 : WORKDIR /device-mqtt-go 11:04:22 ---> Running in 7b38ffd72333 11:04:22 Removing intermediate container 7b38ffd72333 11:04:22 ---> 47d5a21804b7 11:04:22 Step 10/13 : COPY go.mod vendor* ./ 11:04:22 ---> 7b02d025bd0e 11:04:22 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:04:22 ---> Running in ac69b7024ce3 11:04:22 Still waiting to schedule task 11:04:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 11:04:37 Removing intermediate container ac69b7024ce3 11:04:37 ---> 699e8f2ff988 11:04:37 Step 12/13 : COPY . . 11:04:37 ---> 61944a508cbe 11:04:37 Step 13/13 : RUN $MAKE 11:04:37 ---> Running in 7ddf578955d4 11:04:37 noop 11:04:37 Removing intermediate container 7ddf578955d4 11:04:37 ---> 317fd8fc81af 11:04:37 Successfully built 317fd8fc81af 11:04:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:37 + docker inspect -f . ci-base-image-x86_64 11:04:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:37 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:04:37 $ 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 11:04:38 $ docker top 9969e3da8bd631333c686748e446a550e0aa3880c3bf7f99d83076d438191c39 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:38 + go version 11:04:38 go version go1.18.3 linux/amd64 [Pipeline] } 11:04:38 $ docker stop --time=1 9969e3da8bd631333c686748e446a550e0aa3880c3bf7f99d83076d438191c39 11:04:39 $ docker rm -f 9969e3da8bd631333c686748e446a550e0aa3880c3bf7f99d83076d438191c39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:40 + docker inspect -f . ci-base-image-x86_64 11:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:40 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:04:40 $ 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 11:04:40 $ docker top 313265e47105d52b9b8ead57176c817e5eb30a7f31776d8bb156c41834b37840 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 11:04:41 + make test 11:04:41 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:04:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:04:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:04:50 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 11:04:50 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:04:57 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." 11:04:57 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:04:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:04:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:04:59 ./bin/test-attribution-txt.sh [Pipeline] echo 11:04:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:04:59 $ docker stop --time=1 313265e47105d52b9b8ead57176c817e5eb30a7f31776d8bb156c41834b37840 11:05:01 $ docker rm -f 313265e47105d52b9b8ead57176c817e5eb30a7f31776d8bb156c41834b37840 [Pipeline] // withDockerContainer [Pipeline] sh 11:05:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:05:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:05:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:02 + ls -al . 11:05:02 total 184 11:05:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 11:04 . 11:05:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:03 .. 11:05:02 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 11:03 .dockerignore 11:05:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 11:04 .git 11:05:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:03 .github 11:05:02 -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 11:03 .gitignore 11:05:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 11:03 .golangci.yml 11:05:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 11:04 .semver 11:05:02 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 7 11:03 Attribution.txt 11:05:02 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 7 11:03 CHANGELOG.md 11:05:02 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 7 11:03 Dockerfile 11:05:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 11:03 GOVERNANCE.md 11:05:02 -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 11:03 Jenkinsfile 11:05:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 11:03 LICENSE 11:05:02 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 7 11:03 Makefile 11:05:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 11:03 OWNERS.md 11:05:02 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 7 11:03 README.md 11:05:02 -rw-rw-r-- 1 jenkins jenkins 12 Oct 7 11:04 VERSION 11:05:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:03 bin 11:05:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:03 cmd 11:05:02 -rw-r--r-- 1 jenkins jenkins 17887 Oct 7 11:04 coverage.out 11:05:02 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 7 11:03 go.mod 11:05:02 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 7 11:03 go.sum 11:05:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:03 internal 11:05:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:03 mock 11:05:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:03 snap 11:05:02 -rw-rw-r-- 1 jenkins jenkins 227 Oct 7 11:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:02 + 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=1a028d96f2f1053b1975dad0f0d16109b5d4490c --label arch=amd64 --label version=2.3.0-dev.21 . 11:05:02 Sending build context to Docker daemon 6.15MB 11:05:02 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:05:02 Step 2/25 : FROM ${BASE} AS builder 11:05:02 ---> 317fd8fc81af 11:05:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 11:05:02 ---> Running in d74f250bb50c 11:05:03 Removing intermediate container d74f250bb50c 11:05:03 ---> 151e3c986b04 11:05:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:05:03 ---> Running in 8509d07c5bd0 11:05:03 Removing intermediate container 8509d07c5bd0 11:05:03 ---> 7201e1f7d38f 11:05:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:03 ---> Running in 59deb78d0120 11:05:03 Removing intermediate container 59deb78d0120 11:05:03 ---> 66e055a7fe67 11:05:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 11:05:03 ---> Running in 08502dd6124a 11:05:03 Removing intermediate container 08502dd6124a 11:05:03 ---> 554accd00ebe 11:05:03 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:03 ---> Running in 53f5c4f4ec25 11:05:04 Removing intermediate container 53f5c4f4ec25 11:05:04 ---> 97683a9cf7a4 11:05:04 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:04 ---> Running in a559abb3e6ce 11:05:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:05:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:05:05 OK: 216 MiB in 55 packages 11:05:06 Removing intermediate container a559abb3e6ce 11:05:06 ---> 3b5907bb1375 11:05:06 Step 9/25 : WORKDIR /device-mqtt-go 11:05:06 ---> Running in 929bff9bb96a 11:05:06 Removing intermediate container 929bff9bb96a 11:05:06 ---> 96fa77bb4f5d 11:05:06 Step 10/25 : COPY go.mod vendor* ./ 11:05:06 ---> 20e0829deee0 11:05:06 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:06 ---> Running in 07874f61b00f 11:05:07 Removing intermediate container 07874f61b00f 11:05:07 ---> f877f44dd4cd 11:05:07 Step 12/25 : COPY . . 11:05:07 ---> 0b812f9a0a9c 11:05:07 Step 13/25 : RUN $MAKE 11:05:07 ---> Running in 11b90310ca00 11:05:07 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 11:05:25 Removing intermediate container 11b90310ca00 11:05:25 ---> c3975b5f27b1 11:05:25 Step 14/25 : FROM alpine:3.16 11:05:26 3.16: Pulling from library/alpine 11:05:26 213ec9aee27d: Pulling fs layer 11:05:26 213ec9aee27d: Verifying Checksum 11:05:26 213ec9aee27d: Download complete 11:05:26 213ec9aee27d: Pull complete 11:05:26 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:05:26 Status: Downloaded newer image for alpine:3.16 11:05:26 ---> 9c6f07244728 11:05:26 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:05:26 ---> Running in 1ed68bc5c741 11:05:27 Removing intermediate container 1ed68bc5c741 11:05:27 ---> cc284adc8edc 11:05:27 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 11:05:27 ---> Running in 16bb01214217 11:05:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:05:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:05:27 (1/6) Installing dumb-init (1.2.5-r1) 11:05:27 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:05:27 (3/6) Installing libsodium (1.0.18-r0) 11:05:27 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:05:27 (5/6) Installing libzmq (4.3.4-r0) 11:05:27 (6/6) Installing zeromq (4.3.4-r0) 11:05:27 Executing busybox-1.35.0-r17.trigger 11:05:27 OK: 8 MiB in 20 packages 11:05:28 Removing intermediate container 16bb01214217 11:05:28 ---> 29f5b4cf6064 11:05:28 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 11:05:28 ---> 8af4750d72db 11:05:28 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 11:05:28 ---> 03d9217762dd 11:05:28 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:05:29 ---> 3f8b149510f3 11:05:29 Step 20/25 : EXPOSE 59982 11:05:29 ---> Running in c6d438163ebb 11:05:29 Removing intermediate container c6d438163ebb 11:05:29 ---> 24903b5410c4 11:05:29 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 11:05:29 ---> Running in a9e6e7042029 11:05:29 Removing intermediate container a9e6e7042029 11:05:29 ---> f92b9c66db16 11:05:29 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:05:29 ---> Running in 9ea3c06cf708 11:05:29 Removing intermediate container 9ea3c06cf708 11:05:29 ---> 6735c7b4d8d0 11:05:29 Step 23/25 : LABEL arch=amd64 11:05:29 ---> Running in b2b69da4fc54 11:05:29 Removing intermediate container b2b69da4fc54 11:05:29 ---> 4faaf3b6d4a1 11:05:29 Step 24/25 : LABEL git_sha=1a028d96f2f1053b1975dad0f0d16109b5d4490c 11:05:29 ---> Running in 5d8ecd801d19 11:05:29 Removing intermediate container 5d8ecd801d19 11:05:29 ---> cc1a053e53bc 11:05:29 Step 25/25 : LABEL version=2.3.0-dev.21 11:05:29 ---> Running in f5205bae5577 11:05:29 Removing intermediate container f5205bae5577 11:05:29 ---> fa0b4992f9f6 11:05:29 [Warning] One or more build-args [ARCH] were not consumed 11:05:29 Successfully built fa0b4992f9f6 11:05:29 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:05:30 provisioning config files... 11:05:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10759178812307788374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:30 ---> docker-login.sh 11:05:30 nexus3.edgexfoundry.org:10001 11:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:30 Configure a credential helper to remove this warning. See 11:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:30 11:05:30 Login Succeeded 11:05:30 nexus3.edgexfoundry.org:10002 11:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:30 Configure a credential helper to remove this warning. See 11:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:30 11:05:30 Login Succeeded 11:05:30 nexus3.edgexfoundry.org:10003 11:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:30 Configure a credential helper to remove this warning. See 11:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:30 11:05:30 Login Succeeded 11:05:30 nexus3.edgexfoundry.org:10004 11:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:30 Configure a credential helper to remove this warning. See 11:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:30 11:05:30 Login Succeeded 11:05:30 docker.io 11:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:31 Configure a credential helper to remove this warning. See 11:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:31 11:05:31 Login Succeeded 11:05:31 ---> docker-login.sh ends [Pipeline] } 11:05:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:05:31 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 11:05:31 1a028d96f2f1053b1975dad0f0d16109b5d4490c 11:05:31 latest 11:05:31 2.3.0-dev.21 11:05:31 1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21 11:05:31 main 11:05:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1a028d96f2f1053b1975dad0f0d16109b5d4490c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1a028d96f2f1053b1975dad0f0d16109b5d4490c 11:05:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:05:31 a8166a0b648d: Preparing 11:05:31 e91396372495: Preparing 11:05:31 f4706973eb9c: Preparing 11:05:31 231bb6cd0065: Preparing 11:05:31 994393dc58e7: Preparing 11:05:32 994393dc58e7: Layer already exists 11:05:32 a8166a0b648d: Pushed 11:05:32 e91396372495: Pushed 11:05:32 231bb6cd0065: Pushed 11:05:35 f4706973eb9c: Pushed 11:05:35 1a028d96f2f1053b1975dad0f0d16109b5d4490c: digest: sha256:23bfee7c1c3ff16518cf827ebcb0eed3eee4ccabb3288a8dbdf5bb511275c599 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 11:05:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:05:35 a8166a0b648d: Preparing 11:05:35 e91396372495: Preparing 11:05:35 f4706973eb9c: Preparing 11:05:35 231bb6cd0065: Preparing 11:05:35 994393dc58e7: Preparing 11:05:35 994393dc58e7: Layer already exists 11:05:35 231bb6cd0065: Layer already exists 11:05:35 a8166a0b648d: Layer already exists 11:05:35 f4706973eb9c: Layer already exists 11:05:35 e91396372495: Layer already exists 11:05:35 latest: digest: sha256:23bfee7c1c3ff16518cf827ebcb0eed3eee4ccabb3288a8dbdf5bb511275c599 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.21 11:05:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:05:36 a8166a0b648d: Preparing 11:05:36 e91396372495: Preparing 11:05:36 f4706973eb9c: Preparing 11:05:36 231bb6cd0065: Preparing 11:05:36 994393dc58e7: Preparing 11:05:36 e91396372495: Layer already exists 11:05:36 a8166a0b648d: Layer already exists 11:05:36 231bb6cd0065: Layer already exists 11:05:36 994393dc58e7: Layer already exists 11:05:36 f4706973eb9c: Layer already exists 11:05:36 2.3.0-dev.21: digest: sha256:23bfee7c1c3ff16518cf827ebcb0eed3eee4ccabb3288a8dbdf5bb511275c599 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21 11:05:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:05:36 a8166a0b648d: Preparing 11:05:36 e91396372495: Preparing 11:05:36 f4706973eb9c: Preparing 11:05:36 231bb6cd0065: Preparing 11:05:36 994393dc58e7: Preparing 11:05:36 994393dc58e7: Layer already exists 11:05:36 a8166a0b648d: Layer already exists 11:05:36 e91396372495: Layer already exists 11:05:36 f4706973eb9c: Layer already exists 11:05:36 231bb6cd0065: Layer already exists 11:05:36 1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21: digest: sha256:23bfee7c1c3ff16518cf827ebcb0eed3eee4ccabb3288a8dbdf5bb511275c599 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 11:05:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:05:37 a8166a0b648d: Preparing 11:05:37 e91396372495: Preparing 11:05:37 f4706973eb9c: Preparing 11:05:37 231bb6cd0065: Preparing 11:05:37 994393dc58e7: Preparing 11:05:37 f4706973eb9c: Layer already exists 11:05:37 e91396372495: Layer already exists 11:05:37 231bb6cd0065: Layer already exists 11:05:37 a8166a0b648d: Layer already exists 11:05:37 994393dc58e7: Layer already exists 11:05:37 main: digest: sha256:23bfee7c1c3ff16518cf827ebcb0eed3eee4ccabb3288a8dbdf5bb511275c599 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:05:37 ===================================================== [Pipeline] echo 11:05:37 taggedImages: 11:05:37 - nexus3.edgexfoundry.org:10004/device-mqtt:1a028d96f2f1053b1975dad0f0d16109b5d4490c 11:05:37 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 11:05:37 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.21 11:05:37 - nexus3.edgexfoundry.org:10004/device-mqtt:1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21 11:05:37 - 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 11:05:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:37 11:05:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:38 latest: Pulling from edgex-lftools-log-publisher 11:05:38 5eb5b503b376: Pulling fs layer 11:05:38 5c69ac0246d0: Pulling fs layer 11:05:38 ec43610c2a17: Pulling fs layer 11:05:38 3a2ae6a8a46f: Pulling fs layer 11:05:38 33b1e0a273af: Pulling fs layer 11:05:38 5d3b04190fa2: Pulling fs layer 11:05:38 2f39f015ded8: Pulling fs layer 11:05:38 33b1e0a273af: Waiting 11:05:38 3a2ae6a8a46f: Waiting 11:05:38 5d3b04190fa2: Waiting 11:05:38 2f39f015ded8: Waiting 11:05:38 5c69ac0246d0: Download complete 11:05:38 3a2ae6a8a46f: Verifying Checksum 11:05:38 3a2ae6a8a46f: Download complete 11:05:38 33b1e0a273af: Verifying Checksum 11:05:38 33b1e0a273af: Download complete 11:05:38 5d3b04190fa2: Verifying Checksum 11:05:38 5d3b04190fa2: Download complete 11:05:38 ec43610c2a17: Verifying Checksum 11:05:38 ec43610c2a17: Download complete 11:05:38 5eb5b503b376: Verifying Checksum 11:05:38 5eb5b503b376: Download complete 11:05:38 2f39f015ded8: Download complete 11:05:39 5eb5b503b376: Pull complete 11:05:39 5c69ac0246d0: Pull complete 11:05:40 ec43610c2a17: Pull complete 11:05:40 3a2ae6a8a46f: Pull complete 11:05:40 33b1e0a273af: Pull complete 11:05:40 5d3b04190fa2: Pull complete 11:05:44 2f39f015ded8: Pull complete 11:05:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:05:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:44 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:05:44 $ 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 11:05:46 $ docker top 06d32f79e67641416a62bc215cba228946e90c9ac353e9e82fb1feb6422d1d33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:46 ---> job-cost.sh 11:05:46 lf-activate-venv: SKIPPING 11:05:46 INFO: No Stack... 11:05:46 INFO: Retrieving Pricing Info for: v3-standard-8 11:05:47 INFO: Archiving Costs [Pipeline] sh 11:05:47 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 11:05:47 + cut -d, -f6 [Pipeline] lock 11:05:47 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-68-stack-cost] 11:05:47 Resource [jenkins-edgexfoundry-device-mqtt-go-main-68-stack-cost] did not exist. Created. 11:05:47 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:05:47 + echo total: 0.2199999988079071 [Pipeline] stash 11:05:47 Stashed 1 file(s) [Pipeline] } 11:05:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 11:05:47 $ docker stop --time=1 06d32f79e67641416a62bc215cba228946e90c9ac353e9e82fb1feb6422d1d33 11:05:49 $ docker rm -f 06d32f79e67641416a62bc215cba228946e90c9ac353e9e82fb1feb6422d1d33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:08:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7332 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 11:08:38 Running in /w/workspace/device-mqtt-go/68 [Pipeline] { [Pipeline] checkout 11:08:38 Selected Git installation does not exist. Using Default 11:08:38 The recommended git tool is: NONE 11:08:44 using credential edgex-jenkins-ssh 11:08:44 Cloning the remote Git repository 11:08:44 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:08:45 > git init /w/workspace/device-mqtt-go/68 # timeout=10 11:08:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:08:45 > git --version # timeout=10 11:08:45 > git --version # 'git version 2.25.1' 11:08:45 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:45 Verifying host key using known hosts file 11:08:45 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. 11:08:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:08:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:47 Avoid second fetch 11:08:47 Checking out Revision 1a028d96f2f1053b1975dad0f0d16109b5d4490c (main) 11:08:48 Commit message: "fix(snap): Remove duplicate file copying in install hook (#420)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:08:47 > git config core.sparsecheckout # timeout=10 11:08:47 > git checkout -f 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 11:08:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:08:49 % Total % Received % Xferd Average Speed Time Time Time Current 11:08:49 Dload Upload Total Spent Left Speed 11:08:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94044 0 --:--:-- --:--:-- --:--:-- 94044 [Pipeline] sh 11:08:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:08:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:08:50 + sudo tee /etc/docker/daemon.new 11:08:50 { 11:08:50 "registry-mirrors": [ 11:08:50 "https://nexus3.edgexfoundry.org:10001" 11:08:50 ], 11:08:50 "bip": "10.250.0.254/24", 11:08:50 "hosts": [ 11:08:50 "tcp://0.0.0.0:5555", 11:08:50 "unix:///var/run/docker.sock" 11:08:50 ], 11:08:50 "mtu": 1458, 11:08:50 "selinux-enabled": true, 11:08:50 "seccomp-profile": "/etc/docker/seccomp.json" 11:08:50 } [Pipeline] sh 11:08:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:08:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:09 provisioning config files... 11:09:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/68@tmp/config18007054931496038890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:09 ---> docker-login.sh 11:09:09 nexus3.edgexfoundry.org:10001 11:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:10 Configure a credential helper to remove this warning. See 11:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:10 11:09:10 Login Succeeded 11:09:10 nexus3.edgexfoundry.org:10002 11:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:10 Configure a credential helper to remove this warning. See 11:09:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:10 11:09:10 Login Succeeded 11:09:10 nexus3.edgexfoundry.org:10003 11:09:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:11 Configure a credential helper to remove this warning. See 11:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:11 11:09:11 Login Succeeded 11:09:11 nexus3.edgexfoundry.org:10004 11:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:11 Configure a credential helper to remove this warning. See 11:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:11 11:09:11 Login Succeeded 11:09:11 docker.io 11:09:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:11 Configure a credential helper to remove this warning. See 11:09:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:11 11:09:11 Login Succeeded 11:09:12 ---> docker-login.sh ends [Pipeline] } 11:09:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:09:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:12 ========================================================= 11:09:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:09:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:12 + 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 . 11:09:12 Sending build context to Docker daemon 3.17MB 11:09:12 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:09:12 Step 2/13 : FROM ${BASE} AS builder 11:09:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:09:13 b3c136eddcbf: Pulling fs layer 11:09:13 c0a3192eca97: Pulling fs layer 11:09:13 a050256f5b6f: Pulling fs layer 11:09:13 656be50a0ddc: Pulling fs layer 11:09:13 2bbca73fdf42: Pulling fs layer 11:09:13 f607e4fc86c3: Pulling fs layer 11:09:13 4d572c569a2c: Pulling fs layer 11:09:13 fcf976331f73: Pulling fs layer 11:09:13 656be50a0ddc: Waiting 11:09:13 2bbca73fdf42: Waiting 11:09:13 f607e4fc86c3: Waiting 11:09:13 4d572c569a2c: Waiting 11:09:13 fcf976331f73: Waiting 11:09:13 a050256f5b6f: Download complete 11:09:13 c0a3192eca97: Verifying Checksum 11:09:13 c0a3192eca97: Download complete 11:09:13 2bbca73fdf42: Verifying Checksum 11:09:13 2bbca73fdf42: Download complete 11:09:13 f607e4fc86c3: Verifying Checksum 11:09:13 f607e4fc86c3: Download complete 11:09:13 b3c136eddcbf: Verifying Checksum 11:09:14 fcf976331f73: Verifying Checksum 11:09:14 fcf976331f73: Download complete 11:09:14 b3c136eddcbf: Pull complete 11:09:15 c0a3192eca97: Pull complete 11:09:15 4d572c569a2c: Verifying Checksum 11:09:15 4d572c569a2c: Download complete 11:09:15 a050256f5b6f: Pull complete 11:09:15 656be50a0ddc: Verifying Checksum 11:09:15 656be50a0ddc: Download complete 11:09:28 656be50a0ddc: Pull complete 11:09:28 2bbca73fdf42: Pull complete 11:09:28 f607e4fc86c3: Pull complete 11:09:33 4d572c569a2c: Pull complete 11:09:35 fcf976331f73: Pull complete 11:09:35 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 11:09:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:09:35 ---> 3970a7415f9e 11:09:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 11:09:37 ---> Running in 4e82c22846d1 11:09:37 Removing intermediate container 4e82c22846d1 11:09:37 ---> f6fea33ff798 11:09:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:09:37 ---> Running in 13bc34a05c7d 11:09:38 Removing intermediate container 13bc34a05c7d 11:09:38 ---> 7f665d6dba87 11:09:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:09:38 ---> Running in c1ffc14707a5 11:09:38 Removing intermediate container c1ffc14707a5 11:09:38 ---> 91f2d6a64bb4 11:09:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 11:09:38 ---> Running in 6b4c70ac0168 11:09:38 Removing intermediate container 6b4c70ac0168 11:09:38 ---> 43790739e95b 11:09:38 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:38 ---> Running in dc349322e81a 11:09:40 Removing intermediate container dc349322e81a 11:09:40 ---> b2adb68959c5 11:09:40 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:40 ---> Running in 9e46f9f384da 11:09:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:09:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:09:44 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:09:44 (2/4) Installing libedit (20210910.3.1-r0) 11:09:44 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:09:44 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:09:44 Executing busybox-1.35.0-r13.trigger 11:09:44 OK: 226 MiB in 55 packages 11:09:45 Removing intermediate container 9e46f9f384da 11:09:45 ---> dff3c1e3418b 11:09:45 Step 9/13 : WORKDIR /device-mqtt-go 11:09:45 ---> Running in 50f0c848cb2e 11:09:46 Removing intermediate container 50f0c848cb2e 11:09:46 ---> 47faf6711ee9 11:09:46 Step 10/13 : COPY go.mod vendor* ./ 11:09:46 ---> fc94589d9d65 11:09:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:09:46 ---> Running in d7e9e9d43d5d 11:10:43 Removing intermediate container d7e9e9d43d5d 11:10:43 ---> 2a5168d7d47e 11:10:43 Step 12/13 : COPY . . 11:10:43 ---> 19824eed2360 11:10:43 Step 13/13 : RUN $MAKE 11:10:43 ---> Running in d8da5f0400b1 11:10:43 noop 11:10:43 Removing intermediate container d8da5f0400b1 11:10:43 ---> 69a02b043c58 11:10:43 Successfully built 69a02b043c58 11:10:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:43 + docker inspect -f . ci-base-image-arm64 11:10:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:43 prd-ubuntu20.04-docker-arm64-4c-16g-7332 does not seem to be running inside a container 11:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/68 -v /w/workspace/device-mqtt-go/68:/w/workspace/device-mqtt-go/68:rw,z -v /w/workspace/device-mqtt-go/68@tmp:/w/workspace/device-mqtt-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:10:44 $ docker top 0b590db488b3f4941bf1a46c251f93dda4e7d154597affb432ee8a700c775271 -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:45 + go version 11:10:45 go version go1.18.3 linux/arm64 [Pipeline] } 11:10:45 $ docker stop --time=1 0b590db488b3f4941bf1a46c251f93dda4e7d154597affb432ee8a700c775271 11:10:47 $ docker rm -f 0b590db488b3f4941bf1a46c251f93dda4e7d154597affb432ee8a700c775271 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:48 + docker inspect -f . ci-base-image-arm64 11:10:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:48 prd-ubuntu20.04-docker-arm64-4c-16g-7332 does not seem to be running inside a container 11:10:48 $ 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/68 -v /w/workspace/device-mqtt-go/68:/w/workspace/device-mqtt-go/68:rw,z -v /w/workspace/device-mqtt-go/68@tmp:/w/workspace/device-mqtt-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:10:49 $ docker top a34757708a7a6805802d641796c41570c49ba7701d390c376145553c93c0307b -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:50 + git config --global --add safe.directory /w/workspace/device-mqtt-go/68 [Pipeline] fileExists [Pipeline] sh 11:10:50 + make test 11:10:50 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:10:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:12:28 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:12:28 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 11:12:28 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:12:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:12:28 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:12:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:12:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:12:41 ./bin/test-attribution-txt.sh [Pipeline] echo 11:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:12:41 $ docker stop --time=1 a34757708a7a6805802d641796c41570c49ba7701d390c376145553c93c0307b 11:12:43 $ docker rm -f a34757708a7a6805802d641796c41570c49ba7701d390c376145553c93c0307b [Pipeline] // withDockerContainer [Pipeline] sh 11:12:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:44 Warning: overwriting stash ‘coverage-report’ 11:12:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:12:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:45 + ls -al . 11:12:45 total 180 11:12:45 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 11:10 . 11:12:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:08 .. 11:12:45 -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 11:08 .dockerignore 11:12:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 11:08 .git 11:12:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:08 .github 11:12:45 -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 11:08 .gitignore 11:12:45 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 11:08 .golangci.yml 11:12:45 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 7 11:08 Attribution.txt 11:12:45 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 7 11:08 CHANGELOG.md 11:12:45 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 7 11:08 Dockerfile 11:12:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 11:08 GOVERNANCE.md 11:12:45 -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 11:08 Jenkinsfile 11:12:45 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 11:08 LICENSE 11:12:45 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 7 11:08 Makefile 11:12:45 -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 11:08 OWNERS.md 11:12:45 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 7 11:08 README.md 11:12:45 -rw-rw-r-- 1 jenkins jenkins 12 Oct 7 11:04 VERSION 11:12:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:08 bin 11:12:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:08 cmd 11:12:45 -rw-r--r-- 1 jenkins jenkins 17887 Oct 7 11:12 coverage.out 11:12:45 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 7 11:08 go.mod 11:12:45 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 7 11:08 go.sum 11:12:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:08 internal 11:12:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:08 mock 11:12:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:08 snap 11:12:45 -rw-rw-r-- 1 jenkins jenkins 227 Oct 7 11:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:46 + 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=1a028d96f2f1053b1975dad0f0d16109b5d4490c --label arch=arm64 --label version=2.3.0-dev.21 . 11:12:46 Sending build context to Docker daemon 3.188MB 11:12:46 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:12:46 Step 2/25 : FROM ${BASE} AS builder 11:12:46 ---> 69a02b043c58 11:12:46 Step 3/25 : ARG ADD_BUILD_TAGS="" 11:12:46 ---> Running in f19588f696e4 11:12:46 Removing intermediate container f19588f696e4 11:12:46 ---> e3bc947f3ae7 11:12:46 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:12:46 ---> Running in 0f41dae3d4a5 11:12:47 Removing intermediate container 0f41dae3d4a5 11:12:47 ---> 28fdc6c277dc 11:12:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:12:47 ---> Running in 242a7f8087fb 11:12:47 Removing intermediate container 242a7f8087fb 11:12:47 ---> 95af6e13d4bd 11:12:47 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 11:12:47 ---> Running in adf7723cf622 11:12:48 Removing intermediate container adf7723cf622 11:12:48 ---> 7704da1d7c70 11:12:48 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:12:48 ---> Running in bf45d31934a0 11:12:50 Removing intermediate container bf45d31934a0 11:12:50 ---> d2cd8246b52b 11:12:50 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:50 ---> Running in 3b25314535d2 11:12:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:12:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:12:52 OK: 226 MiB in 55 packages 11:12:53 Removing intermediate container 3b25314535d2 11:12:53 ---> f554dd777681 11:12:53 Step 9/25 : WORKDIR /device-mqtt-go 11:12:53 ---> Running in 8870fb7e2035 11:12:55 Removing intermediate container 8870fb7e2035 11:12:55 ---> e1f26ac47892 11:12:55 Step 10/25 : COPY go.mod vendor* ./ 11:12:55 ---> 642ca9c0609c 11:12:55 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:12:55 ---> Running in 07c7c2aaf743 11:12:58 Removing intermediate container 07c7c2aaf743 11:12:58 ---> 507117b264d2 11:12:58 Step 12/25 : COPY . . 11:12:58 ---> f0ad281d69de 11:12:58 Step 13/25 : RUN $MAKE 11:12:59 ---> Running in af67b35db55a 11:13:00 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 11:15:36 Removing intermediate container af67b35db55a 11:15:36 ---> 3f0fce9582f3 11:15:36 Step 14/25 : FROM alpine:3.16 11:15:36 3.16: Pulling from library/alpine 11:15:36 9b18e9b68314: Pulling fs layer 11:15:36 9b18e9b68314: Verifying Checksum 11:15:36 9b18e9b68314: Download complete 11:15:36 9b18e9b68314: Pull complete 11:15:36 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:15:36 Status: Downloaded newer image for alpine:3.16 11:15:36 ---> a6215f271958 11:15:36 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:15:36 ---> Running in 0b024a090d96 11:15:36 Removing intermediate container 0b024a090d96 11:15:36 ---> 55c817b6d5ad 11:15:36 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 11:15:36 ---> Running in 691c674cc958 11:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:15:37 (1/6) Installing dumb-init (1.2.5-r1) 11:15:37 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:15:37 (3/6) Installing libsodium (1.0.18-r0) 11:15:37 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:15:37 (5/6) Installing libzmq (4.3.4-r0) 11:15:37 (6/6) Installing zeromq (4.3.4-r0) 11:15:37 Executing busybox-1.35.0-r17.trigger 11:15:37 OK: 8 MiB in 20 packages 11:15:38 Removing intermediate container 691c674cc958 11:15:38 ---> 6ba76a145a4d 11:15:38 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 11:15:39 ---> fc16f8b79cd8 11:15:39 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 11:15:39 ---> 7e2ead24ac2e 11:15:39 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:15:40 ---> 8acb0bc3623d 11:15:40 Step 20/25 : EXPOSE 59982 11:15:40 ---> Running in 1695bc19eea1 11:15:40 Removing intermediate container 1695bc19eea1 11:15:40 ---> ccc9c7f13b46 11:15:40 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 11:15:41 ---> Running in 805e2aea512e 11:15:41 Removing intermediate container 805e2aea512e 11:15:41 ---> 9075136448bf 11:15:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:15:41 ---> Running in f8828b3566a2 11:15:41 Removing intermediate container f8828b3566a2 11:15:41 ---> 38c4eb458cf1 11:15:41 Step 23/25 : LABEL arch=arm64 11:15:41 ---> Running in a90fa37bb4ca 11:15:41 Removing intermediate container a90fa37bb4ca 11:15:41 ---> 309368402e03 11:15:41 Step 24/25 : LABEL git_sha=1a028d96f2f1053b1975dad0f0d16109b5d4490c 11:15:42 ---> Running in b8c1f39477a0 11:15:42 Removing intermediate container b8c1f39477a0 11:15:42 ---> 36e9f3eeafab 11:15:42 Step 25/25 : LABEL version=2.3.0-dev.21 11:15:42 ---> Running in 295aa7b43a80 11:15:42 Removing intermediate container 295aa7b43a80 11:15:42 ---> 0cc511280c36 11:15:42 [Warning] One or more build-args [ARCH] were not consumed 11:15:42 Successfully built 0cc511280c36 11:15:42 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 11:15:42 provisioning config files... 11:15:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/68@tmp/config1552264561222831400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:43 ---> docker-login.sh 11:15:43 nexus3.edgexfoundry.org:10001 11:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:43 Configure a credential helper to remove this warning. See 11:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:43 11:15:43 Login Succeeded 11:15:43 nexus3.edgexfoundry.org:10002 11:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:43 Configure a credential helper to remove this warning. See 11:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:43 11:15:43 Login Succeeded 11:15:43 nexus3.edgexfoundry.org:10003 11:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:44 Configure a credential helper to remove this warning. See 11:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:44 11:15:44 Login Succeeded 11:15:44 nexus3.edgexfoundry.org:10004 11:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:44 Configure a credential helper to remove this warning. See 11:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:44 11:15:44 Login Succeeded 11:15:44 docker.io 11:15:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:45 Configure a credential helper to remove this warning. See 11:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:45 11:15:45 Login Succeeded 11:15:45 ---> docker-login.sh ends [Pipeline] } 11:15:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:15:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:15:45 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 11:15:45 1a028d96f2f1053b1975dad0f0d16109b5d4490c 11:15:45 latest 11:15:45 2.3.0-dev.21 11:15:45 1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21 11:15:45 main 11:15:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1a028d96f2f1053b1975dad0f0d16109b5d4490c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1a028d96f2f1053b1975dad0f0d16109b5d4490c 11:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:15:46 73fa84b3a83a: Preparing 11:15:46 fb054fbda5c0: Preparing 11:15:46 f0b90639d403: Preparing 11:15:46 aedac207b521: Preparing 11:15:46 5d3e392a13a0: Preparing 11:15:46 5d3e392a13a0: Layer already exists 11:15:46 fb054fbda5c0: Pushed 11:15:46 73fa84b3a83a: Pushed 11:15:46 aedac207b521: Pushed 11:15:52 f0b90639d403: Pushed 11:15:52 1a028d96f2f1053b1975dad0f0d16109b5d4490c: digest: sha256:4ce69ad7d9300679e11e8efdb9af3f58a34b7b3f7feaeef58024bd54e63e8168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:15:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:15:52 73fa84b3a83a: Preparing 11:15:52 fb054fbda5c0: Preparing 11:15:52 f0b90639d403: Preparing 11:15:52 aedac207b521: Preparing 11:15:52 5d3e392a13a0: Preparing 11:15:52 5d3e392a13a0: Layer already exists 11:15:52 73fa84b3a83a: Layer already exists 11:15:52 fb054fbda5c0: Layer already exists 11:15:52 f0b90639d403: Layer already exists 11:15:52 aedac207b521: Layer already exists 11:15:53 latest: digest: sha256:4ce69ad7d9300679e11e8efdb9af3f58a34b7b3f7feaeef58024bd54e63e8168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.21 11:15:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:15:53 73fa84b3a83a: Preparing 11:15:53 fb054fbda5c0: Preparing 11:15:53 f0b90639d403: Preparing 11:15:53 aedac207b521: Preparing 11:15:53 5d3e392a13a0: Preparing 11:15:53 5d3e392a13a0: Layer already exists 11:15:53 f0b90639d403: Layer already exists 11:15:53 fb054fbda5c0: Layer already exists 11:15:53 aedac207b521: Layer already exists 11:15:53 73fa84b3a83a: Layer already exists 11:15:53 2.3.0-dev.21: digest: sha256:4ce69ad7d9300679e11e8efdb9af3f58a34b7b3f7feaeef58024bd54e63e8168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21 11:15:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:15:54 73fa84b3a83a: Preparing 11:15:54 fb054fbda5c0: Preparing 11:15:54 f0b90639d403: Preparing 11:15:54 aedac207b521: Preparing 11:15:54 5d3e392a13a0: Preparing 11:15:54 aedac207b521: Layer already exists 11:15:54 fb054fbda5c0: Layer already exists 11:15:54 5d3e392a13a0: Layer already exists 11:15:54 73fa84b3a83a: Layer already exists 11:15:54 f0b90639d403: Layer already exists 11:15:54 1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21: digest: sha256:4ce69ad7d9300679e11e8efdb9af3f58a34b7b3f7feaeef58024bd54e63e8168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 11:15:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:15:55 73fa84b3a83a: Preparing 11:15:55 fb054fbda5c0: Preparing 11:15:55 f0b90639d403: Preparing 11:15:55 aedac207b521: Preparing 11:15:55 5d3e392a13a0: Preparing 11:15:55 f0b90639d403: Layer already exists 11:15:55 73fa84b3a83a: Layer already exists 11:15:55 5d3e392a13a0: Layer already exists 11:15:55 fb054fbda5c0: Layer already exists 11:15:55 aedac207b521: Layer already exists 11:15:55 main: digest: sha256:4ce69ad7d9300679e11e8efdb9af3f58a34b7b3f7feaeef58024bd54e63e8168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:15:55 ===================================================== [Pipeline] echo 11:15:55 taggedImages: 11:15:55 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1a028d96f2f1053b1975dad0f0d16109b5d4490c 11:15:55 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:15:55 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.21 11:15:55 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1a028d96f2f1053b1975dad0f0d16109b5d4490c-2.3.0-dev.21 11:15:55 - 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 11:15:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:55 11:15:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:56 arm64: Pulling from edgex-lftools-log-publisher 11:15:56 8998bd30e6a1: Pulling fs layer 11:15:56 04944245beec: Pulling fs layer 11:15:56 699f458cf7ca: Pulling fs layer 11:15:56 765212b225bb: Pulling fs layer 11:15:56 f23df028b6ca: Pulling fs layer 11:15:56 d65c8cfc05b1: Pulling fs layer 11:15:56 2437ff75d9bd: Pulling fs layer 11:15:56 f23df028b6ca: Waiting 11:15:56 765212b225bb: Waiting 11:15:56 d65c8cfc05b1: Waiting 11:15:56 2437ff75d9bd: Waiting 11:15:56 04944245beec: Verifying Checksum 11:15:56 04944245beec: Download complete 11:15:56 765212b225bb: Verifying Checksum 11:15:56 765212b225bb: Download complete 11:15:56 f23df028b6ca: Download complete 11:15:56 d65c8cfc05b1: Verifying Checksum 11:15:56 d65c8cfc05b1: Download complete 11:15:56 699f458cf7ca: Verifying Checksum 11:15:56 699f458cf7ca: Download complete 11:15:56 8998bd30e6a1: Verifying Checksum 11:15:56 8998bd30e6a1: Download complete 11:15:58 2437ff75d9bd: Verifying Checksum 11:15:58 2437ff75d9bd: Download complete 11:16:00 8998bd30e6a1: Pull complete 11:16:01 04944245beec: Pull complete 11:16:02 699f458cf7ca: Pull complete 11:16:02 765212b225bb: Pull complete 11:16:03 f23df028b6ca: Pull complete 11:16:03 d65c8cfc05b1: Pull complete 11:16:18 2437ff75d9bd: Pull complete 11:16:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:16:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:18 prd-ubuntu20.04-docker-arm64-4c-16g-7332 does not seem to be running inside a container 11:16:18 $ 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/68 -v /w/workspace/device-mqtt-go/68:/w/workspace/device-mqtt-go/68:rw,z -v /w/workspace/device-mqtt-go/68@tmp:/w/workspace/device-mqtt-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:16:21 $ docker top a0e9e351f7cf34da74065d84ffe70f6714f67804a293719606f189ef2764aa21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:21 ---> job-cost.sh 11:16:22 lf-activate-venv: SKIPPING 11:16:22 INFO: No Stack... 11:16:22 INFO: Retrieving Pricing Info for: v3-standard-4 11:16:23 INFO: Archiving Costs [Pipeline] sh 11:16:24 + cut -d, -f6 11:16:24 + cat /w/workspace/device-mqtt-go/68/archives/cost.csv [Pipeline] lock 11:16:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-68-stack-cost] 11:16:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-68-stack-cost] did not exist. Created. 11:16:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:16:24 /w/workspace/device-mqtt-go/68@tmp/durable-f6200b57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:16:24 + echo total: 0.10999999940395355 [Pipeline] stash 11:16:24 Warning: overwriting stash ‘stack-cost’ 11:16:24 Stashed 1 file(s) [Pipeline] } 11:16:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 11:16:24 $ docker stop --time=1 a0e9e351f7cf34da74065d84ffe70f6714f67804a293719606f189ef2764aa21 11:16:26 $ docker rm -f a0e9e351f7cf34da74065d84ffe70f6714f67804a293719606f189ef2764aa21 [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 11:16:26 provisioning config files... 11:16:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11161256326637239690tmp [Pipeline] { [Pipeline] sh 11:16:27 + set +x 11:16:27 + + bash -s --curl 11:16:27 -s https://codecov.io/bash 11:16:27 11:16:27 _____ _ 11:16:27 / ____| | | 11:16:27 | | ___ __| | ___ ___ _____ __ 11:16:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:16:27 | |___| (_) | (_| | __/ (_| (_) \ V / 11:16:27 \_____\___/ \__,_|\___|\___\___/ \_/ 11:16:27 Bash-1.0.6 11:16:27 11:16:27 11:16:27 ==> git version 2.25.1 found 11:16:27 ==> 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 11:16:27 Release-Date: 2020-01-08 11:16:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:16:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:16:27 ==> Jenkins CI detected. 11:16:27 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 11:16:27 project root: . 11:16:27 --> token set from env 11:16:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:16:27 ==> Running gcov in . (disable via -X gcov) 11:16:27 ==> Python coveragepy not found 11:16:27 ==> Searching for coverage reports in: 11:16:27 + . 11:16:27 -> Found 1 reports 11:16:27 ==> Detecting git/mercurial file structure 11:16:27 ==> Reading reports 11:16:27 + ./coverage.out bytes=17887 11:16:27 ==> Appending adjustments 11:16:27 https://docs.codecov.io/docs/fixing-reports 11:16:27 + Found adjustments 11:16:27 ==> Gzipping contents 11:16:27 4.0K /tmp/codecov.VbYwl2.gz 11:16:27 ==> Uploading reports 11:16:27 url: https://codecov.io 11:16:27 query: branch=main&commit=1a028d96f2f1053b1975dad0f0d16109b5d4490c&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:16:27 -> Pinging Codecov 11:16:27 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=1a028d96f2f1053b1975dad0f0d16109b5d4490c&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:16:27 -> Uploading to 11:16:27 https://storage.googleapis.com/codecov/v4/raw/2022-10-07/7D719EC7BBE17E464838252E33014C33/1a028d96f2f1053b1975dad0f0d16109b5d4490c/a37b3190-de57-4466-86eb-6754bef9ed0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T111627Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb60284fb025fd61d32b041af4d8f2965c87a415a7ff75c78d9d1b13a84b2a3b 11:16:27 % Total % Received % Xferd Average Speed Time Time Time Current 11:16:27 Dload Upload Total Spent Left Speed 11:16:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 15768 --:--:-- --:--:-- --:--:-- 15691 100 3201 0 0 100 3201 0 15028 --:--:-- --:--:-- --:--:-- 14957 11:16:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1a028d96f2f1053b1975dad0f0d16109b5d4490c [Pipeline] } 11:16:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:16:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:16:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:16:28 11:16:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:16:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:16:28 df9b9388f04a: Pulling fs layer 11:16:28 52dc419b0ee2: Pulling fs layer 11:16:28 25bc292e5bac: Pulling fs layer 11:16:28 114826534d7a: Pulling fs layer 11:16:28 4657fd5d0bcf: Pulling fs layer 11:16:28 6ad1cebc031e: Pulling fs layer 11:16:28 8a3aa393b2d8: Pulling fs layer 11:16:28 6ad1cebc031e: Waiting 11:16:28 8a3aa393b2d8: Waiting 11:16:28 114826534d7a: Waiting 11:16:28 4657fd5d0bcf: Waiting 11:16:28 25bc292e5bac: Download complete 11:16:28 52dc419b0ee2: Download complete 11:16:28 4657fd5d0bcf: Verifying Checksum 11:16:28 4657fd5d0bcf: Download complete 11:16:28 df9b9388f04a: Download complete 11:16:28 df9b9388f04a: Pull complete 11:16:28 6ad1cebc031e: Download complete 11:16:28 52dc419b0ee2: Pull complete 11:16:29 25bc292e5bac: Pull complete 11:16:29 114826534d7a: Verifying Checksum 11:16:29 114826534d7a: Download complete 11:16:29 8a3aa393b2d8: Verifying Checksum 11:16:29 8a3aa393b2d8: Download complete 11:16:32 114826534d7a: Pull complete 11:16:32 4657fd5d0bcf: Pull complete 11:16:32 6ad1cebc031e: Pull complete 11:16:35 8a3aa393b2d8: Pull complete 11:16:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 11:16:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:16:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:35 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:16:35 $ 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 11:16:37 $ docker top a647b082c0a6c923cf92f19146ea01fab6c97c198795611cf889c9e6bf7da2a3 -eo pid,comm [Pipeline] { [Pipeline] echo 11:16:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 11:16:38 + set -o pipefail 11:16:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 11:16:44 11:16:44 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 11:16:44 11:16:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/46ee20b6-22ff-47cc-b178-6fd14fe31440 11:16:44 11:16:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:16:44 11:16:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:16:44 11:16:44 11:16:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 11:16:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 11:16:44 More details here: https://snyk.co/ue1NS [Pipeline] } 11:16:44 $ docker stop --time=1 a647b082c0a6c923cf92f19146ea01fab6c97c198795611cf889c9e6bf7da2a3 11:16:46 $ docker rm -f a647b082c0a6c923cf92f19146ea01fab6c97c198795611cf889c9e6bf7da2a3 [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 11:16:47 + git log --format=format:%s -1 1a028d96f2f1053b1975dad0f0d16109b5d4490c [Pipeline] sh 11:16:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:16:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:16:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:48 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:16:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:16:48 $ docker top 5c4c38835392044fbd3b6b538ca80a5b62a6e852e6de4ae58dafcbf1126155f1 -eo pid,comm 11:16:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:16:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:16:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:16:48 [ssh-agent] Looking for ssh-agent implementation... 11:16:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:16:48 $ docker exec 5c4c38835392044fbd3b6b538ca80a5b62a6e852e6de4ae58dafcbf1126155f1 ssh-agent 11:16:48 SSH_AUTH_SOCK=/tmp/ssh-YBCzm6Jpsd4I/agent.33 11:16:48 SSH_AGENT_PID=40 11:16:48 Running ssh-add (command line suppressed) 11:16:48 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16698931754301513637.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16698931754301513637.key) 11:16:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:16:49 + git semver tag 11:16:49 2022-10-07 11:16:49,459 [run_tag] DEBUG tag force:False 11:16:49 2022-10-07 11:16:49,459 [check_head_tag] DEBUG check head tag 11:16:49 2022-10-07 11:16:49,460 [execute] INFO git cat-file --batch-check 11:16:49 2022-10-07 11:16:49,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 11:16:49 2022-10-07 11:16:49,463 [execute] INFO git cat-file --batch 11:16:49 2022-10-07 11:16:49,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 11:16:49 2022-10-07 11:16:49,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:16:49 2022-10-07 11:16:49,473 [execute] INFO git tag -a v2.3.0-dev.21 -m v2.3.0-dev.21 11:16:49 2022-10-07 11:16:49,473 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.21', '-m', 'v2.3.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 11:16:49 2022-10-07 11:16:49,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:16:49 2.3.0-dev.21 [Pipeline] } 11:16:49 $ docker exec --env ******** --env ******** 5c4c38835392044fbd3b6b538ca80a5b62a6e852e6de4ae58dafcbf1126155f1 ssh-agent -k 11:16:49 unset SSH_AUTH_SOCK; 11:16:49 unset SSH_AGENT_PID; 11:16:49 echo Agent pid 40 killed; 11:16:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:16:49 + git semver [Pipeline] } 11:16:50 $ docker stop --time=1 5c4c38835392044fbd3b6b538ca80a5b62a6e852e6de4ae58dafcbf1126155f1 11:16:51 $ docker rm -f 5c4c38835392044fbd3b6b538ca80a5b62a6e852e6de4ae58dafcbf1126155f1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:16:51 11:16:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:16:52 0.23.1-centos7: Pulling from edgex-lftools 11:16:52 ab5ef0e58194: Pulling fs layer 11:16:52 9712f1f96733: Pulling fs layer 11:16:52 63f879dbbcfc: Pulling fs layer 11:16:52 0d9ebad4ef96: Pulling fs layer 11:16:52 e9a5061849ea: Pulling fs layer 11:16:52 d747dcd14b5f: Pulling fs layer 11:16:52 2de7ff778b66: Pulling fs layer 11:16:52 0d9ebad4ef96: Waiting 11:16:52 e9a5061849ea: Waiting 11:16:52 2de7ff778b66: Waiting 11:16:52 d747dcd14b5f: Waiting 11:16:52 9712f1f96733: Verifying Checksum 11:16:52 9712f1f96733: Download complete 11:16:52 63f879dbbcfc: Verifying Checksum 11:16:52 63f879dbbcfc: Download complete 11:16:52 e9a5061849ea: Verifying Checksum 11:16:52 e9a5061849ea: Download complete 11:16:52 d747dcd14b5f: Verifying Checksum 11:16:52 d747dcd14b5f: Download complete 11:16:52 0d9ebad4ef96: Verifying Checksum 11:16:52 0d9ebad4ef96: Download complete 11:16:52 ab5ef0e58194: Verifying Checksum 11:16:52 ab5ef0e58194: Download complete 11:16:53 2de7ff778b66: Download complete 11:16:55 ab5ef0e58194: Pull complete 11:16:55 9712f1f96733: Pull complete 11:16:56 63f879dbbcfc: Pull complete 11:16:59 0d9ebad4ef96: Pull complete 11:16:59 e9a5061849ea: Pull complete 11:16:59 d747dcd14b5f: Pull complete 11:17:00 2de7ff778b66: Pull complete 11:17:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:17:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:17:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:00 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:17:00 $ 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 11:17:02 $ docker top c20ea03ba55e7157c77194d0676b58a65ac889126972c7a2b9d89b3aa5642d55 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:17:03 provisioning config files... 11:17:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10883747857799437148tmp 11:17:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13750231515013502156tmp 11:17:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16117160384350840706tmp [Pipeline] { [Pipeline] echo 11:17:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:17:03 ---> sigul-configuration.sh 11:17:03 gpg: directory `/root/.gnupg' created 11:17:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:17:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:17:03 gpg: keyring `/root/.gnupg/secring.gpg' created 11:17:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:17:03 gpg: CAST5 encrypted data 11:17:03 gpg: encrypted with 1 passphrase 11:17:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:17:03 + mkdir /home/jenkins 11:17:03 + mkdir /home/jenkins/sigul [Pipeline] sh 11:17:03 + 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 11:17:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:17:04 ---> sigul-install.sh 11:17:04 Sigul already installed; skipping installation. [Pipeline] sh 11:17:04 + git tag --list 11:17:04 0.7.1 11:17:04 v1.0.0 11:17:04 v1.1.0 11:17:04 v1.1.1 11:17:04 v1.2.2 11:17:04 v1.3.0 11:17:04 v1.3.1 11:17:04 v2.0.0 11:17:04 v2.1.0 11:17:04 v2.1.1 11:17:04 v2.1.1-dev.1 11:17:04 v2.1.1-dev.2 11:17:04 v2.2.0 11:17:04 v2.2.1-dev.1 11:17:04 v2.2.1-dev.10 11:17:04 v2.2.1-dev.2 11:17:04 v2.2.1-dev.3 11:17:04 v2.2.1-dev.4 11:17:04 v2.2.1-dev.5 11:17:04 v2.2.1-dev.6 11:17:04 v2.2.1-dev.7 11:17:04 v2.2.1-dev.8 11:17:04 v2.2.1-dev.9 11:17:04 v2.3.0-dev.10 11:17:04 v2.3.0-dev.11 11:17:04 v2.3.0-dev.12 11:17:04 v2.3.0-dev.13 11:17:04 v2.3.0-dev.14 11:17:04 v2.3.0-dev.15 11:17:04 v2.3.0-dev.16 11:17:04 v2.3.0-dev.17 11:17:04 v2.3.0-dev.18 11:17:04 v2.3.0-dev.19 11:17:04 v2.3.0-dev.20 11:17:04 v2.3.0-dev.21 [Pipeline] sh 11:17:04 + lftools sign git-tag v2.3.0-dev.21 11:17:05 Signing Git tag with Sigul... 11:17:05 Signing v2.3.0-dev.21 [Pipeline] echo 11:17:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:17:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:17:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:17:05 $ docker stop --time=1 c20ea03ba55e7157c77194d0676b58a65ac889126972c7a2b9d89b3aa5642d55 11:17:07 $ docker rm -f c20ea03ba55e7157c77194d0676b58a65ac889126972c7a2b9d89b3aa5642d55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:17:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:17:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:17:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:07 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:17:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:17:08 $ docker top 822628caa7c3dc8f2bd80b065ba9addbfd93f3c41767f9fbd37c3c3f8b12b242 -eo pid,comm 11:17:08 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). 11:17:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:17:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:17:08 [ssh-agent] Looking for ssh-agent implementation... 11:17:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:17:08 $ docker exec 822628caa7c3dc8f2bd80b065ba9addbfd93f3c41767f9fbd37c3c3f8b12b242 ssh-agent 11:17:08 SSH_AUTH_SOCK=/tmp/ssh-JcepO5RVf1bj/agent.32 11:17:08 SSH_AGENT_PID=38 11:17:08 Running ssh-add (command line suppressed) 11:17:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10365091253879439646.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10365091253879439646.key) 11:17:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:17:09 + git semver bump pre 11:17:09 2022-10-07 11:17:09,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:17:09 2022-10-07 11:17:09,199 [bump_version] DEBUG bumping version:2.3.0-dev.21 on axis:pre with prefix:dev 11:17:09 2022-10-07 11:17:09,199 [bump_version] DEBUG bumped version:2.3.0-dev.22 11:17:09 2022-10-07 11:17:09,199 [write_version] DEBUG write version:2.3.0-dev.22 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 11:17:09 2022-10-07 11:17:09,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:17:09 2022-10-07 11:17:09,200 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:17:09 2022-10-07 11:17:09,201 [execute] INFO git cat-file --batch-check 11:17:09 2022-10-07 11:17:09,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:17:09 2022-10-07 11:17:09,207 [execute] INFO git cat-file --batch 11:17:09 2022-10-07 11:17:09,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:17:09 2022-10-07 11:17:09,212 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:17:09 2.3.0-dev.22 [Pipeline] } 11:17:09 $ docker exec --env ******** --env ******** 822628caa7c3dc8f2bd80b065ba9addbfd93f3c41767f9fbd37c3c3f8b12b242 ssh-agent -k 11:17:09 unset SSH_AUTH_SOCK; 11:17:09 unset SSH_AGENT_PID; 11:17:09 echo Agent pid 38 killed; 11:17:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:17:09 + git semver [Pipeline] } 11:17:09 $ docker stop --time=1 822628caa7c3dc8f2bd80b065ba9addbfd93f3c41767f9fbd37c3c3f8b12b242 11:17:11 $ docker rm -f 822628caa7c3dc8f2bd80b065ba9addbfd93f3c41767f9fbd37c3c3f8b12b242 [Pipeline] // withDockerContainer [Pipeline] sh 11:17:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:17:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:17:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:12 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:17:12 $ 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 11:17:12 $ docker top e9a95117cf857df7c36d33c91b222fb5da049c6cb03e545e63400c10e6895b13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:17:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:17:12 [ssh-agent] Looking for ssh-agent implementation... 11:17:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:17:12 $ docker exec e9a95117cf857df7c36d33c91b222fb5da049c6cb03e545e63400c10e6895b13 ssh-agent 11:17:12 SSH_AUTH_SOCK=/tmp/ssh-KnKP4DQ5Vxgf/agent.32 11:17:12 SSH_AGENT_PID=38 11:17:12 Running ssh-add (command line suppressed) 11:17:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7852544077992497767.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7852544077992497767.key) 11:17:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:17:13 + git semver push 11:17:13 2022-10-07 11:17:13,385 [run_push] DEBUG push 11:17:13 2022-10-07 11:17:13,385 [execute] INFO git cat-file --batch-check 11:17:13 2022-10-07 11:17:13,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:17:13 2022-10-07 11:17:13,389 [execute] INFO git rev-list 430361a287e432f38d9f2b05eda968914bbb3f74 -- 11:17:13 2022-10-07 11:17:13,389 [execute] DEBUG Popen(['git', 'rev-list', '430361a287e432f38d9f2b05eda968914bbb3f74', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:17:13 2022-10-07 11:17:13,396 [execute] INFO git fetch -v origin 11:17:13 2022-10-07 11:17:13,396 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:17:14 2022-10-07 11:17:13,959 [run_push] DEBUG no remote changes detected 11:17:14 2022-10-07 11:17:13,960 [execute] INFO git push origin semver 11:17:14 2022-10-07 11:17:13,960 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:17:14 2022-10-07 11:17:14,708 [run_push] DEBUG push all version tags 11:17:14 2022-10-07 11:17:14,709 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:17:14 2022-10-07 11:17:14,709 [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) 11:17:15 2022-10-07 11:17:15,484 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:17:15 2.3.0-dev.22 [Pipeline] } 11:17:15 $ docker exec --env ******** --env ******** e9a95117cf857df7c36d33c91b222fb5da049c6cb03e545e63400c10e6895b13 ssh-agent -k 11:17:15 unset SSH_AUTH_SOCK; 11:17:15 unset SSH_AGENT_PID; 11:17:15 echo Agent pid 38 killed; 11:17:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:17:15 + git semver [Pipeline] } 11:17:16 $ docker stop --time=1 e9a95117cf857df7c36d33c91b222fb5da049c6cb03e545e63400c10e6895b13 11:17:17 $ docker rm -f e9a95117cf857df7c36d33c91b222fb5da049c6cb03e545e63400c10e6895b13 [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 11:17:18 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 11:17:18 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:17:18 total 16 11:17:18 drwxr-xr-x 3 root root 4096 Oct 7 11:05 . 11:17:18 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 11:17 .. 11:17:18 drwxr-xr-x 2 root root 4096 Oct 7 11:05 cost 11:17:18 -rw-r--r-- 1 root root 85 Oct 7 11:05 cost.csv 11:17:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:17:18 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:17:18 total 16 11:17:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 11:05 . 11:17:18 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 11:17 .. 11:17:18 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 11:05 cost 11:17:18 -rw-r--r-- 1 jenkins jenkins 85 Oct 7 11:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:17:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:17:19 ---> package-listing.sh 11:17:19 ++ facter osfamily 11:17:19 ++ tr '[:upper:]' '[:lower:]' 11:17:19 + OS_FAMILY=debian 11:17:19 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 11:17:19 + START_PACKAGES=/tmp/packages_start.txt 11:17:19 + END_PACKAGES=/tmp/packages_end.txt 11:17:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:17:19 + PACKAGES=/tmp/packages_start.txt 11:17:19 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:17:19 + PACKAGES=/tmp/packages_end.txt 11:17:19 + case "${OS_FAMILY}" in 11:17:19 + dpkg -l 11:17:19 + grep '^ii' 11:17:19 + '[' -f /tmp/packages_start.txt ']' 11:17:19 + '[' -f /tmp/packages_end.txt ']' 11:17:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:17:19 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:17:19 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 11:17:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 11:17:19 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 11:17:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:20 prd-ubuntu20.04-docker-8c-8g-7330 does not seem to be running inside a container 11:17:20 $ 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 11:17:20 $ docker top 9ea1ffe523fdcc89f9e463fbdd4ab0584c4fbe7893908237d9a2d8b3257da177 -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:20 + touch /tmp/pre-build-complete [Pipeline] sh 11:17:21 + mkdir -p /var/log/sysstat [Pipeline] sh 11:17:21 + ls /var/log/sa-host 11:17:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:17:21 provisioning config files... 11:17:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12600619628063459860tmp [Pipeline] { [Pipeline] echo 11:17:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:17:21 ---> create-netrc.sh [Pipeline] } 11:17:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:17:22 ---> python-tools-install.sh [Pipeline] echo 11:17:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:17:22 ---> sudo-logs.sh 11:17:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:17:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:17:22 ---> job-cost.sh 11:17:22 lf-activate-venv: SKIPPING 11:17:22 DEBUG: total: 0.2199999988079071 11:17:22 INFO: Retrieving Stack Cost... 11:17:23 INFO: Retrieving Pricing Info for: v3-standard-8 11:17:23 INFO: Archiving Costs [Pipeline] echo 11:17:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:17:23 ---> logs-deploy.sh 11:17:23 lf-activate-venv: SKIPPING 11:17:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/68 11:17:23 INFO: archiving workspace using pattern(s): 11:17:24 Archives upload complete. 11:17:24 INFO: archiving logs to Nexus