Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c80097c4a9a507998513a772aabe6c68a90454ef 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-ssh14428208859866889619.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-ssh16412876984590844214.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-ssh6333751727404086970.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-ssh17481700882623855649.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-ssh2283962652042668566.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4482 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 c80097c4a9a507998513a772aabe6c68a90454ef (main) Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#535)" > 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 c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 > git rev-list --no-walk 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:16:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:16:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:16:55 ========================================================= 04:16:55 EdgeX Global Pipelines Version Info 04:16:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:16:55 ------------------- 04:16:55 stable info: 04:16:55 ------------------- 04:16:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:16:55 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 04:16:55 Message: update stable to v1.0.245 04:16:56 ------------------- 04:16:56 experimental info: 04:16:56 ------------------- 04:16:56 Commited By: **** collab-it+edgex@linuxfoundation.org 04:16:56 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 04:16:56 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c80097c4a9a507998513a772aabe6c68a90454ef [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c80097c [Pipeline] echo 04:16:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:56 provisioning config files... 04:16:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8219245217091116141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:57 ---> docker-login.sh 04:16:57 nexus3.edgexfoundry.org:10001 04:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:57 Configure a credential helper to remove this warning. See 04:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:57 04:16:57 Login Succeeded 04:16:57 nexus3.edgexfoundry.org:10002 04:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:57 Configure a credential helper to remove this warning. See 04:16:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:57 04:16:57 Login Succeeded 04:16:57 nexus3.edgexfoundry.org:10003 04:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:58 Configure a credential helper to remove this warning. See 04:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:58 04:16:58 Login Succeeded 04:16:58 nexus3.edgexfoundry.org:10004 04:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:58 Configure a credential helper to remove this warning. See 04:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:58 04:16:58 Login Succeeded 04:16:58 docker.io 04:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:58 Configure a credential helper to remove this warning. See 04:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:58 04:16:58 Login Succeeded 04:16:58 ---> docker-login.sh ends [Pipeline] } 04:16:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:16:58 + git rev-list -1 --merges c80097c4a9a507998513a772aabe6c68a90454ef~1..c80097c4a9a507998513a772aabe6c68a90454ef [Pipeline] echo 04:16:58 -----------> git rev-list -1 --merges c80097c4a9a507998513a772aabe6c68a90454ef~1..c80097c4a9a507998513a772aabe6c68a90454ef c80097c4a9a507998513a772aabe6c68a90454ef [false] [Pipeline] sh 04:16:59 + git log --format=format:%s -1 c80097c4a9a507998513a772aabe6c68a90454ef [Pipeline] echo 04:16:59 ========================================================= 04:16:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:16:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:59 + git log --format=format:%s -1 c80097c4a9a507998513a772aabe6c68a90454ef [Pipeline] echo 04:16:59 [semverPrep] GIT_COMMIT: c80097c4a9a507998513a772aabe6c68a90454ef, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory (#535) [Pipeline] echo 04:16:59 [semverPrep] This is not a build commit. [Pipeline] sh 04:16:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:16:59 + grep -v github /etc/ssh/ssh_known_hosts 04:16:59 + [ -e /tmp/ssh_known_hosts ] 04:16:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:16:59 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:16:59 sudo tee -a /etc/ssh/ssh_known_hosts 04:16:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:00 04:17:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:00 0.1.4: Pulling from edgex-devops/py-git-semver 04:17:00 b85a868b505f: Pulling fs layer 04:17:00 e2be974225ed: Pulling fs layer 04:17:00 339a4e72a1f5: Pulling fs layer 04:17:00 988bab9f4d93: Pulling fs layer 04:17:00 1469e6f7b9e6: Pulling fs layer 04:17:00 eaf3925da568: Pulling fs layer 04:17:00 bab4dde63d76: Pulling fs layer 04:17:00 bde34c3a00c8: Pulling fs layer 04:17:00 b352a97aabf1: Pulling fs layer 04:17:00 4872d77fe225: Pulling fs layer 04:17:00 5851b861e8e6: Pulling fs layer 04:17:00 1469e6f7b9e6: Waiting 04:17:00 eaf3925da568: Waiting 04:17:00 4872d77fe225: Waiting 04:17:00 5851b861e8e6: Waiting 04:17:00 988bab9f4d93: Waiting 04:17:00 b352a97aabf1: Waiting 04:17:00 bde34c3a00c8: Waiting 04:17:00 e2be974225ed: Verifying Checksum 04:17:00 e2be974225ed: Download complete 04:17:00 988bab9f4d93: Verifying Checksum 04:17:00 988bab9f4d93: Download complete 04:17:00 1469e6f7b9e6: Verifying Checksum 04:17:00 1469e6f7b9e6: Download complete 04:17:00 339a4e72a1f5: Verifying Checksum 04:17:00 339a4e72a1f5: Download complete 04:17:00 eaf3925da568: Verifying Checksum 04:17:00 eaf3925da568: Download complete 04:17:00 bde34c3a00c8: Verifying Checksum 04:17:00 bde34c3a00c8: Download complete 04:17:00 b352a97aabf1: Verifying Checksum 04:17:00 b352a97aabf1: Download complete 04:17:00 4872d77fe225: Verifying Checksum 04:17:00 4872d77fe225: Download complete 04:17:00 b85a868b505f: Verifying Checksum 04:17:00 b85a868b505f: Download complete 04:17:00 5851b861e8e6: Verifying Checksum 04:17:00 5851b861e8e6: Download complete 04:17:01 bab4dde63d76: Verifying Checksum 04:17:02 b85a868b505f: Pull complete 04:17:02 e2be974225ed: Pull complete 04:17:02 339a4e72a1f5: Pull complete 04:17:02 988bab9f4d93: Pull complete 04:17:03 1469e6f7b9e6: Pull complete 04:17:03 eaf3925da568: Pull complete 04:17:05 bab4dde63d76: Pull complete 04:17:05 bde34c3a00c8: Pull complete 04:17:05 b352a97aabf1: Pull complete 04:17:05 4872d77fe225: Pull complete 04:17:05 5851b861e8e6: Pull complete 04:17:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:17:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:17:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:05 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:17:05 $ 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 04:17:06 $ docker top 8b171e64944e9abbf844843473cd88e076d392a325c4ebada3717f75f1b6bcfa -eo pid,comm 04:17:06 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). 04:17:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:17:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:17:06 [ssh-agent] Looking for ssh-agent implementation... 04:17:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:17:06 $ docker exec 8b171e64944e9abbf844843473cd88e076d392a325c4ebada3717f75f1b6bcfa ssh-agent 04:17:07 SSH_AUTH_SOCK=/tmp/ssh-69eFBGw0OAj7/agent.32 04:17:07 SSH_AGENT_PID=38 04:17:07 Running ssh-add (command line suppressed) 04:17:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15279565512603689571.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15279565512603689571.key) 04:17:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:17:07 + git tag --points-at HEAD [Pipeline] } 04:17:07 $ docker exec --env ******** --env ******** 8b171e64944e9abbf844843473cd88e076d392a325c4ebada3717f75f1b6bcfa ssh-agent -k 04:17:07 unset SSH_AUTH_SOCK; 04:17:07 unset SSH_AGENT_PID; 04:17:07 echo Agent pid 38 killed; 04:17:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:17:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:17:07 [ssh-agent] Looking for ssh-agent implementation... 04:17:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:17:07 $ docker exec 8b171e64944e9abbf844843473cd88e076d392a325c4ebada3717f75f1b6bcfa ssh-agent 04:17:07 SSH_AUTH_SOCK=/tmp/ssh-Fea1LIcrI7SA/agent.70 04:17:07 SSH_AGENT_PID=76 04:17:07 Running ssh-add (command line suppressed) 04:17:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13548684922177385504.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13548684922177385504.key) 04:17:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:17:08 + git semver init 04:17:08 2023-03-18 04:17:08,431 [run_init] DEBUG init version:0.0.0 force:False 04:17:08 2023-03-18 04:17:08,431 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:17:08 2023-03-18 04:17:08,432 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:17:08 2023-03-18 04:17:08,432 [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) 04:17:09 2023-03-18 04:17:09,194 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 04:17:09 2023-03-18 04:17:09,194 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 04:17:09 2023-03-18 04:17:09,195 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:17:09 2023-03-18 04:17:09,195 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:17:09 3.0.0-dev.15 [Pipeline] } 04:17:09 $ docker exec --env ******** --env ******** 8b171e64944e9abbf844843473cd88e076d392a325c4ebada3717f75f1b6bcfa ssh-agent -k 04:17:09 unset SSH_AUTH_SOCK; 04:17:09 unset SSH_AGENT_PID; 04:17:09 echo Agent pid 76 killed; 04:17:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:17:09 + git semver [Pipeline] } 04:17:10 $ docker stop --time=1 8b171e64944e9abbf844843473cd88e076d392a325c4ebada3717f75f1b6bcfa 04:17:11 $ docker rm -f --volumes 8b171e64944e9abbf844843473cd88e076d392a325c4ebada3717f75f1b6bcfa [Pipeline] // withDockerContainer [Pipeline] sh 04:17:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:17:11 Stashed 1 file(s) [Pipeline] echo 04:17:11 [edgeXSemver]: initialized semver on version 3.0.0-dev.15 [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 04:17:12 provisioning config files... 04:17:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18133535609699297514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:12 ---> docker-login.sh 04:17:12 nexus3.edgexfoundry.org:10001 04:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:12 Configure a credential helper to remove this warning. See 04:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:12 04:17:12 Login Succeeded 04:17:12 nexus3.edgexfoundry.org:10002 04:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:12 Configure a credential helper to remove this warning. See 04:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:12 04:17:12 Login Succeeded 04:17:12 nexus3.edgexfoundry.org:10003 04:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:12 Configure a credential helper to remove this warning. See 04:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:12 04:17:12 Login Succeeded 04:17:12 nexus3.edgexfoundry.org:10004 04:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:12 Configure a credential helper to remove this warning. See 04:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:12 04:17:12 Login Succeeded 04:17:12 docker.io 04:17:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:17:12 Configure a credential helper to remove this warning. See 04:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:17:12 04:17:12 Login Succeeded 04:17:12 ---> docker-login.sh ends [Pipeline] } 04:17:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:17:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:17:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:17:13 ========================================================= 04:17:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:17:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:13 + 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 . 04:17:13 Sending build context to Docker daemon 6.398MB 04:17:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:17:13 Step 2/12 : FROM ${BASE} AS builder 04:17:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:17:13 63b65145d645: Pulling fs layer 04:17:13 a2d21d5440eb: Pulling fs layer 04:17:13 935e6c44a52c: Pulling fs layer 04:17:13 94cc34f8dd06: Pulling fs layer 04:17:13 30dea6a524f1: Pulling fs layer 04:17:13 a2aff8979fd8: Pulling fs layer 04:17:13 6808be2612f2: Pulling fs layer 04:17:13 f25807f1079a: Pulling fs layer 04:17:13 30dea6a524f1: Waiting 04:17:13 a2aff8979fd8: Waiting 04:17:13 6808be2612f2: Waiting 04:17:13 a2d21d5440eb: Download complete 04:17:13 94cc34f8dd06: Download complete 04:17:13 30dea6a524f1: Verifying Checksum 04:17:13 30dea6a524f1: Download complete 04:17:13 63b65145d645: Verifying Checksum 04:17:13 63b65145d645: Download complete 04:17:13 a2aff8979fd8: Verifying Checksum 04:17:13 a2aff8979fd8: Download complete 04:17:13 63b65145d645: Pull complete 04:17:13 a2d21d5440eb: Pull complete 04:17:14 935e6c44a52c: Download complete 04:17:14 f25807f1079a: Verifying Checksum 04:17:14 f25807f1079a: Download complete 04:17:14 6808be2612f2: Verifying Checksum 04:17:14 6808be2612f2: Download complete 04:17:17 935e6c44a52c: Pull complete 04:17:17 94cc34f8dd06: Pull complete 04:17:17 30dea6a524f1: Pull complete 04:17:17 a2aff8979fd8: Pull complete 04:17:20 6808be2612f2: Pull complete 04:17:21 f25807f1079a: Pull complete 04:17:21 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:17:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:17:21 ---> 3b553350e43f 04:17:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:17:22 ---> Running in a7a95fb7bdec 04:17:22 Removing intermediate container a7a95fb7bdec 04:17:22 ---> 22ee44bdeeaa 04:17:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:17:22 ---> Running in 6e808ed6bce6 04:17:22 Removing intermediate container 6e808ed6bce6 04:17:22 ---> 04cc8b13da4f 04:17:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:17:22 ---> Running in d9fc43f986aa 04:17:22 Removing intermediate container d9fc43f986aa 04:17:22 ---> f285fbd85e89 04:17:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:17:22 ---> Running in 2b88cd6e5747 04:17:22 Removing intermediate container 2b88cd6e5747 04:17:22 ---> 94c7477a0043 04:17:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:17:22 ---> Running in 4b7387a4677e 04:17:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:17:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:17:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:17:23 (2/4) Installing libedit (20221030.3.1-r0) 04:17:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:17:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:17:23 Executing busybox-1.35.0-r29.trigger 04:17:23 OK: 269 MiB in 57 packages 04:17:24 Removing intermediate container 4b7387a4677e 04:17:24 ---> 99adcbbad1ae 04:17:24 Step 8/12 : WORKDIR /device-mqtt-go 04:17:24 ---> Running in 3198d26cd59e 04:17:24 Removing intermediate container 3198d26cd59e 04:17:24 ---> ce5782fb4498 04:17:24 Step 9/12 : COPY go.mod vendor* ./ 04:17:24 ---> c173c99ecd65 04:17:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:24 ---> Running in 5ccb0d1a5f17 04:17:27 Still waiting to schedule task 04:17:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:17:56 Removing intermediate container 5ccb0d1a5f17 04:17:56 ---> 5e4ce2192114 04:17:56 Step 11/12 : COPY . . 04:17:56 ---> 8b5ab53cfdcb 04:17:56 Step 12/12 : RUN $MAKE 04:17:56 ---> Running in e272b82b5cce 04:17:56 noop 04:17:56 Removing intermediate container e272b82b5cce 04:17:56 ---> 914251c5034d 04:17:56 Successfully built 914251c5034d 04:17:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:56 + docker inspect -f . ci-base-image-x86_64 04:17:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:56 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:17:56 $ 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 04:17:57 $ docker top 515ec6a850bf3027ac1d976e7aa2366bf49f943283aad1b39e1e3f1be26de2e8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:57 + go version 04:17:57 go version go1.20.2 linux/amd64 [Pipeline] } 04:17:57 $ docker stop --time=1 515ec6a850bf3027ac1d976e7aa2366bf49f943283aad1b39e1e3f1be26de2e8 04:17:58 $ docker rm -f --volumes 515ec6a850bf3027ac1d976e7aa2366bf49f943283aad1b39e1e3f1be26de2e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:59 + docker inspect -f . ci-base-image-x86_64 04:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:59 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:17:59 $ 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 04:17:59 $ docker top f15f8987c32837a1119eb34a6b3bbbc7ba5ad1a7cff62e5419a759a4fdaee922 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 04:18:00 + make test 04:18:00 go test ./... -coverprofile=coverage.out ./... 04:18:05 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:18:15 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:18:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:18:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.2% of statements 04:18:23 go vet ./... 04:18:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:18:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:18:26 ./bin/test-attribution-txt.sh [Pipeline] echo 04:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:18:26 $ docker stop --time=1 f15f8987c32837a1119eb34a6b3bbbc7ba5ad1a7cff62e5419a759a4fdaee922 04:18:27 $ docker rm -f --volumes f15f8987c32837a1119eb34a6b3bbbc7ba5ad1a7cff62e5419a759a4fdaee922 [Pipeline] // withDockerContainer [Pipeline] sh 04:18:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:18:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:18:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:18:29 + ls -al . 04:18:29 total 180 04:18:29 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 04:18 . 04:18:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 04:16 .. 04:18:29 -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 04:16 .dockerignore 04:18:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 04:17 .git 04:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:16 .github 04:18:29 -rw-rw-r-- 1 jenkins jenkins 329 Mar 18 04:16 .gitignore 04:18:29 -rw-rw-r-- 1 jenkins jenkins 41 Mar 18 04:16 .golangci.yml 04:18:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 04:17 .semver 04:18:29 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 18 04:16 Attribution.txt 04:18:29 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 18 04:16 CHANGELOG.md 04:18:29 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 18 04:16 Dockerfile 04:18:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 04:16 GOVERNANCE.md 04:18:29 -rw-rw-r-- 1 jenkins jenkins 678 Mar 18 04:16 Jenkinsfile 04:18:29 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 04:16 LICENSE 04:18:29 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 18 04:16 Makefile 04:18:29 -rw-rw-r-- 1 jenkins jenkins 620 Mar 18 04:16 OWNERS.md 04:18:29 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 18 04:16 README.md 04:18:29 -rw-rw-r-- 1 jenkins jenkins 12 Mar 18 04:17 VERSION 04:18:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 04:16 bin 04:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:16 cmd 04:18:29 -rw-r--r-- 1 jenkins jenkins 18047 Mar 18 04:18 coverage.out 04:18:29 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 18 04:16 go.mod 04:18:29 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 18 04:16 go.sum 04:18:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:16 internal 04:18:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 04:16 mock 04:18:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 04:16 snap 04:18:29 -rw-rw-r-- 1 jenkins jenkins 227 Mar 18 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:29 + 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=c80097c4a9a507998513a772aabe6c68a90454ef --label arch=amd64 --label version=3.0.0-dev.15 . 04:18:29 Sending build context to Docker daemon 6.417MB 04:18:29 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:18:29 Step 2/24 : FROM ${BASE} AS builder 04:18:29 ---> 914251c5034d 04:18:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:18:29 ---> Running in edec87711e4f 04:18:29 Removing intermediate container edec87711e4f 04:18:29 ---> d7d1cde7b0a6 04:18:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:18:29 ---> Running in b9e0b50d1334 04:18:29 Removing intermediate container b9e0b50d1334 04:18:29 ---> 541139a9e10a 04:18:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:18:29 ---> Running in d4357ed59bd0 04:18:29 Removing intermediate container d4357ed59bd0 04:18:29 ---> f4ca98769140 04:18:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:18:29 ---> Running in b030d97635b3 04:18:30 Removing intermediate container b030d97635b3 04:18:30 ---> 3608c19fe98a 04:18:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:18:30 ---> Running in 71a1d6d68049 04:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:18:30 OK: 269 MiB in 57 packages 04:18:31 Removing intermediate container 71a1d6d68049 04:18:31 ---> 2f196d5b8ab8 04:18:31 Step 8/24 : WORKDIR /device-mqtt-go 04:18:31 ---> Running in ebf78a2c18b6 04:18:31 Removing intermediate container ebf78a2c18b6 04:18:31 ---> 622abe719f6f 04:18:31 Step 9/24 : COPY go.mod vendor* ./ 04:18:31 ---> f248fe1c2e07 04:18:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:31 ---> Running in 5980466543ad 04:18:32 Removing intermediate container 5980466543ad 04:18:32 ---> a415b5ee0a90 04:18:32 Step 11/24 : COPY . . 04:18:32 ---> ebb9dd3f428c 04:18:32 Step 12/24 : RUN $MAKE 04:18:32 ---> Running in da4e035e11b0 04:18:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.15" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:18:50 Removing intermediate container da4e035e11b0 04:18:50 ---> f4f7577b554b 04:18:50 Step 13/24 : FROM alpine:3.17 04:18:50 3.17: Pulling from library/alpine 04:18:50 63b65145d645: Already exists 04:18:50 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 04:18:50 Status: Downloaded newer image for alpine:3.17 04:18:50 ---> b2aa39c304c2 04:18:50 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:18:50 ---> Running in 72dd351b2c31 04:18:50 Removing intermediate container 72dd351b2c31 04:18:50 ---> 11d930527cb5 04:18:50 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:18:50 ---> Running in d775dd7712b0 04:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:18:50 (1/1) Installing dumb-init (1.2.5-r2) 04:18:50 Executing busybox-1.35.0-r29.trigger 04:18:50 OK: 7 MiB in 16 packages 04:18:50 Removing intermediate container d775dd7712b0 04:18:50 ---> 071bbbfb88a0 04:18:50 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:18:51 ---> 282a6d88b7e7 04:18:51 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:18:51 ---> 7258d47aa688 04:18:51 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:18:51 ---> 0010a871e70a 04:18:51 Step 19/24 : EXPOSE 59982 04:18:51 ---> Running in e94e1ce5e3a4 04:18:51 Removing intermediate container e94e1ce5e3a4 04:18:51 ---> 4f67d09fa51a 04:18:51 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:18:51 ---> Running in c5cf6d89482f 04:18:51 Removing intermediate container c5cf6d89482f 04:18:51 ---> 21c227e29ebc 04:18:51 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:18:51 ---> Running in eaf32168a651 04:18:51 Removing intermediate container eaf32168a651 04:18:51 ---> b6797d8fa576 04:18:51 Step 22/24 : LABEL arch=amd64 04:18:51 ---> Running in c0675478b3f3 04:18:51 Removing intermediate container c0675478b3f3 04:18:51 ---> b2c65067d0f5 04:18:51 Step 23/24 : LABEL git_sha=c80097c4a9a507998513a772aabe6c68a90454ef 04:18:51 ---> Running in 1feef3ec26e4 04:18:51 Removing intermediate container 1feef3ec26e4 04:18:51 ---> 5ecc666c8e4e 04:18:51 Step 24/24 : LABEL version=3.0.0-dev.15 04:18:51 ---> Running in d94e664b8a09 04:18:51 Removing intermediate container d94e664b8a09 04:18:51 ---> 56db75dc5190 04:18:51 [Warning] One or more build-args [ARCH] were not consumed 04:18:51 Successfully built 56db75dc5190 04:18:51 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:51 provisioning config files... 04:18:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7495931047894838490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:52 ---> docker-login.sh 04:18:52 nexus3.edgexfoundry.org:10001 04:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:52 Configure a credential helper to remove this warning. See 04:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:52 04:18:52 Login Succeeded 04:18:52 nexus3.edgexfoundry.org:10002 04:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:52 Configure a credential helper to remove this warning. See 04:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:52 04:18:52 Login Succeeded 04:18:52 nexus3.edgexfoundry.org:10003 04:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:52 Configure a credential helper to remove this warning. See 04:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:52 04:18:52 Login Succeeded 04:18:52 nexus3.edgexfoundry.org:10004 04:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:52 Configure a credential helper to remove this warning. See 04:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:52 04:18:52 Login Succeeded 04:18:52 docker.io 04:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:52 Configure a credential helper to remove this warning. See 04:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:52 04:18:52 Login Succeeded 04:18:52 ---> docker-login.sh ends [Pipeline] } 04:18:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:18:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:52 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 04:18:52 c80097c4a9a507998513a772aabe6c68a90454ef 04:18:52 latest 04:18:52 3.0.0-dev.15 04:18:52 c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15 04:18:52 main 04:18:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c80097c4a9a507998513a772aabe6c68a90454ef [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c80097c4a9a507998513a772aabe6c68a90454ef 04:18:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:18:53 fe8f84a52bc5: Preparing 04:18:53 cb905df0583d: Preparing 04:18:53 d6fe3d0814aa: Preparing 04:18:53 f8db0882d882: Preparing 04:18:53 7cd52847ad77: Preparing 04:18:53 7cd52847ad77: Layer already exists 04:18:53 f8db0882d882: Pushed 04:18:53 cb905df0583d: Pushed 04:18:53 fe8f84a52bc5: Pushed 04:18:56 d6fe3d0814aa: Pushed 04:18:56 c80097c4a9a507998513a772aabe6c68a90454ef: digest: sha256:b7a434765cdf46a4f5b4d5105c3786af953f23c53cbaa273275abb3a95ef9f8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4483 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:18:56 Running in /w/workspace/device-mqtt-go/99 [Pipeline] { [Pipeline] checkout 04:18:56 Selected Git installation does not exist. Using Default 04:18:56 The recommended git tool is: NONE 04:18:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:18:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:18:57 fe8f84a52bc5: Preparing 04:18:57 cb905df0583d: Preparing 04:18:57 d6fe3d0814aa: Preparing 04:18:57 f8db0882d882: Preparing 04:18:57 7cd52847ad77: Preparing 04:18:57 7cd52847ad77: Layer already exists 04:18:57 fe8f84a52bc5: Layer already exists 04:18:57 cb905df0583d: Layer already exists 04:18:57 d6fe3d0814aa: Layer already exists 04:18:57 f8db0882d882: Layer already exists 04:18:57 latest: digest: sha256:b7a434765cdf46a4f5b4d5105c3786af953f23c53cbaa273275abb3a95ef9f8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.15 04:18:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:18:58 fe8f84a52bc5: Preparing 04:18:58 cb905df0583d: Preparing 04:18:58 d6fe3d0814aa: Preparing 04:18:58 f8db0882d882: Preparing 04:18:58 7cd52847ad77: Preparing 04:18:58 7cd52847ad77: Layer already exists 04:18:58 f8db0882d882: Layer already exists 04:18:58 d6fe3d0814aa: Layer already exists 04:18:58 fe8f84a52bc5: Layer already exists 04:18:58 cb905df0583d: Layer already exists 04:18:58 3.0.0-dev.15: digest: sha256:b7a434765cdf46a4f5b4d5105c3786af953f23c53cbaa273275abb3a95ef9f8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15 04:18:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:18:58 fe8f84a52bc5: Preparing 04:18:58 cb905df0583d: Preparing 04:18:58 d6fe3d0814aa: Preparing 04:18:58 f8db0882d882: Preparing 04:18:58 7cd52847ad77: Preparing 04:18:58 d6fe3d0814aa: Layer already exists 04:18:58 f8db0882d882: Layer already exists 04:18:58 fe8f84a52bc5: Layer already exists 04:18:58 7cd52847ad77: Layer already exists 04:18:58 cb905df0583d: Layer already exists 04:18:58 c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15: digest: sha256:b7a434765cdf46a4f5b4d5105c3786af953f23c53cbaa273275abb3a95ef9f8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 04:18:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:18:59 fe8f84a52bc5: Preparing 04:18:59 cb905df0583d: Preparing 04:18:59 d6fe3d0814aa: Preparing 04:18:59 f8db0882d882: Preparing 04:18:59 7cd52847ad77: Preparing 04:18:59 7cd52847ad77: Layer already exists 04:18:59 d6fe3d0814aa: Layer already exists 04:18:59 fe8f84a52bc5: Layer already exists 04:18:59 f8db0882d882: Layer already exists 04:18:59 cb905df0583d: Layer already exists 04:18:59 main: digest: sha256:b7a434765cdf46a4f5b4d5105c3786af953f23c53cbaa273275abb3a95ef9f8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:18:59 ===================================================== [Pipeline] echo 04:18:59 taggedImages: 04:18:59 - nexus3.edgexfoundry.org:10004/device-mqtt:c80097c4a9a507998513a772aabe6c68a90454ef 04:18:59 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:18:59 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.15 04:18:59 - nexus3.edgexfoundry.org:10004/device-mqtt:c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15 04:18:59 - 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 04:18:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:59 04:18:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:59 latest: Pulling from edgex-lftools-log-publisher 04:18:59 5eb5b503b376: Pulling fs layer 04:18:59 5c69ac0246d0: Pulling fs layer 04:18:59 ec43610c2a17: Pulling fs layer 04:18:59 3a2ae6a8a46f: Pulling fs layer 04:18:59 33b1e0a273af: Pulling fs layer 04:18:59 5d3b04190fa2: Pulling fs layer 04:18:59 2f39f015ded8: Pulling fs layer 04:18:59 5d3b04190fa2: Waiting 04:18:59 33b1e0a273af: Waiting 04:18:59 2f39f015ded8: Waiting 04:18:59 3a2ae6a8a46f: Waiting 04:18:59 5c69ac0246d0: Verifying Checksum 04:18:59 5c69ac0246d0: Download complete 04:18:59 3a2ae6a8a46f: Verifying Checksum 04:18:59 3a2ae6a8a46f: Download complete 04:19:00 33b1e0a273af: Verifying Checksum 04:19:00 33b1e0a273af: Download complete 04:19:00 ec43610c2a17: Verifying Checksum 04:19:00 ec43610c2a17: Download complete 04:19:00 5d3b04190fa2: Download complete 04:19:00 5eb5b503b376: Verifying Checksum 04:19:00 5eb5b503b376: Download complete 04:19:00 2f39f015ded8: Download complete 04:19:01 5eb5b503b376: Pull complete 04:19:01 5c69ac0246d0: Pull complete 04:19:01 using credential edgex-jenkins-ssh 04:19:01 Cloning the remote Git repository 04:19:02 ec43610c2a17: Pull complete 04:19:02 3a2ae6a8a46f: Pull complete 04:19:02 33b1e0a273af: Pull complete 04:19:02 5d3b04190fa2: Pull complete 04:19:01 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:19:01 > git init /w/workspace/device-mqtt-go/99 # timeout=10 04:19:02 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:19:02 > git --version # timeout=10 04:19:02 > git --version # 'git version 2.25.1' 04:19:02 using GIT_SSH to set credentials SSH Credentials for GitHub 04:19:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:04 Avoid second fetch 04:19:04 Checking out Revision c80097c4a9a507998513a772aabe6c68a90454ef (main) 04:19:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:19:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:19:04 > git config core.sparsecheckout # timeout=10 04:19:04 > git checkout -f c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 04:19:04 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#535)" 04:19:04 04:19:04 GitHub has been notified of this commit’s build result 04:19:04 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:19:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:05 Dload Upload Total Spent Left Speed 04:19:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 04:19:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:19:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:19:06 + sudo tee /etc/docker/daemon.new 04:19:06 { 04:19:06 "registry-mirrors": [ 04:19:06 "https://nexus3.edgexfoundry.org:10001" 04:19:06 ], 04:19:06 "bip": "10.250.0.254/24", 04:19:06 "hosts": [ 04:19:06 "tcp://0.0.0.0:5555", 04:19:06 "unix:///var/run/docker.sock" 04:19:06 ], 04:19:06 "mtu": 1458, 04:19:06 "selinux-enabled": true, 04:19:06 "seccomp-profile": "/etc/docker/seccomp.json" 04:19:06 } [Pipeline] sh 04:19:06 2f39f015ded8: Pull complete 04:19:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:19:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:06 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:19:06 $ 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 04:19:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 04:19:07 $ docker top 996be7e013893df9cc5e33f5c4a2e8583beb20ec8b9d471594a5e94a62a60bc5 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 04:19:08 + sudo service docker restart 04:19:08 ---> job-cost.sh 04:19:08 lf-activate-venv: SKIPPING 04:19:08 INFO: No Stack... 04:19:08 INFO: Retrieving Pricing Info for: v3-standard-8 04:19:08 INFO: Archiving Costs [Pipeline] sh 04:19:08 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 04:19:08 + cut -d, -f6 [Pipeline] lock 04:19:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-99-stack-cost] 04:19:09 Resource [jenkins-edgexfoundry-device-mqtt-go-main-99-stack-cost] did not exist. Created. 04:19:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:19:09 + echo total: 0.2199999988079071 [Pipeline] stash 04:19:09 Stashed 1 file(s) [Pipeline] } 04:19:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 04:19:09 $ docker stop --time=1 996be7e013893df9cc5e33f5c4a2e8583beb20ec8b9d471594a5e94a62a60bc5 04:19:10 $ docker rm -f --volumes 996be7e013893df9cc5e33f5c4a2e8583beb20ec8b9d471594a5e94a62a60bc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:26 provisioning config files... 04:19:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/99@tmp/config12064122488296676368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:26 ---> docker-login.sh 04:19:26 nexus3.edgexfoundry.org:10001 04:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:27 Configure a credential helper to remove this warning. See 04:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:27 04:19:27 Login Succeeded 04:19:27 nexus3.edgexfoundry.org:10002 04:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:27 Configure a credential helper to remove this warning. See 04:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:27 04:19:27 Login Succeeded 04:19:27 nexus3.edgexfoundry.org:10003 04:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:28 Configure a credential helper to remove this warning. See 04:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:28 04:19:28 Login Succeeded 04:19:28 nexus3.edgexfoundry.org:10004 04:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:28 Configure a credential helper to remove this warning. See 04:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:28 04:19:28 Login Succeeded 04:19:28 docker.io 04:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:28 Configure a credential helper to remove this warning. See 04:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:28 04:19:28 Login Succeeded 04:19:28 ---> docker-login.sh ends [Pipeline] } 04:19:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:29 ========================================================= 04:19:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:19:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:29 + 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 . 04:19:29 Sending build context to Docker daemon 3.308MB 04:19:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:19:29 Step 2/12 : FROM ${BASE} AS builder 04:19:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:19:30 af6eaf76a39c: Pulling fs layer 04:19:30 55522c791124: Pulling fs layer 04:19:30 ce5c4a1c91eb: Pulling fs layer 04:19:30 169dfbe0d373: Pulling fs layer 04:19:30 e1ff8fa3b103: Pulling fs layer 04:19:30 52ebb69f0ebf: Pulling fs layer 04:19:30 5abe8eddf0d5: Pulling fs layer 04:19:30 169dfbe0d373: Waiting 04:19:30 e1ff8fa3b103: Waiting 04:19:30 52ebb69f0ebf: Waiting 04:19:30 5abe8eddf0d5: Waiting 04:19:30 55522c791124: Verifying Checksum 04:19:30 55522c791124: Download complete 04:19:30 169dfbe0d373: Verifying Checksum 04:19:30 169dfbe0d373: Download complete 04:19:30 e1ff8fa3b103: Verifying Checksum 04:19:30 e1ff8fa3b103: Download complete 04:19:30 af6eaf76a39c: Download complete 04:19:31 5abe8eddf0d5: Verifying Checksum 04:19:31 5abe8eddf0d5: Download complete 04:19:32 ce5c4a1c91eb: Verifying Checksum 04:19:32 ce5c4a1c91eb: Download complete 04:19:32 52ebb69f0ebf: Verifying Checksum 04:19:32 52ebb69f0ebf: Download complete 04:19:33 af6eaf76a39c: Pull complete 04:19:33 55522c791124: Pull complete 04:19:48 ce5c4a1c91eb: Pull complete 04:19:48 169dfbe0d373: Pull complete 04:19:48 e1ff8fa3b103: Pull complete 04:19:53 52ebb69f0ebf: Pull complete 04:19:56 5abe8eddf0d5: Pull complete 04:19:56 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:19:56 ---> 6cb57ee374ae 04:19:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:19:57 ---> Running in 057a354e321b 04:19:57 Removing intermediate container 057a354e321b 04:19:57 ---> 7f76fd2111b6 04:19:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:19:58 ---> Running in 96cde0085e01 04:19:58 Removing intermediate container 96cde0085e01 04:19:58 ---> 8cf041b0e1a1 04:19:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:19:58 ---> Running in 34cdc47a9ffb 04:19:58 Removing intermediate container 34cdc47a9ffb 04:19:58 ---> 48bb775759f3 04:19:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:19:59 ---> Running in 1ec710108d64 04:19:59 Removing intermediate container 1ec710108d64 04:19:59 ---> ba66d5a63afe 04:19:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:19:59 ---> Running in 070e542a5619 04:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:20:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:20:01 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:20:01 (2/4) Installing libedit (20221030.3.1-r0) 04:20:01 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:20:02 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:20:02 Executing busybox-1.35.0-r29.trigger 04:20:02 OK: 268 MiB in 57 packages 04:20:03 Removing intermediate container 070e542a5619 04:20:03 ---> 1e6aa6cebc40 04:20:03 Step 8/12 : WORKDIR /device-mqtt-go 04:20:03 ---> Running in 2c7ea8fd7f78 04:20:03 Removing intermediate container 2c7ea8fd7f78 04:20:03 ---> 453c406b31a5 04:20:03 Step 9/12 : COPY go.mod vendor* ./ 04:20:04 ---> 4aad40298eda 04:20:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:04 ---> Running in 0a5eb46eb4fe 04:21:12 Removing intermediate container 0a5eb46eb4fe 04:21:12 ---> acf5bda40eea 04:21:12 Step 11/12 : COPY . . 04:21:12 ---> 8efc22eaec11 04:21:12 Step 12/12 : RUN $MAKE 04:21:12 ---> Running in 617920a322df 04:21:12 noop 04:21:12 Removing intermediate container 617920a322df 04:21:12 ---> 419be80fcb07 04:21:12 Successfully built 419be80fcb07 04:21:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:12 + docker inspect -f . ci-base-image-arm64 04:21:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:12 prd-ubuntu20.04-docker-arm64-4c-16g-4483 does not seem to be running inside a container 04:21:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/99 -v /w/workspace/device-mqtt-go/99:/w/workspace/device-mqtt-go/99:rw,z -v /w/workspace/device-mqtt-go/99@tmp:/w/workspace/device-mqtt-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:21:14 $ docker top a41a438fb2a2df9cc784474218e11b9fdde301f0504273cdfc0b47d7a584e1d6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:14 + go version 04:21:14 go version go1.20.2 linux/arm64 [Pipeline] } 04:21:14 $ docker stop --time=1 a41a438fb2a2df9cc784474218e11b9fdde301f0504273cdfc0b47d7a584e1d6 04:21:16 $ docker rm -f --volumes a41a438fb2a2df9cc784474218e11b9fdde301f0504273cdfc0b47d7a584e1d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:17 + docker inspect -f . ci-base-image-arm64 04:21:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:17 prd-ubuntu20.04-docker-arm64-4c-16g-4483 does not seem to be running inside a container 04:21:17 $ 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/99 -v /w/workspace/device-mqtt-go/99:/w/workspace/device-mqtt-go/99:rw,z -v /w/workspace/device-mqtt-go/99@tmp:/w/workspace/device-mqtt-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:21:19 $ docker top 3008f7909e36fa6840e5e3761812976e7ee7fc41c282ec2d4a1530eabc4cc269 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:19 + git config --global --add safe.directory /w/workspace/device-mqtt-go/99 [Pipeline] fileExists [Pipeline] sh 04:21:19 + make test 04:21:19 go test ./... -coverprofile=coverage.out ./... 04:21:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:23:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:23:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:23:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.060s coverage: 22.2% of statements 04:23:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:23:45 go vet ./... 04:24:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:23 ./bin/test-attribution-txt.sh [Pipeline] echo 04:24:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:24:23 $ docker stop --time=1 3008f7909e36fa6840e5e3761812976e7ee7fc41c282ec2d4a1530eabc4cc269 04:24:25 $ docker rm -f --volumes 3008f7909e36fa6840e5e3761812976e7ee7fc41c282ec2d4a1530eabc4cc269 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:26 Warning: overwriting stash ‘coverage-report’ 04:24:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:28 + ls -al . 04:24:28 total 176 04:24:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 04:21 . 04:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 04:19 .. 04:24:28 -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 04:19 .dockerignore 04:24:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 04:19 .git 04:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:19 .github 04:24:28 -rw-rw-r-- 1 jenkins jenkins 329 Mar 18 04:19 .gitignore 04:24:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 18 04:19 .golangci.yml 04:24:28 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 18 04:19 Attribution.txt 04:24:28 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 18 04:19 CHANGELOG.md 04:24:28 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 18 04:19 Dockerfile 04:24:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 04:19 GOVERNANCE.md 04:24:28 -rw-rw-r-- 1 jenkins jenkins 678 Mar 18 04:19 Jenkinsfile 04:24:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 04:19 LICENSE 04:24:28 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 18 04:19 Makefile 04:24:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 18 04:19 OWNERS.md 04:24:28 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 18 04:19 README.md 04:24:28 -rw-rw-r-- 1 jenkins jenkins 12 Mar 18 04:17 VERSION 04:24:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 04:19 bin 04:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:19 cmd 04:24:28 -rw-r--r-- 1 jenkins jenkins 18047 Mar 18 04:23 coverage.out 04:24:28 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 18 04:19 go.mod 04:24:28 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 18 04:19 go.sum 04:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:19 internal 04:24:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 04:19 mock 04:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 04:19 snap 04:24:28 -rw-rw-r-- 1 jenkins jenkins 227 Mar 18 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:28 + 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=c80097c4a9a507998513a772aabe6c68a90454ef --label arch=arm64 --label version=3.0.0-dev.15 . 04:24:28 Sending build context to Docker daemon 3.326MB 04:24:28 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:24:28 Step 2/24 : FROM ${BASE} AS builder 04:24:28 ---> 419be80fcb07 04:24:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:24:28 ---> Running in 7638c4cb3b6b 04:24:29 Removing intermediate container 7638c4cb3b6b 04:24:29 ---> 7912139ebda3 04:24:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:24:29 ---> Running in 82dd806e5280 04:24:29 Removing intermediate container 82dd806e5280 04:24:29 ---> 266c4020887d 04:24:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:24:29 ---> Running in 69559649778d 04:24:30 Removing intermediate container 69559649778d 04:24:30 ---> 13606e4f6a03 04:24:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:24:30 ---> Running in 8d06abf07ac9 04:24:30 Removing intermediate container 8d06abf07ac9 04:24:30 ---> 87f93f4789f5 04:24:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:24:30 ---> Running in ae0d9e20ff8b 04:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:24:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:24:32 OK: 268 MiB in 57 packages 04:24:33 Removing intermediate container ae0d9e20ff8b 04:24:33 ---> 957fd12ff4db 04:24:33 Step 8/24 : WORKDIR /device-mqtt-go 04:24:33 ---> Running in f0c82b98ed57 04:24:34 Removing intermediate container f0c82b98ed57 04:24:34 ---> ea198cd487d3 04:24:34 Step 9/24 : COPY go.mod vendor* ./ 04:24:34 ---> 4e7a5ea5a083 04:24:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:34 ---> Running in 0f02eda9f8d6 04:24:37 Removing intermediate container 0f02eda9f8d6 04:24:37 ---> 75815008cd02 04:24:37 Step 11/24 : COPY . . 04:24:37 ---> 72095e0ccaa9 04:24:37 Step 12/24 : RUN $MAKE 04:24:37 ---> Running in fb136b14d18e 04:24:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.15" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 04:26:45 Removing intermediate container fb136b14d18e 04:26:45 ---> f74ac1535842 04:26:45 Step 13/24 : FROM alpine:3.17 04:26:45 3.17: Pulling from library/alpine 04:26:45 af6eaf76a39c: Already exists 04:26:45 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 04:26:45 Status: Downloaded newer image for alpine:3.17 04:26:45 ---> d74e625d9115 04:26:45 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:26:45 ---> Running in e4de3f3b4587 04:26:45 Removing intermediate container e4de3f3b4587 04:26:45 ---> ed92d0106757 04:26:45 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:26:45 ---> Running in 440dc921c373 04:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:26:45 (1/1) Installing dumb-init (1.2.5-r2) 04:26:45 Executing busybox-1.35.0-r29.trigger 04:26:45 OK: 8 MiB in 16 packages 04:26:45 Removing intermediate container 440dc921c373 04:26:45 ---> 664a88de07b2 04:26:45 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:26:47 ---> 6352f8999dec 04:26:47 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:26:47 ---> 411ed8cab876 04:26:47 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:26:48 ---> 103464cbfdf8 04:26:48 Step 19/24 : EXPOSE 59982 04:26:48 ---> Running in c37b1f58fa48 04:26:48 Removing intermediate container c37b1f58fa48 04:26:48 ---> e25aa6d310a0 04:26:48 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:26:48 ---> Running in 8c29246df56e 04:26:49 Removing intermediate container 8c29246df56e 04:26:49 ---> 71a36774137a 04:26:49 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:26:49 ---> Running in 0057bc5a1d76 04:26:49 Removing intermediate container 0057bc5a1d76 04:26:49 ---> 99323b339af1 04:26:49 Step 22/24 : LABEL arch=arm64 04:26:49 ---> Running in 4e5d012ba07a 04:26:49 Removing intermediate container 4e5d012ba07a 04:26:49 ---> 22956bd049af 04:26:49 Step 23/24 : LABEL git_sha=c80097c4a9a507998513a772aabe6c68a90454ef 04:26:49 ---> Running in 8f2b980eb3bb 04:26:50 Removing intermediate container 8f2b980eb3bb 04:26:50 ---> 222046210e2a 04:26:50 Step 24/24 : LABEL version=3.0.0-dev.15 04:26:50 ---> Running in e2f6f8199d63 04:26:50 Removing intermediate container e2f6f8199d63 04:26:50 ---> fa5ca0d07657 04:26:50 [Warning] One or more build-args [ARCH] were not consumed 04:26:50 Successfully built fa5ca0d07657 04:26:50 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 04:26:50 provisioning config files... 04:26:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/99@tmp/config10353333466734256341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:51 ---> docker-login.sh 04:26:51 nexus3.edgexfoundry.org:10001 04:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:51 Configure a credential helper to remove this warning. See 04:26:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:51 04:26:51 Login Succeeded 04:26:51 nexus3.edgexfoundry.org:10002 04:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:51 Configure a credential helper to remove this warning. See 04:26:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:51 04:26:51 Login Succeeded 04:26:51 nexus3.edgexfoundry.org:10003 04:26:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:52 Configure a credential helper to remove this warning. See 04:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:52 04:26:52 Login Succeeded 04:26:52 nexus3.edgexfoundry.org:10004 04:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:52 Configure a credential helper to remove this warning. See 04:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:52 04:26:52 Login Succeeded 04:26:52 docker.io 04:26:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:52 Configure a credential helper to remove this warning. See 04:26:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:52 04:26:52 Login Succeeded 04:26:52 ---> docker-login.sh ends [Pipeline] } 04:26:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:26:53 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 04:26:53 c80097c4a9a507998513a772aabe6c68a90454ef 04:26:53 latest 04:26:53 3.0.0-dev.15 04:26:53 c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15 04:26:53 main 04:26:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c80097c4a9a507998513a772aabe6c68a90454ef [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c80097c4a9a507998513a772aabe6c68a90454ef 04:26:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:26:53 66dd75d93250: Preparing 04:26:53 22b6a8e394d5: Preparing 04:26:53 6b2dabaac29e: Preparing 04:26:53 13af5dc322e4: Preparing 04:26:53 edf70074bd40: Preparing 04:26:53 edf70074bd40: Layer already exists 04:26:53 13af5dc322e4: Pushed 04:26:53 22b6a8e394d5: Pushed 04:26:53 66dd75d93250: Pushed 04:26:59 6b2dabaac29e: Pushed 04:26:59 c80097c4a9a507998513a772aabe6c68a90454ef: digest: sha256:f03ed5dec68886e525a34fb362f45c4aed5a20abcfe14370dd09e29ff7e85b54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:27:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:27:00 66dd75d93250: Preparing 04:27:00 22b6a8e394d5: Preparing 04:27:00 6b2dabaac29e: Preparing 04:27:00 13af5dc322e4: Preparing 04:27:00 edf70074bd40: Preparing 04:27:00 13af5dc322e4: Layer already exists 04:27:00 6b2dabaac29e: Layer already exists 04:27:00 edf70074bd40: Layer already exists 04:27:00 22b6a8e394d5: Layer already exists 04:27:00 66dd75d93250: Layer already exists 04:27:00 latest: digest: sha256:f03ed5dec68886e525a34fb362f45c4aed5a20abcfe14370dd09e29ff7e85b54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.15 04:27:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:27:00 66dd75d93250: Preparing 04:27:00 22b6a8e394d5: Preparing 04:27:00 6b2dabaac29e: Preparing 04:27:00 13af5dc322e4: Preparing 04:27:00 edf70074bd40: Preparing 04:27:00 13af5dc322e4: Layer already exists 04:27:00 6b2dabaac29e: Layer already exists 04:27:00 22b6a8e394d5: Layer already exists 04:27:00 edf70074bd40: Layer already exists 04:27:00 66dd75d93250: Layer already exists 04:27:00 3.0.0-dev.15: digest: sha256:f03ed5dec68886e525a34fb362f45c4aed5a20abcfe14370dd09e29ff7e85b54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:01 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15 04:27:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:27:01 66dd75d93250: Preparing 04:27:01 22b6a8e394d5: Preparing 04:27:01 6b2dabaac29e: Preparing 04:27:01 13af5dc322e4: Preparing 04:27:01 edf70074bd40: Preparing 04:27:01 edf70074bd40: Layer already exists 04:27:01 66dd75d93250: Layer already exists 04:27:01 13af5dc322e4: Layer already exists 04:27:01 22b6a8e394d5: Layer already exists 04:27:01 6b2dabaac29e: Layer already exists 04:27:01 c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15: digest: sha256:f03ed5dec68886e525a34fb362f45c4aed5a20abcfe14370dd09e29ff7e85b54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:01 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 04:27:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:27:02 66dd75d93250: Preparing 04:27:02 22b6a8e394d5: Preparing 04:27:02 6b2dabaac29e: Preparing 04:27:02 13af5dc322e4: Preparing 04:27:02 edf70074bd40: Preparing 04:27:02 66dd75d93250: Layer already exists 04:27:02 edf70074bd40: Layer already exists 04:27:02 6b2dabaac29e: Layer already exists 04:27:02 13af5dc322e4: Layer already exists 04:27:02 22b6a8e394d5: Layer already exists 04:27:02 main: digest: sha256:f03ed5dec68886e525a34fb362f45c4aed5a20abcfe14370dd09e29ff7e85b54 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:27:02 ===================================================== [Pipeline] echo 04:27:02 taggedImages: 04:27:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c80097c4a9a507998513a772aabe6c68a90454ef 04:27:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:27:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.15 04:27:02 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c80097c4a9a507998513a772aabe6c68a90454ef-3.0.0-dev.15 04:27:02 - 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 04:27:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:02 04:27:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:05 arm64: Pulling from edgex-lftools-log-publisher 04:27:05 8998bd30e6a1: Pulling fs layer 04:27:05 04944245beec: Pulling fs layer 04:27:05 699f458cf7ca: Pulling fs layer 04:27:05 765212b225bb: Pulling fs layer 04:27:05 f23df028b6ca: Pulling fs layer 04:27:05 d65c8cfc05b1: Pulling fs layer 04:27:05 2437ff75d9bd: Pulling fs layer 04:27:05 765212b225bb: Waiting 04:27:05 f23df028b6ca: Waiting 04:27:05 d65c8cfc05b1: Waiting 04:27:05 04944245beec: Verifying Checksum 04:27:05 04944245beec: Download complete 04:27:05 765212b225bb: Verifying Checksum 04:27:05 765212b225bb: Download complete 04:27:05 f23df028b6ca: Download complete 04:27:05 d65c8cfc05b1: Verifying Checksum 04:27:05 d65c8cfc05b1: Download complete 04:27:05 699f458cf7ca: Verifying Checksum 04:27:05 699f458cf7ca: Download complete 04:27:05 8998bd30e6a1: Verifying Checksum 04:27:05 8998bd30e6a1: Download complete 04:27:07 2437ff75d9bd: Verifying Checksum 04:27:07 2437ff75d9bd: Download complete 04:27:09 8998bd30e6a1: Pull complete 04:27:10 04944245beec: Pull complete 04:27:11 699f458cf7ca: Pull complete 04:27:11 765212b225bb: Pull complete 04:27:12 f23df028b6ca: Pull complete 04:27:12 d65c8cfc05b1: Pull complete 04:27:27 2437ff75d9bd: Pull complete 04:27:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:27:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:27 prd-ubuntu20.04-docker-arm64-4c-16g-4483 does not seem to be running inside a container 04:27:27 $ 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/99 -v /w/workspace/device-mqtt-go/99:/w/workspace/device-mqtt-go/99:rw,z -v /w/workspace/device-mqtt-go/99@tmp:/w/workspace/device-mqtt-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:27:30 $ docker top 2c2e372ef09a88f640f967b81426ad0b2255f69981fb516ae575c85255ecab24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:31 ---> job-cost.sh 04:27:31 lf-activate-venv: SKIPPING 04:27:31 INFO: No Stack... 04:27:32 INFO: Retrieving Pricing Info for: v3-standard-4 04:27:33 INFO: Archiving Costs [Pipeline] sh 04:27:33 + cat /w/workspace/device-mqtt-go/99/archives/cost.csv 04:27:33 + cut -d, -f6 [Pipeline] lock 04:27:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-99-stack-cost] 04:27:33 Resource [jenkins-edgexfoundry-device-mqtt-go-main-99-stack-cost] did not exist. Created. 04:27:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:34 /w/workspace/device-mqtt-go/99@tmp/durable-70c0f767/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:27:34 + echo total: 0.10999999940395355 [Pipeline] stash 04:27:34 Warning: overwriting stash ‘stack-cost’ 04:27:34 Stashed 1 file(s) [Pipeline] } 04:27:34 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 04:27:34 $ docker stop --time=1 2c2e372ef09a88f640f967b81426ad0b2255f69981fb516ae575c85255ecab24 04:27:36 $ docker rm -f --volumes 2c2e372ef09a88f640f967b81426ad0b2255f69981fb516ae575c85255ecab24 [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 04:27:36 provisioning config files... 04:27:36 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3347171320087260940tmp [Pipeline] { [Pipeline] sh 04:27:37 + set +x 04:27:37 + curl -s https://codecov.io/bash 04:27:37 + bash -s -- 04:27:37 04:27:37 _____ _ 04:27:37 / ____| | | 04:27:37 | | ___ __| | ___ ___ _____ __ 04:27:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:27:37 | |___| (_) | (_| | __/ (_| (_) \ V / 04:27:37 \_____\___/ \__,_|\___|\___\___/ \_/ 04:27:37 Bash-1.0.6 04:27:37 04:27:37 04:27:37 ==> git version 2.25.1 found 04:27:37 ==> 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 04:27:37 Release-Date: 2020-01-08 04:27:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:27:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:27:37 ==> Jenkins CI detected. 04:27:37 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 04:27:37 project root: . 04:27:37 --> token set from env 04:27:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:27:37 ==> Running gcov in . (disable via -X gcov) 04:27:37 ==> Python coveragepy not found 04:27:37 ==> Searching for coverage reports in: 04:27:37 + . 04:27:37 -> Found 1 reports 04:27:37 ==> Detecting git/mercurial file structure 04:27:37 ==> Reading reports 04:27:37 + ./coverage.out bytes=18047 04:27:37 ==> Appending adjustments 04:27:37 https://docs.codecov.io/docs/fixing-reports 04:27:37 + Found adjustments 04:27:37 ==> Gzipping contents 04:27:37 4.0K /tmp/codecov.qpF4Ys.gz 04:27:37 ==> Uploading reports 04:27:37 url: https://codecov.io 04:27:37 query: branch=main&commit=c80097c4a9a507998513a772aabe6c68a90454ef&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:27:37 -> Pinging Codecov 04:27:37 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=c80097c4a9a507998513a772aabe6c68a90454ef&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:27:37 -> Uploading to 04:27:37 https://storage.googleapis.com/codecov/v4/raw/2023-03-18/7D719EC7BBE17E464838252E33014C33/c80097c4a9a507998513a772aabe6c68a90454ef/9be91fec-9ea6-4aeb-8486-505c8a33a09d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230318T042737Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db28d415ec8b23e28b28c335fe1c1d9b6364a1aef4611e9f8d79b699a32253fe 04:27:37 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:37 Dload Upload Total Spent Left Speed 04:27:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 12260 --:--:-- --:--:-- --:--:-- 12260 04:27:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c80097c4a9a507998513a772aabe6c68a90454ef [Pipeline] } 04:27:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:27:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:27:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:27:38 04:27:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:27:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:27:38 df9b9388f04a: Pulling fs layer 04:27:38 52dc419b0ee2: Pulling fs layer 04:27:38 25bc292e5bac: Pulling fs layer 04:27:38 114826534d7a: Pulling fs layer 04:27:38 4657fd5d0bcf: Pulling fs layer 04:27:38 6ad1cebc031e: Pulling fs layer 04:27:38 8a3aa393b2d8: Pulling fs layer 04:27:38 4657fd5d0bcf: Waiting 04:27:38 114826534d7a: Waiting 04:27:38 6ad1cebc031e: Waiting 04:27:38 25bc292e5bac: Verifying Checksum 04:27:38 25bc292e5bac: Download complete 04:27:38 52dc419b0ee2: Verifying Checksum 04:27:38 52dc419b0ee2: Download complete 04:27:38 4657fd5d0bcf: Verifying Checksum 04:27:38 4657fd5d0bcf: Download complete 04:27:38 df9b9388f04a: Download complete 04:27:38 df9b9388f04a: Pull complete 04:27:38 6ad1cebc031e: Verifying Checksum 04:27:38 6ad1cebc031e: Download complete 04:27:38 52dc419b0ee2: Pull complete 04:27:39 25bc292e5bac: Pull complete 04:27:39 114826534d7a: Download complete 04:27:39 8a3aa393b2d8: Verifying Checksum 04:27:39 8a3aa393b2d8: Download complete 04:27:42 114826534d7a: Pull complete 04:27:42 4657fd5d0bcf: Pull complete 04:27:42 6ad1cebc031e: Pull complete 04:27:45 8a3aa393b2d8: Pull complete 04:27:45 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:27:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:27:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:45 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:27:45 $ 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 04:27:48 $ docker top d7607cc7a690ae71dcc1b4661dac78a0618ab5f015f99b3d8dfba2f304f8d296 -eo pid,comm [Pipeline] { [Pipeline] echo 04:27:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 04:27:48 + set -o pipefail 04:27:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 04:27:54 04:27:54 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 04:27:54 04:27:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/013028ea-fc7c-45bd-888b-7538ee6a6e23 04:27:54 04:27:54 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:27:54 04:27:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:27:54 04:27:54 04:27:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:27:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:27:54 More details here: https://snyk.co/ue1NS [Pipeline] } 04:27:54 $ docker stop --time=1 d7607cc7a690ae71dcc1b4661dac78a0618ab5f015f99b3d8dfba2f304f8d296 04:27:56 $ docker rm -f --volumes d7607cc7a690ae71dcc1b4661dac78a0618ab5f015f99b3d8dfba2f304f8d296 [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 04:27:57 + git log --format=format:%s -1 c80097c4a9a507998513a772aabe6c68a90454ef [Pipeline] sh 04:27:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:58 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:27: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 04:27:58 $ docker top 94d7cfce65ec596d0f74dd92c304f9c5d19ec7b5e92641af2d7cada987faff5c -eo pid,comm 04:27: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). 04:27:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:58 [ssh-agent] Looking for ssh-agent implementation... 04:27:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:58 $ docker exec 94d7cfce65ec596d0f74dd92c304f9c5d19ec7b5e92641af2d7cada987faff5c ssh-agent 04:27:58 SSH_AUTH_SOCK=/tmp/ssh-UevjQOmVRDAT/agent.32 04:27:58 SSH_AGENT_PID=38 04:27:58 Running ssh-add (command line suppressed) 04:27:59 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11940691980351983950.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11940691980351983950.key) 04:27:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:59 + git semver tag 04:27:59 2023-03-18 04:27:59,552 [run_tag] DEBUG tag force:False 04:27:59 2023-03-18 04:27:59,552 [check_head_tag] DEBUG check head tag 04:27:59 2023-03-18 04:27:59,553 [execute] INFO git cat-file --batch-check 04:27:59 2023-03-18 04:27:59,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:27:59 2023-03-18 04:27:59,557 [execute] INFO git cat-file --batch 04:27:59 2023-03-18 04:27:59,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:27:59 2023-03-18 04:27:59,576 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:27:59 2023-03-18 04:27:59,577 [execute] INFO git tag -a v3.0.0-dev.15 -m v3.0.0-dev.15 04:27:59 2023-03-18 04:27:59,577 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.15', '-m', 'v3.0.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:27:59 2023-03-18 04:27:59,581 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:27:59 3.0.0-dev.15 [Pipeline] } 04:27:59 $ docker exec --env ******** --env ******** 94d7cfce65ec596d0f74dd92c304f9c5d19ec7b5e92641af2d7cada987faff5c ssh-agent -k 04:27:59 unset SSH_AUTH_SOCK; 04:27:59 unset SSH_AGENT_PID; 04:27:59 echo Agent pid 38 killed; 04:27:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:00 + git semver [Pipeline] } 04:28:00 $ docker stop --time=1 94d7cfce65ec596d0f74dd92c304f9c5d19ec7b5e92641af2d7cada987faff5c 04:28:01 $ docker rm -f --volumes 94d7cfce65ec596d0f74dd92c304f9c5d19ec7b5e92641af2d7cada987faff5c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:28:01 04:28:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:28:02 0.23.1-centos7: Pulling from edgex-lftools 04:28:02 ab5ef0e58194: Pulling fs layer 04:28:02 9712f1f96733: Pulling fs layer 04:28:02 63f879dbbcfc: Pulling fs layer 04:28:02 0d9ebad4ef96: Pulling fs layer 04:28:02 e9a5061849ea: Pulling fs layer 04:28:02 d747dcd14b5f: Pulling fs layer 04:28:02 2de7ff778b66: Pulling fs layer 04:28:02 d747dcd14b5f: Waiting 04:28:02 0d9ebad4ef96: Waiting 04:28:02 2de7ff778b66: Waiting 04:28:02 e9a5061849ea: Waiting 04:28:02 9712f1f96733: Verifying Checksum 04:28:02 9712f1f96733: Download complete 04:28:02 63f879dbbcfc: Verifying Checksum 04:28:02 63f879dbbcfc: Download complete 04:28:02 ab5ef0e58194: Verifying Checksum 04:28:02 ab5ef0e58194: Download complete 04:28:02 e9a5061849ea: Verifying Checksum 04:28:02 e9a5061849ea: Download complete 04:28:02 0d9ebad4ef96: Verifying Checksum 04:28:02 0d9ebad4ef96: Download complete 04:28:02 d747dcd14b5f: Download complete 04:28:03 2de7ff778b66: Verifying Checksum 04:28:03 2de7ff778b66: Download complete 04:28:05 ab5ef0e58194: Pull complete 04:28:05 9712f1f96733: Pull complete 04:28:05 63f879dbbcfc: Pull complete 04:28:09 0d9ebad4ef96: Pull complete 04:28:09 e9a5061849ea: Pull complete 04:28:09 d747dcd14b5f: Pull complete 04:28:10 2de7ff778b66: Pull complete 04:28:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:28:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:28:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:10 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:28:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:28:13 $ docker top 5f746764ea41d2a593ad2a9bb4128643526692dd5f869defe840f97ae71b81d8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:28:14 provisioning config files... 04:28:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13786118977479643196tmp 04:28:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7249292898341384455tmp 04:28:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7542851659805938704tmp [Pipeline] { [Pipeline] echo 04:28:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:28:14 ---> sigul-configuration.sh 04:28:14 gpg: directory `/root/.gnupg' created 04:28:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:28:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:28:14 gpg: keyring `/root/.gnupg/secring.gpg' created 04:28:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:28:14 gpg: CAST5 encrypted data 04:28:14 gpg: encrypted with 1 passphrase 04:28:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:28:14 + mkdir /home/jenkins 04:28:14 + mkdir /home/jenkins/sigul [Pipeline] sh 04:28:14 + 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 04:28:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:28:15 ---> sigul-install.sh 04:28:15 Sigul already installed; skipping installation. [Pipeline] sh 04:28:15 + git tag --list 04:28:15 0.7.1 04:28:15 v1.0.0 04:28:15 v1.1.0 04:28:15 v1.1.1 04:28:15 v1.2.2 04:28:15 v1.3.0 04:28:15 v1.3.1 04:28:15 v2.0.0 04:28:15 v2.1.0 04:28:15 v2.1.1 04:28:15 v2.1.1-dev.1 04:28:15 v2.1.1-dev.2 04:28:15 v2.2.0 04:28:15 v2.2.1-dev.1 04:28:15 v2.2.1-dev.10 04:28:15 v2.2.1-dev.2 04:28:15 v2.2.1-dev.3 04:28:15 v2.2.1-dev.4 04:28:15 v2.2.1-dev.5 04:28:15 v2.2.1-dev.6 04:28:15 v2.2.1-dev.7 04:28:15 v2.2.1-dev.8 04:28:15 v2.2.1-dev.9 04:28:15 v2.3.0 04:28:15 v2.3.0-dev.10 04:28:15 v2.3.0-dev.11 04:28:15 v2.3.0-dev.12 04:28:15 v2.3.0-dev.13 04:28:15 v2.3.0-dev.14 04:28:15 v2.3.0-dev.15 04:28:15 v2.3.0-dev.16 04:28:15 v2.3.0-dev.17 04:28:15 v2.3.0-dev.18 04:28:15 v2.3.0-dev.19 04:28:15 v2.3.0-dev.20 04:28:15 v2.3.0-dev.21 04:28:15 v2.3.0-dev.22 04:28:15 v2.3.0-dev.23 04:28:15 v2.3.0-dev.24 04:28:15 v2.3.0-dev.25 04:28:15 v2.3.0-dev.26 04:28:15 v2.3.0-dev.27 04:28:15 v2.3.0-dev.28 04:28:15 v2.3.0-dev.29 04:28:15 v2.3.0-dev.30 04:28:15 v2.3.0-dev.31 04:28:15 v2.3.0-dev.32 04:28:15 v2.3.0-dev.33 04:28:15 v2.3.0-dev.34 04:28:15 v3.0.0-dev.1 04:28:15 v3.0.0-dev.10 04:28:15 v3.0.0-dev.11 04:28:15 v3.0.0-dev.12 04:28:15 v3.0.0-dev.13 04:28:15 v3.0.0-dev.14 04:28:15 v3.0.0-dev.15 04:28:15 v3.0.0-dev.2 04:28:15 v3.0.0-dev.3 04:28:15 v3.0.0-dev.4 04:28:15 v3.0.0-dev.5 04:28:15 v3.0.0-dev.6 04:28:15 v3.0.0-dev.7 04:28:15 v3.0.0-dev.8 04:28:15 v3.0.0-dev.9 [Pipeline] sh 04:28:15 + lftools sign git-tag v3.0.0-dev.15 04:28:16 Signing Git tag with Sigul... 04:28:16 Signing v3.0.0-dev.15 [Pipeline] echo 04:28:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:28:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:28:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:28:16 $ docker stop --time=1 5f746764ea41d2a593ad2a9bb4128643526692dd5f869defe840f97ae71b81d8 04:28:18 $ docker rm -f --volumes 5f746764ea41d2a593ad2a9bb4128643526692dd5f869defe840f97ae71b81d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:28:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:19 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:28:19 $ 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 04:28:19 $ docker top 7a7cd72e6979e318b7baace956ad3af18ca9e798e66cf74fc1a5f91ff4c2ceb5 -eo pid,comm 04:28:19 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). 04:28:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:19 [ssh-agent] Looking for ssh-agent implementation... 04:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:19 $ docker exec 7a7cd72e6979e318b7baace956ad3af18ca9e798e66cf74fc1a5f91ff4c2ceb5 ssh-agent 04:28:19 SSH_AUTH_SOCK=/tmp/ssh-1xjqTEC42pVO/agent.33 04:28:19 SSH_AGENT_PID=39 04:28:19 Running ssh-add (command line suppressed) 04:28:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12090262672725176601.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12090262672725176601.key) 04:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:20 + git semver bump pre 04:28:20 2023-03-18 04:28:20,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:28:20 2023-03-18 04:28:20,321 [bump_version] DEBUG bumping version:3.0.0-dev.15 on axis:pre with prefix:dev 04:28:20 2023-03-18 04:28:20,321 [bump_version] DEBUG bumped version:3.0.0-dev.16 04:28:20 2023-03-18 04:28:20,321 [write_version] DEBUG write version:3.0.0-dev.16 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 04:28:20 2023-03-18 04:28:20,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:28:20 2023-03-18 04:28:20,322 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:28:20 2023-03-18 04:28:20,323 [execute] INFO git cat-file --batch-check 04:28:20 2023-03-18 04:28:20,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:28:20 2023-03-18 04:28:20,328 [execute] INFO git cat-file --batch 04:28:20 2023-03-18 04:28:20,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:28:20 2023-03-18 04:28:20,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:28:20 3.0.0-dev.16 [Pipeline] } 04:28:20 $ docker exec --env ******** --env ******** 7a7cd72e6979e318b7baace956ad3af18ca9e798e66cf74fc1a5f91ff4c2ceb5 ssh-agent -k 04:28:20 unset SSH_AUTH_SOCK; 04:28:20 unset SSH_AGENT_PID; 04:28:20 echo Agent pid 39 killed; 04:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:20 + git semver [Pipeline] } 04:28:21 $ docker stop --time=1 7a7cd72e6979e318b7baace956ad3af18ca9e798e66cf74fc1a5f91ff4c2ceb5 04:28:22 $ docker rm -f --volumes 7a7cd72e6979e318b7baace956ad3af18ca9e798e66cf74fc1a5f91ff4c2ceb5 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:23 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:28:23 $ 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 04:28:23 $ docker top 583e84ea695b33d8044ae73a61111cf5d83bbfcafbd270faee70a1de2df9b4b9 -eo pid,comm 04:28:23 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). 04:28:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:23 [ssh-agent] Looking for ssh-agent implementation... 04:28:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:23 $ docker exec 583e84ea695b33d8044ae73a61111cf5d83bbfcafbd270faee70a1de2df9b4b9 ssh-agent 04:28:23 SSH_AUTH_SOCK=/tmp/ssh-wjxG7DLZXm50/agent.31 04:28:23 SSH_AGENT_PID=37 04:28:23 Running ssh-add (command line suppressed) 04:28:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16504610173645366937.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16504610173645366937.key) 04:28:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:24 + git semver push 04:28:24 2023-03-18 04:28:24,345 [run_push] DEBUG push 04:28:24 2023-03-18 04:28:24,346 [execute] INFO git cat-file --batch-check 04:28:24 2023-03-18 04:28:24,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:28:24 2023-03-18 04:28:24,350 [execute] INFO git rev-list 1644aea13ad9bc7118891b7c666d176ae13dbc95 -- 04:28:24 2023-03-18 04:28:24,350 [execute] DEBUG Popen(['git', 'rev-list', '1644aea13ad9bc7118891b7c666d176ae13dbc95', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:28:24 2023-03-18 04:28:24,358 [execute] INFO git fetch -v origin 04:28:24 2023-03-18 04:28:24,358 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:28:24 2023-03-18 04:28:24,828 [run_push] DEBUG no remote changes detected 04:28:24 2023-03-18 04:28:24,828 [execute] INFO git push origin semver 04:28:24 2023-03-18 04:28:24,829 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:28:25 2023-03-18 04:28:25,701 [run_push] DEBUG push all version tags 04:28:25 2023-03-18 04:28:25,702 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:28:25 2023-03-18 04:28:25,702 [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) 04:28:26 2023-03-18 04:28:26,399 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:28:26 3.0.0-dev.16 [Pipeline] } 04:28:26 $ docker exec --env ******** --env ******** 583e84ea695b33d8044ae73a61111cf5d83bbfcafbd270faee70a1de2df9b4b9 ssh-agent -k 04:28:26 unset SSH_AUTH_SOCK; 04:28:26 unset SSH_AGENT_PID; 04:28:26 echo Agent pid 37 killed; 04:28:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:26 + git semver [Pipeline] } 04:28:27 $ docker stop --time=1 583e84ea695b33d8044ae73a61111cf5d83bbfcafbd270faee70a1de2df9b4b9 04:28:28 $ docker rm -f --volumes 583e84ea695b33d8044ae73a61111cf5d83bbfcafbd270faee70a1de2df9b4b9 [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 04:28:28 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 04:28:28 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:28:28 total 16 04:28:28 drwxr-xr-x 3 root root 4096 Mar 18 04:19 . 04:28:28 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 04:28 .. 04:28:28 drwxr-xr-x 2 root root 4096 Mar 18 04:19 cost 04:28:28 -rw-r--r-- 1 root root 85 Mar 18 04:19 cost.csv 04:28:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:28:28 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:28:28 total 16 04:28:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 04:19 . 04:28:28 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 04:28 .. 04:28:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 04:19 cost 04:28:28 -rw-r--r-- 1 jenkins jenkins 85 Mar 18 04:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:28:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:30 ---> package-listing.sh 04:28:30 ++ facter osfamily 04:28:30 ++ tr '[:upper:]' '[:lower:]' 04:28:30 + OS_FAMILY=debian 04:28:30 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 04:28:30 + START_PACKAGES=/tmp/packages_start.txt 04:28:30 + END_PACKAGES=/tmp/packages_end.txt 04:28:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:30 + PACKAGES=/tmp/packages_start.txt 04:28:30 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:28:30 + PACKAGES=/tmp/packages_end.txt 04:28:30 + case "${OS_FAMILY}" in 04:28:30 + dpkg -l 04:28:30 + grep '^ii' 04:28:30 + '[' -f /tmp/packages_start.txt ']' 04:28:30 + '[' -f /tmp/packages_end.txt ']' 04:28:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:30 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:28:30 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 04:28:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 04:28:30 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 04:28:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:31 prd-ubuntu20.04-docker-8c-8g-4482 does not seem to be running inside a container 04:28:31 $ 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 04:28:31 $ docker top deff710c51c8f6f5b19d3a247513db2e1fdd528b1d8c5b95453976c373ca8c69 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:31 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:32 + mkdir -p /var/log/sysstat [Pipeline] sh 04:28:32 + ls /var/log/sa-host 04:28:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:32 provisioning config files... 04:28:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18441646130051009693tmp [Pipeline] { [Pipeline] echo 04:28:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:28:32 ---> create-netrc.sh [Pipeline] } 04:28:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:28:33 ---> python-tools-install.sh [Pipeline] echo 04:28:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:28:33 ---> sudo-logs.sh 04:28:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:28:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:28:33 ---> job-cost.sh 04:28:33 lf-activate-venv: SKIPPING 04:28:33 DEBUG: total: 0.2199999988079071 04:28:33 INFO: Retrieving Stack Cost... 04:28:34 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:34 INFO: Archiving Costs [Pipeline] echo 04:28:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:28:35 ---> logs-deploy.sh 04:28:35 lf-activate-venv: SKIPPING 04:28:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/99 04:28:35 INFO: archiving workspace using pattern(s): 04:28:35 Archives upload complete. 04:28:35 INFO: archiving logs to Nexus