Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5d36472c489360535a63323b7f6c17c4ae0cfc32 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-ssh4380400295077219403.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4160046992048596242.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6137340816949842915.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11299425943222743562.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-ssh796431563507673504.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.20 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-9038 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 5d36472c489360535a63323b7f6c17c4ae0cfc32 (main) Commit message: "Merge pull request #569 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.71" > 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 5d36472c489360535a63323b7f6c17c4ae0cfc32 # timeout=10 > git rev-list --no-walk a5ec5e69222fbe1cabc57f6e226de7296c53eab0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:46:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:46:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:46:18 ========================================================= 02:46:18 EdgeX Global Pipelines Version Info 02:46:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:46:19 ------------------- 02:46:19 stable info: 02:46:19 ------------------- 02:46:19 Commited By: Bill Mahoney bill.mahoney@intel.com 02:46:19 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:46:19 Message: update stable to v1.0.248 02:46:20 ------------------- 02:46:20 experimental info: 02:46:20 ------------------- 02:46:20 Commited By: **** collab-it+edgex@linuxfoundation.org 02:46:20 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:46:20 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:46:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d36472c489360535a63323b7f6c17c4ae0cfc32 [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d36472 [Pipeline] echo 02:46:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:21 provisioning config files... 02:46:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18403648560630292660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:21 ---> docker-login.sh 02:46:21 nexus3.edgexfoundry.org:10001 02:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:22 Configure a credential helper to remove this warning. See 02:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:22 02:46:22 Login Succeeded 02:46:22 nexus3.edgexfoundry.org:10002 02:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:22 Configure a credential helper to remove this warning. See 02:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:22 02:46:22 Login Succeeded 02:46:22 nexus3.edgexfoundry.org:10003 02:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:22 Configure a credential helper to remove this warning. See 02:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:22 02:46:22 Login Succeeded 02:46:22 nexus3.edgexfoundry.org:10004 02:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:23 Configure a credential helper to remove this warning. See 02:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:23 02:46:23 Login Succeeded 02:46:23 docker.io 02:46:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:23 Configure a credential helper to remove this warning. See 02:46:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:23 02:46:23 Login Succeeded 02:46:23 ---> docker-login.sh ends [Pipeline] } 02:46:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:46:23 + git rev-list -1 --merges 5d36472c489360535a63323b7f6c17c4ae0cfc32~1..5d36472c489360535a63323b7f6c17c4ae0cfc32 [Pipeline] echo 02:46:23 -----------> git rev-list -1 --merges 5d36472c489360535a63323b7f6c17c4ae0cfc32~1..5d36472c489360535a63323b7f6c17c4ae0cfc32 5d36472c489360535a63323b7f6c17c4ae0cfc32 02:46:23 5d36472c489360535a63323b7f6c17c4ae0cfc32 [false] [Pipeline] sh 02:46:24 + git log --format=format:%s -1 5d36472c489360535a63323b7f6c17c4ae0cfc32 [Pipeline] echo 02:46:24 ========================================================= 02:46:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:46:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:24 + git log --format=format:%s -1 5d36472c489360535a63323b7f6c17c4ae0cfc32 [Pipeline] echo 02:46:24 [semverPrep] GIT_COMMIT: 5d36472c489360535a63323b7f6c17c4ae0cfc32, Commit Message: Merge pull request #569 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.71 [Pipeline] echo 02:46:24 [semverPrep] This is not a build commit. [Pipeline] sh 02:46:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:46:24 + grep -v github /etc/ssh/ssh_known_hosts 02:46:24 + [ -e /tmp/ssh_known_hosts ] 02:46:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:46:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:46:24 + sudo tee -a /etc/ssh/ssh_known_hosts 02:46:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:25 02:46:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:25 0.1.4: Pulling from edgex-devops/py-git-semver 02:46:25 b85a868b505f: Pulling fs layer 02:46:25 e2be974225ed: Pulling fs layer 02:46:25 339a4e72a1f5: Pulling fs layer 02:46:25 988bab9f4d93: Pulling fs layer 02:46:25 1469e6f7b9e6: Pulling fs layer 02:46:25 eaf3925da568: Pulling fs layer 02:46:25 bab4dde63d76: Pulling fs layer 02:46:25 bde34c3a00c8: Pulling fs layer 02:46:25 b352a97aabf1: Pulling fs layer 02:46:25 4872d77fe225: Pulling fs layer 02:46:25 5851b861e8e6: Pulling fs layer 02:46:25 eaf3925da568: Waiting 02:46:25 1469e6f7b9e6: Waiting 02:46:25 bde34c3a00c8: Waiting 02:46:25 4872d77fe225: Waiting 02:46:25 bab4dde63d76: Waiting 02:46:25 988bab9f4d93: Waiting 02:46:25 b352a97aabf1: Waiting 02:46:25 e2be974225ed: Download complete 02:46:25 988bab9f4d93: Verifying Checksum 02:46:25 988bab9f4d93: Download complete 02:46:26 1469e6f7b9e6: Verifying Checksum 02:46:26 1469e6f7b9e6: Download complete 02:46:26 eaf3925da568: Download complete 02:46:26 339a4e72a1f5: Verifying Checksum 02:46:26 339a4e72a1f5: Download complete 02:46:26 bde34c3a00c8: Verifying Checksum 02:46:26 bde34c3a00c8: Download complete 02:46:27 b352a97aabf1: Verifying Checksum 02:46:27 b352a97aabf1: Download complete 02:46:27 4872d77fe225: Verifying Checksum 02:46:27 4872d77fe225: Download complete 02:46:27 b85a868b505f: Verifying Checksum 02:46:27 b85a868b505f: Download complete 02:46:27 5851b861e8e6: Verifying Checksum 02:46:27 5851b861e8e6: Download complete 02:46:28 bab4dde63d76: Verifying Checksum 02:46:28 bab4dde63d76: Download complete 02:46:28 b85a868b505f: Pull complete 02:46:28 e2be974225ed: Pull complete 02:46:29 339a4e72a1f5: Pull complete 02:46:29 988bab9f4d93: Pull complete 02:46:29 1469e6f7b9e6: Pull complete 02:46:29 eaf3925da568: Pull complete 02:46:32 bab4dde63d76: Pull complete 02:46:32 bde34c3a00c8: Pull complete 02:46:32 b352a97aabf1: Pull complete 02:46:32 4872d77fe225: Pull complete 02:46:32 5851b861e8e6: Pull complete 02:46:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:32 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 02:46:32 $ 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 02:46:37 $ docker top cef47b51ac7862456daed983397060545277c0c066061ceecda76e8d624edc06 -eo pid,comm 02:46:37 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). 02:46:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:37 [ssh-agent] Looking for ssh-agent implementation... 02:46:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:37 $ docker exec cef47b51ac7862456daed983397060545277c0c066061ceecda76e8d624edc06 ssh-agent 02:46:37 SSH_AUTH_SOCK=/tmp/ssh-rBvOVe67Vree/agent.33 02:46:37 SSH_AGENT_PID=39 02:46:37 Running ssh-add (command line suppressed) 02:46:37 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7353253112182919909.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7353253112182919909.key) 02:46:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:38 + git tag --points-at HEAD [Pipeline] } 02:46:38 $ docker exec --env ******** --env ******** cef47b51ac7862456daed983397060545277c0c066061ceecda76e8d624edc06 ssh-agent -k 02:46:38 unset SSH_AUTH_SOCK; 02:46:38 unset SSH_AGENT_PID; 02:46:38 echo Agent pid 39 killed; 02:46:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:46:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:38 [ssh-agent] Looking for ssh-agent implementation... 02:46:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:38 $ docker exec cef47b51ac7862456daed983397060545277c0c066061ceecda76e8d624edc06 ssh-agent 02:46:38 SSH_AUTH_SOCK=/tmp/ssh-sv3LZstFNmKo/agent.71 02:46:38 SSH_AGENT_PID=77 02:46:38 Running ssh-add (command line suppressed) 02:46:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8260836019941496696.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8260836019941496696.key) 02:46:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:38 + git semver init 02:46:39 2023-04-19 02:46:39,217 [run_init] DEBUG init version:0.0.0 force:False 02:46:39 2023-04-19 02:46:39,217 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:46:39 2023-04-19 02:46:39,218 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:46:39 2023-04-19 02:46:39,218 [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) 02:46:40 2023-04-19 02:46:40,034 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:46:40 2023-04-19 02:46:40,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:46:40 2023-04-19 02:46:40,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:40 2023-04-19 02:46:40,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:46:40 3.0.0-dev.21 [Pipeline] } 02:46:40 $ docker exec --env ******** --env ******** cef47b51ac7862456daed983397060545277c0c066061ceecda76e8d624edc06 ssh-agent -k 02:46:40 unset SSH_AUTH_SOCK; 02:46:40 unset SSH_AGENT_PID; 02:46:40 echo Agent pid 77 killed; 02:46:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:46:40 + git semver [Pipeline] } 02:46:40 $ docker stop --time=1 cef47b51ac7862456daed983397060545277c0c066061ceecda76e8d624edc06 02:46:42 $ docker rm -f --volumes cef47b51ac7862456daed983397060545277c0c066061ceecda76e8d624edc06 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:46:42 Stashed 1 file(s) [Pipeline] echo 02:46:42 [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:43 provisioning config files... 02:46:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7958634880239810972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:43 ---> docker-login.sh 02:46:43 nexus3.edgexfoundry.org:10001 02:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:43 nexus3.edgexfoundry.org:10002 02:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:43 nexus3.edgexfoundry.org:10003 02:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:44 Configure a credential helper to remove this warning. See 02:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:44 02:46:44 Login Succeeded 02:46:44 nexus3.edgexfoundry.org:10004 02:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:44 Configure a credential helper to remove this warning. See 02:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:44 02:46:44 Login Succeeded 02:46:44 docker.io 02:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:44 Configure a credential helper to remove this warning. See 02:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:44 02:46:44 Login Succeeded 02:46:44 ---> docker-login.sh ends [Pipeline] } 02:46:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:46:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:46:44 ========================================================= 02:46:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:46:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:46:44 Sending build context to Docker daemon 6.417MB 02:46:44 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:46:44 Step 2/12 : FROM ${BASE} AS builder 02:46:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:45 63b65145d645: Pulling fs layer 02:46:45 a2d21d5440eb: Pulling fs layer 02:46:45 935e6c44a52c: Pulling fs layer 02:46:45 94cc34f8dd06: Pulling fs layer 02:46:45 30dea6a524f1: Pulling fs layer 02:46:45 a2aff8979fd8: Pulling fs layer 02:46:45 6808be2612f2: Pulling fs layer 02:46:45 f25807f1079a: Pulling fs layer 02:46:45 94cc34f8dd06: Waiting 02:46:45 30dea6a524f1: Waiting 02:46:45 a2aff8979fd8: Waiting 02:46:45 6808be2612f2: Waiting 02:46:45 f25807f1079a: Waiting 02:46:45 a2d21d5440eb: Verifying Checksum 02:46:45 a2d21d5440eb: Download complete 02:46:45 94cc34f8dd06: Verifying Checksum 02:46:45 94cc34f8dd06: Download complete 02:46:45 30dea6a524f1: Download complete 02:46:45 63b65145d645: Verifying Checksum 02:46:45 63b65145d645: Download complete 02:46:45 a2aff8979fd8: Verifying Checksum 02:46:45 a2aff8979fd8: Download complete 02:46:45 63b65145d645: Pull complete 02:46:45 a2d21d5440eb: Pull complete 02:46:46 935e6c44a52c: Verifying Checksum 02:46:46 935e6c44a52c: Download complete 02:46:46 f25807f1079a: Verifying Checksum 02:46:46 f25807f1079a: Download complete 02:46:47 6808be2612f2: Verifying Checksum 02:46:47 6808be2612f2: Download complete 02:46:49 935e6c44a52c: Pull complete 02:46:50 94cc34f8dd06: Pull complete 02:46:50 30dea6a524f1: Pull complete 02:46:50 a2aff8979fd8: Pull complete 02:46:52 6808be2612f2: Pull complete 02:46:53 f25807f1079a: Pull complete 02:46:53 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:46:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:46:53 ---> 3b553350e43f 02:46:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:46:58 Still waiting to schedule task 02:46:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:47:01 ---> Running in 69ebb765b4b2 02:47:01 Removing intermediate container 69ebb765b4b2 02:47:01 ---> 42bea25f1fa9 02:47:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:47:02 ---> Running in 73a9ad68720f 02:47:02 Removing intermediate container 73a9ad68720f 02:47:02 ---> 508e3f3c36e5 02:47:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:47:02 ---> Running in a88fc6cdf796 02:47:02 Removing intermediate container a88fc6cdf796 02:47:02 ---> b3cbd9df4a16 02:47:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:47:02 ---> Running in c3a165eebd32 02:47:02 Removing intermediate container c3a165eebd32 02:47:02 ---> 1fe9aa152c17 02:47:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:47:02 ---> Running in 992c93312ea2 02:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:47:03 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:47:03 (2/4) Installing libedit (20221030.3.1-r0) 02:47:03 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:47:03 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:47:03 Executing busybox-1.35.0-r29.trigger 02:47:03 OK: 269 MiB in 57 packages 02:47:03 Removing intermediate container 992c93312ea2 02:47:03 ---> 15f3e2d6a871 02:47:03 Step 8/12 : WORKDIR /device-mqtt-go 02:47:03 ---> Running in 88de385a0ec8 02:47:03 Removing intermediate container 88de385a0ec8 02:47:03 ---> d9feb0074261 02:47:03 Step 9/12 : COPY go.mod vendor* ./ 02:47:03 ---> cc60e1a9db86 02:47:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:47:03 ---> Running in 7df1d9186880 02:47:50 Removing intermediate container 7df1d9186880 02:47:50 ---> 94d0f26f9584 02:47:50 Step 11/12 : COPY . . 02:47:50 ---> 4945cfdd621b 02:47:50 Step 12/12 : RUN $MAKE 02:47:50 ---> Running in 0d6c831571da 02:47:50 noop 02:47:50 Removing intermediate container 0d6c831571da 02:47:50 ---> e6883eb67d7a 02:47:50 Successfully built e6883eb67d7a 02:47:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:51 + docker inspect -f . ci-base-image-x86_64 02:47:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:51 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 02:47:51 $ 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 02:47:51 $ docker top 3e36924e9efd1ea8ec7148cb969ce8db50374b06582fc1d176382a947c0f550b -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:52 + go version 02:47:52 go version go1.20.2 linux/amd64 [Pipeline] } 02:47:52 $ docker stop --time=1 3e36924e9efd1ea8ec7148cb969ce8db50374b06582fc1d176382a947c0f550b 02:47:53 $ docker rm -f --volumes 3e36924e9efd1ea8ec7148cb969ce8db50374b06582fc1d176382a947c0f550b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:53 + docker inspect -f . ci-base-image-x86_64 02:47:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:53 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 02:47:53 $ 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 02:47:54 $ docker top 25198b13692bf7b11af20e171f187ebb65162633064ebca82ce57c9494de6bd2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:47:54 + make test 02:47:54 go test ./... -coverprofile=coverage.out ./... 02:48:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:48:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:48:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:48:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.9% of statements 02:48:17 go vet ./... 02:48:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:48:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:48:21 ./bin/test-attribution-txt.sh [Pipeline] echo 02:48:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:48:21 $ docker stop --time=1 25198b13692bf7b11af20e171f187ebb65162633064ebca82ce57c9494de6bd2 02:48:26 $ docker rm -f --volumes 25198b13692bf7b11af20e171f187ebb65162633064ebca82ce57c9494de6bd2 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:28 + ls -al . 02:48:28 total 180 02:48:28 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 02:47 . 02:48:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:46 .. 02:48:28 -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 02:46 .dockerignore 02:48:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 02:46 .git 02:48:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:46 .github 02:48:28 -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 02:46 .gitignore 02:48:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 02:46 .golangci.yml 02:48:28 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:46 .semver 02:48:28 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 19 02:46 Attribution.txt 02:48:28 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 19 02:46 CHANGELOG.md 02:48:28 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 19 02:46 Dockerfile 02:48:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 02:46 GOVERNANCE.md 02:48:28 -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 02:46 Jenkinsfile 02:48:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 02:46 LICENSE 02:48:28 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 19 02:46 Makefile 02:48:28 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 02:46 OWNERS.md 02:48:28 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 19 02:46 README.md 02:48:28 -rw-rw-r-- 1 jenkins jenkins 12 Apr 19 02:46 VERSION 02:48:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:46 bin 02:48:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:46 cmd 02:48:28 -rw-r--r-- 1 jenkins jenkins 18460 Apr 19 02:48 coverage.out 02:48:28 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 19 02:46 go.mod 02:48:28 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 02:46 go.sum 02:48:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:46 internal 02:48:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:46 mock 02:48:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:46 snap 02:48:28 -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 02:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:28 + 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=5d36472c489360535a63323b7f6c17c4ae0cfc32 --label arch=amd64 --label version=3.0.0-dev.21 . 02:48:28 Sending build context to Docker daemon 6.436MB 02:48:28 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:48:28 Step 2/24 : FROM ${BASE} AS builder 02:48:28 ---> e6883eb67d7a 02:48:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:48:28 ---> Running in 0137333681c0 02:48:29 Removing intermediate container 0137333681c0 02:48:29 ---> 1f16776d5619 02:48:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:48:29 ---> Running in 391394fdda0c 02:48:29 Removing intermediate container 391394fdda0c 02:48:29 ---> 1e82fbe6288b 02:48:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:48:29 ---> Running in b10f4fe1ead3 02:48:29 Removing intermediate container b10f4fe1ead3 02:48:29 ---> ec2919764323 02:48:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:48:29 ---> Running in f9b2a7a3462c 02:48:29 Removing intermediate container f9b2a7a3462c 02:48:29 ---> 4a914218d03b 02:48:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:29 ---> Running in 25d84b00e089 02:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:48:29 OK: 269 MiB in 57 packages 02:48:30 Removing intermediate container 25d84b00e089 02:48:30 ---> 3dfbc6da0ed6 02:48:30 Step 8/24 : WORKDIR /device-mqtt-go 02:48:30 ---> Running in b3a55d9be6cf 02:48:30 Removing intermediate container b3a55d9be6cf 02:48:30 ---> 08e8c4c460f8 02:48:30 Step 9/24 : COPY go.mod vendor* ./ 02:48:30 ---> 653ae1e98cd3 02:48:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:48:30 ---> Running in 07787bd9838a 02:48:31 Removing intermediate container 07787bd9838a 02:48:31 ---> e6b58827c56b 02:48:31 Step 11/24 : COPY . . 02:48:31 ---> 9ca25c1b6783 02:48:31 Step 12/24 : RUN $MAKE 02:48:31 ---> Running in 5662d1bdd30f 02:48:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:48:59 Removing intermediate container 5662d1bdd30f 02:48:59 ---> 7df6f161cce0 02:48:59 Step 13/24 : FROM alpine:3.17 02:48:59 3.17: Pulling from library/alpine 02:48:59 f56be85fc22e: Pulling fs layer 02:48:59 f56be85fc22e: Verifying Checksum 02:48:59 f56be85fc22e: Download complete 02:48:59 f56be85fc22e: Pull complete 02:48:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:48:59 Status: Downloaded newer image for alpine:3.17 02:48:59 ---> 9ed4aefc74f6 02:48:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:48:59 ---> Running in 63a44faff65b 02:48:59 Removing intermediate container 63a44faff65b 02:48:59 ---> 130aa592ac57 02:48:59 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:48:59 ---> Running in 5abeca85e3a2 02:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:48:59 (1/1) Installing dumb-init (1.2.5-r2) 02:48:59 Executing busybox-1.35.0-r29.trigger 02:48:59 OK: 7 MiB in 16 packages 02:48:59 Removing intermediate container 5abeca85e3a2 02:48:59 ---> d14024f9fb4a 02:48:59 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:48:59 ---> 413b173b4122 02:48:59 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:48:59 ---> 29b98d60f7c3 02:48:59 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:48:59 ---> 69dabcc8ce1c 02:48:59 Step 19/24 : EXPOSE 59982 02:48:59 ---> Running in c921ecf2ca4b 02:48:59 Removing intermediate container c921ecf2ca4b 02:48:59 ---> 5a6582ad0def 02:48:59 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:48:59 ---> Running in 4dda4c1f5abf 02:48:59 Removing intermediate container 4dda4c1f5abf 02:48:59 ---> 42e22db5cf62 02:48:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:48:59 ---> Running in 856377dc6682 02:48:59 Removing intermediate container 856377dc6682 02:48:59 ---> bef9a47e7ddf 02:48:59 Step 22/24 : LABEL arch=amd64 02:48:59 ---> Running in eeb7f7cd06a8 02:48:59 Removing intermediate container eeb7f7cd06a8 02:48:59 ---> f93e0c5e4135 02:48:59 Step 23/24 : LABEL git_sha=5d36472c489360535a63323b7f6c17c4ae0cfc32 02:48:59 ---> Running in 175b045daa11 02:48:59 Removing intermediate container 175b045daa11 02:48:59 ---> 0e32e2b294f9 02:48:59 Step 24/24 : LABEL version=3.0.0-dev.21 02:48:59 ---> Running in 6b4766f7febe 02:48:59 Removing intermediate container 6b4766f7febe 02:48:59 ---> 4b5ba89f9860 02:48:59 [Warning] One or more build-args [ARCH] were not consumed 02:48:59 Successfully built 4b5ba89f9860 02:48:59 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:59 provisioning config files... 02:48:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4047950279708934509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:59 ---> docker-login.sh 02:48:59 nexus3.edgexfoundry.org:10001 02:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:59 Configure a credential helper to remove this warning. See 02:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:59 02:48:59 Login Succeeded 02:48:59 nexus3.edgexfoundry.org:10002 02:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:59 Configure a credential helper to remove this warning. See 02:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:59 02:48:59 Login Succeeded 02:48:59 nexus3.edgexfoundry.org:10003 02:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:00 Configure a credential helper to remove this warning. See 02:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:00 02:49:00 Login Succeeded 02:49:00 nexus3.edgexfoundry.org:10004 02:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:00 Configure a credential helper to remove this warning. See 02:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:00 02:49:00 Login Succeeded 02:49:00 docker.io 02:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:00 Configure a credential helper to remove this warning. See 02:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:00 02:49:00 Login Succeeded 02:49:00 ---> docker-login.sh ends [Pipeline] } 02:49:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:49:00 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:49:00 5d36472c489360535a63323b7f6c17c4ae0cfc32 02:49:00 latest 02:49:00 3.0.0-dev.21 02:49:00 5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21 02:49:00 main 02:49:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5d36472c489360535a63323b7f6c17c4ae0cfc32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5d36472c489360535a63323b7f6c17c4ae0cfc32 02:49:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:49:01 f2fbfd850303: Preparing 02:49:01 e5d5be768c53: Preparing 02:49:01 0fe2d5f38da9: Preparing 02:49:01 346efa21691d: Preparing 02:49:01 f1417ff83b31: Preparing 02:49:01 f1417ff83b31: Layer already exists 02:49:01 346efa21691d: Pushed 02:49:01 f2fbfd850303: Pushed 02:49:01 e5d5be768c53: Pushed 02:49:03 0fe2d5f38da9: Pushed 02:49:03 5d36472c489360535a63323b7f6c17c4ae0cfc32: digest: sha256:45ec0534dcca9f4cb642d74ffda4142540d3379d0a120520d8a5afc4ecbf4ca9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:49:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:49:04 f2fbfd850303: Preparing 02:49:04 e5d5be768c53: Preparing 02:49:04 0fe2d5f38da9: Preparing 02:49:04 346efa21691d: Preparing 02:49:04 f1417ff83b31: Preparing 02:49:04 e5d5be768c53: Layer already exists 02:49:04 f1417ff83b31: Layer already exists 02:49:04 346efa21691d: Layer already exists 02:49:04 f2fbfd850303: Layer already exists 02:49:04 0fe2d5f38da9: Layer already exists 02:49:04 latest: digest: sha256:45ec0534dcca9f4cb642d74ffda4142540d3379d0a120520d8a5afc4ecbf4ca9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.21 02:49:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:49:05 f2fbfd850303: Preparing 02:49:05 e5d5be768c53: Preparing 02:49:05 0fe2d5f38da9: Preparing 02:49:05 346efa21691d: Preparing 02:49:05 f1417ff83b31: Preparing 02:49:05 346efa21691d: Layer already exists 02:49:05 0fe2d5f38da9: Layer already exists 02:49:05 f1417ff83b31: Layer already exists 02:49:05 f2fbfd850303: Layer already exists 02:49:05 e5d5be768c53: Layer already exists 02:49:05 3.0.0-dev.21: digest: sha256:45ec0534dcca9f4cb642d74ffda4142540d3379d0a120520d8a5afc4ecbf4ca9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21 02:49:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:49:06 f2fbfd850303: Preparing 02:49:06 e5d5be768c53: Preparing 02:49:06 0fe2d5f38da9: Preparing 02:49:06 346efa21691d: Preparing 02:49:06 f1417ff83b31: Preparing 02:49:06 f2fbfd850303: Layer already exists 02:49:06 346efa21691d: Layer already exists 02:49:06 e5d5be768c53: Layer already exists 02:49:06 f1417ff83b31: Layer already exists 02:49:06 0fe2d5f38da9: Layer already exists 02:49:06 5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21: digest: sha256:45ec0534dcca9f4cb642d74ffda4142540d3379d0a120520d8a5afc4ecbf4ca9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:49:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:49:06 f2fbfd850303: Preparing 02:49:06 e5d5be768c53: Preparing 02:49:06 0fe2d5f38da9: Preparing 02:49:06 346efa21691d: Preparing 02:49:06 f1417ff83b31: Preparing 02:49:06 e5d5be768c53: Layer already exists 02:49:06 0fe2d5f38da9: Layer already exists 02:49:06 f2fbfd850303: Layer already exists 02:49:06 f1417ff83b31: Layer already exists 02:49:06 346efa21691d: Layer already exists 02:49:06 main: digest: sha256:45ec0534dcca9f4cb642d74ffda4142540d3379d0a120520d8a5afc4ecbf4ca9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:06 ===================================================== [Pipeline] echo 02:49:06 taggedImages: 02:49:06 - nexus3.edgexfoundry.org:10004/device-mqtt:5d36472c489360535a63323b7f6c17c4ae0cfc32 02:49:06 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:49:06 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.21 02:49:06 - nexus3.edgexfoundry.org:10004/device-mqtt:5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21 02:49:06 - 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 02:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:49:07 02:49:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:49:07 latest: Pulling from edgex-lftools-log-publisher 02:49:07 5eb5b503b376: Pulling fs layer 02:49:07 5c69ac0246d0: Pulling fs layer 02:49:07 ec43610c2a17: Pulling fs layer 02:49:07 3a2ae6a8a46f: Pulling fs layer 02:49:07 33b1e0a273af: Pulling fs layer 02:49:07 5d3b04190fa2: Pulling fs layer 02:49:07 2f39f015ded8: Pulling fs layer 02:49:07 3a2ae6a8a46f: Waiting 02:49:07 33b1e0a273af: Waiting 02:49:07 5d3b04190fa2: Waiting 02:49:07 2f39f015ded8: Waiting 02:49:07 5c69ac0246d0: Verifying Checksum 02:49:07 5c69ac0246d0: Download complete 02:49:07 3a2ae6a8a46f: Verifying Checksum 02:49:07 3a2ae6a8a46f: Download complete 02:49:07 33b1e0a273af: Verifying Checksum 02:49:07 33b1e0a273af: Download complete 02:49:07 5d3b04190fa2: Download complete 02:49:07 ec43610c2a17: Verifying Checksum 02:49:07 ec43610c2a17: Download complete 02:49:07 5eb5b503b376: Verifying Checksum 02:49:07 5eb5b503b376: Download complete 02:49:08 2f39f015ded8: Download complete 02:49:09 5eb5b503b376: Pull complete 02:49:09 5c69ac0246d0: Pull complete 02:49:09 ec43610c2a17: Pull complete 02:49:09 3a2ae6a8a46f: Pull complete 02:49:09 33b1e0a273af: Pull complete 02:49:09 5d3b04190fa2: Pull complete 02:49:14 2f39f015ded8: Pull complete 02:49:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:49:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:49:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:14 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 02:49:14 $ 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 02:49:23 $ docker top 688b322ba652c49b14bebdc600b5427e3154449ec058f8ef1cf31bf7d31b6db8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:23 ---> job-cost.sh 02:49:23 lf-activate-venv: SKIPPING 02:49:23 INFO: No Stack... 02:49:23 INFO: Retrieving Pricing Info for: v3-standard-8 02:49:24 INFO: Archiving Costs [Pipeline] sh 02:49:24 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:49:24 + cut -d, -f6 [Pipeline] lock 02:49:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-105-stack-cost] 02:49:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-105-stack-cost] did not exist. Created. 02:49:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:25 + echo total: 0.2199999988079071 [Pipeline] stash 02:49:25 Stashed 1 file(s) [Pipeline] } 02:49:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:25 $ docker stop --time=1 688b322ba652c49b14bebdc600b5427e3154449ec058f8ef1cf31bf7d31b6db8 02:49:26 $ docker rm -f --volumes 688b322ba652c49b14bebdc600b5427e3154449ec058f8ef1cf31bf7d31b6db8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9040 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:49:43 Running in /w/workspace/device-mqtt-go/105 [Pipeline] { [Pipeline] checkout 02:49:43 Selected Git installation does not exist. Using Default 02:49:43 The recommended git tool is: NONE 02:49:50 using credential edgex-jenkins-ssh 02:49:50 Cloning the remote Git repository 02:49:50 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:49:50 > git init /w/workspace/device-mqtt-go/105 # timeout=10 02:49:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:49:50 > git --version # timeout=10 02:49:50 > git --version # 'git version 2.25.1' 02:49:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:49:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:53 Avoid second fetch 02:49:53 Checking out Revision 5d36472c489360535a63323b7f6c17c4ae0cfc32 (main) 02:49:53 Commit message: "Merge pull request #569 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.71" [Pipeline] withEnv [Pipeline] { 02:49:53 > git config core.sparsecheckout # timeout=10 02:49:53 > git checkout -f 5d36472c489360535a63323b7f6c17c4ae0cfc32 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:49:54 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:54 Dload Upload Total Spent Left Speed 02:49:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 60521 0 --:--:-- --:--:-- --:--:-- 60191 100 12751 100 12751 0 0 69298 0 --:--:-- --:--:-- --:--:-- 69298 [Pipeline] sh 02:49:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:49:55 + + sudo tee /etc/docker/daemon.new 02:49:55 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:49:55 { 02:49:55 "registry-mirrors": [ 02:49:55 "https://nexus3.edgexfoundry.org:10001" 02:49:55 ], 02:49:55 "bip": "10.250.0.254/24", 02:49:55 "hosts": [ 02:49:55 "tcp://0.0.0.0:5555", 02:49:55 "unix:///var/run/docker.sock" 02:49:55 ], 02:49:55 "mtu": 1458, 02:49:55 "selinux-enabled": true, 02:49:55 "seccomp-profile": "/etc/docker/seccomp.json" 02:49:55 } [Pipeline] sh 02:49:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:49:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:14 provisioning config files... 02:50:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/105@tmp/config11442192878175685783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:15 ---> docker-login.sh 02:50:15 nexus3.edgexfoundry.org:10001 02:50:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:15 Configure a credential helper to remove this warning. See 02:50:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:15 02:50:15 Login Succeeded 02:50:15 nexus3.edgexfoundry.org:10002 02:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:16 Configure a credential helper to remove this warning. See 02:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:16 02:50:16 Login Succeeded 02:50:16 nexus3.edgexfoundry.org:10003 02:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:16 Configure a credential helper to remove this warning. See 02:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:16 02:50:16 Login Succeeded 02:50:16 nexus3.edgexfoundry.org:10004 02:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:17 Configure a credential helper to remove this warning. See 02:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:17 02:50:17 Login Succeeded 02:50:17 docker.io 02:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:17 Configure a credential helper to remove this warning. See 02:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:17 02:50:17 Login Succeeded 02:50:17 ---> docker-login.sh ends [Pipeline] } 02:50:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:50:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:17 ========================================================= 02:50:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:50:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:50:18 Sending build context to Docker daemon 3.327MB 02:50:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:50:18 Step 2/12 : FROM ${BASE} AS builder 02:50:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:50:18 af6eaf76a39c: Pulling fs layer 02:50:18 55522c791124: Pulling fs layer 02:50:18 ce5c4a1c91eb: Pulling fs layer 02:50:18 169dfbe0d373: Pulling fs layer 02:50:18 e1ff8fa3b103: Pulling fs layer 02:50:18 52ebb69f0ebf: Pulling fs layer 02:50:18 5abe8eddf0d5: Pulling fs layer 02:50:18 169dfbe0d373: Waiting 02:50:18 e1ff8fa3b103: Waiting 02:50:18 52ebb69f0ebf: Waiting 02:50:18 5abe8eddf0d5: Waiting 02:50:18 55522c791124: Download complete 02:50:18 169dfbe0d373: Verifying Checksum 02:50:18 169dfbe0d373: Download complete 02:50:18 e1ff8fa3b103: Verifying Checksum 02:50:18 e1ff8fa3b103: Download complete 02:50:19 af6eaf76a39c: Verifying Checksum 02:50:19 af6eaf76a39c: Download complete 02:50:20 af6eaf76a39c: Pull complete 02:50:20 5abe8eddf0d5: Verifying Checksum 02:50:20 5abe8eddf0d5: Download complete 02:50:20 55522c791124: Pull complete 02:50:21 ce5c4a1c91eb: Verifying Checksum 02:50:21 ce5c4a1c91eb: Download complete 02:50:21 52ebb69f0ebf: Verifying Checksum 02:50:21 52ebb69f0ebf: Download complete 02:50:34 ce5c4a1c91eb: Pull complete 02:50:34 169dfbe0d373: Pull complete 02:50:34 e1ff8fa3b103: Pull complete 02:50:40 52ebb69f0ebf: Pull complete 02:50:43 5abe8eddf0d5: Pull complete 02:50:43 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:50:43 ---> 6cb57ee374ae 02:50:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:50:44 ---> Running in c83040b8f5c5 02:50:44 Removing intermediate container c83040b8f5c5 02:50:44 ---> 7f881b6aca9c 02:50:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:50:44 ---> Running in d0a2be8bfbe0 02:50:45 Removing intermediate container d0a2be8bfbe0 02:50:45 ---> 2d95ca9c811c 02:50:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:50:45 ---> Running in 203064645d84 02:50:45 Removing intermediate container 203064645d84 02:50:45 ---> 042f00d42ca6 02:50:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:50:45 ---> Running in 6e1c8ccf547c 02:50:46 Removing intermediate container 6e1c8ccf547c 02:50:46 ---> 078ac8fa5183 02:50:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:50:46 ---> Running in 26b223f6ee21 02:50:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:50:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:50:49 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:50:49 (2/4) Installing libedit (20221030.3.1-r0) 02:50:49 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:50:49 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:50:49 Executing busybox-1.35.0-r29.trigger 02:50:49 OK: 268 MiB in 57 packages 02:50:50 Removing intermediate container 26b223f6ee21 02:50:50 ---> 8550363eeeec 02:50:50 Step 8/12 : WORKDIR /device-mqtt-go 02:50:50 ---> Running in 836b48605961 02:50:51 Removing intermediate container 836b48605961 02:50:51 ---> 5e341852c8e1 02:50:51 Step 9/12 : COPY go.mod vendor* ./ 02:50:51 ---> be18bad6caac 02:50:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:50:51 ---> Running in 015db4e86c37 02:52:13 Removing intermediate container 015db4e86c37 02:52:13 ---> dca5e7b42b31 02:52:13 Step 11/12 : COPY . . 02:52:13 ---> f37bf2527bdc 02:52:13 Step 12/12 : RUN $MAKE 02:52:13 ---> Running in b5595c5c831a 02:52:13 noop 02:52:13 Removing intermediate container b5595c5c831a 02:52:13 ---> 0eb2e7c3c3a4 02:52:13 Successfully built 0eb2e7c3c3a4 02:52:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:13 + docker inspect -f . ci-base-image-arm64 02:52:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:14 prd-ubuntu20.04-docker-arm64-4c-16g-9040 does not seem to be running inside a container 02:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/105 -v /w/workspace/device-mqtt-go/105:/w/workspace/device-mqtt-go/105:rw,z -v /w/workspace/device-mqtt-go/105@tmp:/w/workspace/device-mqtt-go/105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:52:15 $ docker top 6ceb2d9d60a6a1f7f171745821ca392581072cfe87c5e6e3dd53802045043789 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:16 + go version 02:52:16 go version go1.20.2 linux/arm64 [Pipeline] } 02:52:16 $ docker stop --time=1 6ceb2d9d60a6a1f7f171745821ca392581072cfe87c5e6e3dd53802045043789 02:52:18 $ docker rm -f --volumes 6ceb2d9d60a6a1f7f171745821ca392581072cfe87c5e6e3dd53802045043789 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:18 + docker inspect -f . ci-base-image-arm64 02:52:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:19 prd-ubuntu20.04-docker-arm64-4c-16g-9040 does not seem to be running inside a container 02:52:19 $ 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/105 -v /w/workspace/device-mqtt-go/105:/w/workspace/device-mqtt-go/105:rw,z -v /w/workspace/device-mqtt-go/105@tmp:/w/workspace/device-mqtt-go/105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:52:20 $ docker top 80c2ca0c84099d69c5f4b67a815f5861da7efa29c55c9af861f916970a48e820 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:20 + git config --global --add safe.directory /w/workspace/device-mqtt-go/105 [Pipeline] fileExists [Pipeline] sh 02:52:21 + make test 02:52:21 go test ./... -coverprofile=coverage.out ./... 02:53:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:55:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:55:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:55:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.9% of statements 02:55:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:55:08 go vet ./... 02:55:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:55:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:55:46 ./bin/test-attribution-txt.sh [Pipeline] echo 02:55:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:55:46 $ docker stop --time=1 80c2ca0c84099d69c5f4b67a815f5861da7efa29c55c9af861f916970a48e820 02:55:48 $ docker rm -f --volumes 80c2ca0c84099d69c5f4b67a815f5861da7efa29c55c9af861f916970a48e820 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:55:50 Warning: overwriting stash ‘coverage-report’ 02:55:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:55:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:55:51 + ls -al . 02:55:51 total 176 02:55:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 02:52 . 02:55:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:49 .. 02:55:51 -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 02:49 .dockerignore 02:55:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 02:49 .git 02:55:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:49 .github 02:55:51 -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 02:49 .gitignore 02:55:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 02:49 .golangci.yml 02:55:51 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 19 02:49 Attribution.txt 02:55:51 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 19 02:49 CHANGELOG.md 02:55:51 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 19 02:49 Dockerfile 02:55:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 02:49 GOVERNANCE.md 02:55:51 -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 02:49 Jenkinsfile 02:55:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 02:49 LICENSE 02:55:51 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 19 02:49 Makefile 02:55:51 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 02:49 OWNERS.md 02:55:51 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 19 02:49 README.md 02:55:51 -rw-rw-r-- 1 jenkins jenkins 12 Apr 19 02:46 VERSION 02:55:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:49 bin 02:55:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:49 cmd 02:55:51 -rw-r--r-- 1 jenkins jenkins 18460 Apr 19 02:55 coverage.out 02:55:51 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 19 02:49 go.mod 02:55:51 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 02:49 go.sum 02:55:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:49 internal 02:55:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:49 mock 02:55:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:49 snap 02:55:51 -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 02:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:51 + 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=5d36472c489360535a63323b7f6c17c4ae0cfc32 --label arch=arm64 --label version=3.0.0-dev.21 . 02:55:52 Sending build context to Docker daemon 3.346MB 02:55:52 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:55:52 Step 2/24 : FROM ${BASE} AS builder 02:55:52 ---> 0eb2e7c3c3a4 02:55:52 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:55:52 ---> Running in ec29a5b78927 02:55:52 Removing intermediate container ec29a5b78927 02:55:52 ---> 182cb58ecf53 02:55:52 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:55:52 ---> Running in b40712bb03d9 02:55:53 Removing intermediate container b40712bb03d9 02:55:53 ---> 8c12817f878d 02:55:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:55:53 ---> Running in 68b884bd0f4d 02:55:53 Removing intermediate container 68b884bd0f4d 02:55:53 ---> 74ea1b4ca8e7 02:55:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:55:53 ---> Running in e62c5cc0dbda 02:55:54 Removing intermediate container e62c5cc0dbda 02:55:54 ---> 9ca8974d66dd 02:55:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:54 ---> Running in a9332f59566d 02:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:55:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:55:57 OK: 268 MiB in 57 packages 02:55:59 Removing intermediate container a9332f59566d 02:55:59 ---> 928c58fe38ec 02:55:59 Step 8/24 : WORKDIR /device-mqtt-go 02:55:59 ---> Running in 488b81176fd6 02:55:59 Removing intermediate container 488b81176fd6 02:55:59 ---> a59f5536b326 02:55:59 Step 9/24 : COPY go.mod vendor* ./ 02:56:00 ---> 2847d894154b 02:56:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:56:00 ---> Running in c3acb39916d3 02:56:03 Removing intermediate container c3acb39916d3 02:56:03 ---> fe1060202601 02:56:03 Step 11/24 : COPY . . 02:56:04 ---> 84e2b5a2ee2f 02:56:04 Step 12/24 : RUN $MAKE 02:56:04 ---> Running in f84920fbd78b 02:56:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:58:27 Removing intermediate container f84920fbd78b 02:58:27 ---> 80cec4085727 02:58:27 Step 13/24 : FROM alpine:3.17 02:58:27 3.17: Pulling from library/alpine 02:58:27 c41833b44d91: Pulling fs layer 02:58:27 c41833b44d91: Verifying Checksum 02:58:27 c41833b44d91: Download complete 02:58:27 c41833b44d91: Pull complete 02:58:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:58:27 Status: Downloaded newer image for alpine:3.17 02:58:27 ---> 51e60588ff2c 02:58:27 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:58:27 ---> Running in 4474d3fa6140 02:58:27 Removing intermediate container 4474d3fa6140 02:58:27 ---> cb9f0860a716 02:58:27 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:58:27 ---> Running in 57d133f0deb3 02:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:58:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:58:30 (1/1) Installing dumb-init (1.2.5-r2) 02:58:30 Executing busybox-1.35.0-r29.trigger 02:58:30 OK: 8 MiB in 16 packages 02:58:31 Removing intermediate container 57d133f0deb3 02:58:31 ---> 2be00da3054f 02:58:31 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:58:32 ---> aa49452a311d 02:58:32 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:58:33 ---> e006f5a37297 02:58:33 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:58:33 ---> bb52b53494d8 02:58:33 Step 19/24 : EXPOSE 59982 02:58:33 ---> Running in e9c89b420640 02:58:34 Removing intermediate container e9c89b420640 02:58:34 ---> 5c4a1edd5ad8 02:58:34 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:58:34 ---> Running in 45ad480884e6 02:58:34 Removing intermediate container 45ad480884e6 02:58:34 ---> 3b3d3375371b 02:58:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:58:34 ---> Running in 257da030993d 02:58:34 Removing intermediate container 257da030993d 02:58:34 ---> db8ca5bd2cc8 02:58:34 Step 22/24 : LABEL arch=arm64 02:58:34 ---> Running in 4e464c6de259 02:58:35 Removing intermediate container 4e464c6de259 02:58:35 ---> fd24e7802116 02:58:35 Step 23/24 : LABEL git_sha=5d36472c489360535a63323b7f6c17c4ae0cfc32 02:58:35 ---> Running in 769fa8ffcf1a 02:58:35 Removing intermediate container 769fa8ffcf1a 02:58:35 ---> 7708654dc2ea 02:58:35 Step 24/24 : LABEL version=3.0.0-dev.21 02:58:35 ---> Running in 95039db23d5f 02:58:36 Removing intermediate container 95039db23d5f 02:58:36 ---> d306b0ed4611 02:58:36 [Warning] One or more build-args [ARCH] were not consumed 02:58:36 Successfully built d306b0ed4611 02:58:36 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 02:58:36 provisioning config files... 02:58:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/105@tmp/config13068307799089596672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:36 ---> docker-login.sh 02:58:36 nexus3.edgexfoundry.org:10001 02:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:37 Configure a credential helper to remove this warning. See 02:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:37 02:58:37 Login Succeeded 02:58:37 nexus3.edgexfoundry.org:10002 02:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:37 Configure a credential helper to remove this warning. See 02:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:37 02:58:37 Login Succeeded 02:58:37 nexus3.edgexfoundry.org:10003 02:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:37 Configure a credential helper to remove this warning. See 02:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:37 02:58:37 Login Succeeded 02:58:37 nexus3.edgexfoundry.org:10004 02:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:38 Configure a credential helper to remove this warning. See 02:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:38 02:58:38 Login Succeeded 02:58:38 docker.io 02:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:38 Configure a credential helper to remove this warning. See 02:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:38 02:58:38 Login Succeeded 02:58:38 ---> docker-login.sh ends [Pipeline] } 02:58:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:58:38 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:58:38 5d36472c489360535a63323b7f6c17c4ae0cfc32 02:58:38 latest 02:58:38 3.0.0-dev.21 02:58:38 5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21 02:58:38 main 02:58:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d36472c489360535a63323b7f6c17c4ae0cfc32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d36472c489360535a63323b7f6c17c4ae0cfc32 02:58:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:39 75612b023ef5: Preparing 02:58:39 347e402823f8: Preparing 02:58:39 74dfe3801c60: Preparing 02:58:39 36e902a13598: Preparing 02:58:39 26cbea5cba74: Preparing 02:58:40 26cbea5cba74: Layer already exists 02:58:40 75612b023ef5: Pushed 02:58:40 36e902a13598: Pushed 02:58:40 347e402823f8: Pushed 02:58:45 74dfe3801c60: Pushed 02:58:45 5d36472c489360535a63323b7f6c17c4ae0cfc32: digest: sha256:c4746197744d39d887a0111b0caf3c6596222aabb8e709e082864e9560ab1954 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:58:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:46 75612b023ef5: Preparing 02:58:46 347e402823f8: Preparing 02:58:46 74dfe3801c60: Preparing 02:58:46 36e902a13598: Preparing 02:58:46 26cbea5cba74: Preparing 02:58:46 26cbea5cba74: Layer already exists 02:58:46 347e402823f8: Layer already exists 02:58:46 74dfe3801c60: Layer already exists 02:58:46 75612b023ef5: Layer already exists 02:58:46 36e902a13598: Layer already exists 02:58:46 latest: digest: sha256:c4746197744d39d887a0111b0caf3c6596222aabb8e709e082864e9560ab1954 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.21 02:58:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:47 75612b023ef5: Preparing 02:58:47 347e402823f8: Preparing 02:58:47 74dfe3801c60: Preparing 02:58:47 36e902a13598: Preparing 02:58:47 26cbea5cba74: Preparing 02:58:47 75612b023ef5: Layer already exists 02:58:47 36e902a13598: Layer already exists 02:58:47 74dfe3801c60: Layer already exists 02:58:47 347e402823f8: Layer already exists 02:58:47 26cbea5cba74: Layer already exists 02:58:47 3.0.0-dev.21: digest: sha256:c4746197744d39d887a0111b0caf3c6596222aabb8e709e082864e9560ab1954 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21 02:58:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:48 75612b023ef5: Preparing 02:58:48 347e402823f8: Preparing 02:58:48 74dfe3801c60: Preparing 02:58:48 36e902a13598: Preparing 02:58:48 26cbea5cba74: Preparing 02:58:48 36e902a13598: Layer already exists 02:58:48 75612b023ef5: Layer already exists 02:58:48 74dfe3801c60: Layer already exists 02:58:48 26cbea5cba74: Layer already exists 02:58:48 347e402823f8: Layer already exists 02:58:48 5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21: digest: sha256:c4746197744d39d887a0111b0caf3c6596222aabb8e709e082864e9560ab1954 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:58:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:58:49 75612b023ef5: Preparing 02:58:49 347e402823f8: Preparing 02:58:49 74dfe3801c60: Preparing 02:58:49 36e902a13598: Preparing 02:58:49 26cbea5cba74: Preparing 02:58:49 74dfe3801c60: Layer already exists 02:58:49 26cbea5cba74: Layer already exists 02:58:49 75612b023ef5: Layer already exists 02:58:49 347e402823f8: Layer already exists 02:58:49 36e902a13598: Layer already exists 02:58:49 main: digest: sha256:c4746197744d39d887a0111b0caf3c6596222aabb8e709e082864e9560ab1954 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:49 ===================================================== [Pipeline] echo 02:58:49 taggedImages: 02:58:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d36472c489360535a63323b7f6c17c4ae0cfc32 02:58:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:58:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.21 02:58:49 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5d36472c489360535a63323b7f6c17c4ae0cfc32-3.0.0-dev.21 02:58:49 - 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 02:58:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:49 02:58:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:50 arm64: Pulling from edgex-lftools-log-publisher 02:58:50 8998bd30e6a1: Pulling fs layer 02:58:50 04944245beec: Pulling fs layer 02:58:50 699f458cf7ca: Pulling fs layer 02:58:50 765212b225bb: Pulling fs layer 02:58:50 f23df028b6ca: Pulling fs layer 02:58:50 d65c8cfc05b1: Pulling fs layer 02:58:50 2437ff75d9bd: Pulling fs layer 02:58:50 f23df028b6ca: Waiting 02:58:50 d65c8cfc05b1: Waiting 02:58:50 2437ff75d9bd: Waiting 02:58:50 765212b225bb: Waiting 02:58:50 04944245beec: Verifying Checksum 02:58:50 04944245beec: Download complete 02:58:50 765212b225bb: Verifying Checksum 02:58:50 765212b225bb: Download complete 02:58:50 f23df028b6ca: Download complete 02:58:50 d65c8cfc05b1: Verifying Checksum 02:58:50 d65c8cfc05b1: Download complete 02:58:50 699f458cf7ca: Verifying Checksum 02:58:50 699f458cf7ca: Download complete 02:58:51 8998bd30e6a1: Verifying Checksum 02:58:51 8998bd30e6a1: Download complete 02:58:54 2437ff75d9bd: Verifying Checksum 02:58:54 2437ff75d9bd: Download complete 02:58:55 8998bd30e6a1: Pull complete 02:58:55 04944245beec: Pull complete 02:58:57 699f458cf7ca: Pull complete 02:58:57 765212b225bb: Pull complete 02:58:58 f23df028b6ca: Pull complete 02:58:58 d65c8cfc05b1: Pull complete 02:59:13 2437ff75d9bd: Pull complete 02:59:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:59:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:13 prd-ubuntu20.04-docker-arm64-4c-16g-9040 does not seem to be running inside a container 02:59:13 $ 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/105 -v /w/workspace/device-mqtt-go/105:/w/workspace/device-mqtt-go/105:rw,z -v /w/workspace/device-mqtt-go/105@tmp:/w/workspace/device-mqtt-go/105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:59:16 $ docker top d73e85a670afbc36631eb40e0ad1852c68f5a9e611897770375250ecedb3c297 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:59:17 ---> job-cost.sh 02:59:17 lf-activate-venv: SKIPPING 02:59:17 INFO: No Stack... 02:59:17 INFO: Retrieving Pricing Info for: v3-standard-4 02:59:18 INFO: Archiving Costs [Pipeline] sh 02:59:19 + cat /w/workspace/device-mqtt-go/105/archives/cost.csv 02:59:19 + cut -d, -f6 [Pipeline] lock 02:59:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-105-stack-cost] 02:59:19 Resource [jenkins-edgexfoundry-device-mqtt-go-main-105-stack-cost] did not exist. Created. 02:59:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:59:19 /w/workspace/device-mqtt-go/105@tmp/durable-c7105f9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:59:20 + echo total: 0.10999999940395355 [Pipeline] stash 02:59:20 Warning: overwriting stash ‘stack-cost’ 02:59:20 Stashed 1 file(s) [Pipeline] } 02:59:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } 02:59:20 $ docker stop --time=1 d73e85a670afbc36631eb40e0ad1852c68f5a9e611897770375250ecedb3c297 02:59:21 $ docker rm -f --volumes d73e85a670afbc36631eb40e0ad1852c68f5a9e611897770375250ecedb3c297 [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 02:59:22 provisioning config files... 02:59:22 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10859556807926961562tmp [Pipeline] { [Pipeline] sh 02:59:22 + set +x 02:59:22 + curl -s https://codecov.io/bash 02:59:22 + bash -s -- 02:59:22 02:59:22 _____ _ 02:59:22 / ____| | | 02:59:22 | | ___ __| | ___ ___ _____ __ 02:59:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:59:22 | |___| (_) | (_| | __/ (_| (_) \ V / 02:59:22 \_____\___/ \__,_|\___|\___\___/ \_/ 02:59:22 Bash-1.0.6 02:59:22 02:59:22 02:59:22 ==> git version 2.25.1 found 02:59:22 ==> 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 02:59:22 Release-Date: 2020-01-08 02:59:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:59:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:59:22 ==> Jenkins CI detected. 02:59:22 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:59:22 project root: . 02:59:22 --> token set from env 02:59:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:59:22 ==> Running gcov in . (disable via -X gcov) 02:59:22 ==> Python coveragepy not found 02:59:22 ==> Searching for coverage reports in: 02:59:22 + . 02:59:22 -> Found 1 reports 02:59:22 ==> Detecting git/mercurial file structure 02:59:23 ==> Reading reports 02:59:23 + ./coverage.out bytes=18460 02:59:23 ==> Appending adjustments 02:59:23 https://docs.codecov.io/docs/fixing-reports 02:59:23 + Found adjustments 02:59:23 ==> Gzipping contents 02:59:23 4.0K /tmp/codecov.HGbZEL.gz 02:59:23 ==> Uploading reports 02:59:23 url: https://codecov.io 02:59:23 query: branch=main&commit=5d36472c489360535a63323b7f6c17c4ae0cfc32&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:59:23 -> Pinging Codecov 02:59:23 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=5d36472c489360535a63323b7f6c17c4ae0cfc32&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:59:23 -> Uploading to 02:59:23 https://storage.googleapis.com/codecov/v4/raw/2023-04-19/7D719EC7BBE17E464838252E33014C33/5d36472c489360535a63323b7f6c17c4ae0cfc32/d048ece3-dffc-4c72-94a5-f6649b68e62c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T025923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=462681ff0685a87cfcb6798b3248e14d3b69f984b23509e7b1ce83f0da53fdc6 02:59:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:59:23 Dload Upload Total Spent Left Speed 02:59:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 15674 --:--:-- --:--:-- --:--:-- 15598 100 3182 0 0 100 3182 0 14869 --:--:-- --:--:-- --:--:-- 14800 02:59:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/5d36472c489360535a63323b7f6c17c4ae0cfc32 [Pipeline] } 02:59:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:59:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:59:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:59:24 02:59:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:59:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:59:24 df9b9388f04a: Pulling fs layer 02:59:24 52dc419b0ee2: Pulling fs layer 02:59:24 25bc292e5bac: Pulling fs layer 02:59:24 114826534d7a: Pulling fs layer 02:59:24 4657fd5d0bcf: Pulling fs layer 02:59:24 114826534d7a: Waiting 02:59:24 6ad1cebc031e: Pulling fs layer 02:59:24 8a3aa393b2d8: Pulling fs layer 02:59:24 6ad1cebc031e: Waiting 02:59:24 4657fd5d0bcf: Waiting 02:59:24 25bc292e5bac: Verifying Checksum 02:59:24 25bc292e5bac: Download complete 02:59:24 52dc419b0ee2: Verifying Checksum 02:59:24 52dc419b0ee2: Download complete 02:59:24 4657fd5d0bcf: Verifying Checksum 02:59:24 4657fd5d0bcf: Download complete 02:59:24 df9b9388f04a: Verifying Checksum 02:59:24 df9b9388f04a: Download complete 02:59:24 df9b9388f04a: Pull complete 02:59:25 52dc419b0ee2: Pull complete 02:59:25 25bc292e5bac: Pull complete 02:59:25 6ad1cebc031e: Verifying Checksum 02:59:25 6ad1cebc031e: Download complete 02:59:26 114826534d7a: Verifying Checksum 02:59:26 114826534d7a: Download complete 02:59:27 8a3aa393b2d8: Verifying Checksum 02:59:27 8a3aa393b2d8: Download complete 02:59:30 114826534d7a: Pull complete 02:59:30 4657fd5d0bcf: Pull complete 02:59:30 6ad1cebc031e: Pull complete 02:59:32 8a3aa393b2d8: Pull complete 02:59:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:59:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:59:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:33 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 02:59:33 $ 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 02:59:42 $ docker top e564438f197c1199af279af853bde699e0c19e22b0c63cfa9ba1bcf29542a3d7 -eo pid,comm [Pipeline] { [Pipeline] echo 02:59:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:59:42 + set -o pipefail 02:59:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:59:47 02:59:47 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:59:47 02:59:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/021f98d7-de23-49c3-aad7-ee6632d0201c 02:59:47 02:59:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:59:47 02:59:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:59:47 02:59:48 02:59:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:59:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:59:48 More details here: https://snyk.co/ue1NS [Pipeline] } 02:59:48 $ docker stop --time=1 e564438f197c1199af279af853bde699e0c19e22b0c63cfa9ba1bcf29542a3d7 02:59:53 $ docker rm -f --volumes e564438f197c1199af279af853bde699e0c19e22b0c63cfa9ba1bcf29542a3d7 [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 02:59:54 + git log --format=format:%s -1 5d36472c489360535a63323b7f6c17c4ae0cfc32 [Pipeline] sh 02:59:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:59:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:59:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:55 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 02:59:55 $ 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 02:59:55 $ docker top aaec5a10edd90fbded59fa6ac142da51ca787f71b75fbe3ac2cd9ae13a9b7de1 -eo pid,comm 02:59:55 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). 02:59:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:59:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:59:55 [ssh-agent] Looking for ssh-agent implementation... 02:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:59:56 $ docker exec aaec5a10edd90fbded59fa6ac142da51ca787f71b75fbe3ac2cd9ae13a9b7de1 ssh-agent 02:59:56 SSH_AUTH_SOCK=/tmp/ssh-X57tDkFupTbZ/agent.32 02:59:56 SSH_AGENT_PID=38 02:59:56 Running ssh-add (command line suppressed) 02:59:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1744943667319999322.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1744943667319999322.key) 02:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:59:56 + git semver tag 02:59:56 2023-04-19 02:59:56,753 [run_tag] DEBUG tag force:False 02:59:56 2023-04-19 02:59:56,753 [check_head_tag] DEBUG check head tag 02:59:56 2023-04-19 02:59:56,755 [execute] INFO git cat-file --batch-check 02:59:56 2023-04-19 02:59:56,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:59:56 2023-04-19 02:59:56,760 [execute] INFO git cat-file --batch 02:59:56 2023-04-19 02:59:56,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:59:57 2023-04-19 02:59:56,785 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:57 2023-04-19 02:59:56,786 [execute] INFO git tag -a v3.0.0-dev.21 -m v3.0.0-dev.21 02:59:57 2023-04-19 02:59:56,786 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.21', '-m', 'v3.0.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:59:57 2023-04-19 02:59:56,791 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:57 3.0.0-dev.21 [Pipeline] } 02:59:57 $ docker exec --env ******** --env ******** aaec5a10edd90fbded59fa6ac142da51ca787f71b75fbe3ac2cd9ae13a9b7de1 ssh-agent -k 02:59:57 unset SSH_AUTH_SOCK; 02:59:57 unset SSH_AGENT_PID; 02:59:57 echo Agent pid 38 killed; 02:59:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:59:57 + git semver [Pipeline] } 02:59:57 $ docker stop --time=1 aaec5a10edd90fbded59fa6ac142da51ca787f71b75fbe3ac2cd9ae13a9b7de1 02:59:59 $ docker rm -f --volumes aaec5a10edd90fbded59fa6ac142da51ca787f71b75fbe3ac2cd9ae13a9b7de1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:59:59 02:59:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:59:59 0.23.1-centos7: Pulling from edgex-lftools 02:59:59 ab5ef0e58194: Pulling fs layer 02:59:59 9712f1f96733: Pulling fs layer 02:59:59 63f879dbbcfc: Pulling fs layer 02:59:59 0d9ebad4ef96: Pulling fs layer 02:59:59 e9a5061849ea: Pulling fs layer 02:59:59 d747dcd14b5f: Pulling fs layer 02:59:59 2de7ff778b66: Pulling fs layer 02:59:59 e9a5061849ea: Waiting 02:59:59 d747dcd14b5f: Waiting 02:59:59 2de7ff778b66: Waiting 02:59:59 9712f1f96733: Verifying Checksum 02:59:59 9712f1f96733: Download complete 02:59:59 63f879dbbcfc: Verifying Checksum 02:59:59 63f879dbbcfc: Download complete 03:00:00 0d9ebad4ef96: Download complete 03:00:00 d747dcd14b5f: Verifying Checksum 03:00:00 d747dcd14b5f: Download complete 03:00:00 e9a5061849ea: Verifying Checksum 03:00:00 ab5ef0e58194: Verifying Checksum 03:00:00 ab5ef0e58194: Download complete 03:00:00 2de7ff778b66: Verifying Checksum 03:00:00 2de7ff778b66: Download complete 03:00:03 ab5ef0e58194: Pull complete 03:00:03 9712f1f96733: Pull complete 03:00:03 63f879dbbcfc: Pull complete 03:00:08 0d9ebad4ef96: Pull complete 03:00:08 e9a5061849ea: Pull complete 03:00:08 d747dcd14b5f: Pull complete 03:00:08 2de7ff778b66: Pull complete 03:00:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:00:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:00:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:08 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 03:00:08 $ 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 03:00:19 $ docker top 8ca336096bfb547c56193eda9802a104f6186d7bd7a9ff3dd6671fafc5c19524 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:00:19 provisioning config files... 03:00:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9017087725004882120tmp 03:00:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13709014109394840436tmp 03:00:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17773201512776080543tmp [Pipeline] { [Pipeline] echo 03:00:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:00:20 ---> sigul-configuration.sh 03:00:20 gpg: directory `/root/.gnupg' created 03:00:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:00:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:00:20 gpg: keyring `/root/.gnupg/secring.gpg' created 03:00:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:00:20 gpg: CAST5 encrypted data 03:00:20 gpg: encrypted with 1 passphrase 03:00:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:00:20 + mkdir /home/jenkins 03:00:20 + mkdir /home/jenkins/sigul [Pipeline] sh 03:00:20 + 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 03:00:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:00:21 ---> sigul-install.sh 03:00:21 Sigul already installed; skipping installation. [Pipeline] sh 03:00:21 + git tag --list 03:00:21 0.7.1 03:00:21 v1.0.0 03:00:21 v1.1.0 03:00:21 v1.1.1 03:00:21 v1.2.2 03:00:21 v1.3.0 03:00:21 v1.3.1 03:00:21 v2.0.0 03:00:21 v2.1.0 03:00:21 v2.1.1 03:00:21 v2.1.1-dev.1 03:00:21 v2.1.1-dev.2 03:00:21 v2.2.0 03:00:21 v2.2.1-dev.1 03:00:21 v2.2.1-dev.10 03:00:21 v2.2.1-dev.2 03:00:21 v2.2.1-dev.3 03:00:21 v2.2.1-dev.4 03:00:21 v2.2.1-dev.5 03:00:21 v2.2.1-dev.6 03:00:21 v2.2.1-dev.7 03:00:21 v2.2.1-dev.8 03:00:21 v2.2.1-dev.9 03:00:21 v2.3.0 03:00:21 v2.3.0-dev.10 03:00:21 v2.3.0-dev.11 03:00:21 v2.3.0-dev.12 03:00:21 v2.3.0-dev.13 03:00:21 v2.3.0-dev.14 03:00:21 v2.3.0-dev.15 03:00:21 v2.3.0-dev.16 03:00:21 v2.3.0-dev.17 03:00:21 v2.3.0-dev.18 03:00:21 v2.3.0-dev.19 03:00:21 v2.3.0-dev.20 03:00:21 v2.3.0-dev.21 03:00:21 v2.3.0-dev.22 03:00:21 v2.3.0-dev.23 03:00:21 v2.3.0-dev.24 03:00:21 v2.3.0-dev.25 03:00:21 v2.3.0-dev.26 03:00:21 v2.3.0-dev.27 03:00:21 v2.3.0-dev.28 03:00:21 v2.3.0-dev.29 03:00:21 v2.3.0-dev.30 03:00:21 v2.3.0-dev.31 03:00:21 v2.3.0-dev.32 03:00:21 v2.3.0-dev.33 03:00:21 v2.3.0-dev.34 03:00:21 v3.0.0-dev.1 03:00:21 v3.0.0-dev.10 03:00:21 v3.0.0-dev.11 03:00:21 v3.0.0-dev.12 03:00:21 v3.0.0-dev.13 03:00:21 v3.0.0-dev.14 03:00:21 v3.0.0-dev.15 03:00:21 v3.0.0-dev.16 03:00:21 v3.0.0-dev.17 03:00:21 v3.0.0-dev.18 03:00:21 v3.0.0-dev.19 03:00:21 v3.0.0-dev.2 03:00:21 v3.0.0-dev.20 03:00:21 v3.0.0-dev.21 03:00:21 v3.0.0-dev.3 03:00:21 v3.0.0-dev.4 03:00:21 v3.0.0-dev.5 03:00:21 v3.0.0-dev.6 03:00:21 v3.0.0-dev.7 03:00:21 v3.0.0-dev.8 03:00:21 v3.0.0-dev.9 [Pipeline] sh 03:00:21 + lftools sign git-tag v3.0.0-dev.21 03:00:22 Signing Git tag with Sigul... 03:00:22 Signing v3.0.0-dev.21 [Pipeline] echo 03:00:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:00:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:00:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:00:22 $ docker stop --time=1 8ca336096bfb547c56193eda9802a104f6186d7bd7a9ff3dd6671fafc5c19524 03:00:24 $ docker rm -f --volumes 8ca336096bfb547c56193eda9802a104f6186d7bd7a9ff3dd6671fafc5c19524 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:00:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:25 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 03:00:25 $ 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 03:00:25 $ docker top a8f1bb6377eecea503a863f785cc629bf45b082b1aadc31853cafc2f94f8f41a -eo pid,comm 03:00:25 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). 03:00:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:25 [ssh-agent] Looking for ssh-agent implementation... 03:00:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:25 $ docker exec a8f1bb6377eecea503a863f785cc629bf45b082b1aadc31853cafc2f94f8f41a ssh-agent 03:00:25 SSH_AUTH_SOCK=/tmp/ssh-48EnLabX4fwR/agent.31 03:00:25 SSH_AGENT_PID=37 03:00:25 Running ssh-add (command line suppressed) 03:00:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_801011390410627048.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_801011390410627048.key) 03:00:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:26 + git semver bump pre 03:00:26 2023-04-19 03:00:26,387 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:26 2023-04-19 03:00:26,387 [bump_version] DEBUG bumping version:3.0.0-dev.21 on axis:pre with prefix:dev 03:00:26 2023-04-19 03:00:26,388 [bump_version] DEBUG bumped version:3.0.0-dev.22 03:00:26 2023-04-19 03:00:26,388 [write_version] DEBUG write version:3.0.0-dev.22 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 03:00:26 2023-04-19 03:00:26,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:26 2023-04-19 03:00:26,388 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:26 2023-04-19 03:00:26,392 [execute] INFO git cat-file --batch-check 03:00:26 2023-04-19 03:00:26,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:26 2023-04-19 03:00:26,400 [execute] INFO git cat-file --batch 03:00:26 2023-04-19 03:00:26,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:26 2023-04-19 03:00:26,406 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:26 3.0.0-dev.22 [Pipeline] } 03:00:26 $ docker exec --env ******** --env ******** a8f1bb6377eecea503a863f785cc629bf45b082b1aadc31853cafc2f94f8f41a ssh-agent -k 03:00:26 unset SSH_AUTH_SOCK; 03:00:26 unset SSH_AGENT_PID; 03:00:26 echo Agent pid 37 killed; 03:00:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:26 + git semver [Pipeline] } 03:00:27 $ docker stop --time=1 a8f1bb6377eecea503a863f785cc629bf45b082b1aadc31853cafc2f94f8f41a 03:00:28 $ docker rm -f --volumes a8f1bb6377eecea503a863f785cc629bf45b082b1aadc31853cafc2f94f8f41a [Pipeline] // withDockerContainer [Pipeline] sh 03:00:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:29 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 03:00:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:00:29 $ docker top 37067fb6d94823d83c8c37b428f5e67955e49526fe77c1c69e0dfac1dc2296a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:29 [ssh-agent] Looking for ssh-agent implementation... 03:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:30 $ docker exec 37067fb6d94823d83c8c37b428f5e67955e49526fe77c1c69e0dfac1dc2296a3 ssh-agent 03:00:30 SSH_AUTH_SOCK=/tmp/ssh-yB7bweDz6kMF/agent.32 03:00:30 SSH_AGENT_PID=38 03:00:30 Running ssh-add (command line suppressed) 03:00:30 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10922721833274242442.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10922721833274242442.key) 03:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:30 + git semver push 03:00:30 2023-04-19 03:00:30,786 [run_push] DEBUG push 03:00:30 2023-04-19 03:00:30,786 [execute] INFO git cat-file --batch-check 03:00:30 2023-04-19 03:00:30,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:30 2023-04-19 03:00:30,792 [execute] INFO git rev-list dc3b30407ab38a599994f816b7c736ea38f2aa67 -- 03:00:30 2023-04-19 03:00:30,792 [execute] DEBUG Popen(['git', 'rev-list', 'dc3b30407ab38a599994f816b7c736ea38f2aa67', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:00:30 2023-04-19 03:00:30,801 [execute] INFO git fetch -v origin 03:00:30 2023-04-19 03:00:30,801 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:00:31 2023-04-19 03:00:31,271 [run_push] DEBUG no remote changes detected 03:00:31 2023-04-19 03:00:31,272 [execute] INFO git push origin semver 03:00:31 2023-04-19 03:00:31,272 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:00:32 2023-04-19 03:00:32,030 [run_push] DEBUG push all version tags 03:00:32 2023-04-19 03:00:32,030 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:00:32 2023-04-19 03:00:32,031 [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) 03:00:32 2023-04-19 03:00:32,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:00:32 3.0.0-dev.22 [Pipeline] } 03:00:32 $ docker exec --env ******** --env ******** 37067fb6d94823d83c8c37b428f5e67955e49526fe77c1c69e0dfac1dc2296a3 ssh-agent -k 03:00:33 unset SSH_AUTH_SOCK; 03:00:33 unset SSH_AGENT_PID; 03:00:33 echo Agent pid 38 killed; 03:00:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:33 + git semver [Pipeline] } 03:00:33 $ docker stop --time=1 37067fb6d94823d83c8c37b428f5e67955e49526fe77c1c69e0dfac1dc2296a3 03:00:35 $ docker rm -f --volumes 37067fb6d94823d83c8c37b428f5e67955e49526fe77c1c69e0dfac1dc2296a3 [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 03:00:35 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:00:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:00:35 total 16 03:00:35 drwxr-xr-x 3 root root 4096 Apr 19 02:49 . 03:00:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 03:00 .. 03:00:35 drwxr-xr-x 2 root root 4096 Apr 19 02:49 cost 03:00:35 -rw-r--r-- 1 root root 86 Apr 19 02:49 cost.csv 03:00:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:00:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:00:35 total 16 03:00:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:49 . 03:00:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 03:00 .. 03:00:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 02:49 cost 03:00:35 -rw-r--r-- 1 jenkins jenkins 86 Apr 19 02:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:00:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:00:37 ---> package-listing.sh 03:00:37 ++ facter osfamily 03:00:37 ++ tr '[:upper:]' '[:lower:]' 03:00:37 + OS_FAMILY=debian 03:00:37 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:00:37 + START_PACKAGES=/tmp/packages_start.txt 03:00:37 + END_PACKAGES=/tmp/packages_end.txt 03:00:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:00:37 + PACKAGES=/tmp/packages_start.txt 03:00:37 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:00:37 + PACKAGES=/tmp/packages_end.txt 03:00:37 + case "${OS_FAMILY}" in 03:00:37 + dpkg -l 03:00:37 + grep '^ii' 03:00:37 + '[' -f /tmp/packages_start.txt ']' 03:00:37 + '[' -f /tmp/packages_end.txt ']' 03:00:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:00:37 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:00:37 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:00:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:00:37 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 03:00:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:38 prd-ubuntu20.04-docker-8c-8g-9038 does not seem to be running inside a container 03:00:38 $ 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 03:00:38 $ docker top 59de41959e5a1690804f44657f03cb34b191c300c6d416d54839ea1d9fa311a0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:00:39 + touch /tmp/pre-build-complete [Pipeline] sh 03:00:39 + mkdir -p /var/log/sysstat [Pipeline] sh 03:00:39 + ls /var/log/sa-host 03:00:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:39 provisioning config files... 03:00:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2035177819554934805tmp [Pipeline] { [Pipeline] echo 03:00:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:00:40 ---> create-netrc.sh [Pipeline] } 03:00:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:00:40 ---> python-tools-install.sh [Pipeline] echo 03:00:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:00:40 ---> sudo-logs.sh 03:00:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:00:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:00:41 ---> job-cost.sh 03:00:41 lf-activate-venv: SKIPPING 03:00:41 DEBUG: total: 0.2199999988079071 03:00:41 INFO: Retrieving Stack Cost... 03:00:41 INFO: Retrieving Pricing Info for: v3-standard-8 03:00:41 INFO: Archiving Costs [Pipeline] echo 03:00:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:00:42 ---> logs-deploy.sh 03:00:42 lf-activate-venv: SKIPPING 03:00:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/105 03:00:42 INFO: archiving workspace using pattern(s): 03:00:43 Archives upload complete. 03:00:43 INFO: archiving logs to Nexus 03:00:44 ---> uname -a: 03:00:44 Linux prd-ubuntu20-04-docker-8c-8g-9038 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:00:44 03:00:44 03:00:44 ---> lscpu: 03:00:44 Architecture: x86_64 03:00:44 CPU op-mode(s): 32-bit, 64-bit 03:00:44 Byte Order: Little Endian 03:00:44 Address sizes: 40 bits physical, 48 bits virtual 03:00:44 CPU(s): 8 03:00:44 On-line CPU(s) list: 0-7 03:00:44 Thread(s) per core: 1 03:00:44 Core(s) per socket: 1 03:00:44 Socket(s): 8 03:00:44 NUMA node(s): 1 03:00:44 Vendor ID: AuthenticAMD 03:00:44 CPU family: 23 03:00:44 Model: 49 03:00:44 Model name: AMD EPYC-Rome Processor 03:00:44 Stepping: 0 03:00:44 CPU MHz: 2799.940 03:00:44 BogoMIPS: 5599.88 03:00:44 Virtualization: AMD-V 03:00:44 Hypervisor vendor: KVM 03:00:44 Virtualization type: full 03:00:44 L1d cache: 256 KiB 03:00:44 L1i cache: 256 KiB 03:00:44 L2 cache: 4 MiB 03:00:44 L3 cache: 128 MiB 03:00:44 NUMA node0 CPU(s): 0-7 03:00:44 Vulnerability Itlb multihit: Not affected 03:00:44 Vulnerability L1tf: Not affected 03:00:44 Vulnerability Mds: Not affected 03:00:44 Vulnerability Meltdown: Not affected 03:00:44 Vulnerability Mmio stale data: Not affected 03:00:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:00:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:00:44 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:00:44 Vulnerability Srbds: Not affected 03:00:44 Vulnerability Tsx async abort: Not affected 03:00:44 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 03:00:44 03:00:44 03:00:44 ---> nproc: 03:00:44 8 03:00:44 03:00:44 03:00:44 ---> df -h: 03:00:44 Filesystem Size Used Avail Use% Mounted on 03:00:44 overlay 155G 13G 143G 9% / 03:00:44 tmpfs 64M 0 64M 0% /dev 03:00:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:00:44 shm 64M 0 64M 0% /dev/shm 03:00:44 /dev/vda1 155G 13G 143G 9% /facter-os 03:00:44 03:00:44