Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 504ae262e254dce13e9a69f67e2e26f1d4ba9dab 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-ssh5564914089910539955.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh897109076382923085.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh14725541626462943871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh7796660973342220421.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-ssh15634577792145401691.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-18467 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 504ae262e254dce13e9a69f67e2e26f1d4ba9dab (main) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#613)" > 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 504ae262e254dce13e9a69f67e2e26f1d4ba9dab # timeout=10 > git rev-list --no-walk 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:41 ========================================================= 17:52:41 EdgeX Global Pipelines Version Info 17:52:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:42 ------------------- 17:52:42 stable info: 17:52:42 ------------------- 17:52:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:42 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:52:42 Message: update stable to v1.0.250 17:52:42 ------------------- 17:52:42 experimental info: 17:52:42 ------------------- 17:52:42 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:42 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:52:42 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 504ae26 [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:43 provisioning config files... 17:52:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5621366031719552294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:43 ---> docker-login.sh 17:52:43 nexus3.edgexfoundry.org:10001 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 nexus3.edgexfoundry.org:10002 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 nexus3.edgexfoundry.org:10003 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 nexus3.edgexfoundry.org:10004 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 docker.io 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 ---> docker-login.sh ends [Pipeline] } 17:52:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:45 + git rev-list -1 --merges 504ae262e254dce13e9a69f67e2e26f1d4ba9dab~1..504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] echo 17:52:45 -----------> git rev-list -1 --merges 504ae262e254dce13e9a69f67e2e26f1d4ba9dab~1..504ae262e254dce13e9a69f67e2e26f1d4ba9dab 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [false] [Pipeline] sh 17:52:45 + git log --format=format:%s -1 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] echo 17:52:45 ========================================================= 17:52:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:45 + git log --format=format:%s -1 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] echo 17:52:45 [semverPrep] GIT_COMMIT: 504ae262e254dce13e9a69f67e2e26f1d4ba9dab, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#613) [Pipeline] echo 17:52:45 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:46 + grep -v github /etc/ssh/ssh_known_hosts 17:52:46 + [ -e /tmp/ssh_known_hosts ] 17:52:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:46 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:52:46 sudo tee -a /etc/ssh/ssh_known_hosts 17:52:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:46 17:52:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:46 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:46 b85a868b505f: Pulling fs layer 17:52:46 e2be974225ed: Pulling fs layer 17:52:46 339a4e72a1f5: Pulling fs layer 17:52:46 988bab9f4d93: Pulling fs layer 17:52:46 1469e6f7b9e6: Pulling fs layer 17:52:46 eaf3925da568: Pulling fs layer 17:52:46 bab4dde63d76: Pulling fs layer 17:52:46 bde34c3a00c8: Pulling fs layer 17:52:46 b352a97aabf1: Pulling fs layer 17:52:46 4872d77fe225: Pulling fs layer 17:52:46 5851b861e8e6: Pulling fs layer 17:52:46 988bab9f4d93: Waiting 17:52:46 1469e6f7b9e6: Waiting 17:52:46 bab4dde63d76: Waiting 17:52:46 bde34c3a00c8: Waiting 17:52:46 b352a97aabf1: Waiting 17:52:46 5851b861e8e6: Waiting 17:52:46 4872d77fe225: Waiting 17:52:46 eaf3925da568: Waiting 17:52:46 e2be974225ed: Download complete 17:52:46 988bab9f4d93: Verifying Checksum 17:52:46 988bab9f4d93: Download complete 17:52:46 1469e6f7b9e6: Verifying Checksum 17:52:46 1469e6f7b9e6: Download complete 17:52:46 eaf3925da568: Verifying Checksum 17:52:46 eaf3925da568: Download complete 17:52:47 339a4e72a1f5: Verifying Checksum 17:52:47 339a4e72a1f5: Download complete 17:52:47 bde34c3a00c8: Verifying Checksum 17:52:47 bde34c3a00c8: Download complete 17:52:47 b352a97aabf1: Verifying Checksum 17:52:47 b352a97aabf1: Download complete 17:52:47 4872d77fe225: Download complete 17:52:47 5851b861e8e6: Verifying Checksum 17:52:47 5851b861e8e6: Download complete 17:52:47 b85a868b505f: Verifying Checksum 17:52:47 b85a868b505f: Download complete 17:52:47 bab4dde63d76: Verifying Checksum 17:52:47 bab4dde63d76: Download complete 17:52:48 b85a868b505f: Pull complete 17:52:48 e2be974225ed: Pull complete 17:52:48 339a4e72a1f5: Pull complete 17:52:48 988bab9f4d93: Pull complete 17:52:49 1469e6f7b9e6: Pull complete 17:52:49 eaf3925da568: Pull complete 17:52:51 bab4dde63d76: Pull complete 17:52:51 bde34c3a00c8: Pull complete 17:52:51 b352a97aabf1: Pull complete 17:52:51 4872d77fe225: Pull complete 17:52:51 5851b861e8e6: Pull complete 17:52:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:51 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 17:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:52:54 $ docker top 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 -eo pid,comm 17:52:54 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). 17:52:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:54 [ssh-agent] Looking for ssh-agent implementation... 17:52:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:54 $ docker exec 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 ssh-agent 17:52:54 SSH_AUTH_SOCK=/tmp/ssh-08YcaG2Q9s6x/agent.33 17:52:54 SSH_AGENT_PID=39 17:52:54 Running ssh-add (command line suppressed) 17:52:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16938533205988546036.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16938533205988546036.key) 17:52:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:54 + git tag --points-at HEAD [Pipeline] } 17:52:54 $ docker exec --env ******** --env ******** 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 ssh-agent -k 17:52:55 unset SSH_AUTH_SOCK; 17:52:55 unset SSH_AGENT_PID; 17:52:55 echo Agent pid 39 killed; 17:52:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:55 [ssh-agent] Looking for ssh-agent implementation... 17:52:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:55 $ docker exec 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 ssh-agent 17:52:55 SSH_AUTH_SOCK=/tmp/ssh-k1gg31Na1QBQ/agent.72 17:52:55 SSH_AGENT_PID=78 17:52:55 Running ssh-add (command line suppressed) 17:52:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13427441186719647858.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13427441186719647858.key) 17:52:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:55 + git semver init 17:52:56 2023-06-12 17:52:55,953 [run_init] DEBUG init version:0.0.0 force:False 17:52:56 2023-06-12 17:52:55,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:52:56 2023-06-12 17:52:55,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:52:56 2023-06-12 17:52:55,955 [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) 17:52:56 2023-06-12 17:52:56,861 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 17:52:56 2023-06-12 17:52:56,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 17:52:56 2023-06-12 17:52:56,861 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:52:56 2023-06-12 17:52:56,861 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:52:56 3.1.0-dev.1 [Pipeline] } 17:52:56 $ docker exec --env ******** --env ******** 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 ssh-agent -k 17:52:57 unset SSH_AUTH_SOCK; 17:52:57 unset SSH_AGENT_PID; 17:52:57 echo Agent pid 78 killed; 17:52:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:57 + git semver [Pipeline] } 17:52:57 $ docker stop --time=1 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 17:52:59 $ docker rm -f --volumes 17c4ab7b903b13145430c963e268a993cd8d80bdd24fb10950c4be40236c7249 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:59 Stashed 1 file(s) [Pipeline] echo 17:52:59 [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [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 17:52:59 provisioning config files... 17:52:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14015309592792504894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:00 ---> docker-login.sh 17:53:00 nexus3.edgexfoundry.org:10001 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10002 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10003 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10004 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 docker.io 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 ---> docker-login.sh ends [Pipeline] } 17:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:00 ========================================================= 17:53:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:53:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:00 + 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 . 17:53:00 Sending build context to Docker daemon 6.442MB 17:53:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:53:00 Step 2/12 : FROM ${BASE} AS builder 17:53:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:53:00 f56be85fc22e: Pulling fs layer 17:53:00 85791d961cd3: Pulling fs layer 17:53:00 d694b5ae8c79: Pulling fs layer 17:53:00 9f32a84ed3da: Pulling fs layer 17:53:00 4d19c01a9841: Pulling fs layer 17:53:00 9325e15d5711: Pulling fs layer 17:53:00 556b6ee489ea: Pulling fs layer 17:53:00 c5a4b2cf53e6: Pulling fs layer 17:53:00 556b6ee489ea: Waiting 17:53:00 9325e15d5711: Waiting 17:53:00 c5a4b2cf53e6: Waiting 17:53:00 9f32a84ed3da: Waiting 17:53:00 4d19c01a9841: Waiting 17:53:00 85791d961cd3: Verifying Checksum 17:53:00 85791d961cd3: Download complete 17:53:00 9f32a84ed3da: Verifying Checksum 17:53:00 9f32a84ed3da: Download complete 17:53:00 4d19c01a9841: Verifying Checksum 17:53:00 4d19c01a9841: Download complete 17:53:00 f56be85fc22e: Verifying Checksum 17:53:00 f56be85fc22e: Download complete 17:53:01 9325e15d5711: Verifying Checksum 17:53:01 9325e15d5711: Download complete 17:53:01 f56be85fc22e: Pull complete 17:53:01 85791d961cd3: Pull complete 17:53:01 c5a4b2cf53e6: Verifying Checksum 17:53:01 c5a4b2cf53e6: Download complete 17:53:01 d694b5ae8c79: Verifying Checksum 17:53:01 d694b5ae8c79: Download complete 17:53:02 556b6ee489ea: Verifying Checksum 17:53:02 556b6ee489ea: Download complete 17:53:05 d694b5ae8c79: Pull complete 17:53:05 9f32a84ed3da: Pull complete 17:53:05 4d19c01a9841: Pull complete 17:53:05 9325e15d5711: Pull complete 17:53:08 556b6ee489ea: Pull complete 17:53:09 c5a4b2cf53e6: Pull complete 17:53:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:53:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:53:09 ---> c4be618373d6 17:53:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:53:14 ---> Running in a7ce0c37fbb7 17:53:14 Removing intermediate container a7ce0c37fbb7 17:53:14 ---> 8ca330468ca6 17:53:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:14 ---> Running in f1e0c197cf56 17:53:14 Removing intermediate container f1e0c197cf56 17:53:14 ---> 1258713688fb 17:53:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:53:14 ---> Running in ff5eb3e28add 17:53:14 Removing intermediate container ff5eb3e28add 17:53:14 ---> f9bbdff139b3 17:53:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:53:14 ---> Running in 14b403546475 17:53:14 Removing intermediate container 14b403546475 17:53:14 ---> 7d6a3c5cb69f 17:53:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:14 ---> Running in 5e805fd3f36a 17:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:53:14 Still waiting to schedule task 17:53:14 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:53:14 (1/4) Installing openssh-keygen (9.1_p1-r3) 17:53:14 (2/4) Installing libedit (20221030.3.1-r0) 17:53:14 (3/4) Installing openssh-client-common (9.1_p1-r3) 17:53:14 (4/4) Installing openssh-client-default (9.1_p1-r3) 17:53:14 Executing busybox-1.35.0-r29.trigger 17:53:14 OK: 269 MiB in 57 packages 17:53:15 Removing intermediate container 5e805fd3f36a 17:53:15 ---> 7b99d88d04b9 17:53:15 Step 8/12 : WORKDIR /device-mqtt-go 17:53:15 ---> Running in c36b100acb0c 17:53:15 Removing intermediate container c36b100acb0c 17:53:15 ---> 713d0341c90a 17:53:15 Step 9/12 : COPY go.mod vendor* ./ 17:53:15 ---> c781ab568232 17:53:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:15 ---> Running in 458b01078426 17:53:41 Removing intermediate container 458b01078426 17:53:41 ---> afb6294d5ed1 17:53:41 Step 11/12 : COPY . . 17:53:41 ---> d300306035da 17:53:41 Step 12/12 : RUN $MAKE 17:53:41 ---> Running in acf7047a8973 17:53:41 noop 17:53:41 Removing intermediate container acf7047a8973 17:53:41 ---> 5291b0af56ef 17:53:41 Successfully built 5291b0af56ef 17:53:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:42 + docker inspect -f . ci-base-image-x86_64 17:53:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:42 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 17:53:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:42 $ docker top 045f18180bc113654495258b02447305d4e6a1a38599779c29d1fac38094139d -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:43 + go version 17:53:43 go version go1.20.2 linux/amd64 [Pipeline] } 17:53:43 $ docker stop --time=1 045f18180bc113654495258b02447305d4e6a1a38599779c29d1fac38094139d 17:53:44 $ docker rm -f --volumes 045f18180bc113654495258b02447305d4e6a1a38599779c29d1fac38094139d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:44 + docker inspect -f . ci-base-image-x86_64 17:53:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:44 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 17:53:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:45 $ docker top 4daadaecf3ad9b704018dccf3697fe789bf0a2dc122e87ac2be9541b5493792e -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:45 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 17:53:45 + make test 17:53:45 go test ./... -coverprofile=coverage.out ./... 17:53:51 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:54:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:54:01 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:54:01 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements 17:54:07 go vet ./... 17:54:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:12 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:12 $ docker stop --time=1 4daadaecf3ad9b704018dccf3697fe789bf0a2dc122e87ac2be9541b5493792e 17:54:15 $ docker rm -f --volumes 4daadaecf3ad9b704018dccf3697fe789bf0a2dc122e87ac2be9541b5493792e [Pipeline] // withDockerContainer [Pipeline] sh 17:54:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:54:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:16 + ls -al . 17:54:16 total 184 17:54:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:53 . 17:54:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:52 .. 17:54:16 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:52 .dockerignore 17:54:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:52 .git 17:54:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:52 .github 17:54:16 -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 17:52 .gitignore 17:54:16 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:52 .golangci.yml 17:54:16 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:52 .semver 17:54:16 -rw-rw-r-- 1 jenkins jenkins 9417 Jun 12 17:52 Attribution.txt 17:54:16 -rw-rw-r-- 1 jenkins jenkins 17522 Jun 12 17:52 CHANGELOG.md 17:54:16 -rw-rw-r-- 1 jenkins jenkins 1689 Jun 12 17:52 Dockerfile 17:54:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:52 GOVERNANCE.md 17:54:16 -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 17:52 Jenkinsfile 17:54:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:52 LICENSE 17:54:16 -rw-rw-r-- 1 jenkins jenkins 1732 Jun 12 17:52 Makefile 17:54:16 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 17:52 OWNERS.md 17:54:16 -rw-rw-r-- 1 jenkins jenkins 3695 Jun 12 17:52 README.md 17:54:16 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:52 VERSION 17:54:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:52 bin 17:54:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:52 cmd 17:54:16 -rw-r--r-- 1 jenkins jenkins 18506 Jun 12 17:54 coverage.out 17:54:16 -rw-rw-r-- 1 jenkins jenkins 3285 Jun 12 17:52 go.mod 17:54:16 -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 17:52 go.sum 17:54:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:52 internal 17:54:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:52 mock 17:54:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:52 snap 17:54:16 -rw-rw-r-- 1 jenkins jenkins 227 Jun 12 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:17 + 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=504ae262e254dce13e9a69f67e2e26f1d4ba9dab --label arch=amd64 --label version=3.1.0-dev.1 . 17:54:17 Sending build context to Docker daemon 6.461MB 17:54:17 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 17:54:17 Step 2/24 : FROM ${BASE} AS builder 17:54:17 ---> 5291b0af56ef 17:54:17 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:54:17 ---> Running in 3c67a12513f5 17:54:17 Removing intermediate container 3c67a12513f5 17:54:17 ---> ae42480ab80b 17:54:17 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:17 ---> Running in 123657a596d5 17:54:17 Removing intermediate container 123657a596d5 17:54:17 ---> 8db1250cad98 17:54:17 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:54:17 ---> Running in ea4a80a74ce7 17:54:17 Removing intermediate container ea4a80a74ce7 17:54:17 ---> 6d64fc3eb72d 17:54:17 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:54:17 ---> Running in fab7557839ab 17:54:17 Removing intermediate container fab7557839ab 17:54:17 ---> c2fec3077723 17:54:17 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:17 ---> Running in 576a36963429 17:54:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:54:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:54:18 OK: 269 MiB in 57 packages 17:54:18 Removing intermediate container 576a36963429 17:54:18 ---> eb52456ebdc1 17:54:18 Step 8/24 : WORKDIR /device-mqtt-go 17:54:18 ---> Running in 705cded0ed09 17:54:18 Removing intermediate container 705cded0ed09 17:54:18 ---> 79010b9940af 17:54:18 Step 9/24 : COPY go.mod vendor* ./ 17:54:18 ---> 08552603c44d 17:54:18 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:18 ---> Running in bc6c1c47d1bf 17:54:19 Removing intermediate container bc6c1c47d1bf 17:54:19 ---> 9f2cad8a0ccc 17:54:19 Step 11/24 : COPY . . 17:54:20 ---> 7528148a3464 17:54:20 Step 12/24 : RUN $MAKE 17:54:20 ---> Running in 74e081fa2a16 17:54:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 17:54:38 Removing intermediate container 74e081fa2a16 17:54:38 ---> e496aea90418 17:54:38 Step 13/24 : FROM alpine:3.17 17:54:38 3.17: Pulling from library/alpine 17:54:38 f56be85fc22e: Already exists 17:54:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:54:38 Status: Downloaded newer image for alpine:3.17 17:54:38 ---> 9ed4aefc74f6 17:54:38 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:54:38 ---> Running in c8d220617988 17:54:38 Removing intermediate container c8d220617988 17:54:38 ---> 6b2950505731 17:54:38 Step 15/24 : RUN apk add --update --no-cache dumb-init 17:54:38 ---> Running in b6226408dece 17:54:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:54:39 (1/1) Installing dumb-init (1.2.5-r2) 17:54:39 Executing busybox-1.35.0-r29.trigger 17:54:39 OK: 7 MiB in 16 packages 17:54:39 Removing intermediate container b6226408dece 17:54:39 ---> 17c5dcec295e 17:54:39 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:54:40 ---> 6f49dea908b0 17:54:40 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:54:40 ---> 29f9bfe14c38 17:54:40 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:54:40 ---> a67561ad96f4 17:54:40 Step 19/24 : EXPOSE 59982 17:54:40 ---> Running in d9b796dd1805 17:54:40 Removing intermediate container d9b796dd1805 17:54:40 ---> 0896a3b9f3c7 17:54:40 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:54:40 ---> Running in c304101f3d4d 17:54:40 Removing intermediate container c304101f3d4d 17:54:40 ---> 3fa3e345e5af 17:54:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:54:40 ---> Running in f8c9ae00292b 17:54:40 Removing intermediate container f8c9ae00292b 17:54:40 ---> b7b3fb28bf09 17:54:40 Step 22/24 : LABEL arch=amd64 17:54:40 ---> Running in 7e9b9492140e 17:54:41 Removing intermediate container 7e9b9492140e 17:54:41 ---> b2ff73522515 17:54:41 Step 23/24 : LABEL git_sha=504ae262e254dce13e9a69f67e2e26f1d4ba9dab 17:54:41 ---> Running in 3c9313cf5e3e 17:54:41 Removing intermediate container 3c9313cf5e3e 17:54:41 ---> dc47ef2d9d9a 17:54:41 Step 24/24 : LABEL version=3.1.0-dev.1 17:54:41 ---> Running in d8c36475d757 17:54:41 Removing intermediate container d8c36475d757 17:54:41 ---> c42cb282bd7c 17:54:41 [Warning] One or more build-args [ARCH] were not consumed 17:54:41 Successfully built c42cb282bd7c 17:54:41 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:41 provisioning config files... 17:54:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8024623565313498679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:41 ---> docker-login.sh 17:54:41 nexus3.edgexfoundry.org:10001 17:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:41 Configure a credential helper to remove this warning. See 17:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:41 17:54:41 Login Succeeded 17:54:41 nexus3.edgexfoundry.org:10002 17:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:41 Configure a credential helper to remove this warning. See 17:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:41 17:54:41 Login Succeeded 17:54:41 nexus3.edgexfoundry.org:10003 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 nexus3.edgexfoundry.org:10004 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 docker.io 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 ---> docker-login.sh ends [Pipeline] } 17:54:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:54:42 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 17:54:42 504ae262e254dce13e9a69f67e2e26f1d4ba9dab 17:54:42 latest 17:54:42 3.1.0-dev.1 17:54:42 504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 17:54:42 main 17:54:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:42 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab 17:54:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:43 39fd120f0a5f: Preparing 17:54:43 6abb2d02ffbd: Preparing 17:54:43 1dc2716c0a1a: Preparing 17:54:43 7738053558e4: Preparing 17:54:43 f1417ff83b31: Preparing 17:54:43 f1417ff83b31: Layer already exists 17:54:43 7738053558e4: Pushed 17:54:43 39fd120f0a5f: Pushed 17:54:43 6abb2d02ffbd: Pushed 17:54:45 1dc2716c0a1a: Pushed 17:54:45 504ae262e254dce13e9a69f67e2e26f1d4ba9dab: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:54:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:46 39fd120f0a5f: Preparing 17:54:46 6abb2d02ffbd: Preparing 17:54:46 1dc2716c0a1a: Preparing 17:54:46 7738053558e4: Preparing 17:54:46 f1417ff83b31: Preparing 17:54:46 7738053558e4: Layer already exists 17:54:46 f1417ff83b31: Layer already exists 17:54:46 6abb2d02ffbd: Layer already exists 17:54:46 1dc2716c0a1a: Layer already exists 17:54:46 39fd120f0a5f: Layer already exists 17:54:46 latest: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:46 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.1 17:54:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:46 39fd120f0a5f: Preparing 17:54:46 6abb2d02ffbd: Preparing 17:54:46 1dc2716c0a1a: Preparing 17:54:46 7738053558e4: Preparing 17:54:46 f1417ff83b31: Preparing 17:54:46 6abb2d02ffbd: Layer already exists 17:54:46 f1417ff83b31: Layer already exists 17:54:46 39fd120f0a5f: Layer already exists 17:54:46 1dc2716c0a1a: Layer already exists 17:54:46 7738053558e4: Layer already exists 17:54:46 3.1.0-dev.1: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 17:54:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:47 39fd120f0a5f: Preparing 17:54:47 6abb2d02ffbd: Preparing 17:54:47 1dc2716c0a1a: Preparing 17:54:47 7738053558e4: Preparing 17:54:47 f1417ff83b31: Preparing 17:54:47 f1417ff83b31: Layer already exists 17:54:47 39fd120f0a5f: Layer already exists 17:54:47 6abb2d02ffbd: Layer already exists 17:54:47 7738053558e4: Layer already exists 17:54:47 1dc2716c0a1a: Layer already exists 17:54:47 504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 17:54:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:48 39fd120f0a5f: Preparing 17:54:48 6abb2d02ffbd: Preparing 17:54:48 1dc2716c0a1a: Preparing 17:54:48 7738053558e4: Preparing 17:54:48 f1417ff83b31: Preparing 17:54:48 6abb2d02ffbd: Layer already exists 17:54:48 39fd120f0a5f: Layer already exists 17:54:48 7738053558e4: Layer already exists 17:54:48 f1417ff83b31: Layer already exists 17:54:48 1dc2716c0a1a: Layer already exists 17:54:48 main: digest: sha256:5f26f417c8a36c4f4eb1c2c54df40768704710d3f968f04487f32d49174991c5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:54:48 ===================================================== [Pipeline] echo 17:54:48 taggedImages: 17:54:48 - nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab 17:54:48 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:54:48 - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.1 17:54:48 - nexus3.edgexfoundry.org:10004/device-mqtt:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 17:54:48 - 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 17:54:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:48 17:54:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:48 latest: Pulling from edgex-lftools-log-publisher 17:54:48 5eb5b503b376: Pulling fs layer 17:54:48 5c69ac0246d0: Pulling fs layer 17:54:48 ec43610c2a17: Pulling fs layer 17:54:48 3a2ae6a8a46f: Pulling fs layer 17:54:48 33b1e0a273af: Pulling fs layer 17:54:48 5d3b04190fa2: Pulling fs layer 17:54:48 2f39f015ded8: Pulling fs layer 17:54:48 3a2ae6a8a46f: Waiting 17:54:48 33b1e0a273af: Waiting 17:54:48 5d3b04190fa2: Waiting 17:54:48 2f39f015ded8: Waiting 17:54:49 5c69ac0246d0: Download complete 17:54:49 3a2ae6a8a46f: Verifying Checksum 17:54:49 3a2ae6a8a46f: Download complete 17:54:49 33b1e0a273af: Verifying Checksum 17:54:49 33b1e0a273af: Download complete 17:54:49 5d3b04190fa2: Verifying Checksum 17:54:49 5d3b04190fa2: Download complete 17:54:49 ec43610c2a17: Verifying Checksum 17:54:49 ec43610c2a17: Download complete 17:54:49 5eb5b503b376: Verifying Checksum 17:54:49 5eb5b503b376: Download complete 17:54:49 2f39f015ded8: Download complete 17:54:50 5eb5b503b376: Pull complete 17:54:50 5c69ac0246d0: Pull complete 17:54:50 ec43610c2a17: Pull complete 17:54:50 3a2ae6a8a46f: Pull complete 17:54:51 33b1e0a273af: Pull complete 17:54:51 5d3b04190fa2: Pull complete 17:54:55 2f39f015ded8: Pull complete 17:54:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:55 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 17:54:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:54:59 $ docker top 97ac5c43e9eded4ff2f43c46d5334668b0e144a37299b763664c40ca3423a5eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:59 ---> job-cost.sh 17:54:59 lf-activate-venv: SKIPPING 17:54:59 INFO: No Stack... 17:55:00 INFO: Retrieving Pricing Info for: v3-standard-8 17:55:00 INFO: Archiving Costs [Pipeline] sh 17:55:01 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 17:55:01 + cut -d, -f6 [Pipeline] lock 17:55:01 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] 17:55:01 Resource [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] did not exist. Created. 17:55:01 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:55:01 + echo total: 0.2199999988079071 [Pipeline] stash 17:55:01 Stashed 1 file(s) [Pipeline] } 17:55:01 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } 17:55:01 $ docker stop --time=1 97ac5c43e9eded4ff2f43c46d5334668b0e144a37299b763664c40ca3423a5eb 17:55:02 $ docker rm -f --volumes 97ac5c43e9eded4ff2f43c46d5334668b0e144a37299b763664c40ca3423a5eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:56:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18472 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 17:56:03 Running in /w/workspace/device-mqtt-go/129 [Pipeline] { [Pipeline] checkout 17:56:03 Selected Git installation does not exist. Using Default 17:56:03 The recommended git tool is: NONE 17:56:09 using credential edgex-jenkins-ssh 17:56:09 Cloning the remote Git repository 17:56:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:56:09 > git init /w/workspace/device-mqtt-go/129 # timeout=10 17:56:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:56:09 > git --version # timeout=10 17:56:10 > git --version # 'git version 2.25.1' 17:56:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:56:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:12 Avoid second fetch 17:56:12 Checking out Revision 504ae262e254dce13e9a69f67e2e26f1d4ba9dab (main) 17:56:13 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#613)" 17:56:12 > git config core.sparsecheckout # timeout=10 17:56:12 > git checkout -f 504ae262e254dce13e9a69f67e2e26f1d4ba9dab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:56:14 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:14 Dload Upload Total Spent Left Speed 17:56:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 17:56:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:56:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:56:14 + sudo tee /etc/docker/daemon.new 17:56:14 { 17:56:14 "registry-mirrors": [ 17:56:14 "https://nexus3.edgexfoundry.org:10001" 17:56:14 ], 17:56:14 "bip": "10.250.0.254/24", 17:56:14 "hosts": [ 17:56:14 "tcp://0.0.0.0:5555", 17:56:14 "unix:///var/run/docker.sock" 17:56:14 ], 17:56:14 "mtu": 1458, 17:56:14 "selinux-enabled": true, 17:56:14 "seccomp-profile": "/etc/docker/seccomp.json" 17:56:14 } [Pipeline] sh 17:56:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:56:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:56:34 provisioning config files... 17:56:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/129@tmp/config12846959435340769899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:34 ---> docker-login.sh 17:56:34 nexus3.edgexfoundry.org:10001 17:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:35 Configure a credential helper to remove this warning. See 17:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:35 17:56:35 Login Succeeded 17:56:35 nexus3.edgexfoundry.org:10002 17:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:35 Configure a credential helper to remove this warning. See 17:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:35 17:56:35 Login Succeeded 17:56:35 nexus3.edgexfoundry.org:10003 17:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:36 Configure a credential helper to remove this warning. See 17:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:36 17:56:36 Login Succeeded 17:56:36 nexus3.edgexfoundry.org:10004 17:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:36 Configure a credential helper to remove this warning. See 17:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:36 17:56:36 Login Succeeded 17:56:36 docker.io 17:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:36 Configure a credential helper to remove this warning. See 17:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:36 17:56:36 Login Succeeded 17:56:37 ---> docker-login.sh ends [Pipeline] } 17:56:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:56:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:37 ========================================================= 17:56:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:56:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:56:38 Sending build context to Docker daemon 3.317MB 17:56:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:56:38 Step 2/12 : FROM ${BASE} AS builder 17:56:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:56:39 c41833b44d91: Pulling fs layer 17:56:39 ed15518f5707: Pulling fs layer 17:56:39 feae8fd75edb: Pulling fs layer 17:56:39 242c74f7c9fa: Pulling fs layer 17:56:39 3cdef696dda3: Pulling fs layer 17:56:39 2ced38df9373: Pulling fs layer 17:56:39 58f1dce35555: Pulling fs layer 17:56:39 3cdef696dda3: Waiting 17:56:39 2ced38df9373: Waiting 17:56:39 58f1dce35555: Waiting 17:56:39 242c74f7c9fa: Waiting 17:56:39 ed15518f5707: Verifying Checksum 17:56:39 ed15518f5707: Download complete 17:56:39 242c74f7c9fa: Verifying Checksum 17:56:39 242c74f7c9fa: Download complete 17:56:39 3cdef696dda3: Verifying Checksum 17:56:39 3cdef696dda3: Download complete 17:56:39 c41833b44d91: Verifying Checksum 17:56:39 c41833b44d91: Download complete 17:56:40 c41833b44d91: Pull complete 17:56:41 58f1dce35555: Verifying Checksum 17:56:41 58f1dce35555: Download complete 17:56:41 ed15518f5707: Pull complete 17:56:42 feae8fd75edb: Download complete 17:56:42 2ced38df9373: Verifying Checksum 17:56:42 2ced38df9373: Download complete 17:56:54 feae8fd75edb: Pull complete 17:56:54 242c74f7c9fa: Pull complete 17:56:54 3cdef696dda3: Pull complete 17:57:01 2ced38df9373: Pull complete 17:57:04 58f1dce35555: Pull complete 17:57:04 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:57:04 ---> fadd8f120f05 17:57:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:57:05 ---> Running in f516cf3da12c 17:57:06 Removing intermediate container f516cf3da12c 17:57:06 ---> c4d59cbff6d7 17:57:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:06 ---> Running in d271e2a3c00a 17:57:06 Removing intermediate container d271e2a3c00a 17:57:06 ---> 0e9873187215 17:57:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:57:06 ---> Running in 2e8d3ce5b563 17:57:07 Removing intermediate container 2e8d3ce5b563 17:57:07 ---> e58c37ca7a5e 17:57:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:57:07 ---> Running in 7a9edf244dd8 17:57:07 Removing intermediate container 7a9edf244dd8 17:57:07 ---> fec1f6fbc76e 17:57:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:07 ---> Running in abbeb9ad790f 17:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:57:11 (1/4) Installing openssh-keygen (9.1_p1-r3) 17:57:11 (2/4) Installing libedit (20221030.3.1-r0) 17:57:11 (3/4) Installing openssh-client-common (9.1_p1-r3) 17:57:11 (4/4) Installing openssh-client-default (9.1_p1-r3) 17:57:11 Executing busybox-1.35.0-r29.trigger 17:57:11 OK: 268 MiB in 57 packages 17:57:12 Removing intermediate container abbeb9ad790f 17:57:12 ---> d7596838d69e 17:57:12 Step 8/12 : WORKDIR /device-mqtt-go 17:57:13 ---> Running in 1735c42f83a0 17:57:13 Removing intermediate container 1735c42f83a0 17:57:13 ---> f0a332d142ab 17:57:13 Step 9/12 : COPY go.mod vendor* ./ 17:57:13 ---> fd270cfdaac5 17:57:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:14 ---> Running in 066b7e34f23d 17:58:22 Removing intermediate container 066b7e34f23d 17:58:22 ---> 1dfdc311725d 17:58:22 Step 11/12 : COPY . . 17:58:22 ---> 62be5100fdc6 17:58:22 Step 12/12 : RUN $MAKE 17:58:22 ---> Running in 69d7dbb996a0 17:58:22 noop 17:58:22 Removing intermediate container 69d7dbb996a0 17:58:22 ---> a11a77174f32 17:58:22 Successfully built a11a77174f32 17:58:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:22 + docker inspect -f . ci-base-image-arm64 17:58:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:23 prd-ubuntu20.04-docker-arm64-4c-16g-18472 does not seem to be running inside a container 17:58:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/129 -v /w/workspace/device-mqtt-go/129:/w/workspace/device-mqtt-go/129:rw,z -v /w/workspace/device-mqtt-go/129@tmp:/w/workspace/device-mqtt-go/129@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 17:58:24 $ docker top 8ad7ddbdaba0daf3d95b0987acae3f552b8e291605d1f46006603a6a9a8016f1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:25 + go version 17:58:25 go version go1.20.2 linux/arm64 [Pipeline] } 17:58:25 $ docker stop --time=1 8ad7ddbdaba0daf3d95b0987acae3f552b8e291605d1f46006603a6a9a8016f1 17:58:27 $ docker rm -f --volumes 8ad7ddbdaba0daf3d95b0987acae3f552b8e291605d1f46006603a6a9a8016f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:27 + docker inspect -f . ci-base-image-arm64 17:58:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:27 prd-ubuntu20.04-docker-arm64-4c-16g-18472 does not seem to be running inside a container 17:58:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/129 -v /w/workspace/device-mqtt-go/129:/w/workspace/device-mqtt-go/129:rw,z -v /w/workspace/device-mqtt-go/129@tmp:/w/workspace/device-mqtt-go/129@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 17:58:29 $ docker top 6a0e85cf0c22a97c0737774ab14ca7f6c8e87bcbbfc93cf7063f2363678ffd17 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:30 + git config --global --add safe.directory /w/workspace/device-mqtt-go/129 [Pipeline] fileExists [Pipeline] sh 17:58:30 + make test 17:58:30 go test ./... -coverprofile=coverage.out ./... 17:59:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:01:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:01:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:01:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 22.8% of statements 18:01:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:01:46 go vet ./... 18:02:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:02:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:02:13 ./bin/test-attribution-txt.sh [Pipeline] echo 18:02:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:02:13 $ docker stop --time=1 6a0e85cf0c22a97c0737774ab14ca7f6c8e87bcbbfc93cf7063f2363678ffd17 18:02:15 $ docker rm -f --volumes 6a0e85cf0c22a97c0737774ab14ca7f6c8e87bcbbfc93cf7063f2363678ffd17 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:02:16 Warning: overwriting stash ‘coverage-report’ 18:02:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:02:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:02:17 + ls -al . 18:02:17 total 180 18:02:17 drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 17:58 . 18:02:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:56 .. 18:02:17 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:56 .dockerignore 18:02:17 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:56 .git 18:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 .github 18:02:17 -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 17:56 .gitignore 18:02:17 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:56 .golangci.yml 18:02:17 -rw-rw-r-- 1 jenkins jenkins 9417 Jun 12 17:56 Attribution.txt 18:02:17 -rw-rw-r-- 1 jenkins jenkins 17522 Jun 12 17:56 CHANGELOG.md 18:02:17 -rw-rw-r-- 1 jenkins jenkins 1689 Jun 12 17:56 Dockerfile 18:02:17 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:56 GOVERNANCE.md 18:02:17 -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 17:56 Jenkinsfile 18:02:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:56 LICENSE 18:02:17 -rw-rw-r-- 1 jenkins jenkins 1732 Jun 12 17:56 Makefile 18:02:17 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 17:56 OWNERS.md 18:02:17 -rw-rw-r-- 1 jenkins jenkins 3695 Jun 12 17:56 README.md 18:02:17 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:52 VERSION 18:02:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:56 bin 18:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 cmd 18:02:17 -rw-r--r-- 1 jenkins jenkins 18506 Jun 12 18:01 coverage.out 18:02:17 -rw-rw-r-- 1 jenkins jenkins 3285 Jun 12 17:56 go.mod 18:02:17 -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 17:56 go.sum 18:02:17 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 internal 18:02:17 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:56 mock 18:02:17 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:56 snap 18:02:17 -rw-rw-r-- 1 jenkins jenkins 227 Jun 12 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:18 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=504ae262e254dce13e9a69f67e2e26f1d4ba9dab --label arch=arm64 --label version=3.1.0-dev.1 . 18:02:18 Sending build context to Docker daemon 3.337MB 18:02:18 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 18:02:18 Step 2/24 : FROM ${BASE} AS builder 18:02:18 ---> a11a77174f32 18:02:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:02:18 ---> Running in 848b6aaca756 18:02:19 Removing intermediate container 848b6aaca756 18:02:19 ---> ab8b3e017370 18:02:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:02:19 ---> Running in d64df93808f3 18:02:19 Removing intermediate container d64df93808f3 18:02:19 ---> 629ff0bd85e2 18:02:19 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:02:19 ---> Running in 9d7955012f1e 18:02:19 Removing intermediate container 9d7955012f1e 18:02:19 ---> fe1ca2ed29f9 18:02:19 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:02:19 ---> Running in 8f505defc0a4 18:02:20 Removing intermediate container 8f505defc0a4 18:02:20 ---> b00a8237dd25 18:02:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:02:20 ---> Running in 5b6b738c7b99 18:02:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:02:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:02:23 OK: 268 MiB in 57 packages 18:02:24 Removing intermediate container 5b6b738c7b99 18:02:24 ---> bedcf22c8710 18:02:24 Step 8/24 : WORKDIR /device-mqtt-go 18:02:24 ---> Running in e462f6a25ffa 18:02:25 Removing intermediate container e462f6a25ffa 18:02:25 ---> 2de905e185c1 18:02:25 Step 9/24 : COPY go.mod vendor* ./ 18:02:25 ---> 36b5765a704e 18:02:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:02:25 ---> Running in 82c34ece323e 18:02:28 Removing intermediate container 82c34ece323e 18:02:28 ---> 838aeedfc513 18:02:28 Step 11/24 : COPY . . 18:02:29 ---> b12847a16419 18:02:29 Step 12/24 : RUN $MAKE 18:02:29 ---> Running in f8660804eff9 18:02:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:05:07 Removing intermediate container f8660804eff9 18:05:07 ---> 42e34f623ffd 18:05:07 Step 13/24 : FROM alpine:3.17 18:05:07 3.17: Pulling from library/alpine 18:05:07 c41833b44d91: Already exists 18:05:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:05:07 Status: Downloaded newer image for alpine:3.17 18:05:07 ---> 51e60588ff2c 18:05:07 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:05:07 ---> Running in 591b6932fef0 18:05:07 Removing intermediate container 591b6932fef0 18:05:07 ---> f704543af564 18:05:07 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:05:07 ---> Running in 7e4c6b958612 18:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:05:07 (1/1) Installing dumb-init (1.2.5-r2) 18:05:07 Executing busybox-1.35.0-r29.trigger 18:05:07 OK: 8 MiB in 16 packages 18:05:07 Removing intermediate container 7e4c6b958612 18:05:07 ---> 4ec3da2f6351 18:05:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:05:07 ---> c64220021819 18:05:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:05:07 ---> de40b7dd9fcb 18:05:07 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:05:08 ---> 2119765d4c36 18:05:08 Step 19/24 : EXPOSE 59982 18:05:08 ---> Running in 513eab5323a6 18:05:08 Removing intermediate container 513eab5323a6 18:05:08 ---> cfbb6806ddd1 18:05:08 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:05:08 ---> Running in 2b5ade54b06f 18:05:08 Removing intermediate container 2b5ade54b06f 18:05:08 ---> 78294c7d5962 18:05:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:05:08 ---> Running in 7e9fa250e39a 18:05:09 Removing intermediate container 7e9fa250e39a 18:05:09 ---> d5853c5b5c5f 18:05:09 Step 22/24 : LABEL arch=arm64 18:05:09 ---> Running in 94e3d32938cd 18:05:09 Removing intermediate container 94e3d32938cd 18:05:09 ---> f58679b2a213 18:05:09 Step 23/24 : LABEL git_sha=504ae262e254dce13e9a69f67e2e26f1d4ba9dab 18:05:10 ---> Running in 34a1685eb42d 18:05:10 Removing intermediate container 34a1685eb42d 18:05:10 ---> 374fe7d25209 18:05:10 Step 24/24 : LABEL version=3.1.0-dev.1 18:05:10 ---> Running in ae4d262ad944 18:05:10 Removing intermediate container ae4d262ad944 18:05:10 ---> 288af6894f09 18:05:10 [Warning] One or more build-args [ARCH] were not consumed 18:05:10 Successfully built 288af6894f09 18:05:10 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 18:05:10 provisioning config files... 18:05:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/129@tmp/config10909725238625368246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:11 ---> docker-login.sh 18:05:11 nexus3.edgexfoundry.org:10001 18:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:11 Configure a credential helper to remove this warning. See 18:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:11 18:05:11 Login Succeeded 18:05:11 nexus3.edgexfoundry.org:10002 18:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:11 Configure a credential helper to remove this warning. See 18:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:11 18:05:11 Login Succeeded 18:05:11 nexus3.edgexfoundry.org:10003 18:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:12 Configure a credential helper to remove this warning. See 18:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:12 18:05:12 Login Succeeded 18:05:12 nexus3.edgexfoundry.org:10004 18:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:12 Configure a credential helper to remove this warning. See 18:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:12 18:05:12 Login Succeeded 18:05:12 docker.io 18:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:13 Configure a credential helper to remove this warning. See 18:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:13 18:05:13 Login Succeeded 18:05:13 ---> docker-login.sh ends [Pipeline] } 18:05:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:13 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 18:05:13 504ae262e254dce13e9a69f67e2e26f1d4ba9dab 18:05:13 latest 18:05:13 3.1.0-dev.1 18:05:13 504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 18:05:13 main 18:05:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab 18:05:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:05:14 753617abe322: Preparing 18:05:14 aa3115f47e8e: Preparing 18:05:14 6be4bcb3f027: Preparing 18:05:14 bd4cb2ded560: Preparing 18:05:14 26cbea5cba74: Preparing 18:05:14 26cbea5cba74: Layer already exists 18:05:14 753617abe322: Pushed 18:05:14 aa3115f47e8e: Pushed 18:05:14 bd4cb2ded560: Pushed 18:05:19 6be4bcb3f027: Pushed 18:05:19 504ae262e254dce13e9a69f67e2e26f1d4ba9dab: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:20 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:05:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:05:20 753617abe322: Preparing 18:05:20 aa3115f47e8e: Preparing 18:05:20 6be4bcb3f027: Preparing 18:05:20 bd4cb2ded560: Preparing 18:05:20 26cbea5cba74: Preparing 18:05:20 26cbea5cba74: Layer already exists 18:05:20 bd4cb2ded560: Layer already exists 18:05:20 aa3115f47e8e: Layer already exists 18:05:20 753617abe322: Layer already exists 18:05:20 6be4bcb3f027: Layer already exists 18:05:20 latest: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.1 18:05:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:05:21 753617abe322: Preparing 18:05:21 aa3115f47e8e: Preparing 18:05:21 6be4bcb3f027: Preparing 18:05:21 bd4cb2ded560: Preparing 18:05:21 26cbea5cba74: Preparing 18:05:21 26cbea5cba74: Layer already exists 18:05:21 6be4bcb3f027: Layer already exists 18:05:21 aa3115f47e8e: Layer already exists 18:05:21 753617abe322: Layer already exists 18:05:21 bd4cb2ded560: Layer already exists 18:05:21 3.1.0-dev.1: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 18:05:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:05:22 753617abe322: Preparing 18:05:22 aa3115f47e8e: Preparing 18:05:22 6be4bcb3f027: Preparing 18:05:22 bd4cb2ded560: Preparing 18:05:22 26cbea5cba74: Preparing 18:05:22 26cbea5cba74: Layer already exists 18:05:22 6be4bcb3f027: Layer already exists 18:05:22 753617abe322: Layer already exists 18:05:22 bd4cb2ded560: Layer already exists 18:05:22 aa3115f47e8e: Layer already exists 18:05:22 504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:22 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 18:05:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:05:23 753617abe322: Preparing 18:05:23 aa3115f47e8e: Preparing 18:05:23 6be4bcb3f027: Preparing 18:05:23 bd4cb2ded560: Preparing 18:05:23 26cbea5cba74: Preparing 18:05:23 753617abe322: Layer already exists 18:05:23 26cbea5cba74: Layer already exists 18:05:23 6be4bcb3f027: Layer already exists 18:05:23 bd4cb2ded560: Layer already exists 18:05:23 aa3115f47e8e: Layer already exists 18:05:23 main: digest: sha256:6dca81cc06b6be4a45a48899acce5c281b130744b4b3827a6b2f53663f2b9374 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:05:23 ===================================================== [Pipeline] echo 18:05:23 taggedImages: 18:05:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab 18:05:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:05:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.1 18:05:23 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:504ae262e254dce13e9a69f67e2e26f1d4ba9dab-3.1.0-dev.1 18:05:23 - 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 18:05:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:05:23 18:05:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:05:25 arm64: Pulling from edgex-lftools-log-publisher 18:05:25 8998bd30e6a1: Pulling fs layer 18:05:25 04944245beec: Pulling fs layer 18:05:25 699f458cf7ca: Pulling fs layer 18:05:25 765212b225bb: Pulling fs layer 18:05:25 f23df028b6ca: Pulling fs layer 18:05:25 d65c8cfc05b1: Pulling fs layer 18:05:25 2437ff75d9bd: Pulling fs layer 18:05:25 f23df028b6ca: Waiting 18:05:25 d65c8cfc05b1: Waiting 18:05:25 2437ff75d9bd: Waiting 18:05:25 04944245beec: Verifying Checksum 18:05:25 04944245beec: Download complete 18:05:25 765212b225bb: Verifying Checksum 18:05:25 765212b225bb: Download complete 18:05:25 f23df028b6ca: Verifying Checksum 18:05:25 f23df028b6ca: Download complete 18:05:25 d65c8cfc05b1: Verifying Checksum 18:05:25 d65c8cfc05b1: Download complete 18:05:25 699f458cf7ca: Verifying Checksum 18:05:25 699f458cf7ca: Download complete 18:05:26 8998bd30e6a1: Verifying Checksum 18:05:26 8998bd30e6a1: Download complete 18:05:28 2437ff75d9bd: Verifying Checksum 18:05:28 2437ff75d9bd: Download complete 18:05:30 8998bd30e6a1: Pull complete 18:05:30 04944245beec: Pull complete 18:05:31 699f458cf7ca: Pull complete 18:05:32 765212b225bb: Pull complete 18:05:32 f23df028b6ca: Pull complete 18:05:33 d65c8cfc05b1: Pull complete 18:05:48 2437ff75d9bd: Pull complete 18:05:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:05:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:05:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:48 prd-ubuntu20.04-docker-arm64-4c-16g-18472 does not seem to be running inside a container 18:05:48 $ 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/129 -v /w/workspace/device-mqtt-go/129:/w/workspace/device-mqtt-go/129:rw,z -v /w/workspace/device-mqtt-go/129@tmp:/w/workspace/device-mqtt-go/129@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 18:05:51 $ docker top b1c115632407617428eb61bcb9a6324a5eb99020acf6b0b8f6fedcf8b7d5bcb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:52 ---> job-cost.sh 18:05:52 lf-activate-venv: SKIPPING 18:05:52 INFO: No Stack... 18:05:52 INFO: Retrieving Pricing Info for: v3-standard-4 18:05:53 INFO: Archiving Costs [Pipeline] sh 18:05:53 + + catcut /w/workspace/device-mqtt-go/129/archives/cost.csv -d, 18:05:53 -f6 [Pipeline] lock 18:05:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] 18:05:53 Resource [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] did not exist. Created. 18:05:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:05:54 /w/workspace/device-mqtt-go/129@tmp/durable-032ee939/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:05:55 + echo total: 0.10999999940395355 [Pipeline] stash 18:05:55 Warning: overwriting stash ‘stack-cost’ 18:05:55 Stashed 1 file(s) [Pipeline] } 18:05:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } 18:05:55 $ docker stop --time=1 b1c115632407617428eb61bcb9a6324a5eb99020acf6b0b8f6fedcf8b7d5bcb6 18:05:56 $ docker rm -f --volumes b1c115632407617428eb61bcb9a6324a5eb99020acf6b0b8f6fedcf8b7d5bcb6 [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 18:05:57 provisioning config files... 18:05:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12779545962114524872tmp [Pipeline] { [Pipeline] sh 18:05:57 + set +x 18:05:57 + curl -s https://codecov.io/bash 18:05:57 + bash -s -- 18:05:57 18:05:57 _____ _ 18:05:57 / ____| | | 18:05:57 | | ___ __| | ___ ___ _____ __ 18:05:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:05:57 | |___| (_) | (_| | __/ (_| (_) \ V / 18:05:57 \_____\___/ \__,_|\___|\___\___/ \_/ 18:05:57 Bash-1.0.6 18:05:57 18:05:57 18:05:57 ==> git version 2.25.1 found 18:05:57 ==> 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 18:05:57 Release-Date: 2020-01-08 18:05:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:05:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:05:57 ==> Jenkins CI detected. 18:05:57 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 18:05:57 project root: . 18:05:57 --> token set from env 18:05:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:05:57 ==> Running gcov in . (disable via -X gcov) 18:05:57 ==> Python coveragepy not found 18:05:57 ==> Searching for coverage reports in: 18:05:57 + . 18:05:57 -> Found 1 reports 18:05:57 ==> Detecting git/mercurial file structure 18:05:57 ==> Reading reports 18:05:57 + ./coverage.out bytes=18506 18:05:57 ==> Appending adjustments 18:05:57 https://docs.codecov.io/docs/fixing-reports 18:05:57 + Found adjustments 18:05:57 ==> Gzipping contents 18:05:57 4.0K /tmp/codecov.sdim7i.gz 18:05:57 ==> Uploading reports 18:05:57 url: https://codecov.io 18:05:57 query: branch=main&commit=504ae262e254dce13e9a69f67e2e26f1d4ba9dab&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:05:57 -> Pinging Codecov 18:05:57 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=504ae262e254dce13e9a69f67e2e26f1d4ba9dab&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:05:58 -> Uploading to 18:05:58 https://storage.googleapis.com/codecov/v4/raw/2023-06-12/7D719EC7BBE17E464838252E33014C33/504ae262e254dce13e9a69f67e2e26f1d4ba9dab/a7f57024-96b7-4917-9c48-940c075f8e28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T180557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=abc5eb67f91536974bfd764646946f1c6bebbf0d8cbd5aa43308a84893ffdc9c 18:05:58 % Total % Received % Xferd Average Speed Time Time Time Current 18:05:58 Dload Upload Total Spent Left Speed 18:05:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17306 --:--:-- --:--:-- --:--:-- 17306 18:05:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] } 18:05:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:05:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:05:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:05:58 18:05:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:05:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:05:58 df9b9388f04a: Pulling fs layer 18:05:58 52dc419b0ee2: Pulling fs layer 18:05:58 25bc292e5bac: Pulling fs layer 18:05:58 114826534d7a: Pulling fs layer 18:05:58 4657fd5d0bcf: Pulling fs layer 18:05:58 6ad1cebc031e: Pulling fs layer 18:05:58 8a3aa393b2d8: Pulling fs layer 18:05:58 4657fd5d0bcf: Waiting 18:05:58 6ad1cebc031e: Waiting 18:05:58 8a3aa393b2d8: Waiting 18:05:58 114826534d7a: Waiting 18:05:58 25bc292e5bac: Verifying Checksum 18:05:58 25bc292e5bac: Download complete 18:05:58 52dc419b0ee2: Verifying Checksum 18:05:58 52dc419b0ee2: Download complete 18:05:58 4657fd5d0bcf: Download complete 18:05:58 df9b9388f04a: Verifying Checksum 18:05:58 df9b9388f04a: Download complete 18:05:59 6ad1cebc031e: Verifying Checksum 18:05:59 6ad1cebc031e: Download complete 18:05:59 df9b9388f04a: Pull complete 18:05:59 52dc419b0ee2: Pull complete 18:05:59 25bc292e5bac: Pull complete 18:05:59 114826534d7a: Download complete 18:05:59 8a3aa393b2d8: Verifying Checksum 18:05:59 8a3aa393b2d8: Download complete 18:06:02 114826534d7a: Pull complete 18:06:02 4657fd5d0bcf: Pull complete 18:06:03 6ad1cebc031e: Pull complete 18:06:05 8a3aa393b2d8: Pull complete 18:06:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:06:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:06:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:05 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 18:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:06:09 $ docker top 44362f9c52059b9fd304aebef446c8d59fb139b900ddc3d75942de768e9e2949 -eo pid,comm [Pipeline] { [Pipeline] echo 18:06:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 18:06:09 + set -o pipefail 18:06:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 18:06:16 18:06:16 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 18:06:16 18:06:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/999af5cc-d6f6-490b-a6e3-63fe00b3e7c4 18:06:16 18:06:16 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:06:16 18:06:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:06:16 18:06:16 18:06:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:06:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:06:16 More details here: https://snyk.co/ue1NS 18:06:16 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 18:06:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:06:16 $ docker stop --time=1 44362f9c52059b9fd304aebef446c8d59fb139b900ddc3d75942de768e9e2949 18:06:19 $ docker rm -f --volumes 44362f9c52059b9fd304aebef446c8d59fb139b900ddc3d75942de768e9e2949 [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 18:06:20 + git log --format=format:%s -1 504ae262e254dce13e9a69f67e2e26f1d4ba9dab [Pipeline] sh 18:06:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:06:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:21 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 18:06:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:06:21 $ docker top 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e -eo pid,comm 18:06:21 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). 18:06:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:21 [ssh-agent] Looking for ssh-agent implementation... 18:06:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:21 $ docker exec 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e ssh-agent 18:06:21 SSH_AUTH_SOCK=/tmp/ssh-LHAGvTLVQuXc/agent.32 18:06:21 SSH_AGENT_PID=38 18:06:21 Running ssh-add (command line suppressed) 18:06:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9658342036215277012.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9658342036215277012.key) 18:06:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:22 + git semver tag 18:06:22 2023-06-12 18:06:22,277 [run_tag] DEBUG tag force:False 18:06:22 2023-06-12 18:06:22,277 [check_head_tag] DEBUG check head tag 18:06:22 2023-06-12 18:06:22,277 [execute] INFO git cat-file --batch-check 18:06:22 2023-06-12 18:06:22,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 18:06:22 2023-06-12 18:06:22,281 [execute] INFO git cat-file --batch 18:06:22 2023-06-12 18:06:22,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 18:06:22 2023-06-12 18:06:22,289 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:06:22 2023-06-12 18:06:22,289 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 18:06:22 2023-06-12 18:06:22,290 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 18:06:22 2023-06-12 18:06:22,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:06:22 3.1.0-dev.1 [Pipeline] } 18:06:22 $ docker exec --env ******** --env ******** 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e ssh-agent -k 18:06:22 unset SSH_AUTH_SOCK; 18:06:22 unset SSH_AGENT_PID; 18:06:22 echo Agent pid 38 killed; 18:06:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:22 + git semver [Pipeline] } 18:06:23 $ docker stop --time=1 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e 18:06:24 $ docker rm -f --volumes 47f2aeafb7c8ee76ebd2d2e09ae28042f439790497210a41ff1e4cea177ce44e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:06:24 18:06:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:06:24 0.23.1-centos7: Pulling from edgex-lftools 18:06:24 ab5ef0e58194: Pulling fs layer 18:06:24 9712f1f96733: Pulling fs layer 18:06:24 63f879dbbcfc: Pulling fs layer 18:06:24 0d9ebad4ef96: Pulling fs layer 18:06:24 e9a5061849ea: Pulling fs layer 18:06:24 d747dcd14b5f: Pulling fs layer 18:06:24 2de7ff778b66: Pulling fs layer 18:06:24 e9a5061849ea: Waiting 18:06:24 d747dcd14b5f: Waiting 18:06:24 2de7ff778b66: Waiting 18:06:24 0d9ebad4ef96: Waiting 18:06:24 9712f1f96733: Download complete 18:06:25 63f879dbbcfc: Verifying Checksum 18:06:25 63f879dbbcfc: Download complete 18:06:25 e9a5061849ea: Verifying Checksum 18:06:25 e9a5061849ea: Download complete 18:06:25 d747dcd14b5f: Verifying Checksum 18:06:25 d747dcd14b5f: Download complete 18:06:25 ab5ef0e58194: Verifying Checksum 18:06:25 ab5ef0e58194: Download complete 18:06:25 0d9ebad4ef96: Verifying Checksum 18:06:25 0d9ebad4ef96: Download complete 18:06:25 2de7ff778b66: Verifying Checksum 18:06:25 2de7ff778b66: Download complete 18:06:28 ab5ef0e58194: Pull complete 18:06:28 9712f1f96733: Pull complete 18:06:28 63f879dbbcfc: Pull complete 18:06:32 0d9ebad4ef96: Pull complete 18:06:32 e9a5061849ea: Pull complete 18:06:32 d747dcd14b5f: Pull complete 18:06:33 2de7ff778b66: Pull complete 18:06:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:06:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:33 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 18:06:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:06:37 $ docker top 84c2a2a96f66cc145c3669c813622b6bd95ca62b68ba30f19da6a9af82da9926 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:06:37 provisioning config files... 18:06:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1381123329271183607tmp 18:06:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12235916423999162292tmp 18:06:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6343800419765789647tmp [Pipeline] { [Pipeline] echo 18:06:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:06:38 ---> sigul-configuration.sh 18:06:38 gpg: directory `/root/.gnupg' created 18:06:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:06:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:06:38 gpg: keyring `/root/.gnupg/secring.gpg' created 18:06:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:06:38 gpg: CAST5 encrypted data 18:06:38 gpg: encrypted with 1 passphrase 18:06:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:06:38 + mkdir /home/jenkins 18:06:38 + mkdir /home/jenkins/sigul [Pipeline] sh 18:06:38 + 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 18:06:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:06:39 ---> sigul-install.sh 18:06:39 Sigul already installed; skipping installation. [Pipeline] sh 18:06:39 + git tag --list 18:06:39 0.7.1 18:06:39 v1.0.0 18:06:39 v1.1.0 18:06:39 v1.1.1 18:06:39 v1.2.2 18:06:39 v1.3.0 18:06:39 v1.3.1 18:06:39 v2.0.0 18:06:39 v2.1.0 18:06:39 v2.1.1 18:06:39 v2.2.0 18:06:39 v2.3.0 18:06:39 v3.0 18:06:39 v3.0.0 18:06:39 v3.1.0-dev.1 [Pipeline] sh 18:06:39 + lftools sign git-tag v3.1.0-dev.1 18:06:40 Signing Git tag with Sigul... 18:06:40 Signing v3.1.0-dev.1 [Pipeline] echo 18:06:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:06:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:06:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:06:40 $ docker stop --time=1 84c2a2a96f66cc145c3669c813622b6bd95ca62b68ba30f19da6a9af82da9926 18:06:42 $ docker rm -f --volumes 84c2a2a96f66cc145c3669c813622b6bd95ca62b68ba30f19da6a9af82da9926 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:06:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:06:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:42 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 18:06:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:06:43 $ docker top 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b -eo pid,comm 18:06:43 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). 18:06:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:43 [ssh-agent] Looking for ssh-agent implementation... 18:06:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:43 $ docker exec 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b ssh-agent 18:06:43 SSH_AUTH_SOCK=/tmp/ssh-3VSvSlWOEKhC/agent.33 18:06:43 SSH_AGENT_PID=39 18:06:43 Running ssh-add (command line suppressed) 18:06:43 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2741744272613359967.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2741744272613359967.key) 18:06:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:43 + git semver bump pre 18:06:44 2023-06-12 18:06:44,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:06:44 2023-06-12 18:06:44,002 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev 18:06:44 2023-06-12 18:06:44,002 [bump_version] DEBUG bumped version:3.1.0-dev.2 18:06:44 2023-06-12 18:06:44,002 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 18:06:44 2023-06-12 18:06:44,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:06:44 2023-06-12 18:06:44,002 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:06:44 2023-06-12 18:06:44,004 [execute] INFO git cat-file --batch-check 18:06:44 2023-06-12 18:06:44,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:06:44 2023-06-12 18:06:44,010 [execute] INFO git cat-file --batch 18:06:44 2023-06-12 18:06:44,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:06:44 2023-06-12 18:06:44,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:06:44 3.1.0-dev.2 [Pipeline] } 18:06:44 $ docker exec --env ******** --env ******** 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b ssh-agent -k 18:06:44 unset SSH_AUTH_SOCK; 18:06:44 unset SSH_AGENT_PID; 18:06:44 echo Agent pid 39 killed; 18:06:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:44 + git semver [Pipeline] } 18:06:44 $ docker stop --time=1 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b 18:06:46 $ docker rm -f --volumes 7d225bb58791115c4c1a1d7a8c2847075ff53b7347039527a1e1ce5d5f83c52b [Pipeline] // withDockerContainer [Pipeline] sh 18:06:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:06:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:46 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 18:06:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:06:47 $ docker top bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 -eo pid,comm 18:06:47 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). 18:06:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:47 [ssh-agent] Looking for ssh-agent implementation... 18:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:47 $ docker exec bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 ssh-agent 18:06:47 SSH_AUTH_SOCK=/tmp/ssh-ywCfQkQTwp0z/agent.32 18:06:47 SSH_AGENT_PID=38 18:06:47 Running ssh-add (command line suppressed) 18:06:47 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9919338450582383880.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9919338450582383880.key) 18:06:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:47 + git semver push 18:06:48 2023-06-12 18:06:48,042 [run_push] DEBUG push 18:06:48 2023-06-12 18:06:48,043 [execute] INFO git cat-file --batch-check 18:06:48 2023-06-12 18:06:48,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:06:48 2023-06-12 18:06:48,047 [execute] INFO git rev-list d96bb7948286ad22976173f5ac572f28c15cf82f -- 18:06:48 2023-06-12 18:06:48,047 [execute] DEBUG Popen(['git', 'rev-list', 'd96bb7948286ad22976173f5ac572f28c15cf82f', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:06:48 2023-06-12 18:06:48,057 [execute] INFO git fetch -v origin 18:06:48 2023-06-12 18:06:48,057 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:06:48 2023-06-12 18:06:48,528 [run_push] DEBUG no remote changes detected 18:06:48 2023-06-12 18:06:48,528 [execute] INFO git push origin semver 18:06:48 2023-06-12 18:06:48,529 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:06:49 2023-06-12 18:06:49,293 [run_push] DEBUG push all version tags 18:06:49 2023-06-12 18:06:49,294 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:06:49 2023-06-12 18:06:49,294 [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) 18:06:50 2023-06-12 18:06:50,068 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:06:50 3.1.0-dev.2 [Pipeline] } 18:06:50 $ docker exec --env ******** --env ******** bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 ssh-agent -k 18:06:50 unset SSH_AUTH_SOCK; 18:06:50 unset SSH_AGENT_PID; 18:06:50 echo Agent pid 38 killed; 18:06:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:50 + git semver [Pipeline] } 18:06:50 $ docker stop --time=1 bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 18:06:52 $ docker rm -f --volumes bf3f8af830633cb020a928b94b3b3a569720ea87f66305b54119c8fd35058ee2 [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 18:06:52 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 18:06:52 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:06:52 total 16 18:06:52 drwxr-xr-x 3 root root 4096 Jun 12 17:55 . 18:06:52 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:06 .. 18:06:52 drwxr-xr-x 2 root root 4096 Jun 12 17:55 cost 18:06:52 -rw-r--r-- 1 root root 86 Jun 12 17:55 cost.csv 18:06:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:06:52 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:06:52 total 16 18:06:52 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:55 . 18:06:52 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 18:06 .. 18:06:52 drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:55 cost 18:06:52 -rw-r--r-- 1 jenkins jenkins 86 Jun 12 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:06:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:06:53 ---> package-listing.sh 18:06:53 ++ facter osfamily 18:06:53 ++ tr '[:upper:]' '[:lower:]' 18:06:53 + OS_FAMILY=debian 18:06:53 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 18:06:53 + START_PACKAGES=/tmp/packages_start.txt 18:06:53 + END_PACKAGES=/tmp/packages_end.txt 18:06:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:06:53 + PACKAGES=/tmp/packages_start.txt 18:06:53 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:06:53 + PACKAGES=/tmp/packages_end.txt 18:06:53 + case "${OS_FAMILY}" in 18:06:53 + dpkg -l 18:06:53 + grep '^ii' 18:06:54 + '[' -f /tmp/packages_start.txt ']' 18:06:54 + '[' -f /tmp/packages_end.txt ']' 18:06:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:06:54 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:06:54 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 18:06:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 18:06:54 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 18:06:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:55 prd-ubuntu20.04-docker-8c-8g-18467 does not seem to be running inside a container 18:06:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:06:55 $ docker top af413210b52ddf0c8629089d8652a96b051f88a3a69fb0c17ae35a628dc12f3d -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:55 + touch /tmp/pre-build-complete [Pipeline] sh 18:06:56 + mkdir -p /var/log/sysstat [Pipeline] sh 18:06:56 + ls /var/log/sa-host 18:06:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:56 provisioning config files... 18:06:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6410131807339539657tmp [Pipeline] { [Pipeline] echo 18:06:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:06:56 ---> create-netrc.sh [Pipeline] } 18:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:06:57 ---> python-tools-install.sh [Pipeline] echo 18:06:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:06:57 ---> sudo-logs.sh 18:06:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:06:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:06:57 ---> job-cost.sh 18:06:57 lf-activate-venv: SKIPPING 18:06:57 DEBUG: total: 0.2199999988079071 18:06:57 INFO: Retrieving Stack Cost... 18:06:57 INFO: Retrieving Pricing Info for: v3-standard-8 18:06:58 INFO: Archiving Costs [Pipeline] echo 18:06:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:06:58 ---> logs-deploy.sh 18:06:58 lf-activate-venv: SKIPPING 18:06:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/129 18:06:58 INFO: archiving workspace using pattern(s): 18:06:59 Archives upload complete. 18:06:59 INFO: archiving logs to Nexus