Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 459ccc30368983c74f8fc0b30a8da774d92164b5 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-ssh5908818993571047488.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-ssh2771981049329507455.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-ssh3846166598190213220.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-ssh1691676112070625997.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-ssh4350205540163961699.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 ‘prd-ubuntu20.04-docker-8c-8g-7494’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7495 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 459ccc30368983c74f8fc0b30a8da774d92164b5 (main) Commit message: "Merge pull request #422 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" > 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 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 > git rev-list --no-walk 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:00:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:00:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:00:19 ========================================================= 10:00:19 EdgeX Global Pipelines Version Info 10:00:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:00:20 ------------------- 10:00:20 stable info: 10:00:20 ------------------- 10:00:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:00:20 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:00:20 Message: update stable to v1.0.239 10:00:20 ------------------- 10:00:20 experimental info: 10:00:20 ------------------- 10:00:20 Commited By: **** collab-it+edgex@linuxfoundation.org 10:00:20 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:00:20 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 459ccc30368983c74f8fc0b30a8da774d92164b5 [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 459ccc3 [Pipeline] echo 10:00:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:00:21 provisioning config files... 10:00:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11649148793856071346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:00:21 ---> docker-login.sh 10:00:21 nexus3.edgexfoundry.org:10001 10:00:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:22 Configure a credential helper to remove this warning. See 10:00:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:22 10:00:22 Login Succeeded 10:00:22 nexus3.edgexfoundry.org:10002 10:00:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:22 Configure a credential helper to remove this warning. See 10:00:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:22 10:00:22 Login Succeeded 10:00:22 nexus3.edgexfoundry.org:10003 10:00:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:22 Configure a credential helper to remove this warning. See 10:00:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:22 10:00:22 Login Succeeded 10:00:22 nexus3.edgexfoundry.org:10004 10:00:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:22 Configure a credential helper to remove this warning. See 10:00:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:22 10:00:22 Login Succeeded 10:00:22 docker.io 10:00:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:22 Configure a credential helper to remove this warning. See 10:00:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:22 10:00:22 Login Succeeded 10:00:22 ---> docker-login.sh ends [Pipeline] } 10:00:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:00:23 + git rev-list -1 --merges 459ccc30368983c74f8fc0b30a8da774d92164b5~1..459ccc30368983c74f8fc0b30a8da774d92164b5 [Pipeline] echo 10:00:23 -----------> git rev-list -1 --merges 459ccc30368983c74f8fc0b30a8da774d92164b5~1..459ccc30368983c74f8fc0b30a8da774d92164b5 459ccc30368983c74f8fc0b30a8da774d92164b5 10:00:23 459ccc30368983c74f8fc0b30a8da774d92164b5 [false] [Pipeline] sh 10:00:23 + git log --format=format:%s -1 459ccc30368983c74f8fc0b30a8da774d92164b5 [Pipeline] echo 10:00:23 ========================================================= 10:00:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:00:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:00:23 + git log --format=format:%s -1 459ccc30368983c74f8fc0b30a8da774d92164b5 [Pipeline] echo 10:00:23 [semverPrep] GIT_COMMIT: 459ccc30368983c74f8fc0b30a8da774d92164b5, Commit Message: Merge pull request #422 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37 [Pipeline] echo 10:00:23 [semverPrep] This is not a build commit. [Pipeline] sh 10:00:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:00:24 + grep -v github /etc/ssh/ssh_known_hosts 10:00:24 + [ -e /tmp/ssh_known_hosts ] 10:00:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:00:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:00:24 + sudo tee -a /etc/ssh/ssh_known_hosts 10:00:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:00:24 10:00:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:00:24 0.1.4: Pulling from edgex-devops/py-git-semver 10:00:24 b85a868b505f: Pulling fs layer 10:00:24 e2be974225ed: Pulling fs layer 10:00:24 339a4e72a1f5: Pulling fs layer 10:00:24 988bab9f4d93: Pulling fs layer 10:00:24 1469e6f7b9e6: Pulling fs layer 10:00:24 eaf3925da568: Pulling fs layer 10:00:24 bab4dde63d76: Pulling fs layer 10:00:24 bde34c3a00c8: Pulling fs layer 10:00:24 b352a97aabf1: Pulling fs layer 10:00:24 4872d77fe225: Pulling fs layer 10:00:24 5851b861e8e6: Pulling fs layer 10:00:24 1469e6f7b9e6: Waiting 10:00:24 eaf3925da568: Waiting 10:00:24 bab4dde63d76: Waiting 10:00:24 4872d77fe225: Waiting 10:00:24 5851b861e8e6: Waiting 10:00:24 bde34c3a00c8: Waiting 10:00:24 b352a97aabf1: Waiting 10:00:24 988bab9f4d93: Waiting 10:00:24 e2be974225ed: Download complete 10:00:24 988bab9f4d93: Verifying Checksum 10:00:24 988bab9f4d93: Download complete 10:00:25 1469e6f7b9e6: Verifying Checksum 10:00:25 1469e6f7b9e6: Download complete 10:00:25 eaf3925da568: Verifying Checksum 10:00:25 eaf3925da568: Download complete 10:00:25 339a4e72a1f5: Verifying Checksum 10:00:25 339a4e72a1f5: Download complete 10:00:25 bde34c3a00c8: Verifying Checksum 10:00:25 bde34c3a00c8: Download complete 10:00:25 b352a97aabf1: Verifying Checksum 10:00:25 b352a97aabf1: Download complete 10:00:25 4872d77fe225: Verifying Checksum 10:00:25 4872d77fe225: Download complete 10:00:25 5851b861e8e6: Download complete 10:00:25 b85a868b505f: Verifying Checksum 10:00:25 b85a868b505f: Download complete 10:00:25 bab4dde63d76: Verifying Checksum 10:00:25 bab4dde63d76: Download complete 10:00:26 b85a868b505f: Pull complete 10:00:26 e2be974225ed: Pull complete 10:00:26 339a4e72a1f5: Pull complete 10:00:26 988bab9f4d93: Pull complete 10:00:27 1469e6f7b9e6: Pull complete 10:00:27 eaf3925da568: Pull complete 10:00:29 bab4dde63d76: Pull complete 10:00:29 bde34c3a00c8: Pull complete 10:00:29 b352a97aabf1: Pull complete 10:00:29 4872d77fe225: Pull complete 10:00:29 5851b861e8e6: Pull complete 10:00:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:00:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:00:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:29 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:00:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:00:31 $ docker top 25eee7945374d879e0de940cad4b6073d91c40dc73646f55355d7ae6cdab4baf -eo pid,comm 10:00:31 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). 10:00:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:00:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:00:31 [ssh-agent] Looking for ssh-agent implementation... 10:00:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:00:31 $ docker exec 25eee7945374d879e0de940cad4b6073d91c40dc73646f55355d7ae6cdab4baf ssh-agent 10:00:31 SSH_AUTH_SOCK=/tmp/ssh-orRqEooCaTTh/agent.31 10:00:31 SSH_AGENT_PID=37 10:00:31 Running ssh-add (command line suppressed) 10:00:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5916862395033748306.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5916862395033748306.key) 10:00:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:00:32 + git tag --points-at HEAD [Pipeline] } 10:00:32 $ docker exec --env ******** --env ******** 25eee7945374d879e0de940cad4b6073d91c40dc73646f55355d7ae6cdab4baf ssh-agent -k 10:00:32 unset SSH_AUTH_SOCK; 10:00:32 unset SSH_AGENT_PID; 10:00:32 echo Agent pid 37 killed; 10:00:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:00:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:00:32 [ssh-agent] Looking for ssh-agent implementation... 10:00:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:00:32 $ docker exec 25eee7945374d879e0de940cad4b6073d91c40dc73646f55355d7ae6cdab4baf ssh-agent 10:00:32 SSH_AUTH_SOCK=/tmp/ssh-ln0eHgOW2hWo/agent.69 10:00:32 SSH_AGENT_PID=75 10:00:32 Running ssh-add (command line suppressed) 10:00:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6489362801193822737.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6489362801193822737.key) 10:00:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:00:33 + git semver init 10:00:33 2022-10-10 10:00:33,184 [run_init] DEBUG init version:0.0.0 force:False 10:00:33 2022-10-10 10:00:33,185 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 10:00:33 2022-10-10 10:00:33,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 10:00:33 2022-10-10 10:00:33,186 [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) 10:00:34 2022-10-10 10:00:34,088 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 10:00:34 2022-10-10 10:00:34,088 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 10:00:34 2022-10-10 10:00:34,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:00:34 2022-10-10 10:00:34,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:00:34 2.3.0-dev.22 [Pipeline] } 10:00:34 $ docker exec --env ******** --env ******** 25eee7945374d879e0de940cad4b6073d91c40dc73646f55355d7ae6cdab4baf ssh-agent -k 10:00:34 unset SSH_AUTH_SOCK; 10:00:34 unset SSH_AGENT_PID; 10:00:34 echo Agent pid 75 killed; 10:00:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:00:34 + git semver [Pipeline] } 10:00:34 $ docker stop --time=1 25eee7945374d879e0de940cad4b6073d91c40dc73646f55355d7ae6cdab4baf 10:00:36 $ docker rm -f 25eee7945374d879e0de940cad4b6073d91c40dc73646f55355d7ae6cdab4baf [Pipeline] // withDockerContainer [Pipeline] sh 10:00:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:00:36 Stashed 1 file(s) [Pipeline] echo 10:00:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:00:36 provisioning config files... 10:00:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14530308390427213049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:00:37 ---> docker-login.sh 10:00:37 nexus3.edgexfoundry.org:10001 10:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:37 Configure a credential helper to remove this warning. See 10:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:37 10:00:37 Login Succeeded 10:00:37 nexus3.edgexfoundry.org:10002 10:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:37 Configure a credential helper to remove this warning. See 10:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:37 10:00:37 Login Succeeded 10:00:37 nexus3.edgexfoundry.org:10003 10:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:37 Configure a credential helper to remove this warning. See 10:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:37 10:00:37 Login Succeeded 10:00:37 nexus3.edgexfoundry.org:10004 10:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:37 Configure a credential helper to remove this warning. See 10:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:37 10:00:37 Login Succeeded 10:00:37 docker.io 10:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:00:37 Configure a credential helper to remove this warning. See 10:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:00:37 10:00:37 Login Succeeded 10:00:37 ---> docker-login.sh ends [Pipeline] } 10:00:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:00:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:00:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:00:37 ========================================================= 10:00:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:00:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:38 + 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 . 10:00:38 Sending build context to Docker daemon 6.153MB 10:00:38 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:00:38 Step 2/13 : FROM ${BASE} AS builder 10:00:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:00:38 2408cc74d12b: Pulling fs layer 10:00:38 ea60b727a1ce: Pulling fs layer 10:00:38 30c4a7721957: Pulling fs layer 10:00:38 370296b7ddb6: Pulling fs layer 10:00:38 7c6cee850709: Pulling fs layer 10:00:38 aa9baa53a306: Pulling fs layer 10:00:38 8b309c321861: Pulling fs layer 10:00:38 d8d76fd02f46: Pulling fs layer 10:00:38 fa31f396de31: Pulling fs layer 10:00:38 370296b7ddb6: Waiting 10:00:38 7c6cee850709: Waiting 10:00:38 fa31f396de31: Waiting 10:00:38 aa9baa53a306: Waiting 10:00:38 8b309c321861: Waiting 10:00:38 d8d76fd02f46: Waiting 10:00:38 30c4a7721957: Download complete 10:00:38 ea60b727a1ce: Download complete 10:00:38 7c6cee850709: Verifying Checksum 10:00:38 7c6cee850709: Download complete 10:00:38 aa9baa53a306: Verifying Checksum 10:00:38 aa9baa53a306: Download complete 10:00:38 2408cc74d12b: Verifying Checksum 10:00:38 8b309c321861: Verifying Checksum 10:00:38 8b309c321861: Download complete 10:00:38 2408cc74d12b: Pull complete 10:00:38 ea60b727a1ce: Pull complete 10:00:38 30c4a7721957: Pull complete 10:00:39 fa31f396de31: Verifying Checksum 10:00:39 fa31f396de31: Download complete 10:00:39 370296b7ddb6: Verifying Checksum 10:00:39 370296b7ddb6: Download complete 10:00:39 d8d76fd02f46: Verifying Checksum 10:00:42 370296b7ddb6: Pull complete 10:00:42 7c6cee850709: Pull complete 10:00:42 aa9baa53a306: Pull complete 10:00:42 8b309c321861: Pull complete 10:00:44 d8d76fd02f46: Pull complete 10:00:45 fa31f396de31: Pull complete 10:00:45 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 10:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:00:45 ---> cef68f9685f8 10:00:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:00:48 ---> Running in 3499429d0271 10:00:48 Removing intermediate container 3499429d0271 10:00:48 ---> ec0ccb25a138 10:00:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:00:48 ---> Running in e07c9b897b17 10:00:48 Removing intermediate container e07c9b897b17 10:00:48 ---> f0f38386e09a 10:00:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:00:48 ---> Running in c387bf0ecd25 10:00:48 Removing intermediate container c387bf0ecd25 10:00:48 ---> 593412e45035 10:00:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:00:48 ---> Running in abedcd13dbb2 10:00:48 Removing intermediate container abedcd13dbb2 10:00:48 ---> 64db78b1f64a 10:00:48 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:00:48 ---> Running in 7d2a7e4d8bac 10:00:49 Removing intermediate container 7d2a7e4d8bac 10:00:49 ---> e13e33714775 10:00:49 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:00:49 ---> Running in 7de2636e5a00 10:00:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:00:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:00:50 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:00:50 (2/4) Installing libedit (20210910.3.1-r0) 10:00:50 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:00:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:00:51 Executing busybox-1.35.0-r13.trigger 10:00:51 OK: 216 MiB in 55 packages 10:00:51 Removing intermediate container 7de2636e5a00 10:00:51 ---> 15900e0e1cc8 10:00:51 Step 9/13 : WORKDIR /device-mqtt-go 10:00:51 ---> Running in 3f7b3e005606 10:00:51 Removing intermediate container 3f7b3e005606 10:00:51 ---> 6e7fe6f87a36 10:00:51 Step 10/13 : COPY go.mod vendor* ./ 10:00:51 ---> 0850392650b2 10:00:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:00:51 ---> Running in ab6083e02a6a 10:00:51 Still waiting to schedule task 10:00:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7496’ is offline 10:01:09 Removing intermediate container ab6083e02a6a 10:01:09 ---> 6593e92a9011 10:01:09 Step 12/13 : COPY . . 10:01:09 ---> 4dd8187a5a8b 10:01:09 Step 13/13 : RUN $MAKE 10:01:09 ---> Running in 5925a5d88b8a 10:01:09 noop 10:01:09 Removing intermediate container 5925a5d88b8a 10:01:09 ---> 92a1bae38e6d 10:01:09 Successfully built 92a1bae38e6d 10:01:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:10 + docker inspect -f . ci-base-image-x86_64 10:01:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:10 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:01:10 $ 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 10:01:10 $ docker top b1f122e00af91821a83bbfbebecdaa031c7e8824e2a1766ba36954db83b245ef -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:10 + go version 10:01:10 go version go1.18.3 linux/amd64 [Pipeline] } 10:01:10 $ docker stop --time=1 b1f122e00af91821a83bbfbebecdaa031c7e8824e2a1766ba36954db83b245ef 10:01:12 $ docker rm -f b1f122e00af91821a83bbfbebecdaa031c7e8824e2a1766ba36954db83b245ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:12 + docker inspect -f . ci-base-image-x86_64 10:01:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:12 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:01:12 $ 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 10:01:12 $ docker top ac86e40c0fb16516dc09d1ddca6389a3d8f623687afd5fe12e32cf87c81d8685 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 10:01:13 + make test 10:01:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:01:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:01:21 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:01:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 10:01:22 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:01:29 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." 10:01:29 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:01:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:01:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:01:31 ./bin/test-attribution-txt.sh [Pipeline] echo 10:01:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:01:31 $ docker stop --time=1 ac86e40c0fb16516dc09d1ddca6389a3d8f623687afd5fe12e32cf87c81d8685 10:01:33 $ docker rm -f ac86e40c0fb16516dc09d1ddca6389a3d8f623687afd5fe12e32cf87c81d8685 [Pipeline] // withDockerContainer [Pipeline] sh 10:01:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:01:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:01:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:01:34 + ls -al . 10:01:34 total 184 10:01:34 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 10:01 . 10:01:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:00 .. 10:01:34 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 10:00 .dockerignore 10:01:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:01 .git 10:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:00 .github 10:01:34 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 10:00 .gitignore 10:01:34 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:00 .golangci.yml 10:01:34 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:00 .semver 10:01:34 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 10:00 Attribution.txt 10:01:34 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 10:00 CHANGELOG.md 10:01:34 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 10:00 Dockerfile 10:01:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:00 GOVERNANCE.md 10:01:34 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 10:00 Jenkinsfile 10:01:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:00 LICENSE 10:01:34 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 10:00 Makefile 10:01:34 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 10:00 OWNERS.md 10:01:34 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 10:00 README.md 10:01:34 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 10:00 VERSION 10:01:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:00 bin 10:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:00 cmd 10:01:34 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 10:01 coverage.out 10:01:34 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 10:00 go.mod 10:01:34 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 10:00 go.sum 10:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:00 internal 10:01:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:00 mock 10:01:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:00 snap 10:01:34 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 10:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:35 + 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=459ccc30368983c74f8fc0b30a8da774d92164b5 --label arch=amd64 --label version=2.3.0-dev.22 . 10:01:35 Sending build context to Docker daemon 6.172MB 10:01:35 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 10:01:35 Step 2/25 : FROM ${BASE} AS builder 10:01:35 ---> 92a1bae38e6d 10:01:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:01:35 ---> Running in 9ab31068e064 10:01:35 Removing intermediate container 9ab31068e064 10:01:35 ---> 30054e75e197 10:01:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:01:35 ---> Running in 05607ee5d556 10:01:35 Removing intermediate container 05607ee5d556 10:01:35 ---> e07b8ac697b3 10:01:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:01:35 ---> Running in 8e5a953f840a 10:01:35 Removing intermediate container 8e5a953f840a 10:01:35 ---> b6af993d9d42 10:01:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:01:35 ---> Running in 33baa24bf61d 10:01:35 Removing intermediate container 33baa24bf61d 10:01:35 ---> 269be13aed54 10:01:35 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:01:35 ---> Running in ca6e246d6521 10:01:36 Removing intermediate container ca6e246d6521 10:01:36 ---> 736ead2aa64e 10:01:36 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:01:36 ---> Running in 302bddc0ff2f 10:01:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:01:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:01:37 OK: 216 MiB in 55 packages 10:01:37 Removing intermediate container 302bddc0ff2f 10:01:37 ---> 37ba122ae8fd 10:01:37 Step 9/25 : WORKDIR /device-mqtt-go 10:01:37 ---> Running in 20f903af42a5 10:01:37 Removing intermediate container 20f903af42a5 10:01:37 ---> dd12aa2b8430 10:01:37 Step 10/25 : COPY go.mod vendor* ./ 10:01:37 ---> 2d3fad638a6a 10:01:37 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:01:37 ---> Running in 072a9cd89063 10:01:38 Removing intermediate container 072a9cd89063 10:01:38 ---> 5eaefb81fe07 10:01:38 Step 12/25 : COPY . . 10:01:38 ---> 9685e45ad904 10:01:38 Step 13/25 : RUN $MAKE 10:01:38 ---> Running in 697fea59aa58 10:01:39 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 10:01:57 Removing intermediate container 697fea59aa58 10:01:57 ---> 2eed14070885 10:01:57 Step 14/25 : FROM alpine:3.16 10:01:58 3.16: Pulling from library/alpine 10:01:58 213ec9aee27d: Pulling fs layer 10:01:58 213ec9aee27d: Verifying Checksum 10:01:58 213ec9aee27d: Download complete 10:01:58 213ec9aee27d: Pull complete 10:01:58 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:01:58 Status: Downloaded newer image for alpine:3.16 10:01:58 ---> 9c6f07244728 10:01:58 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:01:58 ---> Running in f16bfc6f25e7 10:01:58 Removing intermediate container f16bfc6f25e7 10:01:58 ---> 3511d1ad6763 10:01:58 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:01:58 ---> Running in 4f59dfbec3bf 10:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:01:59 (1/6) Installing dumb-init (1.2.5-r1) 10:01:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:01:59 (3/6) Installing libsodium (1.0.18-r0) 10:01:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:01:59 (5/6) Installing libzmq (4.3.4-r0) 10:01:59 (6/6) Installing zeromq (4.3.4-r0) 10:01:59 Executing busybox-1.35.0-r17.trigger 10:01:59 OK: 8 MiB in 20 packages 10:01:59 Removing intermediate container 4f59dfbec3bf 10:01:59 ---> 73c64bf5a682 10:01:59 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 10:02:00 ---> 1c5d3e111e80 10:02:00 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 10:02:00 ---> 5a72f0b3ddb3 10:02:00 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:02:00 ---> c20a6347a6cc 10:02:00 Step 20/25 : EXPOSE 59982 10:02:00 ---> Running in e388667c9a0a 10:02:00 Removing intermediate container e388667c9a0a 10:02:00 ---> e0a06dc0dbb0 10:02:00 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 10:02:00 ---> Running in 1bf1c2c822b5 10:02:00 Removing intermediate container 1bf1c2c822b5 10:02:00 ---> 44871cfbeae3 10:02:00 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:02:00 ---> Running in 7964a10e4e3d 10:02:00 Removing intermediate container 7964a10e4e3d 10:02:00 ---> f5312f8ed912 10:02:00 Step 23/25 : LABEL arch=amd64 10:02:01 ---> Running in a10b9a9a7d2b 10:02:01 Removing intermediate container a10b9a9a7d2b 10:02:01 ---> 6a1d149ca1d7 10:02:01 Step 24/25 : LABEL git_sha=459ccc30368983c74f8fc0b30a8da774d92164b5 10:02:01 ---> Running in 2b325acafc52 10:02:01 Removing intermediate container 2b325acafc52 10:02:01 ---> db5c28854c7f 10:02:01 Step 25/25 : LABEL version=2.3.0-dev.22 10:02:01 ---> Running in 958b54b7b4fa 10:02:01 Removing intermediate container 958b54b7b4fa 10:02:01 ---> 7f2de48ca0bd 10:02:01 [Warning] One or more build-args [ARCH] were not consumed 10:02:01 Successfully built 7f2de48ca0bd 10:02:01 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:01 provisioning config files... 10:02:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17324399959870242949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:01 ---> docker-login.sh 10:02:01 nexus3.edgexfoundry.org:10001 10:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:01 Configure a credential helper to remove this warning. See 10:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:01 10:02:01 Login Succeeded 10:02:01 nexus3.edgexfoundry.org:10002 10:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:01 Configure a credential helper to remove this warning. See 10:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:01 10:02:01 Login Succeeded 10:02:01 nexus3.edgexfoundry.org:10003 10:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:01 Configure a credential helper to remove this warning. See 10:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:01 10:02:01 Login Succeeded 10:02:01 nexus3.edgexfoundry.org:10004 10:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:01 Configure a credential helper to remove this warning. See 10:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:01 10:02:01 Login Succeeded 10:02:01 docker.io 10:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:02 Configure a credential helper to remove this warning. See 10:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:02 10:02:02 Login Succeeded 10:02:02 ---> docker-login.sh ends [Pipeline] } 10:02:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:02:02 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 10:02:02 459ccc30368983c74f8fc0b30a8da774d92164b5 10:02:02 latest 10:02:02 2.3.0-dev.22 10:02:02 459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22 10:02:02 main 10:02:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:459ccc30368983c74f8fc0b30a8da774d92164b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:459ccc30368983c74f8fc0b30a8da774d92164b5 10:02:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:02:03 ec22af1999c1: Preparing 10:02:03 2896874ac4a5: Preparing 10:02:03 47f47ad13539: Preparing 10:02:03 c3fa5d3cb420: Preparing 10:02:03 994393dc58e7: Preparing 10:02:03 994393dc58e7: Layer already exists 10:02:03 ec22af1999c1: Pushed 10:02:03 2896874ac4a5: Pushed 10:02:03 c3fa5d3cb420: Pushed 10:02:05 47f47ad13539: Pushed 10:02:05 459ccc30368983c74f8fc0b30a8da774d92164b5: digest: sha256:88d195a1c3756875e209bc18a4f949a9eae3c6c6ad8a4f7a62e6c92a5ecb40de size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 10:02:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:02:06 ec22af1999c1: Preparing 10:02:06 2896874ac4a5: Preparing 10:02:06 47f47ad13539: Preparing 10:02:06 c3fa5d3cb420: Preparing 10:02:06 994393dc58e7: Preparing 10:02:06 c3fa5d3cb420: Layer already exists 10:02:06 47f47ad13539: Layer already exists 10:02:06 2896874ac4a5: Layer already exists 10:02:06 994393dc58e7: Layer already exists 10:02:06 ec22af1999c1: Layer already exists 10:02:06 latest: digest: sha256:88d195a1c3756875e209bc18a4f949a9eae3c6c6ad8a4f7a62e6c92a5ecb40de size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.22 10:02:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:02:07 ec22af1999c1: Preparing 10:02:07 2896874ac4a5: Preparing 10:02:07 47f47ad13539: Preparing 10:02:07 c3fa5d3cb420: Preparing 10:02:07 994393dc58e7: Preparing 10:02:07 47f47ad13539: Layer already exists 10:02:07 ec22af1999c1: Layer already exists 10:02:07 2896874ac4a5: Layer already exists 10:02:07 994393dc58e7: Layer already exists 10:02:07 c3fa5d3cb420: Layer already exists 10:02:07 2.3.0-dev.22: digest: sha256:88d195a1c3756875e209bc18a4f949a9eae3c6c6ad8a4f7a62e6c92a5ecb40de size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22 10:02:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:02:07 ec22af1999c1: Preparing 10:02:07 2896874ac4a5: Preparing 10:02:07 47f47ad13539: Preparing 10:02:07 c3fa5d3cb420: Preparing 10:02:07 994393dc58e7: Preparing 10:02:07 ec22af1999c1: Layer already exists 10:02:07 2896874ac4a5: Layer already exists 10:02:07 994393dc58e7: Layer already exists 10:02:07 c3fa5d3cb420: Layer already exists 10:02:07 47f47ad13539: Layer already exists 10:02:07 459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22: digest: sha256:88d195a1c3756875e209bc18a4f949a9eae3c6c6ad8a4f7a62e6c92a5ecb40de size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 10:02:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:02:08 ec22af1999c1: Preparing 10:02:08 2896874ac4a5: Preparing 10:02:08 47f47ad13539: Preparing 10:02:08 c3fa5d3cb420: Preparing 10:02:08 994393dc58e7: Preparing 10:02:08 47f47ad13539: Layer already exists 10:02:08 c3fa5d3cb420: Layer already exists 10:02:08 994393dc58e7: Layer already exists 10:02:08 ec22af1999c1: Layer already exists 10:02:08 2896874ac4a5: Layer already exists 10:02:08 main: digest: sha256:88d195a1c3756875e209bc18a4f949a9eae3c6c6ad8a4f7a62e6c92a5ecb40de size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:02:08 ===================================================== [Pipeline] echo 10:02:08 taggedImages: 10:02:08 - nexus3.edgexfoundry.org:10004/device-mqtt:459ccc30368983c74f8fc0b30a8da774d92164b5 10:02:08 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 10:02:08 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.22 10:02:08 - nexus3.edgexfoundry.org:10004/device-mqtt:459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22 10:02:08 - 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 10:02:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:08 10:02:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:09 latest: Pulling from edgex-lftools-log-publisher 10:02:09 5eb5b503b376: Pulling fs layer 10:02:09 5c69ac0246d0: Pulling fs layer 10:02:09 ec43610c2a17: Pulling fs layer 10:02:09 3a2ae6a8a46f: Pulling fs layer 10:02:09 33b1e0a273af: Pulling fs layer 10:02:09 5d3b04190fa2: Pulling fs layer 10:02:09 2f39f015ded8: Pulling fs layer 10:02:09 3a2ae6a8a46f: Waiting 10:02:09 33b1e0a273af: Waiting 10:02:09 5d3b04190fa2: Waiting 10:02:09 2f39f015ded8: Waiting 10:02:09 5c69ac0246d0: Download complete 10:02:09 3a2ae6a8a46f: Verifying Checksum 10:02:09 3a2ae6a8a46f: Download complete 10:02:09 33b1e0a273af: Verifying Checksum 10:02:09 33b1e0a273af: Download complete 10:02:09 5d3b04190fa2: Verifying Checksum 10:02:09 5d3b04190fa2: Download complete 10:02:09 ec43610c2a17: Verifying Checksum 10:02:09 ec43610c2a17: Download complete 10:02:09 5eb5b503b376: Download complete 10:02:09 2f39f015ded8: Download complete 10:02:10 5eb5b503b376: Pull complete 10:02:10 5c69ac0246d0: Pull complete 10:02:10 ec43610c2a17: Pull complete 10:02:10 3a2ae6a8a46f: Pull complete 10:02:10 33b1e0a273af: Pull complete 10:02:11 5d3b04190fa2: Pull complete 10:02:15 2f39f015ded8: Pull complete 10:02:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:02:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:15 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:02:15 $ 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 10:02:17 $ docker top 2de8c6539ec6690dabe48012bb1979c076e47c97aa78b148a106fee5e83560f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:18 ---> job-cost.sh 10:02:18 lf-activate-venv: SKIPPING 10:02:18 INFO: No Stack... 10:02:18 INFO: Retrieving Pricing Info for: v3-standard-8 10:02:18 INFO: Archiving Costs [Pipeline] sh 10:02:19 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 10:02:19 + cut -d, -f6 [Pipeline] lock 10:02:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-69-stack-cost] 10:02:19 Resource [jenkins-edgexfoundry-device-mqtt-go-main-69-stack-cost] did not exist. Created. 10:02:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:19 + echo total: 0.2199999988079071 [Pipeline] stash 10:02:19 Stashed 1 file(s) [Pipeline] } 10:02:19 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } 10:02:19 $ docker stop --time=1 2de8c6539ec6690dabe48012bb1979c076e47c97aa78b148a106fee5e83560f2 10:02:20 $ docker rm -f 2de8c6539ec6690dabe48012bb1979c076e47c97aa78b148a106fee5e83560f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:03:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7500 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 10:03:32 Running in /w/workspace/device-mqtt-go/69 [Pipeline] { [Pipeline] checkout 10:03:32 Selected Git installation does not exist. Using Default 10:03:32 The recommended git tool is: NONE 10:03:38 using credential edgex-jenkins-ssh 10:03:38 Cloning the remote Git repository 10:03:38 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 10:03:38 > git init /w/workspace/device-mqtt-go/69 # timeout=10 10:03:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:03:39 > git --version # timeout=10 10:03:39 > git --version # 'git version 2.25.1' 10:03:39 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:39 Verifying host key using known hosts file 10:03:39 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. 10:03:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:03:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:03:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:03:41 Avoid second fetch 10:03:41 Checking out Revision 459ccc30368983c74f8fc0b30a8da774d92164b5 (main) 10:03:42 Commit message: "Merge pull request #422 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:03:41 > git config core.sparsecheckout # timeout=10 10:03:41 > git checkout -f 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 10:03:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:03:43 % Total % Received % Xferd Average Speed Time Time Time Current 10:03:43 Dload Upload Total Spent Left Speed 10:03:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 10:03:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:03:44 + sudo tee /etc/docker/daemon.new 10:03:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:03:44 { 10:03:44 "registry-mirrors": [ 10:03:44 "https://nexus3.edgexfoundry.org:10001" 10:03:44 ], 10:03:44 "bip": "10.250.0.254/24", 10:03:44 "hosts": [ 10:03:44 "tcp://0.0.0.0:5555", 10:03:44 "unix:///var/run/docker.sock" 10:03:44 ], 10:03:44 "mtu": 1458, 10:03:44 "selinux-enabled": true, 10:03:44 "seccomp-profile": "/etc/docker/seccomp.json" 10:03:44 } [Pipeline] sh 10:03:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:03:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:03 provisioning config files... 10:04:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/69@tmp/config13801203796349317520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:03 ---> docker-login.sh 10:04:03 nexus3.edgexfoundry.org:10001 10:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:04 Configure a credential helper to remove this warning. See 10:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:04 10:04:04 Login Succeeded 10:04:04 nexus3.edgexfoundry.org:10002 10:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:04 Configure a credential helper to remove this warning. See 10:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:04 10:04:04 Login Succeeded 10:04:04 nexus3.edgexfoundry.org:10003 10:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:05 Configure a credential helper to remove this warning. See 10:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:05 10:04:05 Login Succeeded 10:04:05 nexus3.edgexfoundry.org:10004 10:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:05 Configure a credential helper to remove this warning. See 10:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:05 10:04:05 Login Succeeded 10:04:05 docker.io 10:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:06 Configure a credential helper to remove this warning. See 10:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:06 10:04:06 Login Succeeded 10:04:06 ---> docker-login.sh ends [Pipeline] } 10:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:04:06 ========================================================= 10:04:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:04:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:06 + 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 . 10:04:07 Sending build context to Docker daemon 3.182MB 10:04:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:04:07 Step 2/13 : FROM ${BASE} AS builder 10:04:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:04:07 b3c136eddcbf: Pulling fs layer 10:04:07 c0a3192eca97: Pulling fs layer 10:04:07 a050256f5b6f: Pulling fs layer 10:04:07 656be50a0ddc: Pulling fs layer 10:04:07 2bbca73fdf42: Pulling fs layer 10:04:07 f607e4fc86c3: Pulling fs layer 10:04:07 4d572c569a2c: Pulling fs layer 10:04:07 fcf976331f73: Pulling fs layer 10:04:07 f607e4fc86c3: Waiting 10:04:07 4d572c569a2c: Waiting 10:04:07 fcf976331f73: Waiting 10:04:07 656be50a0ddc: Waiting 10:04:07 2bbca73fdf42: Waiting 10:04:07 a050256f5b6f: Verifying Checksum 10:04:07 a050256f5b6f: Download complete 10:04:07 c0a3192eca97: Verifying Checksum 10:04:07 c0a3192eca97: Download complete 10:04:07 2bbca73fdf42: Verifying Checksum 10:04:07 2bbca73fdf42: Download complete 10:04:07 f607e4fc86c3: Verifying Checksum 10:04:07 f607e4fc86c3: Download complete 10:04:07 b3c136eddcbf: Download complete 10:04:08 b3c136eddcbf: Pull complete 10:04:08 fcf976331f73: Verifying Checksum 10:04:08 fcf976331f73: Download complete 10:04:09 c0a3192eca97: Pull complete 10:04:09 a050256f5b6f: Pull complete 10:04:10 4d572c569a2c: Verifying Checksum 10:04:10 4d572c569a2c: Download complete 10:04:10 656be50a0ddc: Verifying Checksum 10:04:10 656be50a0ddc: Download complete 10:04:25 656be50a0ddc: Pull complete 10:04:25 2bbca73fdf42: Pull complete 10:04:25 f607e4fc86c3: Pull complete 10:04:30 4d572c569a2c: Pull complete 10:04:32 fcf976331f73: Pull complete 10:04:32 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 10:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:04:32 ---> 3970a7415f9e 10:04:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:04:34 ---> Running in 30da2a4051e3 10:04:34 Removing intermediate container 30da2a4051e3 10:04:34 ---> 8c4ffbeb3411 10:04:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:04:34 ---> Running in b33c89a21489 10:04:35 Removing intermediate container b33c89a21489 10:04:35 ---> b9fef01561ca 10:04:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:04:35 ---> Running in 693cb787977b 10:04:35 Removing intermediate container 693cb787977b 10:04:35 ---> 83c62dfc8c38 10:04:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:04:35 ---> Running in 48212c1af18c 10:04:36 Removing intermediate container 48212c1af18c 10:04:36 ---> 9b484580d030 10:04:36 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:04:36 ---> Running in b14773523506 10:04:38 Removing intermediate container b14773523506 10:04:38 ---> b28fb302b9b2 10:04:38 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:04:38 ---> Running in 5c48626720f4 10:04:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:04:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:04:41 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:04:41 (2/4) Installing libedit (20210910.3.1-r0) 10:04:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:04:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:04:41 Executing busybox-1.35.0-r13.trigger 10:04:42 OK: 226 MiB in 55 packages 10:04:43 Removing intermediate container 5c48626720f4 10:04:43 ---> 09ab60f623b3 10:04:43 Step 9/13 : WORKDIR /device-mqtt-go 10:04:43 ---> Running in 0b1ace779361 10:04:43 Removing intermediate container 0b1ace779361 10:04:43 ---> ba46ebb09ace 10:04:43 Step 10/13 : COPY go.mod vendor* ./ 10:04:44 ---> 5d4ae5d88d9b 10:04:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:04:44 ---> Running in 2c1a59bfd9f0 10:05:40 Removing intermediate container 2c1a59bfd9f0 10:05:40 ---> 3cc55cd8aeee 10:05:40 Step 12/13 : COPY . . 10:05:40 ---> 7e10d09f8841 10:05:40 Step 13/13 : RUN $MAKE 10:05:40 ---> Running in e3a29cdc8536 10:05:40 noop 10:05:40 Removing intermediate container e3a29cdc8536 10:05:40 ---> 892b0a525d65 10:05:40 Successfully built 892b0a525d65 10:05:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:41 + docker inspect -f . ci-base-image-arm64 10:05:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:41 prd-ubuntu20.04-docker-arm64-4c-16g-7500 does not seem to be running inside a container 10:05:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/69 -v /w/workspace/device-mqtt-go/69:/w/workspace/device-mqtt-go/69:rw,z -v /w/workspace/device-mqtt-go/69@tmp:/w/workspace/device-mqtt-go/69@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 10:05:42 $ docker top 79e0d4b5d5166494dbdfd65ed1f057a093ae8cad6902bd9563e7aa87c7a21f64 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:43 + go version 10:05:43 go version go1.18.3 linux/arm64 [Pipeline] } 10:05:43 $ docker stop --time=1 79e0d4b5d5166494dbdfd65ed1f057a093ae8cad6902bd9563e7aa87c7a21f64 10:05:45 $ docker rm -f 79e0d4b5d5166494dbdfd65ed1f057a093ae8cad6902bd9563e7aa87c7a21f64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:45 + docker inspect -f . ci-base-image-arm64 10:05:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:46 prd-ubuntu20.04-docker-arm64-4c-16g-7500 does not seem to be running inside a container 10:05:46 $ 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/69 -v /w/workspace/device-mqtt-go/69:/w/workspace/device-mqtt-go/69:rw,z -v /w/workspace/device-mqtt-go/69@tmp:/w/workspace/device-mqtt-go/69@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 10:05:47 $ docker top 820b16c6a1a64c313a2d51bb32d241f27b89a77023ac49dfd2841abf00957147 -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:48 + git config --global --add safe.directory /w/workspace/device-mqtt-go/69 [Pipeline] fileExists [Pipeline] sh 10:05:49 + make test 10:05:49 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:05:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:07:27 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:07:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements 10:07:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:07:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:07:30 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:08:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:08:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:08:03 ./bin/test-attribution-txt.sh [Pipeline] echo 10:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:08:03 $ docker stop --time=1 820b16c6a1a64c313a2d51bb32d241f27b89a77023ac49dfd2841abf00957147 10:08:05 $ docker rm -f 820b16c6a1a64c313a2d51bb32d241f27b89a77023ac49dfd2841abf00957147 [Pipeline] // withDockerContainer [Pipeline] sh 10:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:06 Warning: overwriting stash ‘coverage-report’ 10:08:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:08:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:08 + ls -al . 10:08:08 total 180 10:08:08 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 10:05 . 10:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:03 .. 10:08:08 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 10:03 .dockerignore 10:08:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:03 .git 10:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:03 .github 10:08:08 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 10:03 .gitignore 10:08:08 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:03 .golangci.yml 10:08:08 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 10:03 Attribution.txt 10:08:08 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 10:03 CHANGELOG.md 10:08:08 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 10:03 Dockerfile 10:08:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:03 GOVERNANCE.md 10:08:08 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 10:03 Jenkinsfile 10:08:08 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:03 LICENSE 10:08:08 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 10:03 Makefile 10:08:08 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 10:03 OWNERS.md 10:08:08 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 10:03 README.md 10:08:08 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 10:00 VERSION 10:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:03 bin 10:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:03 cmd 10:08:08 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 10:07 coverage.out 10:08:08 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 10:03 go.mod 10:08:08 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 10:03 go.sum 10:08:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:03 internal 10:08:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:03 mock 10:08:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:03 snap 10:08:08 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 10:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:08 + 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=459ccc30368983c74f8fc0b30a8da774d92164b5 --label arch=arm64 --label version=2.3.0-dev.22 . 10:08:09 Sending build context to Docker daemon 3.2MB 10:08:09 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 10:08:09 Step 2/25 : FROM ${BASE} AS builder 10:08:09 ---> 892b0a525d65 10:08:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:08:09 ---> Running in 8f88b1b03cc0 10:08:09 Removing intermediate container 8f88b1b03cc0 10:08:09 ---> 671319e6aa64 10:08:09 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:08:10 ---> Running in 919384ca26b2 10:08:10 Removing intermediate container 919384ca26b2 10:08:10 ---> 0cd4a7b9f935 10:08:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:08:10 ---> Running in fd09e37b6ef7 10:08:10 Removing intermediate container fd09e37b6ef7 10:08:10 ---> 24f15cd2c786 10:08:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:08:10 ---> Running in f7eb1885b6cb 10:08:11 Removing intermediate container f7eb1885b6cb 10:08:11 ---> e81969777702 10:08:11 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:11 ---> Running in 9e59bc0be3ef 10:08:13 Removing intermediate container 9e59bc0be3ef 10:08:13 ---> 427e7ba1212e 10:08:13 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:08:13 ---> Running in 98549523fa6e 10:08:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:08:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:08:17 OK: 226 MiB in 55 packages 10:08:18 Removing intermediate container 98549523fa6e 10:08:18 ---> cb2bef8b8e72 10:08:18 Step 9/25 : WORKDIR /device-mqtt-go 10:08:18 ---> Running in 7a003f6e4106 10:08:18 Removing intermediate container 7a003f6e4106 10:08:18 ---> 41878f40f544 10:08:18 Step 10/25 : COPY go.mod vendor* ./ 10:08:19 ---> 13de9d7c07ed 10:08:19 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:19 ---> Running in 148959c0cda2 10:08:22 Removing intermediate container 148959c0cda2 10:08:22 ---> 81c71d3773f4 10:08:22 Step 12/25 : COPY . . 10:08:22 ---> ddca20d9ae27 10:08:22 Step 13/25 : RUN $MAKE 10:08:23 ---> Running in 024116a0525a 10:08:24 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 10:11:15 Removing intermediate container 024116a0525a 10:11:15 ---> b9e4279bd7a5 10:11:15 Step 14/25 : FROM alpine:3.16 10:11:15 3.16: Pulling from library/alpine 10:11:15 9b18e9b68314: Pulling fs layer 10:11:15 9b18e9b68314: Verifying Checksum 10:11:15 9b18e9b68314: Download complete 10:11:15 9b18e9b68314: Pull complete 10:11:15 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:11:15 Status: Downloaded newer image for alpine:3.16 10:11:15 ---> a6215f271958 10:11:15 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:11:15 ---> Running in 0b56534b075a 10:11:15 Removing intermediate container 0b56534b075a 10:11:15 ---> 23aed3429cce 10:11:15 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:11:15 ---> Running in 7f668c9587f2 10:11:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:11:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:11:15 (1/6) Installing dumb-init (1.2.5-r1) 10:11:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:11:15 (3/6) Installing libsodium (1.0.18-r0) 10:11:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:11:15 (5/6) Installing libzmq (4.3.4-r0) 10:11:15 (6/6) Installing zeromq (4.3.4-r0) 10:11:15 Executing busybox-1.35.0-r17.trigger 10:11:15 OK: 8 MiB in 20 packages 10:11:15 Removing intermediate container 7f668c9587f2 10:11:15 ---> 326bc74e0d0c 10:11:15 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 10:11:16 ---> 99c87d933796 10:11:16 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 10:11:16 ---> 6ca5673bb841 10:11:16 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:11:17 ---> e96ce45142f9 10:11:17 Step 20/25 : EXPOSE 59982 10:11:17 ---> Running in dd455ed63df6 10:11:17 Removing intermediate container dd455ed63df6 10:11:17 ---> 40c7e232b4e7 10:11:17 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 10:11:17 ---> Running in cac9a92372dc 10:11:17 Removing intermediate container cac9a92372dc 10:11:17 ---> f6d55cc3db1d 10:11:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:11:18 ---> Running in ce09c906c3e5 10:11:18 Removing intermediate container ce09c906c3e5 10:11:18 ---> e810c067f9a9 10:11:18 Step 23/25 : LABEL arch=arm64 10:11:18 ---> Running in 4a2ba8e35350 10:11:18 Removing intermediate container 4a2ba8e35350 10:11:18 ---> 1c505a6c5936 10:11:18 Step 24/25 : LABEL git_sha=459ccc30368983c74f8fc0b30a8da774d92164b5 10:11:18 ---> Running in a5edb3e2d396 10:11:19 Removing intermediate container a5edb3e2d396 10:11:19 ---> 4768763a855a 10:11:19 Step 25/25 : LABEL version=2.3.0-dev.22 10:11:19 ---> Running in ffb26117cb77 10:11:19 Removing intermediate container ffb26117cb77 10:11:19 ---> 1c0840656b22 10:11:19 [Warning] One or more build-args [ARCH] were not consumed 10:11:19 Successfully built 1c0840656b22 10:11:19 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 10:11:19 provisioning config files... 10:11:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/69@tmp/config17946033074862516267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:19 ---> docker-login.sh 10:11:19 nexus3.edgexfoundry.org:10001 10:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:20 Configure a credential helper to remove this warning. See 10:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:20 10:11:20 Login Succeeded 10:11:20 nexus3.edgexfoundry.org:10002 10:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:20 Configure a credential helper to remove this warning. See 10:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:20 10:11:20 Login Succeeded 10:11:20 nexus3.edgexfoundry.org:10003 10:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:21 Configure a credential helper to remove this warning. See 10:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:21 10:11:21 Login Succeeded 10:11:21 nexus3.edgexfoundry.org:10004 10:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:21 Configure a credential helper to remove this warning. See 10:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:21 10:11:21 Login Succeeded 10:11:21 docker.io 10:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:22 Configure a credential helper to remove this warning. See 10:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:22 10:11:22 Login Succeeded 10:11:22 ---> docker-login.sh ends [Pipeline] } 10:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:22 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 10:11:22 459ccc30368983c74f8fc0b30a8da774d92164b5 10:11:22 latest 10:11:22 2.3.0-dev.22 10:11:22 459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22 10:11:22 main 10:11:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:459ccc30368983c74f8fc0b30a8da774d92164b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:459ccc30368983c74f8fc0b30a8da774d92164b5 10:11:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:11:22 fd68e9b96bfe: Preparing 10:11:22 0b5e4a7b14e1: Preparing 10:11:22 0274c057c6f2: Preparing 10:11:22 92ace8de97ea: Preparing 10:11:22 5d3e392a13a0: Preparing 10:11:22 5d3e392a13a0: Layer already exists 10:11:23 fd68e9b96bfe: Pushed 10:11:23 0b5e4a7b14e1: Pushed 10:11:24 92ace8de97ea: Pushed 10:11:29 0274c057c6f2: Pushed 10:11:29 459ccc30368983c74f8fc0b30a8da774d92164b5: digest: sha256:7660a44d222459d019e1f2c8ad43ac907c7af15e7ba82c652be8efa10e6ab855 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 10:11:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:11:30 fd68e9b96bfe: Preparing 10:11:30 0b5e4a7b14e1: Preparing 10:11:30 0274c057c6f2: Preparing 10:11:30 92ace8de97ea: Preparing 10:11:30 5d3e392a13a0: Preparing 10:11:30 5d3e392a13a0: Layer already exists 10:11:30 0b5e4a7b14e1: Layer already exists 10:11:30 0274c057c6f2: Layer already exists 10:11:30 fd68e9b96bfe: Layer already exists 10:11:30 92ace8de97ea: Layer already exists 10:11:30 latest: digest: sha256:7660a44d222459d019e1f2c8ad43ac907c7af15e7ba82c652be8efa10e6ab855 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.22 10:11:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:11:31 fd68e9b96bfe: Preparing 10:11:31 0b5e4a7b14e1: Preparing 10:11:31 0274c057c6f2: Preparing 10:11:31 92ace8de97ea: Preparing 10:11:31 5d3e392a13a0: Preparing 10:11:31 fd68e9b96bfe: Layer already exists 10:11:31 5d3e392a13a0: Layer already exists 10:11:31 0b5e4a7b14e1: Layer already exists 10:11:31 92ace8de97ea: Layer already exists 10:11:31 0274c057c6f2: Layer already exists 10:11:31 2.3.0-dev.22: digest: sha256:7660a44d222459d019e1f2c8ad43ac907c7af15e7ba82c652be8efa10e6ab855 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22 10:11:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:11:32 fd68e9b96bfe: Preparing 10:11:32 0b5e4a7b14e1: Preparing 10:11:32 0274c057c6f2: Preparing 10:11:32 92ace8de97ea: Preparing 10:11:32 5d3e392a13a0: Preparing 10:11:32 5d3e392a13a0: Layer already exists 10:11:32 0b5e4a7b14e1: Layer already exists 10:11:32 92ace8de97ea: Layer already exists 10:11:32 fd68e9b96bfe: Layer already exists 10:11:32 0274c057c6f2: Layer already exists 10:11:32 459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22: digest: sha256:7660a44d222459d019e1f2c8ad43ac907c7af15e7ba82c652be8efa10e6ab855 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 10:11:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 10:11:33 fd68e9b96bfe: Preparing 10:11:33 0b5e4a7b14e1: Preparing 10:11:33 0274c057c6f2: Preparing 10:11:33 92ace8de97ea: Preparing 10:11:33 5d3e392a13a0: Preparing 10:11:33 0274c057c6f2: Layer already exists 10:11:33 5d3e392a13a0: Layer already exists 10:11:33 92ace8de97ea: Layer already exists 10:11:33 0b5e4a7b14e1: Layer already exists 10:11:33 fd68e9b96bfe: Layer already exists 10:11:33 main: digest: sha256:7660a44d222459d019e1f2c8ad43ac907c7af15e7ba82c652be8efa10e6ab855 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:11:33 ===================================================== [Pipeline] echo 10:11:33 taggedImages: 10:11:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:459ccc30368983c74f8fc0b30a8da774d92164b5 10:11:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 10:11:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.22 10:11:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:459ccc30368983c74f8fc0b30a8da774d92164b5-2.3.0-dev.22 10:11:33 - 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 10:11:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:11:33 10:11:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:11:34 arm64: Pulling from edgex-lftools-log-publisher 10:11:34 8998bd30e6a1: Pulling fs layer 10:11:34 04944245beec: Pulling fs layer 10:11:34 699f458cf7ca: Pulling fs layer 10:11:34 765212b225bb: Pulling fs layer 10:11:34 f23df028b6ca: Pulling fs layer 10:11:34 d65c8cfc05b1: Pulling fs layer 10:11:34 2437ff75d9bd: Pulling fs layer 10:11:34 765212b225bb: Waiting 10:11:34 f23df028b6ca: Waiting 10:11:34 d65c8cfc05b1: Waiting 10:11:34 2437ff75d9bd: Waiting 10:11:34 04944245beec: Verifying Checksum 10:11:34 04944245beec: Download complete 10:11:34 765212b225bb: Verifying Checksum 10:11:34 765212b225bb: Download complete 10:11:34 f23df028b6ca: Verifying Checksum 10:11:34 f23df028b6ca: Download complete 10:11:34 d65c8cfc05b1: Verifying Checksum 10:11:34 d65c8cfc05b1: Download complete 10:11:34 699f458cf7ca: Verifying Checksum 10:11:34 699f458cf7ca: Download complete 10:11:35 8998bd30e6a1: Verifying Checksum 10:11:35 8998bd30e6a1: Download complete 10:11:37 2437ff75d9bd: Verifying Checksum 10:11:37 2437ff75d9bd: Download complete 10:11:39 8998bd30e6a1: Pull complete 10:11:39 04944245beec: Pull complete 10:11:40 699f458cf7ca: Pull complete 10:11:41 765212b225bb: Pull complete 10:11:42 f23df028b6ca: Pull complete 10:11:42 d65c8cfc05b1: Pull complete 10:11:57 2437ff75d9bd: Pull complete 10:11:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:11:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:11:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:57 prd-ubuntu20.04-docker-arm64-4c-16g-7500 does not seem to be running inside a container 10:11:57 $ 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/69 -v /w/workspace/device-mqtt-go/69:/w/workspace/device-mqtt-go/69:rw,z -v /w/workspace/device-mqtt-go/69@tmp:/w/workspace/device-mqtt-go/69@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 10:12:00 $ docker top b9847e271f34c7a28d5b13af27058551360d240f0e53ed5f782d874059bf4f80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:01 ---> job-cost.sh 10:12:01 lf-activate-venv: SKIPPING 10:12:01 INFO: No Stack... 10:12:01 INFO: Retrieving Pricing Info for: v3-standard-4 10:12:02 INFO: Archiving Costs [Pipeline] sh 10:12:02 + cat /w/workspace/device-mqtt-go/69/archives/cost.csv 10:12:02 + cut -d, -f6 [Pipeline] lock 10:12:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-69-stack-cost] 10:12:03 Resource [jenkins-edgexfoundry-device-mqtt-go-main-69-stack-cost] did not exist. Created. 10:12:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:03 /w/workspace/device-mqtt-go/69@tmp/durable-c4be2606/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:12:04 + echo total: 0.10999999940395355 [Pipeline] stash 10:12:04 Warning: overwriting stash ‘stack-cost’ 10:12:04 Stashed 1 file(s) [Pipeline] } 10:12:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:04 $ docker stop --time=1 b9847e271f34c7a28d5b13af27058551360d240f0e53ed5f782d874059bf4f80 10:12:05 $ docker rm -f b9847e271f34c7a28d5b13af27058551360d240f0e53ed5f782d874059bf4f80 [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 10:12:06 provisioning config files... 10:12:06 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9878238739789071410tmp [Pipeline] { [Pipeline] sh 10:12:06 + set +x 10:12:06 + curl -s https://codecov.io/bash 10:12:06 + bash -s -- 10:12:06 10:12:06 _____ _ 10:12:06 / ____| | | 10:12:06 | | ___ __| | ___ ___ _____ __ 10:12:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:12:06 | |___| (_) | (_| | __/ (_| (_) \ V / 10:12:06 \_____\___/ \__,_|\___|\___\___/ \_/ 10:12:06 Bash-1.0.6 10:12:06 10:12:06 10:12:06 ==> git version 2.25.1 found 10:12:06 ==> 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 10:12:06 Release-Date: 2020-01-08 10:12:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:12:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:12:06 ==> Jenkins CI detected. 10:12:06 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 10:12:06 project root: . 10:12:06 --> token set from env 10:12:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:12:06 ==> Running gcov in . (disable via -X gcov) 10:12:06 ==> Python coveragepy not found 10:12:06 ==> Searching for coverage reports in: 10:12:06 + . 10:12:06 -> Found 1 reports 10:12:06 ==> Detecting git/mercurial file structure 10:12:06 ==> Reading reports 10:12:06 + ./coverage.out bytes=17887 10:12:06 ==> Appending adjustments 10:12:06 https://docs.codecov.io/docs/fixing-reports 10:12:06 + Found adjustments 10:12:06 ==> Gzipping contents 10:12:06 4.0K /tmp/codecov.FMCRh0.gz 10:12:06 ==> Uploading reports 10:12:06 url: https://codecov.io 10:12:06 query: branch=main&commit=459ccc30368983c74f8fc0b30a8da774d92164b5&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:12:06 -> Pinging Codecov 10:12:06 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=459ccc30368983c74f8fc0b30a8da774d92164b5&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:12:07 -> Uploading to 10:12:07 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/459ccc30368983c74f8fc0b30a8da774d92164b5/43ebc393-c267-4292-b8b5-848182910ac7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T101206Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8727c35624ea936b03b22cd54c48916dd9fd1238854506b8a902aa041cd904b9 10:12:07 % Total % Received % Xferd Average Speed Time Time Time Current 10:12:07 Dload Upload Total Spent Left Speed 10:12:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 13593 --:--:-- --:--:-- --:--:-- 13593 10:12:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/459ccc30368983c74f8fc0b30a8da774d92164b5 [Pipeline] } 10:12:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:12:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:12:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:12:07 10:12:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:12:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:12:08 df9b9388f04a: Pulling fs layer 10:12:08 52dc419b0ee2: Pulling fs layer 10:12:08 25bc292e5bac: Pulling fs layer 10:12:08 114826534d7a: Pulling fs layer 10:12:08 4657fd5d0bcf: Pulling fs layer 10:12:08 6ad1cebc031e: Pulling fs layer 10:12:08 8a3aa393b2d8: Pulling fs layer 10:12:08 114826534d7a: Waiting 10:12:08 4657fd5d0bcf: Waiting 10:12:08 6ad1cebc031e: Waiting 10:12:08 8a3aa393b2d8: Waiting 10:12:08 25bc292e5bac: Verifying Checksum 10:12:08 25bc292e5bac: Download complete 10:12:08 52dc419b0ee2: Download complete 10:12:08 4657fd5d0bcf: Verifying Checksum 10:12:08 4657fd5d0bcf: Download complete 10:12:08 df9b9388f04a: Verifying Checksum 10:12:08 df9b9388f04a: Download complete 10:12:08 df9b9388f04a: Pull complete 10:12:08 6ad1cebc031e: Verifying Checksum 10:12:08 6ad1cebc031e: Download complete 10:12:08 52dc419b0ee2: Pull complete 10:12:08 25bc292e5bac: Pull complete 10:12:08 114826534d7a: Verifying Checksum 10:12:08 114826534d7a: Download complete 10:12:08 8a3aa393b2d8: Verifying Checksum 10:12:08 8a3aa393b2d8: Download complete 10:12:12 114826534d7a: Pull complete 10:12:12 4657fd5d0bcf: Pull complete 10:12:12 6ad1cebc031e: Pull complete 10:12:14 8a3aa393b2d8: Pull complete 10:12:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:12:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:12:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:15 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:12:15 $ 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 10:12:17 $ docker top f2c15196c16f6ff84781250ecffe7d3d8e958427845fe1e05238669e5837afb0 -eo pid,comm [Pipeline] { [Pipeline] echo 10:12:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 10:12:18 + set -o pipefail 10:12:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 10:12:24 10:12:24 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 10:12:24 10:12:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/a78b810b-e3a2-46bb-9abf-2185dea9b3e0 10:12:24 10:12:24 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:12:24 10:12:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:12:24 10:12:24 10:12:24 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:12:24 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:12:24 More details here: https://snyk.co/ue1NS [Pipeline] } 10:12:24 $ docker stop --time=1 f2c15196c16f6ff84781250ecffe7d3d8e958427845fe1e05238669e5837afb0 10:12:27 $ docker rm -f f2c15196c16f6ff84781250ecffe7d3d8e958427845fe1e05238669e5837afb0 [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 10:12:28 + git log --format=format:%s -1 459ccc30368983c74f8fc0b30a8da774d92164b5 [Pipeline] sh 10:12:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:12:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:12:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:28 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:12:28 $ 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 10:12:29 $ docker top 6b418f08e49c8c44d6840c52a8c6e3bf5614fa8e6e34201ed3a4f13f3eee1836 -eo pid,comm 10:12:29 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). 10:12:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:12:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:12:29 [ssh-agent] Looking for ssh-agent implementation... 10:12:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:12:29 $ docker exec 6b418f08e49c8c44d6840c52a8c6e3bf5614fa8e6e34201ed3a4f13f3eee1836 ssh-agent 10:12:29 SSH_AUTH_SOCK=/tmp/ssh-WKTPkv5e4ENV/agent.32 10:12:29 SSH_AGENT_PID=38 10:12:29 Running ssh-add (command line suppressed) 10:12:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6330050349662979904.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6330050349662979904.key) 10:12:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:12:29 + git semver tag 10:12:30 2022-10-10 10:12:30,082 [run_tag] DEBUG tag force:False 10:12:30 2022-10-10 10:12:30,083 [check_head_tag] DEBUG check head tag 10:12:30 2022-10-10 10:12:30,084 [execute] INFO git cat-file --batch-check 10:12:30 2022-10-10 10:12:30,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 10:12:30 2022-10-10 10:12:30,087 [execute] INFO git cat-file --batch 10:12:30 2022-10-10 10:12:30,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 10:12:30 2022-10-10 10:12:30,101 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:12:30 2022-10-10 10:12:30,101 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 10:12:30 2022-10-10 10:12:30,101 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.22', '-m', 'v2.3.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 10:12:30 2022-10-10 10:12:30,106 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:12:30 2.3.0-dev.22 [Pipeline] } 10:12:30 $ docker exec --env ******** --env ******** 6b418f08e49c8c44d6840c52a8c6e3bf5614fa8e6e34201ed3a4f13f3eee1836 ssh-agent -k 10:12:30 unset SSH_AUTH_SOCK; 10:12:30 unset SSH_AGENT_PID; 10:12:30 echo Agent pid 38 killed; 10:12:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:12:30 + git semver [Pipeline] } 10:12:30 $ docker stop --time=1 6b418f08e49c8c44d6840c52a8c6e3bf5614fa8e6e34201ed3a4f13f3eee1836 10:12:32 $ docker rm -f 6b418f08e49c8c44d6840c52a8c6e3bf5614fa8e6e34201ed3a4f13f3eee1836 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:12:32 10:12:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:12:32 0.23.1-centos7: Pulling from edgex-lftools 10:12:32 ab5ef0e58194: Pulling fs layer 10:12:32 9712f1f96733: Pulling fs layer 10:12:32 63f879dbbcfc: Pulling fs layer 10:12:32 0d9ebad4ef96: Pulling fs layer 10:12:32 e9a5061849ea: Pulling fs layer 10:12:32 d747dcd14b5f: Pulling fs layer 10:12:32 2de7ff778b66: Pulling fs layer 10:12:32 d747dcd14b5f: Waiting 10:12:32 2de7ff778b66: Waiting 10:12:32 0d9ebad4ef96: Waiting 10:12:32 9712f1f96733: Verifying Checksum 10:12:32 9712f1f96733: Download complete 10:12:33 63f879dbbcfc: Verifying Checksum 10:12:33 63f879dbbcfc: Download complete 10:12:33 e9a5061849ea: Verifying Checksum 10:12:33 e9a5061849ea: Download complete 10:12:33 d747dcd14b5f: Verifying Checksum 10:12:33 d747dcd14b5f: Download complete 10:12:33 0d9ebad4ef96: Download complete 10:12:33 ab5ef0e58194: Verifying Checksum 10:12:33 ab5ef0e58194: Download complete 10:12:33 2de7ff778b66: Verifying Checksum 10:12:33 2de7ff778b66: Download complete 10:12:36 ab5ef0e58194: Pull complete 10:12:36 9712f1f96733: Pull complete 10:12:36 63f879dbbcfc: Pull complete 10:12:40 0d9ebad4ef96: Pull complete 10:12:40 e9a5061849ea: Pull complete 10:12:40 d747dcd14b5f: Pull complete 10:12:41 2de7ff778b66: Pull complete 10:12:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:12:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:12:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:41 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:12:41 $ 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 10:12:44 $ docker top 60e9e60f67f2c7b866a18aaca28804a69efc89cf51c38d4d7fb08f69fc3a569d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:12:44 provisioning config files... 10:12:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3201418751261831099tmp 10:12:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11844081157626314473tmp 10:12:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8363130937489966667tmp [Pipeline] { [Pipeline] echo 10:12:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:12:45 ---> sigul-configuration.sh 10:12:45 gpg: directory `/root/.gnupg' created 10:12:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:12:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:12:45 gpg: keyring `/root/.gnupg/secring.gpg' created 10:12:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:12:45 gpg: CAST5 encrypted data 10:12:45 gpg: encrypted with 1 passphrase 10:12:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:12:45 + mkdir /home/jenkins 10:12:45 + mkdir /home/jenkins/sigul [Pipeline] sh 10:12:45 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:12:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:12:46 ---> sigul-install.sh 10:12:46 Sigul already installed; skipping installation. [Pipeline] sh 10:12:46 + git tag --list 10:12:46 0.7.1 10:12:46 v1.0.0 10:12:46 v1.1.0 10:12:46 v1.1.1 10:12:46 v1.2.2 10:12:46 v1.3.0 10:12:46 v1.3.1 10:12:46 v2.0.0 10:12:46 v2.1.0 10:12:46 v2.1.1 10:12:46 v2.1.1-dev.1 10:12:46 v2.1.1-dev.2 10:12:46 v2.2.0 10:12:46 v2.2.1-dev.1 10:12:46 v2.2.1-dev.10 10:12:46 v2.2.1-dev.2 10:12:46 v2.2.1-dev.3 10:12:46 v2.2.1-dev.4 10:12:46 v2.2.1-dev.5 10:12:46 v2.2.1-dev.6 10:12:46 v2.2.1-dev.7 10:12:46 v2.2.1-dev.8 10:12:46 v2.2.1-dev.9 10:12:46 v2.3.0-dev.10 10:12:46 v2.3.0-dev.11 10:12:46 v2.3.0-dev.12 10:12:46 v2.3.0-dev.13 10:12:46 v2.3.0-dev.14 10:12:46 v2.3.0-dev.15 10:12:46 v2.3.0-dev.16 10:12:46 v2.3.0-dev.17 10:12:46 v2.3.0-dev.18 10:12:46 v2.3.0-dev.19 10:12:46 v2.3.0-dev.20 10:12:46 v2.3.0-dev.21 10:12:46 v2.3.0-dev.22 [Pipeline] sh 10:12:46 + lftools sign git-tag v2.3.0-dev.22 10:12:47 Signing Git tag with Sigul... 10:12:47 Signing v2.3.0-dev.22 [Pipeline] echo 10:12:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:12:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:12:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:12:47 $ docker stop --time=1 60e9e60f67f2c7b866a18aaca28804a69efc89cf51c38d4d7fb08f69fc3a569d 10:12:49 $ docker rm -f 60e9e60f67f2c7b866a18aaca28804a69efc89cf51c38d4d7fb08f69fc3a569d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:12:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:12:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:12:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:49 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:12:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:12:50 $ docker top 9ccaac7f6a2daf6a8391e5ad0f7db09d4730792931ce466bb097ed52c17710f8 -eo pid,comm 10:12:50 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). 10:12:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:12:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:12:50 [ssh-agent] Looking for ssh-agent implementation... 10:12:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:12:50 $ docker exec 9ccaac7f6a2daf6a8391e5ad0f7db09d4730792931ce466bb097ed52c17710f8 ssh-agent 10:12:50 SSH_AUTH_SOCK=/tmp/ssh-XhpdlhqugXZ6/agent.32 10:12:50 SSH_AGENT_PID=38 10:12:50 Running ssh-add (command line suppressed) 10:12:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8706785928871328138.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8706785928871328138.key) 10:12:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:12:50 + git semver bump pre 10:12:51 2022-10-10 10:12:51,059 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:12:51 2022-10-10 10:12:51,060 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev 10:12:51 2022-10-10 10:12:51,060 [bump_version] DEBUG bumped version:2.3.0-dev.23 10:12:51 2022-10-10 10:12:51,060 [write_version] DEBUG write version:2.3.0-dev.23 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 10:12:51 2022-10-10 10:12:51,060 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:12:51 2022-10-10 10:12:51,060 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:12:51 2022-10-10 10:12:51,062 [execute] INFO git cat-file --batch-check 10:12:51 2022-10-10 10:12:51,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:12:51 2022-10-10 10:12:51,066 [execute] INFO git cat-file --batch 10:12:51 2022-10-10 10:12:51,067 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:12:51 2022-10-10 10:12:51,071 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:12:51 2.3.0-dev.23 [Pipeline] } 10:12:51 $ docker exec --env ******** --env ******** 9ccaac7f6a2daf6a8391e5ad0f7db09d4730792931ce466bb097ed52c17710f8 ssh-agent -k 10:12:51 unset SSH_AUTH_SOCK; 10:12:51 unset SSH_AGENT_PID; 10:12:51 echo Agent pid 38 killed; 10:12:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:12:51 + git semver [Pipeline] } 10:12:51 $ docker stop --time=1 9ccaac7f6a2daf6a8391e5ad0f7db09d4730792931ce466bb097ed52c17710f8 10:12:53 $ docker rm -f 9ccaac7f6a2daf6a8391e5ad0f7db09d4730792931ce466bb097ed52c17710f8 [Pipeline] // withDockerContainer [Pipeline] sh 10:12:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:12:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:12:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:53 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:12:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:12:54 $ docker top 59fbfe5dc6d26d2f07ce4a03b4a03795cc587e1e34ea59a037f52e4c9fc6790a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:12:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:12:54 [ssh-agent] Looking for ssh-agent implementation... 10:12:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:12:54 $ docker exec 59fbfe5dc6d26d2f07ce4a03b4a03795cc587e1e34ea59a037f52e4c9fc6790a ssh-agent 10:12:54 SSH_AUTH_SOCK=/tmp/ssh-EkfoyN2lDRyV/agent.32 10:12:54 SSH_AGENT_PID=38 10:12:54 Running ssh-add (command line suppressed) 10:12:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4233412718477397065.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4233412718477397065.key) 10:12:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:12:54 + git semver push 10:12:55 2022-10-10 10:12:54,964 [run_push] DEBUG push 10:12:55 2022-10-10 10:12:54,965 [execute] INFO git cat-file --batch-check 10:12:55 2022-10-10 10:12:54,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:12:55 2022-10-10 10:12:54,968 [execute] INFO git rev-list 1a61bd8e930b4e1f27391e7c1f30cab1eca346cc -- 10:12:55 2022-10-10 10:12:54,969 [execute] DEBUG Popen(['git', 'rev-list', '1a61bd8e930b4e1f27391e7c1f30cab1eca346cc', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:12:55 2022-10-10 10:12:54,975 [execute] INFO git fetch -v origin 10:12:55 2022-10-10 10:12:54,975 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:12:55 2022-10-10 10:12:55,568 [run_push] DEBUG no remote changes detected 10:12:55 2022-10-10 10:12:55,568 [execute] INFO git push origin semver 10:12:55 2022-10-10 10:12:55,569 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:12:56 2022-10-10 10:12:56,397 [run_push] DEBUG push all version tags 10:12:56 2022-10-10 10:12:56,398 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:12:56 2022-10-10 10:12:56,398 [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) 10:12:57 2022-10-10 10:12:57,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:12:57 2.3.0-dev.23 [Pipeline] } 10:12:57 $ docker exec --env ******** --env ******** 59fbfe5dc6d26d2f07ce4a03b4a03795cc587e1e34ea59a037f52e4c9fc6790a ssh-agent -k 10:12:57 unset SSH_AUTH_SOCK; 10:12:57 unset SSH_AGENT_PID; 10:12:57 echo Agent pid 38 killed; 10:12:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:12:57 + git semver [Pipeline] } 10:12:58 $ docker stop --time=1 59fbfe5dc6d26d2f07ce4a03b4a03795cc587e1e34ea59a037f52e4c9fc6790a 10:12:59 $ docker rm -f 59fbfe5dc6d26d2f07ce4a03b4a03795cc587e1e34ea59a037f52e4c9fc6790a [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 10:12:59 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 10:12:59 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:12:59 total 16 10:12:59 drwxr-xr-x 3 root root 4096 Oct 10 10:02 . 10:12:59 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 10:12 .. 10:12:59 drwxr-xr-x 2 root root 4096 Oct 10 10:02 cost 10:12:59 -rw-r--r-- 1 root root 85 Oct 10 10:02 cost.csv 10:12:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:12:59 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 10:12:59 total 16 10:12:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:02 . 10:12:59 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 10:12 .. 10:12:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 10:02 cost 10:12:59 -rw-r--r-- 1 jenkins jenkins 85 Oct 10 10:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:13:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:13:01 ---> package-listing.sh 10:13:01 ++ facter osfamily 10:13:01 ++ tr '[:upper:]' '[:lower:]' 10:13:01 + OS_FAMILY=debian 10:13:01 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 10:13:01 + START_PACKAGES=/tmp/packages_start.txt 10:13:01 + END_PACKAGES=/tmp/packages_end.txt 10:13:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:13:01 + PACKAGES=/tmp/packages_start.txt 10:13:01 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 10:13:01 + PACKAGES=/tmp/packages_end.txt 10:13:01 + case "${OS_FAMILY}" in 10:13:01 + dpkg -l 10:13:01 + grep '^ii' 10:13:01 + '[' -f /tmp/packages_start.txt ']' 10:13:01 + '[' -f /tmp/packages_end.txt ']' 10:13:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:13:01 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 10:13:01 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 10:13:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 10:13:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:13:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:02 prd-ubuntu20.04-docker-8c-8g-7495 does not seem to be running inside a container 10:13:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:13:02 $ docker top 758a5781961567b1783339f93dd090f0b26257c813c263b7c6ab3b8ec4ed9b47 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:02 + touch /tmp/pre-build-complete [Pipeline] sh 10:13:03 + mkdir -p /var/log/sysstat [Pipeline] sh 10:13:03 + ls /var/log/sa-host 10:13:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:03 provisioning config files... 10:13:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18023610392714394892tmp [Pipeline] { [Pipeline] echo 10:13:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:13:03 ---> create-netrc.sh [Pipeline] } 10:13:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:13:04 ---> python-tools-install.sh [Pipeline] echo 10:13:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:13:04 ---> sudo-logs.sh 10:13:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:13:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:13:04 ---> job-cost.sh 10:13:04 lf-activate-venv: SKIPPING 10:13:04 DEBUG: total: 0.2199999988079071 10:13:04 INFO: Retrieving Stack Cost... 10:13:05 INFO: Retrieving Pricing Info for: v3-standard-8 10:13:05 INFO: Archiving Costs [Pipeline] echo 10:13:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:13:05 ---> logs-deploy.sh 10:13:05 lf-activate-venv: SKIPPING 10:13:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/69 10:13:05 INFO: archiving workspace using pattern(s): 10:13:06 Archives upload complete. 10:13:06 INFO: archiving logs to Nexus