Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 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-ssh15250844046633571303.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13622162632087899916.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9140754918368287715.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh13358053626820519120.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-ssh18315504093912618248.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7102 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 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 (main) > 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 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 Commit message: "Merge pull request #557 from weichou1229/update-profile" > git rev-list --no-walk fae68001f23ebf2296c35dbe56314768b083ad85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:44:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:44:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:44:25 ========================================================= 07:44:25 EdgeX Global Pipelines Version Info 07:44:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:44:32 ------------------- 07:44:32 stable info: 07:44:32 ------------------- 07:44:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:44:32 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:44:32 Message: update stable to v1.0.245 07:44:32 ------------------- 07:44:32 experimental info: 07:44:32 ------------------- 07:44:32 Commited By: **** collab-it+edgex@linuxfoundation.org 07:44:32 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 07:44:32 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:44:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:44:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:44:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:44:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:44:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc38c5f [Pipeline] echo 07:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:44:33 provisioning config files... 07:44:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15446455882998248118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:33 ---> docker-login.sh 07:44:33 nexus3.edgexfoundry.org:10001 07:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:37 Configure a credential helper to remove this warning. See 07:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:37 07:44:37 Login Succeeded 07:44:37 nexus3.edgexfoundry.org:10002 07:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:37 Configure a credential helper to remove this warning. See 07:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:37 07:44:37 Login Succeeded 07:44:37 nexus3.edgexfoundry.org:10003 07:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:38 Configure a credential helper to remove this warning. See 07:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:38 07:44:38 Login Succeeded 07:44:38 nexus3.edgexfoundry.org:10004 07:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:38 Configure a credential helper to remove this warning. See 07:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:38 07:44:38 Login Succeeded 07:44:38 docker.io 07:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:38 Configure a credential helper to remove this warning. See 07:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:38 07:44:38 Login Succeeded 07:44:38 ---> docker-login.sh ends [Pipeline] } 07:44:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:44:39 + git rev-list -1 --merges bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4~1..bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [Pipeline] echo 07:44:39 -----------> git rev-list -1 --merges bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4~1..bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:44:39 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [false] [Pipeline] sh 07:44:39 + git log --format=format:%s -1 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [Pipeline] echo 07:44:39 ========================================================= 07:44:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:44:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:39 + git log --format=format:%s -1 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [Pipeline] echo 07:44:39 [semverPrep] GIT_COMMIT: bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4, Commit Message: Merge pull request #557 from weichou1229/update-profile [Pipeline] echo 07:44:39 [semverPrep] This is not a build commit. [Pipeline] sh 07:44:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:44:40 + grep -v github /etc/ssh/ssh_known_hosts 07:44:40 + [ -e /tmp/ssh_known_hosts ] 07:44:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:44:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:44:40 + sudo tee -a /etc/ssh/ssh_known_hosts 07:44:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:40 07:44:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:43 0.1.4: Pulling from edgex-devops/py-git-semver 07:44:43 b85a868b505f: Pulling fs layer 07:44:43 e2be974225ed: Pulling fs layer 07:44:43 339a4e72a1f5: Pulling fs layer 07:44:43 988bab9f4d93: Pulling fs layer 07:44:43 1469e6f7b9e6: Pulling fs layer 07:44:43 eaf3925da568: Pulling fs layer 07:44:43 bab4dde63d76: Pulling fs layer 07:44:43 bde34c3a00c8: Pulling fs layer 07:44:43 b352a97aabf1: Pulling fs layer 07:44:43 4872d77fe225: Pulling fs layer 07:44:43 5851b861e8e6: Pulling fs layer 07:44:43 bde34c3a00c8: Waiting 07:44:43 b352a97aabf1: Waiting 07:44:43 1469e6f7b9e6: Waiting 07:44:43 eaf3925da568: Waiting 07:44:43 bab4dde63d76: Waiting 07:44:43 4872d77fe225: Waiting 07:44:43 5851b861e8e6: Waiting 07:44:43 988bab9f4d93: Waiting 07:44:43 e2be974225ed: Verifying Checksum 07:44:43 e2be974225ed: Download complete 07:44:43 988bab9f4d93: Verifying Checksum 07:44:43 988bab9f4d93: Download complete 07:44:43 1469e6f7b9e6: Verifying Checksum 07:44:43 1469e6f7b9e6: Download complete 07:44:43 339a4e72a1f5: Verifying Checksum 07:44:43 339a4e72a1f5: Download complete 07:44:43 eaf3925da568: Download complete 07:44:43 bde34c3a00c8: Verifying Checksum 07:44:43 bde34c3a00c8: Download complete 07:44:43 b352a97aabf1: Verifying Checksum 07:44:43 b352a97aabf1: Download complete 07:44:43 4872d77fe225: Download complete 07:44:43 5851b861e8e6: Verifying Checksum 07:44:43 5851b861e8e6: Download complete 07:44:43 b85a868b505f: Verifying Checksum 07:44:43 b85a868b505f: Download complete 07:44:43 bab4dde63d76: Verifying Checksum 07:44:43 bab4dde63d76: Download complete 07:44:45 b85a868b505f: Pull complete 07:44:46 e2be974225ed: Pull complete 07:44:48 339a4e72a1f5: Pull complete 07:44:48 988bab9f4d93: Pull complete 07:44:50 1469e6f7b9e6: Pull complete 07:44:50 eaf3925da568: Pull complete 07:44:54 bab4dde63d76: Pull complete 07:44:54 bde34c3a00c8: Pull complete 07:44:55 b352a97aabf1: Pull complete 07:44:56 4872d77fe225: Pull complete 07:44:57 5851b861e8e6: Pull complete 07:44:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:44:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:44:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:44:57 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:44:58 $ 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:45:13 $ docker top 6a0c3ad8e7142b8c975f274cb7de5d7fd45eba18ac7e8dd9e88323771fb35765 -eo pid,comm 07:45:13 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:45:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:45:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:45:13 [ssh-agent] Looking for ssh-agent implementation... 07:45:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:45:13 $ docker exec 6a0c3ad8e7142b8c975f274cb7de5d7fd45eba18ac7e8dd9e88323771fb35765 ssh-agent 07:45:14 SSH_AUTH_SOCK=/tmp/ssh-5gxcfFoTwzG2/agent.13 07:45:14 SSH_AGENT_PID=19 07:45:14 Running ssh-add (command line suppressed) 07:45:14 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3638463691944593745.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3638463691944593745.key) 07:45:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:45:14 + git tag --points-at HEAD [Pipeline] } 07:45:14 $ docker exec --env ******** --env ******** 6a0c3ad8e7142b8c975f274cb7de5d7fd45eba18ac7e8dd9e88323771fb35765 ssh-agent -k 07:45:14 unset SSH_AUTH_SOCK; 07:45:14 unset SSH_AGENT_PID; 07:45:14 echo Agent pid 19 killed; 07:45:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:45:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:45:14 [ssh-agent] Looking for ssh-agent implementation... 07:45:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:45:15 $ docker exec 6a0c3ad8e7142b8c975f274cb7de5d7fd45eba18ac7e8dd9e88323771fb35765 ssh-agent 07:45:15 SSH_AUTH_SOCK=/tmp/ssh-OfwOEUhvxM7B/agent.51 07:45:15 SSH_AGENT_PID=57 07:45:15 Running ssh-add (command line suppressed) 07:45:15 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4308257881164156515.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4308257881164156515.key) 07:45:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:45:15 + git semver init 07:45:16 2023-04-07 07:45:16,117 [run_init] DEBUG init version:0.0.0 force:False 07:45:16 2023-04-07 07:45:16,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:45:16 2023-04-07 07:45:16,119 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:45:16 2023-04-07 07:45:16,119 [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:45:17 2023-04-07 07:45:17,496 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 07:45:17 2023-04-07 07:45:17,497 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 07:45:17 2023-04-07 07:45:17,497 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:45:17 2023-04-07 07:45:17,497 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:45:17 3.0.0-dev.17 [Pipeline] } 07:45:17 $ docker exec --env ******** --env ******** 6a0c3ad8e7142b8c975f274cb7de5d7fd45eba18ac7e8dd9e88323771fb35765 ssh-agent -k 07:45:17 unset SSH_AUTH_SOCK; 07:45:17 unset SSH_AGENT_PID; 07:45:17 echo Agent pid 57 killed; 07:45:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:45:18 + git semver [Pipeline] } 07:45:18 $ docker stop --time=1 6a0c3ad8e7142b8c975f274cb7de5d7fd45eba18ac7e8dd9e88323771fb35765 07:45:23 $ docker rm -f --volumes 6a0c3ad8e7142b8c975f274cb7de5d7fd45eba18ac7e8dd9e88323771fb35765 [Pipeline] // withDockerContainer [Pipeline] sh 07:45:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:45:24 Stashed 1 file(s) [Pipeline] echo 07:45:24 [edgeXSemver]: initialized semver on version 3.0.0-dev.17 [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:45:24 provisioning config files... 07:45:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7112856517019676359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:45:25 ---> docker-login.sh 07:45:25 nexus3.edgexfoundry.org:10001 07:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:25 Configure a credential helper to remove this warning. See 07:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:25 07:45:25 Login Succeeded 07:45:25 nexus3.edgexfoundry.org:10002 07:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:25 Configure a credential helper to remove this warning. See 07:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:25 07:45:25 Login Succeeded 07:45:25 nexus3.edgexfoundry.org:10003 07:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:25 Configure a credential helper to remove this warning. See 07:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:25 07:45:25 Login Succeeded 07:45:25 nexus3.edgexfoundry.org:10004 07:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:25 Configure a credential helper to remove this warning. See 07:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:25 07:45:25 Login Succeeded 07:45:25 docker.io 07:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:45:25 Configure a credential helper to remove this warning. See 07:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:45:25 07:45:25 Login Succeeded 07:45:25 ---> docker-login.sh ends [Pipeline] } 07:45:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:45:25 ========================================================= 07:45:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:45:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:26 + 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:45:26 Sending build context to Docker daemon 6.418MB 07:45:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:45:26 Step 2/12 : FROM ${BASE} AS builder 07:45:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:45:26 63b65145d645: Pulling fs layer 07:45:26 a2d21d5440eb: Pulling fs layer 07:45:26 935e6c44a52c: Pulling fs layer 07:45:26 94cc34f8dd06: Pulling fs layer 07:45:26 30dea6a524f1: Pulling fs layer 07:45:26 a2aff8979fd8: Pulling fs layer 07:45:26 6808be2612f2: Pulling fs layer 07:45:26 f25807f1079a: Pulling fs layer 07:45:26 30dea6a524f1: Waiting 07:45:26 a2aff8979fd8: Waiting 07:45:26 6808be2612f2: Waiting 07:45:26 94cc34f8dd06: Waiting 07:45:26 f25807f1079a: Waiting 07:45:26 a2d21d5440eb: Verifying Checksum 07:45:26 a2d21d5440eb: Download complete 07:45:26 94cc34f8dd06: Download complete 07:45:26 30dea6a524f1: Download complete 07:45:26 63b65145d645: Download complete 07:45:26 a2aff8979fd8: Verifying Checksum 07:45:26 a2aff8979fd8: Download complete 07:45:27 f25807f1079a: Verifying Checksum 07:45:27 f25807f1079a: Download complete 07:45:27 935e6c44a52c: Verifying Checksum 07:45:27 935e6c44a52c: Download complete 07:45:27 63b65145d645: Pull complete 07:45:27 6808be2612f2: Verifying Checksum 07:45:27 6808be2612f2: Download complete 07:45:28 a2d21d5440eb: Pull complete 07:45:34 935e6c44a52c: Pull complete 07:45:34 94cc34f8dd06: Pull complete 07:45:35 30dea6a524f1: Pull complete 07:45:36 a2aff8979fd8: Pull complete 07:45:39 6808be2612f2: Pull complete 07:45:39 Still waiting to schedule task 07:45:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:45:41 f25807f1079a: Pull complete 07:45:42 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:45:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:45:42 ---> 3b553350e43f 07:45:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:46:00 ---> Running in dbb160835282 07:46:01 Removing intermediate container dbb160835282 07:46:01 ---> 5e51f471988c 07:46:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:46:03 ---> Running in 0bdc802d9e90 07:46:04 Removing intermediate container 0bdc802d9e90 07:46:04 ---> c353036661a2 07:46:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:46:06 ---> Running in ec91ec149570 07:46:07 Removing intermediate container ec91ec149570 07:46:07 ---> fa54c2d586a8 07:46:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:46:08 ---> Running in 95f505aa770e 07:46:09 Removing intermediate container 95f505aa770e 07:46:09 ---> 05ee805703e4 07:46:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:10 ---> Running in 0c46a5a9ceec 07:46:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:46:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:46:11 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:46:11 (2/4) Installing libedit (20221030.3.1-r0) 07:46:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:46:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:46:11 Executing busybox-1.35.0-r29.trigger 07:46:11 OK: 269 MiB in 57 packages 07:46:17 Removing intermediate container 0c46a5a9ceec 07:46:17 ---> 680da6467483 07:46:17 Step 8/12 : WORKDIR /device-mqtt-go 07:46:18 ---> Running in 1f138c792b92 07:46:20 Removing intermediate container 1f138c792b92 07:46:20 ---> 59ee588430f3 07:46:20 Step 9/12 : COPY go.mod vendor* ./ 07:46:22 ---> 363f8da959a1 07:46:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:23 ---> Running in 3debc0776255 07:47:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7106 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 07:47:04 Running in /w/workspace/device-mqtt-go/101 [Pipeline] { [Pipeline] checkout 07:47:04 Selected Git installation does not exist. Using Default 07:47:04 The recommended git tool is: NONE 07:47:09 using credential edgex-jenkins-ssh 07:47:09 Cloning the remote Git repository 07:47:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:47:09 > git init /w/workspace/device-mqtt-go/101 # timeout=10 07:47:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:47:09 > git --version # timeout=10 07:47:09 > git --version # 'git version 2.25.1' 07:47:09 using GIT_SSH to set credentials SSH Credentials for GitHub 07:47:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:47:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:47:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:47:11 Avoid second fetch 07:47:11 Checking out Revision bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 (main) 07:47:12 Commit message: "Merge pull request #557 from weichou1229/update-profile" [Pipeline] withEnv [Pipeline] { 07:47:11 > git config core.sparsecheckout # timeout=10 07:47:12 > git checkout -f bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:47:13 % Total % Received % Xferd Average Speed Time Time Time Current 07:47:13 Dload Upload Total Spent Left Speed 07:47:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 07:47:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:47:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:47:14 + sudo tee /etc/docker/daemon.new 07:47:14 { 07:47:14 "registry-mirrors": [ 07:47:14 "https://nexus3.edgexfoundry.org:10001" 07:47:14 ], 07:47:14 "bip": "10.250.0.254/24", 07:47:14 "hosts": [ 07:47:14 "tcp://0.0.0.0:5555", 07:47:14 "unix:///var/run/docker.sock" 07:47:14 ], 07:47:14 "mtu": 1458, 07:47:14 "selinux-enabled": true, 07:47:14 "seccomp-profile": "/etc/docker/seccomp.json" 07:47:14 } [Pipeline] sh 07:47:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:47:14 + sudo service docker restart 07:47:20 Removing intermediate container 3debc0776255 07:47:20 ---> 50c225ee444b 07:47:20 Step 11/12 : COPY . . 07:47:20 ---> db4c00492ea0 07:47:20 Step 12/12 : RUN $MAKE 07:47:20 ---> Running in ce22cf0960ae 07:47:20 noop 07:47:20 Removing intermediate container ce22cf0960ae 07:47:20 ---> 81647323de03 07:47:20 Successfully built 81647323de03 07:47:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:20 + docker inspect -f . ci-base-image-x86_64 07:47:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:20 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:47:20 $ 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:47:20 $ docker top ad523d8dace2f6ff38689ecb93eabe7df146f5dbe0b9b6d0358c881c524b5a06 -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:21 + go version 07:47:21 go version go1.20.2 linux/amd64 [Pipeline] } 07:47:21 $ docker stop --time=1 ad523d8dace2f6ff38689ecb93eabe7df146f5dbe0b9b6d0358c881c524b5a06 07:47:22 $ docker rm -f --volumes ad523d8dace2f6ff38689ecb93eabe7df146f5dbe0b9b6d0358c881c524b5a06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:23 + docker inspect -f . ci-base-image-x86_64 07:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:23 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:47:23 $ 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:47:23 $ docker top 5b190528e26a66394daf70110e52ec3abc99eca26c83af84a1dc86ea0523e07b -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 07:47:24 + make test 07:47:24 go test ./... -coverprofile=coverage.out ./... 07:47:29 ? github.com/edgexfoundry/device-mqtt-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:47:33 provisioning config files... 07:47:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/101@tmp/config16656124201200376768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:33 ---> docker-login.sh 07:47:33 nexus3.edgexfoundry.org:10001 07:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:34 Configure a credential helper to remove this warning. See 07:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:34 07:47:34 Login Succeeded 07:47:34 nexus3.edgexfoundry.org:10002 07:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:34 Configure a credential helper to remove this warning. See 07:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:34 07:47:34 Login Succeeded 07:47:34 nexus3.edgexfoundry.org:10003 07:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:34 Configure a credential helper to remove this warning. See 07:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:34 07:47:34 Login Succeeded 07:47:34 nexus3.edgexfoundry.org:10004 07:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:35 Configure a credential helper to remove this warning. See 07:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:35 07:47:35 Login Succeeded 07:47:35 docker.io 07:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:35 Configure a credential helper to remove this warning. See 07:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:35 07:47:35 Login Succeeded 07:47:35 ---> docker-login.sh ends [Pipeline] } 07:47:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:47:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:47:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:47:36 ========================================================= 07:47:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:47:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:36 + 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:47:36 Sending build context to Docker daemon 3.323MB 07:47:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:47:36 Step 2/12 : FROM ${BASE} AS builder 07:47:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:47:36 af6eaf76a39c: Pulling fs layer 07:47:36 55522c791124: Pulling fs layer 07:47:36 ce5c4a1c91eb: Pulling fs layer 07:47:36 169dfbe0d373: Pulling fs layer 07:47:36 e1ff8fa3b103: Pulling fs layer 07:47:36 52ebb69f0ebf: Pulling fs layer 07:47:36 5abe8eddf0d5: Pulling fs layer 07:47:36 52ebb69f0ebf: Waiting 07:47:36 e1ff8fa3b103: Waiting 07:47:36 55522c791124: Download complete 07:47:36 169dfbe0d373: Verifying Checksum 07:47:36 169dfbe0d373: Download complete 07:47:36 e1ff8fa3b103: Verifying Checksum 07:47:36 e1ff8fa3b103: Download complete 07:47:36 af6eaf76a39c: Verifying Checksum 07:47:36 af6eaf76a39c: Download complete 07:47:37 af6eaf76a39c: Pull complete 07:47:37 5abe8eddf0d5: Verifying Checksum 07:47:37 5abe8eddf0d5: Download complete 07:47:39 ce5c4a1c91eb: Verifying Checksum 07:47:39 ce5c4a1c91eb: Download complete 07:47:39 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:47:39 52ebb69f0ebf: Verifying Checksum 07:47:39 52ebb69f0ebf: Download complete 07:47:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:47:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.020s coverage: 22.2% of statements 07:47:40 55522c791124: Pull complete 07:47:46 go vet ./... 07:47:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:47:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:47:49 ./bin/test-attribution-txt.sh 07:47:49 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:47:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:47:49 $ docker stop --time=1 5b190528e26a66394daf70110e52ec3abc99eca26c83af84a1dc86ea0523e07b 07:47:50 ce5c4a1c91eb: Pull complete 07:47:51 169dfbe0d373: Pull complete 07:47:51 e1ff8fa3b103: Pull complete 07:47:51 $ docker rm -f --volumes 5b190528e26a66394daf70110e52ec3abc99eca26c83af84a1dc86ea0523e07b [Pipeline] // withDockerContainer [Pipeline] sh 07:47:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:47:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:47:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:47:53 + ls -al . 07:47:53 total 180 07:47:53 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 07:47 . 07:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 07:44 .. 07:47:53 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 07:44 .dockerignore 07:47:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 07:45 .git 07:47:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:44 .github 07:47:53 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 07:44 .gitignore 07:47:53 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 07:44 .golangci.yml 07:47:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 07:45 .semver 07:47:53 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 07:44 Attribution.txt 07:47:53 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 07:44 CHANGELOG.md 07:47:53 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 07:44 Dockerfile 07:47:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 07:44 GOVERNANCE.md 07:47:53 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 07:44 Jenkinsfile 07:47:53 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 07:44 LICENSE 07:47:53 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 07:44 Makefile 07:47:53 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 07:44 OWNERS.md 07:47:53 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 07:44 README.md 07:47:53 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 07:45 VERSION 07:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 07:44 bin 07:47:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:44 cmd 07:47:53 -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 07:47 coverage.out 07:47:53 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 7 07:44 go.mod 07:47:53 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 07:44 go.sum 07:47:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:44 internal 07:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 07:44 mock 07:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 07:44 snap 07:47:53 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 07:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:53 + 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=bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 --label arch=amd64 --label version=3.0.0-dev.17 . 07:47:53 Sending build context to Docker daemon 6.437MB 07:47:53 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:47:53 Step 2/24 : FROM ${BASE} AS builder 07:47:53 ---> 81647323de03 07:47:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:47:53 ---> Running in 8ca6b6ef4818 07:47:53 Removing intermediate container 8ca6b6ef4818 07:47:53 ---> e39e776678fa 07:47:53 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:47:53 ---> Running in 8300b83bf625 07:47:53 Removing intermediate container 8300b83bf625 07:47:53 ---> 5f89df361192 07:47:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:47:53 ---> Running in 03c7fc77bebc 07:47:53 Removing intermediate container 03c7fc77bebc 07:47:53 ---> 681daab1563d 07:47:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:47:53 ---> Running in ce32d039459a 07:47:53 Removing intermediate container ce32d039459a 07:47:53 ---> 885ccc49e83a 07:47:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:47:54 ---> Running in 1db6b2f7f6d0 07:47:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:47:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:47:54 OK: 269 MiB in 57 packages 07:47:55 Removing intermediate container 1db6b2f7f6d0 07:47:55 ---> 660758953770 07:47:55 Step 8/24 : WORKDIR /device-mqtt-go 07:47:55 ---> Running in 96b12185321e 07:47:55 Removing intermediate container 96b12185321e 07:47:55 ---> 5f3c1eab8df7 07:47:55 Step 9/24 : COPY go.mod vendor* ./ 07:47:55 ---> 3ae2b7438fb6 07:47:55 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:47:55 ---> Running in 28719172ee5b 07:47:56 Removing intermediate container 28719172ee5b 07:47:56 ---> ab5054956c4a 07:47:56 Step 11/24 : COPY . . 07:47:56 ---> ea8fbce62e3e 07:47:56 Step 12/24 : RUN $MAKE 07:47:56 ---> Running in 849df4683ae8 07:47:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:47:58 52ebb69f0ebf: Pull complete 07:48:00 5abe8eddf0d5: Pull complete 07:48:00 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:48:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:48:00 ---> 6cb57ee374ae 07:48:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:48:02 ---> Running in c18658196a29 07:48:02 Removing intermediate container c18658196a29 07:48:02 ---> 4ba5ab8390d1 07:48:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:02 ---> Running in 8101bebf30fb 07:48:02 Removing intermediate container 8101bebf30fb 07:48:02 ---> ac9679588cc3 07:48:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:48:02 ---> Running in 71fd29815ca9 07:48:03 Removing intermediate container 71fd29815ca9 07:48:03 ---> 7f0156841369 07:48:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:48:03 ---> Running in 23ccb9d981ee 07:48:03 Removing intermediate container 23ccb9d981ee 07:48:03 ---> 9c9f8261bf9d 07:48:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:03 ---> Running in 1661494b7966 07:48:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:48:06 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:48:06 (2/4) Installing libedit (20221030.3.1-r0) 07:48:06 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:48:06 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:48:06 Executing busybox-1.35.0-r29.trigger 07:48:06 OK: 268 MiB in 57 packages 07:48:07 Removing intermediate container 1661494b7966 07:48:07 ---> 51f3d3a4c506 07:48:07 Step 8/12 : WORKDIR /device-mqtt-go 07:48:07 ---> Running in 7204d7475cba 07:48:08 Removing intermediate container 7204d7475cba 07:48:08 ---> 289e1d8ddd86 07:48:08 Step 9/12 : COPY go.mod vendor* ./ 07:48:08 ---> 2e34b70a9a8a 07:48:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:08 ---> Running in 64f5af3968be 07:48:15 Removing intermediate container 849df4683ae8 07:48:15 ---> bb2b468daea7 07:48:15 Step 13/24 : FROM alpine:3.17 07:48:15 3.17: Pulling from library/alpine 07:48:15 f56be85fc22e: Pulling fs layer 07:48:15 f56be85fc22e: Verifying Checksum 07:48:15 f56be85fc22e: Download complete 07:48:15 f56be85fc22e: Pull complete 07:48:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:48:15 Status: Downloaded newer image for alpine:3.17 07:48:15 ---> 9ed4aefc74f6 07:48:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:48:15 ---> Running in 1f297d65c6df 07:48:15 Removing intermediate container 1f297d65c6df 07:48:15 ---> a731f507e5c4 07:48:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:48:15 ---> Running in 901f52ad01fe 07:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:48:15 (1/1) Installing dumb-init (1.2.5-r2) 07:48:15 Executing busybox-1.35.0-r29.trigger 07:48:15 OK: 7 MiB in 16 packages 07:48:15 Removing intermediate container 901f52ad01fe 07:48:15 ---> 77d6774f6ef4 07:48:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:48:15 ---> 96d16fe3228c 07:48:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:48:15 ---> 86aff9be1976 07:48:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:48:16 ---> 36a130737d96 07:48:16 Step 19/24 : EXPOSE 59982 07:48:16 ---> Running in 5f21bdde2ae5 07:48:16 Removing intermediate container 5f21bdde2ae5 07:48:16 ---> 96e516b041d0 07:48:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:48:16 ---> Running in 63eb44ff33dc 07:48:16 Removing intermediate container 63eb44ff33dc 07:48:16 ---> 92cdb95f55b9 07:48:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:48:16 ---> Running in c64d02da1f17 07:48:16 Removing intermediate container c64d02da1f17 07:48:16 ---> e206fa5279cf 07:48:16 Step 22/24 : LABEL arch=amd64 07:48:16 ---> Running in 4bfdd890ef05 07:48:16 Removing intermediate container 4bfdd890ef05 07:48:16 ---> 02784aceb5c5 07:48:16 Step 23/24 : LABEL git_sha=bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:48:16 ---> Running in 023abbcef44e 07:48:16 Removing intermediate container 023abbcef44e 07:48:16 ---> 94d20d7910c1 07:48:16 Step 24/24 : LABEL version=3.0.0-dev.17 07:48:16 ---> Running in d8b41d4736bf 07:48:17 Removing intermediate container d8b41d4736bf 07:48:17 ---> af37357a54c0 07:48:17 [Warning] One or more build-args [ARCH] were not consumed 07:48:17 Successfully built af37357a54c0 07:48:17 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:48:17 provisioning config files... 07:48:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17309364964696062286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:17 ---> docker-login.sh 07:48:17 nexus3.edgexfoundry.org:10001 07:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:17 Configure a credential helper to remove this warning. See 07:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:17 07:48:17 Login Succeeded 07:48:17 nexus3.edgexfoundry.org:10002 07:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:17 Configure a credential helper to remove this warning. See 07:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:17 07:48:17 Login Succeeded 07:48:17 nexus3.edgexfoundry.org:10003 07:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:17 Configure a credential helper to remove this warning. See 07:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:17 07:48:17 Login Succeeded 07:48:17 nexus3.edgexfoundry.org:10004 07:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:17 Configure a credential helper to remove this warning. See 07:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:17 07:48:17 Login Succeeded 07:48:17 docker.io 07:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:18 Configure a credential helper to remove this warning. See 07:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:18 07:48:18 Login Succeeded 07:48:18 ---> docker-login.sh ends [Pipeline] } 07:48:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:48:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:18 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 07:48:18 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:48:18 latest 07:48:18 3.0.0-dev.17 07:48:18 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17 07:48:18 main 07:48:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:48:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:48:18 dc225b6b5ef4: Preparing 07:48:18 d9a306d5007b: Preparing 07:48:18 50326fff904b: Preparing 07:48:18 3898a9bdf016: Preparing 07:48:18 f1417ff83b31: Preparing 07:48:18 f1417ff83b31: Layer already exists 07:48:18 dc225b6b5ef4: Pushed 07:48:18 3898a9bdf016: Pushed 07:48:18 d9a306d5007b: Pushed 07:48:21 50326fff904b: Pushed 07:48:21 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4: digest: sha256:0441fd65a54011ea62bf01ac8a758f1495f24b4d818a72c10f154a50d9c9b98d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:48:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:48:21 dc225b6b5ef4: Preparing 07:48:21 d9a306d5007b: Preparing 07:48:21 50326fff904b: Preparing 07:48:21 3898a9bdf016: Preparing 07:48:21 f1417ff83b31: Preparing 07:48:21 f1417ff83b31: Layer already exists 07:48:21 dc225b6b5ef4: Layer already exists 07:48:21 50326fff904b: Layer already exists 07:48:21 3898a9bdf016: Layer already exists 07:48:21 d9a306d5007b: Layer already exists 07:48:21 latest: digest: sha256:0441fd65a54011ea62bf01ac8a758f1495f24b4d818a72c10f154a50d9c9b98d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.17 07:48:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:48:22 dc225b6b5ef4: Preparing 07:48:22 d9a306d5007b: Preparing 07:48:22 50326fff904b: Preparing 07:48:22 3898a9bdf016: Preparing 07:48:22 f1417ff83b31: Preparing 07:48:22 f1417ff83b31: Layer already exists 07:48:22 3898a9bdf016: Layer already exists 07:48:22 50326fff904b: Layer already exists 07:48:22 d9a306d5007b: Layer already exists 07:48:22 dc225b6b5ef4: Layer already exists 07:48:22 3.0.0-dev.17: digest: sha256:0441fd65a54011ea62bf01ac8a758f1495f24b4d818a72c10f154a50d9c9b98d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17 07:48:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:48:23 dc225b6b5ef4: Preparing 07:48:23 d9a306d5007b: Preparing 07:48:23 50326fff904b: Preparing 07:48:23 3898a9bdf016: Preparing 07:48:23 f1417ff83b31: Preparing 07:48:23 dc225b6b5ef4: Layer already exists 07:48:23 d9a306d5007b: Layer already exists 07:48:23 f1417ff83b31: Layer already exists 07:48:23 50326fff904b: Layer already exists 07:48:23 3898a9bdf016: Layer already exists 07:48:23 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17: digest: sha256:0441fd65a54011ea62bf01ac8a758f1495f24b4d818a72c10f154a50d9c9b98d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 07:48:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:48:23 dc225b6b5ef4: Preparing 07:48:23 d9a306d5007b: Preparing 07:48:23 50326fff904b: Preparing 07:48:23 3898a9bdf016: Preparing 07:48:23 f1417ff83b31: Preparing 07:48:23 dc225b6b5ef4: Layer already exists 07:48:23 d9a306d5007b: Layer already exists 07:48:23 f1417ff83b31: Layer already exists 07:48:23 50326fff904b: Layer already exists 07:48:23 3898a9bdf016: Layer already exists 07:48:23 main: digest: sha256:0441fd65a54011ea62bf01ac8a758f1495f24b4d818a72c10f154a50d9c9b98d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:48:23 ===================================================== [Pipeline] echo 07:48:23 taggedImages: 07:48:23 - nexus3.edgexfoundry.org:10004/device-mqtt:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:48:23 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:48:23 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.17 07:48:23 - nexus3.edgexfoundry.org:10004/device-mqtt:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17 07:48:23 - 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:48:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:24 07:48:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:24 latest: Pulling from edgex-lftools-log-publisher 07:48:24 5eb5b503b376: Pulling fs layer 07:48:24 5c69ac0246d0: Pulling fs layer 07:48:24 ec43610c2a17: Pulling fs layer 07:48:24 3a2ae6a8a46f: Pulling fs layer 07:48:24 33b1e0a273af: Pulling fs layer 07:48:24 5d3b04190fa2: Pulling fs layer 07:48:24 2f39f015ded8: Pulling fs layer 07:48:24 3a2ae6a8a46f: Waiting 07:48:24 33b1e0a273af: Waiting 07:48:24 5d3b04190fa2: Waiting 07:48:24 2f39f015ded8: Waiting 07:48:24 5c69ac0246d0: Download complete 07:48:24 3a2ae6a8a46f: Verifying Checksum 07:48:24 3a2ae6a8a46f: Download complete 07:48:24 33b1e0a273af: Verifying Checksum 07:48:24 33b1e0a273af: Download complete 07:48:24 5d3b04190fa2: Verifying Checksum 07:48:24 5d3b04190fa2: Download complete 07:48:24 ec43610c2a17: Download complete 07:48:24 5eb5b503b376: Verifying Checksum 07:48:24 5eb5b503b376: Download complete 07:48:25 2f39f015ded8: Download complete 07:48:25 5eb5b503b376: Pull complete 07:48:26 5c69ac0246d0: Pull complete 07:48:26 ec43610c2a17: Pull complete 07:48:26 3a2ae6a8a46f: Pull complete 07:48:26 33b1e0a273af: Pull complete 07:48:26 5d3b04190fa2: Pull complete 07:48:31 2f39f015ded8: Pull complete 07:48:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:48:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:31 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:48:31 $ 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:48:33 $ docker top 99ec9ee653524a9f56144b4693558c3e3224836d340eedb25b4c098e51904a0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:33 ---> job-cost.sh 07:48:33 lf-activate-venv: SKIPPING 07:48:33 INFO: No Stack... 07:48:33 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:33 INFO: Archiving Costs [Pipeline] sh 07:48:34 + + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csvcut 07:48:34 -d, -f6 [Pipeline] lock 07:48:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-101-stack-cost] 07:48:34 Resource [jenkins-edgexfoundry-device-mqtt-go-main-101-stack-cost] did not exist. Created. 07:48:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:34 + echo total: 0.2199999988079071 [Pipeline] stash 07:48:34 Stashed 1 file(s) [Pipeline] } 07:48:34 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-101-stack-cost] [Pipeline] // lock [Pipeline] } 07:48:34 $ docker stop --time=1 99ec9ee653524a9f56144b4693558c3e3224836d340eedb25b4c098e51904a0c 07:48:36 $ docker rm -f --volumes 99ec9ee653524a9f56144b4693558c3e3224836d340eedb25b4c098e51904a0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:49:16 Removing intermediate container 64f5af3968be 07:49:16 ---> 7b4214c14c7b 07:49:16 Step 11/12 : COPY . . 07:49:16 ---> 6f036fd4b071 07:49:16 Step 12/12 : RUN $MAKE 07:49:16 ---> Running in dd2342f04530 07:49:16 noop 07:49:16 Removing intermediate container dd2342f04530 07:49:16 ---> 87f66a31932c 07:49:16 Successfully built 87f66a31932c 07:49:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:16 + docker inspect -f . ci-base-image-arm64 07:49:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:17 prd-ubuntu20.04-docker-arm64-4c-16g-7106 does not seem to be running inside a container 07:49:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/101 -v /w/workspace/device-mqtt-go/101:/w/workspace/device-mqtt-go/101:rw,z -v /w/workspace/device-mqtt-go/101@tmp:/w/workspace/device-mqtt-go/101@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:49:18 $ docker top 007b4608791c7045b8efc4cbdf8e84008b5c9c435719f88187e673ed1e2c3645 -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:19 + go version 07:49:19 go version go1.20.2 linux/arm64 [Pipeline] } 07:49:19 $ docker stop --time=1 007b4608791c7045b8efc4cbdf8e84008b5c9c435719f88187e673ed1e2c3645 07:49:21 $ docker rm -f --volumes 007b4608791c7045b8efc4cbdf8e84008b5c9c435719f88187e673ed1e2c3645 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:21 + docker inspect -f . ci-base-image-arm64 07:49:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:21 prd-ubuntu20.04-docker-arm64-4c-16g-7106 does not seem to be running inside a container 07:49:21 $ 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/101 -v /w/workspace/device-mqtt-go/101:/w/workspace/device-mqtt-go/101:rw,z -v /w/workspace/device-mqtt-go/101@tmp:/w/workspace/device-mqtt-go/101@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:49:23 $ docker top 8f9033d4c1849c42ac5a0e61a51e33bc85678982cc249281df23a3c6b20c60c8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:23 + git config --global --add safe.directory /w/workspace/device-mqtt-go/101 [Pipeline] fileExists [Pipeline] sh 07:49:24 + make test 07:49:24 go test ./... -coverprofile=coverage.out ./... 07:50:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:52:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:52:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:52:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.083s coverage: 22.2% of statements 07:52:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:52:09 go vet ./... 07:52:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:52:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:52:42 ./bin/test-attribution-txt.sh 07:52:42 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:52:42 $ docker stop --time=1 8f9033d4c1849c42ac5a0e61a51e33bc85678982cc249281df23a3c6b20c60c8 07:52:45 $ docker rm -f --volumes 8f9033d4c1849c42ac5a0e61a51e33bc85678982cc249281df23a3c6b20c60c8 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:52:46 Warning: overwriting stash ‘coverage-report’ 07:52:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:52:48 + ls -al . 07:52:48 total 176 07:52:48 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 07:49 . 07:52:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 07:47 .. 07:52:48 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 07:47 .dockerignore 07:52:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 07:47 .git 07:52:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:47 .github 07:52:48 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 07:47 .gitignore 07:52:48 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 07:47 .golangci.yml 07:52:48 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 07:47 Attribution.txt 07:52:48 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 07:47 CHANGELOG.md 07:52:48 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 07:47 Dockerfile 07:52:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 07:47 GOVERNANCE.md 07:52:48 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 07:47 Jenkinsfile 07:52:48 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 07:47 LICENSE 07:52:48 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 07:47 Makefile 07:52:48 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 07:47 OWNERS.md 07:52:48 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 07:47 README.md 07:52:48 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 07:45 VERSION 07:52:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 07:47 bin 07:52:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:47 cmd 07:52:48 -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 07:52 coverage.out 07:52:48 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 7 07:47 go.mod 07:52:48 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 07:47 go.sum 07:52:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:47 internal 07:52:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 07:47 mock 07:52:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 07:47 snap 07:52:48 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:48 + 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=bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 --label arch=arm64 --label version=3.0.0-dev.17 . 07:52:48 Sending build context to Docker daemon 3.342MB 07:52:48 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:52:48 Step 2/24 : FROM ${BASE} AS builder 07:52:48 ---> 87f66a31932c 07:52:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:52:48 ---> Running in e56e91d1d032 07:52:49 Removing intermediate container e56e91d1d032 07:52:49 ---> f0fb64ee7867 07:52:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:52:49 ---> Running in 698d09cf0b5d 07:52:49 Removing intermediate container 698d09cf0b5d 07:52:49 ---> 6025cfce4aea 07:52:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:52:49 ---> Running in cc505cabfb27 07:52:49 Removing intermediate container cc505cabfb27 07:52:49 ---> b9f5a1383c39 07:52:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:52:49 ---> Running in 074ac7c5d422 07:52:50 Removing intermediate container 074ac7c5d422 07:52:50 ---> fc7eeb165ee9 07:52:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:52:50 ---> Running in 87f4a2b085ac 07:52:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:52:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:52:53 OK: 268 MiB in 57 packages 07:52:53 Removing intermediate container 87f4a2b085ac 07:52:53 ---> 5c91e221d363 07:52:53 Step 8/24 : WORKDIR /device-mqtt-go 07:52:53 ---> Running in 954f2def4dab 07:52:54 Removing intermediate container 954f2def4dab 07:52:54 ---> 449ebac39f33 07:52:54 Step 9/24 : COPY go.mod vendor* ./ 07:52:54 ---> 1df0523520b3 07:52:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:55 ---> Running in 8f2e64bced25 07:52:59 Removing intermediate container 8f2e64bced25 07:52:59 ---> b6d110d3bb55 07:52:59 Step 11/24 : COPY . . 07:52:59 ---> c07f4a07cb2b 07:52:59 Step 12/24 : RUN $MAKE 07:52:59 ---> Running in 1daf0e91acb7 07:53:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:55:22 Removing intermediate container 1daf0e91acb7 07:55:22 ---> f6daa65af3c2 07:55:22 Step 13/24 : FROM alpine:3.17 07:55:22 3.17: Pulling from library/alpine 07:55:22 c41833b44d91: Pulling fs layer 07:55:22 c41833b44d91: Verifying Checksum 07:55:22 c41833b44d91: Download complete 07:55:22 c41833b44d91: Pull complete 07:55:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:55:22 Status: Downloaded newer image for alpine:3.17 07:55:22 ---> 51e60588ff2c 07:55:22 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:55:22 ---> Running in 459adb7ef42a 07:55:23 Removing intermediate container 459adb7ef42a 07:55:23 ---> eb39442e9256 07:55:23 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:55:23 ---> Running in b41adfdbdb5e 07:55:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:55:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:55:26 (1/1) Installing dumb-init (1.2.5-r2) 07:55:26 Executing busybox-1.35.0-r29.trigger 07:55:26 OK: 8 MiB in 16 packages 07:55:26 Removing intermediate container b41adfdbdb5e 07:55:26 ---> 61ea84336655 07:55:26 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:55:28 ---> 16f45ffa44cf 07:55:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:55:28 ---> 51e22296c8f9 07:55:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:55:29 ---> 5e9178d27cde 07:55:29 Step 19/24 : EXPOSE 59982 07:55:29 ---> Running in fb60f436d313 07:55:29 Removing intermediate container fb60f436d313 07:55:29 ---> f6cd13c33fbb 07:55:29 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:55:29 ---> Running in 68ed6858d3fa 07:55:30 Removing intermediate container 68ed6858d3fa 07:55:30 ---> 13d6edc3e7b3 07:55:30 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:55:30 ---> Running in 03f34e9f7257 07:55:30 Removing intermediate container 03f34e9f7257 07:55:30 ---> dc45f7cbf61b 07:55:30 Step 22/24 : LABEL arch=arm64 07:55:30 ---> Running in 4390058395ca 07:55:30 Removing intermediate container 4390058395ca 07:55:30 ---> 1dc09ae12578 07:55:30 Step 23/24 : LABEL git_sha=bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:55:30 ---> Running in ac75bba5e7d6 07:55:31 Removing intermediate container ac75bba5e7d6 07:55:31 ---> d0eebcb4a23c 07:55:31 Step 24/24 : LABEL version=3.0.0-dev.17 07:55:31 ---> Running in 0451ad1137f5 07:55:31 Removing intermediate container 0451ad1137f5 07:55:31 ---> 1bce675acbff 07:55:31 [Warning] One or more build-args [ARCH] were not consumed 07:55:31 Successfully built 1bce675acbff 07:55:31 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:55:31 provisioning config files... 07:55:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/101@tmp/config12966322379109742939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:32 ---> docker-login.sh 07:55:32 nexus3.edgexfoundry.org:10001 07:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:32 Configure a credential helper to remove this warning. See 07:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:32 07:55:32 Login Succeeded 07:55:32 nexus3.edgexfoundry.org:10002 07:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:32 Configure a credential helper to remove this warning. See 07:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:32 07:55:32 Login Succeeded 07:55:32 nexus3.edgexfoundry.org:10003 07:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:33 Configure a credential helper to remove this warning. See 07:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:33 07:55:33 Login Succeeded 07:55:33 nexus3.edgexfoundry.org:10004 07:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:33 Configure a credential helper to remove this warning. See 07:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:33 07:55:33 Login Succeeded 07:55:33 docker.io 07:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:34 Configure a credential helper to remove this warning. See 07:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:34 07:55:34 Login Succeeded 07:55:34 ---> docker-login.sh ends [Pipeline] } 07:55:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:55:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:55:34 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 07:55:34 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:55:34 latest 07:55:34 3.0.0-dev.17 07:55:34 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17 07:55:34 main 07:55:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:55:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:55:34 d81544d45458: Preparing 07:55:34 2aec04d08e4f: Preparing 07:55:34 da7904fbc7ea: Preparing 07:55:34 7ea0e254f426: Preparing 07:55:34 26cbea5cba74: Preparing 07:55:34 26cbea5cba74: Layer already exists 07:55:35 d81544d45458: Pushed 07:55:35 2aec04d08e4f: Pushed 07:55:35 7ea0e254f426: Pushed 07:55:41 da7904fbc7ea: Pushed 07:55:41 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4: digest: sha256:9d7bb2b42b82e151a2777efa5853b47deb171358b4bdaec160977feee3f7ed1d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:55:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:55:42 d81544d45458: Preparing 07:55:42 2aec04d08e4f: Preparing 07:55:42 da7904fbc7ea: Preparing 07:55:42 7ea0e254f426: Preparing 07:55:42 26cbea5cba74: Preparing 07:55:42 7ea0e254f426: Layer already exists 07:55:42 d81544d45458: Layer already exists 07:55:42 2aec04d08e4f: Layer already exists 07:55:42 da7904fbc7ea: Layer already exists 07:55:42 26cbea5cba74: Layer already exists 07:55:42 latest: digest: sha256:9d7bb2b42b82e151a2777efa5853b47deb171358b4bdaec160977feee3f7ed1d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.17 07:55:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:55:43 d81544d45458: Preparing 07:55:43 2aec04d08e4f: Preparing 07:55:43 da7904fbc7ea: Preparing 07:55:43 7ea0e254f426: Preparing 07:55:43 26cbea5cba74: Preparing 07:55:43 26cbea5cba74: Layer already exists 07:55:43 7ea0e254f426: Layer already exists 07:55:43 2aec04d08e4f: Layer already exists 07:55:43 da7904fbc7ea: Layer already exists 07:55:43 d81544d45458: Layer already exists 07:55:43 3.0.0-dev.17: digest: sha256:9d7bb2b42b82e151a2777efa5853b47deb171358b4bdaec160977feee3f7ed1d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17 07:55:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:55:44 d81544d45458: Preparing 07:55:44 2aec04d08e4f: Preparing 07:55:44 da7904fbc7ea: Preparing 07:55:44 7ea0e254f426: Preparing 07:55:44 26cbea5cba74: Preparing 07:55:44 2aec04d08e4f: Layer already exists 07:55:44 7ea0e254f426: Layer already exists 07:55:44 da7904fbc7ea: Layer already exists 07:55:44 d81544d45458: Layer already exists 07:55:44 26cbea5cba74: Layer already exists 07:55:44 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17: digest: sha256:9d7bb2b42b82e151a2777efa5853b47deb171358b4bdaec160977feee3f7ed1d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 07:55:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:55:45 d81544d45458: Preparing 07:55:45 2aec04d08e4f: Preparing 07:55:45 da7904fbc7ea: Preparing 07:55:45 7ea0e254f426: Preparing 07:55:45 26cbea5cba74: Preparing 07:55:45 d81544d45458: Layer already exists 07:55:45 da7904fbc7ea: Layer already exists 07:55:45 26cbea5cba74: Layer already exists 07:55:45 2aec04d08e4f: Layer already exists 07:55:45 7ea0e254f426: Layer already exists 07:55:45 main: digest: sha256:9d7bb2b42b82e151a2777efa5853b47deb171358b4bdaec160977feee3f7ed1d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:55:45 ===================================================== [Pipeline] echo 07:55:45 taggedImages: 07:55:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 07:55:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:55:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.17 07:55:45 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4-3.0.0-dev.17 07:55:45 - 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:55:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:55:46 07:55:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:55:46 arm64: Pulling from edgex-lftools-log-publisher 07:55:46 8998bd30e6a1: Pulling fs layer 07:55:46 04944245beec: Pulling fs layer 07:55:46 699f458cf7ca: Pulling fs layer 07:55:46 765212b225bb: Pulling fs layer 07:55:46 f23df028b6ca: Pulling fs layer 07:55:46 d65c8cfc05b1: Pulling fs layer 07:55:46 2437ff75d9bd: Pulling fs layer 07:55:46 765212b225bb: Waiting 07:55:46 f23df028b6ca: Waiting 07:55:46 d65c8cfc05b1: Waiting 07:55:46 2437ff75d9bd: Waiting 07:55:46 04944245beec: Verifying Checksum 07:55:46 04944245beec: Download complete 07:55:46 765212b225bb: Verifying Checksum 07:55:46 765212b225bb: Download complete 07:55:46 f23df028b6ca: Verifying Checksum 07:55:46 f23df028b6ca: Download complete 07:55:46 d65c8cfc05b1: Verifying Checksum 07:55:46 d65c8cfc05b1: Download complete 07:55:47 699f458cf7ca: Verifying Checksum 07:55:47 699f458cf7ca: Download complete 07:55:47 8998bd30e6a1: Verifying Checksum 07:55:47 8998bd30e6a1: Download complete 07:55:49 2437ff75d9bd: Verifying Checksum 07:55:49 2437ff75d9bd: Download complete 07:55:51 8998bd30e6a1: Pull complete 07:55:51 04944245beec: Pull complete 07:55:53 699f458cf7ca: Pull complete 07:55:53 765212b225bb: Pull complete 07:55:54 f23df028b6ca: Pull complete 07:55:54 d65c8cfc05b1: Pull complete 07:56:09 2437ff75d9bd: Pull complete 07:56:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:56:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:56:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:09 prd-ubuntu20.04-docker-arm64-4c-16g-7106 does not seem to be running inside a container 07:56:09 $ 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/101 -v /w/workspace/device-mqtt-go/101:/w/workspace/device-mqtt-go/101:rw,z -v /w/workspace/device-mqtt-go/101@tmp:/w/workspace/device-mqtt-go/101@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:56:12 $ docker top dac9608d5792f26d849446e77a29fd8b08ce43043ddb3cfe21510f9cdba8bac6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:13 ---> job-cost.sh 07:56:13 lf-activate-venv: SKIPPING 07:56:13 INFO: No Stack... 07:56:13 INFO: Retrieving Pricing Info for: v3-standard-4 07:56:14 INFO: Archiving Costs [Pipeline] sh 07:56:15 + cat /w/workspace/device-mqtt-go/101/archives/cost.csv 07:56:15 + cut -d, -f6 [Pipeline] lock 07:56:15 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-101-stack-cost] 07:56:15 Resource [jenkins-edgexfoundry-device-mqtt-go-main-101-stack-cost] did not exist. Created. 07:56:15 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:56:16 /w/workspace/device-mqtt-go/101@tmp/durable-59fc6027/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:56:16 + echo total: 0.10999999940395355 [Pipeline] stash 07:56:16 Warning: overwriting stash ‘stack-cost’ 07:56:16 Stashed 1 file(s) [Pipeline] } 07:56:16 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-101-stack-cost] [Pipeline] // lock [Pipeline] } 07:56:16 $ docker stop --time=1 dac9608d5792f26d849446e77a29fd8b08ce43043ddb3cfe21510f9cdba8bac6 07:56:18 $ docker rm -f --volumes dac9608d5792f26d849446e77a29fd8b08ce43043ddb3cfe21510f9cdba8bac6 [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:56:18 provisioning config files... 07:56:18 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3670916387571651288tmp [Pipeline] { [Pipeline] sh 07:56:19 + set +x 07:56:19 + curl -s https://codecov.io/bash 07:56:19 + bash -s -- 07:56:19 07:56:19 _____ _ 07:56:19 / ____| | | 07:56:19 | | ___ __| | ___ ___ _____ __ 07:56:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:56:19 | |___| (_) | (_| | __/ (_| (_) \ V / 07:56:19 \_____\___/ \__,_|\___|\___\___/ \_/ 07:56:19 Bash-1.0.6 07:56:19 07:56:19 07:56:19 ==> git version 2.25.1 found 07:56:19 ==> 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:56:19 Release-Date: 2020-01-08 07:56:19 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:56:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:56:19 ==> Jenkins CI detected. 07:56:19 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 07:56:19 project root: . 07:56:19 --> token set from env 07:56:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:56:19 ==> Running gcov in . (disable via -X gcov) 07:56:19 ==> Python coveragepy not found 07:56:19 ==> Searching for coverage reports in: 07:56:19 + . 07:56:19 -> Found 1 reports 07:56:19 ==> Detecting git/mercurial file structure 07:56:19 ==> Reading reports 07:56:19 + ./coverage.out bytes=18047 07:56:19 ==> Appending adjustments 07:56:19 https://docs.codecov.io/docs/fixing-reports 07:56:19 + Found adjustments 07:56:19 ==> Gzipping contents 07:56:19 4.0K /tmp/codecov.wLo4Am.gz 07:56:19 ==> Uploading reports 07:56:19 url: https://codecov.io 07:56:19 query: branch=main&commit=bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:56:19 -> Pinging Codecov 07:56:19 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=bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:56:19 -> Uploading to 07:56:19 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/7D719EC7BBE17E464838252E33014C33/bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4/477f6b37-afb9-4bcf-938f-0cfdead67b6d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T075619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8148213b9563b75b81489a0f4a018530260db8869435926654725313a1fc5ca2 07:56:19 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:19 Dload Upload Total Spent Left Speed 07:56:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3127 0 0 100 3127 0 15403 --:--:-- --:--:-- --:--:-- 15328 100 3127 0 0 100 3127 0 8959 --:--:-- --:--:-- --:--:-- 8959 07:56:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [Pipeline] } 07:56:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:56:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:56:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:56:20 07:56:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:56:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:56:20 df9b9388f04a: Pulling fs layer 07:56:20 52dc419b0ee2: Pulling fs layer 07:56:20 25bc292e5bac: Pulling fs layer 07:56:20 114826534d7a: Pulling fs layer 07:56:20 4657fd5d0bcf: Pulling fs layer 07:56:20 6ad1cebc031e: Pulling fs layer 07:56:20 8a3aa393b2d8: Pulling fs layer 07:56:20 4657fd5d0bcf: Waiting 07:56:20 6ad1cebc031e: Waiting 07:56:20 8a3aa393b2d8: Waiting 07:56:20 114826534d7a: Waiting 07:56:20 25bc292e5bac: Verifying Checksum 07:56:20 25bc292e5bac: Download complete 07:56:20 52dc419b0ee2: Download complete 07:56:20 4657fd5d0bcf: Download complete 07:56:20 df9b9388f04a: Verifying Checksum 07:56:20 df9b9388f04a: Download complete 07:56:20 6ad1cebc031e: Verifying Checksum 07:56:20 6ad1cebc031e: Download complete 07:56:20 df9b9388f04a: Pull complete 07:56:20 52dc419b0ee2: Pull complete 07:56:21 25bc292e5bac: Pull complete 07:56:21 114826534d7a: Verifying Checksum 07:56:21 114826534d7a: Download complete 07:56:21 8a3aa393b2d8: Verifying Checksum 07:56:21 8a3aa393b2d8: Download complete 07:56:24 114826534d7a: Pull complete 07:56:24 4657fd5d0bcf: Pull complete 07:56:25 6ad1cebc031e: Pull complete 07:56:28 8a3aa393b2d8: Pull complete 07:56:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:56:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:56:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:28 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:56:28 $ 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:56:30 $ docker top bf1128421526f330fd6141766e69be6cfcf3de916edb29aa1f7c6e11506d6422 -eo pid,comm [Pipeline] { [Pipeline] echo 07:56:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 07:56:31 + set -o pipefail 07:56:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 07:56:35 07:56:35 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 07:56:35 07:56:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/a55a53c2-0201-4136-b9f7-a552b4ee41a5 07:56:35 07:56:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:56:35 07:56:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:56:35 07:56:36 07:56:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:56:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:56:36 More details here: https://snyk.co/ue1NS 07:56:36 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 07:56:36 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:56:36 $ docker stop --time=1 bf1128421526f330fd6141766e69be6cfcf3de916edb29aa1f7c6e11506d6422 07:56:38 $ docker rm -f --volumes bf1128421526f330fd6141766e69be6cfcf3de916edb29aa1f7c6e11506d6422 [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:56:39 + git log --format=format:%s -1 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 [Pipeline] sh 07:56:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:56:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:39 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:56:39 $ 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:56:40 $ docker top 13f5086c9264c51b4d5f3560e0bf9c9e27c5b9d0c56e0c91dabe15f0e04571c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:56:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:40 [ssh-agent] Looking for ssh-agent implementation... 07:56:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:40 $ docker exec 13f5086c9264c51b4d5f3560e0bf9c9e27c5b9d0c56e0c91dabe15f0e04571c5 ssh-agent 07:56:40 SSH_AUTH_SOCK=/tmp/ssh-7Rthfyw2G7f9/agent.32 07:56:40 SSH_AGENT_PID=38 07:56:40 Running ssh-add (command line suppressed) 07:56:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17206328524017095542.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17206328524017095542.key) 07:56:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:41 + git semver tag 07:56:41 2023-04-07 07:56:41,294 [run_tag] DEBUG tag force:False 07:56:41 2023-04-07 07:56:41,294 [check_head_tag] DEBUG check head tag 07:56:41 2023-04-07 07:56:41,296 [execute] INFO git cat-file --batch-check 07:56:41 2023-04-07 07:56:41,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:56:41 2023-04-07 07:56:41,300 [execute] INFO git cat-file --batch 07:56:41 2023-04-07 07:56:41,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:56:41 2023-04-07 07:56:41,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:56:41 2023-04-07 07:56:41,322 [execute] INFO git tag -a v3.0.0-dev.17 -m v3.0.0-dev.17 07:56:41 2023-04-07 07:56:41,322 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.17', '-m', 'v3.0.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:56:41 2023-04-07 07:56:41,325 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:56:41 3.0.0-dev.17 [Pipeline] } 07:56:41 $ docker exec --env ******** --env ******** 13f5086c9264c51b4d5f3560e0bf9c9e27c5b9d0c56e0c91dabe15f0e04571c5 ssh-agent -k 07:56:41 unset SSH_AUTH_SOCK; 07:56:41 unset SSH_AGENT_PID; 07:56:41 echo Agent pid 38 killed; 07:56:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:56:41 + git semver [Pipeline] } 07:56:42 $ docker stop --time=1 13f5086c9264c51b4d5f3560e0bf9c9e27c5b9d0c56e0c91dabe15f0e04571c5 07:56:43 $ docker rm -f --volumes 13f5086c9264c51b4d5f3560e0bf9c9e27c5b9d0c56e0c91dabe15f0e04571c5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:56:43 07:56:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:56:44 0.23.1-centos7: Pulling from edgex-lftools 07:56:44 ab5ef0e58194: Pulling fs layer 07:56:44 9712f1f96733: Pulling fs layer 07:56:44 63f879dbbcfc: Pulling fs layer 07:56:44 0d9ebad4ef96: Pulling fs layer 07:56:44 e9a5061849ea: Pulling fs layer 07:56:44 d747dcd14b5f: Pulling fs layer 07:56:44 2de7ff778b66: Pulling fs layer 07:56:44 0d9ebad4ef96: Waiting 07:56:44 d747dcd14b5f: Waiting 07:56:44 2de7ff778b66: Waiting 07:56:44 e9a5061849ea: Waiting 07:56:44 9712f1f96733: Verifying Checksum 07:56:44 9712f1f96733: Download complete 07:56:44 63f879dbbcfc: Verifying Checksum 07:56:44 63f879dbbcfc: Download complete 07:56:44 e9a5061849ea: Verifying Checksum 07:56:44 e9a5061849ea: Download complete 07:56:44 d747dcd14b5f: Verifying Checksum 07:56:44 d747dcd14b5f: Download complete 07:56:44 0d9ebad4ef96: Verifying Checksum 07:56:44 0d9ebad4ef96: Download complete 07:56:44 ab5ef0e58194: Verifying Checksum 07:56:44 ab5ef0e58194: Download complete 07:56:44 2de7ff778b66: Verifying Checksum 07:56:44 2de7ff778b66: Download complete 07:56:47 ab5ef0e58194: Pull complete 07:56:47 9712f1f96733: Pull complete 07:56:47 63f879dbbcfc: Pull complete 07:56:51 0d9ebad4ef96: Pull complete 07:56:51 e9a5061849ea: Pull complete 07:56:51 d747dcd14b5f: Pull complete 07:56:52 2de7ff778b66: Pull complete 07:56:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:56:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:52 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:56:52 $ 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:56:54 $ docker top aae231c2af32555338b201244faab40c5b36a6ffcf064624ef42c88783e2bc4d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:56:54 provisioning config files... 07:56:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config280908584398034037tmp 07:56:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8787626379069185028tmp 07:56:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7636692392355180811tmp [Pipeline] { [Pipeline] echo 07:56:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:56:55 ---> sigul-configuration.sh 07:56:55 gpg: directory `/root/.gnupg' created 07:56:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:56:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:56:55 gpg: keyring `/root/.gnupg/secring.gpg' created 07:56:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:56:55 gpg: CAST5 encrypted data 07:56:55 gpg: encrypted with 1 passphrase 07:56:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:56:55 + mkdir /home/jenkins 07:56:55 + mkdir /home/jenkins/sigul [Pipeline] sh 07:56:55 + 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:56:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:56:55 ---> sigul-install.sh 07:56:55 Sigul already installed; skipping installation. [Pipeline] sh 07:56:56 + git tag --list 07:56:56 0.7.1 07:56:56 v1.0.0 07:56:56 v1.1.0 07:56:56 v1.1.1 07:56:56 v1.2.2 07:56:56 v1.3.0 07:56:56 v1.3.1 07:56:56 v2.0.0 07:56:56 v2.1.0 07:56:56 v2.1.1 07:56:56 v2.1.1-dev.1 07:56:56 v2.1.1-dev.2 07:56:56 v2.2.0 07:56:56 v2.2.1-dev.1 07:56:56 v2.2.1-dev.10 07:56:56 v2.2.1-dev.2 07:56:56 v2.2.1-dev.3 07:56:56 v2.2.1-dev.4 07:56:56 v2.2.1-dev.5 07:56:56 v2.2.1-dev.6 07:56:56 v2.2.1-dev.7 07:56:56 v2.2.1-dev.8 07:56:56 v2.2.1-dev.9 07:56:56 v2.3.0 07:56:56 v2.3.0-dev.10 07:56:56 v2.3.0-dev.11 07:56:56 v2.3.0-dev.12 07:56:56 v2.3.0-dev.13 07:56:56 v2.3.0-dev.14 07:56:56 v2.3.0-dev.15 07:56:56 v2.3.0-dev.16 07:56:56 v2.3.0-dev.17 07:56:56 v2.3.0-dev.18 07:56:56 v2.3.0-dev.19 07:56:56 v2.3.0-dev.20 07:56:56 v2.3.0-dev.21 07:56:56 v2.3.0-dev.22 07:56:56 v2.3.0-dev.23 07:56:56 v2.3.0-dev.24 07:56:56 v2.3.0-dev.25 07:56:56 v2.3.0-dev.26 07:56:56 v2.3.0-dev.27 07:56:56 v2.3.0-dev.28 07:56:56 v2.3.0-dev.29 07:56:56 v2.3.0-dev.30 07:56:56 v2.3.0-dev.31 07:56:56 v2.3.0-dev.32 07:56:56 v2.3.0-dev.33 07:56:56 v2.3.0-dev.34 07:56:56 v3.0.0-dev.1 07:56:56 v3.0.0-dev.10 07:56:56 v3.0.0-dev.11 07:56:56 v3.0.0-dev.12 07:56:56 v3.0.0-dev.13 07:56:56 v3.0.0-dev.14 07:56:56 v3.0.0-dev.15 07:56:56 v3.0.0-dev.16 07:56:56 v3.0.0-dev.17 07:56:56 v3.0.0-dev.2 07:56:56 v3.0.0-dev.3 07:56:56 v3.0.0-dev.4 07:56:56 v3.0.0-dev.5 07:56:56 v3.0.0-dev.6 07:56:56 v3.0.0-dev.7 07:56:56 v3.0.0-dev.8 07:56:56 v3.0.0-dev.9 [Pipeline] sh 07:56:56 + lftools sign git-tag v3.0.0-dev.17 07:56:57 Signing Git tag with Sigul... 07:56:57 Signing v3.0.0-dev.17 [Pipeline] echo 07:56:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:56:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:56:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:56:57 $ docker stop --time=1 aae231c2af32555338b201244faab40c5b36a6ffcf064624ef42c88783e2bc4d 07:56:59 $ docker rm -f --volumes aae231c2af32555338b201244faab40c5b36a6ffcf064624ef42c88783e2bc4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:56:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:56:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:59 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:56:59 $ 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:57:00 $ docker top c90b27fe5ede2210b0eb6436a5249d1d6c7142ca8fa4052fac26208c18367499 -eo pid,comm 07:57:00 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:57:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:57:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:00 [ssh-agent] Looking for ssh-agent implementation... 07:57:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:00 $ docker exec c90b27fe5ede2210b0eb6436a5249d1d6c7142ca8fa4052fac26208c18367499 ssh-agent 07:57:00 SSH_AUTH_SOCK=/tmp/ssh-4J5DGae2HuXZ/agent.31 07:57:00 SSH_AGENT_PID=37 07:57:00 Running ssh-add (command line suppressed) 07:57:00 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14201556868750342516.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14201556868750342516.key) 07:57:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:00 + git semver bump pre 07:57:01 2023-04-07 07:57:01,050 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:57:01 2023-04-07 07:57:01,050 [bump_version] DEBUG bumping version:3.0.0-dev.17 on axis:pre with prefix:dev 07:57:01 2023-04-07 07:57:01,050 [bump_version] DEBUG bumped version:3.0.0-dev.18 07:57:01 2023-04-07 07:57:01,050 [write_version] DEBUG write version:3.0.0-dev.18 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 07:57:01 2023-04-07 07:57:01,051 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:57:01 2023-04-07 07:57:01,051 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:57:01 2023-04-07 07:57:01,052 [execute] INFO git cat-file --batch-check 07:57:01 2023-04-07 07:57:01,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:57:01 2023-04-07 07:57:01,058 [execute] INFO git cat-file --batch 07:57:01 2023-04-07 07:57:01,058 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:57:01 2023-04-07 07:57:01,064 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:57:01 3.0.0-dev.18 [Pipeline] } 07:57:01 $ docker exec --env ******** --env ******** c90b27fe5ede2210b0eb6436a5249d1d6c7142ca8fa4052fac26208c18367499 ssh-agent -k 07:57:01 unset SSH_AUTH_SOCK; 07:57:01 unset SSH_AGENT_PID; 07:57:01 echo Agent pid 37 killed; 07:57:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:01 + git semver [Pipeline] } 07:57:01 $ docker stop --time=1 c90b27fe5ede2210b0eb6436a5249d1d6c7142ca8fa4052fac26208c18367499 07:57:03 $ docker rm -f --volumes c90b27fe5ede2210b0eb6436a5249d1d6c7142ca8fa4052fac26208c18367499 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:57:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:57:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:03 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:57:04 $ 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:57:04 $ docker top 30f47abaaa2d1eadf240a09cabf2cc29883acf16d3183e24630378188a896dd1 -eo pid,comm 07:57:04 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:57:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:57:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:04 [ssh-agent] Looking for ssh-agent implementation... 07:57:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:04 $ docker exec 30f47abaaa2d1eadf240a09cabf2cc29883acf16d3183e24630378188a896dd1 ssh-agent 07:57:04 SSH_AUTH_SOCK=/tmp/ssh-VRxwWVSejOxu/agent.32 07:57:04 SSH_AGENT_PID=38 07:57:04 Running ssh-add (command line suppressed) 07:57:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15674352104869022594.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15674352104869022594.key) 07:57:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:05 + git semver push 07:57:05 2023-04-07 07:57:05,312 [run_push] DEBUG push 07:57:05 2023-04-07 07:57:05,312 [execute] INFO git cat-file --batch-check 07:57:05 2023-04-07 07:57:05,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:57:05 2023-04-07 07:57:05,318 [execute] INFO git rev-list d038c18fb80b7318780d0db247d53623adafbc79 -- 07:57:05 2023-04-07 07:57:05,318 [execute] DEBUG Popen(['git', 'rev-list', 'd038c18fb80b7318780d0db247d53623adafbc79', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:57:05 2023-04-07 07:57:05,328 [execute] INFO git fetch -v origin 07:57:05 2023-04-07 07:57:05,328 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:57:05 2023-04-07 07:57:05,824 [run_push] DEBUG no remote changes detected 07:57:05 2023-04-07 07:57:05,825 [execute] INFO git push origin semver 07:57:05 2023-04-07 07:57:05,825 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:57:06 2023-04-07 07:57:06,597 [run_push] DEBUG push all version tags 07:57:06 2023-04-07 07:57:06,597 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:57:06 2023-04-07 07:57:06,598 [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:57:07 2023-04-07 07:57:07,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:57:07 3.0.0-dev.18 [Pipeline] } 07:57:07 $ docker exec --env ******** --env ******** 30f47abaaa2d1eadf240a09cabf2cc29883acf16d3183e24630378188a896dd1 ssh-agent -k 07:57:07 unset SSH_AUTH_SOCK; 07:57:07 unset SSH_AGENT_PID; 07:57:07 echo Agent pid 38 killed; 07:57:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:07 + git semver [Pipeline] } 07:57:08 $ docker stop --time=1 30f47abaaa2d1eadf240a09cabf2cc29883acf16d3183e24630378188a896dd1 07:57:09 $ docker rm -f --volumes 30f47abaaa2d1eadf240a09cabf2cc29883acf16d3183e24630378188a896dd1 [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:57:09 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 07:57:09 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:57:09 total 16 07:57:09 drwxr-xr-x 3 root root 4096 Apr 7 07:48 . 07:57:09 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 07:56 .. 07:57:09 drwxr-xr-x 2 root root 4096 Apr 7 07:48 cost 07:57:09 -rw-r--r-- 1 root root 86 Apr 7 07:48 cost.csv 07:57:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:57:09 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:57:09 total 16 07:57:09 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 07:48 . 07:57:09 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 07:56 .. 07:57:09 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 07:48 cost 07:57:09 -rw-r--r-- 1 jenkins jenkins 86 Apr 7 07:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:57:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:57:11 ---> package-listing.sh 07:57:11 ++ facter osfamily 07:57:11 ++ tr '[:upper:]' '[:lower:]' 07:57:11 + OS_FAMILY=debian 07:57:11 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 07:57:11 + START_PACKAGES=/tmp/packages_start.txt 07:57:11 + END_PACKAGES=/tmp/packages_end.txt 07:57:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:57:11 + PACKAGES=/tmp/packages_start.txt 07:57:11 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:57:11 + PACKAGES=/tmp/packages_end.txt 07:57:11 + case "${OS_FAMILY}" in 07:57:11 + dpkg -l 07:57:11 + grep '^ii' 07:57:11 + '[' -f /tmp/packages_start.txt ']' 07:57:11 + '[' -f /tmp/packages_end.txt ']' 07:57:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:57:11 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:57:11 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 07:57:11 + 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:57:11 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:57:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:57:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:12 prd-ubuntu20.04-docker-8c-8g-7102 does not seem to be running inside a container 07:57:12 $ 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:57:12 $ docker top b618796b74feb3ad8dd5202a76a2e158588da79694f38b97b4be6eb2aed1115d -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:12 + touch /tmp/pre-build-complete [Pipeline] sh 07:57:13 + mkdir -p /var/log/sysstat [Pipeline] sh 07:57:13 + ls /var/log/sa-host 07:57:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:13 provisioning config files... 07:57:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1600902001327114072tmp [Pipeline] { [Pipeline] echo 07:57:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:57:13 ---> create-netrc.sh [Pipeline] } 07:57:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:57:14 ---> python-tools-install.sh [Pipeline] echo 07:57:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:57:14 ---> sudo-logs.sh 07:57:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:57:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:57:14 ---> job-cost.sh 07:57:14 lf-activate-venv: SKIPPING 07:57:14 DEBUG: total: 0.2199999988079071 07:57:14 INFO: Retrieving Stack Cost... 07:57:15 INFO: Retrieving Pricing Info for: v3-standard-8 07:57:15 INFO: Archiving Costs [Pipeline] echo 07:57:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:57:15 ---> logs-deploy.sh 07:57:15 lf-activate-venv: SKIPPING 07:57:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/101 07:57:15 INFO: archiving workspace using pattern(s): 07:57:16 Archives upload complete. 07:57:16 INFO: archiving logs to Nexus