Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 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-ssh10822127533662218452.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6347121341940767881.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh8857945185532941884.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh9507222805810184668.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-ssh15908375565408603141.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13835 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 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf (main) Commit message: "Merge pull request #593 from jumpingliu/ignore-go-mods" > 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 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf # timeout=10 > git rev-list --no-walk c17318ed096a052cb57e06eb9991910afac7407c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:03:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:03:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:03:54 ========================================================= 06:03:54 EdgeX Global Pipelines Version Info 06:03:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:03:54 ------------------- 06:03:54 stable info: 06:03:54 ------------------- 06:03:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:03:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:03:54 Message: update stable to v1.0.249 06:03:55 ------------------- 06:03:55 experimental info: 06:03:55 ------------------- 06:03:55 Commited By: **** collab-it+edgex@linuxfoundation.org 06:03:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:03:55 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:03:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [Pipeline] echo 06:03:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cbf2b1 [Pipeline] echo 06:03:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:56 provisioning config files... 06:03:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2551902678017592778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:56 ---> docker-login.sh 06:03:56 nexus3.edgexfoundry.org:10001 06:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:56 Configure a credential helper to remove this warning. See 06:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:56 06:03:56 Login Succeeded 06:03:56 nexus3.edgexfoundry.org:10002 06:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:56 Configure a credential helper to remove this warning. See 06:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:56 06:03:56 Login Succeeded 06:03:56 nexus3.edgexfoundry.org:10003 06:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:56 Configure a credential helper to remove this warning. See 06:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:56 06:03:56 Login Succeeded 06:03:56 nexus3.edgexfoundry.org:10004 06:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:56 Configure a credential helper to remove this warning. See 06:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:56 06:03:56 Login Succeeded 06:03:57 docker.io 06:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:57 Configure a credential helper to remove this warning. See 06:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:57 06:03:57 Login Succeeded 06:03:57 ---> docker-login.sh ends [Pipeline] } 06:03:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:03:58 + git rev-list -1 --merges 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf~1..8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [Pipeline] echo 06:03:58 -----------> git rev-list -1 --merges 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf~1..8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:03:58 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [false] [Pipeline] sh 06:03:58 + git log --format=format:%s -1 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [Pipeline] echo 06:03:58 ========================================================= 06:03:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:03:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:58 + git log --format=format:%s -1 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [Pipeline] echo 06:03:58 [semverPrep] GIT_COMMIT: 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf, Commit Message: Merge pull request #593 from jumpingliu/ignore-go-mods [Pipeline] echo 06:03:58 [semverPrep] This is not a build commit. [Pipeline] sh 06:03:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:59 + grep -v github /etc/ssh/ssh_known_hosts 06:03:59 + [ -e /tmp/ssh_known_hosts ] 06:03:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:03:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:03:59 + sudo tee -a /etc/ssh/ssh_known_hosts 06:03:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:59 06:03:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:59 0.1.4: Pulling from edgex-devops/py-git-semver 06:03:59 b85a868b505f: Pulling fs layer 06:03:59 e2be974225ed: Pulling fs layer 06:03:59 339a4e72a1f5: Pulling fs layer 06:03:59 988bab9f4d93: Pulling fs layer 06:03:59 1469e6f7b9e6: Pulling fs layer 06:03:59 eaf3925da568: Pulling fs layer 06:03:59 bab4dde63d76: Pulling fs layer 06:03:59 bde34c3a00c8: Pulling fs layer 06:03:59 b352a97aabf1: Pulling fs layer 06:03:59 4872d77fe225: Pulling fs layer 06:03:59 5851b861e8e6: Pulling fs layer 06:03:59 bab4dde63d76: Waiting 06:03:59 bde34c3a00c8: Waiting 06:03:59 988bab9f4d93: Waiting 06:03:59 1469e6f7b9e6: Waiting 06:03:59 eaf3925da568: Waiting 06:03:59 b352a97aabf1: Waiting 06:03:59 4872d77fe225: Waiting 06:03:59 5851b861e8e6: Waiting 06:03:59 e2be974225ed: Download complete 06:03:59 988bab9f4d93: Download complete 06:04:00 339a4e72a1f5: Verifying Checksum 06:04:00 339a4e72a1f5: Download complete 06:04:00 eaf3925da568: Verifying Checksum 06:04:00 eaf3925da568: Download complete 06:04:00 1469e6f7b9e6: Verifying Checksum 06:04:00 1469e6f7b9e6: Download complete 06:04:00 bde34c3a00c8: Download complete 06:04:00 b352a97aabf1: Verifying Checksum 06:04:00 b352a97aabf1: Download complete 06:04:00 4872d77fe225: Verifying Checksum 06:04:00 4872d77fe225: Download complete 06:04:00 5851b861e8e6: Verifying Checksum 06:04:00 5851b861e8e6: Download complete 06:04:00 b85a868b505f: Verifying Checksum 06:04:00 b85a868b505f: Download complete 06:04:00 bab4dde63d76: Verifying Checksum 06:04:00 bab4dde63d76: Download complete 06:04:01 b85a868b505f: Pull complete 06:04:01 e2be974225ed: Pull complete 06:04:02 339a4e72a1f5: Pull complete 06:04:02 988bab9f4d93: Pull complete 06:04:02 1469e6f7b9e6: Pull complete 06:04:02 eaf3925da568: Pull complete 06:04:04 bab4dde63d76: Pull complete 06:04:04 bde34c3a00c8: Pull complete 06:04:04 b352a97aabf1: Pull complete 06:04:04 4872d77fe225: Pull complete 06:04:04 5851b861e8e6: Pull complete 06:04:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:05 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:04: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:04:07 $ docker top 1a4438c7046a83dbcf1e552e1b04418b19e39e9afc20fd7fcb6c0306f6701a7c -eo pid,comm 06:04:07 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). 06:04:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:04:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:07 [ssh-agent] Looking for ssh-agent implementation... 06:04:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:07 $ docker exec 1a4438c7046a83dbcf1e552e1b04418b19e39e9afc20fd7fcb6c0306f6701a7c ssh-agent 06:04:07 SSH_AUTH_SOCK=/tmp/ssh-lNbrVS678Lg7/agent.32 06:04:07 SSH_AGENT_PID=38 06:04:07 Running ssh-add (command line suppressed) 06:04:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15643634166854868131.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15643634166854868131.key) 06:04:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:08 + git tag --points-at HEAD [Pipeline] } 06:04:08 $ docker exec --env ******** --env ******** 1a4438c7046a83dbcf1e552e1b04418b19e39e9afc20fd7fcb6c0306f6701a7c ssh-agent -k 06:04:08 unset SSH_AUTH_SOCK; 06:04:08 unset SSH_AGENT_PID; 06:04:08 echo Agent pid 38 killed; 06:04:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:04:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:08 [ssh-agent] Looking for ssh-agent implementation... 06:04:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:08 $ docker exec 1a4438c7046a83dbcf1e552e1b04418b19e39e9afc20fd7fcb6c0306f6701a7c ssh-agent 06:04:08 SSH_AUTH_SOCK=/tmp/ssh-uHa7c3VqnyAu/agent.70 06:04:08 SSH_AGENT_PID=76 06:04:08 Running ssh-add (command line suppressed) 06:04:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2188620047001877848.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2188620047001877848.key) 06:04:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:08 + git semver init 06:04:09 2023-05-05 06:04:09,167 [run_init] DEBUG init version:0.0.0 force:False 06:04:09 2023-05-05 06:04:09,168 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:04:09 2023-05-05 06:04:09,168 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:04:09 2023-05-05 06:04:09,168 [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) 06:04:10 2023-05-05 06:04:09,929 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 06:04:10 2023-05-05 06:04:09,929 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 06:04:10 2023-05-05 06:04:09,930 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:04:10 2023-05-05 06:04:09,930 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:04:10 3.0.0-dev.31 [Pipeline] } 06:04:10 $ docker exec --env ******** --env ******** 1a4438c7046a83dbcf1e552e1b04418b19e39e9afc20fd7fcb6c0306f6701a7c ssh-agent -k 06:04:10 unset SSH_AUTH_SOCK; 06:04:10 unset SSH_AGENT_PID; 06:04:10 echo Agent pid 76 killed; 06:04:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:04:10 + git semver [Pipeline] } 06:04:10 $ docker stop --time=1 1a4438c7046a83dbcf1e552e1b04418b19e39e9afc20fd7fcb6c0306f6701a7c 06:04:12 $ docker rm -f --volumes 1a4438c7046a83dbcf1e552e1b04418b19e39e9afc20fd7fcb6c0306f6701a7c [Pipeline] // withDockerContainer [Pipeline] sh 06:04:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:04:12 Stashed 1 file(s) [Pipeline] echo 06:04:12 [edgeXSemver]: initialized semver on version 3.0.0-dev.31 [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 06:04:12 provisioning config files... 06:04:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15294219684310182205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:13 ---> docker-login.sh 06:04:13 nexus3.edgexfoundry.org:10001 06:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:13 Configure a credential helper to remove this warning. See 06:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:13 06:04:13 Login Succeeded 06:04:13 nexus3.edgexfoundry.org:10002 06:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:13 Configure a credential helper to remove this warning. See 06:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:13 06:04:13 Login Succeeded 06:04:13 nexus3.edgexfoundry.org:10003 06:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:13 Configure a credential helper to remove this warning. See 06:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:13 06:04:13 Login Succeeded 06:04:13 nexus3.edgexfoundry.org:10004 06:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:13 Configure a credential helper to remove this warning. See 06:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:13 06:04:13 Login Succeeded 06:04:13 docker.io 06:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:13 Configure a credential helper to remove this warning. See 06:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:13 06:04:13 Login Succeeded 06:04:13 ---> docker-login.sh ends [Pipeline] } 06:04:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:13 ========================================================= 06:04:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:04:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:14 + 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 . 06:04:14 Sending build context to Docker daemon 6.516MB 06:04:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:04:14 Step 2/12 : FROM ${BASE} AS builder 06:04:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:04:14 f56be85fc22e: Pulling fs layer 06:04:14 85791d961cd3: Pulling fs layer 06:04:14 d694b5ae8c79: Pulling fs layer 06:04:14 9f32a84ed3da: Pulling fs layer 06:04:14 4d19c01a9841: Pulling fs layer 06:04:14 9325e15d5711: Pulling fs layer 06:04:14 556b6ee489ea: Pulling fs layer 06:04:14 c5a4b2cf53e6: Pulling fs layer 06:04:14 9f32a84ed3da: Waiting 06:04:14 4d19c01a9841: Waiting 06:04:14 556b6ee489ea: Waiting 06:04:14 9325e15d5711: Waiting 06:04:14 c5a4b2cf53e6: Waiting 06:04:14 85791d961cd3: Verifying Checksum 06:04:14 85791d961cd3: Download complete 06:04:14 9f32a84ed3da: Verifying Checksum 06:04:14 9f32a84ed3da: Download complete 06:04:14 4d19c01a9841: Download complete 06:04:14 f56be85fc22e: Verifying Checksum 06:04:14 f56be85fc22e: Download complete 06:04:14 9325e15d5711: Verifying Checksum 06:04:14 9325e15d5711: Download complete 06:04:14 f56be85fc22e: Pull complete 06:04:14 85791d961cd3: Pull complete 06:04:14 c5a4b2cf53e6: Verifying Checksum 06:04:14 c5a4b2cf53e6: Download complete 06:04:14 d694b5ae8c79: Verifying Checksum 06:04:14 d694b5ae8c79: Download complete 06:04:15 556b6ee489ea: Verifying Checksum 06:04:15 556b6ee489ea: Download complete 06:04:18 d694b5ae8c79: Pull complete 06:04:18 9f32a84ed3da: Pull complete 06:04:18 4d19c01a9841: Pull complete 06:04:18 9325e15d5711: Pull complete 06:04:20 556b6ee489ea: Pull complete 06:04:21 c5a4b2cf53e6: Pull complete 06:04:21 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:04:21 ---> c4be618373d6 06:04:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:04:24 ---> Running in 6874434fa91e 06:04:24 Removing intermediate container 6874434fa91e 06:04:24 ---> f107fae1ed0e 06:04:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:24 ---> Running in a7028bca9e8d 06:04:24 Removing intermediate container a7028bca9e8d 06:04:24 ---> f557bf6d693c 06:04:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:04:24 ---> Running in 0ee802213ebc 06:04:24 Removing intermediate container 0ee802213ebc 06:04:24 ---> 05fe1d849c69 06:04:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:04:24 ---> Running in 2d066ab0ffab 06:04:24 Removing intermediate container 2d066ab0ffab 06:04:24 ---> 5b7d9d1052c4 06:04:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:25 ---> Running in 53c11156d137 06:04:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:25 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:04:25 (2/4) Installing libedit (20221030.3.1-r0) 06:04:25 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:04:25 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:04:25 Executing busybox-1.35.0-r29.trigger 06:04:25 OK: 269 MiB in 57 packages 06:04:26 Removing intermediate container 53c11156d137 06:04:26 ---> 13d89ba38000 06:04:26 Step 8/12 : WORKDIR /device-mqtt-go 06:04:26 ---> Running in fa9e19de3390 06:04:26 Removing intermediate container fa9e19de3390 06:04:26 ---> 9050d4a3d902 06:04:26 Step 9/12 : COPY go.mod vendor* ./ 06:04:26 ---> d96eb5c0b9af 06:04:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:26 ---> Running in 53a8151a6051 06:04:27 Still waiting to schedule task 06:04:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:04:52 Removing intermediate container 53a8151a6051 06:04:52 ---> 22381e7f2321 06:04:52 Step 11/12 : COPY . . 06:04:52 ---> ab3d96728f64 06:04:52 Step 12/12 : RUN $MAKE 06:04:52 ---> Running in 3c50c2e8725f 06:04:52 noop 06:04:52 Removing intermediate container 3c50c2e8725f 06:04:52 ---> 59cb560b0f24 06:04:52 Successfully built 59cb560b0f24 06:04:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:53 + docker inspect -f . ci-base-image-x86_64 06:04:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:53 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:04:53 $ 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 ******** ci-base-image-x86_64 cat 06:04:53 $ docker top fbf0d4bd98ac27ceacd8ef71292e1e53258174efa3b13ee83a6a995acba77749 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:53 + go version 06:04:53 go version go1.20.2 linux/amd64 [Pipeline] } 06:04:53 $ docker stop --time=1 fbf0d4bd98ac27ceacd8ef71292e1e53258174efa3b13ee83a6a995acba77749 06:04:55 $ docker rm -f --volumes fbf0d4bd98ac27ceacd8ef71292e1e53258174efa3b13ee83a6a995acba77749 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:55 + docker inspect -f . ci-base-image-x86_64 06:04:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:55 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:04:55 $ 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 ******** ci-base-image-x86_64 cat 06:04:55 $ docker top 2bfc12f179746c39ea07470570db148966a990914f8a850792c36475c8cdeb62 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 06:04:56 + make test 06:04:56 go test ./... -coverprofile=coverage.out ./... 06:05:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:05:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:05:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:05:10 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 23.1% of statements 06:05:15 go vet ./... 06:05:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:18 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:05:18 $ docker stop --time=1 2bfc12f179746c39ea07470570db148966a990914f8a850792c36475c8cdeb62 06:05:21 $ docker rm -f --volumes 2bfc12f179746c39ea07470570db148966a990914f8a850792c36475c8cdeb62 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:22 + ls -al . 06:05:22 total 180 06:05:22 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:04 . 06:05:22 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:03 .. 06:05:22 -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:03 .dockerignore 06:05:22 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:04 .git 06:05:22 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:03 .github 06:05:22 -rw-rw-r-- 1 jenkins jenkins 329 May 5 06:03 .gitignore 06:05:22 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:03 .golangci.yml 06:05:22 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:04 .semver 06:05:22 -rw-rw-r-- 1 jenkins jenkins 9417 May 5 06:03 Attribution.txt 06:05:22 -rw-rw-r-- 1 jenkins jenkins 13162 May 5 06:03 CHANGELOG.md 06:05:22 -rw-rw-r-- 1 jenkins jenkins 1689 May 5 06:03 Dockerfile 06:05:22 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:03 GOVERNANCE.md 06:05:22 -rw-rw-r-- 1 jenkins jenkins 678 May 5 06:03 Jenkinsfile 06:05:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:03 LICENSE 06:05:22 -rw-rw-r-- 1 jenkins jenkins 1732 May 5 06:03 Makefile 06:05:22 -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:03 OWNERS.md 06:05:22 -rw-rw-r-- 1 jenkins jenkins 3165 May 5 06:03 README.md 06:05:22 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:04 VERSION 06:05:22 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:03 bin 06:05:22 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:03 cmd 06:05:22 -rw-r--r-- 1 jenkins jenkins 18144 May 5 06:05 coverage.out 06:05:22 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 06:03 go.mod 06:05:22 -rw-rw-r-- 1 jenkins jenkins 31328 May 5 06:03 go.sum 06:05:22 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:03 internal 06:05:22 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:03 mock 06:05:22 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:03 snap 06:05:22 -rw-rw-r-- 1 jenkins jenkins 227 May 5 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:22 + 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=8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf --label arch=amd64 --label version=3.0.0-dev.31 . 06:05:22 Sending build context to Docker daemon 6.535MB 06:05:22 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:05:22 Step 2/24 : FROM ${BASE} AS builder 06:05:22 ---> 59cb560b0f24 06:05:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:05:22 ---> Running in cab62f3f264a 06:05:23 Removing intermediate container cab62f3f264a 06:05:23 ---> 6b9f910911f0 06:05:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:23 ---> Running in 9fc17a64cb2b 06:05:23 Removing intermediate container 9fc17a64cb2b 06:05:23 ---> fc7b45569c79 06:05:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:05:23 ---> Running in 661d2b866c1d 06:05:23 Removing intermediate container 661d2b866c1d 06:05:23 ---> 6ef8508d7163 06:05:23 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:05:23 ---> Running in 4b1023f6d2af 06:05:23 Removing intermediate container 4b1023f6d2af 06:05:23 ---> 1bd62dc863ec 06:05:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:05:23 ---> Running in e210a083ac94 06:05:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:05:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:05:24 OK: 269 MiB in 57 packages 06:05:24 Removing intermediate container e210a083ac94 06:05:24 ---> 45cbf05b81b6 06:05:24 Step 8/24 : WORKDIR /device-mqtt-go 06:05:24 ---> Running in 1b588353f2bb 06:05:24 Removing intermediate container 1b588353f2bb 06:05:24 ---> a3ca3109476e 06:05:24 Step 9/24 : COPY go.mod vendor* ./ 06:05:24 ---> 3ba125a5b148 06:05:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:24 ---> Running in 22d08966b3de 06:05:25 Removing intermediate container 22d08966b3de 06:05:25 ---> a03425530070 06:05:25 Step 11/24 : COPY . . 06:05:25 ---> 23d70a425b45 06:05:25 Step 12/24 : RUN $MAKE 06:05:25 ---> Running in 0f0712772e28 06:05:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.31" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 06:05:43 Removing intermediate container 0f0712772e28 06:05:43 ---> 5d835c814840 06:05:43 Step 13/24 : FROM alpine:3.17 06:05:43 3.17: Pulling from library/alpine 06:05:43 f56be85fc22e: Already exists 06:05:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:05:43 Status: Downloaded newer image for alpine:3.17 06:05:43 ---> 9ed4aefc74f6 06:05:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:05:43 ---> Running in a3c10d22cb92 06:05:43 Removing intermediate container a3c10d22cb92 06:05:43 ---> 81c54e05e049 06:05:43 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:05:43 ---> Running in c9111a74fb50 06:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:05:43 (1/1) Installing dumb-init (1.2.5-r2) 06:05:43 Executing busybox-1.35.0-r29.trigger 06:05:43 OK: 7 MiB in 16 packages 06:05:44 Removing intermediate container c9111a74fb50 06:05:44 ---> b4863c82b8d2 06:05:44 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:05:44 ---> e3f8c7c05621 06:05:44 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:05:44 ---> 132b904c457f 06:05:44 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:05:44 ---> fdd0155af3aa 06:05:44 Step 19/24 : EXPOSE 59982 06:05:44 ---> Running in 8e8e4a1a9c91 06:05:45 Removing intermediate container 8e8e4a1a9c91 06:05:45 ---> 82c46307c529 06:05:45 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:05:45 ---> Running in 77ae1f23bf28 06:05:45 Removing intermediate container 77ae1f23bf28 06:05:45 ---> 28344d12e2ff 06:05:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:05:45 ---> Running in d9143dde825b 06:05:45 Removing intermediate container d9143dde825b 06:05:45 ---> da3a630fd9a3 06:05:45 Step 22/24 : LABEL arch=amd64 06:05:45 ---> Running in 4de33da2d415 06:05:45 Removing intermediate container 4de33da2d415 06:05:45 ---> dc850eb75036 06:05:45 Step 23/24 : LABEL git_sha=8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:05:45 ---> Running in 2ac2301aa8d9 06:05:45 Removing intermediate container 2ac2301aa8d9 06:05:45 ---> 9b34f12b4f09 06:05:45 Step 24/24 : LABEL version=3.0.0-dev.31 06:05:45 ---> Running in c8f6ff77fe91 06:05:45 Removing intermediate container c8f6ff77fe91 06:05:45 ---> 341edc312520 06:05:45 [Warning] One or more build-args [ARCH] were not consumed 06:05:45 Successfully built 341edc312520 06:05:45 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:45 provisioning config files... 06:05:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config658820095815582033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:45 ---> docker-login.sh 06:05:45 nexus3.edgexfoundry.org:10001 06:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:45 Configure a credential helper to remove this warning. See 06:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:45 06:05:45 Login Succeeded 06:05:45 nexus3.edgexfoundry.org:10002 06:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:45 Configure a credential helper to remove this warning. See 06:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:45 06:05:45 Login Succeeded 06:05:45 nexus3.edgexfoundry.org:10003 06:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:46 Configure a credential helper to remove this warning. See 06:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:46 06:05:46 Login Succeeded 06:05:46 nexus3.edgexfoundry.org:10004 06:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:46 Configure a credential helper to remove this warning. See 06:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:46 06:05:46 Login Succeeded 06:05:46 docker.io 06:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:46 Configure a credential helper to remove this warning. See 06:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:46 06:05:46 Login Succeeded 06:05:46 ---> docker-login.sh ends [Pipeline] } 06:05:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:05:46 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 06:05:46 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:05:46 latest 06:05:46 3.0.0-dev.31 06:05:46 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31 06:05:46 main 06:05:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:05:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:47 1578f4425dd4: Preparing 06:05:47 77685d08baa4: Preparing 06:05:47 83d9c47d90ac: Preparing 06:05:47 8e549d6332c7: Preparing 06:05:47 f1417ff83b31: Preparing 06:05:47 f1417ff83b31: Layer already exists 06:05:47 1578f4425dd4: Pushed 06:05:47 8e549d6332c7: Pushed 06:05:47 77685d08baa4: Pushed 06:05:49 83d9c47d90ac: Pushed 06:05:49 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf: digest: sha256:5ed206b07ef54060a5c4a855161cb0f0f9a6c300e4dbc8fe7f6125e22b8be772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:05:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:50 1578f4425dd4: Preparing 06:05:50 77685d08baa4: Preparing 06:05:50 83d9c47d90ac: Preparing 06:05:50 8e549d6332c7: Preparing 06:05:50 f1417ff83b31: Preparing 06:05:50 8e549d6332c7: Layer already exists 06:05:50 77685d08baa4: Layer already exists 06:05:50 1578f4425dd4: Layer already exists 06:05:50 f1417ff83b31: Layer already exists 06:05:50 83d9c47d90ac: Layer already exists 06:05:50 latest: digest: sha256:5ed206b07ef54060a5c4a855161cb0f0f9a6c300e4dbc8fe7f6125e22b8be772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.31 06:05:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:50 1578f4425dd4: Preparing 06:05:50 77685d08baa4: Preparing 06:05:50 83d9c47d90ac: Preparing 06:05:50 8e549d6332c7: Preparing 06:05:50 f1417ff83b31: Preparing 06:05:50 83d9c47d90ac: Layer already exists 06:05:50 f1417ff83b31: Layer already exists 06:05:50 1578f4425dd4: Layer already exists 06:05:50 8e549d6332c7: Layer already exists 06:05:50 77685d08baa4: Layer already exists 06:05:50 3.0.0-dev.31: digest: sha256:5ed206b07ef54060a5c4a855161cb0f0f9a6c300e4dbc8fe7f6125e22b8be772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31 06:05:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:51 1578f4425dd4: Preparing 06:05:51 77685d08baa4: Preparing 06:05:51 83d9c47d90ac: Preparing 06:05:51 8e549d6332c7: Preparing 06:05:51 f1417ff83b31: Preparing 06:05:51 8e549d6332c7: Layer already exists 06:05:51 83d9c47d90ac: Layer already exists 06:05:51 77685d08baa4: Layer already exists 06:05:51 1578f4425dd4: Layer already exists 06:05:51 f1417ff83b31: Layer already exists 06:05:51 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31: digest: sha256:5ed206b07ef54060a5c4a855161cb0f0f9a6c300e4dbc8fe7f6125e22b8be772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 06:05:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:05:52 1578f4425dd4: Preparing 06:05:52 77685d08baa4: Preparing 06:05:52 83d9c47d90ac: Preparing 06:05:52 8e549d6332c7: Preparing 06:05:52 f1417ff83b31: Preparing 06:05:52 83d9c47d90ac: Layer already exists 06:05:52 8e549d6332c7: Layer already exists 06:05:52 f1417ff83b31: Layer already exists 06:05:52 1578f4425dd4: Layer already exists 06:05:52 77685d08baa4: Layer already exists 06:05:52 main: digest: sha256:5ed206b07ef54060a5c4a855161cb0f0f9a6c300e4dbc8fe7f6125e22b8be772 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:52 ===================================================== [Pipeline] echo 06:05:52 taggedImages: 06:05:52 - nexus3.edgexfoundry.org:10004/device-mqtt:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:05:52 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:05:52 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.31 06:05:52 - nexus3.edgexfoundry.org:10004/device-mqtt:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31 06:05:52 - 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 06:05:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:52 06:05:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:52 latest: Pulling from edgex-lftools-log-publisher 06:05:52 5eb5b503b376: Pulling fs layer 06:05:52 5c69ac0246d0: Pulling fs layer 06:05:52 ec43610c2a17: Pulling fs layer 06:05:52 3a2ae6a8a46f: Pulling fs layer 06:05:52 33b1e0a273af: Pulling fs layer 06:05:52 5d3b04190fa2: Pulling fs layer 06:05:52 2f39f015ded8: Pulling fs layer 06:05:52 33b1e0a273af: Waiting 06:05:52 5d3b04190fa2: Waiting 06:05:52 2f39f015ded8: Waiting 06:05:52 3a2ae6a8a46f: Waiting 06:05:52 5c69ac0246d0: Verifying Checksum 06:05:52 5c69ac0246d0: Download complete 06:05:52 3a2ae6a8a46f: Verifying Checksum 06:05:52 3a2ae6a8a46f: Download complete 06:05:52 ec43610c2a17: Verifying Checksum 06:05:52 ec43610c2a17: Download complete 06:05:52 33b1e0a273af: Verifying Checksum 06:05:52 33b1e0a273af: Download complete 06:05:52 5d3b04190fa2: Verifying Checksum 06:05:52 5d3b04190fa2: Download complete 06:05:53 5eb5b503b376: Verifying Checksum 06:05:53 5eb5b503b376: Download complete 06:05:53 2f39f015ded8: Download complete 06:05:54 5eb5b503b376: Pull complete 06:05:54 5c69ac0246d0: Pull complete 06:05:54 ec43610c2a17: Pull complete 06:05:54 3a2ae6a8a46f: Pull complete 06:05:54 33b1e0a273af: Pull complete 06:05:55 5d3b04190fa2: Pull complete 06:05:59 2f39f015ded8: Pull complete 06:05:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:05:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:59 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:05:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:06:02 $ docker top b833b1304c948b5a0f88ee170b6ef63796f491f6164bcb1e0c2ec563d6ee1728 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:02 ---> job-cost.sh 06:06:02 lf-activate-venv: SKIPPING 06:06:02 INFO: No Stack... 06:06:02 INFO: Retrieving Pricing Info for: v3-standard-8 06:06:03 INFO: Archiving Costs [Pipeline] sh 06:06:03 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 06:06:03 + cut -d, -f6 [Pipeline] lock 06:06:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-115-stack-cost] 06:06:03 Resource [jenkins-edgexfoundry-device-mqtt-go-main-115-stack-cost] did not exist. Created. 06:06:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:03 + echo total: 0.2199999988079071 [Pipeline] stash 06:06:03 Stashed 1 file(s) [Pipeline] } 06:06:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:03 $ docker stop --time=1 b833b1304c948b5a0f88ee170b6ef63796f491f6164bcb1e0c2ec563d6ee1728 06:06:04 $ docker rm -f --volumes b833b1304c948b5a0f88ee170b6ef63796f491f6164bcb1e0c2ec563d6ee1728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:06:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13838 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 06:06:06 Running in /w/workspace/device-mqtt-go/115 [Pipeline] { [Pipeline] checkout 06:06:06 Selected Git installation does not exist. Using Default 06:06:06 The recommended git tool is: NONE 06:06:14 using credential edgex-jenkins-ssh 06:06:14 Cloning the remote Git repository 06:06:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:06:14 > git init /w/workspace/device-mqtt-go/115 # timeout=10 06:06:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:06:14 > git --version # timeout=10 06:06:14 > git --version # 'git version 2.25.1' 06:06:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:06:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:16 Avoid second fetch 06:06:16 Checking out Revision 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf (main) 06:06:17 Commit message: "Merge pull request #593 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:16 > git config core.sparsecheckout # timeout=10 06:06:16 > git checkout -f 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf # timeout=10 06:06:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:06:18 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:18 Dload Upload Total Spent Left Speed 06:06:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 06:06:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:06:19 + sudo tee /etc/docker/daemon.new 06:06:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:06:19 { 06:06:19 "registry-mirrors": [ 06:06:19 "https://nexus3.edgexfoundry.org:10001" 06:06:19 ], 06:06:19 "bip": "10.250.0.254/24", 06:06:19 "hosts": [ 06:06:19 "tcp://0.0.0.0:5555", 06:06:19 "unix:///var/run/docker.sock" 06:06:19 ], 06:06:19 "mtu": 1458, 06:06:19 "selinux-enabled": true, 06:06:19 "seccomp-profile": "/etc/docker/seccomp.json" 06:06:19 } [Pipeline] sh 06:06:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:06:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:38 provisioning config files... 06:06:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/115@tmp/config7096123475145569915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:38 ---> docker-login.sh 06:06:38 nexus3.edgexfoundry.org:10001 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:39 Configure a credential helper to remove this warning. See 06:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:39 06:06:39 Login Succeeded 06:06:39 nexus3.edgexfoundry.org:10002 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:39 Configure a credential helper to remove this warning. See 06:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:39 06:06:39 Login Succeeded 06:06:39 nexus3.edgexfoundry.org:10003 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:39 Configure a credential helper to remove this warning. See 06:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:39 06:06:39 Login Succeeded 06:06:39 nexus3.edgexfoundry.org:10004 06:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:40 Configure a credential helper to remove this warning. See 06:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:40 06:06:40 Login Succeeded 06:06:40 docker.io 06:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:40 Configure a credential helper to remove this warning. See 06:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:40 06:06:40 Login Succeeded 06:06:40 ---> docker-login.sh ends [Pipeline] } 06:06:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:40 ========================================================= 06:06:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:06:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:41 + 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 . 06:06:41 Sending build context to Docker daemon 3.372MB 06:06:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:06:41 Step 2/12 : FROM ${BASE} AS builder 06:06:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:06:41 c41833b44d91: Pulling fs layer 06:06:41 ed15518f5707: Pulling fs layer 06:06:41 feae8fd75edb: Pulling fs layer 06:06:41 242c74f7c9fa: Pulling fs layer 06:06:41 3cdef696dda3: Pulling fs layer 06:06:41 2ced38df9373: Pulling fs layer 06:06:41 58f1dce35555: Pulling fs layer 06:06:41 3cdef696dda3: Waiting 06:06:41 2ced38df9373: Waiting 06:06:41 58f1dce35555: Waiting 06:06:41 242c74f7c9fa: Waiting 06:06:41 ed15518f5707: Download complete 06:06:41 242c74f7c9fa: Verifying Checksum 06:06:41 242c74f7c9fa: Download complete 06:06:41 3cdef696dda3: Verifying Checksum 06:06:41 3cdef696dda3: Download complete 06:06:41 c41833b44d91: Verifying Checksum 06:06:41 c41833b44d91: Download complete 06:06:43 c41833b44d91: Pull complete 06:06:43 58f1dce35555: Verifying Checksum 06:06:43 58f1dce35555: Download complete 06:06:43 ed15518f5707: Pull complete 06:06:44 feae8fd75edb: Verifying Checksum 06:06:44 feae8fd75edb: Download complete 06:06:44 2ced38df9373: Verifying Checksum 06:06:44 2ced38df9373: Download complete 06:06:56 feae8fd75edb: Pull complete 06:06:56 242c74f7c9fa: Pull complete 06:06:56 3cdef696dda3: Pull complete 06:07:06 2ced38df9373: Pull complete 06:07:06 58f1dce35555: Pull complete 06:07:07 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:07:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:07:07 ---> fadd8f120f05 06:07:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:07:09 ---> Running in 73a5a45dcf73 06:07:09 Removing intermediate container 73a5a45dcf73 06:07:09 ---> d73568441a1e 06:07:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:10 ---> Running in b606f2aad64b 06:07:10 Removing intermediate container b606f2aad64b 06:07:10 ---> 4dd1eb68ab45 06:07:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:07:10 ---> Running in ea1c702a152f 06:07:10 Removing intermediate container ea1c702a152f 06:07:10 ---> 541281a49559 06:07:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:07:10 ---> Running in a15651687db2 06:07:11 Removing intermediate container a15651687db2 06:07:11 ---> 224e9d4cd3c3 06:07:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:07:11 ---> Running in a3af84a85108 06:07:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:07:14 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:07:14 (2/4) Installing libedit (20221030.3.1-r0) 06:07:14 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:07:14 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:07:14 Executing busybox-1.35.0-r29.trigger 06:07:14 OK: 268 MiB in 57 packages 06:07:15 Removing intermediate container a3af84a85108 06:07:15 ---> 7424d217593c 06:07:15 Step 8/12 : WORKDIR /device-mqtt-go 06:07:15 ---> Running in b51dc7f16e31 06:07:16 Removing intermediate container b51dc7f16e31 06:07:16 ---> 65e537318d75 06:07:16 Step 9/12 : COPY go.mod vendor* ./ 06:07:16 ---> 38ea49eba1c9 06:07:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:16 ---> Running in 65a338237864 06:08:24 Removing intermediate container 65a338237864 06:08:24 ---> 6d7908f4612e 06:08:24 Step 11/12 : COPY . . 06:08:24 ---> e00c6b18e41d 06:08:24 Step 12/12 : RUN $MAKE 06:08:24 ---> Running in 8aa9dd1cbff5 06:08:24 noop 06:08:24 Removing intermediate container 8aa9dd1cbff5 06:08:24 ---> beabbc2eefbc 06:08:24 Successfully built beabbc2eefbc 06:08:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:25 + docker inspect -f . ci-base-image-arm64 06:08:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:25 prd-ubuntu20.04-docker-arm64-4c-16g-13838 does not seem to be running inside a container 06:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/115 -v /w/workspace/device-mqtt-go/115:/w/workspace/device-mqtt-go/115:rw,z -v /w/workspace/device-mqtt-go/115@tmp:/w/workspace/device-mqtt-go/115@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 06:08:26 $ docker top 08cc157a9022c64310189e52d3857741b867c75cebd7204d1f1776136260697b -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:27 + go version 06:08:27 go version go1.20.2 linux/arm64 [Pipeline] } 06:08:27 $ docker stop --time=1 08cc157a9022c64310189e52d3857741b867c75cebd7204d1f1776136260697b 06:08:29 $ docker rm -f --volumes 08cc157a9022c64310189e52d3857741b867c75cebd7204d1f1776136260697b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:29 + docker inspect -f . ci-base-image-arm64 06:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:30 prd-ubuntu20.04-docker-arm64-4c-16g-13838 does not seem to be running inside a container 06:08:30 $ 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/115 -v /w/workspace/device-mqtt-go/115:/w/workspace/device-mqtt-go/115:rw,z -v /w/workspace/device-mqtt-go/115@tmp:/w/workspace/device-mqtt-go/115@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 06:08:31 $ docker top e292c65295b387063be4137f060e615cb4ac71539549a0a7a51cb627d92ad9e6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:32 + git config --global --add safe.directory /w/workspace/device-mqtt-go/115 [Pipeline] fileExists [Pipeline] sh 06:08:33 + make test 06:08:33 go test ./... -coverprofile=coverage.out ./... 06:09:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:11:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:11:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:11:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.083s coverage: 23.1% of statements 06:11:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:11:57 go vet ./... 06:12:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:12:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:12:36 ./bin/test-attribution-txt.sh [Pipeline] echo 06:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:12:36 $ docker stop --time=1 e292c65295b387063be4137f060e615cb4ac71539549a0a7a51cb627d92ad9e6 06:12:38 $ docker rm -f --volumes e292c65295b387063be4137f060e615cb4ac71539549a0a7a51cb627d92ad9e6 [Pipeline] // withDockerContainer [Pipeline] sh 06:12:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:39 Warning: overwriting stash ‘coverage-report’ 06:12:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:41 + ls -al . 06:12:41 total 176 06:12:41 drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:08 . 06:12:41 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:06 .. 06:12:41 -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:06 .dockerignore 06:12:41 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:06 .git 06:12:41 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:06 .github 06:12:41 -rw-rw-r-- 1 jenkins jenkins 329 May 5 06:06 .gitignore 06:12:41 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:06 .golangci.yml 06:12:41 -rw-rw-r-- 1 jenkins jenkins 9417 May 5 06:06 Attribution.txt 06:12:41 -rw-rw-r-- 1 jenkins jenkins 13162 May 5 06:06 CHANGELOG.md 06:12:41 -rw-rw-r-- 1 jenkins jenkins 1689 May 5 06:06 Dockerfile 06:12:41 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:06 GOVERNANCE.md 06:12:41 -rw-rw-r-- 1 jenkins jenkins 678 May 5 06:06 Jenkinsfile 06:12:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:06 LICENSE 06:12:41 -rw-rw-r-- 1 jenkins jenkins 1732 May 5 06:06 Makefile 06:12:41 -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:06 OWNERS.md 06:12:41 -rw-rw-r-- 1 jenkins jenkins 3165 May 5 06:06 README.md 06:12:41 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:04 VERSION 06:12:41 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:06 bin 06:12:41 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:06 cmd 06:12:41 -rw-r--r-- 1 jenkins jenkins 18144 May 5 06:11 coverage.out 06:12:41 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 06:06 go.mod 06:12:41 -rw-rw-r-- 1 jenkins jenkins 31328 May 5 06:06 go.sum 06:12:41 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:06 internal 06:12:41 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:06 mock 06:12:41 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:06 snap 06:12:41 -rw-rw-r-- 1 jenkins jenkins 227 May 5 06:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:41 + 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=8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf --label arch=arm64 --label version=3.0.0-dev.31 . 06:12:41 Sending build context to Docker daemon 3.39MB 06:12:41 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:12:41 Step 2/24 : FROM ${BASE} AS builder 06:12:41 ---> beabbc2eefbc 06:12:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:12:41 ---> Running in 2d232753d657 06:12:42 Removing intermediate container 2d232753d657 06:12:42 ---> 0811ca1258da 06:12:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:42 ---> Running in 23976e49224b 06:12:42 Removing intermediate container 23976e49224b 06:12:42 ---> d7eb5c991b6b 06:12:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:12:43 ---> Running in b57438798939 06:12:43 Removing intermediate container b57438798939 06:12:43 ---> ada9480ea91e 06:12:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:12:43 ---> Running in 17a2466c72c2 06:12:43 Removing intermediate container 17a2466c72c2 06:12:43 ---> 0fd6766f8a5f 06:12:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:12:43 ---> Running in 764ee5e4b5c2 06:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:12:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:12:47 OK: 268 MiB in 57 packages 06:12:48 Removing intermediate container 764ee5e4b5c2 06:12:48 ---> 02fb8f52b5c9 06:12:48 Step 8/24 : WORKDIR /device-mqtt-go 06:12:48 ---> Running in 760b13c26add 06:12:49 Removing intermediate container 760b13c26add 06:12:49 ---> 26cde7abe7ea 06:12:49 Step 9/24 : COPY go.mod vendor* ./ 06:12:49 ---> 52166f923117 06:12:49 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:50 ---> Running in c232ef392307 06:12:53 Removing intermediate container c232ef392307 06:12:53 ---> 83328dc7e5e3 06:12:53 Step 11/24 : COPY . . 06:12:54 ---> d3425b8db9a4 06:12:54 Step 12/24 : RUN $MAKE 06:12:54 ---> Running in e8b8c19a8f9f 06:12:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.31" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 06:15:47 Removing intermediate container e8b8c19a8f9f 06:15:47 ---> 5c964f74f0ea 06:15:47 Step 13/24 : FROM alpine:3.17 06:15:47 3.17: Pulling from library/alpine 06:15:47 c41833b44d91: Already exists 06:15:47 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:15:47 Status: Downloaded newer image for alpine:3.17 06:15:47 ---> 51e60588ff2c 06:15:47 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:15:47 ---> Running in 8ad3559500fc 06:15:47 Removing intermediate container 8ad3559500fc 06:15:47 ---> 935bc443db8c 06:15:47 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:15:47 ---> Running in 5d956abc47fa 06:15:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:15:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:15:47 (1/1) Installing dumb-init (1.2.5-r2) 06:15:47 Executing busybox-1.35.0-r29.trigger 06:15:47 OK: 8 MiB in 16 packages 06:15:47 Removing intermediate container 5d956abc47fa 06:15:47 ---> 33d5f5cf47bd 06:15:47 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:15:47 ---> d33ee3490067 06:15:47 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:15:47 ---> 377f18648e56 06:15:47 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:15:48 ---> 027076e5950a 06:15:48 Step 19/24 : EXPOSE 59982 06:15:48 ---> Running in 2fc3202d47ab 06:15:49 Removing intermediate container 2fc3202d47ab 06:15:49 ---> 6a64c3ac76d3 06:15:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:15:49 ---> Running in 67cde1eff9ef 06:15:49 Removing intermediate container 67cde1eff9ef 06:15:49 ---> e64acd70aaee 06:15:49 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:15:49 ---> Running in 40a73cee2419 06:15:49 Removing intermediate container 40a73cee2419 06:15:49 ---> 4e7454dfcdf5 06:15:49 Step 22/24 : LABEL arch=arm64 06:15:49 ---> Running in 5519597c395a 06:15:50 Removing intermediate container 5519597c395a 06:15:50 ---> 12efe54e3fef 06:15:50 Step 23/24 : LABEL git_sha=8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:15:50 ---> Running in e4f07a3ae477 06:15:50 Removing intermediate container e4f07a3ae477 06:15:50 ---> 0f1a61eac2e3 06:15:50 Step 24/24 : LABEL version=3.0.0-dev.31 06:15:50 ---> Running in 03eda4e80b9d 06:15:51 Removing intermediate container 03eda4e80b9d 06:15:51 ---> 4dc7c89d3922 06:15:51 [Warning] One or more build-args [ARCH] were not consumed 06:15:51 Successfully built 4dc7c89d3922 06:15:51 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 06:15:51 provisioning config files... 06:15:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/115@tmp/config9148737958129807034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:51 ---> docker-login.sh 06:15:51 nexus3.edgexfoundry.org:10001 06:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:51 Configure a credential helper to remove this warning. See 06:15:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:51 06:15:51 Login Succeeded 06:15:51 nexus3.edgexfoundry.org:10002 06:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:52 Configure a credential helper to remove this warning. See 06:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:52 06:15:52 Login Succeeded 06:15:52 nexus3.edgexfoundry.org:10003 06:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:52 Configure a credential helper to remove this warning. See 06:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:52 06:15:52 Login Succeeded 06:15:52 nexus3.edgexfoundry.org:10004 06:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:53 Configure a credential helper to remove this warning. See 06:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:53 06:15:53 Login Succeeded 06:15:53 docker.io 06:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:53 Configure a credential helper to remove this warning. See 06:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:53 06:15:53 Login Succeeded 06:15:53 ---> docker-login.sh ends [Pipeline] } 06:15:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:15:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:53 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:15:53 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:15:53 latest 06:15:53 3.0.0-dev.31 06:15:53 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31 06:15:53 main 06:15:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:15:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:15:54 d39ec202a6be: Preparing 06:15:54 8d4fed19c152: Preparing 06:15:54 358cf976a774: Preparing 06:15:54 e0d99aa86ad0: Preparing 06:15:54 26cbea5cba74: Preparing 06:15:54 26cbea5cba74: Layer already exists 06:15:54 d39ec202a6be: Pushed 06:15:54 8d4fed19c152: Pushed 06:15:54 e0d99aa86ad0: Pushed 06:16:01 358cf976a774: Pushed 06:16:02 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf: digest: sha256:d97e999916a0ff42f739a34123570f2a7f10eea49386430e814f75a73d9805ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:02 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:16:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:16:02 d39ec202a6be: Preparing 06:16:02 8d4fed19c152: Preparing 06:16:02 358cf976a774: Preparing 06:16:02 e0d99aa86ad0: Preparing 06:16:02 26cbea5cba74: Preparing 06:16:02 e0d99aa86ad0: Layer already exists 06:16:02 358cf976a774: Layer already exists 06:16:02 8d4fed19c152: Layer already exists 06:16:02 26cbea5cba74: Layer already exists 06:16:02 d39ec202a6be: Layer already exists 06:16:03 latest: digest: sha256:d97e999916a0ff42f739a34123570f2a7f10eea49386430e814f75a73d9805ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.31 06:16:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:16:03 d39ec202a6be: Preparing 06:16:03 8d4fed19c152: Preparing 06:16:03 358cf976a774: Preparing 06:16:03 e0d99aa86ad0: Preparing 06:16:03 26cbea5cba74: Preparing 06:16:03 358cf976a774: Layer already exists 06:16:03 8d4fed19c152: Layer already exists 06:16:03 26cbea5cba74: Layer already exists 06:16:03 e0d99aa86ad0: Layer already exists 06:16:03 d39ec202a6be: Layer already exists 06:16:04 3.0.0-dev.31: digest: sha256:d97e999916a0ff42f739a34123570f2a7f10eea49386430e814f75a73d9805ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31 06:16:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:16:04 d39ec202a6be: Preparing 06:16:04 8d4fed19c152: Preparing 06:16:04 358cf976a774: Preparing 06:16:04 e0d99aa86ad0: Preparing 06:16:04 26cbea5cba74: Preparing 06:16:04 e0d99aa86ad0: Layer already exists 06:16:04 d39ec202a6be: Layer already exists 06:16:04 26cbea5cba74: Layer already exists 06:16:04 358cf976a774: Layer already exists 06:16:04 8d4fed19c152: Layer already exists 06:16:05 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31: digest: sha256:d97e999916a0ff42f739a34123570f2a7f10eea49386430e814f75a73d9805ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:16:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:16:05 d39ec202a6be: Preparing 06:16:05 8d4fed19c152: Preparing 06:16:05 358cf976a774: Preparing 06:16:05 e0d99aa86ad0: Preparing 06:16:05 26cbea5cba74: Preparing 06:16:05 358cf976a774: Layer already exists 06:16:05 e0d99aa86ad0: Layer already exists 06:16:05 8d4fed19c152: Layer already exists 06:16:05 d39ec202a6be: Layer already exists 06:16:05 26cbea5cba74: Layer already exists 06:16:06 main: digest: sha256:d97e999916a0ff42f739a34123570f2a7f10eea49386430e814f75a73d9805ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:16:06 ===================================================== [Pipeline] echo 06:16:06 taggedImages: 06:16:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf 06:16:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:16:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.31 06:16:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf-3.0.0-dev.31 06:16:06 - 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 06:16:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:16:06 06:16:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:16:07 arm64: Pulling from edgex-lftools-log-publisher 06:16:07 8998bd30e6a1: Pulling fs layer 06:16:07 04944245beec: Pulling fs layer 06:16:07 699f458cf7ca: Pulling fs layer 06:16:07 765212b225bb: Pulling fs layer 06:16:07 f23df028b6ca: Pulling fs layer 06:16:07 d65c8cfc05b1: Pulling fs layer 06:16:07 2437ff75d9bd: Pulling fs layer 06:16:07 f23df028b6ca: Waiting 06:16:07 d65c8cfc05b1: Waiting 06:16:07 2437ff75d9bd: Waiting 06:16:07 765212b225bb: Waiting 06:16:07 04944245beec: Verifying Checksum 06:16:07 04944245beec: Download complete 06:16:07 765212b225bb: Verifying Checksum 06:16:07 765212b225bb: Download complete 06:16:07 f23df028b6ca: Verifying Checksum 06:16:07 f23df028b6ca: Download complete 06:16:07 d65c8cfc05b1: Verifying Checksum 06:16:07 d65c8cfc05b1: Download complete 06:16:07 699f458cf7ca: Verifying Checksum 06:16:07 699f458cf7ca: Download complete 06:16:07 8998bd30e6a1: Verifying Checksum 06:16:07 8998bd30e6a1: Download complete 06:16:10 2437ff75d9bd: Verifying Checksum 06:16:10 2437ff75d9bd: Download complete 06:16:12 8998bd30e6a1: Pull complete 06:16:12 04944245beec: Pull complete 06:16:14 699f458cf7ca: Pull complete 06:16:14 765212b225bb: Pull complete 06:16:15 f23df028b6ca: Pull complete 06:16:15 d65c8cfc05b1: Pull complete 06:16:30 2437ff75d9bd: Pull complete 06:16:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:16:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:16:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:30 prd-ubuntu20.04-docker-arm64-4c-16g-13838 does not seem to be running inside a container 06:16:30 $ 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/115 -v /w/workspace/device-mqtt-go/115:/w/workspace/device-mqtt-go/115:rw,z -v /w/workspace/device-mqtt-go/115@tmp:/w/workspace/device-mqtt-go/115@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 06:16:34 $ docker top 471924cda5f893706d42e2d12f6a3756e1828d51c6dae61eb0e2cb3c448868a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:35 ---> job-cost.sh 06:16:35 lf-activate-venv: SKIPPING 06:16:35 INFO: No Stack... 06:16:35 INFO: Retrieving Pricing Info for: v3-standard-4 06:16:36 INFO: Archiving Costs [Pipeline] sh 06:16:37 + cat /w/workspace/device-mqtt-go/115/archives/cost.csv 06:16:37 + cut -d, -f6 [Pipeline] lock 06:16:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-115-stack-cost] 06:16:37 Resource [jenkins-edgexfoundry-device-mqtt-go-main-115-stack-cost] did not exist. Created. 06:16:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:16:38 /w/workspace/device-mqtt-go/115@tmp/durable-3fa9a487/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:16:38 + echo total: 0.10999999940395355 [Pipeline] stash 06:16:38 Warning: overwriting stash ‘stack-cost’ 06:16:39 Stashed 1 file(s) [Pipeline] } 06:16:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 06:16:39 $ docker stop --time=1 471924cda5f893706d42e2d12f6a3756e1828d51c6dae61eb0e2cb3c448868a4 06:16:40 $ docker rm -f --volumes 471924cda5f893706d42e2d12f6a3756e1828d51c6dae61eb0e2cb3c448868a4 [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 06:16:41 provisioning config files... 06:16:41 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2672682610051215768tmp [Pipeline] { [Pipeline] sh 06:16:41 + set +x 06:16:41 + bash -s -- 06:16:41 + curl -s https://codecov.io/bash 06:16:41 06:16:41 _____ _ 06:16:41 / ____| | | 06:16:41 | | ___ __| | ___ ___ _____ __ 06:16:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:16:41 | |___| (_) | (_| | __/ (_| (_) \ V / 06:16:41 \_____\___/ \__,_|\___|\___\___/ \_/ 06:16:41 Bash-1.0.6 06:16:41 06:16:41 06:16:41 ==> git version 2.25.1 found 06:16:41 ==> 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 06:16:41 Release-Date: 2020-01-08 06:16:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:16:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:16:41 ==> Jenkins CI detected. 06:16:41 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:16:41 project root: . 06:16:41 --> token set from env 06:16:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:16:41 ==> Running gcov in . (disable via -X gcov) 06:16:41 ==> Python coveragepy not found 06:16:41 ==> Searching for coverage reports in: 06:16:41 + . 06:16:41 -> Found 1 reports 06:16:41 ==> Detecting git/mercurial file structure 06:16:41 ==> Reading reports 06:16:41 + ./coverage.out bytes=18144 06:16:41 ==> Appending adjustments 06:16:41 https://docs.codecov.io/docs/fixing-reports 06:16:41 + Found adjustments 06:16:41 ==> Gzipping contents 06:16:41 4.0K /tmp/codecov.teTy1y.gz 06:16:41 ==> Uploading reports 06:16:41 url: https://codecov.io 06:16:41 query: branch=main&commit=8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:16:41 -> Pinging Codecov 06:16:41 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=8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:16:42 -> Uploading to 06:16:42 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/7D719EC7BBE17E464838252E33014C33/8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf/2d4b1ea6-bf53-40bc-a965-6e4573f8aafd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T061641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b6e731fc4d0b5963495350989247b3a7aabae286fb471fa022097c87eaa808a 06:16:42 % Total % Received % Xferd Average Speed Time Time Time Current 06:16:42 Dload Upload Total Spent Left Speed 06:16:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 12584 --:--:-- --:--:-- --:--:-- 12584 06:16:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [Pipeline] } 06:16:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:16:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:16:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:16:42 06:16:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:16:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:16:43 df9b9388f04a: Pulling fs layer 06:16:43 52dc419b0ee2: Pulling fs layer 06:16:43 25bc292e5bac: Pulling fs layer 06:16:43 114826534d7a: Pulling fs layer 06:16:43 4657fd5d0bcf: Pulling fs layer 06:16:43 6ad1cebc031e: Pulling fs layer 06:16:43 8a3aa393b2d8: Pulling fs layer 06:16:43 4657fd5d0bcf: Waiting 06:16:43 114826534d7a: Waiting 06:16:43 6ad1cebc031e: Waiting 06:16:43 8a3aa393b2d8: Waiting 06:16:43 25bc292e5bac: Verifying Checksum 06:16:43 25bc292e5bac: Download complete 06:16:43 52dc419b0ee2: Verifying Checksum 06:16:43 52dc419b0ee2: Download complete 06:16:43 4657fd5d0bcf: Verifying Checksum 06:16:43 4657fd5d0bcf: Download complete 06:16:43 df9b9388f04a: Verifying Checksum 06:16:43 df9b9388f04a: Download complete 06:16:43 6ad1cebc031e: Verifying Checksum 06:16:43 6ad1cebc031e: Download complete 06:16:43 df9b9388f04a: Pull complete 06:16:43 52dc419b0ee2: Pull complete 06:16:43 25bc292e5bac: Pull complete 06:16:43 114826534d7a: Verifying Checksum 06:16:43 114826534d7a: Download complete 06:16:43 8a3aa393b2d8: Verifying Checksum 06:16:43 8a3aa393b2d8: Download complete 06:16:47 114826534d7a: Pull complete 06:16:47 4657fd5d0bcf: Pull complete 06:16:47 6ad1cebc031e: Pull complete 06:16:49 8a3aa393b2d8: Pull complete 06:16:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:16:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:49 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:16:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:16:53 $ docker top 97decd9592a81d04507a6c2b10f7b63d90c0b2e6a0e985d6ebeed5df0b2a2e6c -eo pid,comm [Pipeline] { [Pipeline] echo 06:16:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 06:16:53 + set -o pipefail 06:16:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 06:16:57 06:16:57 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:16:57 06:16:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/dfa2405d-fd27-4974-8630-960e80562a04 06:16:57 06:16:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:16:57 06:16:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:16:57 06:16:57 06:16:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:16:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:16:57 More details here: https://snyk.co/ue1NS 06:16:57 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:16:57 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:16:57 $ docker stop --time=1 97decd9592a81d04507a6c2b10f7b63d90c0b2e6a0e985d6ebeed5df0b2a2e6c 06:17:00 $ docker rm -f --volumes 97decd9592a81d04507a6c2b10f7b63d90c0b2e6a0e985d6ebeed5df0b2a2e6c [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 06:17:01 + git log --format=format:%s -1 8cbf2b1370bf1c2d109bffd701d1dd2a92c080cf [Pipeline] sh 06:17:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:01 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:17:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:17:02 $ docker top 7f18764d0bfb3791f047103b877fed0b62fd38ee3978349bd4bad1ea99e6e321 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:02 [ssh-agent] Looking for ssh-agent implementation... 06:17:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:02 $ docker exec 7f18764d0bfb3791f047103b877fed0b62fd38ee3978349bd4bad1ea99e6e321 ssh-agent 06:17:02 SSH_AUTH_SOCK=/tmp/ssh-W8hgjCh3sMDu/agent.32 06:17:02 SSH_AGENT_PID=38 06:17:02 Running ssh-add (command line suppressed) 06:17:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8077953507883278579.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8077953507883278579.key) 06:17:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:03 + git semver tag 06:17:03 2023-05-05 06:17:03,310 [run_tag] DEBUG tag force:False 06:17:03 2023-05-05 06:17:03,310 [check_head_tag] DEBUG check head tag 06:17:03 2023-05-05 06:17:03,312 [execute] INFO git cat-file --batch-check 06:17:03 2023-05-05 06:17:03,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:17:03 2023-05-05 06:17:03,316 [execute] INFO git cat-file --batch 06:17:03 2023-05-05 06:17:03,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:17:03 2023-05-05 06:17:03,340 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:17:03 2023-05-05 06:17:03,340 [execute] INFO git tag -a v3.0.0-dev.31 -m v3.0.0-dev.31 06:17:03 2023-05-05 06:17:03,340 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.31', '-m', 'v3.0.0-dev.31'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:17:03 2023-05-05 06:17:03,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:17:03 3.0.0-dev.31 [Pipeline] } 06:17:03 $ docker exec --env ******** --env ******** 7f18764d0bfb3791f047103b877fed0b62fd38ee3978349bd4bad1ea99e6e321 ssh-agent -k 06:17:03 unset SSH_AUTH_SOCK; 06:17:03 unset SSH_AGENT_PID; 06:17:03 echo Agent pid 38 killed; 06:17:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:03 + git semver [Pipeline] } 06:17:04 $ docker stop --time=1 7f18764d0bfb3791f047103b877fed0b62fd38ee3978349bd4bad1ea99e6e321 06:17:05 $ docker rm -f --volumes 7f18764d0bfb3791f047103b877fed0b62fd38ee3978349bd4bad1ea99e6e321 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:05 06:17:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:06 0.23.1-centos7: Pulling from edgex-lftools 06:17:06 ab5ef0e58194: Pulling fs layer 06:17:06 9712f1f96733: Pulling fs layer 06:17:06 63f879dbbcfc: Pulling fs layer 06:17:06 0d9ebad4ef96: Pulling fs layer 06:17:06 e9a5061849ea: Pulling fs layer 06:17:06 d747dcd14b5f: Pulling fs layer 06:17:06 2de7ff778b66: Pulling fs layer 06:17:06 e9a5061849ea: Waiting 06:17:06 d747dcd14b5f: Waiting 06:17:06 2de7ff778b66: Waiting 06:17:06 0d9ebad4ef96: Waiting 06:17:06 9712f1f96733: Verifying Checksum 06:17:06 9712f1f96733: Download complete 06:17:06 63f879dbbcfc: Verifying Checksum 06:17:06 63f879dbbcfc: Download complete 06:17:06 e9a5061849ea: Verifying Checksum 06:17:06 e9a5061849ea: Download complete 06:17:06 d747dcd14b5f: Download complete 06:17:06 0d9ebad4ef96: Download complete 06:17:06 ab5ef0e58194: Verifying Checksum 06:17:06 ab5ef0e58194: Download complete 06:17:06 2de7ff778b66: Verifying Checksum 06:17:06 2de7ff778b66: Download complete 06:17:09 ab5ef0e58194: Pull complete 06:17:09 9712f1f96733: Pull complete 06:17:09 63f879dbbcfc: Pull complete 06:17:12 0d9ebad4ef96: Pull complete 06:17:13 e9a5061849ea: Pull complete 06:17:13 d747dcd14b5f: Pull complete 06:17:14 2de7ff778b66: Pull complete 06:17:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:17:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:17:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:14 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:17:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:17:17 $ docker top 565c4eee577df55d08b40af24cf5037a45ef594ad8bee86a23aa32073ebfc5f7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:17:17 provisioning config files... 06:17:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5790081088236385590tmp 06:17:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16799961502646729594tmp 06:17:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15957384171423830642tmp [Pipeline] { [Pipeline] echo 06:17:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:17:18 ---> sigul-configuration.sh 06:17:18 gpg: directory `/root/.gnupg' created 06:17:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:17:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:17:18 gpg: keyring `/root/.gnupg/secring.gpg' created 06:17:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:17:18 gpg: CAST5 encrypted data 06:17:18 gpg: encrypted with 1 passphrase 06:17:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:17:18 + mkdir /home/jenkins 06:17:18 + mkdir /home/jenkins/sigul [Pipeline] sh 06:17:18 + 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 06:17:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:17:19 ---> sigul-install.sh 06:17:19 Sigul already installed; skipping installation. [Pipeline] sh 06:17:19 + git tag --list 06:17:19 0.7.1 06:17:19 v1.0.0 06:17:19 v1.1.0 06:17:19 v1.1.1 06:17:19 v1.2.2 06:17:19 v1.3.0 06:17:19 v1.3.1 06:17:19 v2.0.0 06:17:19 v2.1.0 06:17:19 v2.1.1 06:17:19 v2.1.1-dev.1 06:17:19 v2.1.1-dev.2 06:17:19 v2.2.0 06:17:19 v2.2.1-dev.1 06:17:19 v2.2.1-dev.10 06:17:19 v2.2.1-dev.2 06:17:19 v2.2.1-dev.3 06:17:19 v2.2.1-dev.4 06:17:19 v2.2.1-dev.5 06:17:19 v2.2.1-dev.6 06:17:19 v2.2.1-dev.7 06:17:19 v2.2.1-dev.8 06:17:19 v2.2.1-dev.9 06:17:19 v2.3.0 06:17:19 v2.3.0-dev.10 06:17:19 v2.3.0-dev.11 06:17:19 v2.3.0-dev.12 06:17:19 v2.3.0-dev.13 06:17:19 v2.3.0-dev.14 06:17:19 v2.3.0-dev.15 06:17:19 v2.3.0-dev.16 06:17:19 v2.3.0-dev.17 06:17:19 v2.3.0-dev.18 06:17:19 v2.3.0-dev.19 06:17:19 v2.3.0-dev.20 06:17:19 v2.3.0-dev.21 06:17:19 v2.3.0-dev.22 06:17:19 v2.3.0-dev.23 06:17:19 v2.3.0-dev.24 06:17:19 v2.3.0-dev.25 06:17:19 v2.3.0-dev.26 06:17:19 v2.3.0-dev.27 06:17:19 v2.3.0-dev.28 06:17:19 v2.3.0-dev.29 06:17:19 v2.3.0-dev.30 06:17:19 v2.3.0-dev.31 06:17:19 v2.3.0-dev.32 06:17:19 v2.3.0-dev.33 06:17:19 v2.3.0-dev.34 06:17:19 v3.0.0-dev.1 06:17:19 v3.0.0-dev.10 06:17:19 v3.0.0-dev.11 06:17:19 v3.0.0-dev.12 06:17:19 v3.0.0-dev.13 06:17:19 v3.0.0-dev.14 06:17:19 v3.0.0-dev.15 06:17:19 v3.0.0-dev.16 06:17:19 v3.0.0-dev.17 06:17:19 v3.0.0-dev.18 06:17:19 v3.0.0-dev.19 06:17:19 v3.0.0-dev.2 06:17:19 v3.0.0-dev.20 06:17:19 v3.0.0-dev.21 06:17:19 v3.0.0-dev.22 06:17:19 v3.0.0-dev.23 06:17:19 v3.0.0-dev.24 06:17:19 v3.0.0-dev.25 06:17:19 v3.0.0-dev.26 06:17:19 v3.0.0-dev.27 06:17:19 v3.0.0-dev.28 06:17:19 v3.0.0-dev.29 06:17:19 v3.0.0-dev.3 06:17:19 v3.0.0-dev.30 06:17:19 v3.0.0-dev.31 06:17:19 v3.0.0-dev.4 06:17:19 v3.0.0-dev.5 06:17:19 v3.0.0-dev.6 06:17:19 v3.0.0-dev.7 06:17:19 v3.0.0-dev.8 06:17:19 v3.0.0-dev.9 [Pipeline] sh 06:17:19 + lftools sign git-tag v3.0.0-dev.31 06:17:20 Signing Git tag with Sigul... 06:17:20 Signing v3.0.0-dev.31 06:19:11 ERROR: I/O error: NSPR connection reset [Pipeline] echo 06:19:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:19:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:19:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:19:12 $ docker stop --time=1 565c4eee577df55d08b40af24cf5037a45ef594ad8bee86a23aa32073ebfc5f7 06:19:13 $ docker rm -f --volumes 565c4eee577df55d08b40af24cf5037a45ef594ad8bee86a23aa32073ebfc5f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:19:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:19:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:19:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:14 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:19:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:19:14 $ docker top d646646f569b59138a6349bb29e043baea12a66825b95bcbe8eaa53f04f05c2f -eo pid,comm 06:19:14 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). 06:19:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:14 [ssh-agent] Looking for ssh-agent implementation... 06:19:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:14 $ docker exec d646646f569b59138a6349bb29e043baea12a66825b95bcbe8eaa53f04f05c2f ssh-agent 06:19:14 SSH_AUTH_SOCK=/tmp/ssh-6jC7aSFvdDE1/agent.33 06:19:14 SSH_AGENT_PID=40 06:19:14 Running ssh-add (command line suppressed) 06:19:14 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11435795783382287864.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11435795783382287864.key) 06:19:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:15 + git semver bump pre 06:19:15 2023-05-05 06:19:15,295 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:15 2023-05-05 06:19:15,295 [bump_version] DEBUG bumping version:3.0.0-dev.31 on axis:pre with prefix:dev 06:19:15 2023-05-05 06:19:15,295 [bump_version] DEBUG bumped version:3.0.0-dev.32 06:19:15 2023-05-05 06:19:15,295 [write_version] DEBUG write version:3.0.0-dev.32 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 06:19:15 2023-05-05 06:19:15,296 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:15 2023-05-05 06:19:15,296 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:15 2023-05-05 06:19:15,297 [execute] INFO git cat-file --batch-check 06:19:15 2023-05-05 06:19:15,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:19:15 2023-05-05 06:19:15,303 [execute] INFO git cat-file --batch 06:19:15 2023-05-05 06:19:15,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:19:15 2023-05-05 06:19:15,308 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:15 3.0.0-dev.32 [Pipeline] } 06:19:15 $ docker exec --env ******** --env ******** d646646f569b59138a6349bb29e043baea12a66825b95bcbe8eaa53f04f05c2f ssh-agent -k 06:19:15 unset SSH_AUTH_SOCK; 06:19:15 unset SSH_AGENT_PID; 06:19:15 echo Agent pid 40 killed; 06:19:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:19:15 + git semver [Pipeline] } 06:19:16 $ docker stop --time=1 d646646f569b59138a6349bb29e043baea12a66825b95bcbe8eaa53f04f05c2f 06:19:17 $ docker rm -f --volumes d646646f569b59138a6349bb29e043baea12a66825b95bcbe8eaa53f04f05c2f [Pipeline] // withDockerContainer [Pipeline] sh 06:19:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:19:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:19:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:18 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:19:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:19:18 $ docker top 225a6231919b78234b35abdc92445ed0aa2a6a08566544537db1b60df2e98f21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:19:18 [ssh-agent] Looking for ssh-agent implementation... 06:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:19:18 $ docker exec 225a6231919b78234b35abdc92445ed0aa2a6a08566544537db1b60df2e98f21 ssh-agent 06:19:18 SSH_AUTH_SOCK=/tmp/ssh-61i3HURHt4IQ/agent.32 06:19:18 SSH_AGENT_PID=39 06:19:18 Running ssh-add (command line suppressed) 06:19:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2466101147075282333.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2466101147075282333.key) 06:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:19:19 + git semver push 06:19:19 2023-05-05 06:19:19,306 [run_push] DEBUG push 06:19:19 2023-05-05 06:19:19,307 [execute] INFO git cat-file --batch-check 06:19:19 2023-05-05 06:19:19,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:19:19 2023-05-05 06:19:19,310 [execute] INFO git rev-list 6c044b164805fbdc0d60e32843cd7fcf82dd77d7 -- 06:19:19 2023-05-05 06:19:19,310 [execute] DEBUG Popen(['git', 'rev-list', '6c044b164805fbdc0d60e32843cd7fcf82dd77d7', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:19:19 2023-05-05 06:19:19,319 [execute] INFO git fetch -v origin 06:19:19 2023-05-05 06:19:19,319 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:19:19 2023-05-05 06:19:19,789 [run_push] DEBUG no remote changes detected 06:19:19 2023-05-05 06:19:19,789 [execute] INFO git push origin semver 06:19:19 2023-05-05 06:19:19,790 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:19:20 2023-05-05 06:19:20,511 [run_push] DEBUG push all version tags 06:19:20 2023-05-05 06:19:20,511 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:19:20 2023-05-05 06:19:20,512 [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) 06:19:21 2023-05-05 06:19:21,240 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:19:21 3.0.0-dev.32 [Pipeline] } 06:19:21 $ docker exec --env ******** --env ******** 225a6231919b78234b35abdc92445ed0aa2a6a08566544537db1b60df2e98f21 ssh-agent -k 06:19:21 unset SSH_AUTH_SOCK; 06:19:21 unset SSH_AGENT_PID; 06:19:21 echo Agent pid 39 killed; 06:19:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:19:21 + git semver [Pipeline] } 06:19:22 $ docker stop --time=1 225a6231919b78234b35abdc92445ed0aa2a6a08566544537db1b60df2e98f21 06:19:23 $ docker rm -f --volumes 225a6231919b78234b35abdc92445ed0aa2a6a08566544537db1b60df2e98f21 [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 06:19:24 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:19:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:19:24 total 16 06:19:24 drwxr-xr-x 3 root root 4096 May 5 06:06 . 06:19:24 drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:17 .. 06:19:24 drwxr-xr-x 2 root root 4096 May 5 06:06 cost 06:19:24 -rw-r--r-- 1 root root 86 May 5 06:06 cost.csv 06:19:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:19:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:19:24 total 16 06:19:24 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:06 . 06:19:24 drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:17 .. 06:19:24 drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:06 cost 06:19:24 -rw-r--r-- 1 jenkins jenkins 86 May 5 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:19:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:19:25 ---> package-listing.sh 06:19:25 ++ facter osfamily 06:19:25 ++ tr '[:upper:]' '[:lower:]' 06:19:25 + OS_FAMILY=debian 06:19:25 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:19:25 + START_PACKAGES=/tmp/packages_start.txt 06:19:25 + END_PACKAGES=/tmp/packages_end.txt 06:19:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:19:25 + PACKAGES=/tmp/packages_start.txt 06:19:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:19:25 + PACKAGES=/tmp/packages_end.txt 06:19:25 + case "${OS_FAMILY}" in 06:19:25 + dpkg -l 06:19:25 + grep '^ii' 06:19:25 + '[' -f /tmp/packages_start.txt ']' 06:19:25 + '[' -f /tmp/packages_end.txt ']' 06:19:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:19:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:19:25 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:19:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:19:25 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 06:19:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:26 prd-ubuntu20.04-docker-8c-8g-13835 does not seem to be running inside a container 06:19:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:19:26 $ docker top bf9cc0ffd3a3da1bcf1ab73052623d0a7c40e66db884e8097b2446c6ab823aa9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:26 + touch /tmp/pre-build-complete [Pipeline] sh 06:19:27 + mkdir -p /var/log/sysstat [Pipeline] sh 06:19:27 + ls /var/log/sa-host 06:19:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:19:27 provisioning config files... 06:19:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18340654852384082099tmp [Pipeline] { [Pipeline] echo 06:19:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:19:27 ---> create-netrc.sh [Pipeline] } 06:19:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:19:28 ---> python-tools-install.sh [Pipeline] echo 06:19:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:19:28 ---> sudo-logs.sh 06:19:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:19:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:19:28 ---> job-cost.sh 06:19:28 lf-activate-venv: SKIPPING 06:19:28 DEBUG: total: 0.2199999988079071 06:19:28 INFO: Retrieving Stack Cost... 06:19:29 INFO: Retrieving Pricing Info for: v3-standard-8 06:19:29 INFO: Archiving Costs [Pipeline] echo 06:19:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:19:29 ---> logs-deploy.sh 06:19:29 lf-activate-venv: SKIPPING 06:19:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/115 06:19:29 INFO: archiving workspace using pattern(s): 06:19:30 Archives upload complete. 06:19:30 INFO: archiving logs to Nexus