Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 08f894f6759a1d01e47be8be883e82626f2c5ca7 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-ssh13035271348343753286.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10375532895697582880.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5457487694637795520.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2744614285398581448.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7327143593564452214.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1754 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 08f894f6759a1d01e47be8be883e82626f2c5ca7 (main) Commit message: "feat!: Remove ZeroMQ MessageBus capability (#449)" > 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 08f894f6759a1d01e47be8be883e82626f2c5ca7 # timeout=10 > git rev-list --no-walk fe528491bba3fee0f8df2cff68391009d47da719 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:30:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:30:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:30:08 ========================================================= 23:30:08 EdgeX Global Pipelines Version Info 23:30:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:30:08 ------------------- 23:30:08 stable info: 23:30:08 ------------------- 23:30:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:30:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:30:08 Message: update stable to v1.0.244 23:30:09 ------------------- 23:30:09 experimental info: 23:30:09 ------------------- 23:30:09 Commited By: **** collab-it+edgex@linuxfoundation.org 23:30:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:30:09 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:30:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:30:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:30:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:30:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:30:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08f894f6759a1d01e47be8be883e82626f2c5ca7 [Pipeline] echo 23:30:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08f894f [Pipeline] echo 23:30:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:10 provisioning config files... 23:30:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17595861639624098462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:10 ---> docker-login.sh 23:30:10 nexus3.edgexfoundry.org:10001 23:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:10 Configure a credential helper to remove this warning. See 23:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:10 23:30:10 Login Succeeded 23:30:10 nexus3.edgexfoundry.org:10002 23:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:10 Configure a credential helper to remove this warning. See 23:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:10 23:30:10 Login Succeeded 23:30:10 nexus3.edgexfoundry.org:10003 23:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:10 Configure a credential helper to remove this warning. See 23:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:10 23:30:10 Login Succeeded 23:30:10 nexus3.edgexfoundry.org:10004 23:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:10 Configure a credential helper to remove this warning. See 23:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:10 23:30:10 Login Succeeded 23:30:10 docker.io 23:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:11 Configure a credential helper to remove this warning. See 23:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:11 23:30:11 Login Succeeded 23:30:11 ---> docker-login.sh ends [Pipeline] } 23:30:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:30:11 + git rev-list -1 --merges 08f894f6759a1d01e47be8be883e82626f2c5ca7~1..08f894f6759a1d01e47be8be883e82626f2c5ca7 [Pipeline] echo 23:30:11 -----------> git rev-list -1 --merges 08f894f6759a1d01e47be8be883e82626f2c5ca7~1..08f894f6759a1d01e47be8be883e82626f2c5ca7 08f894f6759a1d01e47be8be883e82626f2c5ca7 [false] [Pipeline] sh 23:30:12 + git log --format=format:%s -1 08f894f6759a1d01e47be8be883e82626f2c5ca7 [Pipeline] echo 23:30:12 ========================================================= 23:30:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:30:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:12 + git log --format=format:%s -1 08f894f6759a1d01e47be8be883e82626f2c5ca7 [Pipeline] echo 23:30:12 [semverPrep] GIT_COMMIT: 08f894f6759a1d01e47be8be883e82626f2c5ca7, Commit Message: feat!: Remove ZeroMQ MessageBus capability (#449) [Pipeline] echo 23:30:12 [semverPrep] This is not a build commit. [Pipeline] sh 23:30:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:30:12 + grep -v github /etc/ssh/ssh_known_hosts 23:30:12 + [ -e /tmp/ssh_known_hosts ] 23:30:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:30:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:30:12 + sudo tee -a /etc/ssh/ssh_known_hosts 23:30:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:13 23:30:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:13 0.1.4: Pulling from edgex-devops/py-git-semver 23:30:13 b85a868b505f: Pulling fs layer 23:30:13 e2be974225ed: Pulling fs layer 23:30:13 339a4e72a1f5: Pulling fs layer 23:30:13 988bab9f4d93: Pulling fs layer 23:30:13 1469e6f7b9e6: Pulling fs layer 23:30:13 eaf3925da568: Pulling fs layer 23:30:13 bab4dde63d76: Pulling fs layer 23:30:13 bde34c3a00c8: Pulling fs layer 23:30:13 b352a97aabf1: Pulling fs layer 23:30:13 4872d77fe225: Pulling fs layer 23:30:13 5851b861e8e6: Pulling fs layer 23:30:13 988bab9f4d93: Waiting 23:30:13 1469e6f7b9e6: Waiting 23:30:13 bab4dde63d76: Waiting 23:30:13 5851b861e8e6: Waiting 23:30:13 b352a97aabf1: Waiting 23:30:13 bde34c3a00c8: Waiting 23:30:13 eaf3925da568: Waiting 23:30:13 e2be974225ed: Download complete 23:30:13 988bab9f4d93: Download complete 23:30:13 1469e6f7b9e6: Verifying Checksum 23:30:13 1469e6f7b9e6: Download complete 23:30:13 eaf3925da568: Verifying Checksum 23:30:13 eaf3925da568: Download complete 23:30:13 339a4e72a1f5: Verifying Checksum 23:30:13 339a4e72a1f5: Download complete 23:30:13 bde34c3a00c8: Download complete 23:30:13 b352a97aabf1: Download complete 23:30:13 4872d77fe225: Download complete 23:30:13 5851b861e8e6: Verifying Checksum 23:30:13 5851b861e8e6: Download complete 23:30:13 b85a868b505f: Verifying Checksum 23:30:13 b85a868b505f: Download complete 23:30:14 bab4dde63d76: Verifying Checksum 23:30:14 bab4dde63d76: Download complete 23:30:15 b85a868b505f: Pull complete 23:30:15 e2be974225ed: Pull complete 23:30:16 339a4e72a1f5: Pull complete 23:30:16 988bab9f4d93: Pull complete 23:30:16 1469e6f7b9e6: Pull complete 23:30:16 eaf3925da568: Pull complete 23:30:18 bab4dde63d76: Pull complete 23:30:18 bde34c3a00c8: Pull complete 23:30:18 b352a97aabf1: Pull complete 23:30:18 4872d77fe225: Pull complete 23:30:18 5851b861e8e6: Pull complete 23:30:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:30:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:18 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:30:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:30:21 $ docker top 0eae0ad5722eeec238fbcefa13c5c5ed592338fa2fe1c7e9076ab179e9200696 -eo pid,comm 23:30:21 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). 23:30:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:30:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:21 [ssh-agent] Looking for ssh-agent implementation... 23:30:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:21 $ docker exec 0eae0ad5722eeec238fbcefa13c5c5ed592338fa2fe1c7e9076ab179e9200696 ssh-agent 23:30:22 SSH_AUTH_SOCK=/tmp/ssh-XtI4we6m4Jfi/agent.33 23:30:22 SSH_AGENT_PID=39 23:30:22 Running ssh-add (command line suppressed) 23:30:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16953825062824805876.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16953825062824805876.key) 23:30:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:22 + git tag --points-at HEAD [Pipeline] } 23:30:22 $ docker exec --env ******** --env ******** 0eae0ad5722eeec238fbcefa13c5c5ed592338fa2fe1c7e9076ab179e9200696 ssh-agent -k 23:30:22 unset SSH_AUTH_SOCK; 23:30:22 unset SSH_AGENT_PID; 23:30:22 echo Agent pid 39 killed; 23:30:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:30:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:22 [ssh-agent] Looking for ssh-agent implementation... 23:30:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:22 $ docker exec 0eae0ad5722eeec238fbcefa13c5c5ed592338fa2fe1c7e9076ab179e9200696 ssh-agent 23:30:22 SSH_AUTH_SOCK=/tmp/ssh-3xBb1xTg5wkk/agent.72 23:30:22 SSH_AGENT_PID=78 23:30:22 Running ssh-add (command line suppressed) 23:30:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6198742626538426760.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6198742626538426760.key) 23:30:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:23 + git semver init 23:30:23 2023-01-10 23:30:23,485 [run_init] DEBUG init version:0.0.0 force:False 23:30:23 2023-01-10 23:30:23,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:30:23 2023-01-10 23:30:23,486 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 23:30:23 2023-01-10 23:30:23,487 [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) 23:30:24 2023-01-10 23:30:24,344 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 23:30:24 2023-01-10 23:30:24,344 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 23:30:24 2023-01-10 23:30:24,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:30:24 2023-01-10 23:30:24,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:30:24 3.0.0-dev.3 [Pipeline] } 23:30:24 $ docker exec --env ******** --env ******** 0eae0ad5722eeec238fbcefa13c5c5ed592338fa2fe1c7e9076ab179e9200696 ssh-agent -k 23:30:24 unset SSH_AUTH_SOCK; 23:30:24 unset SSH_AGENT_PID; 23:30:24 echo Agent pid 78 killed; 23:30:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:30:24 + git semver [Pipeline] } 23:30:25 $ docker stop --time=1 0eae0ad5722eeec238fbcefa13c5c5ed592338fa2fe1c7e9076ab179e9200696 23:30:26 $ docker rm -f --volumes 0eae0ad5722eeec238fbcefa13c5c5ed592338fa2fe1c7e9076ab179e9200696 [Pipeline] // withDockerContainer [Pipeline] sh 23:30:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:30:27 Stashed 1 file(s) [Pipeline] echo 23:30:27 [edgeXSemver]: initialized semver on version 3.0.0-dev.3 [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 23:30:27 provisioning config files... 23:30:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15239457432011567989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:27 ---> docker-login.sh 23:30:27 nexus3.edgexfoundry.org:10001 23:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:27 Configure a credential helper to remove this warning. See 23:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:27 23:30:27 Login Succeeded 23:30:27 nexus3.edgexfoundry.org:10002 23:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:27 Configure a credential helper to remove this warning. See 23:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:27 23:30:27 Login Succeeded 23:30:27 nexus3.edgexfoundry.org:10003 23:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:27 Configure a credential helper to remove this warning. See 23:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:27 23:30:27 Login Succeeded 23:30:27 nexus3.edgexfoundry.org:10004 23:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:27 Configure a credential helper to remove this warning. See 23:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:27 23:30:27 Login Succeeded 23:30:27 docker.io 23:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:28 Configure a credential helper to remove this warning. See 23:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:28 23:30:28 Login Succeeded 23:30:28 ---> docker-login.sh ends [Pipeline] } 23:30:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:28 ========================================================= 23:30:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:30:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:28 + 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 . 23:30:28 Sending build context to Docker daemon 6.322MB 23:30:28 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:30:28 Step 2/12 : FROM ${BASE} AS builder 23:30:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:30:28 213ec9aee27d: Pulling fs layer 23:30:28 4583459ba037: Pulling fs layer 23:30:28 93c1e223e6f2: Pulling fs layer 23:30:28 53926ce57604: Pulling fs layer 23:30:28 21b2b0c7a3f4: Pulling fs layer 23:30:28 22ff95d597cd: Pulling fs layer 23:30:28 12d6caf4c0d1: Pulling fs layer 23:30:28 96b7cbca73a9: Pulling fs layer 23:30:28 a7acece74701: Pulling fs layer 23:30:28 21b2b0c7a3f4: Waiting 23:30:28 22ff95d597cd: Waiting 23:30:28 12d6caf4c0d1: Waiting 23:30:28 96b7cbca73a9: Waiting 23:30:28 a7acece74701: Waiting 23:30:28 53926ce57604: Waiting 23:30:28 93c1e223e6f2: Verifying Checksum 23:30:28 93c1e223e6f2: Download complete 23:30:28 4583459ba037: Verifying Checksum 23:30:28 4583459ba037: Download complete 23:30:28 21b2b0c7a3f4: Verifying Checksum 23:30:28 21b2b0c7a3f4: Download complete 23:30:28 22ff95d597cd: Verifying Checksum 23:30:28 22ff95d597cd: Download complete 23:30:28 213ec9aee27d: Verifying Checksum 23:30:28 213ec9aee27d: Download complete 23:30:28 12d6caf4c0d1: Verifying Checksum 23:30:28 12d6caf4c0d1: Download complete 23:30:28 213ec9aee27d: Pull complete 23:30:28 4583459ba037: Pull complete 23:30:28 93c1e223e6f2: Pull complete 23:30:29 a7acece74701: Verifying Checksum 23:30:29 a7acece74701: Download complete 23:30:29 53926ce57604: Verifying Checksum 23:30:29 53926ce57604: Download complete 23:30:29 96b7cbca73a9: Verifying Checksum 23:30:29 96b7cbca73a9: Download complete 23:30:33 53926ce57604: Pull complete 23:30:33 21b2b0c7a3f4: Pull complete 23:30:33 22ff95d597cd: Pull complete 23:30:33 12d6caf4c0d1: Pull complete 23:30:36 96b7cbca73a9: Pull complete 23:30:36 a7acece74701: Pull complete 23:30:36 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:30:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:30:36 ---> db6d94c90886 23:30:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:30:42 ---> Running in e20fe31c271c 23:30:42 Removing intermediate container e20fe31c271c 23:30:42 ---> 859da324097c 23:30:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:30:42 ---> Running in 5b66ea143fef 23:30:42 Removing intermediate container 5b66ea143fef 23:30:42 ---> 34f7e4267f24 23:30:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:30:42 ---> Running in de629c5b24e0 23:30:42 Removing intermediate container de629c5b24e0 23:30:42 ---> 3b935dd890a3 23:30:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:30:42 ---> Running in a14442df0f57 23:30:42 Removing intermediate container a14442df0f57 23:30:42 ---> 8c3f7eb297df 23:30:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:42 ---> Running in b9a083dfe104 23:30:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:30:42 Still waiting to schedule task 23:30:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:30:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:30:42 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:30:42 (2/4) Installing libedit (20210910.3.1-r0) 23:30:42 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:30:42 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:30:42 Executing busybox-1.35.0-r17.trigger 23:30:42 OK: 216 MiB in 55 packages 23:30:43 Removing intermediate container b9a083dfe104 23:30:43 ---> 62e90a70c063 23:30:43 Step 8/12 : WORKDIR /device-mqtt-go 23:30:43 ---> Running in c34d11a476f3 23:30:43 Removing intermediate container c34d11a476f3 23:30:43 ---> 9381f7da05b5 23:30:43 Step 9/12 : COPY go.mod vendor* ./ 23:30:43 ---> 98467711bcb2 23:30:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:43 ---> Running in 7c54f5a51d6b 23:31:10 Removing intermediate container 7c54f5a51d6b 23:31:10 ---> 8b362d35c72f 23:31:10 Step 11/12 : COPY . . 23:31:10 ---> a92b67307880 23:31:10 Step 12/12 : RUN $MAKE 23:31:10 ---> Running in 4ddad5f64345 23:31:10 noop 23:31:10 Removing intermediate container 4ddad5f64345 23:31:10 ---> 15ef6e28c92f 23:31:10 Successfully built 15ef6e28c92f 23:31:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:10 + docker inspect -f . ci-base-image-x86_64 23:31:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:10 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:31: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 23:31:10 $ docker top 2235f7d698e1d490e14e9832a2d8c025f362c6e4dce59e8bbf156f5e99171535 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:11 + go version 23:31:11 go version go1.18.7 linux/amd64 [Pipeline] } 23:31:11 $ docker stop --time=1 2235f7d698e1d490e14e9832a2d8c025f362c6e4dce59e8bbf156f5e99171535 23:31:12 $ docker rm -f --volumes 2235f7d698e1d490e14e9832a2d8c025f362c6e4dce59e8bbf156f5e99171535 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:12 + docker inspect -f . ci-base-image-x86_64 23:31:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:13 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:31:13 $ 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 23:31:13 $ docker top a2d8f909cf6750546ab98ca1a5553caa42037b08bfa99fb064424fb88e0f5057 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 23:31:14 + make test 23:31:14 go test ./... -coverprofile=coverage.out ./... 23:31:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:31:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:31:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 23:31:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:31:33 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." 23:31:33 go vet ./... 23:31:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:31:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:31:36 ./bin/test-attribution-txt.sh [Pipeline] echo 23:31:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:31:36 $ docker stop --time=1 a2d8f909cf6750546ab98ca1a5553caa42037b08bfa99fb064424fb88e0f5057 23:31:39 $ docker rm -f --volumes a2d8f909cf6750546ab98ca1a5553caa42037b08bfa99fb064424fb88e0f5057 [Pipeline] // withDockerContainer [Pipeline] sh 23:31:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:31:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:31:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:31:41 + ls -al . 23:31:41 total 192 23:31:41 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:31 . 23:31:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:30 .. 23:31:41 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 23:30 .dockerignore 23:31:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:31 .git 23:31:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:30 .github 23:31:41 -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:30 .gitignore 23:31:41 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:30 .golangci.yml 23:31:41 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:30 .semver 23:31:41 -rw-rw-r-- 1 jenkins jenkins 9189 Jan 10 23:30 Attribution.txt 23:31:41 -rw-rw-r-- 1 jenkins jenkins 13162 Jan 10 23:30 CHANGELOG.md 23:31:41 -rw-rw-r-- 1 jenkins jenkins 1689 Jan 10 23:30 Dockerfile 23:31:41 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:30 GOVERNANCE.md 23:31:41 -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 23:30 Jenkinsfile 23:31:41 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:30 LICENSE 23:31:41 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 10 23:30 Makefile 23:31:41 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:30 OWNERS.md 23:31:41 -rw-rw-r-- 1 jenkins jenkins 3165 Jan 10 23:30 README.md 23:31:41 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 23:30 VERSION 23:31:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:30 bin 23:31:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:30 cmd 23:31:41 -rw-r--r-- 1 jenkins jenkins 17887 Jan 10 23:31 coverage.out 23:31:41 -rw-rw-r-- 1 jenkins jenkins 3464 Jan 10 23:30 go.mod 23:31:41 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:30 go.sum 23:31:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:30 internal 23:31:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:30 mock 23:31:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:30 snap 23:31:41 -rw-rw-r-- 1 jenkins jenkins 227 Jan 10 23:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:41 + 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=08f894f6759a1d01e47be8be883e82626f2c5ca7 --label arch=amd64 --label version=3.0.0-dev.3 . 23:31:41 Sending build context to Docker daemon 6.34MB 23:31:41 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:31:41 Step 2/24 : FROM ${BASE} AS builder 23:31:41 ---> 15ef6e28c92f 23:31:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:31:41 ---> Running in ffdd4ebc62a5 23:31:42 Removing intermediate container ffdd4ebc62a5 23:31:42 ---> a0fc9530809a 23:31:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:31:42 ---> Running in dcd26cefa942 23:31:42 Removing intermediate container dcd26cefa942 23:31:42 ---> aae457f6e83f 23:31:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:31:42 ---> Running in 0e3794c10340 23:31:42 Removing intermediate container 0e3794c10340 23:31:42 ---> e2cfb270ed58 23:31:42 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:31:42 ---> Running in 60983aa9dd0c 23:31:43 Removing intermediate container 60983aa9dd0c 23:31:43 ---> 6f1d51bdd325 23:31:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:43 ---> Running in fd9f0325de84 23:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:31:44 OK: 216 MiB in 55 packages 23:31:44 Removing intermediate container fd9f0325de84 23:31:44 ---> f4951fe84b70 23:31:44 Step 8/24 : WORKDIR /device-mqtt-go 23:31:44 ---> Running in 766c616d19d1 23:31:44 Removing intermediate container 766c616d19d1 23:31:44 ---> cc4f8cb81e48 23:31:44 Step 9/24 : COPY go.mod vendor* ./ 23:31:45 ---> 624ac7b49b2a 23:31:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:45 ---> Running in 82aa95c4e440 23:31:46 Removing intermediate container 82aa95c4e440 23:31:46 ---> 6dfd69c1834d 23:31:46 Step 11/24 : COPY . . 23:31:46 ---> 969ee2c5ad05 23:31:46 Step 12/24 : RUN $MAKE 23:31:46 ---> Running in 320e2c4a0e89 23:31:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.3" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:32:09 Removing intermediate container 320e2c4a0e89 23:32:09 ---> 7cdbf4ba3d5b 23:32:09 Step 13/24 : FROM alpine:3.16 23:32:09 3.16: Pulling from library/alpine 23:32:09 ca7dd9ec2225: Pulling fs layer 23:32:09 ca7dd9ec2225: Verifying Checksum 23:32:09 ca7dd9ec2225: Download complete 23:32:10 ca7dd9ec2225: Pull complete 23:32:10 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:32:10 Status: Downloaded newer image for alpine:3.16 23:32:10 ---> bfe296a52501 23:32:10 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:32:10 ---> Running in 8fc2cc88ec2b 23:32:10 Removing intermediate container 8fc2cc88ec2b 23:32:10 ---> d3c88155de43 23:32:10 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:32:10 ---> Running in ba2f29e4b696 23:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:32:10 (1/1) Installing dumb-init (1.2.5-r1) 23:32:10 Executing busybox-1.35.0-r17.trigger 23:32:10 OK: 6 MiB in 15 packages 23:32:11 Removing intermediate container ba2f29e4b696 23:32:11 ---> 6cabf845735c 23:32:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:32:12 ---> 6f880eeded7d 23:32:12 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:32:12 ---> 273a94348b40 23:32:12 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:32:12 ---> f1f0151a67e5 23:32:12 Step 19/24 : EXPOSE 59982 23:32:12 ---> Running in 31dbbfd50fbf 23:32:12 Removing intermediate container 31dbbfd50fbf 23:32:12 ---> fa46b2a198fc 23:32:12 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:32:12 ---> Running in 8b9b69058be1 23:32:12 Removing intermediate container 8b9b69058be1 23:32:12 ---> f4a9adbd051c 23:32:12 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:32:12 ---> Running in 75a96424b9f8 23:32:12 Removing intermediate container 75a96424b9f8 23:32:12 ---> 5597041b46ba 23:32:12 Step 22/24 : LABEL arch=amd64 23:32:12 ---> Running in d29e6d4cc878 23:32:12 Removing intermediate container d29e6d4cc878 23:32:12 ---> b8def12b21ee 23:32:12 Step 23/24 : LABEL git_sha=08f894f6759a1d01e47be8be883e82626f2c5ca7 23:32:12 ---> Running in 791e04ca007e 23:32:13 Removing intermediate container 791e04ca007e 23:32:13 ---> 6556c1c66b2c 23:32:13 Step 24/24 : LABEL version=3.0.0-dev.3 23:32:13 ---> Running in c768d9d8fdcf 23:32:13 Removing intermediate container c768d9d8fdcf 23:32:13 ---> 011a74c3e795 23:32:13 [Warning] One or more build-args [ARCH] were not consumed 23:32:13 Successfully built 011a74c3e795 23:32:13 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:13 provisioning config files... 23:32:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18092055712513563840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:13 ---> docker-login.sh 23:32:13 nexus3.edgexfoundry.org:10001 23:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:13 Configure a credential helper to remove this warning. See 23:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:13 23:32:13 Login Succeeded 23:32:13 nexus3.edgexfoundry.org:10002 23:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:13 Configure a credential helper to remove this warning. See 23:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:13 23:32:13 Login Succeeded 23:32:13 nexus3.edgexfoundry.org:10003 23:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:13 Configure a credential helper to remove this warning. See 23:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:13 23:32:13 Login Succeeded 23:32:13 nexus3.edgexfoundry.org:10004 23:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:13 Configure a credential helper to remove this warning. See 23:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:13 23:32:13 Login Succeeded 23:32:13 docker.io 23:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:13 Configure a credential helper to remove this warning. See 23:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:13 23:32:13 Login Succeeded 23:32:13 ---> docker-login.sh ends [Pipeline] } 23:32:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:32:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:32:14 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 23:32:14 08f894f6759a1d01e47be8be883e82626f2c5ca7 23:32:14 latest 23:32:14 3.0.0-dev.3 23:32:14 08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3 23:32:14 main 23:32:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:08f894f6759a1d01e47be8be883e82626f2c5ca7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:08f894f6759a1d01e47be8be883e82626f2c5ca7 23:32:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:32:14 1232084ba895: Preparing 23:32:14 e9561560408c: Preparing 23:32:14 8d4a31cabf82: Preparing 23:32:14 6aaf7a833bb8: Preparing 23:32:14 e5e13b0c77cb: Preparing 23:32:14 e5e13b0c77cb: Layer already exists 23:32:14 1232084ba895: Pushed 23:32:14 e9561560408c: Pushed 23:32:14 6aaf7a833bb8: Pushed 23:32:17 8d4a31cabf82: Pushed 23:32:17 08f894f6759a1d01e47be8be883e82626f2c5ca7: digest: sha256:742643535bcf9fa26f56a95292b0b868b724f4b0148babbbcf77991d37ac3b9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:32:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:32:18 1232084ba895: Preparing 23:32:18 e9561560408c: Preparing 23:32:18 8d4a31cabf82: Preparing 23:32:18 6aaf7a833bb8: Preparing 23:32:18 e5e13b0c77cb: Preparing 23:32:18 1232084ba895: Layer already exists 23:32:18 6aaf7a833bb8: Layer already exists 23:32:18 e9561560408c: Layer already exists 23:32:18 e5e13b0c77cb: Layer already exists 23:32:18 8d4a31cabf82: Layer already exists 23:32:18 latest: digest: sha256:742643535bcf9fa26f56a95292b0b868b724f4b0148babbbcf77991d37ac3b9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.3 23:32:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:32:18 1232084ba895: Preparing 23:32:18 e9561560408c: Preparing 23:32:18 8d4a31cabf82: Preparing 23:32:18 6aaf7a833bb8: Preparing 23:32:18 e5e13b0c77cb: Preparing 23:32:18 8d4a31cabf82: Layer already exists 23:32:18 6aaf7a833bb8: Layer already exists 23:32:18 1232084ba895: Layer already exists 23:32:18 e9561560408c: Layer already exists 23:32:18 e5e13b0c77cb: Layer already exists 23:32:18 3.0.0-dev.3: digest: sha256:742643535bcf9fa26f56a95292b0b868b724f4b0148babbbcf77991d37ac3b9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3 23:32:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:32:19 1232084ba895: Preparing 23:32:19 e9561560408c: Preparing 23:32:19 8d4a31cabf82: Preparing 23:32:19 6aaf7a833bb8: Preparing 23:32:19 e5e13b0c77cb: Preparing 23:32:19 6aaf7a833bb8: Layer already exists 23:32:19 8d4a31cabf82: Layer already exists 23:32:19 e5e13b0c77cb: Layer already exists 23:32:19 1232084ba895: Layer already exists 23:32:19 e9561560408c: Layer already exists 23:32:19 08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3: digest: sha256:742643535bcf9fa26f56a95292b0b868b724f4b0148babbbcf77991d37ac3b9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1759 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 23:32:19 Running in /w/workspace/device-mqtt-go/86 [Pipeline] { [Pipeline] checkout 23:32:19 Selected Git installation does not exist. Using Default 23:32:19 The recommended git tool is: NONE 23:32:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 23:32:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 23:32:19 1232084ba895: Preparing 23:32:19 e9561560408c: Preparing 23:32:19 8d4a31cabf82: Preparing 23:32:19 6aaf7a833bb8: Preparing 23:32:19 e5e13b0c77cb: Preparing 23:32:19 e9561560408c: Layer already exists 23:32:19 1232084ba895: Layer already exists 23:32:19 e5e13b0c77cb: Layer already exists 23:32:19 8d4a31cabf82: Layer already exists 23:32:19 6aaf7a833bb8: Layer already exists 23:32:19 main: digest: sha256:742643535bcf9fa26f56a95292b0b868b724f4b0148babbbcf77991d37ac3b9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:32:19 ===================================================== [Pipeline] echo 23:32:19 taggedImages: 23:32:19 - nexus3.edgexfoundry.org:10004/device-mqtt:08f894f6759a1d01e47be8be883e82626f2c5ca7 23:32:19 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 23:32:19 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.3 23:32:19 - nexus3.edgexfoundry.org:10004/device-mqtt:08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3 23:32:19 - 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 23:32:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:32:20 23:32:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:32:20 latest: Pulling from edgex-lftools-log-publisher 23:32:20 5eb5b503b376: Pulling fs layer 23:32:20 5c69ac0246d0: Pulling fs layer 23:32:20 ec43610c2a17: Pulling fs layer 23:32:20 3a2ae6a8a46f: Pulling fs layer 23:32:20 33b1e0a273af: Pulling fs layer 23:32:20 3a2ae6a8a46f: Waiting 23:32:20 5d3b04190fa2: Pulling fs layer 23:32:20 2f39f015ded8: Pulling fs layer 23:32:20 5d3b04190fa2: Waiting 23:32:20 5c69ac0246d0: Download complete 23:32:20 3a2ae6a8a46f: Download complete 23:32:20 ec43610c2a17: Verifying Checksum 23:32:20 ec43610c2a17: Download complete 23:32:20 33b1e0a273af: Verifying Checksum 23:32:20 33b1e0a273af: Download complete 23:32:20 5d3b04190fa2: Download complete 23:32:20 5eb5b503b376: Verifying Checksum 23:32:20 5eb5b503b376: Download complete 23:32:21 2f39f015ded8: Verifying Checksum 23:32:21 2f39f015ded8: Download complete 23:32:22 5eb5b503b376: Pull complete 23:32:22 5c69ac0246d0: Pull complete 23:32:23 ec43610c2a17: Pull complete 23:32:23 3a2ae6a8a46f: Pull complete 23:32:23 33b1e0a273af: Pull complete 23:32:23 5d3b04190fa2: Pull complete 23:32:27 using credential edgex-jenkins-ssh 23:32:27 Cloning the remote Git repository 23:32:27 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:32:27 > git init /w/workspace/device-mqtt-go/86 # timeout=10 23:32:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:32:27 > git --version # timeout=10 23:32:27 > git --version # 'git version 2.25.1' 23:32:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:28 2f39f015ded8: Pull complete 23:32:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:32:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:32:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:28 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:32:28 $ 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 23:32:29 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:32:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:30 Avoid second fetch 23:32:30 Checking out Revision 08f894f6759a1d01e47be8be883e82626f2c5ca7 (main) 23:32:30 Commit message: "feat!: Remove ZeroMQ MessageBus capability (#449)" 23:32:30 > git config core.sparsecheckout # timeout=10 23:32:30 > git checkout -f 08f894f6759a1d01e47be8be883e82626f2c5ca7 # timeout=10 23:32:31 23:32:31 GitHub has been notified of this commit’s build result 23:32:31 23:32:32 $ docker top bed2ef4cb63e5e4a42ef7c55855b29e52d66cf2dbe732de256e323d33b8fa9eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:32:33 ---> job-cost.sh 23:32:33 lf-activate-venv: SKIPPING 23:32:33 INFO: No Stack... 23:32:33 INFO: Retrieving Pricing Info for: v3-standard-8 23:32:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:32:33 % Total % Received % Xferd Average Speed Time Time Time Current 23:32:33 Dload Upload Total Spent Left Speed 23:32:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 23:32:33 INFO: Archiving Costs [Pipeline] sh 23:32:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:32:34 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 23:32:34 + cut -d, -f6 [Pipeline] lock 23:32:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-86-stack-cost] 23:32:34 Resource [jenkins-edgexfoundry-device-mqtt-go-main-86-stack-cost] did not exist. Created. 23:32:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:32:34 + sudo tee /etc/docker/daemon.new+ 23:32:34 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:32:34 { 23:32:34 "registry-mirrors": [ 23:32:34 "https://nexus3.edgexfoundry.org:10001" 23:32:34 ], 23:32:34 "bip": "10.250.0.254/24", 23:32:34 "hosts": [ 23:32:34 "tcp://0.0.0.0:5555", 23:32:34 "unix:///var/run/docker.sock" 23:32:34 ], 23:32:34 "mtu": 1458, 23:32:34 "selinux-enabled": true, 23:32:34 "seccomp-profile": "/etc/docker/seccomp.json" 23:32:34 } [Pipeline] sh 23:32:34 + echo total: 0.2199999988079071 [Pipeline] stash 23:32:34 Stashed 1 file(s) [Pipeline] } 23:32:34 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 23:32:34 $ docker stop --time=1 bed2ef4cb63e5e4a42ef7c55855b29e52d66cf2dbe732de256e323d33b8fa9eb 23:32:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 23:32:35 $ docker rm -f --volumes bed2ef4cb63e5e4a42ef7c55855b29e52d66cf2dbe732de256e323d33b8fa9eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:32:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:54 provisioning config files... 23:32:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/86@tmp/config15626627666187616331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:54 ---> docker-login.sh 23:32:54 nexus3.edgexfoundry.org:10001 23:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:55 Configure a credential helper to remove this warning. See 23:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:55 23:32:55 Login Succeeded 23:32:55 nexus3.edgexfoundry.org:10002 23:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:56 Configure a credential helper to remove this warning. See 23:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:56 23:32:56 Login Succeeded 23:32:56 nexus3.edgexfoundry.org:10003 23:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:56 Configure a credential helper to remove this warning. See 23:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:56 23:32:56 Login Succeeded 23:32:56 nexus3.edgexfoundry.org:10004 23:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:57 Configure a credential helper to remove this warning. See 23:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:57 23:32:57 Login Succeeded 23:32:57 docker.io 23:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:57 Configure a credential helper to remove this warning. See 23:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:57 23:32:57 Login Succeeded 23:32:57 ---> docker-login.sh ends [Pipeline] } 23:32:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:32:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:32:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:32:57 ========================================================= 23:32:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:32:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:58 + 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 . 23:32:58 Sending build context to Docker daemon 3.282MB 23:32:58 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:32:58 Step 2/12 : FROM ${BASE} AS builder 23:32:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:32:58 9b18e9b68314: Pulling fs layer 23:32:58 35d82f9e3411: Pulling fs layer 23:32:58 e16973657156: Pulling fs layer 23:32:58 fc693d55d65f: Pulling fs layer 23:32:58 7e9fc2657dce: Pulling fs layer 23:32:58 dda99020689f: Pulling fs layer 23:32:58 db1c61fa0a46: Pulling fs layer 23:32:58 891c053d2c06: Pulling fs layer 23:32:58 fc693d55d65f: Waiting 23:32:58 7e9fc2657dce: Waiting 23:32:58 dda99020689f: Waiting 23:32:58 891c053d2c06: Waiting 23:32:58 db1c61fa0a46: Waiting 23:32:58 e16973657156: Verifying Checksum 23:32:58 e16973657156: Download complete 23:32:58 35d82f9e3411: Verifying Checksum 23:32:58 35d82f9e3411: Download complete 23:32:58 7e9fc2657dce: Download complete 23:32:58 dda99020689f: Verifying Checksum 23:32:58 dda99020689f: Download complete 23:32:59 9b18e9b68314: Verifying Checksum 23:33:00 9b18e9b68314: Pull complete 23:33:00 891c053d2c06: Verifying Checksum 23:33:00 891c053d2c06: Download complete 23:33:00 35d82f9e3411: Pull complete 23:33:01 e16973657156: Pull complete 23:33:01 db1c61fa0a46: Verifying Checksum 23:33:01 db1c61fa0a46: Download complete 23:33:02 fc693d55d65f: Verifying Checksum 23:33:02 fc693d55d65f: Download complete 23:33:14 fc693d55d65f: Pull complete 23:33:15 7e9fc2657dce: Pull complete 23:33:15 dda99020689f: Pull complete 23:33:22 db1c61fa0a46: Pull complete 23:33:23 891c053d2c06: Pull complete 23:33:23 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:33:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:33:23 ---> f96f9c87975a 23:33:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:33:24 ---> Running in 376a79562b0a 23:33:24 Removing intermediate container 376a79562b0a 23:33:24 ---> 9bc6c96301b9 23:33:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:33:25 ---> Running in ea4661848e8c 23:33:25 Removing intermediate container ea4661848e8c 23:33:25 ---> c567306651f0 23:33:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:33:25 ---> Running in 9d567359353d 23:33:26 Removing intermediate container 9d567359353d 23:33:26 ---> 6264f63f09cf 23:33:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:33:26 ---> Running in e49ebf6e587e 23:33:26 Removing intermediate container e49ebf6e587e 23:33:26 ---> 33e2778f3caa 23:33:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:33:26 ---> Running in e7bc15992e00 23:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:33:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:33:29 (2/4) Installing libedit (20210910.3.1-r0) 23:33:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:33:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:33:29 Executing busybox-1.35.0-r17.trigger 23:33:29 OK: 226 MiB in 55 packages 23:33:31 Removing intermediate container e7bc15992e00 23:33:31 ---> 30994c05fe17 23:33:31 Step 8/12 : WORKDIR /device-mqtt-go 23:33:31 ---> Running in f493300eea90 23:33:31 Removing intermediate container f493300eea90 23:33:31 ---> 6ab3a6385e3b 23:33:31 Step 9/12 : COPY go.mod vendor* ./ 23:33:32 ---> e7fd703faad4 23:33:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:32 ---> Running in 1c55689c221a 23:34:40 Removing intermediate container 1c55689c221a 23:34:40 ---> 1a94bf654117 23:34:40 Step 11/12 : COPY . . 23:34:40 ---> d08c0aefbf0f 23:34:40 Step 12/12 : RUN $MAKE 23:34:40 ---> Running in 21b14e7297ac 23:34:40 noop 23:34:40 Removing intermediate container 21b14e7297ac 23:34:40 ---> be1f4178bd0d 23:34:40 Successfully built be1f4178bd0d 23:34:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:40 + docker inspect -f . ci-base-image-arm64 23:34:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:40 prd-ubuntu20.04-docker-arm64-4c-16g-1759 does not seem to be running inside a container 23:34:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/86 -v /w/workspace/device-mqtt-go/86:/w/workspace/device-mqtt-go/86:rw,z -v /w/workspace/device-mqtt-go/86@tmp:/w/workspace/device-mqtt-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:34:42 $ docker top 346b73cf6f7f77a764c3a6d7ec1ca28738e89db249d6d9cc6567e163155c21ff -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:43 + go version 23:34:43 go version go1.18.7 linux/arm64 [Pipeline] } 23:34:43 $ docker stop --time=1 346b73cf6f7f77a764c3a6d7ec1ca28738e89db249d6d9cc6567e163155c21ff 23:34:44 $ docker rm -f --volumes 346b73cf6f7f77a764c3a6d7ec1ca28738e89db249d6d9cc6567e163155c21ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:45 + docker inspect -f . ci-base-image-arm64 23:34:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:45 prd-ubuntu20.04-docker-arm64-4c-16g-1759 does not seem to be running inside a container 23:34:45 $ 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/86 -v /w/workspace/device-mqtt-go/86:/w/workspace/device-mqtt-go/86:rw,z -v /w/workspace/device-mqtt-go/86@tmp:/w/workspace/device-mqtt-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:34:47 $ docker top 0eae52d78f291f0affe085c33dca64a8c4a1a5864f9c3080325bb8de1aeeb2d8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:47 + git config --global --add safe.directory /w/workspace/device-mqtt-go/86 [Pipeline] fileExists [Pipeline] sh 23:34:48 + make test 23:34:48 go test ./... -coverprofile=coverage.out ./... 23:34:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:36:27 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:36:27 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements 23:36:27 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:36:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:36:27 go vet ./... 23:36:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:36:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:36:54 ./bin/test-attribution-txt.sh [Pipeline] echo 23:36:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:36:54 $ docker stop --time=1 0eae52d78f291f0affe085c33dca64a8c4a1a5864f9c3080325bb8de1aeeb2d8 23:36:57 $ docker rm -f --volumes 0eae52d78f291f0affe085c33dca64a8c4a1a5864f9c3080325bb8de1aeeb2d8 [Pipeline] // withDockerContainer [Pipeline] sh 23:36:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:36:58 Warning: overwriting stash ‘coverage-report’ 23:36:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:36:59 + ls -al . 23:36:59 total 188 23:36:59 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 23:34 . 23:36:59 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:32 .. 23:36:59 -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 23:32 .dockerignore 23:36:59 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:32 .git 23:36:59 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:32 .github 23:36:59 -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:32 .gitignore 23:36:59 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:32 .golangci.yml 23:36:59 -rw-rw-r-- 1 jenkins jenkins 9189 Jan 10 23:32 Attribution.txt 23:36:59 -rw-rw-r-- 1 jenkins jenkins 13162 Jan 10 23:32 CHANGELOG.md 23:36:59 -rw-rw-r-- 1 jenkins jenkins 1689 Jan 10 23:32 Dockerfile 23:36:59 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:32 GOVERNANCE.md 23:36:59 -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 23:32 Jenkinsfile 23:36:59 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:32 LICENSE 23:36:59 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 10 23:32 Makefile 23:36:59 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:32 OWNERS.md 23:36:59 -rw-rw-r-- 1 jenkins jenkins 3165 Jan 10 23:32 README.md 23:36:59 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 23:30 VERSION 23:36:59 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:32 bin 23:36:59 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:32 cmd 23:36:59 -rw-r--r-- 1 jenkins jenkins 17887 Jan 10 23:36 coverage.out 23:36:59 -rw-rw-r-- 1 jenkins jenkins 3464 Jan 10 23:32 go.mod 23:36:59 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:32 go.sum 23:36:59 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:32 internal 23:36:59 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:32 mock 23:36:59 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:32 snap 23:36:59 -rw-rw-r-- 1 jenkins jenkins 227 Jan 10 23:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:59 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=08f894f6759a1d01e47be8be883e82626f2c5ca7 --label arch=arm64 --label version=3.0.0-dev.3 . 23:37:00 Sending build context to Docker daemon 3.301MB 23:37:00 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:37:00 Step 2/24 : FROM ${BASE} AS builder 23:37:00 ---> be1f4178bd0d 23:37:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:37:00 ---> Running in e1e34b30ba53 23:37:01 Removing intermediate container e1e34b30ba53 23:37:01 ---> c58825e3b1eb 23:37:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:01 ---> Running in 4c84d3e028fb 23:37:01 Removing intermediate container 4c84d3e028fb 23:37:01 ---> f665b171cfcc 23:37:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:37:01 ---> Running in f8fe5595dc23 23:37:01 Removing intermediate container f8fe5595dc23 23:37:01 ---> 0c62b6c72bf0 23:37:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:37:02 ---> Running in 8637303da703 23:37:02 Removing intermediate container 8637303da703 23:37:02 ---> 770e225f7261 23:37:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:02 ---> Running in a290a2f7ca58 23:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:37:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:37:05 OK: 226 MiB in 55 packages 23:37:06 Removing intermediate container a290a2f7ca58 23:37:06 ---> ddb6385864ba 23:37:06 Step 8/24 : WORKDIR /device-mqtt-go 23:37:06 ---> Running in 756ebb775edf 23:37:07 Removing intermediate container 756ebb775edf 23:37:07 ---> 8a88dcb0102c 23:37:07 Step 9/24 : COPY go.mod vendor* ./ 23:37:07 ---> a33d70c44d8d 23:37:07 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:08 ---> Running in c19074878c8d 23:37:12 Removing intermediate container c19074878c8d 23:37:12 ---> 79295da5a3aa 23:37:12 Step 11/24 : COPY . . 23:37:14 ---> 5d143be1d344 23:37:14 Step 12/24 : RUN $MAKE 23:37:14 ---> Running in 12b72b534983 23:37:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.3" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:39:38 Removing intermediate container 12b72b534983 23:39:38 ---> 71d7cd100255 23:39:38 Step 13/24 : FROM alpine:3.16 23:39:38 3.16: Pulling from library/alpine 23:39:38 6875df1f5354: Pulling fs layer 23:39:38 6875df1f5354: Verifying Checksum 23:39:38 6875df1f5354: Download complete 23:39:38 6875df1f5354: Pull complete 23:39:38 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:39:38 Status: Downloaded newer image for alpine:3.16 23:39:38 ---> 2b4661558fb8 23:39:38 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:39:38 ---> Running in cae41c349a46 23:39:38 Removing intermediate container cae41c349a46 23:39:38 ---> 7412b1793456 23:39:38 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:39:38 ---> Running in 3670cab33ba3 23:39:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:39:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:39:39 (1/1) Installing dumb-init (1.2.5-r1) 23:39:39 Executing busybox-1.35.0-r17.trigger 23:39:39 OK: 5 MiB in 15 packages 23:39:40 Removing intermediate container 3670cab33ba3 23:39:40 ---> 46a5b5eac39d 23:39:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:39:42 ---> 0a62b015eab4 23:39:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:39:42 ---> 73894a2bea5a 23:39:42 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:39:43 ---> 90122a4389c5 23:39:43 Step 19/24 : EXPOSE 59982 23:39:43 ---> Running in 655c0ea1c5a9 23:39:43 Removing intermediate container 655c0ea1c5a9 23:39:43 ---> b2c6cf11ac7d 23:39:43 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:39:43 ---> Running in 2e0d82510961 23:39:43 Removing intermediate container 2e0d82510961 23:39:43 ---> f0ea47d36462 23:39:43 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:39:43 ---> Running in 2bfda6f77f9e 23:39:44 Removing intermediate container 2bfda6f77f9e 23:39:44 ---> 4a1fd502aa88 23:39:44 Step 22/24 : LABEL arch=arm64 23:39:44 ---> Running in 166978fe4800 23:39:44 Removing intermediate container 166978fe4800 23:39:44 ---> 49fa85e5139b 23:39:44 Step 23/24 : LABEL git_sha=08f894f6759a1d01e47be8be883e82626f2c5ca7 23:39:44 ---> Running in 56a10e971746 23:39:44 Removing intermediate container 56a10e971746 23:39:44 ---> f2acb89edfcb 23:39:44 Step 24/24 : LABEL version=3.0.0-dev.3 23:39:44 ---> Running in 83a26b0df9d3 23:39:45 Removing intermediate container 83a26b0df9d3 23:39:45 ---> d8fa19e0c099 23:39:45 [Warning] One or more build-args [ARCH] were not consumed 23:39:45 Successfully built d8fa19e0c099 23:39:45 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 23:39:45 provisioning config files... 23:39:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/86@tmp/config13766051323364495594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:45 ---> docker-login.sh 23:39:45 nexus3.edgexfoundry.org:10001 23:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:46 Configure a credential helper to remove this warning. See 23:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:46 23:39:46 Login Succeeded 23:39:46 nexus3.edgexfoundry.org:10002 23:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:46 Configure a credential helper to remove this warning. See 23:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:46 23:39:46 Login Succeeded 23:39:46 nexus3.edgexfoundry.org:10003 23:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:47 Configure a credential helper to remove this warning. See 23:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:47 23:39:47 Login Succeeded 23:39:47 nexus3.edgexfoundry.org:10004 23:39:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:47 Configure a credential helper to remove this warning. See 23:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:47 23:39:47 Login Succeeded 23:39:47 docker.io 23:39:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:39:47 Configure a credential helper to remove this warning. See 23:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:39:47 23:39:47 Login Succeeded 23:39:47 ---> docker-login.sh ends [Pipeline] } 23:39:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:39:47 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 23:39:47 08f894f6759a1d01e47be8be883e82626f2c5ca7 23:39:47 latest 23:39:47 3.0.0-dev.3 23:39:47 08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3 23:39:47 main 23:39:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:08f894f6759a1d01e47be8be883e82626f2c5ca7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:08f894f6759a1d01e47be8be883e82626f2c5ca7 23:39:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:48 da70770de09e: Preparing 23:39:48 c6c1b404d7ed: Preparing 23:39:48 ebd50b36899d: Preparing 23:39:48 cf18caf8041e: Preparing 23:39:48 17bec77d7fdc: Preparing 23:39:48 17bec77d7fdc: Layer already exists 23:39:48 c6c1b404d7ed: Pushed 23:39:48 da70770de09e: Pushed 23:39:48 cf18caf8041e: Pushed 23:39:54 ebd50b36899d: Pushed 23:39:54 08f894f6759a1d01e47be8be883e82626f2c5ca7: digest: sha256:e8b88422c90c363200f3d70d5cc69374af345a67716f82aab0aac329756e6e80 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:39:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:54 da70770de09e: Preparing 23:39:54 c6c1b404d7ed: Preparing 23:39:54 ebd50b36899d: Preparing 23:39:54 cf18caf8041e: Preparing 23:39:54 17bec77d7fdc: Preparing 23:39:54 17bec77d7fdc: Layer already exists 23:39:54 da70770de09e: Layer already exists 23:39:54 cf18caf8041e: Layer already exists 23:39:54 c6c1b404d7ed: Layer already exists 23:39:54 ebd50b36899d: Layer already exists 23:39:55 latest: digest: sha256:e8b88422c90c363200f3d70d5cc69374af345a67716f82aab0aac329756e6e80 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.3 23:39:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:55 da70770de09e: Preparing 23:39:55 c6c1b404d7ed: Preparing 23:39:55 ebd50b36899d: Preparing 23:39:55 cf18caf8041e: Preparing 23:39:55 17bec77d7fdc: Preparing 23:39:55 17bec77d7fdc: Layer already exists 23:39:55 ebd50b36899d: Layer already exists 23:39:55 da70770de09e: Layer already exists 23:39:55 cf18caf8041e: Layer already exists 23:39:55 c6c1b404d7ed: Layer already exists 23:39:56 3.0.0-dev.3: digest: sha256:e8b88422c90c363200f3d70d5cc69374af345a67716f82aab0aac329756e6e80 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3 23:39:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:56 da70770de09e: Preparing 23:39:56 c6c1b404d7ed: Preparing 23:39:56 ebd50b36899d: Preparing 23:39:56 cf18caf8041e: Preparing 23:39:56 17bec77d7fdc: Preparing 23:39:56 17bec77d7fdc: Layer already exists 23:39:56 cf18caf8041e: Layer already exists 23:39:56 ebd50b36899d: Layer already exists 23:39:56 c6c1b404d7ed: Layer already exists 23:39:56 da70770de09e: Layer already exists 23:39:56 08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3: digest: sha256:e8b88422c90c363200f3d70d5cc69374af345a67716f82aab0aac329756e6e80 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 23:39:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 23:39:57 da70770de09e: Preparing 23:39:57 c6c1b404d7ed: Preparing 23:39:57 ebd50b36899d: Preparing 23:39:57 cf18caf8041e: Preparing 23:39:57 17bec77d7fdc: Preparing 23:39:57 cf18caf8041e: Layer already exists 23:39:57 da70770de09e: Layer already exists 23:39:57 c6c1b404d7ed: Layer already exists 23:39:57 17bec77d7fdc: Layer already exists 23:39:57 ebd50b36899d: Layer already exists 23:39:58 main: digest: sha256:e8b88422c90c363200f3d70d5cc69374af345a67716f82aab0aac329756e6e80 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:58 ===================================================== [Pipeline] echo 23:39:58 taggedImages: 23:39:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:08f894f6759a1d01e47be8be883e82626f2c5ca7 23:39:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 23:39:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.3 23:39:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:08f894f6759a1d01e47be8be883e82626f2c5ca7-3.0.0-dev.3 23:39:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:58 23:39:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:58 arm64: Pulling from edgex-lftools-log-publisher 23:39:58 8998bd30e6a1: Pulling fs layer 23:39:58 04944245beec: Pulling fs layer 23:39:58 699f458cf7ca: Pulling fs layer 23:39:58 765212b225bb: Pulling fs layer 23:39:58 f23df028b6ca: Pulling fs layer 23:39:58 d65c8cfc05b1: Pulling fs layer 23:39:58 2437ff75d9bd: Pulling fs layer 23:39:58 f23df028b6ca: Waiting 23:39:58 d65c8cfc05b1: Waiting 23:39:58 2437ff75d9bd: Waiting 23:39:59 04944245beec: Verifying Checksum 23:39:59 04944245beec: Download complete 23:39:59 765212b225bb: Verifying Checksum 23:39:59 765212b225bb: Download complete 23:39:59 f23df028b6ca: Verifying Checksum 23:39:59 f23df028b6ca: Download complete 23:39:59 d65c8cfc05b1: Verifying Checksum 23:39:59 d65c8cfc05b1: Download complete 23:39:59 699f458cf7ca: Verifying Checksum 23:39:59 699f458cf7ca: Download complete 23:39:59 8998bd30e6a1: Verifying Checksum 23:39:59 8998bd30e6a1: Download complete 23:40:01 2437ff75d9bd: Verifying Checksum 23:40:01 2437ff75d9bd: Download complete 23:40:03 8998bd30e6a1: Pull complete 23:40:04 04944245beec: Pull complete 23:40:06 699f458cf7ca: Pull complete 23:40:06 765212b225bb: Pull complete 23:40:06 f23df028b6ca: Pull complete 23:40:07 d65c8cfc05b1: Pull complete 23:40:19 2437ff75d9bd: Pull complete 23:40:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:40:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:20 prd-ubuntu20.04-docker-arm64-4c-16g-1759 does not seem to be running inside a container 23:40:20 $ 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/86 -v /w/workspace/device-mqtt-go/86:/w/workspace/device-mqtt-go/86:rw,z -v /w/workspace/device-mqtt-go/86@tmp:/w/workspace/device-mqtt-go/86@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:40:22 $ docker top b07e515b1ca68da0ae39a5126a29b98ca96c87261ab60f84614c303d136cb6a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:23 ---> job-cost.sh 23:40:23 lf-activate-venv: SKIPPING 23:40:23 INFO: No Stack... 23:40:24 INFO: Retrieving Pricing Info for: v3-standard-4 23:40:24 INFO: Archiving Costs [Pipeline] sh 23:40:25 + cut -d, -f6 23:40:25 + cat /w/workspace/device-mqtt-go/86/archives/cost.csv [Pipeline] lock 23:40:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-86-stack-cost] 23:40:25 Resource [jenkins-edgexfoundry-device-mqtt-go-main-86-stack-cost] did not exist. Created. 23:40:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:25 /w/workspace/device-mqtt-go/86@tmp/durable-09adb5a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:26 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:26 Warning: overwriting stash ‘stack-cost’ 23:40:26 Stashed 1 file(s) [Pipeline] } 23:40:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:26 $ docker stop --time=1 b07e515b1ca68da0ae39a5126a29b98ca96c87261ab60f84614c303d136cb6a8 23:40:28 $ docker rm -f --volumes b07e515b1ca68da0ae39a5126a29b98ca96c87261ab60f84614c303d136cb6a8 [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 23:40:28 provisioning config files... 23:40:28 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9819323488401009616tmp [Pipeline] { [Pipeline] sh 23:40:28 + set +x 23:40:28 + curl -s https://codecov.io/bash 23:40:28 + bash -s -- 23:40:28 23:40:28 _____ _ 23:40:28 / ____| | | 23:40:28 | | ___ __| | ___ ___ _____ __ 23:40:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:28 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:28 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:28 Bash-1.0.6 23:40:28 23:40:28 23:40:28 ==> git version 2.25.1 found 23:40:28 ==> 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 23:40:28 Release-Date: 2020-01-08 23:40:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:40:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:40:28 ==> Jenkins CI detected. 23:40:28 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 23:40:28 project root: . 23:40:28 --> token set from env 23:40:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:28 ==> Running gcov in . (disable via -X gcov) 23:40:28 ==> Python coveragepy not found 23:40:28 ==> Searching for coverage reports in: 23:40:28 + . 23:40:28 -> Found 1 reports 23:40:28 ==> Detecting git/mercurial file structure 23:40:28 ==> Reading reports 23:40:28 + ./coverage.out bytes=17887 23:40:28 ==> Appending adjustments 23:40:28 https://docs.codecov.io/docs/fixing-reports 23:40:29 + Found adjustments 23:40:29 ==> Gzipping contents 23:40:29 4.0K /tmp/codecov.rJYaVa.gz 23:40:29 ==> Uploading reports 23:40:29 url: https://codecov.io 23:40:29 query: branch=main&commit=08f894f6759a1d01e47be8be883e82626f2c5ca7&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:40:29 -> Pinging Codecov 23:40:29 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=08f894f6759a1d01e47be8be883e82626f2c5ca7&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:40:29 -> Uploading to 23:40:29 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/7D719EC7BBE17E464838252E33014C33/08f894f6759a1d01e47be8be883e82626f2c5ca7/50a416d0-893d-459d-80b0-ea83659c9480.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T234029Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a4c9bcf5e1f81b954acafd375be17d569cfb8178bcb3fa0713bbf5639beca465 23:40:29 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:29 Dload Upload Total Spent Left Speed 23:40:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 12855 --:--:-- --:--:-- --:--:-- 12855 23:40:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/08f894f6759a1d01e47be8be883e82626f2c5ca7 [Pipeline] } 23:40:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:40:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:40:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:30 23:40:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:40:30 df9b9388f04a: Pulling fs layer 23:40:30 52dc419b0ee2: Pulling fs layer 23:40:30 25bc292e5bac: Pulling fs layer 23:40:30 114826534d7a: Pulling fs layer 23:40:30 4657fd5d0bcf: Pulling fs layer 23:40:30 6ad1cebc031e: Pulling fs layer 23:40:30 8a3aa393b2d8: Pulling fs layer 23:40:30 4657fd5d0bcf: Waiting 23:40:30 6ad1cebc031e: Waiting 23:40:30 114826534d7a: Waiting 23:40:30 25bc292e5bac: Verifying Checksum 23:40:30 25bc292e5bac: Download complete 23:40:30 52dc419b0ee2: Download complete 23:40:30 4657fd5d0bcf: Verifying Checksum 23:40:30 4657fd5d0bcf: Download complete 23:40:30 df9b9388f04a: Verifying Checksum 23:40:30 df9b9388f04a: Download complete 23:40:30 6ad1cebc031e: Verifying Checksum 23:40:30 6ad1cebc031e: Download complete 23:40:30 df9b9388f04a: Pull complete 23:40:30 52dc419b0ee2: Pull complete 23:40:30 25bc292e5bac: Pull complete 23:40:31 114826534d7a: Verifying Checksum 23:40:31 114826534d7a: Download complete 23:40:31 8a3aa393b2d8: Verifying Checksum 23:40:31 8a3aa393b2d8: Download complete 23:40:34 114826534d7a: Pull complete 23:40:34 4657fd5d0bcf: Pull complete 23:40:34 6ad1cebc031e: Pull complete 23:40:38 8a3aa393b2d8: Pull complete 23:40:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:40:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:39 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:40:39 $ 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 23:40:41 $ docker top 58f41cb80123edff9737ed01156aef634346febccc7c303673b412bb4374b0a5 -eo pid,comm [Pipeline] { [Pipeline] echo 23:40:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 23:40:41 + set -o pipefail 23:40:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 23:40:48 23:40:48 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 23:40:48 23:40:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/61709a66-ce20-4a16-ba07-4e2e0c2ca6e8 23:40:48 23:40:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:40:48 23:40:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:40:48 23:40:48 23:40:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:40:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:40:48 More details here: https://snyk.co/ue1NS [Pipeline] } 23:40:48 $ docker stop --time=1 58f41cb80123edff9737ed01156aef634346febccc7c303673b412bb4374b0a5 23:40:52 $ docker rm -f --volumes 58f41cb80123edff9737ed01156aef634346febccc7c303673b412bb4374b0a5 [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 23:40:53 + git log --format=format:%s -1 08f894f6759a1d01e47be8be883e82626f2c5ca7 [Pipeline] sh 23:40:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:40:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:40:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:53 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:40: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 23:40:54 $ docker top 951522b06b4135248e5e6c9035e60f1dd2cac0b869b44e048e2498bff3adaf07 -eo pid,comm 23:40:54 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). 23:40:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:40:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:54 [ssh-agent] Looking for ssh-agent implementation... 23:40:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:54 $ docker exec 951522b06b4135248e5e6c9035e60f1dd2cac0b869b44e048e2498bff3adaf07 ssh-agent 23:40:54 SSH_AUTH_SOCK=/tmp/ssh-i17GRfrexMkf/agent.34 23:40:54 SSH_AGENT_PID=40 23:40:54 Running ssh-add (command line suppressed) 23:40:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1518037369605573379.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1518037369605573379.key) 23:40:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:55 + git semver tag 23:40:55 2023-01-10 23:40:55,259 [run_tag] DEBUG tag force:False 23:40:55 2023-01-10 23:40:55,259 [check_head_tag] DEBUG check head tag 23:40:55 2023-01-10 23:40:55,261 [execute] INFO git cat-file --batch-check 23:40:55 2023-01-10 23:40:55,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 23:40:55 2023-01-10 23:40:55,265 [execute] INFO git cat-file --batch 23:40:55 2023-01-10 23:40:55,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 23:40:55 2023-01-10 23:40:55,283 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:40:55 2023-01-10 23:40:55,283 [execute] INFO git tag -a v3.0.0-dev.3 -m v3.0.0-dev.3 23:40:55 2023-01-10 23:40:55,284 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.3', '-m', 'v3.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 23:40:55 2023-01-10 23:40:55,288 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:40:55 3.0.0-dev.3 [Pipeline] } 23:40:55 $ docker exec --env ******** --env ******** 951522b06b4135248e5e6c9035e60f1dd2cac0b869b44e048e2498bff3adaf07 ssh-agent -k 23:40:55 unset SSH_AUTH_SOCK; 23:40:55 unset SSH_AGENT_PID; 23:40:55 echo Agent pid 40 killed; 23:40:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:40:55 + git semver [Pipeline] } 23:40:56 $ docker stop --time=1 951522b06b4135248e5e6c9035e60f1dd2cac0b869b44e048e2498bff3adaf07 23:40:57 $ docker rm -f --volumes 951522b06b4135248e5e6c9035e60f1dd2cac0b869b44e048e2498bff3adaf07 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:40:57 23:40:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:40:57 0.23.1-centos7: Pulling from edgex-lftools 23:40:57 ab5ef0e58194: Pulling fs layer 23:40:57 9712f1f96733: Pulling fs layer 23:40:57 63f879dbbcfc: Pulling fs layer 23:40:57 0d9ebad4ef96: Pulling fs layer 23:40:57 e9a5061849ea: Pulling fs layer 23:40:57 0d9ebad4ef96: Waiting 23:40:57 e9a5061849ea: Waiting 23:40:57 d747dcd14b5f: Pulling fs layer 23:40:57 2de7ff778b66: Pulling fs layer 23:40:57 d747dcd14b5f: Waiting 23:40:57 2de7ff778b66: Waiting 23:40:57 9712f1f96733: Verifying Checksum 23:40:57 9712f1f96733: Download complete 23:40:58 63f879dbbcfc: Verifying Checksum 23:40:58 63f879dbbcfc: Download complete 23:40:58 0d9ebad4ef96: Verifying Checksum 23:40:58 0d9ebad4ef96: Download complete 23:40:58 d747dcd14b5f: Verifying Checksum 23:40:58 d747dcd14b5f: Download complete 23:40:58 ab5ef0e58194: Verifying Checksum 23:40:58 ab5ef0e58194: Download complete 23:40:58 e9a5061849ea: Verifying Checksum 23:40:58 e9a5061849ea: Download complete 23:40:58 2de7ff778b66: Verifying Checksum 23:40:58 2de7ff778b66: Download complete 23:41:01 ab5ef0e58194: Pull complete 23:41:01 9712f1f96733: Pull complete 23:41:01 63f879dbbcfc: Pull complete 23:41:05 0d9ebad4ef96: Pull complete 23:41:05 e9a5061849ea: Pull complete 23:41:05 d747dcd14b5f: Pull complete 23:41:07 2de7ff778b66: Pull complete 23:41:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:41:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:41:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:07 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:41:11 $ docker top 96ecbf5e303b9c06266b75ab24019342eb400cbaea56fba809350301011c9000 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:41:11 provisioning config files... 23:41:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2348468936624519695tmp 23:41:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9727636882037489440tmp 23:41:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18323050414809787241tmp [Pipeline] { [Pipeline] echo 23:41:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:41:12 ---> sigul-configuration.sh 23:41:12 gpg: directory `/root/.gnupg' created 23:41:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:41:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:41:12 gpg: keyring `/root/.gnupg/secring.gpg' created 23:41:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:41:12 gpg: CAST5 encrypted data 23:41:12 gpg: encrypted with 1 passphrase 23:41:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:41:12 + mkdir /home/jenkins 23:41:12 + mkdir /home/jenkins/sigul [Pipeline] sh 23:41:12 + 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 23:41:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:41:12 ---> sigul-install.sh 23:41:12 Sigul already installed; skipping installation. [Pipeline] sh 23:41:13 + git tag --list 23:41:13 0.7.1 23:41:13 v1.0.0 23:41:13 v1.1.0 23:41:13 v1.1.1 23:41:13 v1.2.2 23:41:13 v1.3.0 23:41:13 v1.3.1 23:41:13 v2.0.0 23:41:13 v2.1.0 23:41:13 v2.1.1 23:41:13 v2.1.1-dev.1 23:41:13 v2.1.1-dev.2 23:41:13 v2.2.0 23:41:13 v2.2.1-dev.1 23:41:13 v2.2.1-dev.10 23:41:13 v2.2.1-dev.2 23:41:13 v2.2.1-dev.3 23:41:13 v2.2.1-dev.4 23:41:13 v2.2.1-dev.5 23:41:13 v2.2.1-dev.6 23:41:13 v2.2.1-dev.7 23:41:13 v2.2.1-dev.8 23:41:13 v2.2.1-dev.9 23:41:13 v2.3.0 23:41:13 v2.3.0-dev.10 23:41:13 v2.3.0-dev.11 23:41:13 v2.3.0-dev.12 23:41:13 v2.3.0-dev.13 23:41:13 v2.3.0-dev.14 23:41:13 v2.3.0-dev.15 23:41:13 v2.3.0-dev.16 23:41:13 v2.3.0-dev.17 23:41:13 v2.3.0-dev.18 23:41:13 v2.3.0-dev.19 23:41:13 v2.3.0-dev.20 23:41:13 v2.3.0-dev.21 23:41:13 v2.3.0-dev.22 23:41:13 v2.3.0-dev.23 23:41:13 v2.3.0-dev.24 23:41:13 v2.3.0-dev.25 23:41:13 v2.3.0-dev.26 23:41:13 v2.3.0-dev.27 23:41:13 v2.3.0-dev.28 23:41:13 v2.3.0-dev.29 23:41:13 v2.3.0-dev.30 23:41:13 v2.3.0-dev.31 23:41:13 v2.3.0-dev.32 23:41:13 v2.3.0-dev.33 23:41:13 v2.3.0-dev.34 23:41:13 v3.0.0-dev.1 23:41:13 v3.0.0-dev.2 23:41:13 v3.0.0-dev.3 [Pipeline] sh 23:41:13 + lftools sign git-tag v3.0.0-dev.3 23:41:14 Signing Git tag with Sigul... 23:41:14 Signing v3.0.0-dev.3 [Pipeline] echo 23:41:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:41:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:41:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:41:14 $ docker stop --time=1 96ecbf5e303b9c06266b75ab24019342eb400cbaea56fba809350301011c9000 23:41:16 $ docker rm -f --volumes 96ecbf5e303b9c06266b75ab24019342eb400cbaea56fba809350301011c9000 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:41:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:41:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:41:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:16 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:41:17 $ 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 23:41:17 $ docker top 5d2ea1dc9ff0c93ce32ad95382c2342db440ada8b3032dacb4355e77999d9a89 -eo pid,comm 23:41:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:41:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:17 [ssh-agent] Looking for ssh-agent implementation... 23:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:17 $ docker exec 5d2ea1dc9ff0c93ce32ad95382c2342db440ada8b3032dacb4355e77999d9a89 ssh-agent 23:41:17 SSH_AUTH_SOCK=/tmp/ssh-UUBOYvIucgVT/agent.33 23:41:17 SSH_AGENT_PID=39 23:41:17 Running ssh-add (command line suppressed) 23:41:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16159186286885353553.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16159186286885353553.key) 23:41:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:18 + git semver bump pre 23:41:18 2023-01-10 23:41:18,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:41:18 2023-01-10 23:41:18,265 [bump_version] DEBUG bumping version:3.0.0-dev.3 on axis:pre with prefix:dev 23:41:18 2023-01-10 23:41:18,265 [bump_version] DEBUG bumped version:3.0.0-dev.4 23:41:18 2023-01-10 23:41:18,265 [write_version] DEBUG write version:3.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 23:41:18 2023-01-10 23:41:18,265 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:41:18 2023-01-10 23:41:18,266 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:41:18 2023-01-10 23:41:18,267 [execute] INFO git cat-file --batch-check 23:41:18 2023-01-10 23:41:18,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:41:18 2023-01-10 23:41:18,274 [execute] INFO git cat-file --batch 23:41:18 2023-01-10 23:41:18,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:41:18 2023-01-10 23:41:18,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:41:18 3.0.0-dev.4 [Pipeline] } 23:41:18 $ docker exec --env ******** --env ******** 5d2ea1dc9ff0c93ce32ad95382c2342db440ada8b3032dacb4355e77999d9a89 ssh-agent -k 23:41:18 unset SSH_AUTH_SOCK; 23:41:18 unset SSH_AGENT_PID; 23:41:18 echo Agent pid 39 killed; 23:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:18 + git semver [Pipeline] } 23:41:19 $ docker stop --time=1 5d2ea1dc9ff0c93ce32ad95382c2342db440ada8b3032dacb4355e77999d9a89 23:41:20 $ docker rm -f --volumes 5d2ea1dc9ff0c93ce32ad95382c2342db440ada8b3032dacb4355e77999d9a89 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:41:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:41:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:21 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:41:21 $ 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 23:41:21 $ docker top ab6feb1fa399d50b31cd47eebaee98a812749a5126247d3c0956ea654345c75a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:21 [ssh-agent] Looking for ssh-agent implementation... 23:41:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:21 $ docker exec ab6feb1fa399d50b31cd47eebaee98a812749a5126247d3c0956ea654345c75a ssh-agent 23:41:21 SSH_AUTH_SOCK=/tmp/ssh-mGIc1BpzH7jX/agent.32 23:41:21 SSH_AGENT_PID=38 23:41:21 Running ssh-add (command line suppressed) 23:41:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7079559586659406235.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7079559586659406235.key) 23:41:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:22 + git semver push 23:41:22 2023-01-10 23:41:22,287 [run_push] DEBUG push 23:41:22 2023-01-10 23:41:22,288 [execute] INFO git cat-file --batch-check 23:41:22 2023-01-10 23:41:22,288 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:41:22 2023-01-10 23:41:22,293 [execute] INFO git rev-list 7d43e969ed0624b630de7d6c569b4e3163d94aa2 -- 23:41:22 2023-01-10 23:41:22,293 [execute] DEBUG Popen(['git', 'rev-list', '7d43e969ed0624b630de7d6c569b4e3163d94aa2', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:41:22 2023-01-10 23:41:22,301 [execute] INFO git fetch -v origin 23:41:22 2023-01-10 23:41:22,301 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:41:22 2023-01-10 23:41:22,849 [run_push] DEBUG no remote changes detected 23:41:22 2023-01-10 23:41:22,850 [execute] INFO git push origin semver 23:41:22 2023-01-10 23:41:22,850 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:41:23 2023-01-10 23:41:23,628 [run_push] DEBUG push all version tags 23:41:23 2023-01-10 23:41:23,628 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:41:23 2023-01-10 23:41:23,629 [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) 23:41:24 2023-01-10 23:41:24,373 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 23:41:24 3.0.0-dev.4 [Pipeline] } 23:41:24 $ docker exec --env ******** --env ******** ab6feb1fa399d50b31cd47eebaee98a812749a5126247d3c0956ea654345c75a ssh-agent -k 23:41:24 unset SSH_AUTH_SOCK; 23:41:24 unset SSH_AGENT_PID; 23:41:24 echo Agent pid 38 killed; 23:41:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:24 + git semver [Pipeline] } 23:41:25 $ docker stop --time=1 ab6feb1fa399d50b31cd47eebaee98a812749a5126247d3c0956ea654345c75a 23:41:26 $ docker rm -f --volumes ab6feb1fa399d50b31cd47eebaee98a812749a5126247d3c0956ea654345c75a [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 23:41:26 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 23:41:26 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 23:41:26 total 16 23:41:26 drwxr-xr-x 3 root root 4096 Jan 10 23:32 . 23:41:26 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 23:41 .. 23:41:26 drwxr-xr-x 2 root root 4096 Jan 10 23:32 cost 23:41:26 -rw-r--r-- 1 root root 85 Jan 10 23:32 cost.csv 23:41:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 23:41:26 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 23:41:26 total 16 23:41:26 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:32 . 23:41:26 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 23:41 .. 23:41:26 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 23:32 cost 23:41:26 -rw-r--r-- 1 jenkins jenkins 85 Jan 10 23:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:41:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:41:28 ---> package-listing.sh 23:41:28 ++ facter osfamily 23:41:28 ++ tr '[:upper:]' '[:lower:]' 23:41:28 + OS_FAMILY=debian 23:41:28 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 23:41:28 + START_PACKAGES=/tmp/packages_start.txt 23:41:28 + END_PACKAGES=/tmp/packages_end.txt 23:41:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:41:28 + PACKAGES=/tmp/packages_start.txt 23:41:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:41:28 + PACKAGES=/tmp/packages_end.txt 23:41:28 + case "${OS_FAMILY}" in 23:41:28 + dpkg -l 23:41:28 + grep '^ii' 23:41:28 + '[' -f /tmp/packages_start.txt ']' 23:41:28 + '[' -f /tmp/packages_end.txt ']' 23:41:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:41:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 23:41:28 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 23:41:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 23:41:28 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 23:41:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:29 prd-ubuntu20.04-docker-8c-8g-1754 does not seem to be running inside a container 23:41:29 $ 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 23:41:29 $ docker top f1205267a47ab7791105301b6d8f82a7064bc97c6e33421884319e36fb91b8a2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:29 + touch /tmp/pre-build-complete [Pipeline] sh 23:41:30 + mkdir -p /var/log/sysstat [Pipeline] sh 23:41:30 + ls /var/log/sa-host 23:41:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:30 provisioning config files... 23:41:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2720322127496892985tmp [Pipeline] { [Pipeline] echo 23:41:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:41:31 ---> create-netrc.sh [Pipeline] } 23:41:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:41:31 ---> python-tools-install.sh [Pipeline] echo 23:41:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:41:31 ---> sudo-logs.sh 23:41:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:41:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:41:32 ---> job-cost.sh 23:41:32 lf-activate-venv: SKIPPING 23:41:32 DEBUG: total: 0.2199999988079071 23:41:32 INFO: Retrieving Stack Cost... 23:41:32 INFO: Retrieving Pricing Info for: v3-standard-8 23:41:32 INFO: Archiving Costs [Pipeline] echo 23:41:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:41:33 ---> logs-deploy.sh 23:41:33 lf-activate-venv: SKIPPING 23:41:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/86 23:41:33 INFO: archiving workspace using pattern(s): 23:41:34 Archives upload complete. 23:41:34 INFO: archiving logs to Nexus 23:41:34 ---> uname -a: 23:41:34 Linux prd-ubuntu20-04-docker-8c-8g-1754 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 23:41:34 23:41:34 23:41:34 ---> lscpu: 23:41:34 Architecture: x86_64 23:41:34 CPU op-mode(s): 32-bit, 64-bit 23:41:34 Byte Order: Little Endian 23:41:34 Address sizes: 40 bits physical, 48 bits virtual 23:41:34 CPU(s): 8 23:41:34 On-line CPU(s) list: 0-7 23:41:34 Thread(s) per core: 1 23:41:34 Core(s) per socket: 1 23:41:34 Socket(s): 8 23:41:34 NUMA node(s): 1 23:41:34 Vendor ID: AuthenticAMD 23:41:34 CPU family: 23 23:41:34 Model: 49 23:41:34 Model name: AMD EPYC-Rome Processor 23:41:34 Stepping: 0 23:41:34 CPU MHz: 2799.996 23:41:34 BogoMIPS: 5599.99 23:41:34 Virtualization: AMD-V 23:41:34 Hypervisor vendor: KVM 23:41:34 Virtualization type: full 23:41:34 L1d cache: 256 KiB 23:41:34 L1i cache: 256 KiB 23:41:34 L2 cache: 4 MiB 23:41:34 L3 cache: 128 MiB 23:41:34 NUMA node0 CPU(s): 0-7 23:41:34 Vulnerability Itlb multihit: Not affected 23:41:34 Vulnerability L1tf: Not affected 23:41:34 Vulnerability Mds: Not affected 23:41:34 Vulnerability Meltdown: Not affected 23:41:34 Vulnerability Mmio stale data: Not affected 23:41:34 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:41:34 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:41:34 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:41:34 Vulnerability Srbds: Not affected 23:41:34 Vulnerability Tsx async abort: Not affected 23:41:34 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 23:41:34 23:41:34 23:41:34 ---> nproc: 23:41:34 8 23:41:34 23:41:34 23:41:34 ---> df -h: 23:41:34 Filesystem Size Used Avail Use% Mounted on 23:41:34 overlay 155G 13G 143G 9% / 23:41:34 tmpfs 64M 0 64M 0% /dev 23:41:34 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:41:34 shm 64M 0 64M 0% /dev/shm 23:41:34 /dev/vda1 155G 13G 143G 9% /facter-os 23:41:34 23:41:34 23:41:34 ---> sar -b -r -n DEV: 23:41:34 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1754) 01/10/23 _x86_64_ (8 CPU) 23:41:34 23:41:34 23:29:30 LINUX RESTART (8 CPU) 23:41:34 23:41:34 23:30:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:41:34 23:31:01 167.36 16.47 150.89 0.00 1969.70 74712.35 0.00 23:41:34 23:32:01 117.31 0.25 117.06 0.00 21.73 43089.35 0.00 23:41:34 23:33:01 109.46 0.08 109.38 0.00 10.80 49376.87 0.00 23:41:34 23:34:01 4.63 0.00 4.63 0.00 0.00 16828.01 0.00 23:41:34 23:35:01 58.54 12.23 46.31 0.00 5247.26 25583.20 0.00 23:41:34 23:36:01 8.52 0.02 8.50 0.00 0.13 16926.11 0.00 23:41:34 23:37:01 4.57 0.18 4.38 0.00 18.53 16821.73 0.00 23:41:34 23:38:01 3.98 0.00 3.98 0.00 0.00 16819.06 0.00 23:41:34 23:39:01 2.70 0.00 2.70 0.00 0.00 8886.65 0.00 23:41:34 23:40:01 2.00 0.00 2.00 0.00 0.00 22.13 0.00 23:41:34 23:41:01 69.26 0.33 68.92 0.00 18.13 37335.38 0.00 23:41:34 Average: 49.67 2.67 47.00 0.00 660.38 27783.27 0.00 23:41:34 23:41:34 23:30:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:41:34 23:31:01 28111656 31582748 726844 2.21 130392 3520156 2054168 6.05 1153592 3157296 440592 23:41:34 23:32:01 28169292 31564796 736580 2.24 141428 3448748 2009424 5.92 1340424 2920964 326248 23:41:34 23:33:01 27810240 31596204 706340 2.15 151952 3792284 1753848 5.17 1197192 3382492 452 23:41:34 23:34:01 27810096 31596180 706320 2.15 152008 3792288 1753848 5.17 1197156 3382492 220 23:41:34 23:35:01 27281100 31576996 710808 2.16 185424 4249780 1794964 5.29 1519048 3553588 968 23:41:34 23:36:01 27287144 31578192 709864 2.16 184008 4246520 1770872 5.22 1516016 3550336 0 23:41:34 23:37:01 27298700 31590560 697848 2.12 184080 4247084 1811268 5.34 1505156 3550828 244 23:41:34 23:38:01 27298816 31590840 697588 2.12 184160 4247088 1811268 5.34 1504872 3550912 52 23:41:34 23:39:01 27298604 31590708 697720 2.12 184240 4247088 1811268 5.34 1504984 3550912 4 23:41:34 23:40:01 27298264 31590844 697984 2.12 184312 4247092 1811268 5.34 1504696 3551348 176 23:41:34 23:41:01 26051980 31542904 743208 2.26 203728 5348832 2070496 6.10 1613088 4610772 403292 23:41:34 Average: 27428717 31581907 711919 2.17 171430 4126087 1859336 5.48 1414202 3523813 106568 23:41:34 23:41:34 23:30:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:41:34 23:31:01 docker0 160.67 216.44 13.29 1859.65 0.00 0.00 0.00 0.00 23:41:34 23:31:01 lo 6.58 6.58 0.64 0.64 0.00 0.00 0.00 0.00 23:41:34 23:31:01 ens3 636.89 423.74 7954.70 82.06 0.00 0.00 0.00 0.00 23:41:34 23:32:01 docker0 1.75 4.30 0.10 40.59 0.00 0.00 0.00 0.00 23:41:34 23:32:01 veth7c2e030 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 23:41:34 23:32:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 23:41:34 23:32:01 ens3 59.64 49.81 84.10 105.42 0.00 0.00 0.00 0.00 23:41:34 23:33:01 docker0 1.68 3.52 0.10 41.03 0.00 0.00 0.00 0.00 23:41:34 23:33:01 lo 7.26 7.26 0.71 0.71 0.00 0.00 0.00 0.00 23:41:34 23:33:01 ens3 160.65 119.66 2640.24 218.60 0.00 0.00 0.00 0.00 23:41:34 23:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:34 23:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:41:34 23:34:01 ens3 2.48 0.77 3.81 0.47 0.00 0.00 0.00 0.00 23:41:34 23:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:34 23:35:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 23:41:34 23:35:01 ens3 141.03 83.47 2752.63 6.23 0.00 0.00 0.00 0.00 23:41:34 23:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:34 23:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:41:34 23:36:01 ens3 1.08 0.95 0.42 0.31 0.00 0.00 0.00 0.00 23:41:34 23:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:34 23:37:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 23:41:34 23:37:01 ens3 0.23 0.25 0.11 0.03 0.00 0.00 0.00 0.00 23:41:34 23:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:34 23:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:41:34 23:38:01 ens3 0.23 0.13 0.02 0.01 0.00 0.00 0.00 0.00 23:41:34 23:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:34 23:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:34 23:39:01 ens3 0.20 0.00 0.01 0.00 0.00 0.00 0.00 0.00 23:41:34 23:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:41:34 23:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:41:34 23:40:01 ens3 0.22 0.13 0.05 0.01 0.00 0.00 0.00 0.00 23:41:34 23:41:01 docker0 41.64 60.31 3.66 690.21 0.00 0.00 0.00 0.00 23:41:34 23:41:01 lo 1.93 1.93 0.19 0.19 0.00 0.00 0.00 0.00 23:41:34 23:41:01 ens3 317.85 204.48 7854.99 29.93 0.00 0.00 0.00 0.00 23:41:34 Average: docker0 18.49 25.58 1.54 236.76 0.00 0.00 0.00 0.00 23:41:34 Average: lo 1.60 1.60 0.15 0.15 0.00 0.00 0.00 0.00 23:41:34 Average: ens3 119.26 79.79 1926.37 40.22 0.00 0.00 0.00 0.00 23:41:34 23:41:34