Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 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-ssh3515890424066330659.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-ssh11027364759864936504.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-ssh10195906942841435384.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-ssh14749740076235574505.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-ssh15852087556031414204.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-8417 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 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 (main) Commit message: "Merge pull request #561 from weichou1229/interface-change" > 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 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 > git rev-list --no-walk bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:19:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:19:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:19:27 ========================================================= 07:19:27 EdgeX Global Pipelines Version Info 07:19:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:19:28 ------------------- 07:19:28 stable info: 07:19:28 ------------------- 07:19:28 Commited By: Bill Mahoney bill.mahoney@intel.com 07:19:28 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:19:28 Message: update stable to v1.0.248 07:19:28 ------------------- 07:19:28 experimental info: 07:19:28 ------------------- 07:19:28 Commited By: **** collab-it+edgex@linuxfoundation.org 07:19:28 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:19:28 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:19:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6aa7ac0 [Pipeline] echo 07:19:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:29 provisioning config files... 07:19:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11284426731574285523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:29 ---> docker-login.sh 07:19:29 nexus3.edgexfoundry.org:10001 07:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:29 Configure a credential helper to remove this warning. See 07:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:29 07:19:29 Login Succeeded 07:19:29 nexus3.edgexfoundry.org:10002 07:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:29 Configure a credential helper to remove this warning. See 07:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:29 07:19:29 Login Succeeded 07:19:29 nexus3.edgexfoundry.org:10003 07:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:30 Configure a credential helper to remove this warning. See 07:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:30 07:19:30 Login Succeeded 07:19:30 nexus3.edgexfoundry.org:10004 07:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:30 Configure a credential helper to remove this warning. See 07:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:30 07:19:30 Login Succeeded 07:19:30 docker.io 07:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:30 Configure a credential helper to remove this warning. See 07:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:30 07:19:30 Login Succeeded 07:19:30 ---> docker-login.sh ends [Pipeline] } 07:19:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:19:30 + git rev-list -1 --merges 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9~1..6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [Pipeline] echo 07:19:30 -----------> git rev-list -1 --merges 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9~1..6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:19:30 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [false] [Pipeline] sh 07:19:31 + git log --format=format:%s -1 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [Pipeline] echo 07:19:31 ========================================================= 07:19:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:19:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:31 + git log --format=format:%s -1 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [Pipeline] echo 07:19:31 [semverPrep] GIT_COMMIT: 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9, Commit Message: Merge pull request #561 from weichou1229/interface-change [Pipeline] echo 07:19:31 [semverPrep] This is not a build commit. [Pipeline] sh 07:19:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:19:31 + grep -v github /etc/ssh/ssh_known_hosts 07:19:31 + [ -e /tmp/ssh_known_hosts ] 07:19:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:19:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:19:31 + sudo tee -a /etc/ssh/ssh_known_hosts 07:19:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:32 07:19:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:32 0.1.4: Pulling from edgex-devops/py-git-semver 07:19:32 b85a868b505f: Pulling fs layer 07:19:32 e2be974225ed: Pulling fs layer 07:19:32 339a4e72a1f5: Pulling fs layer 07:19:32 988bab9f4d93: Pulling fs layer 07:19:32 1469e6f7b9e6: Pulling fs layer 07:19:32 eaf3925da568: Pulling fs layer 07:19:32 bab4dde63d76: Pulling fs layer 07:19:32 bde34c3a00c8: Pulling fs layer 07:19:32 b352a97aabf1: Pulling fs layer 07:19:32 4872d77fe225: Pulling fs layer 07:19:32 5851b861e8e6: Pulling fs layer 07:19:32 bab4dde63d76: Waiting 07:19:32 bde34c3a00c8: Waiting 07:19:32 b352a97aabf1: Waiting 07:19:32 4872d77fe225: Waiting 07:19:32 5851b861e8e6: Waiting 07:19:32 988bab9f4d93: Waiting 07:19:32 1469e6f7b9e6: Waiting 07:19:32 eaf3925da568: Waiting 07:19:32 e2be974225ed: Download complete 07:19:32 988bab9f4d93: Verifying Checksum 07:19:32 988bab9f4d93: Download complete 07:19:32 339a4e72a1f5: Verifying Checksum 07:19:32 339a4e72a1f5: Download complete 07:19:32 1469e6f7b9e6: Verifying Checksum 07:19:32 1469e6f7b9e6: Download complete 07:19:32 eaf3925da568: Verifying Checksum 07:19:32 eaf3925da568: Download complete 07:19:32 bde34c3a00c8: Verifying Checksum 07:19:32 bde34c3a00c8: Download complete 07:19:32 b352a97aabf1: Verifying Checksum 07:19:32 b352a97aabf1: Download complete 07:19:32 4872d77fe225: Download complete 07:19:32 5851b861e8e6: Verifying Checksum 07:19:32 5851b861e8e6: Download complete 07:19:32 b85a868b505f: Verifying Checksum 07:19:32 b85a868b505f: Download complete 07:19:32 bab4dde63d76: Verifying Checksum 07:19:32 bab4dde63d76: Download complete 07:19:33 b85a868b505f: Pull complete 07:19:34 e2be974225ed: Pull complete 07:19:34 339a4e72a1f5: Pull complete 07:19:34 988bab9f4d93: Pull complete 07:19:34 1469e6f7b9e6: Pull complete 07:19:34 eaf3925da568: Pull complete 07:19:36 bab4dde63d76: Pull complete 07:19:36 bde34c3a00c8: Pull complete 07:19:36 b352a97aabf1: Pull complete 07:19:36 4872d77fe225: Pull complete 07:19:37 5851b861e8e6: Pull complete 07:19:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:19:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:19:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:37 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:19:37 $ 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 07:19:38 $ docker top 6505a44ee018f966054d78f66f1d372cbf07c83edb5d9e7f8f77844504e9b942 -eo pid,comm 07:19:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:19:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:19:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:38 [ssh-agent] Looking for ssh-agent implementation... 07:19:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:38 $ docker exec 6505a44ee018f966054d78f66f1d372cbf07c83edb5d9e7f8f77844504e9b942 ssh-agent 07:19:38 SSH_AUTH_SOCK=/tmp/ssh-M7bH5dI4lJl4/agent.33 07:19:38 SSH_AGENT_PID=39 07:19:38 Running ssh-add (command line suppressed) 07:19:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17925378134168355481.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17925378134168355481.key) 07:19:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:39 + git tag --points-at HEAD [Pipeline] } 07:19:39 $ docker exec --env ******** --env ******** 6505a44ee018f966054d78f66f1d372cbf07c83edb5d9e7f8f77844504e9b942 ssh-agent -k 07:19:39 unset SSH_AUTH_SOCK; 07:19:39 unset SSH_AGENT_PID; 07:19:39 echo Agent pid 39 killed; 07:19:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:19:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:39 [ssh-agent] Looking for ssh-agent implementation... 07:19:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:39 $ docker exec 6505a44ee018f966054d78f66f1d372cbf07c83edb5d9e7f8f77844504e9b942 ssh-agent 07:19:39 SSH_AUTH_SOCK=/tmp/ssh-8bwePBMlZp7E/agent.71 07:19:39 SSH_AGENT_PID=77 07:19:39 Running ssh-add (command line suppressed) 07:19:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7284478124655298374.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7284478124655298374.key) 07:19:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:40 + git semver init 07:19:40 2023-04-13 07:19:40,356 [run_init] DEBUG init version:0.0.0 force:False 07:19:40 2023-04-13 07:19:40,357 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:19:40 2023-04-13 07:19:40,357 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:19:40 2023-04-13 07:19:40,357 [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) 07:19:41 2023-04-13 07:19:41,119 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 07:19:41 2023-04-13 07:19:41,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 07:19:41 2023-04-13 07:19:41,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:19:41 2023-04-13 07:19:41,120 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:19:41 3.0.0-dev.18 [Pipeline] } 07:19:41 $ docker exec --env ******** --env ******** 6505a44ee018f966054d78f66f1d372cbf07c83edb5d9e7f8f77844504e9b942 ssh-agent -k 07:19:41 unset SSH_AUTH_SOCK; 07:19:41 unset SSH_AGENT_PID; 07:19:41 echo Agent pid 77 killed; 07:19:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:19:41 + git semver [Pipeline] } 07:19:42 $ docker stop --time=1 6505a44ee018f966054d78f66f1d372cbf07c83edb5d9e7f8f77844504e9b942 07:19:43 $ docker rm -f --volumes 6505a44ee018f966054d78f66f1d372cbf07c83edb5d9e7f8f77844504e9b942 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:19:43 Stashed 1 file(s) [Pipeline] echo 07:19:43 [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [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 07:19:44 provisioning config files... 07:19:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8996435103335708877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:44 ---> docker-login.sh 07:19:44 nexus3.edgexfoundry.org:10001 07:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:44 Configure a credential helper to remove this warning. See 07:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:44 07:19:44 Login Succeeded 07:19:44 nexus3.edgexfoundry.org:10002 07:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:44 Configure a credential helper to remove this warning. See 07:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:44 07:19:44 Login Succeeded 07:19:44 nexus3.edgexfoundry.org:10003 07:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:44 Configure a credential helper to remove this warning. See 07:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:44 07:19:44 Login Succeeded 07:19:44 nexus3.edgexfoundry.org:10004 07:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:44 Configure a credential helper to remove this warning. See 07:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:44 07:19:44 Login Succeeded 07:19:44 docker.io 07:19:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:44 Configure a credential helper to remove this warning. See 07:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:44 07:19:44 Login Succeeded 07:19:44 ---> docker-login.sh ends [Pipeline] } 07:19:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:45 ========================================================= 07:19:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:19:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:45 + 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 . 07:19:45 Sending build context to Docker daemon 6.436MB 07:19:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:19:45 Step 2/12 : FROM ${BASE} AS builder 07:19:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:19:45 63b65145d645: Pulling fs layer 07:19:45 a2d21d5440eb: Pulling fs layer 07:19:45 935e6c44a52c: Pulling fs layer 07:19:45 94cc34f8dd06: Pulling fs layer 07:19:45 30dea6a524f1: Pulling fs layer 07:19:45 94cc34f8dd06: Waiting 07:19:45 a2aff8979fd8: Pulling fs layer 07:19:45 6808be2612f2: Pulling fs layer 07:19:45 30dea6a524f1: Waiting 07:19:45 f25807f1079a: Pulling fs layer 07:19:45 6808be2612f2: Waiting 07:19:45 a2aff8979fd8: Waiting 07:19:45 f25807f1079a: Waiting 07:19:45 a2d21d5440eb: Download complete 07:19:45 94cc34f8dd06: Verifying Checksum 07:19:45 94cc34f8dd06: Download complete 07:19:45 30dea6a524f1: Verifying Checksum 07:19:45 30dea6a524f1: Download complete 07:19:45 63b65145d645: Verifying Checksum 07:19:45 63b65145d645: Download complete 07:19:45 a2aff8979fd8: Verifying Checksum 07:19:45 a2aff8979fd8: Download complete 07:19:45 63b65145d645: Pull complete 07:19:45 a2d21d5440eb: Pull complete 07:19:45 f25807f1079a: Verifying Checksum 07:19:45 f25807f1079a: Download complete 07:19:46 935e6c44a52c: Verifying Checksum 07:19:46 935e6c44a52c: Download complete 07:19:46 6808be2612f2: Download complete 07:19:49 935e6c44a52c: Pull complete 07:19:49 94cc34f8dd06: Pull complete 07:19:49 30dea6a524f1: Pull complete 07:19:49 a2aff8979fd8: Pull complete 07:19:52 6808be2612f2: Pull complete 07:19:53 f25807f1079a: Pull complete 07:19:53 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:19:53 ---> 3b553350e43f 07:19:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:19:54 ---> Running in a538f8ac2d8f 07:19:54 Removing intermediate container a538f8ac2d8f 07:19:54 ---> 354a8d35fbd9 07:19:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:19:54 ---> Running in e77431a707fa 07:19:54 Removing intermediate container e77431a707fa 07:19:54 ---> c1e2a1e25cf7 07:19:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:19:54 ---> Running in 62c7ca1048ca 07:19:54 Removing intermediate container 62c7ca1048ca 07:19:54 ---> 5c51985e0a57 07:19:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:19:54 ---> Running in ca77b76e39b4 07:19:55 Removing intermediate container ca77b76e39b4 07:19:55 ---> 5ae4da89546b 07:19:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:55 ---> Running in e2f0712cc7a4 07:19:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:19:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:19:55 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:19:55 (2/4) Installing libedit (20221030.3.1-r0) 07:19:55 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:19:55 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:19:55 Executing busybox-1.35.0-r29.trigger 07:19:55 OK: 269 MiB in 57 packages 07:19:56 Removing intermediate container e2f0712cc7a4 07:19:56 ---> 2b7ea914a442 07:19:56 Step 8/12 : WORKDIR /device-mqtt-go 07:19:56 ---> Running in d36820d9dd2c 07:19:56 Removing intermediate container d36820d9dd2c 07:19:56 ---> ff2b37ce8290 07:19:56 Step 9/12 : COPY go.mod vendor* ./ 07:19:56 ---> 7182ad4b425c 07:19:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:56 ---> Running in 73fa1a2a7223 07:19:59 Still waiting to schedule task 07:19:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:20:18 Removing intermediate container 73fa1a2a7223 07:20:18 ---> 13dc4703ce96 07:20:18 Step 11/12 : COPY . . 07:20:18 ---> 1485194b67eb 07:20:18 Step 12/12 : RUN $MAKE 07:20:18 ---> Running in 9792f11eee21 07:20:18 noop 07:20:18 Removing intermediate container 9792f11eee21 07:20:18 ---> a1afe4ef283c 07:20:18 Successfully built a1afe4ef283c 07:20:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:18 + docker inspect -f . ci-base-image-x86_64 07:20:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:18 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:20:18 $ 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 07:20:19 $ docker top 1d0b8f1fdbc0470aa6f136649b2ce51d9eb41471db2b9b5f0b7294cf55f2f3aa -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:19 + go version 07:20:19 go version go1.20.2 linux/amd64 [Pipeline] } 07:20:19 $ docker stop --time=1 1d0b8f1fdbc0470aa6f136649b2ce51d9eb41471db2b9b5f0b7294cf55f2f3aa 07:20:20 $ docker rm -f --volumes 1d0b8f1fdbc0470aa6f136649b2ce51d9eb41471db2b9b5f0b7294cf55f2f3aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:21 + docker inspect -f . ci-base-image-x86_64 07:20:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:21 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:20:21 $ 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 07:20:21 $ docker top b6ecf1a03010e257e4a9c359dc7db48fd0f7f9c0c14a19b78dd98afb436fa7c9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 07:20:22 + make test 07:20:22 go test ./... -coverprofile=coverage.out ./... 07:20:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:20:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:20:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:20:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.0% of statements 07:20:42 go vet ./... 07:20:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:20:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:20:46 ./bin/test-attribution-txt.sh 07:20:46 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:20:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:20:46 $ docker stop --time=1 b6ecf1a03010e257e4a9c359dc7db48fd0f7f9c0c14a19b78dd98afb436fa7c9 07:20:48 $ docker rm -f --volumes b6ecf1a03010e257e4a9c359dc7db48fd0f7f9c0c14a19b78dd98afb436fa7c9 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:20:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:49 + ls -al . 07:20:49 total 180 07:20:49 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:20 . 07:20:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:19 .. 07:20:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:19 .dockerignore 07:20:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:19 .git 07:20:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:19 .github 07:20:49 -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 07:19 .gitignore 07:20:49 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:19 .golangci.yml 07:20:49 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:19 .semver 07:20:49 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 13 07:19 Attribution.txt 07:20:49 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 13 07:19 CHANGELOG.md 07:20:49 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 13 07:19 Dockerfile 07:20:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:19 GOVERNANCE.md 07:20:49 -rw-rw-r-- 1 jenkins jenkins 678 Apr 13 07:19 Jenkinsfile 07:20:49 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:19 LICENSE 07:20:49 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 13 07:19 Makefile 07:20:49 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 07:19 OWNERS.md 07:20:49 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 13 07:19 README.md 07:20:49 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:19 VERSION 07:20:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:19 bin 07:20:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:19 cmd 07:20:49 -rw-r--r-- 1 jenkins jenkins 18376 Apr 13 07:20 coverage.out 07:20:49 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 13 07:19 go.mod 07:20:49 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 07:19 go.sum 07:20:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:19 internal 07:20:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:19 mock 07:20:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:19 snap 07:20:49 -rw-rw-r-- 1 jenkins jenkins 227 Apr 13 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:49 + 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=6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 --label arch=amd64 --label version=3.0.0-dev.18 . 07:20:49 Sending build context to Docker daemon 6.455MB 07:20:49 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:20:49 Step 2/24 : FROM ${BASE} AS builder 07:20:49 ---> a1afe4ef283c 07:20:49 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:20:49 ---> Running in d5b253897c82 07:20:49 Removing intermediate container d5b253897c82 07:20:49 ---> d8a8a703794a 07:20:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:49 ---> Running in 555ecaa3c195 07:20:49 Removing intermediate container 555ecaa3c195 07:20:49 ---> 0c4fc5a7aff6 07:20:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:20:49 ---> Running in 8054214bbafe 07:20:50 Removing intermediate container 8054214bbafe 07:20:50 ---> 55d1c90fbccc 07:20:50 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:20:50 ---> Running in cddf53e784da 07:20:50 Removing intermediate container cddf53e784da 07:20:50 ---> 1a401119ae5e 07:20:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:20:50 ---> Running in 178882e2695c 07:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:20:50 OK: 269 MiB in 57 packages 07:20:51 Removing intermediate container 178882e2695c 07:20:51 ---> 8c872bedc500 07:20:51 Step 8/24 : WORKDIR /device-mqtt-go 07:20:51 ---> Running in 0787dbf31891 07:20:51 Removing intermediate container 0787dbf31891 07:20:51 ---> 10f87a4c9caa 07:20:51 Step 9/24 : COPY go.mod vendor* ./ 07:20:51 ---> 0ba86e67afc6 07:20:51 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:51 ---> Running in 4245eb925ca0 07:20:52 Removing intermediate container 4245eb925ca0 07:20:52 ---> 4efd98185f3e 07:20:52 Step 11/24 : COPY . . 07:20:52 ---> c2eaa5570b85 07:20:52 Step 12/24 : RUN $MAKE 07:20:52 ---> Running in 9fb72503bc84 07:20:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:21:11 Removing intermediate container 9fb72503bc84 07:21:11 ---> bbbd4f1905af 07:21:11 Step 13/24 : FROM alpine:3.17 07:21:11 3.17: Pulling from library/alpine 07:21:11 f56be85fc22e: Pulling fs layer 07:21:11 f56be85fc22e: Verifying Checksum 07:21:11 f56be85fc22e: Download complete 07:21:11 f56be85fc22e: Pull complete 07:21:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:21:11 Status: Downloaded newer image for alpine:3.17 07:21:11 ---> 9ed4aefc74f6 07:21:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:21:11 ---> Running in d329b4ec1359 07:21:11 Removing intermediate container d329b4ec1359 07:21:11 ---> c4cf6c463eac 07:21:11 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:21:11 ---> Running in 266c1b68ddfc 07:21:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:21:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:21:11 (1/1) Installing dumb-init (1.2.5-r2) 07:21:11 Executing busybox-1.35.0-r29.trigger 07:21:11 OK: 7 MiB in 16 packages 07:21:11 Removing intermediate container 266c1b68ddfc 07:21:11 ---> a9ae36e809c5 07:21:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:21:11 ---> b539393348de 07:21:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:21:11 ---> d46e686b5a94 07:21:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:21:11 ---> 431f5698c8df 07:21:11 Step 19/24 : EXPOSE 59982 07:21:11 ---> Running in cd2a57ae0adc 07:21:12 Removing intermediate container cd2a57ae0adc 07:21:12 ---> bdfd9cc9b33f 07:21:12 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:21:12 ---> Running in 426bdff05870 07:21:12 Removing intermediate container 426bdff05870 07:21:12 ---> d18b6eb8aaf6 07:21:12 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:21:12 ---> Running in 9568f5654be8 07:21:12 Removing intermediate container 9568f5654be8 07:21:12 ---> 6bf7495b86fd 07:21:12 Step 22/24 : LABEL arch=amd64 07:21:12 ---> Running in 4eb036c38c67 07:21:12 Removing intermediate container 4eb036c38c67 07:21:12 ---> 6946c5fe6666 07:21:12 Step 23/24 : LABEL git_sha=6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:21:12 ---> Running in a14555d7440e 07:21:12 Removing intermediate container a14555d7440e 07:21:12 ---> 68cd34136703 07:21:12 Step 24/24 : LABEL version=3.0.0-dev.18 07:21:12 ---> Running in 12a6cf731370 07:21:12 Removing intermediate container 12a6cf731370 07:21:12 ---> 2958fd68862a 07:21:12 [Warning] One or more build-args [ARCH] were not consumed 07:21:12 Successfully built 2958fd68862a 07:21:12 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:21:12 provisioning config files... 07:21:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14188977053372564485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:12 ---> docker-login.sh 07:21:12 nexus3.edgexfoundry.org:10001 07:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:12 Configure a credential helper to remove this warning. See 07:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:12 07:21:12 Login Succeeded 07:21:12 nexus3.edgexfoundry.org:10002 07:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:12 Configure a credential helper to remove this warning. See 07:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:12 07:21:12 Login Succeeded 07:21:12 nexus3.edgexfoundry.org:10003 07:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:13 Configure a credential helper to remove this warning. See 07:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:13 07:21:13 Login Succeeded 07:21:13 nexus3.edgexfoundry.org:10004 07:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:13 Configure a credential helper to remove this warning. See 07:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:13 07:21:13 Login Succeeded 07:21:13 docker.io 07:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:13 Configure a credential helper to remove this warning. See 07:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:13 07:21:13 Login Succeeded 07:21:13 ---> docker-login.sh ends [Pipeline] } 07:21:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:21:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:21:13 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 07:21:13 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:21:13 latest 07:21:13 3.0.0-dev.18 07:21:13 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18 07:21:13 main 07:21:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:21:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:21:14 193b9d864ea7: Preparing 07:21:14 fcb1d39464e0: Preparing 07:21:14 914676efde46: Preparing 07:21:14 ca164d8f7690: Preparing 07:21:14 f1417ff83b31: Preparing 07:21:14 f1417ff83b31: Layer already exists 07:21:14 193b9d864ea7: Pushed 07:21:14 fcb1d39464e0: Pushed 07:21:14 ca164d8f7690: Pushed 07:21:17 914676efde46: Pushed 07:21:17 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9: digest: sha256:7c972282f0c66aa91bd1c092f8f18d92be770999fdf4d92856a0a61c43d33ed0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:21:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:21:18 193b9d864ea7: Preparing 07:21:18 fcb1d39464e0: Preparing 07:21:18 914676efde46: Preparing 07:21:18 ca164d8f7690: Preparing 07:21:18 f1417ff83b31: Preparing 07:21:18 fcb1d39464e0: Layer already exists 07:21:18 193b9d864ea7: Layer already exists 07:21:18 ca164d8f7690: Layer already exists 07:21:18 f1417ff83b31: Layer already exists 07:21:18 914676efde46: Layer already exists 07:21:18 latest: digest: sha256:7c972282f0c66aa91bd1c092f8f18d92be770999fdf4d92856a0a61c43d33ed0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.18 07:21:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:21:18 193b9d864ea7: Preparing 07:21:18 fcb1d39464e0: Preparing 07:21:18 914676efde46: Preparing 07:21:18 ca164d8f7690: Preparing 07:21:18 f1417ff83b31: Preparing 07:21:18 fcb1d39464e0: Layer already exists 07:21:18 f1417ff83b31: Layer already exists 07:21:18 193b9d864ea7: Layer already exists 07:21:18 ca164d8f7690: Layer already exists 07:21:18 914676efde46: Layer already exists 07:21:18 3.0.0-dev.18: digest: sha256:7c972282f0c66aa91bd1c092f8f18d92be770999fdf4d92856a0a61c43d33ed0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18 07:21:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:21:19 193b9d864ea7: Preparing 07:21:19 fcb1d39464e0: Preparing 07:21:19 914676efde46: Preparing 07:21:19 ca164d8f7690: Preparing 07:21:19 f1417ff83b31: Preparing 07:21:19 fcb1d39464e0: Layer already exists 07:21:19 ca164d8f7690: Layer already exists 07:21:19 914676efde46: Layer already exists 07:21:19 193b9d864ea7: Layer already exists 07:21:19 f1417ff83b31: Layer already exists 07:21:19 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18: digest: sha256:7c972282f0c66aa91bd1c092f8f18d92be770999fdf4d92856a0a61c43d33ed0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 07:21:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:21:20 193b9d864ea7: Preparing 07:21:20 fcb1d39464e0: Preparing 07:21:20 914676efde46: Preparing 07:21:20 ca164d8f7690: Preparing 07:21:20 f1417ff83b31: Preparing 07:21:20 f1417ff83b31: Layer already exists 07:21:20 193b9d864ea7: Layer already exists 07:21:20 ca164d8f7690: Layer already exists 07:21:20 914676efde46: Layer already exists 07:21:20 fcb1d39464e0: Layer already exists 07:21:20 main: digest: sha256:7c972282f0c66aa91bd1c092f8f18d92be770999fdf4d92856a0a61c43d33ed0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:21:20 ===================================================== [Pipeline] echo 07:21:20 taggedImages: 07:21:20 - nexus3.edgexfoundry.org:10004/device-mqtt:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:21:20 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:21:20 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.18 07:21:20 - nexus3.edgexfoundry.org:10004/device-mqtt:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18 07:21:20 - 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 07:21:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:20 07:21:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:20 latest: Pulling from edgex-lftools-log-publisher 07:21:20 5eb5b503b376: Pulling fs layer 07:21:20 5c69ac0246d0: Pulling fs layer 07:21:20 ec43610c2a17: Pulling fs layer 07:21:20 3a2ae6a8a46f: Pulling fs layer 07:21:20 33b1e0a273af: Pulling fs layer 07:21:20 5d3b04190fa2: Pulling fs layer 07:21:20 2f39f015ded8: Pulling fs layer 07:21:20 3a2ae6a8a46f: Waiting 07:21:20 33b1e0a273af: Waiting 07:21:20 5d3b04190fa2: Waiting 07:21:20 2f39f015ded8: Waiting 07:21:20 5c69ac0246d0: Verifying Checksum 07:21:20 5c69ac0246d0: Download complete 07:21:20 3a2ae6a8a46f: Verifying Checksum 07:21:20 3a2ae6a8a46f: Download complete 07:21:20 33b1e0a273af: Verifying Checksum 07:21:20 33b1e0a273af: Download complete 07:21:20 5d3b04190fa2: Download complete 07:21:20 ec43610c2a17: Verifying Checksum 07:21:20 ec43610c2a17: Download complete 07:21:21 5eb5b503b376: Verifying Checksum 07:21:21 5eb5b503b376: Download complete 07:21:21 2f39f015ded8: Download complete 07:21:22 5eb5b503b376: Pull complete 07:21:22 5c69ac0246d0: Pull complete 07:21:22 ec43610c2a17: Pull complete 07:21:22 3a2ae6a8a46f: Pull complete 07:21:22 33b1e0a273af: Pull complete 07:21:22 5d3b04190fa2: Pull complete 07:21:26 2f39f015ded8: Pull complete 07:21:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:21:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:21:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:26 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:21:26 $ 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 07:21:28 $ docker top 5b3c8f1667b359df6ce6b02f5539b77c573581751a3595fc3bab82ed90c09c7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:28 ---> job-cost.sh 07:21:28 lf-activate-venv: SKIPPING 07:21:28 INFO: No Stack... 07:21:29 INFO: Retrieving Pricing Info for: v3-standard-8 07:21:29 INFO: Archiving Costs [Pipeline] sh 07:21:29 + cat+ cut -d, -f6 07:21:29 /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [Pipeline] lock 07:21:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-102-stack-cost] 07:21:29 Resource [jenkins-edgexfoundry-device-mqtt-go-main-102-stack-cost] did not exist. Created. 07:21:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:21:30 + echo total: 0.2199999988079071 [Pipeline] stash 07:21:30 Stashed 1 file(s) [Pipeline] } 07:21:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 07:21:30 $ docker stop --time=1 5b3c8f1667b359df6ce6b02f5539b77c573581751a3595fc3bab82ed90c09c7e 07:21:31 $ docker rm -f --volumes 5b3c8f1667b359df6ce6b02f5539b77c573581751a3595fc3bab82ed90c09c7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:23:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8421 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 07:23:03 Running in /w/workspace/device-mqtt-go/102 [Pipeline] { [Pipeline] checkout 07:23:03 Selected Git installation does not exist. Using Default 07:23:03 The recommended git tool is: NONE 07:23:10 using credential edgex-jenkins-ssh 07:23:10 Cloning the remote Git repository 07:23:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:23:10 > git init /w/workspace/device-mqtt-go/102 # timeout=10 07:23:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:23:10 > git --version # timeout=10 07:23:10 > git --version # 'git version 2.25.1' 07:23:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:23:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:13 Avoid second fetch 07:23:13 Checking out Revision 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 (main) 07:23:13 Commit message: "Merge pull request #561 from weichou1229/interface-change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:13 > git config core.sparsecheckout # timeout=10 07:23:13 > git checkout -f 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 07:23:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:23:14 % Total % Received % Xferd Average Speed Time Time Time Current 07:23:14 Dload Upload Total Spent Left Speed 07:23:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 07:23:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:23:15 + sudo tee /etc/docker/daemon.new 07:23:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:23:15 { 07:23:15 "registry-mirrors": [ 07:23:15 "https://nexus3.edgexfoundry.org:10001" 07:23:15 ], 07:23:15 "bip": "10.250.0.254/24", 07:23:15 "hosts": [ 07:23:15 "tcp://0.0.0.0:5555", 07:23:15 "unix:///var/run/docker.sock" 07:23:15 ], 07:23:15 "mtu": 1458, 07:23:15 "selinux-enabled": true, 07:23:15 "seccomp-profile": "/etc/docker/seccomp.json" 07:23:15 } [Pipeline] sh 07:23:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:23:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:34 provisioning config files... 07:23:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/102@tmp/config15241186672586640419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:35 ---> docker-login.sh 07:23:35 nexus3.edgexfoundry.org:10001 07:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:35 Configure a credential helper to remove this warning. See 07:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:35 07:23:35 Login Succeeded 07:23:35 nexus3.edgexfoundry.org:10002 07:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:36 Configure a credential helper to remove this warning. See 07:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:36 07:23:36 Login Succeeded 07:23:36 nexus3.edgexfoundry.org:10003 07:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:36 Configure a credential helper to remove this warning. See 07:23:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:36 07:23:36 Login Succeeded 07:23:36 nexus3.edgexfoundry.org:10004 07:23:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:37 Configure a credential helper to remove this warning. See 07:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:37 07:23:37 Login Succeeded 07:23:37 docker.io 07:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:37 Configure a credential helper to remove this warning. See 07:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:37 07:23:37 Login Succeeded 07:23:37 ---> docker-login.sh ends [Pipeline] } 07:23:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:38 ========================================================= 07:23:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:23:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:38 + 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 . 07:23:38 Sending build context to Docker daemon 3.33MB 07:23:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:23:38 Step 2/12 : FROM ${BASE} AS builder 07:23:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:23:39 af6eaf76a39c: Pulling fs layer 07:23:39 55522c791124: Pulling fs layer 07:23:39 ce5c4a1c91eb: Pulling fs layer 07:23:39 169dfbe0d373: Pulling fs layer 07:23:39 e1ff8fa3b103: Pulling fs layer 07:23:39 52ebb69f0ebf: Pulling fs layer 07:23:39 5abe8eddf0d5: Pulling fs layer 07:23:39 e1ff8fa3b103: Waiting 07:23:39 52ebb69f0ebf: Waiting 07:23:39 5abe8eddf0d5: Waiting 07:23:39 169dfbe0d373: Waiting 07:23:39 55522c791124: Verifying Checksum 07:23:39 55522c791124: Download complete 07:23:39 169dfbe0d373: Verifying Checksum 07:23:39 169dfbe0d373: Download complete 07:23:39 e1ff8fa3b103: Verifying Checksum 07:23:39 e1ff8fa3b103: Download complete 07:23:39 af6eaf76a39c: Verifying Checksum 07:23:39 af6eaf76a39c: Download complete 07:23:40 af6eaf76a39c: Pull complete 07:23:40 5abe8eddf0d5: Verifying Checksum 07:23:40 5abe8eddf0d5: Download complete 07:23:41 55522c791124: Pull complete 07:23:42 ce5c4a1c91eb: Verifying Checksum 07:23:42 ce5c4a1c91eb: Download complete 07:23:42 52ebb69f0ebf: Verifying Checksum 07:23:42 52ebb69f0ebf: Download complete 07:23:54 ce5c4a1c91eb: Pull complete 07:23:54 169dfbe0d373: Pull complete 07:23:54 e1ff8fa3b103: Pull complete 07:24:01 52ebb69f0ebf: Pull complete 07:24:04 5abe8eddf0d5: Pull complete 07:24:04 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:24:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:24:04 ---> 6cb57ee374ae 07:24:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:24:06 ---> Running in d4f161e12a60 07:24:06 Removing intermediate container d4f161e12a60 07:24:06 ---> 0593f650d704 07:24:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:24:06 ---> Running in c553568cdf55 07:24:06 Removing intermediate container c553568cdf55 07:24:06 ---> 7509576eefc2 07:24:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:24:06 ---> Running in 6ff0516140d9 07:24:06 Removing intermediate container 6ff0516140d9 07:24:06 ---> 6e388356dda4 07:24:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:24:06 ---> Running in e3da9a4e1b35 07:24:07 Removing intermediate container e3da9a4e1b35 07:24:07 ---> 9c39f64e7935 07:24:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:24:07 ---> Running in c69f35a59344 07:24:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:24:10 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:24:10 (2/4) Installing libedit (20221030.3.1-r0) 07:24:10 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:24:10 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:24:10 Executing busybox-1.35.0-r29.trigger 07:24:10 OK: 268 MiB in 57 packages 07:24:13 Removing intermediate container c69f35a59344 07:24:13 ---> a96ecc073fb1 07:24:13 Step 8/12 : WORKDIR /device-mqtt-go 07:24:13 ---> Running in baff1e17d930 07:24:13 Removing intermediate container baff1e17d930 07:24:13 ---> f7b40456b4a2 07:24:13 Step 9/12 : COPY go.mod vendor* ./ 07:24:13 ---> 515779c08eb7 07:24:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:13 ---> Running in 298a51790a19 07:25:21 Removing intermediate container 298a51790a19 07:25:21 ---> 7f680ee11ad5 07:25:21 Step 11/12 : COPY . . 07:25:21 ---> 41db1644741b 07:25:21 Step 12/12 : RUN $MAKE 07:25:21 ---> Running in 118827867c07 07:25:21 noop 07:25:21 Removing intermediate container 118827867c07 07:25:21 ---> d55b827a652f 07:25:21 Successfully built d55b827a652f 07:25:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:22 + docker inspect -f . ci-base-image-arm64 07:25:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:22 prd-ubuntu20.04-docker-arm64-4c-16g-8421 does not seem to be running inside a container 07:25:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/102 -v /w/workspace/device-mqtt-go/102:/w/workspace/device-mqtt-go/102:rw,z -v /w/workspace/device-mqtt-go/102@tmp:/w/workspace/device-mqtt-go/102@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 07:25:24 $ docker top ffd429fed5024c015a77e5d8647c7016e82d20147dec151389abab70b005470a -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:25 + go version 07:25:25 go version go1.20.2 linux/arm64 [Pipeline] } 07:25:25 $ docker stop --time=1 ffd429fed5024c015a77e5d8647c7016e82d20147dec151389abab70b005470a 07:25:26 $ docker rm -f --volumes ffd429fed5024c015a77e5d8647c7016e82d20147dec151389abab70b005470a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:27 + docker inspect -f . ci-base-image-arm64 07:25:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:27 prd-ubuntu20.04-docker-arm64-4c-16g-8421 does not seem to be running inside a container 07:25:27 $ 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/102 -v /w/workspace/device-mqtt-go/102:/w/workspace/device-mqtt-go/102:rw,z -v /w/workspace/device-mqtt-go/102@tmp:/w/workspace/device-mqtt-go/102@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 07:25:29 $ docker top dc32be238f9fca32fb30c06b5ef272a1a0303b5301de6f28feb3facce2ab4726 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:29 + git config --global --add safe.directory /w/workspace/device-mqtt-go/102 [Pipeline] fileExists [Pipeline] sh 07:25:30 + make test 07:25:30 go test ./... -coverprofile=coverage.out ./... 07:26:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:28:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:28:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:28:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.098s coverage: 22.0% of statements 07:28:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:28:46 go vet ./... 07:29:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:29:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:29:13 ./bin/test-attribution-txt.sh 07:29:13 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:29:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:29:13 $ docker stop --time=1 dc32be238f9fca32fb30c06b5ef272a1a0303b5301de6f28feb3facce2ab4726 07:29:15 $ docker rm -f --volumes dc32be238f9fca32fb30c06b5ef272a1a0303b5301de6f28feb3facce2ab4726 [Pipeline] // withDockerContainer [Pipeline] sh 07:29:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:29:16 Warning: overwriting stash ‘coverage-report’ 07:29:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:29:18 + ls -al . 07:29:18 total 176 07:29:18 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:25 . 07:29:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:23 .. 07:29:18 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:23 .dockerignore 07:29:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:23 .git 07:29:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:23 .github 07:29:18 -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 07:23 .gitignore 07:29:18 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:23 .golangci.yml 07:29:18 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 13 07:23 Attribution.txt 07:29:18 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 13 07:23 CHANGELOG.md 07:29:18 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 13 07:23 Dockerfile 07:29:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:23 GOVERNANCE.md 07:29:18 -rw-rw-r-- 1 jenkins jenkins 678 Apr 13 07:23 Jenkinsfile 07:29:18 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:23 LICENSE 07:29:18 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 13 07:23 Makefile 07:29:18 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 07:23 OWNERS.md 07:29:18 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 13 07:23 README.md 07:29:18 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 07:19 VERSION 07:29:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:23 bin 07:29:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:23 cmd 07:29:18 -rw-r--r-- 1 jenkins jenkins 18376 Apr 13 07:28 coverage.out 07:29:18 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 13 07:23 go.mod 07:29:18 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 07:23 go.sum 07:29:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:23 internal 07:29:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:23 mock 07:29:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:23 snap 07:29:18 -rw-rw-r-- 1 jenkins jenkins 227 Apr 13 07:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:18 + 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=6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 --label arch=arm64 --label version=3.0.0-dev.18 . 07:29:18 Sending build context to Docker daemon 3.348MB 07:29:18 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:29:18 Step 2/24 : FROM ${BASE} AS builder 07:29:18 ---> d55b827a652f 07:29:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:29:18 ---> Running in 59033c7314be 07:29:19 Removing intermediate container 59033c7314be 07:29:19 ---> 613ecc57cf9c 07:29:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:29:19 ---> Running in 3b57a4176c76 07:29:19 Removing intermediate container 3b57a4176c76 07:29:19 ---> 0ebe9eba3d32 07:29:19 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:29:19 ---> Running in 493cadbeb643 07:29:20 Removing intermediate container 493cadbeb643 07:29:20 ---> 2550cda2de8b 07:29:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:29:20 ---> Running in 902de5dc6264 07:29:20 Removing intermediate container 902de5dc6264 07:29:20 ---> 7deeb81fd20c 07:29:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:29:20 ---> Running in d84438b1487f 07:29:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:29:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:29:24 OK: 268 MiB in 57 packages 07:29:25 Removing intermediate container d84438b1487f 07:29:25 ---> 95ba507ff5b1 07:29:25 Step 8/24 : WORKDIR /device-mqtt-go 07:29:25 ---> Running in fc65aeed1b9e 07:29:25 Removing intermediate container fc65aeed1b9e 07:29:25 ---> f58121e5e238 07:29:25 Step 9/24 : COPY go.mod vendor* ./ 07:29:26 ---> 7a670d537e4b 07:29:26 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:29:26 ---> Running in 8ad62dd642f5 07:29:29 Removing intermediate container 8ad62dd642f5 07:29:29 ---> f42da29e5278 07:29:29 Step 11/24 : COPY . . 07:29:30 ---> a431e28278c3 07:29:30 Step 12/24 : RUN $MAKE 07:29:30 ---> Running in a62b460e1a90 07:29:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:32:08 Removing intermediate container a62b460e1a90 07:32:08 ---> 3946ec99cff1 07:32:08 Step 13/24 : FROM alpine:3.17 07:32:08 3.17: Pulling from library/alpine 07:32:08 c41833b44d91: Pulling fs layer 07:32:08 c41833b44d91: Verifying Checksum 07:32:08 c41833b44d91: Download complete 07:32:08 c41833b44d91: Pull complete 07:32:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:32:08 Status: Downloaded newer image for alpine:3.17 07:32:08 ---> 51e60588ff2c 07:32:08 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:32:08 ---> Running in a22d74cf7d51 07:32:08 Removing intermediate container a22d74cf7d51 07:32:08 ---> 7e60e5df1359 07:32:08 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:32:08 ---> Running in ba66bee40bf4 07:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:32:09 (1/1) Installing dumb-init (1.2.5-r2) 07:32:09 Executing busybox-1.35.0-r29.trigger 07:32:09 OK: 8 MiB in 16 packages 07:32:10 Removing intermediate container ba66bee40bf4 07:32:10 ---> 27b8b9994d5e 07:32:10 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:32:11 ---> d87593bb50e0 07:32:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:32:12 ---> 3cca835f69c1 07:32:12 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:32:13 ---> f65f368067b8 07:32:13 Step 19/24 : EXPOSE 59982 07:32:13 ---> Running in 761055b3a568 07:32:13 Removing intermediate container 761055b3a568 07:32:13 ---> b5a54a53062d 07:32:13 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:32:13 ---> Running in ef6d9d0b6a4b 07:32:13 Removing intermediate container ef6d9d0b6a4b 07:32:13 ---> 816e16fc6b15 07:32:13 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:32:13 ---> Running in 667e33df79cf 07:32:14 Removing intermediate container 667e33df79cf 07:32:14 ---> 171721a3e69c 07:32:14 Step 22/24 : LABEL arch=arm64 07:32:14 ---> Running in c7e95ecf0235 07:32:14 Removing intermediate container c7e95ecf0235 07:32:14 ---> bd482417f48f 07:32:14 Step 23/24 : LABEL git_sha=6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:32:14 ---> Running in eee2ef96aaec 07:32:15 Removing intermediate container eee2ef96aaec 07:32:15 ---> 8dd24ff27707 07:32:15 Step 24/24 : LABEL version=3.0.0-dev.18 07:32:15 ---> Running in 43f660f3e598 07:32:15 Removing intermediate container 43f660f3e598 07:32:15 ---> 8aae3d01781d 07:32:15 [Warning] One or more build-args [ARCH] were not consumed 07:32:15 Successfully built 8aae3d01781d 07:32:15 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:32:15 provisioning config files... 07:32:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/102@tmp/config11260546968491159373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:16 ---> docker-login.sh 07:32:16 nexus3.edgexfoundry.org:10001 07:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:16 Configure a credential helper to remove this warning. See 07:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:16 07:32:16 Login Succeeded 07:32:16 nexus3.edgexfoundry.org:10002 07:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:16 Configure a credential helper to remove this warning. See 07:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:16 07:32:16 Login Succeeded 07:32:16 nexus3.edgexfoundry.org:10003 07:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:17 Configure a credential helper to remove this warning. See 07:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:17 07:32:17 Login Succeeded 07:32:17 nexus3.edgexfoundry.org:10004 07:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:17 Configure a credential helper to remove this warning. See 07:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:17 07:32:17 Login Succeeded 07:32:17 docker.io 07:32:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:17 Configure a credential helper to remove this warning. See 07:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:17 07:32:17 Login Succeeded 07:32:17 ---> docker-login.sh ends [Pipeline] } 07:32:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:32:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:32:18 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 07:32:18 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:32:18 latest 07:32:18 3.0.0-dev.18 07:32:18 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18 07:32:18 main 07:32:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:32:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:32:18 522ed2c7577a: Preparing 07:32:18 b73b51f6f0be: Preparing 07:32:18 7e02acb30f5a: Preparing 07:32:18 bcaf393a4cbc: Preparing 07:32:18 26cbea5cba74: Preparing 07:32:18 26cbea5cba74: Layer already exists 07:32:18 b73b51f6f0be: Pushed 07:32:18 522ed2c7577a: Pushed 07:32:18 bcaf393a4cbc: Pushed 07:32:24 7e02acb30f5a: Pushed 07:32:24 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9: digest: sha256:52b3036f600e33e4ad060f2eede97d9281932c4ab17d301c822607276edc16c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:24 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:32:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:32:25 522ed2c7577a: Preparing 07:32:25 b73b51f6f0be: Preparing 07:32:25 7e02acb30f5a: Preparing 07:32:25 bcaf393a4cbc: Preparing 07:32:25 26cbea5cba74: Preparing 07:32:25 bcaf393a4cbc: Layer already exists 07:32:25 7e02acb30f5a: Layer already exists 07:32:25 26cbea5cba74: Layer already exists 07:32:25 b73b51f6f0be: Layer already exists 07:32:25 522ed2c7577a: Layer already exists 07:32:25 latest: digest: sha256:52b3036f600e33e4ad060f2eede97d9281932c4ab17d301c822607276edc16c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.18 07:32:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:32:26 522ed2c7577a: Preparing 07:32:26 b73b51f6f0be: Preparing 07:32:26 7e02acb30f5a: Preparing 07:32:26 bcaf393a4cbc: Preparing 07:32:26 26cbea5cba74: Preparing 07:32:26 7e02acb30f5a: Layer already exists 07:32:26 bcaf393a4cbc: Layer already exists 07:32:26 b73b51f6f0be: Layer already exists 07:32:26 522ed2c7577a: Layer already exists 07:32:26 26cbea5cba74: Layer already exists 07:32:26 3.0.0-dev.18: digest: sha256:52b3036f600e33e4ad060f2eede97d9281932c4ab17d301c822607276edc16c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18 07:32:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:32:27 522ed2c7577a: Preparing 07:32:27 b73b51f6f0be: Preparing 07:32:27 7e02acb30f5a: Preparing 07:32:27 bcaf393a4cbc: Preparing 07:32:27 26cbea5cba74: Preparing 07:32:27 b73b51f6f0be: Layer already exists 07:32:27 7e02acb30f5a: Layer already exists 07:32:27 26cbea5cba74: Layer already exists 07:32:27 522ed2c7577a: Layer already exists 07:32:27 bcaf393a4cbc: Layer already exists 07:32:27 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18: digest: sha256:52b3036f600e33e4ad060f2eede97d9281932c4ab17d301c822607276edc16c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 07:32:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:32:28 522ed2c7577a: Preparing 07:32:28 b73b51f6f0be: Preparing 07:32:28 7e02acb30f5a: Preparing 07:32:28 bcaf393a4cbc: Preparing 07:32:28 26cbea5cba74: Preparing 07:32:28 26cbea5cba74: Layer already exists 07:32:28 bcaf393a4cbc: Layer already exists 07:32:28 7e02acb30f5a: Layer already exists 07:32:28 b73b51f6f0be: Layer already exists 07:32:28 522ed2c7577a: Layer already exists 07:32:28 main: digest: sha256:52b3036f600e33e4ad060f2eede97d9281932c4ab17d301c822607276edc16c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:32:28 ===================================================== [Pipeline] echo 07:32:28 taggedImages: 07:32:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 07:32:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:32:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.18 07:32:28 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9-3.0.0-dev.18 07:32:28 - 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 07:32:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:28 07:32:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:29 arm64: Pulling from edgex-lftools-log-publisher 07:32:29 8998bd30e6a1: Pulling fs layer 07:32:29 04944245beec: Pulling fs layer 07:32:29 699f458cf7ca: Pulling fs layer 07:32:29 765212b225bb: Pulling fs layer 07:32:29 f23df028b6ca: Pulling fs layer 07:32:29 d65c8cfc05b1: Pulling fs layer 07:32:29 f23df028b6ca: Waiting 07:32:29 765212b225bb: Waiting 07:32:29 2437ff75d9bd: Pulling fs layer 07:32:29 d65c8cfc05b1: Waiting 07:32:29 2437ff75d9bd: Waiting 07:32:29 04944245beec: Verifying Checksum 07:32:29 04944245beec: Download complete 07:32:29 765212b225bb: Verifying Checksum 07:32:29 765212b225bb: Download complete 07:32:29 f23df028b6ca: Verifying Checksum 07:32:29 f23df028b6ca: Download complete 07:32:29 d65c8cfc05b1: Verifying Checksum 07:32:29 d65c8cfc05b1: Download complete 07:32:29 699f458cf7ca: Verifying Checksum 07:32:29 699f458cf7ca: Download complete 07:32:30 8998bd30e6a1: Verifying Checksum 07:32:30 8998bd30e6a1: Download complete 07:32:32 2437ff75d9bd: Verifying Checksum 07:32:32 2437ff75d9bd: Download complete 07:32:34 8998bd30e6a1: Pull complete 07:32:35 04944245beec: Pull complete 07:32:36 699f458cf7ca: Pull complete 07:32:37 765212b225bb: Pull complete 07:32:38 f23df028b6ca: Pull complete 07:32:38 d65c8cfc05b1: Pull complete 07:32:53 2437ff75d9bd: Pull complete 07:32:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:32:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:32:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:53 prd-ubuntu20.04-docker-arm64-4c-16g-8421 does not seem to be running inside a container 07:32:53 $ 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/102 -v /w/workspace/device-mqtt-go/102:/w/workspace/device-mqtt-go/102:rw,z -v /w/workspace/device-mqtt-go/102@tmp:/w/workspace/device-mqtt-go/102@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 07:32:56 $ docker top ca74d9b258d6297f704b26741c4f456642c46165c05939a6732e6e6ea849d784 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:57 ---> job-cost.sh 07:32:57 lf-activate-venv: SKIPPING 07:32:57 INFO: No Stack... 07:32:57 INFO: Retrieving Pricing Info for: v3-standard-4 07:32:58 INFO: Archiving Costs [Pipeline] sh 07:32:59 + cut -d, -f6 07:32:59 + cat /w/workspace/device-mqtt-go/102/archives/cost.csv [Pipeline] lock 07:32:59 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-102-stack-cost] 07:32:59 Resource [jenkins-edgexfoundry-device-mqtt-go-main-102-stack-cost] did not exist. Created. 07:32:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:32:59 /w/workspace/device-mqtt-go/102@tmp/durable-93b7b3e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:33:00 + echo total: 0.10999999940395355 [Pipeline] stash 07:33:00 Warning: overwriting stash ‘stack-cost’ 07:33:00 Stashed 1 file(s) [Pipeline] } 07:33:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 07:33:00 $ docker stop --time=1 ca74d9b258d6297f704b26741c4f456642c46165c05939a6732e6e6ea849d784 07:33:02 $ docker rm -f --volumes ca74d9b258d6297f704b26741c4f456642c46165c05939a6732e6e6ea849d784 [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 07:33:02 provisioning config files... 07:33:02 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8361878165337826405tmp [Pipeline] { [Pipeline] sh 07:33:02 + set +x 07:33:02 + curl -s https://codecov.io/bash 07:33:02 + bash -s -- 07:33:02 07:33:02 _____ _ 07:33:02 / ____| | | 07:33:02 | | ___ __| | ___ ___ _____ __ 07:33:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:33:02 | |___| (_) | (_| | __/ (_| (_) \ V / 07:33:02 \_____\___/ \__,_|\___|\___\___/ \_/ 07:33:02 Bash-1.0.6 07:33:02 07:33:02 07:33:02 ==> git version 2.25.1 found 07:33:02 ==> 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 07:33:02 Release-Date: 2020-01-08 07:33:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:33:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:33:02 ==> Jenkins CI detected. 07:33:02 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 07:33:02 project root: . 07:33:02 --> token set from env 07:33:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:33:02 ==> Running gcov in . (disable via -X gcov) 07:33:02 ==> Python coveragepy not found 07:33:02 ==> Searching for coverage reports in: 07:33:02 + . 07:33:02 -> Found 1 reports 07:33:02 ==> Detecting git/mercurial file structure 07:33:02 ==> Reading reports 07:33:02 + ./coverage.out bytes=18376 07:33:02 ==> Appending adjustments 07:33:02 https://docs.codecov.io/docs/fixing-reports 07:33:03 + Found adjustments 07:33:03 ==> Gzipping contents 07:33:03 4.0K /tmp/codecov.mxy6Fp.gz 07:33:03 ==> Uploading reports 07:33:03 url: https://codecov.io 07:33:03 query: branch=main&commit=6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:33:03 -> Pinging Codecov 07:33:03 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=6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:33:03 -> Uploading to 07:33:03 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/7D719EC7BBE17E464838252E33014C33/6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9/3c62252e-220b-4f91-a182-299b11e806c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T073302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ddc6844d0e1b96448132f3eb5d4687a45112b2f5aacf67513aa7576cfa3279a 07:33:03 % Total % Received % Xferd Average Speed Time Time Time Current 07:33:03 Dload Upload Total Spent Left Speed 07:33:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3167 0 0 100 3167 0 11686 --:--:-- --:--:-- --:--:-- 11686 07:33:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [Pipeline] } 07:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:33:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:33:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:33:03 07:33:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:33:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:33:04 df9b9388f04a: Pulling fs layer 07:33:04 52dc419b0ee2: Pulling fs layer 07:33:04 25bc292e5bac: Pulling fs layer 07:33:04 114826534d7a: Pulling fs layer 07:33:04 4657fd5d0bcf: Pulling fs layer 07:33:04 6ad1cebc031e: Pulling fs layer 07:33:04 114826534d7a: Waiting 07:33:04 4657fd5d0bcf: Waiting 07:33:04 6ad1cebc031e: Waiting 07:33:04 8a3aa393b2d8: Pulling fs layer 07:33:04 8a3aa393b2d8: Waiting 07:33:04 25bc292e5bac: Verifying Checksum 07:33:04 25bc292e5bac: Download complete 07:33:04 52dc419b0ee2: Verifying Checksum 07:33:04 52dc419b0ee2: Download complete 07:33:04 4657fd5d0bcf: Verifying Checksum 07:33:04 4657fd5d0bcf: Download complete 07:33:04 df9b9388f04a: Verifying Checksum 07:33:04 df9b9388f04a: Download complete 07:33:04 df9b9388f04a: Pull complete 07:33:04 6ad1cebc031e: Verifying Checksum 07:33:04 6ad1cebc031e: Download complete 07:33:04 52dc419b0ee2: Pull complete 07:33:04 25bc292e5bac: Pull complete 07:33:04 114826534d7a: Download complete 07:33:04 8a3aa393b2d8: Verifying Checksum 07:33:04 8a3aa393b2d8: Download complete 07:33:08 114826534d7a: Pull complete 07:33:08 4657fd5d0bcf: Pull complete 07:33:08 6ad1cebc031e: Pull complete 07:33:10 8a3aa393b2d8: Pull complete 07:33:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:33:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:33:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:10 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:33:10 $ 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 07:33:13 $ docker top b5611769e3146ef7727a285eb4657f6ec30ec5905411827be642ac35d8bf48ba -eo pid,comm [Pipeline] { [Pipeline] echo 07:33:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 07:33:13 + set -o pipefail 07:33:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 07:33:18 07:33:18 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 07:33:18 07:33:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/6d556934-5edb-483a-a631-5d06c544cc84 07:33:18 07:33:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:33:18 07:33:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:33:18 07:33:18 07:33:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:33:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:33:18 More details here: https://snyk.co/ue1NS 07:33:18 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:33:18 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:33:18 $ docker stop --time=1 b5611769e3146ef7727a285eb4657f6ec30ec5905411827be642ac35d8bf48ba 07:33:20 $ docker rm -f --volumes b5611769e3146ef7727a285eb4657f6ec30ec5905411827be642ac35d8bf48ba [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 07:33:21 + git log --format=format:%s -1 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 [Pipeline] sh 07:33:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:33:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:22 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:33:22 $ 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 07:33:22 $ docker top 81d4fbb6a8c8aa3a8242aba24447e371497adfb0b554e76bcb5e94b09a9be62f -eo pid,comm 07:33:22 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). 07:33:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:22 [ssh-agent] Looking for ssh-agent implementation... 07:33:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:22 $ docker exec 81d4fbb6a8c8aa3a8242aba24447e371497adfb0b554e76bcb5e94b09a9be62f ssh-agent 07:33:23 SSH_AUTH_SOCK=/tmp/ssh-37BaybjlzvcB/agent.33 07:33:23 SSH_AGENT_PID=39 07:33:23 Running ssh-add (command line suppressed) 07:33:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13403384194808175748.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13403384194808175748.key) 07:33:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:23 + git semver tag 07:33:23 2023-04-13 07:33:23,578 [run_tag] DEBUG tag force:False 07:33:23 2023-04-13 07:33:23,578 [check_head_tag] DEBUG check head tag 07:33:23 2023-04-13 07:33:23,579 [execute] INFO git cat-file --batch-check 07:33:23 2023-04-13 07:33:23,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:33:23 2023-04-13 07:33:23,583 [execute] INFO git cat-file --batch 07:33:23 2023-04-13 07:33:23,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:33:23 2023-04-13 07:33:23,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:33:23 2023-04-13 07:33:23,606 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 07:33:23 2023-04-13 07:33:23,606 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:33:23 2023-04-13 07:33:23,611 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:33:23 3.0.0-dev.18 [Pipeline] } 07:33:23 $ docker exec --env ******** --env ******** 81d4fbb6a8c8aa3a8242aba24447e371497adfb0b554e76bcb5e94b09a9be62f ssh-agent -k 07:33:23 unset SSH_AUTH_SOCK; 07:33:23 unset SSH_AGENT_PID; 07:33:23 echo Agent pid 39 killed; 07:33:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:24 + git semver [Pipeline] } 07:33:24 $ docker stop --time=1 81d4fbb6a8c8aa3a8242aba24447e371497adfb0b554e76bcb5e94b09a9be62f 07:33:25 $ docker rm -f --volumes 81d4fbb6a8c8aa3a8242aba24447e371497adfb0b554e76bcb5e94b09a9be62f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:33:26 07:33:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:33:26 0.23.1-centos7: Pulling from edgex-lftools 07:33:26 ab5ef0e58194: Pulling fs layer 07:33:26 9712f1f96733: Pulling fs layer 07:33:26 63f879dbbcfc: Pulling fs layer 07:33:26 0d9ebad4ef96: Pulling fs layer 07:33:26 e9a5061849ea: Pulling fs layer 07:33:26 d747dcd14b5f: Pulling fs layer 07:33:26 2de7ff778b66: Pulling fs layer 07:33:26 0d9ebad4ef96: Waiting 07:33:26 d747dcd14b5f: Waiting 07:33:26 2de7ff778b66: Waiting 07:33:26 9712f1f96733: Verifying Checksum 07:33:26 9712f1f96733: Download complete 07:33:26 63f879dbbcfc: Verifying Checksum 07:33:26 63f879dbbcfc: Download complete 07:33:26 0d9ebad4ef96: Verifying Checksum 07:33:26 0d9ebad4ef96: Download complete 07:33:26 d747dcd14b5f: Verifying Checksum 07:33:26 d747dcd14b5f: Download complete 07:33:26 e9a5061849ea: Verifying Checksum 07:33:26 e9a5061849ea: Download complete 07:33:26 ab5ef0e58194: Verifying Checksum 07:33:26 ab5ef0e58194: Download complete 07:33:27 2de7ff778b66: Verifying Checksum 07:33:27 2de7ff778b66: Download complete 07:33:29 ab5ef0e58194: Pull complete 07:33:29 9712f1f96733: Pull complete 07:33:30 63f879dbbcfc: Pull complete 07:33:33 0d9ebad4ef96: Pull complete 07:33:33 e9a5061849ea: Pull complete 07:33:33 d747dcd14b5f: Pull complete 07:33:34 2de7ff778b66: Pull complete 07:33:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:33:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:33:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:34 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:33:34 $ 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 07:33:37 $ docker top 7e20a0381254be40c1a56f543acf6b434c894734c72fdb4b13ffd1ff810c9253 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:33:37 provisioning config files... 07:33:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6826593543297166668tmp 07:33:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6214679187878981966tmp 07:33:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17885966935728226859tmp [Pipeline] { [Pipeline] echo 07:33:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:33:37 ---> sigul-configuration.sh 07:33:37 gpg: directory `/root/.gnupg' created 07:33:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:33:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:33:37 gpg: keyring `/root/.gnupg/secring.gpg' created 07:33:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:33:37 gpg: CAST5 encrypted data 07:33:37 gpg: encrypted with 1 passphrase 07:33:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:33:37 + mkdir /home/jenkins 07:33:37 + mkdir /home/jenkins/sigul [Pipeline] sh 07:33:37 + 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 07:33:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:33:38 ---> sigul-install.sh 07:33:38 Sigul already installed; skipping installation. [Pipeline] sh 07:33:38 + git tag --list 07:33:38 0.7.1 07:33:38 v1.0.0 07:33:38 v1.1.0 07:33:38 v1.1.1 07:33:38 v1.2.2 07:33:38 v1.3.0 07:33:38 v1.3.1 07:33:38 v2.0.0 07:33:38 v2.1.0 07:33:38 v2.1.1 07:33:38 v2.1.1-dev.1 07:33:38 v2.1.1-dev.2 07:33:38 v2.2.0 07:33:38 v2.2.1-dev.1 07:33:38 v2.2.1-dev.10 07:33:38 v2.2.1-dev.2 07:33:38 v2.2.1-dev.3 07:33:38 v2.2.1-dev.4 07:33:38 v2.2.1-dev.5 07:33:38 v2.2.1-dev.6 07:33:38 v2.2.1-dev.7 07:33:38 v2.2.1-dev.8 07:33:38 v2.2.1-dev.9 07:33:38 v2.3.0 07:33:38 v2.3.0-dev.10 07:33:38 v2.3.0-dev.11 07:33:38 v2.3.0-dev.12 07:33:38 v2.3.0-dev.13 07:33:38 v2.3.0-dev.14 07:33:38 v2.3.0-dev.15 07:33:38 v2.3.0-dev.16 07:33:38 v2.3.0-dev.17 07:33:38 v2.3.0-dev.18 07:33:38 v2.3.0-dev.19 07:33:38 v2.3.0-dev.20 07:33:38 v2.3.0-dev.21 07:33:38 v2.3.0-dev.22 07:33:38 v2.3.0-dev.23 07:33:38 v2.3.0-dev.24 07:33:38 v2.3.0-dev.25 07:33:38 v2.3.0-dev.26 07:33:38 v2.3.0-dev.27 07:33:38 v2.3.0-dev.28 07:33:38 v2.3.0-dev.29 07:33:38 v2.3.0-dev.30 07:33:38 v2.3.0-dev.31 07:33:38 v2.3.0-dev.32 07:33:38 v2.3.0-dev.33 07:33:38 v2.3.0-dev.34 07:33:38 v3.0.0-dev.1 07:33:38 v3.0.0-dev.10 07:33:38 v3.0.0-dev.11 07:33:38 v3.0.0-dev.12 07:33:38 v3.0.0-dev.13 07:33:38 v3.0.0-dev.14 07:33:38 v3.0.0-dev.15 07:33:38 v3.0.0-dev.16 07:33:38 v3.0.0-dev.17 07:33:38 v3.0.0-dev.18 07:33:38 v3.0.0-dev.2 07:33:38 v3.0.0-dev.3 07:33:38 v3.0.0-dev.4 07:33:38 v3.0.0-dev.5 07:33:38 v3.0.0-dev.6 07:33:38 v3.0.0-dev.7 07:33:38 v3.0.0-dev.8 07:33:38 v3.0.0-dev.9 [Pipeline] sh 07:33:38 + lftools sign git-tag v3.0.0-dev.18 07:33:39 Signing Git tag with Sigul... 07:33:39 Signing v3.0.0-dev.18 [Pipeline] echo 07:33:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:33:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:33:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:33:39 $ docker stop --time=1 7e20a0381254be40c1a56f543acf6b434c894734c72fdb4b13ffd1ff810c9253 07:33:41 $ docker rm -f --volumes 7e20a0381254be40c1a56f543acf6b434c894734c72fdb4b13ffd1ff810c9253 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:33:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:33:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:42 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:33:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:33:42 $ docker top 7f4a0b5a39f30ff85d0f7064b690154d1a1de4017d734d4e974acffb33c01efb -eo pid,comm 07:33:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:33:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:42 [ssh-agent] Looking for ssh-agent implementation... 07:33:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:42 $ docker exec 7f4a0b5a39f30ff85d0f7064b690154d1a1de4017d734d4e974acffb33c01efb ssh-agent 07:33:42 SSH_AUTH_SOCK=/tmp/ssh-KnjlC1YPLsWP/agent.32 07:33:42 SSH_AGENT_PID=38 07:33:42 Running ssh-add (command line suppressed) 07:33:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3892553593587410814.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3892553593587410814.key) 07:33:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:43 + git semver bump pre 07:33:43 2023-04-13 07:33:43,344 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:33:43 2023-04-13 07:33:43,344 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev 07:33:43 2023-04-13 07:33:43,344 [bump_version] DEBUG bumped version:3.0.0-dev.19 07:33:43 2023-04-13 07:33:43,344 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 07:33:43 2023-04-13 07:33:43,344 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:33:43 2023-04-13 07:33:43,344 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:33:43 2023-04-13 07:33:43,346 [execute] INFO git cat-file --batch-check 07:33:43 2023-04-13 07:33:43,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:33:43 2023-04-13 07:33:43,352 [execute] INFO git cat-file --batch 07:33:43 2023-04-13 07:33:43,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:33:43 2023-04-13 07:33:43,359 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:33:43 3.0.0-dev.19 [Pipeline] } 07:33:43 $ docker exec --env ******** --env ******** 7f4a0b5a39f30ff85d0f7064b690154d1a1de4017d734d4e974acffb33c01efb ssh-agent -k 07:33:43 unset SSH_AUTH_SOCK; 07:33:43 unset SSH_AGENT_PID; 07:33:43 echo Agent pid 38 killed; 07:33:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:43 + git semver [Pipeline] } 07:33:44 $ docker stop --time=1 7f4a0b5a39f30ff85d0f7064b690154d1a1de4017d734d4e974acffb33c01efb 07:33:45 $ docker rm -f --volumes 7f4a0b5a39f30ff85d0f7064b690154d1a1de4017d734d4e974acffb33c01efb [Pipeline] // withDockerContainer [Pipeline] sh 07:33:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:33:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:46 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:33:46 $ 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 07:33:46 $ docker top 33e1cdaa9cd24df10809f8cb045995d7ac2de9054f3e51bccd8b70a2e9f0e9dd -eo pid,comm 07:33:46 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). 07:33:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:46 [ssh-agent] Looking for ssh-agent implementation... 07:33:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:46 $ docker exec 33e1cdaa9cd24df10809f8cb045995d7ac2de9054f3e51bccd8b70a2e9f0e9dd ssh-agent 07:33:46 SSH_AUTH_SOCK=/tmp/ssh-fXg0lApofCNl/agent.32 07:33:46 SSH_AGENT_PID=38 07:33:46 Running ssh-add (command line suppressed) 07:33:46 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17311575502481582920.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17311575502481582920.key) 07:33:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:47 + git semver push 07:33:47 2023-04-13 07:33:47,444 [run_push] DEBUG push 07:33:47 2023-04-13 07:33:47,445 [execute] INFO git cat-file --batch-check 07:33:47 2023-04-13 07:33:47,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:33:47 2023-04-13 07:33:47,448 [execute] INFO git rev-list af63126eb0c92a6c03d1387f2a6de54abedf12b2 -- 07:33:47 2023-04-13 07:33:47,448 [execute] DEBUG Popen(['git', 'rev-list', 'af63126eb0c92a6c03d1387f2a6de54abedf12b2', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:33:47 2023-04-13 07:33:47,457 [execute] INFO git fetch -v origin 07:33:47 2023-04-13 07:33:47,457 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:33:48 2023-04-13 07:33:47,918 [run_push] DEBUG no remote changes detected 07:33:48 2023-04-13 07:33:47,918 [execute] INFO git push origin semver 07:33:48 2023-04-13 07:33:47,919 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:33:49 2023-04-13 07:33:48,658 [run_push] DEBUG push all version tags 07:33:49 2023-04-13 07:33:48,659 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:33:49 2023-04-13 07:33:48,659 [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) 07:33:49 2023-04-13 07:33:49,362 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:33:49 3.0.0-dev.19 [Pipeline] } 07:33:49 $ docker exec --env ******** --env ******** 33e1cdaa9cd24df10809f8cb045995d7ac2de9054f3e51bccd8b70a2e9f0e9dd ssh-agent -k 07:33:49 unset SSH_AUTH_SOCK; 07:33:49 unset SSH_AGENT_PID; 07:33:49 echo Agent pid 38 killed; 07:33:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:50 + git semver [Pipeline] } 07:33:50 $ docker stop --time=1 33e1cdaa9cd24df10809f8cb045995d7ac2de9054f3e51bccd8b70a2e9f0e9dd 07:33:51 $ docker rm -f --volumes 33e1cdaa9cd24df10809f8cb045995d7ac2de9054f3e51bccd8b70a2e9f0e9dd [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 07:33:52 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 07:33:52 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:33:52 total 16 07:33:52 drwxr-xr-x 3 root root 4096 Apr 13 07:21 . 07:33:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:33 .. 07:33:52 drwxr-xr-x 2 root root 4096 Apr 13 07:21 cost 07:33:52 -rw-r--r-- 1 root root 86 Apr 13 07:21 cost.csv 07:33:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:33:52 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:33:52 total 16 07:33:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:21 . 07:33:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:33 .. 07:33:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:21 cost 07:33:52 -rw-r--r-- 1 jenkins jenkins 86 Apr 13 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:33:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:33:53 ---> package-listing.sh 07:33:53 ++ facter osfamily 07:33:53 ++ tr '[:upper:]' '[:lower:]' 07:33:53 + OS_FAMILY=debian 07:33:53 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 07:33:53 + START_PACKAGES=/tmp/packages_start.txt 07:33:53 + END_PACKAGES=/tmp/packages_end.txt 07:33:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:33:53 + PACKAGES=/tmp/packages_start.txt 07:33:53 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:33:53 + PACKAGES=/tmp/packages_end.txt 07:33:53 + case "${OS_FAMILY}" in 07:33:53 + dpkg -l 07:33:53 + grep '^ii' 07:33:53 + '[' -f /tmp/packages_start.txt ']' 07:33:53 + '[' -f /tmp/packages_end.txt ']' 07:33:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:33:53 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:33:53 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 07:33:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 07:33:53 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 07:33:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:33:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:54 prd-ubuntu20.04-docker-8c-8g-8417 does not seem to be running inside a container 07:33:54 $ 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 07:33:54 $ docker top 86c452e4b143edc7e67cfc386ca0c1b926e900544e4d5316723d4cea653abe72 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:33:55 + mkdir -p /var/log/sysstat [Pipeline] sh 07:33:55 + ls /var/log/sa-host 07:33:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:55 provisioning config files... 07:33:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2643316817723104306tmp [Pipeline] { [Pipeline] echo 07:33:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:33:56 ---> create-netrc.sh [Pipeline] } 07:33:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:33:56 ---> python-tools-install.sh [Pipeline] echo 07:33:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:33:56 ---> sudo-logs.sh 07:33:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:33:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:33:57 ---> job-cost.sh 07:33:57 lf-activate-venv: SKIPPING 07:33:57 DEBUG: total: 0.2199999988079071 07:33:57 INFO: Retrieving Stack Cost... 07:33:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:33:57 INFO: Archiving Costs [Pipeline] echo 07:33:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:33:58 ---> logs-deploy.sh 07:33:58 lf-activate-venv: SKIPPING 07:33:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/102 07:33:58 INFO: archiving workspace using pattern(s): 07:33:59 Archives upload complete. 07:33:59 INFO: archiving logs to Nexus