Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 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-ssh4910244228871155066.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-ssh11316642090017254015.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-ssh4259522354807660294.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-ssh3566152209717593702.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-ssh7074151289594158141.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-4356 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 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#533)" > 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 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa # timeout=10 > git rev-list --no-walk 1f5b40587cdb269dc0901b5b892d918e86924932 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:11:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:11:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:11:25 ========================================================= 07:11:25 EdgeX Global Pipelines Version Info 07:11:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:11:26 ------------------- 07:11:26 stable info: 07:11:26 ------------------- 07:11:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:11:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:11:26 Message: update stable to v1.0.245 07:11:26 ------------------- 07:11:26 experimental info: 07:11:26 ------------------- 07:11:26 Commited By: **** collab-it+edgex@linuxfoundation.org 07:11:26 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 07:11:26 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:11:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e0b4e1 [Pipeline] echo 07:11:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:11:27 provisioning config files... 07:11:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6026471065972583713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:27 ---> docker-login.sh 07:11:27 nexus3.edgexfoundry.org:10001 07:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:27 Configure a credential helper to remove this warning. See 07:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:27 07:11:27 Login Succeeded 07:11:27 nexus3.edgexfoundry.org:10002 07:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:28 Configure a credential helper to remove this warning. See 07:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:28 07:11:28 Login Succeeded 07:11:28 nexus3.edgexfoundry.org:10003 07:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:28 Configure a credential helper to remove this warning. See 07:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:28 07:11:28 Login Succeeded 07:11:28 nexus3.edgexfoundry.org:10004 07:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:28 Configure a credential helper to remove this warning. See 07:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:28 07:11:28 Login Succeeded 07:11:28 docker.io 07:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:28 Configure a credential helper to remove this warning. See 07:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:28 07:11:28 Login Succeeded 07:11:28 ---> docker-login.sh ends [Pipeline] } 07:11:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:11:29 + git rev-list -1 --merges 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa~1..4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [Pipeline] echo 07:11:29 -----------> git rev-list -1 --merges 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa~1..4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [false] [Pipeline] sh 07:11:29 + git log --format=format:%s -1 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [Pipeline] echo 07:11:29 ========================================================= 07:11:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:11:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:11:29 + git log --format=format:%s -1 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [Pipeline] echo 07:11:29 [semverPrep] GIT_COMMIT: 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#533) [Pipeline] echo 07:11:29 [semverPrep] This is not a build commit. [Pipeline] sh 07:11:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:11:30 + grep -v github /etc/ssh/ssh_known_hosts 07:11:30 + [ -e /tmp/ssh_known_hosts ] 07:11:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:11:30 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:11:30 sudo tee -a /etc/ssh/ssh_known_hosts 07:11:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:30 07:11:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:30 0.1.4: Pulling from edgex-devops/py-git-semver 07:11:30 b85a868b505f: Pulling fs layer 07:11:30 e2be974225ed: Pulling fs layer 07:11:30 339a4e72a1f5: Pulling fs layer 07:11:30 988bab9f4d93: Pulling fs layer 07:11:30 1469e6f7b9e6: Pulling fs layer 07:11:30 eaf3925da568: Pulling fs layer 07:11:30 bab4dde63d76: Pulling fs layer 07:11:30 bde34c3a00c8: Pulling fs layer 07:11:30 b352a97aabf1: Pulling fs layer 07:11:30 4872d77fe225: Pulling fs layer 07:11:30 5851b861e8e6: Pulling fs layer 07:11:30 1469e6f7b9e6: Waiting 07:11:30 eaf3925da568: Waiting 07:11:30 bab4dde63d76: Waiting 07:11:30 bde34c3a00c8: Waiting 07:11:30 b352a97aabf1: Waiting 07:11:30 4872d77fe225: Waiting 07:11:30 5851b861e8e6: Waiting 07:11:30 e2be974225ed: Verifying Checksum 07:11:30 e2be974225ed: Download complete 07:11:30 988bab9f4d93: Download complete 07:11:31 1469e6f7b9e6: Verifying Checksum 07:11:31 1469e6f7b9e6: Download complete 07:11:31 339a4e72a1f5: Verifying Checksum 07:11:31 339a4e72a1f5: Download complete 07:11:31 eaf3925da568: Verifying Checksum 07:11:31 eaf3925da568: Download complete 07:11:31 bde34c3a00c8: Download complete 07:11:31 b352a97aabf1: Download complete 07:11:31 4872d77fe225: Download complete 07:11:31 5851b861e8e6: Verifying Checksum 07:11:31 5851b861e8e6: Download complete 07:11:31 b85a868b505f: Download complete 07:11:31 bab4dde63d76: Verifying Checksum 07:11:31 bab4dde63d76: Download complete 07:11:32 b85a868b505f: Pull complete 07:11:32 e2be974225ed: Pull complete 07:11:33 339a4e72a1f5: Pull complete 07:11:33 988bab9f4d93: Pull complete 07:11:33 1469e6f7b9e6: Pull complete 07:11:33 eaf3925da568: Pull complete 07:11:35 bab4dde63d76: Pull complete 07:11:35 bde34c3a00c8: Pull complete 07:11:35 b352a97aabf1: Pull complete 07:11:35 4872d77fe225: Pull complete 07:11:35 5851b861e8e6: Pull complete 07:11:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:11:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:11:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:35 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:11:35 $ 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:11:38 $ docker top 65a8125acbfb51e712521ca0085b1ad168f022c0ee0e16b13ec71bc36ad92c23 -eo pid,comm 07:11:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:11:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:11:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:38 [ssh-agent] Looking for ssh-agent implementation... 07:11:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:38 $ docker exec 65a8125acbfb51e712521ca0085b1ad168f022c0ee0e16b13ec71bc36ad92c23 ssh-agent 07:11:38 SSH_AUTH_SOCK=/tmp/ssh-Ct5iZXn6Onxe/agent.33 07:11:38 SSH_AGENT_PID=39 07:11:38 Running ssh-add (command line suppressed) 07:11:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18195308102023093420.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18195308102023093420.key) 07:11:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:38 + git tag --points-at HEAD [Pipeline] } 07:11:38 $ docker exec --env ******** --env ******** 65a8125acbfb51e712521ca0085b1ad168f022c0ee0e16b13ec71bc36ad92c23 ssh-agent -k 07:11:38 unset SSH_AUTH_SOCK; 07:11:38 unset SSH_AGENT_PID; 07:11:38 echo Agent pid 39 killed; 07:11:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:11:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:11:38 [ssh-agent] Looking for ssh-agent implementation... 07:11:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:11:39 $ docker exec 65a8125acbfb51e712521ca0085b1ad168f022c0ee0e16b13ec71bc36ad92c23 ssh-agent 07:11:39 SSH_AUTH_SOCK=/tmp/ssh-5vLeXIEcgqZ3/agent.73 07:11:39 SSH_AGENT_PID=79 07:11:39 Running ssh-add (command line suppressed) 07:11:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15242487393971403565.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15242487393971403565.key) 07:11:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:11:39 + git semver init 07:11:39 2023-03-17 07:11:39,733 [run_init] DEBUG init version:0.0.0 force:False 07:11:39 2023-03-17 07:11:39,734 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:11:39 2023-03-17 07:11:39,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 07:11:39 2023-03-17 07:11:39,735 [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:11:40 2023-03-17 07:11:40,501 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 07:11:40 2023-03-17 07:11:40,501 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 07:11:40 2023-03-17 07:11:40,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:11:40 2023-03-17 07:11:40,502 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:11:40 3.0.0-dev.14 [Pipeline] } 07:11:40 $ docker exec --env ******** --env ******** 65a8125acbfb51e712521ca0085b1ad168f022c0ee0e16b13ec71bc36ad92c23 ssh-agent -k 07:11:40 unset SSH_AUTH_SOCK; 07:11:40 unset SSH_AGENT_PID; 07:11:40 echo Agent pid 79 killed; 07:11:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:11:41 + git semver [Pipeline] } 07:11:41 $ docker stop --time=1 65a8125acbfb51e712521ca0085b1ad168f022c0ee0e16b13ec71bc36ad92c23 07:11:42 $ docker rm -f --volumes 65a8125acbfb51e712521ca0085b1ad168f022c0ee0e16b13ec71bc36ad92c23 [Pipeline] // withDockerContainer [Pipeline] sh 07:11:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:11:43 Stashed 1 file(s) [Pipeline] echo 07:11:43 [edgeXSemver]: initialized semver on version 3.0.0-dev.14 [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:11:43 provisioning config files... 07:11:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3767538262559261857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:11:43 ---> docker-login.sh 07:11:43 nexus3.edgexfoundry.org:10001 07:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:43 Configure a credential helper to remove this warning. See 07:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:43 07:11:43 Login Succeeded 07:11:43 nexus3.edgexfoundry.org:10002 07:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:43 Configure a credential helper to remove this warning. See 07:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:43 07:11:43 Login Succeeded 07:11:43 nexus3.edgexfoundry.org:10003 07:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:44 Configure a credential helper to remove this warning. See 07:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:44 07:11:44 Login Succeeded 07:11:44 nexus3.edgexfoundry.org:10004 07:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:44 Configure a credential helper to remove this warning. See 07:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:44 07:11:44 Login Succeeded 07:11:44 docker.io 07:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:11:44 Configure a credential helper to remove this warning. See 07:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:11:44 07:11:44 Login Succeeded 07:11:44 ---> docker-login.sh ends [Pipeline] } 07:11:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:11:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:11:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:11:44 ========================================================= 07:11:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:11:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:11:44 Sending build context to Docker daemon 6.389MB 07:11:44 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:11:44 Step 2/12 : FROM ${BASE} AS builder 07:11:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:11:44 63b65145d645: Pulling fs layer 07:11:44 a2d21d5440eb: Pulling fs layer 07:11:44 935e6c44a52c: Pulling fs layer 07:11:44 94cc34f8dd06: Pulling fs layer 07:11:44 30dea6a524f1: Pulling fs layer 07:11:44 a2aff8979fd8: Pulling fs layer 07:11:44 6808be2612f2: Pulling fs layer 07:11:44 f25807f1079a: Pulling fs layer 07:11:44 30dea6a524f1: Waiting 07:11:44 a2aff8979fd8: Waiting 07:11:44 94cc34f8dd06: Waiting 07:11:44 6808be2612f2: Waiting 07:11:44 f25807f1079a: Waiting 07:11:44 a2d21d5440eb: Download complete 07:11:44 94cc34f8dd06: Verifying Checksum 07:11:44 94cc34f8dd06: Download complete 07:11:45 30dea6a524f1: Verifying Checksum 07:11:45 30dea6a524f1: Download complete 07:11:45 63b65145d645: Verifying Checksum 07:11:45 63b65145d645: Download complete 07:11:45 a2aff8979fd8: Verifying Checksum 07:11:45 a2aff8979fd8: Download complete 07:11:45 63b65145d645: Pull complete 07:11:45 a2d21d5440eb: Pull complete 07:11:45 935e6c44a52c: Download complete 07:11:45 f25807f1079a: Verifying Checksum 07:11:45 f25807f1079a: Download complete 07:11:46 6808be2612f2: Verifying Checksum 07:11:46 6808be2612f2: Download complete 07:11:49 935e6c44a52c: Pull complete 07:11:49 94cc34f8dd06: Pull complete 07:11:49 30dea6a524f1: Pull complete 07:11:49 a2aff8979fd8: Pull complete 07:11:51 6808be2612f2: Pull complete 07:11:52 f25807f1079a: Pull complete 07:11:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:11:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:11:52 ---> 3b553350e43f 07:11:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:11:55 ---> Running in 27916b0fa919 07:11:55 Removing intermediate container 27916b0fa919 07:11:55 ---> 04a516609c34 07:11:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:11:55 ---> Running in 6da9c5939cb4 07:11:55 Removing intermediate container 6da9c5939cb4 07:11:55 ---> 8e892f95a1c4 07:11:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:11:55 ---> Running in 0435f1cd2b8e 07:11:55 Removing intermediate container 0435f1cd2b8e 07:11:55 ---> 049e86a31e32 07:11:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:11:55 ---> Running in 9db713d6f684 07:11:55 Removing intermediate container 9db713d6f684 07:11:55 ---> 13ffa1b4b0b8 07:11:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:11:55 ---> Running in bc4529782c12 07:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:11:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:11:56 (2/4) Installing libedit (20221030.3.1-r0) 07:11:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:11:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:11:56 Executing busybox-1.35.0-r29.trigger 07:11:56 OK: 269 MiB in 57 packages 07:11:56 Removing intermediate container bc4529782c12 07:11:56 ---> 0cf93d9a5005 07:11:56 Step 8/12 : WORKDIR /device-mqtt-go 07:11:56 ---> Running in 87cb7fe9f07b 07:11:56 Removing intermediate container 87cb7fe9f07b 07:11:56 ---> c5f60a2190d0 07:11:56 Step 9/12 : COPY go.mod vendor* ./ 07:11:56 ---> 0ae2bb79dcb3 07:11:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:11:56 ---> Running in d5b475138a12 07:11:58 Still waiting to schedule task 07:11:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:12:28 Removing intermediate container d5b475138a12 07:12:28 ---> 44cd47ce556b 07:12:28 Step 11/12 : COPY . . 07:12:28 ---> 1f6354b7ca96 07:12:28 Step 12/12 : RUN $MAKE 07:12:28 ---> Running in acedc779479f 07:12:28 noop 07:12:28 Removing intermediate container acedc779479f 07:12:28 ---> bd8123be97d8 07:12:28 Successfully built bd8123be97d8 07:12:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:29 + docker inspect -f . ci-base-image-x86_64 07:12:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:29 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:12:29 $ 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:12:29 $ docker top f361dbec1880fdb48f8a8d00402f10eab420316b9e3ad52e0d005ecd59cf3c42 -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:30 + go version 07:12:30 go version go1.20.2 linux/amd64 [Pipeline] } 07:12:30 $ docker stop --time=1 f361dbec1880fdb48f8a8d00402f10eab420316b9e3ad52e0d005ecd59cf3c42 07:12:31 $ docker rm -f --volumes f361dbec1880fdb48f8a8d00402f10eab420316b9e3ad52e0d005ecd59cf3c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:31 + docker inspect -f . ci-base-image-x86_64 07:12:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:31 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:12:31 $ 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:12:32 $ docker top 83b19863a7cf5f5927565eb85e6086a4b8f0da2aae0a39f3c52d5b955211062c -eo pid,comm [Pipeline] { [Pipeline] sh 07:12:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 07:12:32 + make test 07:12:32 go test ./... -coverprofile=coverage.out ./... 07:12:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:12:48 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:12:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:12:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements 07:12:56 go vet ./... 07:12:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:12:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:12:58 ./bin/test-attribution-txt.sh [Pipeline] echo 07:12:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:12:58 $ docker stop --time=1 83b19863a7cf5f5927565eb85e6086a4b8f0da2aae0a39f3c52d5b955211062c 07:13:01 $ docker rm -f --volumes 83b19863a7cf5f5927565eb85e6086a4b8f0da2aae0a39f3c52d5b955211062c [Pipeline] // withDockerContainer [Pipeline] sh 07:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:13:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:13:02 + ls -al . 07:13:02 total 180 07:13:02 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 07:12 . 07:13:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:11 .. 07:13:02 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 07:11 .dockerignore 07:13:02 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:11 .git 07:13:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:11 .github 07:13:02 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 07:11 .gitignore 07:13:02 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 07:11 .golangci.yml 07:13:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 07:11 .semver 07:13:02 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 17 07:11 Attribution.txt 07:13:02 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 17 07:11 CHANGELOG.md 07:13:02 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 17 07:11 Dockerfile 07:13:02 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:11 GOVERNANCE.md 07:13:02 -rw-rw-r-- 1 jenkins jenkins 678 Mar 17 07:11 Jenkinsfile 07:13:02 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:11 LICENSE 07:13:02 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 17 07:11 Makefile 07:13:02 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 07:11 OWNERS.md 07:13:02 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 17 07:11 README.md 07:13:02 -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 07:11 VERSION 07:13:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:11 bin 07:13:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:11 cmd 07:13:02 -rw-r--r-- 1 jenkins jenkins 18047 Mar 17 07:12 coverage.out 07:13:02 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 17 07:11 go.mod 07:13:02 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 17 07:11 go.sum 07:13:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:11 internal 07:13:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:11 mock 07:13:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:11 snap 07:13:02 -rw-rw-r-- 1 jenkins jenkins 227 Mar 17 07:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:03 + 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=4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa --label arch=amd64 --label version=3.0.0-dev.14 . 07:13:03 Sending build context to Docker daemon 6.408MB 07:13:03 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:13:03 Step 2/24 : FROM ${BASE} AS builder 07:13:03 ---> bd8123be97d8 07:13:03 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:13:03 ---> Running in 80bad5b42973 07:13:03 Removing intermediate container 80bad5b42973 07:13:03 ---> c68f6426616e 07:13:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:13:03 ---> Running in de8db9865a90 07:13:03 Removing intermediate container de8db9865a90 07:13:03 ---> d2f2c2109912 07:13:03 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:13:03 ---> Running in 727aca0f9ed9 07:13:03 Removing intermediate container 727aca0f9ed9 07:13:03 ---> f790b8016ed9 07:13:03 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:13:03 ---> Running in 0153fce8e715 07:13:03 Removing intermediate container 0153fce8e715 07:13:03 ---> a853b72b04f1 07:13:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:13:03 ---> Running in 3af8a067c2b1 07:13:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:13:04 OK: 269 MiB in 57 packages 07:13:04 Removing intermediate container 3af8a067c2b1 07:13:04 ---> 962d61b5edd0 07:13:04 Step 8/24 : WORKDIR /device-mqtt-go 07:13:04 ---> Running in 0e9152b1860c 07:13:04 Removing intermediate container 0e9152b1860c 07:13:04 ---> 86a05cc941a7 07:13:04 Step 9/24 : COPY go.mod vendor* ./ 07:13:05 ---> f0884058065c 07:13:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:13:05 ---> Running in 0e98bdfcc12c 07:13:06 Removing intermediate container 0e98bdfcc12c 07:13:06 ---> 3aa2ecb9dff9 07:13:06 Step 11/24 : COPY . . 07:13:06 ---> 14d7b98bceb7 07:13:06 Step 12/24 : RUN $MAKE 07:13:06 ---> Running in 305fbf89d164 07:13:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:13:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4357 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 07:13:26 Running in /w/workspace/device-mqtt-go/98 [Pipeline] { [Pipeline] checkout 07:13:26 Selected Git installation does not exist. Using Default 07:13:26 The recommended git tool is: NONE 07:13:28 Removing intermediate container 305fbf89d164 07:13:28 ---> 8baa85e5f3df 07:13:28 Step 13/24 : FROM alpine:3.17 07:13:28 3.17: Pulling from library/alpine 07:13:28 63b65145d645: Already exists 07:13:28 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:13:28 Status: Downloaded newer image for alpine:3.17 07:13:28 ---> b2aa39c304c2 07:13:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:13:28 ---> Running in 147d09a3f2e3 07:13:28 Removing intermediate container 147d09a3f2e3 07:13:28 ---> 0cdcf83b126a 07:13:28 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:13:28 ---> Running in e942b2404050 07:13:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:13:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:13:28 (1/1) Installing dumb-init (1.2.5-r2) 07:13:28 Executing busybox-1.35.0-r29.trigger 07:13:28 OK: 7 MiB in 16 packages 07:13:28 Removing intermediate container e942b2404050 07:13:28 ---> c57f708ec644 07:13:28 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:13:28 ---> 6aacfb5aa87a 07:13:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:13:28 ---> 37b870210d3b 07:13:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:13:28 ---> fe84c0b4673c 07:13:28 Step 19/24 : EXPOSE 59982 07:13:28 ---> Running in d7dac9ae503b 07:13:28 Removing intermediate container d7dac9ae503b 07:13:28 ---> d6ec4399eaad 07:13:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:13:28 ---> Running in 0b15a6d440be 07:13:28 Removing intermediate container 0b15a6d440be 07:13:28 ---> 0a24dd711431 07:13:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:13:28 ---> Running in 6ad85f59836b 07:13:28 Removing intermediate container 6ad85f59836b 07:13:28 ---> f73242d0e12d 07:13:28 Step 22/24 : LABEL arch=amd64 07:13:28 ---> Running in 34e80bab55db 07:13:28 Removing intermediate container 34e80bab55db 07:13:28 ---> 132b8f4654b5 07:13:28 Step 23/24 : LABEL git_sha=4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 07:13:28 ---> Running in 80e44f3edc83 07:13:28 Removing intermediate container 80e44f3edc83 07:13:28 ---> 6caf20a37dd4 07:13:28 Step 24/24 : LABEL version=3.0.0-dev.14 07:13:28 ---> Running in 91cf338bb9b0 07:13:28 Removing intermediate container 91cf338bb9b0 07:13:28 ---> 14b65db3c9a2 07:13:28 [Warning] One or more build-args [ARCH] were not consumed 07:13:28 Successfully built 14b65db3c9a2 07:13:28 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:13:29 provisioning config files... 07:13:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12909604238819302506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:29 ---> docker-login.sh 07:13:29 nexus3.edgexfoundry.org:10001 07:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:29 Configure a credential helper to remove this warning. See 07:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:29 07:13:29 Login Succeeded 07:13:29 nexus3.edgexfoundry.org:10002 07:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:29 Configure a credential helper to remove this warning. See 07:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:29 07:13:29 Login Succeeded 07:13:29 nexus3.edgexfoundry.org:10003 07:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:29 Configure a credential helper to remove this warning. See 07:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:29 07:13:29 Login Succeeded 07:13:29 nexus3.edgexfoundry.org:10004 07:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:29 Configure a credential helper to remove this warning. See 07:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:29 07:13:29 Login Succeeded 07:13:29 docker.io 07:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:29 Configure a credential helper to remove this warning. See 07:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:29 07:13:29 Login Succeeded 07:13:29 ---> docker-login.sh ends [Pipeline] } 07:13:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:13:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:13:29 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 07:13:29 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 07:13:29 latest 07:13:29 3.0.0-dev.14 07:13:29 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14 07:13:29 main 07:13:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:30 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 07:13:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:13:30 3d1edf36b029: Preparing 07:13:30 739e476e611c: Preparing 07:13:30 41a7ce4fe124: Preparing 07:13:30 ff2b4e2d55c9: Preparing 07:13:30 7cd52847ad77: Preparing 07:13:30 7cd52847ad77: Layer already exists 07:13:30 739e476e611c: Pushed 07:13:30 ff2b4e2d55c9: Pushed 07:13:30 3d1edf36b029: Pushed 07:13:31 using credential edgex-jenkins-ssh 07:13:31 Cloning the remote Git repository 07:13:31 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:13:31 > git init /w/workspace/device-mqtt-go/98 # timeout=10 07:13:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:13:31 > git --version # timeout=10 07:13:31 > git --version # 'git version 2.25.1' 07:13:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:13:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:13:33 41a7ce4fe124: Pushed 07:13:33 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa: digest: sha256:685e6c113040ec13687f2f27f90d9119955a2ad87bf7d701d96f05d423c0bda8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:13:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:13:33 3d1edf36b029: Preparing 07:13:33 739e476e611c: Preparing 07:13:33 41a7ce4fe124: Preparing 07:13:33 ff2b4e2d55c9: Preparing 07:13:33 7cd52847ad77: Preparing 07:13:33 41a7ce4fe124: Layer already exists 07:13:33 ff2b4e2d55c9: Layer already exists 07:13:33 739e476e611c: Layer already exists 07:13:33 3d1edf36b029: Layer already exists 07:13:33 7cd52847ad77: Layer already exists 07:13:33 latest: digest: sha256:685e6c113040ec13687f2f27f90d9119955a2ad87bf7d701d96f05d423c0bda8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:13:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:13:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:34 Avoid second fetch 07:13:34 Checking out Revision 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa (main) 07:13:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.14 07:13:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:13:34 3d1edf36b029: Preparing 07:13:34 739e476e611c: Preparing 07:13:34 41a7ce4fe124: Preparing 07:13:34 ff2b4e2d55c9: Preparing 07:13:34 7cd52847ad77: Preparing 07:13:34 7cd52847ad77: Layer already exists 07:13:34 41a7ce4fe124: Layer already exists 07:13:34 3d1edf36b029: Layer already exists 07:13:34 739e476e611c: Layer already exists 07:13:34 ff2b4e2d55c9: Layer already exists 07:13:34 3.0.0-dev.14: digest: sha256:685e6c113040ec13687f2f27f90d9119955a2ad87bf7d701d96f05d423c0bda8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:34 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#533)" 07:13:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 07:13:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14 07:13:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:13:34 3d1edf36b029: Preparing 07:13:34 739e476e611c: Preparing 07:13:34 41a7ce4fe124: Preparing 07:13:34 ff2b4e2d55c9: Preparing 07:13:34 7cd52847ad77: Preparing 07:13:34 3d1edf36b029: Layer already exists 07:13:34 7cd52847ad77: Layer already exists 07:13:34 ff2b4e2d55c9: Layer already exists 07:13:34 41a7ce4fe124: Layer already exists 07:13:34 739e476e611c: Layer already exists 07:13:34 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14: digest: sha256:685e6c113040ec13687f2f27f90d9119955a2ad87bf7d701d96f05d423c0bda8 size: 1365 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 07:13:34 > git config core.sparsecheckout # timeout=10 07:13:34 > git checkout -f 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa # timeout=10 07:13:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:13:35 % Total % Received % Xferd Average Speed Time Time Time Current 07:13:35 Dload Upload Total Spent Left Speed 07:13:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 07:13:35 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 07:13:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 07:13:35 3d1edf36b029: Preparing 07:13:35 739e476e611c: Preparing 07:13:35 41a7ce4fe124: Preparing 07:13:35 ff2b4e2d55c9: Preparing 07:13:35 7cd52847ad77: Preparing 07:13:35 7cd52847ad77: Layer already exists 07:13:35 739e476e611c: Layer already exists 07:13:35 41a7ce4fe124: Layer already exists 07:13:35 ff2b4e2d55c9: Layer already exists 07:13:35 3d1edf36b029: Layer already exists 07:13:35 main: digest: sha256:685e6c113040ec13687f2f27f90d9119955a2ad87bf7d701d96f05d423c0bda8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:13:35 ===================================================== [Pipeline] echo 07:13:35 taggedImages: 07:13:35 - nexus3.edgexfoundry.org:10004/device-mqtt:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 07:13:35 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 07:13:35 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.14 07:13:35 - nexus3.edgexfoundry.org:10004/device-mqtt:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14 07:13:35 - 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 [Pipeline] sh 07:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:13:35 07:13:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:13:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:13:36 latest: Pulling from edgex-lftools-log-publisher 07:13:36 5eb5b503b376: Pulling fs layer 07:13:36 5c69ac0246d0: Pulling fs layer 07:13:36 ec43610c2a17: Pulling fs layer 07:13:36 3a2ae6a8a46f: Pulling fs layer 07:13:36 33b1e0a273af: Pulling fs layer 07:13:36 5d3b04190fa2: Pulling fs layer 07:13:36 2f39f015ded8: Pulling fs layer 07:13:36 2f39f015ded8: Waiting 07:13:36 5d3b04190fa2: Waiting 07:13:36 3a2ae6a8a46f: Waiting 07:13:36 5c69ac0246d0: Verifying Checksum 07:13:36 5c69ac0246d0: Download complete 07:13:36 3a2ae6a8a46f: Verifying Checksum 07:13:36 3a2ae6a8a46f: Download complete 07:13:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:13:36 + sudo tee /etc/docker/daemon.new 07:13:36 { 07:13:36 "registry-mirrors": [ 07:13:36 "https://nexus3.edgexfoundry.org:10001" 07:13:36 ], 07:13:36 "bip": "10.250.0.254/24", 07:13:36 "hosts": [ 07:13:36 "tcp://0.0.0.0:5555", 07:13:36 "unix:///var/run/docker.sock" 07:13:36 ], 07:13:36 "mtu": 1458, 07:13:36 "selinux-enabled": true, 07:13:36 "seccomp-profile": "/etc/docker/seccomp.json" 07:13:36 } [Pipeline] sh 07:13:36 33b1e0a273af: Verifying Checksum 07:13:36 33b1e0a273af: Download complete 07:13:36 5d3b04190fa2: Verifying Checksum 07:13:36 5d3b04190fa2: Download complete 07:13:36 ec43610c2a17: Verifying Checksum 07:13:36 ec43610c2a17: Download complete 07:13:36 5eb5b503b376: Verifying Checksum 07:13:36 5eb5b503b376: Download complete 07:13:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:13:37 2f39f015ded8: Download complete 07:13:37 + sudo service docker restart 07:13:37 5eb5b503b376: Pull complete 07:13:37 5c69ac0246d0: Pull complete 07:13:38 ec43610c2a17: Pull complete 07:13:38 3a2ae6a8a46f: Pull complete 07:13:38 33b1e0a273af: Pull complete 07:13:38 5d3b04190fa2: Pull complete 07:13:42 2f39f015ded8: Pull complete 07:13:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:13:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:13:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:13:42 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:13:42 $ 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:13:45 $ docker top a80ddcdd38a60dc82ee666833e9c3d5e01833cafbfe8a4188b3bc800350bbc88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:45 ---> job-cost.sh 07:13:45 lf-activate-venv: SKIPPING 07:13:45 INFO: No Stack... 07:13:46 INFO: Retrieving Pricing Info for: v3-standard-8 07:13:46 INFO: Archiving Costs [Pipeline] sh 07:13:47 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 07:13:47 + cut -d, -f6 [Pipeline] lock 07:13:47 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-98-stack-cost] 07:13:47 Resource [jenkins-edgexfoundry-device-mqtt-go-main-98-stack-cost] did not exist. Created. 07:13:47 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:13:47 + echo total: 0.2199999988079071 [Pipeline] stash 07:13:47 Stashed 1 file(s) [Pipeline] } 07:13:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 07:13:47 $ docker stop --time=1 a80ddcdd38a60dc82ee666833e9c3d5e01833cafbfe8a4188b3bc800350bbc88 07:13:48 $ docker rm -f --volumes a80ddcdd38a60dc82ee666833e9c3d5e01833cafbfe8a4188b3bc800350bbc88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:13:55 provisioning config files... 07:13:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/98@tmp/config2991787189424427857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:55 ---> docker-login.sh 07:13:55 nexus3.edgexfoundry.org:10001 07:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:56 Configure a credential helper to remove this warning. See 07:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:56 07:13:56 Login Succeeded 07:13:56 nexus3.edgexfoundry.org:10002 07:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:56 Configure a credential helper to remove this warning. See 07:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:56 07:13:56 Login Succeeded 07:13:56 nexus3.edgexfoundry.org:10003 07:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:57 Configure a credential helper to remove this warning. See 07:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:57 07:13:57 Login Succeeded 07:13:57 nexus3.edgexfoundry.org:10004 07:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:57 Configure a credential helper to remove this warning. See 07:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:57 07:13:57 Login Succeeded 07:13:57 docker.io 07:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:58 Configure a credential helper to remove this warning. See 07:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:58 07:13:58 Login Succeeded 07:13:58 ---> docker-login.sh ends [Pipeline] } 07:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:13:58 ========================================================= 07:13:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:13:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:58 + 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:13:58 Sending build context to Docker daemon 3.301MB 07:13:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:13:58 Step 2/12 : FROM ${BASE} AS builder 07:13:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:13:59 af6eaf76a39c: Pulling fs layer 07:13:59 55522c791124: Pulling fs layer 07:13:59 ce5c4a1c91eb: Pulling fs layer 07:13:59 169dfbe0d373: Pulling fs layer 07:13:59 e1ff8fa3b103: Pulling fs layer 07:13:59 52ebb69f0ebf: Pulling fs layer 07:13:59 5abe8eddf0d5: Pulling fs layer 07:13:59 e1ff8fa3b103: Waiting 07:13:59 52ebb69f0ebf: Waiting 07:13:59 5abe8eddf0d5: Waiting 07:13:59 169dfbe0d373: Waiting 07:13:59 55522c791124: Verifying Checksum 07:13:59 55522c791124: Download complete 07:13:59 169dfbe0d373: Verifying Checksum 07:13:59 169dfbe0d373: Download complete 07:13:59 e1ff8fa3b103: Verifying Checksum 07:13:59 e1ff8fa3b103: Download complete 07:13:59 af6eaf76a39c: Verifying Checksum 07:13:59 af6eaf76a39c: Download complete 07:14:00 5abe8eddf0d5: Verifying Checksum 07:14:00 5abe8eddf0d5: Download complete 07:14:00 af6eaf76a39c: Pull complete 07:14:01 55522c791124: Pull complete 07:14:01 ce5c4a1c91eb: Verifying Checksum 07:14:01 ce5c4a1c91eb: Download complete 07:14:01 52ebb69f0ebf: Download complete 07:14:11 ce5c4a1c91eb: Pull complete 07:14:11 169dfbe0d373: Pull complete 07:14:11 e1ff8fa3b103: Pull complete 07:14:17 52ebb69f0ebf: Pull complete 07:14:18 5abe8eddf0d5: Pull complete 07:14:18 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:14:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:14:18 ---> 6cb57ee374ae 07:14:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:14:20 ---> Running in 069f98c6b742 07:14:20 Removing intermediate container 069f98c6b742 07:14:20 ---> 9a3de854892b 07:14:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:14:20 ---> Running in a1558eba6511 07:14:20 Removing intermediate container a1558eba6511 07:14:20 ---> c42f787a1290 07:14:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:14:20 ---> Running in 37b244ddc089 07:14:21 Removing intermediate container 37b244ddc089 07:14:21 ---> 877bf43c8df6 07:14:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:14:21 ---> Running in 6a7700a1e7f3 07:14:21 Removing intermediate container 6a7700a1e7f3 07:14:21 ---> 465f169fe967 07:14:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:14:21 ---> Running in 86ebe2bb2ea4 07:14:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:14:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:14:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:14:24 (2/4) Installing libedit (20221030.3.1-r0) 07:14:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:14:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:14:24 Executing busybox-1.35.0-r29.trigger 07:14:24 OK: 268 MiB in 57 packages 07:14:25 Removing intermediate container 86ebe2bb2ea4 07:14:25 ---> 197a74a63b3a 07:14:25 Step 8/12 : WORKDIR /device-mqtt-go 07:14:25 ---> Running in 89d14e66223d 07:14:25 Removing intermediate container 89d14e66223d 07:14:25 ---> 283c40dc6ebc 07:14:25 Step 9/12 : COPY go.mod vendor* ./ 07:14:26 ---> dcab7da77a60 07:14:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:14:26 ---> Running in 1ad81270b576 07:15:34 Removing intermediate container 1ad81270b576 07:15:34 ---> f122f53aecde 07:15:34 Step 11/12 : COPY . . 07:15:34 ---> 525e5b4d329a 07:15:34 Step 12/12 : RUN $MAKE 07:15:34 ---> Running in 476fc0ea5d40 07:15:34 noop 07:15:34 Removing intermediate container 476fc0ea5d40 07:15:34 ---> bd7f2177cb34 07:15:34 Successfully built bd7f2177cb34 07:15:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:34 + docker inspect -f . ci-base-image-arm64 07:15:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:34 prd-ubuntu20.04-docker-arm64-4c-16g-4357 does not seem to be running inside a container 07:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/98 -v /w/workspace/device-mqtt-go/98:/w/workspace/device-mqtt-go/98:rw,z -v /w/workspace/device-mqtt-go/98@tmp:/w/workspace/device-mqtt-go/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:15:36 $ docker top b05265fca0e99e6d2e3c4b366d8a6964d46fcc8efcb613ca5078e83ab1e0da23 -eo pid,comm [Pipeline] { [Pipeline] sh 07:15:36 + go version 07:15:36 go version go1.20.2 linux/arm64 [Pipeline] } 07:15:36 $ docker stop --time=1 b05265fca0e99e6d2e3c4b366d8a6964d46fcc8efcb613ca5078e83ab1e0da23 07:15:38 $ docker rm -f --volumes b05265fca0e99e6d2e3c4b366d8a6964d46fcc8efcb613ca5078e83ab1e0da23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:39 + docker inspect -f . ci-base-image-arm64 07:15:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:39 prd-ubuntu20.04-docker-arm64-4c-16g-4357 does not seem to be running inside a container 07:15:39 $ 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/98 -v /w/workspace/device-mqtt-go/98:/w/workspace/device-mqtt-go/98:rw,z -v /w/workspace/device-mqtt-go/98@tmp:/w/workspace/device-mqtt-go/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:15:42 $ docker top 2e9853b2f9493f2e17dcbbbd2f1a5ed4a634c4752aad0b76b04572da1cca95e4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:15:42 + git config --global --add safe.directory /w/workspace/device-mqtt-go/98 [Pipeline] fileExists [Pipeline] sh 07:15:43 + make test 07:15:43 go test ./... -coverprofile=coverage.out ./... 07:16:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:18:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:18:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:18:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.105s coverage: 22.2% of statements 07:18:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:18:07 go vet ./... 07:18:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:18:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:18:39 ./bin/test-attribution-txt.sh [Pipeline] echo 07:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:18:39 $ docker stop --time=1 2e9853b2f9493f2e17dcbbbd2f1a5ed4a634c4752aad0b76b04572da1cca95e4 07:18:41 $ docker rm -f --volumes 2e9853b2f9493f2e17dcbbbd2f1a5ed4a634c4752aad0b76b04572da1cca95e4 [Pipeline] // withDockerContainer [Pipeline] sh 07:18:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:18:42 Warning: overwriting stash ‘coverage-report’ 07:18:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:18:44 + ls -al . 07:18:44 total 176 07:18:44 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 07:15 . 07:18:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:13 .. 07:18:44 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 07:13 .dockerignore 07:18:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:13 .git 07:18:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:13 .github 07:18:44 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 07:13 .gitignore 07:18:44 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 07:13 .golangci.yml 07:18:44 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 17 07:13 Attribution.txt 07:18:44 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 17 07:13 CHANGELOG.md 07:18:44 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 17 07:13 Dockerfile 07:18:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:13 GOVERNANCE.md 07:18:44 -rw-rw-r-- 1 jenkins jenkins 678 Mar 17 07:13 Jenkinsfile 07:18:44 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:13 LICENSE 07:18:44 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 17 07:13 Makefile 07:18:44 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 07:13 OWNERS.md 07:18:44 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 17 07:13 README.md 07:18:44 -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 07:11 VERSION 07:18:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:13 bin 07:18:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:13 cmd 07:18:44 -rw-r--r-- 1 jenkins jenkins 18047 Mar 17 07:18 coverage.out 07:18:44 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 17 07:13 go.mod 07:18:44 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 17 07:13 go.sum 07:18:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:13 internal 07:18:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:13 mock 07:18:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:13 snap 07:18:44 -rw-rw-r-- 1 jenkins jenkins 227 Mar 17 07:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:44 + 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=4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa --label arch=arm64 --label version=3.0.0-dev.14 . 07:18:45 Sending build context to Docker daemon 3.32MB 07:18:45 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:18:45 Step 2/24 : FROM ${BASE} AS builder 07:18:45 ---> bd7f2177cb34 07:18:45 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:18:45 ---> Running in ea919040e1c3 07:18:46 Removing intermediate container ea919040e1c3 07:18:46 ---> 0480cc22ab7b 07:18:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:18:46 ---> Running in 3d5d1434ecff 07:18:47 Removing intermediate container 3d5d1434ecff 07:18:47 ---> 987f072ac68e 07:18:47 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:18:47 ---> Running in 2f72bd692e3f 07:18:47 Removing intermediate container 2f72bd692e3f 07:18:47 ---> 509eeca425f9 07:18:47 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:18:47 ---> Running in f5b25188699d 07:18:49 Removing intermediate container f5b25188699d 07:18:49 ---> 589b4588d947 07:18:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:18:49 ---> Running in b28d4038297f 07:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:18:52 OK: 268 MiB in 57 packages 07:18:56 Removing intermediate container b28d4038297f 07:18:56 ---> 76a66371de5d 07:18:56 Step 8/24 : WORKDIR /device-mqtt-go 07:18:56 ---> Running in f6820d870e89 07:18:56 Removing intermediate container f6820d870e89 07:18:56 ---> 7c143f7bca46 07:18:56 Step 9/24 : COPY go.mod vendor* ./ 07:18:56 ---> bcb64ba8da3a 07:18:56 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:18:56 ---> Running in 0266b198f611 07:18:56 Removing intermediate container 0266b198f611 07:18:56 ---> f1a458167985 07:18:56 Step 11/24 : COPY . . 07:18:57 ---> 89ae95eeb047 07:18:57 Step 12/24 : RUN $MAKE 07:18:57 ---> Running in fcc3b79b4ad8 07:18:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:21:20 Removing intermediate container fcc3b79b4ad8 07:21:20 ---> deeb540f593e 07:21:20 Step 13/24 : FROM alpine:3.17 07:21:20 3.17: Pulling from library/alpine 07:21:20 af6eaf76a39c: Already exists 07:21:20 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:21:20 Status: Downloaded newer image for alpine:3.17 07:21:20 ---> d74e625d9115 07:21:20 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:21:20 ---> Running in 271abc57cb7d 07:21:20 Removing intermediate container 271abc57cb7d 07:21:20 ---> f0f4a4f64c90 07:21:20 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:21:20 ---> Running in 5d265643ed17 07:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:21:23 (1/1) Installing dumb-init (1.2.5-r2) 07:21:23 Executing busybox-1.35.0-r29.trigger 07:21:23 OK: 8 MiB in 16 packages 07:21:24 Removing intermediate container 5d265643ed17 07:21:24 ---> 1a4056da46f6 07:21:24 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:21:25 ---> 10ac14b7701e 07:21:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:21:26 ---> 80fc6d12f917 07:21:26 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:21:26 ---> 661a37f1f467 07:21:26 Step 19/24 : EXPOSE 59982 07:21:26 ---> Running in b2bdfe06794f 07:21:27 Removing intermediate container b2bdfe06794f 07:21:27 ---> 825106fc1834 07:21:27 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:21:27 ---> Running in caf7a8ec113c 07:21:27 Removing intermediate container caf7a8ec113c 07:21:27 ---> 8d3856a87d6a 07:21:27 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:21:27 ---> Running in dadef6790752 07:21:28 Removing intermediate container dadef6790752 07:21:28 ---> 9d2976d2b385 07:21:28 Step 22/24 : LABEL arch=arm64 07:21:28 ---> Running in 2f3b00963348 07:21:28 Removing intermediate container 2f3b00963348 07:21:28 ---> 5b58fc90cfee 07:21:28 Step 23/24 : LABEL git_sha=4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 07:21:28 ---> Running in 058737c9ff8d 07:21:28 Removing intermediate container 058737c9ff8d 07:21:28 ---> 2f31f2e26a29 07:21:28 Step 24/24 : LABEL version=3.0.0-dev.14 07:21:28 ---> Running in 58e52fcd3950 07:21:29 Removing intermediate container 58e52fcd3950 07:21:29 ---> 82a5bf9602f7 07:21:29 [Warning] One or more build-args [ARCH] were not consumed 07:21:29 Successfully built 82a5bf9602f7 07:21:29 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:21:29 provisioning config files... 07:21:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/98@tmp/config2546537582808484668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:29 ---> docker-login.sh 07:21:29 nexus3.edgexfoundry.org:10001 07:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:30 Configure a credential helper to remove this warning. See 07:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:30 07:21:30 Login Succeeded 07:21:30 nexus3.edgexfoundry.org:10002 07:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:30 Configure a credential helper to remove this warning. See 07:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:30 07:21:30 Login Succeeded 07:21:30 nexus3.edgexfoundry.org:10003 07:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:30 Configure a credential helper to remove this warning. See 07:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:30 07:21:30 Login Succeeded 07:21:30 nexus3.edgexfoundry.org:10004 07:21:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:31 Configure a credential helper to remove this warning. See 07:21:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:31 07:21:31 Login Succeeded 07:21:31 docker.io 07:21:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:21:31 Configure a credential helper to remove this warning. See 07:21:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:21:31 07:21:31 Login Succeeded 07:21:31 ---> docker-login.sh ends [Pipeline] } 07:21:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:21:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:21:31 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 07:21:31 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 07:21:31 latest 07:21:31 3.0.0-dev.14 07:21:31 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14 07:21:31 main 07:21:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 07:21:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:21:32 49cbbf10dc7e: Preparing 07:21:32 f3649f7d0920: Preparing 07:21:32 80d69264bdd4: Preparing 07:21:32 b46080eb2286: Preparing 07:21:32 edf70074bd40: Preparing 07:21:32 edf70074bd40: Layer already exists 07:21:32 f3649f7d0920: Pushed 07:21:32 49cbbf10dc7e: Pushed 07:21:32 b46080eb2286: Pushed 07:21:39 80d69264bdd4: Pushed 07:21:39 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa: digest: sha256:32703cc72459d8ffdde144f6093fe7893c0f85803e85666443dff20d421ee8b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:21:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:21:40 49cbbf10dc7e: Preparing 07:21:40 f3649f7d0920: Preparing 07:21:40 80d69264bdd4: Preparing 07:21:40 b46080eb2286: Preparing 07:21:40 edf70074bd40: Preparing 07:21:40 49cbbf10dc7e: Layer already exists 07:21:40 f3649f7d0920: Layer already exists 07:21:40 edf70074bd40: Layer already exists 07:21:40 b46080eb2286: Layer already exists 07:21:40 80d69264bdd4: Layer already exists 07:21:40 latest: digest: sha256:32703cc72459d8ffdde144f6093fe7893c0f85803e85666443dff20d421ee8b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.14 07:21:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:21:41 49cbbf10dc7e: Preparing 07:21:41 f3649f7d0920: Preparing 07:21:41 80d69264bdd4: Preparing 07:21:41 b46080eb2286: Preparing 07:21:41 edf70074bd40: Preparing 07:21:41 edf70074bd40: Layer already exists 07:21:41 f3649f7d0920: Layer already exists 07:21:41 80d69264bdd4: Layer already exists 07:21:41 49cbbf10dc7e: Layer already exists 07:21:41 b46080eb2286: Layer already exists 07:21:41 3.0.0-dev.14: digest: sha256:32703cc72459d8ffdde144f6093fe7893c0f85803e85666443dff20d421ee8b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:41 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14 07:21:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:21:42 49cbbf10dc7e: Preparing 07:21:42 f3649f7d0920: Preparing 07:21:42 80d69264bdd4: Preparing 07:21:42 b46080eb2286: Preparing 07:21:42 edf70074bd40: Preparing 07:21:42 edf70074bd40: Layer already exists 07:21:42 b46080eb2286: Layer already exists 07:21:42 49cbbf10dc7e: Layer already exists 07:21:42 f3649f7d0920: Layer already exists 07:21:42 80d69264bdd4: Layer already exists 07:21:42 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14: digest: sha256:32703cc72459d8ffdde144f6093fe7893c0f85803e85666443dff20d421ee8b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:42 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 07:21:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 07:21:42 49cbbf10dc7e: Preparing 07:21:42 f3649f7d0920: Preparing 07:21:42 80d69264bdd4: Preparing 07:21:42 b46080eb2286: Preparing 07:21:42 edf70074bd40: Preparing 07:21:42 edf70074bd40: Layer already exists 07:21:42 49cbbf10dc7e: Layer already exists 07:21:42 f3649f7d0920: Layer already exists 07:21:42 b46080eb2286: Layer already exists 07:21:42 80d69264bdd4: Layer already exists 07:21:42 main: digest: sha256:32703cc72459d8ffdde144f6093fe7893c0f85803e85666443dff20d421ee8b0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:21:42 ===================================================== [Pipeline] echo 07:21:42 taggedImages: 07:21:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa 07:21:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 07:21:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.14 07:21:42 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa-3.0.0-dev.14 07:21:42 - 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:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:21:43 07:21:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:21:43 arm64: Pulling from edgex-lftools-log-publisher 07:21:43 8998bd30e6a1: Pulling fs layer 07:21:43 04944245beec: Pulling fs layer 07:21:43 699f458cf7ca: Pulling fs layer 07:21:43 765212b225bb: Pulling fs layer 07:21:43 f23df028b6ca: Pulling fs layer 07:21:43 d65c8cfc05b1: Pulling fs layer 07:21:43 2437ff75d9bd: Pulling fs layer 07:21:43 765212b225bb: Waiting 07:21:43 f23df028b6ca: Waiting 07:21:43 d65c8cfc05b1: Waiting 07:21:43 2437ff75d9bd: Waiting 07:21:43 04944245beec: Verifying Checksum 07:21:43 04944245beec: Download complete 07:21:43 765212b225bb: Verifying Checksum 07:21:43 765212b225bb: Download complete 07:21:43 f23df028b6ca: Verifying Checksum 07:21:43 f23df028b6ca: Download complete 07:21:43 d65c8cfc05b1: Download complete 07:21:43 699f458cf7ca: Verifying Checksum 07:21:43 699f458cf7ca: Download complete 07:21:44 8998bd30e6a1: Verifying Checksum 07:21:44 8998bd30e6a1: Download complete 07:21:46 2437ff75d9bd: Verifying Checksum 07:21:46 2437ff75d9bd: Download complete 07:21:48 8998bd30e6a1: Pull complete 07:21:48 04944245beec: Pull complete 07:21:50 699f458cf7ca: Pull complete 07:21:50 765212b225bb: Pull complete 07:21:52 f23df028b6ca: Pull complete 07:21:52 d65c8cfc05b1: Pull complete 07:22:07 2437ff75d9bd: Pull complete 07:22:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:22:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:07 prd-ubuntu20.04-docker-arm64-4c-16g-4357 does not seem to be running inside a container 07:22:07 $ 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/98 -v /w/workspace/device-mqtt-go/98:/w/workspace/device-mqtt-go/98:rw,z -v /w/workspace/device-mqtt-go/98@tmp:/w/workspace/device-mqtt-go/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:22:10 $ docker top d6cc660b19cffc8bcea640cdec9d966b07a3f9a20c3f6cb66bdf92370814048e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:10 ---> job-cost.sh 07:22:11 lf-activate-venv: SKIPPING 07:22:11 INFO: No Stack... 07:22:11 INFO: Retrieving Pricing Info for: v3-standard-4 07:22:12 INFO: Archiving Costs [Pipeline] sh 07:22:12 + cat /w/workspace/device-mqtt-go/98/archives/cost.csv 07:22:12 + cut -d, -f6 [Pipeline] lock 07:22:12 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-98-stack-cost] 07:22:12 Resource [jenkins-edgexfoundry-device-mqtt-go-main-98-stack-cost] did not exist. Created. 07:22:12 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:22:13 /w/workspace/device-mqtt-go/98@tmp/durable-88ec65d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:22:13 + echo total: 0.10999999940395355 [Pipeline] stash 07:22:13 Warning: overwriting stash ‘stack-cost’ 07:22:13 Stashed 1 file(s) [Pipeline] } 07:22:13 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 07:22:13 $ docker stop --time=1 d6cc660b19cffc8bcea640cdec9d966b07a3f9a20c3f6cb66bdf92370814048e 07:22:15 $ docker rm -f --volumes d6cc660b19cffc8bcea640cdec9d966b07a3f9a20c3f6cb66bdf92370814048e [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:22:15 provisioning config files... 07:22:15 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13964118958986923818tmp [Pipeline] { [Pipeline] sh 07:22:15 + set +x 07:22:15 + bash -s -- 07:22:15 + curl -s https://codecov.io/bash 07:22:15 07:22:15 _____ _ 07:22:15 / ____| | | 07:22:15 | | ___ __| | ___ ___ _____ __ 07:22:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:22:15 | |___| (_) | (_| | __/ (_| (_) \ V / 07:22:15 \_____\___/ \__,_|\___|\___\___/ \_/ 07:22:15 Bash-1.0.6 07:22:15 07:22:15 07:22:15 ==> git version 2.25.1 found 07:22:15 ==> 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:22:15 Release-Date: 2020-01-08 07:22:15 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:22:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:22:15 ==> Jenkins CI detected. 07:22:15 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 07:22:15 project root: . 07:22:15 --> token set from env 07:22:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:22:15 ==> Running gcov in . (disable via -X gcov) 07:22:15 ==> Python coveragepy not found 07:22:15 ==> Searching for coverage reports in: 07:22:15 + . 07:22:15 -> Found 1 reports 07:22:15 ==> Detecting git/mercurial file structure 07:22:15 ==> Reading reports 07:22:15 + ./coverage.out bytes=18047 07:22:15 ==> Appending adjustments 07:22:15 https://docs.codecov.io/docs/fixing-reports 07:22:16 + Found adjustments 07:22:16 ==> Gzipping contents 07:22:16 4.0K /tmp/codecov.VzPztI.gz 07:22:16 ==> Uploading reports 07:22:16 url: https://codecov.io 07:22:16 query: branch=main&commit=4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:22:16 -> Pinging Codecov 07:22:16 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=4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:22:16 -> Uploading to 07:22:16 https://storage.googleapis.com/codecov/v4/raw/2023-03-17/7D719EC7BBE17E464838252E33014C33/4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa/850ef705-4eaa-4248-9d43-2a62e20b1706.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T072215Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3bc2f594fea7c2434ab68251fbb0d6f7ac50ca4e7fa26f94a6d002933a1f9178 07:22:16 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:16 Dload Upload Total Spent Left Speed 07:22:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 11973 --:--:-- --:--:-- --:--:-- 11928 100 3149 0 0 100 3149 0 11928 --:--:-- --:--:-- --:--:-- 11883 07:22:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [Pipeline] } 07:22:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:22:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:22:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:22:17 07:22:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:22:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:22:17 df9b9388f04a: Pulling fs layer 07:22:17 52dc419b0ee2: Pulling fs layer 07:22:17 25bc292e5bac: Pulling fs layer 07:22:17 114826534d7a: Pulling fs layer 07:22:17 4657fd5d0bcf: Pulling fs layer 07:22:17 6ad1cebc031e: Pulling fs layer 07:22:17 8a3aa393b2d8: Pulling fs layer 07:22:17 4657fd5d0bcf: Waiting 07:22:17 6ad1cebc031e: Waiting 07:22:17 8a3aa393b2d8: Waiting 07:22:17 114826534d7a: Waiting 07:22:17 25bc292e5bac: Verifying Checksum 07:22:17 25bc292e5bac: Download complete 07:22:17 52dc419b0ee2: Verifying Checksum 07:22:17 52dc419b0ee2: Download complete 07:22:17 4657fd5d0bcf: Verifying Checksum 07:22:17 4657fd5d0bcf: Download complete 07:22:17 df9b9388f04a: Verifying Checksum 07:22:17 df9b9388f04a: Download complete 07:22:17 df9b9388f04a: Pull complete 07:22:17 52dc419b0ee2: Pull complete 07:22:17 6ad1cebc031e: Verifying Checksum 07:22:17 6ad1cebc031e: Download complete 07:22:17 25bc292e5bac: Pull complete 07:22:18 114826534d7a: Verifying Checksum 07:22:18 114826534d7a: Download complete 07:22:18 8a3aa393b2d8: Verifying Checksum 07:22:18 8a3aa393b2d8: Download complete 07:22:21 114826534d7a: Pull complete 07:22:21 4657fd5d0bcf: Pull complete 07:22:21 6ad1cebc031e: Pull complete 07:22:24 8a3aa393b2d8: Pull complete 07:22:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:22:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:22:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:24 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:22:24 $ 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:22:27 $ docker top c862916ea7a178708c94e4e4e5b332502aa093885e3dd4e3903a78da84f3734e -eo pid,comm [Pipeline] { [Pipeline] echo 07:22:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 07:22:27 + set -o pipefail 07:22:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 07:22:32 07:22:32 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 07:22:32 07:22:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/e9681628-0e59-435b-b1e3-7002215ec797 07:22:32 07:22:32 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:22:32 07:22:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:22:32 07:22:32 07:22:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:22:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:22:32 More details here: https://snyk.co/ue1NS [Pipeline] } 07:22:32 $ docker stop --time=1 c862916ea7a178708c94e4e4e5b332502aa093885e3dd4e3903a78da84f3734e 07:22:35 $ docker rm -f --volumes c862916ea7a178708c94e4e4e5b332502aa093885e3dd4e3903a78da84f3734e [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:22:36 + git log --format=format:%s -1 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa [Pipeline] sh 07:22:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:22:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:22:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:36 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:22:36 $ 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:22:37 $ docker top d51736ea13ad5fe033b851b39ef6e799170909e20191fc5cd1190ae880d449fa -eo pid,comm 07:22:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:22:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:22:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:22:37 [ssh-agent] Looking for ssh-agent implementation... 07:22:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:22:37 $ docker exec d51736ea13ad5fe033b851b39ef6e799170909e20191fc5cd1190ae880d449fa ssh-agent 07:22:37 SSH_AUTH_SOCK=/tmp/ssh-xQcQTiBYNrV9/agent.33 07:22:37 SSH_AGENT_PID=39 07:22:37 Running ssh-add (command line suppressed) 07:22:37 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8771410602467003015.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8771410602467003015.key) 07:22:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:22:38 + git semver tag 07:22:38 2023-03-17 07:22:38,195 [run_tag] DEBUG tag force:False 07:22:38 2023-03-17 07:22:38,195 [check_head_tag] DEBUG check head tag 07:22:38 2023-03-17 07:22:38,196 [execute] INFO git cat-file --batch-check 07:22:38 2023-03-17 07:22:38,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:22:38 2023-03-17 07:22:38,200 [execute] INFO git cat-file --batch 07:22:38 2023-03-17 07:22:38,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 07:22:38 2023-03-17 07:22:38,220 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:22:38 2023-03-17 07:22:38,220 [execute] INFO git tag -a v3.0.0-dev.14 -m v3.0.0-dev.14 07:22:38 2023-03-17 07:22:38,220 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.14', '-m', 'v3.0.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 07:22:38 2023-03-17 07:22:38,225 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:22:38 3.0.0-dev.14 [Pipeline] } 07:22:38 $ docker exec --env ******** --env ******** d51736ea13ad5fe033b851b39ef6e799170909e20191fc5cd1190ae880d449fa ssh-agent -k 07:22:38 unset SSH_AUTH_SOCK; 07:22:38 unset SSH_AGENT_PID; 07:22:38 echo Agent pid 39 killed; 07:22:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:22:38 + git semver [Pipeline] } 07:22:38 $ docker stop --time=1 d51736ea13ad5fe033b851b39ef6e799170909e20191fc5cd1190ae880d449fa 07:22:40 $ docker rm -f --volumes d51736ea13ad5fe033b851b39ef6e799170909e20191fc5cd1190ae880d449fa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:22:40 07:22:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:22:40 0.23.1-centos7: Pulling from edgex-lftools 07:22:40 ab5ef0e58194: Pulling fs layer 07:22:40 9712f1f96733: Pulling fs layer 07:22:40 63f879dbbcfc: Pulling fs layer 07:22:40 0d9ebad4ef96: Pulling fs layer 07:22:40 e9a5061849ea: Pulling fs layer 07:22:40 d747dcd14b5f: Pulling fs layer 07:22:40 2de7ff778b66: Pulling fs layer 07:22:40 0d9ebad4ef96: Waiting 07:22:40 e9a5061849ea: Waiting 07:22:40 d747dcd14b5f: Waiting 07:22:40 2de7ff778b66: Waiting 07:22:40 9712f1f96733: Download complete 07:22:41 63f879dbbcfc: Verifying Checksum 07:22:41 63f879dbbcfc: Download complete 07:22:41 e9a5061849ea: Verifying Checksum 07:22:41 d747dcd14b5f: Verifying Checksum 07:22:41 d747dcd14b5f: Download complete 07:22:41 0d9ebad4ef96: Verifying Checksum 07:22:41 0d9ebad4ef96: Download complete 07:22:41 ab5ef0e58194: Verifying Checksum 07:22:41 ab5ef0e58194: Download complete 07:22:41 2de7ff778b66: Download complete 07:22:44 ab5ef0e58194: Pull complete 07:22:44 9712f1f96733: Pull complete 07:22:44 63f879dbbcfc: Pull complete 07:22:49 0d9ebad4ef96: Pull complete 07:22:49 e9a5061849ea: Pull complete 07:22:49 d747dcd14b5f: Pull complete 07:22:49 2de7ff778b66: Pull complete 07:22:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:22:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:22:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:49 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:22:49 $ 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:22:53 $ docker top 268aa769c76b2885e6113692a29be7534dc343f4b652f738b5275b9b3ed240f4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:22:53 provisioning config files... 07:22:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12823292970546704113tmp 07:22:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13667956506389759426tmp 07:22:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10118628308847150702tmp [Pipeline] { [Pipeline] echo 07:22:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:22:53 ---> sigul-configuration.sh 07:22:53 gpg: directory `/root/.gnupg' created 07:22:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:22:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:22:53 gpg: keyring `/root/.gnupg/secring.gpg' created 07:22:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:22:53 gpg: CAST5 encrypted data 07:22:53 gpg: encrypted with 1 passphrase 07:22:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:22:54 + mkdir /home/jenkins 07:22:54 + mkdir /home/jenkins/sigul [Pipeline] sh 07:22:54 + 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:22:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:22:54 ---> sigul-install.sh 07:22:54 Sigul already installed; skipping installation. [Pipeline] sh 07:22:54 + git tag --list 07:22:54 0.7.1 07:22:54 v1.0.0 07:22:54 v1.1.0 07:22:54 v1.1.1 07:22:54 v1.2.2 07:22:54 v1.3.0 07:22:54 v1.3.1 07:22:54 v2.0.0 07:22:54 v2.1.0 07:22:54 v2.1.1 07:22:54 v2.1.1-dev.1 07:22:54 v2.1.1-dev.2 07:22:54 v2.2.0 07:22:54 v2.2.1-dev.1 07:22:54 v2.2.1-dev.10 07:22:54 v2.2.1-dev.2 07:22:54 v2.2.1-dev.3 07:22:54 v2.2.1-dev.4 07:22:54 v2.2.1-dev.5 07:22:54 v2.2.1-dev.6 07:22:54 v2.2.1-dev.7 07:22:54 v2.2.1-dev.8 07:22:54 v2.2.1-dev.9 07:22:54 v2.3.0 07:22:54 v2.3.0-dev.10 07:22:54 v2.3.0-dev.11 07:22:54 v2.3.0-dev.12 07:22:54 v2.3.0-dev.13 07:22:54 v2.3.0-dev.14 07:22:54 v2.3.0-dev.15 07:22:54 v2.3.0-dev.16 07:22:54 v2.3.0-dev.17 07:22:54 v2.3.0-dev.18 07:22:54 v2.3.0-dev.19 07:22:54 v2.3.0-dev.20 07:22:54 v2.3.0-dev.21 07:22:54 v2.3.0-dev.22 07:22:54 v2.3.0-dev.23 07:22:54 v2.3.0-dev.24 07:22:54 v2.3.0-dev.25 07:22:54 v2.3.0-dev.26 07:22:54 v2.3.0-dev.27 07:22:54 v2.3.0-dev.28 07:22:54 v2.3.0-dev.29 07:22:54 v2.3.0-dev.30 07:22:54 v2.3.0-dev.31 07:22:54 v2.3.0-dev.32 07:22:54 v2.3.0-dev.33 07:22:54 v2.3.0-dev.34 07:22:54 v3.0.0-dev.1 07:22:54 v3.0.0-dev.10 07:22:54 v3.0.0-dev.11 07:22:54 v3.0.0-dev.12 07:22:54 v3.0.0-dev.13 07:22:54 v3.0.0-dev.14 07:22:54 v3.0.0-dev.2 07:22:54 v3.0.0-dev.3 07:22:54 v3.0.0-dev.4 07:22:54 v3.0.0-dev.5 07:22:54 v3.0.0-dev.6 07:22:54 v3.0.0-dev.7 07:22:54 v3.0.0-dev.8 07:22:54 v3.0.0-dev.9 [Pipeline] sh 07:22:55 + lftools sign git-tag v3.0.0-dev.14 07:22:55 Signing Git tag with Sigul... 07:22:55 Signing v3.0.0-dev.14 [Pipeline] echo 07:22:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:22:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:22:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:22:56 $ docker stop --time=1 268aa769c76b2885e6113692a29be7534dc343f4b652f738b5275b9b3ed240f4 07:22:57 $ docker rm -f --volumes 268aa769c76b2885e6113692a29be7534dc343f4b652f738b5275b9b3ed240f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:22:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:22:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:22:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:22:58 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:22: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:22:58 $ docker top a4a53bafffd64fa2de220a888436c34edeee4e2cbdcbcc89f238b41c139c22ff -eo pid,comm 07:22:58 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:22:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:22:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:22:58 [ssh-agent] Looking for ssh-agent implementation... 07:22:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:22:59 $ docker exec a4a53bafffd64fa2de220a888436c34edeee4e2cbdcbcc89f238b41c139c22ff ssh-agent 07:22:59 SSH_AUTH_SOCK=/tmp/ssh-Wl34tO8r9kGG/agent.34 07:22:59 SSH_AGENT_PID=40 07:22:59 Running ssh-add (command line suppressed) 07:22:59 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11391808877357489500.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11391808877357489500.key) 07:22:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:22:59 + git semver bump pre 07:22:59 2023-03-17 07:22:59,734 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:22:59 2023-03-17 07:22:59,734 [bump_version] DEBUG bumping version:3.0.0-dev.14 on axis:pre with prefix:dev 07:22:59 2023-03-17 07:22:59,734 [bump_version] DEBUG bumped version:3.0.0-dev.15 07:22:59 2023-03-17 07:22:59,734 [write_version] DEBUG write version:3.0.0-dev.15 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 07:22:59 2023-03-17 07:22:59,734 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:22:59 2023-03-17 07:22:59,734 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:22:59 2023-03-17 07:22:59,736 [execute] INFO git cat-file --batch-check 07:22:59 2023-03-17 07:22:59,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:22:59 2023-03-17 07:22:59,741 [execute] INFO git cat-file --batch 07:22:59 2023-03-17 07:22:59,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:22:59 2023-03-17 07:22:59,746 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:22:59 3.0.0-dev.15 [Pipeline] } 07:22:59 $ docker exec --env ******** --env ******** a4a53bafffd64fa2de220a888436c34edeee4e2cbdcbcc89f238b41c139c22ff ssh-agent -k 07:22:59 unset SSH_AUTH_SOCK; 07:22:59 unset SSH_AGENT_PID; 07:22:59 echo Agent pid 40 killed; 07:22:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:00 + git semver [Pipeline] } 07:23:00 $ docker stop --time=1 a4a53bafffd64fa2de220a888436c34edeee4e2cbdcbcc89f238b41c139c22ff 07:23:01 $ docker rm -f --volumes a4a53bafffd64fa2de220a888436c34edeee4e2cbdcbcc89f238b41c139c22ff [Pipeline] // withDockerContainer [Pipeline] sh 07:23:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:02 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:23:02 $ 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:23:02 $ docker top def3ac0f0f80c5fe4a31d6f72abc92128e2ccc8903e5ceb4d25f1042ac176c77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:02 [ssh-agent] Looking for ssh-agent implementation... 07:23:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:03 $ docker exec def3ac0f0f80c5fe4a31d6f72abc92128e2ccc8903e5ceb4d25f1042ac176c77 ssh-agent 07:23:03 SSH_AUTH_SOCK=/tmp/ssh-eupWuApNvXLn/agent.31 07:23:03 SSH_AGENT_PID=37 07:23:03 Running ssh-add (command line suppressed) 07:23:03 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13574039303007323587.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13574039303007323587.key) 07:23:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:03 + git semver push 07:23:03 2023-03-17 07:23:03,762 [run_push] DEBUG push 07:23:03 2023-03-17 07:23:03,763 [execute] INFO git cat-file --batch-check 07:23:03 2023-03-17 07:23:03,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:23:03 2023-03-17 07:23:03,767 [execute] INFO git rev-list 69420805816a3a0888a2520105efc1748694850d -- 07:23:03 2023-03-17 07:23:03,767 [execute] DEBUG Popen(['git', 'rev-list', '69420805816a3a0888a2520105efc1748694850d', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:23:03 2023-03-17 07:23:03,775 [execute] INFO git fetch -v origin 07:23:03 2023-03-17 07:23:03,776 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:23:04 2023-03-17 07:23:04,362 [run_push] DEBUG no remote changes detected 07:23:04 2023-03-17 07:23:04,363 [execute] INFO git push origin semver 07:23:04 2023-03-17 07:23:04,363 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:23:05 2023-03-17 07:23:05,158 [run_push] DEBUG push all version tags 07:23:05 2023-03-17 07:23:05,158 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:23:05 2023-03-17 07:23:05,159 [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:23:05 2023-03-17 07:23:05,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 07:23:05 3.0.0-dev.15 [Pipeline] } 07:23:06 $ docker exec --env ******** --env ******** def3ac0f0f80c5fe4a31d6f72abc92128e2ccc8903e5ceb4d25f1042ac176c77 ssh-agent -k 07:23:06 unset SSH_AUTH_SOCK; 07:23:06 unset SSH_AGENT_PID; 07:23:06 echo Agent pid 37 killed; 07:23:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:06 + git semver [Pipeline] } 07:23:06 $ docker stop --time=1 def3ac0f0f80c5fe4a31d6f72abc92128e2ccc8903e5ceb4d25f1042ac176c77 07:23:08 $ docker rm -f --volumes def3ac0f0f80c5fe4a31d6f72abc92128e2ccc8903e5ceb4d25f1042ac176c77 [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:23:08 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 07:23:08 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:23:08 total 16 07:23:08 drwxr-xr-x 3 root root 4096 Mar 17 07:13 . 07:23:08 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 07:22 .. 07:23:08 drwxr-xr-x 2 root root 4096 Mar 17 07:13 cost 07:23:08 -rw-r--r-- 1 root root 85 Mar 17 07:13 cost.csv 07:23:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:23:08 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:23:08 total 16 07:23:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 07:13 . 07:23:08 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 07:22 .. 07:23:08 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 07:13 cost 07:23:08 -rw-r--r-- 1 jenkins jenkins 85 Mar 17 07:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:23:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:23:09 ---> package-listing.sh 07:23:09 ++ facter osfamily 07:23:09 ++ tr '[:upper:]' '[:lower:]' 07:23:10 + OS_FAMILY=debian 07:23:10 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 07:23:10 + START_PACKAGES=/tmp/packages_start.txt 07:23:10 + END_PACKAGES=/tmp/packages_end.txt 07:23:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:23:10 + PACKAGES=/tmp/packages_start.txt 07:23:10 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:23:10 + PACKAGES=/tmp/packages_end.txt 07:23:10 + case "${OS_FAMILY}" in 07:23:10 + dpkg -l 07:23:10 + grep '^ii' 07:23:10 + '[' -f /tmp/packages_start.txt ']' 07:23:10 + '[' -f /tmp/packages_end.txt ']' 07:23:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:23:10 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:23:10 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 07:23:10 + 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:23:10 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:23:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:23:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:11 prd-ubuntu20.04-docker-8c-8g-4356 does not seem to be running inside a container 07:23:11 $ 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:23:11 $ docker top 4a19b7a806cd87c4f91e6f352c9409626909a968ed66b41a0e49288ff6aa1a45 -eo pid,comm [Pipeline] { [Pipeline] sh 07:23:11 + touch /tmp/pre-build-complete [Pipeline] sh 07:23:11 + mkdir -p /var/log/sysstat [Pipeline] sh 07:23:12 + ls /var/log/sa-host 07:23:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:12 provisioning config files... 07:23:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4623470413422886084tmp [Pipeline] { [Pipeline] echo 07:23:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:23:12 ---> create-netrc.sh [Pipeline] } 07:23:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:23:13 ---> python-tools-install.sh [Pipeline] echo 07:23:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:23:13 ---> sudo-logs.sh 07:23:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:23:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:23:13 ---> job-cost.sh 07:23:13 lf-activate-venv: SKIPPING 07:23:13 DEBUG: total: 0.2199999988079071 07:23:13 INFO: Retrieving Stack Cost... 07:23:14 INFO: Retrieving Pricing Info for: v3-standard-8 07:23:14 INFO: Archiving Costs [Pipeline] echo 07:23:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:23:14 ---> logs-deploy.sh 07:23:14 lf-activate-venv: SKIPPING 07:23:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/98 07:23:14 INFO: archiving workspace using pattern(s): 07:23:15 Archives upload complete. 07:23:15 INFO: archiving logs to Nexus