Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fae68001f23ebf2296c35dbe56314768b083ad85 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-ssh11611677308686199221.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7374021409268774494.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10473796397396297095.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17299304185093632233.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-ssh4848750010625355421.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-7091 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 fae68001f23ebf2296c35dbe56314768b083ad85 (main) Commit message: "Merge pull request #553 from marcpfuller/convert_yaml" > 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 fae68001f23ebf2296c35dbe56314768b083ad85 # timeout=10 > git rev-list --no-walk c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:37 ========================================================= 06:10:37 EdgeX Global Pipelines Version Info 06:10:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:37 ------------------- 06:10:37 stable info: 06:10:37 ------------------- 06:10:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:10:37 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:10:37 Message: update stable to v1.0.245 06:10:38 ------------------- 06:10:38 experimental info: 06:10:38 ------------------- 06:10:38 Commited By: **** collab-it+edgex@linuxfoundation.org 06:10:38 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 06:10:38 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:10:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:10:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:10:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:10:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fae68001f23ebf2296c35dbe56314768b083ad85 [Pipeline] echo 06:10:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fae6800 [Pipeline] echo 06:10:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:39 provisioning config files... 06:10:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10109215808561693719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:39 ---> docker-login.sh 06:10:39 nexus3.edgexfoundry.org:10001 06:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:39 Configure a credential helper to remove this warning. See 06:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:39 06:10:39 Login Succeeded 06:10:39 nexus3.edgexfoundry.org:10002 06:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:39 Configure a credential helper to remove this warning. See 06:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:39 06:10:39 Login Succeeded 06:10:39 nexus3.edgexfoundry.org:10003 06:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:39 Configure a credential helper to remove this warning. See 06:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:39 06:10:39 Login Succeeded 06:10:39 nexus3.edgexfoundry.org:10004 06:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:40 Configure a credential helper to remove this warning. See 06:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:40 06:10:40 Login Succeeded 06:10:40 docker.io 06:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:40 Configure a credential helper to remove this warning. See 06:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:40 06:10:40 Login Succeeded 06:10:40 ---> docker-login.sh ends [Pipeline] } 06:10:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:10:40 + git rev-list -1 --merges fae68001f23ebf2296c35dbe56314768b083ad85~1..fae68001f23ebf2296c35dbe56314768b083ad85 [Pipeline] echo 06:10:40 -----------> git rev-list -1 --merges fae68001f23ebf2296c35dbe56314768b083ad85~1..fae68001f23ebf2296c35dbe56314768b083ad85 fae68001f23ebf2296c35dbe56314768b083ad85 06:10:40 fae68001f23ebf2296c35dbe56314768b083ad85 [false] [Pipeline] sh 06:10:41 + git log --format=format:%s -1 fae68001f23ebf2296c35dbe56314768b083ad85 [Pipeline] echo 06:10:41 ========================================================= 06:10:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:10:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:41 + git log --format=format:%s -1 fae68001f23ebf2296c35dbe56314768b083ad85 [Pipeline] echo 06:10:41 [semverPrep] GIT_COMMIT: fae68001f23ebf2296c35dbe56314768b083ad85, Commit Message: Merge pull request #553 from marcpfuller/convert_yaml [Pipeline] echo 06:10:41 [semverPrep] This is not a build commit. [Pipeline] sh 06:10:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:41 + grep -v github /etc/ssh/ssh_known_hosts 06:10:41 + [ -e /tmp/ssh_known_hosts ] 06:10:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:10:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:10:41 + sudo tee -a /etc/ssh/ssh_known_hosts 06:10:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:42 06:10:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:42 0.1.4: Pulling from edgex-devops/py-git-semver 06:10:42 b85a868b505f: Pulling fs layer 06:10:42 e2be974225ed: Pulling fs layer 06:10:42 339a4e72a1f5: Pulling fs layer 06:10:42 988bab9f4d93: Pulling fs layer 06:10:42 1469e6f7b9e6: Pulling fs layer 06:10:42 eaf3925da568: Pulling fs layer 06:10:42 bab4dde63d76: Pulling fs layer 06:10:42 bde34c3a00c8: Pulling fs layer 06:10:42 b352a97aabf1: Pulling fs layer 06:10:42 4872d77fe225: Pulling fs layer 06:10:42 5851b861e8e6: Pulling fs layer 06:10:42 988bab9f4d93: Waiting 06:10:42 1469e6f7b9e6: Waiting 06:10:42 eaf3925da568: Waiting 06:10:42 bab4dde63d76: Waiting 06:10:42 bde34c3a00c8: Waiting 06:10:42 b352a97aabf1: Waiting 06:10:42 4872d77fe225: Waiting 06:10:42 5851b861e8e6: Waiting 06:10:42 e2be974225ed: Download complete 06:10:42 988bab9f4d93: Verifying Checksum 06:10:42 988bab9f4d93: Download complete 06:10:42 339a4e72a1f5: Verifying Checksum 06:10:42 339a4e72a1f5: Download complete 06:10:42 1469e6f7b9e6: Verifying Checksum 06:10:42 1469e6f7b9e6: Download complete 06:10:42 eaf3925da568: Verifying Checksum 06:10:42 eaf3925da568: Download complete 06:10:42 bde34c3a00c8: Verifying Checksum 06:10:42 bde34c3a00c8: Download complete 06:10:42 b352a97aabf1: Download complete 06:10:42 4872d77fe225: Download complete 06:10:42 5851b861e8e6: Download complete 06:10:42 b85a868b505f: Verifying Checksum 06:10:42 b85a868b505f: Download complete 06:10:43 bab4dde63d76: Verifying Checksum 06:10:43 bab4dde63d76: Download complete 06:10:43 b85a868b505f: Pull complete 06:10:44 e2be974225ed: Pull complete 06:10:44 339a4e72a1f5: Pull complete 06:10:44 988bab9f4d93: Pull complete 06:10:45 1469e6f7b9e6: Pull complete 06:10:45 eaf3925da568: Pull complete 06:10:46 bab4dde63d76: Pull complete 06:10:46 bde34c3a00c8: Pull complete 06:10:47 b352a97aabf1: Pull complete 06:10:47 4872d77fe225: Pull complete 06:10:47 5851b861e8e6: Pull complete 06:10:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:10:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:47 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:10:47 $ 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 06:10:48 $ docker top e43ae29b214564e1d5f4df1d5852a7cc7fd048917e53ee3388ec9451560a4957 -eo pid,comm 06:10:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:10:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:48 [ssh-agent] Looking for ssh-agent implementation... 06:10:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:48 $ docker exec e43ae29b214564e1d5f4df1d5852a7cc7fd048917e53ee3388ec9451560a4957 ssh-agent 06:10:48 SSH_AUTH_SOCK=/tmp/ssh-8KJk7ovB23Nd/agent.32 06:10:48 SSH_AGENT_PID=37 06:10:48 Running ssh-add (command line suppressed) 06:10:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13501825728425151278.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13501825728425151278.key) 06:10:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:49 + git tag --points-at HEAD [Pipeline] } 06:10:49 $ docker exec --env ******** --env ******** e43ae29b214564e1d5f4df1d5852a7cc7fd048917e53ee3388ec9451560a4957 ssh-agent -k 06:10:49 unset SSH_AUTH_SOCK; 06:10:49 unset SSH_AGENT_PID; 06:10:49 echo Agent pid 37 killed; 06:10:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:49 [ssh-agent] Looking for ssh-agent implementation... 06:10:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:49 $ docker exec e43ae29b214564e1d5f4df1d5852a7cc7fd048917e53ee3388ec9451560a4957 ssh-agent 06:10:49 SSH_AUTH_SOCK=/tmp/ssh-UbcPEI2mf0VJ/agent.69 06:10:49 SSH_AGENT_PID=75 06:10:49 Running ssh-add (command line suppressed) 06:10:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2588300547609031234.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2588300547609031234.key) 06:10:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:50 + git semver init 06:10:50 2023-04-07 06:10:50,374 [run_init] DEBUG init version:0.0.0 force:False 06:10:50 2023-04-07 06:10:50,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:10:50 2023-04-07 06:10:50,376 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 06:10:50 2023-04-07 06:10:50,376 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:10:51 2023-04-07 06:10:51,114 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 06:10:51 2023-04-07 06:10:51,115 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 06:10:51 2023-04-07 06:10:51,115 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:10:51 2023-04-07 06:10:51,115 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:10:51 3.0.0-dev.16 [Pipeline] } 06:10:51 $ docker exec --env ******** --env ******** e43ae29b214564e1d5f4df1d5852a7cc7fd048917e53ee3388ec9451560a4957 ssh-agent -k 06:10:51 unset SSH_AUTH_SOCK; 06:10:51 unset SSH_AGENT_PID; 06:10:51 echo Agent pid 75 killed; 06:10:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:51 + git semver [Pipeline] } 06:10:52 $ docker stop --time=1 e43ae29b214564e1d5f4df1d5852a7cc7fd048917e53ee3388ec9451560a4957 06:10:53 $ docker rm -f --volumes e43ae29b214564e1d5f4df1d5852a7cc7fd048917e53ee3388ec9451560a4957 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:53 Stashed 1 file(s) [Pipeline] echo 06:10:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:54 provisioning config files... 06:10:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12391873211228657228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:54 ---> docker-login.sh 06:10:54 nexus3.edgexfoundry.org:10001 06:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:54 Configure a credential helper to remove this warning. See 06:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:54 06:10:54 Login Succeeded 06:10:54 nexus3.edgexfoundry.org:10002 06:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:54 Configure a credential helper to remove this warning. See 06:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:54 06:10:54 Login Succeeded 06:10:54 nexus3.edgexfoundry.org:10003 06:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:54 Configure a credential helper to remove this warning. See 06:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:54 06:10:54 Login Succeeded 06:10:54 nexus3.edgexfoundry.org:10004 06:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:54 Configure a credential helper to remove this warning. See 06:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:54 06:10:54 Login Succeeded 06:10:54 docker.io 06:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:54 Configure a credential helper to remove this warning. See 06:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:54 06:10:54 Login Succeeded 06:10:54 ---> docker-login.sh ends [Pipeline] } 06:10:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:55 ========================================================= 06:10:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:10:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:10:55 Sending build context to Docker daemon 6.42MB 06:10:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:10:55 Step 2/12 : FROM ${BASE} AS builder 06:10:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:10:55 63b65145d645: Pulling fs layer 06:10:55 a2d21d5440eb: Pulling fs layer 06:10:55 935e6c44a52c: Pulling fs layer 06:10:55 94cc34f8dd06: Pulling fs layer 06:10:55 30dea6a524f1: Pulling fs layer 06:10:55 a2aff8979fd8: Pulling fs layer 06:10:55 6808be2612f2: Pulling fs layer 06:10:55 f25807f1079a: Pulling fs layer 06:10:55 6808be2612f2: Waiting 06:10:55 f25807f1079a: Waiting 06:10:55 94cc34f8dd06: Waiting 06:10:55 30dea6a524f1: Waiting 06:10:55 a2aff8979fd8: Waiting 06:10:55 a2d21d5440eb: Download complete 06:10:55 94cc34f8dd06: Verifying Checksum 06:10:55 94cc34f8dd06: Download complete 06:10:55 30dea6a524f1: Download complete 06:10:55 63b65145d645: Verifying Checksum 06:10:55 63b65145d645: Download complete 06:10:55 a2aff8979fd8: Verifying Checksum 06:10:55 a2aff8979fd8: Download complete 06:10:55 63b65145d645: Pull complete 06:10:55 a2d21d5440eb: Pull complete 06:10:55 f25807f1079a: Verifying Checksum 06:10:55 f25807f1079a: Download complete 06:10:56 935e6c44a52c: Verifying Checksum 06:10:56 935e6c44a52c: Download complete 06:10:56 6808be2612f2: Verifying Checksum 06:10:56 6808be2612f2: Download complete 06:10:59 935e6c44a52c: Pull complete 06:10:59 94cc34f8dd06: Pull complete 06:10:59 30dea6a524f1: Pull complete 06:10:59 a2aff8979fd8: Pull complete 06:11:02 6808be2612f2: Pull complete 06:11:02 f25807f1079a: Pull complete 06:11:02 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:11:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:11:02 ---> 3b553350e43f 06:11:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:11:05 ---> Running in ba208645e50f 06:11:05 Removing intermediate container ba208645e50f 06:11:05 ---> 79b425f69835 06:11:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:05 ---> Running in d01d465e911d 06:11:05 Removing intermediate container d01d465e911d 06:11:05 ---> 89a401332d2e 06:11:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:11:05 ---> Running in 87687fd3a7cd 06:11:05 Removing intermediate container 87687fd3a7cd 06:11:05 ---> 0f5c4048a4ce 06:11:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:11:05 ---> Running in d2850719c2b0 06:11:05 Removing intermediate container d2850719c2b0 06:11:05 ---> e91c06ab2ee7 06:11:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:05 ---> Running in d33cfcd880e3 06:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:11:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:11:06 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:11:06 (2/4) Installing libedit (20221030.3.1-r0) 06:11:06 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:11:06 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:11:06 Executing busybox-1.35.0-r29.trigger 06:11:06 OK: 269 MiB in 57 packages 06:11:07 Removing intermediate container d33cfcd880e3 06:11:07 ---> 9e4354c57579 06:11:07 Step 8/12 : WORKDIR /device-mqtt-go 06:11:07 ---> Running in 7676f9c92ce2 06:11:07 Removing intermediate container 7676f9c92ce2 06:11:07 ---> 7ddfc3c9901c 06:11:07 Step 9/12 : COPY go.mod vendor* ./ 06:11:07 ---> 974b38c476f2 06:11:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:07 ---> Running in 0351b659c031 06:11:09 Still waiting to schedule task 06:11:09 ‘prd-centos7-blackbox-4c-2g-6590’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:11:09 ‘prd-centos7-blackbox-4c-2g-6591’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:11:09 ‘prd-centos7-builder-2c-1g-7085’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:11:09 ‘prd-ubuntu18.04-docker-8c-8g-7086’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:11:09 ‘prd-ubuntu20.04-docker-8c-8g-7093’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 06:11:09 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7092’ is offline 06:11:29 Removing intermediate container 0351b659c031 06:11:29 ---> 2b15add60552 06:11:29 Step 11/12 : COPY . . 06:11:29 ---> 32c649bf1295 06:11:29 Step 12/12 : RUN $MAKE 06:11:29 ---> Running in 364a1bcf816f 06:11:29 noop 06:11:29 Removing intermediate container 364a1bcf816f 06:11:29 ---> 09a9638e97e9 06:11:29 Successfully built 09a9638e97e9 06:11:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:29 + docker inspect -f . ci-base-image-x86_64 06:11:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:29 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:11:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:11:30 $ docker top 6d8c2391d02bef726fb7c95844ba7f15d554c552ad4c65631d842d59b2fef4df -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:30 + go version 06:11:30 go version go1.20.2 linux/amd64 [Pipeline] } 06:11:30 $ docker stop --time=1 6d8c2391d02bef726fb7c95844ba7f15d554c552ad4c65631d842d59b2fef4df 06:11:31 $ docker rm -f --volumes 6d8c2391d02bef726fb7c95844ba7f15d554c552ad4c65631d842d59b2fef4df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:32 + docker inspect -f . ci-base-image-x86_64 06:11:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:32 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:11:32 $ 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 06:11:32 $ docker top 91aa947af5a4cf236198304cf381ec3b88c900b14fe2e3d44ea5cdfcda3a4713 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 06:11:33 + make test 06:11:33 go test ./... -coverprofile=coverage.out ./... 06:11:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:11:48 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:11:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:11:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.2% of statements 06:11:56 go vet ./... 06:11:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:59 ./bin/test-attribution-txt.sh [Pipeline] echo 06:11:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:11:59 $ docker stop --time=1 91aa947af5a4cf236198304cf381ec3b88c900b14fe2e3d44ea5cdfcda3a4713 06:12:01 $ docker rm -f --volumes 91aa947af5a4cf236198304cf381ec3b88c900b14fe2e3d44ea5cdfcda3a4713 [Pipeline] // withDockerContainer [Pipeline] sh 06:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:02 + ls -al . 06:12:02 total 180 06:12:02 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 06:11 . 06:12:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:10 .. 06:12:02 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 06:10 .dockerignore 06:12:02 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:10 .git 06:12:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:10 .github 06:12:02 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 06:10 .gitignore 06:12:02 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 06:10 .golangci.yml 06:12:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:10 .semver 06:12:02 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 06:10 Attribution.txt 06:12:02 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 06:10 CHANGELOG.md 06:12:02 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 06:10 Dockerfile 06:12:02 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:10 GOVERNANCE.md 06:12:02 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 06:10 Jenkinsfile 06:12:02 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 06:10 LICENSE 06:12:02 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 06:10 Makefile 06:12:02 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 06:10 OWNERS.md 06:12:02 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 06:10 README.md 06:12:02 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 06:10 VERSION 06:12:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:10 bin 06:12:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:10 cmd 06:12:02 -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 06:11 coverage.out 06:12:02 -rw-rw-r-- 1 jenkins jenkins 3330 Apr 7 06:10 go.mod 06:12:02 -rw-rw-r-- 1 jenkins jenkins 31153 Apr 7 06:10 go.sum 06:12:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:10 internal 06:12:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:10 mock 06:12:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:10 snap 06:12:02 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:03 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=fae68001f23ebf2296c35dbe56314768b083ad85 --label arch=amd64 --label version=3.0.0-dev.16 . 06:12:03 Sending build context to Docker daemon 6.439MB 06:12:03 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:12:03 Step 2/24 : FROM ${BASE} AS builder 06:12:03 ---> 09a9638e97e9 06:12:03 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:12:03 ---> Running in dd76370d6cf3 06:12:03 Removing intermediate container dd76370d6cf3 06:12:03 ---> 4b0a09dea726 06:12:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:03 ---> Running in a3d7c16b6e3a 06:12:03 Removing intermediate container a3d7c16b6e3a 06:12:03 ---> 91a81c96448d 06:12:03 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:12:03 ---> Running in ce2d10e70832 06:12:03 Removing intermediate container ce2d10e70832 06:12:03 ---> 819e99421226 06:12:03 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:12:03 ---> Running in fe8a8365891c 06:12:03 Removing intermediate container fe8a8365891c 06:12:03 ---> 7fc86ca3a309 06:12:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:12:03 ---> Running in 7973d5196234 06:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:12:04 OK: 269 MiB in 57 packages 06:12:04 Removing intermediate container 7973d5196234 06:12:04 ---> e26035467df8 06:12:04 Step 8/24 : WORKDIR /device-mqtt-go 06:12:04 ---> Running in f5df93cd3ccc 06:12:04 Removing intermediate container f5df93cd3ccc 06:12:04 ---> 225ef5bebf12 06:12:04 Step 9/24 : COPY go.mod vendor* ./ 06:12:05 ---> 6e33bb9957ab 06:12:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:05 ---> Running in e39fdf43671f 06:12:06 Removing intermediate container e39fdf43671f 06:12:06 ---> e2fb4bd42f67 06:12:06 Step 11/24 : COPY . . 06:12:06 ---> 2230ca86d891 06:12:06 Step 12/24 : RUN $MAKE 06:12:06 ---> Running in 33e8968ecaf4 06:12:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 06:12:24 Removing intermediate container 33e8968ecaf4 06:12:24 ---> 2e64e70aab84 06:12:24 Step 13/24 : FROM alpine:3.17 06:12:24 3.17: Pulling from library/alpine 06:12:24 f56be85fc22e: Pulling fs layer 06:12:24 f56be85fc22e: Verifying Checksum 06:12:24 f56be85fc22e: Download complete 06:12:24 f56be85fc22e: Pull complete 06:12:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:12:24 Status: Downloaded newer image for alpine:3.17 06:12:24 ---> 9ed4aefc74f6 06:12:24 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:12:24 ---> Running in 0693394ea177 06:12:24 Removing intermediate container 0693394ea177 06:12:24 ---> 0344d3c404f6 06:12:24 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:12:24 ---> Running in 363cc458e5e6 06:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:12:25 (1/1) Installing dumb-init (1.2.5-r2) 06:12:25 Executing busybox-1.35.0-r29.trigger 06:12:25 OK: 7 MiB in 16 packages 06:12:25 Removing intermediate container 363cc458e5e6 06:12:25 ---> 810c53e6a386 06:12:25 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:12:26 ---> b0e21f526a66 06:12:26 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:12:26 ---> 7993618a0a20 06:12:26 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:12:26 ---> ed6b8d26a2bb 06:12:26 Step 19/24 : EXPOSE 59982 06:12:26 ---> Running in 07fb1fa85785 06:12:26 Removing intermediate container 07fb1fa85785 06:12:26 ---> 5283a15e9c24 06:12:26 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:12:26 ---> Running in be5d84776d50 06:12:26 Removing intermediate container be5d84776d50 06:12:26 ---> ca18b352996a 06:12:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:12:26 ---> Running in 730aead46038 06:12:26 Removing intermediate container 730aead46038 06:12:26 ---> 028273961654 06:12:26 Step 22/24 : LABEL arch=amd64 06:12:27 ---> Running in 8d3e0bc32cd8 06:12:27 Removing intermediate container 8d3e0bc32cd8 06:12:27 ---> aef3ae00df00 06:12:27 Step 23/24 : LABEL git_sha=fae68001f23ebf2296c35dbe56314768b083ad85 06:12:27 ---> Running in 098538f21352 06:12:27 Removing intermediate container 098538f21352 06:12:27 ---> 4f8970a48d9b 06:12:27 Step 24/24 : LABEL version=3.0.0-dev.16 06:12:27 ---> Running in e0a23b36ec32 06:12:27 Removing intermediate container e0a23b36ec32 06:12:27 ---> 745497b5666c 06:12:27 [Warning] One or more build-args [ARCH] were not consumed 06:12:27 Successfully built 745497b5666c 06:12:27 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:12:27 provisioning config files... 06:12:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10426134148269533621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:27 ---> docker-login.sh 06:12:27 nexus3.edgexfoundry.org:10001 06:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:27 Configure a credential helper to remove this warning. See 06:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:27 06:12:27 Login Succeeded 06:12:27 nexus3.edgexfoundry.org:10002 06:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:27 Configure a credential helper to remove this warning. See 06:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:27 06:12:27 Login Succeeded 06:12:27 nexus3.edgexfoundry.org:10003 06:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:27 Configure a credential helper to remove this warning. See 06:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:27 06:12:27 Login Succeeded 06:12:27 nexus3.edgexfoundry.org:10004 06:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:27 Configure a credential helper to remove this warning. See 06:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:27 06:12:27 Login Succeeded 06:12:27 docker.io 06:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:28 Configure a credential helper to remove this warning. See 06:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:28 06:12:28 Login Succeeded 06:12:28 ---> docker-login.sh ends [Pipeline] } 06:12:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:12:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:28 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 06:12:28 fae68001f23ebf2296c35dbe56314768b083ad85 06:12:28 latest 06:12:28 3.0.0-dev.16 06:12:28 fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16 06:12:28 main 06:12:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:fae68001f23ebf2296c35dbe56314768b083ad85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:fae68001f23ebf2296c35dbe56314768b083ad85 06:12:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:12:28 12ae8d1d3d05: Preparing 06:12:28 4e4f1ca0fca4: Preparing 06:12:28 a8537275c2ea: Preparing 06:12:28 7e986477559b: Preparing 06:12:28 f1417ff83b31: Preparing 06:12:28 f1417ff83b31: Layer already exists 06:12:28 4e4f1ca0fca4: Pushed 06:12:28 12ae8d1d3d05: Pushed 06:12:28 7e986477559b: Pushed 06:12:32 a8537275c2ea: Pushed 06:12:32 fae68001f23ebf2296c35dbe56314768b083ad85: digest: sha256:411ef61ddaf21a4ca44e809d87320e0de0c0285366ca2f1ef26c89e846f898a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:12:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:12:32 12ae8d1d3d05: Preparing 06:12:32 4e4f1ca0fca4: Preparing 06:12:32 a8537275c2ea: Preparing 06:12:32 7e986477559b: Preparing 06:12:32 f1417ff83b31: Preparing 06:12:32 12ae8d1d3d05: Layer already exists 06:12:32 4e4f1ca0fca4: Layer already exists 06:12:32 a8537275c2ea: Layer already exists 06:12:32 7e986477559b: Layer already exists 06:12:32 f1417ff83b31: Layer already exists 06:12:32 latest: digest: sha256:411ef61ddaf21a4ca44e809d87320e0de0c0285366ca2f1ef26c89e846f898a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.16 06:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:12:33 12ae8d1d3d05: Preparing 06:12:33 4e4f1ca0fca4: Preparing 06:12:33 a8537275c2ea: Preparing 06:12:33 7e986477559b: Preparing 06:12:33 f1417ff83b31: Preparing 06:12:33 a8537275c2ea: Layer already exists 06:12:33 4e4f1ca0fca4: Layer already exists 06:12:33 12ae8d1d3d05: Layer already exists 06:12:33 f1417ff83b31: Layer already exists 06:12:33 7e986477559b: Layer already exists 06:12:33 3.0.0-dev.16: digest: sha256:411ef61ddaf21a4ca44e809d87320e0de0c0285366ca2f1ef26c89e846f898a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16 06:12:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:12:34 12ae8d1d3d05: Preparing 06:12:34 4e4f1ca0fca4: Preparing 06:12:34 a8537275c2ea: Preparing 06:12:34 7e986477559b: Preparing 06:12:34 f1417ff83b31: Preparing 06:12:34 f1417ff83b31: Layer already exists 06:12:34 12ae8d1d3d05: Layer already exists 06:12:34 7e986477559b: Layer already exists 06:12:34 4e4f1ca0fca4: Layer already exists 06:12:34 a8537275c2ea: Layer already exists 06:12:34 fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16: digest: sha256:411ef61ddaf21a4ca44e809d87320e0de0c0285366ca2f1ef26c89e846f898a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 06:12:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 06:12:34 12ae8d1d3d05: Preparing 06:12:34 4e4f1ca0fca4: Preparing 06:12:34 a8537275c2ea: Preparing 06:12:34 7e986477559b: Preparing 06:12:34 f1417ff83b31: Preparing 06:12:34 4e4f1ca0fca4: Layer already exists 06:12:34 a8537275c2ea: Layer already exists 06:12:34 f1417ff83b31: Layer already exists 06:12:34 7e986477559b: Layer already exists 06:12:34 12ae8d1d3d05: Layer already exists 06:12:34 main: digest: sha256:411ef61ddaf21a4ca44e809d87320e0de0c0285366ca2f1ef26c89e846f898a5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:12:34 ===================================================== [Pipeline] echo 06:12:34 taggedImages: 06:12:34 - nexus3.edgexfoundry.org:10004/device-mqtt:fae68001f23ebf2296c35dbe56314768b083ad85 06:12:34 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 06:12:34 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.16 06:12:34 - nexus3.edgexfoundry.org:10004/device-mqtt:fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16 06:12:34 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:35 06:12:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:35 latest: Pulling from edgex-lftools-log-publisher 06:12:35 5eb5b503b376: Pulling fs layer 06:12:35 5c69ac0246d0: Pulling fs layer 06:12:35 ec43610c2a17: Pulling fs layer 06:12:35 3a2ae6a8a46f: Pulling fs layer 06:12:35 33b1e0a273af: Pulling fs layer 06:12:35 5d3b04190fa2: Pulling fs layer 06:12:35 2f39f015ded8: Pulling fs layer 06:12:35 3a2ae6a8a46f: Waiting 06:12:35 33b1e0a273af: Waiting 06:12:35 5d3b04190fa2: Waiting 06:12:35 2f39f015ded8: Waiting 06:12:35 5c69ac0246d0: Download complete 06:12:35 3a2ae6a8a46f: Verifying Checksum 06:12:35 3a2ae6a8a46f: Download complete 06:12:35 33b1e0a273af: Verifying Checksum 06:12:35 33b1e0a273af: Download complete 06:12:35 ec43610c2a17: Verifying Checksum 06:12:35 ec43610c2a17: Download complete 06:12:35 5d3b04190fa2: Verifying Checksum 06:12:35 5d3b04190fa2: Download complete 06:12:35 5eb5b503b376: Verifying Checksum 06:12:35 5eb5b503b376: Download complete 06:12:36 2f39f015ded8: Download complete 06:12:36 5eb5b503b376: Pull complete 06:12:37 5c69ac0246d0: Pull complete 06:12:37 ec43610c2a17: Pull complete 06:12:37 3a2ae6a8a46f: Pull complete 06:12:37 33b1e0a273af: Pull complete 06:12:37 5d3b04190fa2: Pull complete 06:12:41 2f39f015ded8: Pull complete 06:12:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:12:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:42 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:12:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:12:43 $ docker top 23653fcecfc94310e5f341a4d690ee120778c8be43e037d25f099f575de962a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:43 ---> job-cost.sh 06:12:43 lf-activate-venv: SKIPPING 06:12:43 INFO: No Stack... 06:12:44 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:44 INFO: Archiving Costs [Pipeline] sh 06:12:45 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 06:12:45 + cut -d, -f6 [Pipeline] lock 06:12:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-100-stack-cost] 06:12:45 Resource [jenkins-edgexfoundry-device-mqtt-go-main-100-stack-cost] did not exist. Created. 06:12:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:45 + echo total: 0.2199999988079071 [Pipeline] stash 06:12:45 Stashed 1 file(s) [Pipeline] } 06:12:45 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:45 $ docker stop --time=1 23653fcecfc94310e5f341a4d690ee120778c8be43e037d25f099f575de962a1 06:12:46 $ docker rm -f --volumes 23653fcecfc94310e5f341a4d690ee120778c8be43e037d25f099f575de962a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:13:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7096 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 06:13:43 Running in /w/workspace/device-mqtt-go/100 [Pipeline] { [Pipeline] checkout 06:13:43 Selected Git installation does not exist. Using Default 06:13:43 The recommended git tool is: NONE 06:13:50 using credential edgex-jenkins-ssh 06:13:50 Cloning the remote Git repository 06:13:50 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:13:51 > git init /w/workspace/device-mqtt-go/100 # timeout=10 06:13:51 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:13:51 > git --version # timeout=10 06:13:51 > git --version # 'git version 2.25.1' 06:13:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:53 Avoid second fetch 06:13:53 Checking out Revision fae68001f23ebf2296c35dbe56314768b083ad85 (main) 06:13:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:13:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:53 > git config core.sparsecheckout # timeout=10 06:13:53 > git checkout -f fae68001f23ebf2296c35dbe56314768b083ad85 # timeout=10 06:13:54 Commit message: "Merge pull request #553 from marcpfuller/convert_yaml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:13:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:55 Dload Upload Total Spent Left Speed 06:13:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 06:13:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:13:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:13:56 + sudo tee /etc/docker/daemon.new 06:13:56 { 06:13:56 "registry-mirrors": [ 06:13:56 "https://nexus3.edgexfoundry.org:10001" 06:13:56 ], 06:13:56 "bip": "10.250.0.254/24", 06:13:56 "hosts": [ 06:13:56 "tcp://0.0.0.0:5555", 06:13:56 "unix:///var/run/docker.sock" 06:13:56 ], 06:13:56 "mtu": 1458, 06:13:56 "selinux-enabled": true, 06:13:56 "seccomp-profile": "/etc/docker/seccomp.json" 06:13:56 } [Pipeline] sh 06:13:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:13:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:15 provisioning config files... 06:14:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/100@tmp/config7067670141334863478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:15 ---> docker-login.sh 06:14:15 nexus3.edgexfoundry.org:10001 06:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:16 Configure a credential helper to remove this warning. See 06:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:16 06:14:16 Login Succeeded 06:14:16 nexus3.edgexfoundry.org:10002 06:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:17 Configure a credential helper to remove this warning. See 06:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:17 06:14:17 Login Succeeded 06:14:17 nexus3.edgexfoundry.org:10003 06:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:17 Configure a credential helper to remove this warning. See 06:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:17 06:14:17 Login Succeeded 06:14:17 nexus3.edgexfoundry.org:10004 06:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:17 Configure a credential helper to remove this warning. See 06:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:17 06:14:17 Login Succeeded 06:14:17 docker.io 06:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:18 Configure a credential helper to remove this warning. See 06:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:18 06:14:18 Login Succeeded 06:14:18 ---> docker-login.sh ends [Pipeline] } 06:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:18 ========================================================= 06:14:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:14:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:14:19 Sending build context to Docker daemon 3.319MB 06:14:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:14:19 Step 2/12 : FROM ${BASE} AS builder 06:14:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:14:19 af6eaf76a39c: Pulling fs layer 06:14:19 55522c791124: Pulling fs layer 06:14:19 ce5c4a1c91eb: Pulling fs layer 06:14:19 169dfbe0d373: Pulling fs layer 06:14:19 e1ff8fa3b103: Pulling fs layer 06:14:19 52ebb69f0ebf: Pulling fs layer 06:14:19 5abe8eddf0d5: Pulling fs layer 06:14:19 169dfbe0d373: Waiting 06:14:19 e1ff8fa3b103: Waiting 06:14:19 5abe8eddf0d5: Waiting 06:14:19 52ebb69f0ebf: Waiting 06:14:19 55522c791124: Verifying Checksum 06:14:19 55522c791124: Download complete 06:14:19 169dfbe0d373: Verifying Checksum 06:14:19 169dfbe0d373: Download complete 06:14:20 e1ff8fa3b103: Verifying Checksum 06:14:20 e1ff8fa3b103: Download complete 06:14:20 af6eaf76a39c: Verifying Checksum 06:14:20 af6eaf76a39c: Download complete 06:14:21 af6eaf76a39c: Pull complete 06:14:21 5abe8eddf0d5: Verifying Checksum 06:14:21 5abe8eddf0d5: Download complete 06:14:21 55522c791124: Pull complete 06:14:22 ce5c4a1c91eb: Verifying Checksum 06:14:22 ce5c4a1c91eb: Download complete 06:14:22 52ebb69f0ebf: Verifying Checksum 06:14:22 52ebb69f0ebf: Download complete 06:14:32 ce5c4a1c91eb: Pull complete 06:14:33 169dfbe0d373: Pull complete 06:14:33 e1ff8fa3b103: Pull complete 06:14:41 52ebb69f0ebf: Pull complete 06:14:43 5abe8eddf0d5: Pull complete 06:14:43 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:14:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:14:43 ---> 6cb57ee374ae 06:14:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:14:45 ---> Running in cd3280efe78a 06:14:45 Removing intermediate container cd3280efe78a 06:14:45 ---> a5831b22be7d 06:14:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:45 ---> Running in afc39d4032e1 06:14:46 Removing intermediate container afc39d4032e1 06:14:46 ---> 3086557bba41 06:14:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:14:46 ---> Running in 0d9702dc5c7e 06:14:46 Removing intermediate container 0d9702dc5c7e 06:14:46 ---> 385b186cd2f6 06:14:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:14:46 ---> Running in 28f2968999a2 06:14:47 Removing intermediate container 28f2968999a2 06:14:47 ---> 0f10f1807945 06:14:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:47 ---> Running in c7a943363d9b 06:14:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:14:50 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:14:50 (2/4) Installing libedit (20221030.3.1-r0) 06:14:50 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:14:50 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:14:50 Executing busybox-1.35.0-r29.trigger 06:14:50 OK: 268 MiB in 57 packages 06:14:51 Removing intermediate container c7a943363d9b 06:14:51 ---> 5b8be93fbc95 06:14:51 Step 8/12 : WORKDIR /device-mqtt-go 06:14:52 ---> Running in acbd8e2af882 06:14:52 Removing intermediate container acbd8e2af882 06:14:52 ---> 4593a7eadf1d 06:14:52 Step 9/12 : COPY go.mod vendor* ./ 06:14:52 ---> 8518922be8db 06:14:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:53 ---> Running in ee708c2cb560 06:16:01 Removing intermediate container ee708c2cb560 06:16:01 ---> 3e962b6de432 06:16:01 Step 11/12 : COPY . . 06:16:01 ---> 5703326642ff 06:16:01 Step 12/12 : RUN $MAKE 06:16:01 ---> Running in 4679ad9a30a7 06:16:02 noop 06:16:03 Removing intermediate container 4679ad9a30a7 06:16:03 ---> 00557f958282 06:16:03 Successfully built 00557f958282 06:16:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:03 + docker inspect -f . ci-base-image-arm64 06:16:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:03 prd-ubuntu20.04-docker-arm64-4c-16g-7096 does not seem to be running inside a container 06:16:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/100 -v /w/workspace/device-mqtt-go/100:/w/workspace/device-mqtt-go/100:rw,z -v /w/workspace/device-mqtt-go/100@tmp:/w/workspace/device-mqtt-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:16:05 $ docker top 1da552892ebe34501c3f2c4a9db9067e3c3f69e1b8f2dd84036f4610dbb14bc4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:06 + go version 06:16:06 go version go1.20.2 linux/arm64 [Pipeline] } 06:16:06 $ docker stop --time=1 1da552892ebe34501c3f2c4a9db9067e3c3f69e1b8f2dd84036f4610dbb14bc4 06:16:07 $ docker rm -f --volumes 1da552892ebe34501c3f2c4a9db9067e3c3f69e1b8f2dd84036f4610dbb14bc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:08 + docker inspect -f . ci-base-image-arm64 06:16:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:08 prd-ubuntu20.04-docker-arm64-4c-16g-7096 does not seem to be running inside a container 06:16:08 $ 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/100 -v /w/workspace/device-mqtt-go/100:/w/workspace/device-mqtt-go/100:rw,z -v /w/workspace/device-mqtt-go/100@tmp:/w/workspace/device-mqtt-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:16:10 $ docker top d2eb5841772545ae9a323ec47cd466f75e81dd89f6bd838c5081b72cfe37a19a -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:10 + git config --global --add safe.directory /w/workspace/device-mqtt-go/100 [Pipeline] fileExists [Pipeline] sh 06:16:11 + make test 06:16:11 go test ./... -coverprofile=coverage.out ./... 06:16:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:19:42 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:19:42 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:19:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 22.2% of statements 06:19:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:19:42 go vet ./... 06:20:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:20:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:20:04 ./bin/test-attribution-txt.sh [Pipeline] echo 06:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:20:04 $ docker stop --time=1 d2eb5841772545ae9a323ec47cd466f75e81dd89f6bd838c5081b72cfe37a19a 06:20:06 $ docker rm -f --volumes d2eb5841772545ae9a323ec47cd466f75e81dd89f6bd838c5081b72cfe37a19a [Pipeline] // withDockerContainer [Pipeline] sh 06:20:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:20:07 Warning: overwriting stash ‘coverage-report’ 06:20:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:09 + ls -al . 06:20:09 total 176 06:20:09 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 06:16 . 06:20:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:13 .. 06:20:09 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 06:13 .dockerignore 06:20:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 06:13 .git 06:20:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:13 .github 06:20:09 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 06:13 .gitignore 06:20:09 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 06:13 .golangci.yml 06:20:09 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 06:13 Attribution.txt 06:20:09 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 06:13 CHANGELOG.md 06:20:09 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 06:13 Dockerfile 06:20:09 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 06:13 GOVERNANCE.md 06:20:09 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 06:13 Jenkinsfile 06:20:09 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 06:13 LICENSE 06:20:09 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 06:13 Makefile 06:20:09 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 06:13 OWNERS.md 06:20:09 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 06:13 README.md 06:20:09 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 06:10 VERSION 06:20:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:13 bin 06:20:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:13 cmd 06:20:09 -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 06:19 coverage.out 06:20:09 -rw-rw-r-- 1 jenkins jenkins 3330 Apr 7 06:13 go.mod 06:20:09 -rw-rw-r-- 1 jenkins jenkins 31153 Apr 7 06:13 go.sum 06:20:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 06:13 internal 06:20:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 06:13 mock 06:20:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 06:13 snap 06:20:09 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 06:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:09 + 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=fae68001f23ebf2296c35dbe56314768b083ad85 --label arch=arm64 --label version=3.0.0-dev.16 . 06:20:09 Sending build context to Docker daemon 3.338MB 06:20:09 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:20:09 Step 2/24 : FROM ${BASE} AS builder 06:20:09 ---> 00557f958282 06:20:09 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:20:09 ---> Running in 2dd0dac6f1a3 06:20:10 Removing intermediate container 2dd0dac6f1a3 06:20:10 ---> eb7796c695e9 06:20:10 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:20:10 ---> Running in 65702bfc370e 06:20:10 Removing intermediate container 65702bfc370e 06:20:10 ---> 0165b81df5e5 06:20:10 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:20:10 ---> Running in 603d89edb236 06:20:11 Removing intermediate container 603d89edb236 06:20:11 ---> b25355cfdfcd 06:20:11 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:20:11 ---> Running in d5246ff47289 06:20:11 Removing intermediate container d5246ff47289 06:20:11 ---> 31c15ad48f6c 06:20:11 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:11 ---> Running in aba5edd7cb4e 06:20:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:20:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:20:14 OK: 268 MiB in 57 packages 06:20:15 Removing intermediate container aba5edd7cb4e 06:20:15 ---> 632b5938716f 06:20:15 Step 8/24 : WORKDIR /device-mqtt-go 06:20:15 ---> Running in cabfd4adaa99 06:20:16 Removing intermediate container cabfd4adaa99 06:20:16 ---> ebafe5bbbd8a 06:20:16 Step 9/24 : COPY go.mod vendor* ./ 06:20:16 ---> 3a5749e6536b 06:20:16 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:16 ---> Running in 69264f3bcbf5 06:20:19 Removing intermediate container 69264f3bcbf5 06:20:19 ---> 5b895de31c90 06:20:19 Step 11/24 : COPY . . 06:20:20 ---> a555503eb62d 06:20:20 Step 12/24 : RUN $MAKE 06:20:20 ---> Running in ff476fc561f5 06:20:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 06:22:58 Removing intermediate container ff476fc561f5 06:22:58 ---> 440cb24cb798 06:22:58 Step 13/24 : FROM alpine:3.17 06:22:58 3.17: Pulling from library/alpine 06:22:58 c41833b44d91: Pulling fs layer 06:22:58 c41833b44d91: Verifying Checksum 06:22:58 c41833b44d91: Download complete 06:22:58 c41833b44d91: Pull complete 06:22:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:22:58 Status: Downloaded newer image for alpine:3.17 06:22:58 ---> 51e60588ff2c 06:22:58 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:22:58 ---> Running in 262040bec629 06:22:58 Removing intermediate container 262040bec629 06:22:58 ---> 65a200725ae8 06:22:58 Step 15/24 : RUN apk add --update --no-cache dumb-init 06:22:58 ---> Running in 895d4c4c9192 06:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:22:58 (1/1) Installing dumb-init (1.2.5-r2) 06:22:58 Executing busybox-1.35.0-r29.trigger 06:22:58 OK: 8 MiB in 16 packages 06:22:58 Removing intermediate container 895d4c4c9192 06:22:58 ---> 0c68021b325f 06:22:58 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:22:58 ---> f4a6125872bb 06:22:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:22:59 ---> 904a2714ec3a 06:22:59 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:22:59 ---> 183811048c72 06:22:59 Step 19/24 : EXPOSE 59982 06:22:59 ---> Running in c7302d5c3d70 06:22:59 Removing intermediate container c7302d5c3d70 06:22:59 ---> bf2331dd0add 06:22:59 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:22:59 ---> Running in cc8a2c4efec0 06:23:00 Removing intermediate container cc8a2c4efec0 06:23:00 ---> 559859b95da4 06:23:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:23:00 ---> Running in ebf456198ae4 06:23:00 Removing intermediate container ebf456198ae4 06:23:00 ---> 276efdeab0ce 06:23:00 Step 22/24 : LABEL arch=arm64 06:23:00 ---> Running in 09798df6a65c 06:23:00 Removing intermediate container 09798df6a65c 06:23:00 ---> 0ee63bdc0e94 06:23:00 Step 23/24 : LABEL git_sha=fae68001f23ebf2296c35dbe56314768b083ad85 06:23:01 ---> Running in 9e4043936f26 06:23:01 Removing intermediate container 9e4043936f26 06:23:01 ---> f98801f9bcb4 06:23:01 Step 24/24 : LABEL version=3.0.0-dev.16 06:23:01 ---> Running in 778859f7dbc5 06:23:01 Removing intermediate container 778859f7dbc5 06:23:01 ---> 41df7fa5cd81 06:23:01 [Warning] One or more build-args [ARCH] were not consumed 06:23:01 Successfully built 41df7fa5cd81 06:23:01 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:01 provisioning config files... 06:23:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/100@tmp/config18329842193632428473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:02 ---> docker-login.sh 06:23:02 nexus3.edgexfoundry.org:10001 06:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:02 Configure a credential helper to remove this warning. See 06:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:02 06:23:02 Login Succeeded 06:23:02 nexus3.edgexfoundry.org:10002 06:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:03 Configure a credential helper to remove this warning. See 06:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:03 06:23:03 Login Succeeded 06:23:03 nexus3.edgexfoundry.org:10003 06:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:03 Configure a credential helper to remove this warning. See 06:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:03 06:23:03 Login Succeeded 06:23:03 nexus3.edgexfoundry.org:10004 06:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:03 Configure a credential helper to remove this warning. See 06:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:03 06:23:03 Login Succeeded 06:23:03 docker.io 06:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:04 Configure a credential helper to remove this warning. See 06:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:04 06:23:04 Login Succeeded 06:23:04 ---> docker-login.sh ends [Pipeline] } 06:23:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:23:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:23:04 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 06:23:04 fae68001f23ebf2296c35dbe56314768b083ad85 06:23:04 latest 06:23:04 3.0.0-dev.16 06:23:04 fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16 06:23:04 main 06:23:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fae68001f23ebf2296c35dbe56314768b083ad85 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fae68001f23ebf2296c35dbe56314768b083ad85 06:23:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:23:05 a1958888fb1c: Preparing 06:23:05 7241cde68da0: Preparing 06:23:05 b1b076c48cd9: Preparing 06:23:05 0228d5d8bbdc: Preparing 06:23:05 26cbea5cba74: Preparing 06:23:05 26cbea5cba74: Layer already exists 06:23:05 a1958888fb1c: Pushed 06:23:05 7241cde68da0: Pushed 06:23:05 0228d5d8bbdc: Pushed 06:23:12 b1b076c48cd9: Pushed 06:23:12 fae68001f23ebf2296c35dbe56314768b083ad85: digest: sha256:f630a5192300102074b4182c61bf861f325dae16839064c03f7e41ec63c72ca0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:12 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:23:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:23:12 a1958888fb1c: Preparing 06:23:12 7241cde68da0: Preparing 06:23:12 b1b076c48cd9: Preparing 06:23:12 0228d5d8bbdc: Preparing 06:23:12 26cbea5cba74: Preparing 06:23:12 0228d5d8bbdc: Layer already exists 06:23:12 b1b076c48cd9: Layer already exists 06:23:12 7241cde68da0: Layer already exists 06:23:12 a1958888fb1c: Layer already exists 06:23:12 26cbea5cba74: Layer already exists 06:23:13 latest: digest: sha256:f630a5192300102074b4182c61bf861f325dae16839064c03f7e41ec63c72ca0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.16 06:23:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:23:13 a1958888fb1c: Preparing 06:23:13 7241cde68da0: Preparing 06:23:13 b1b076c48cd9: Preparing 06:23:13 0228d5d8bbdc: Preparing 06:23:13 26cbea5cba74: Preparing 06:23:13 26cbea5cba74: Layer already exists 06:23:13 b1b076c48cd9: Layer already exists 06:23:13 7241cde68da0: Layer already exists 06:23:13 a1958888fb1c: Layer already exists 06:23:13 0228d5d8bbdc: Layer already exists 06:23:13 3.0.0-dev.16: digest: sha256:f630a5192300102074b4182c61bf861f325dae16839064c03f7e41ec63c72ca0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16 06:23:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:23:14 a1958888fb1c: Preparing 06:23:14 7241cde68da0: Preparing 06:23:14 b1b076c48cd9: Preparing 06:23:14 0228d5d8bbdc: Preparing 06:23:14 26cbea5cba74: Preparing 06:23:14 26cbea5cba74: Layer already exists 06:23:14 b1b076c48cd9: Layer already exists 06:23:14 0228d5d8bbdc: Layer already exists 06:23:14 7241cde68da0: Layer already exists 06:23:14 a1958888fb1c: Layer already exists 06:23:14 fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16: digest: sha256:f630a5192300102074b4182c61bf861f325dae16839064c03f7e41ec63c72ca0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:15 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 06:23:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 06:23:15 a1958888fb1c: Preparing 06:23:15 7241cde68da0: Preparing 06:23:15 b1b076c48cd9: Preparing 06:23:15 0228d5d8bbdc: Preparing 06:23:15 26cbea5cba74: Preparing 06:23:15 0228d5d8bbdc: Layer already exists 06:23:15 a1958888fb1c: Layer already exists 06:23:15 26cbea5cba74: Layer already exists 06:23:15 7241cde68da0: Layer already exists 06:23:15 b1b076c48cd9: Layer already exists 06:23:15 main: digest: sha256:f630a5192300102074b4182c61bf861f325dae16839064c03f7e41ec63c72ca0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:23:15 ===================================================== [Pipeline] echo 06:23:15 taggedImages: 06:23:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fae68001f23ebf2296c35dbe56314768b083ad85 06:23:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 06:23:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.16 06:23:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:fae68001f23ebf2296c35dbe56314768b083ad85-3.0.0-dev.16 06:23:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:16 06:23:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:16 arm64: Pulling from edgex-lftools-log-publisher 06:23:16 8998bd30e6a1: Pulling fs layer 06:23:16 04944245beec: Pulling fs layer 06:23:16 699f458cf7ca: Pulling fs layer 06:23:16 765212b225bb: Pulling fs layer 06:23:16 f23df028b6ca: Pulling fs layer 06:23:16 d65c8cfc05b1: Pulling fs layer 06:23:16 2437ff75d9bd: Pulling fs layer 06:23:16 f23df028b6ca: Waiting 06:23:16 d65c8cfc05b1: Waiting 06:23:16 2437ff75d9bd: Waiting 06:23:16 765212b225bb: Waiting 06:23:16 04944245beec: Verifying Checksum 06:23:16 04944245beec: Download complete 06:23:16 765212b225bb: Download complete 06:23:16 f23df028b6ca: Download complete 06:23:16 d65c8cfc05b1: Verifying Checksum 06:23:16 d65c8cfc05b1: Download complete 06:23:17 699f458cf7ca: Verifying Checksum 06:23:17 699f458cf7ca: Download complete 06:23:17 8998bd30e6a1: Download complete 06:23:19 2437ff75d9bd: Verifying Checksum 06:23:19 2437ff75d9bd: Download complete 06:23:21 8998bd30e6a1: Pull complete 06:23:24 04944245beec: Pull complete 06:23:25 699f458cf7ca: Pull complete 06:23:25 765212b225bb: Pull complete 06:23:26 f23df028b6ca: Pull complete 06:23:26 d65c8cfc05b1: Pull complete 06:23:41 2437ff75d9bd: Pull complete 06:23:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:23:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:41 prd-ubuntu20.04-docker-arm64-4c-16g-7096 does not seem to be running inside a container 06:23:41 $ 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/100 -v /w/workspace/device-mqtt-go/100:/w/workspace/device-mqtt-go/100:rw,z -v /w/workspace/device-mqtt-go/100@tmp:/w/workspace/device-mqtt-go/100@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:23:44 $ docker top 1611801c5033a1f73f502229b61e0945be7fd0ec4a301b843b7a50e5c53ee6f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:45 ---> job-cost.sh 06:23:45 lf-activate-venv: SKIPPING 06:23:45 INFO: No Stack... 06:23:45 INFO: Retrieving Pricing Info for: v3-standard-4 06:23:46 INFO: Archiving Costs [Pipeline] sh 06:23:47 + cat /w/workspace/device-mqtt-go/100/archives/cost.csv 06:23:47 + cut -d, -f6 [Pipeline] lock 06:23:47 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-100-stack-cost] 06:23:47 Resource [jenkins-edgexfoundry-device-mqtt-go-main-100-stack-cost] did not exist. Created. 06:23:47 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:23:48 /w/workspace/device-mqtt-go/100@tmp/durable-dd89f5bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:23:48 + echo total: 0.10999999940395355 [Pipeline] stash 06:23:48 Warning: overwriting stash ‘stack-cost’ 06:23:49 Stashed 1 file(s) [Pipeline] } 06:23:49 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 06:23:49 $ docker stop --time=1 1611801c5033a1f73f502229b61e0945be7fd0ec4a301b843b7a50e5c53ee6f4 06:23:50 $ docker rm -f --volumes 1611801c5033a1f73f502229b61e0945be7fd0ec4a301b843b7a50e5c53ee6f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:23:50 provisioning config files... 06:23:50 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config294878605818457973tmp [Pipeline] { [Pipeline] sh 06:23:51 + set +x 06:23:51 + curl -s https://codecov.io/bash 06:23:51 + bash -s -- 06:23:51 06:23:51 _____ _ 06:23:51 / ____| | | 06:23:51 | | ___ __| | ___ ___ _____ __ 06:23:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:23:51 | |___| (_) | (_| | __/ (_| (_) \ V / 06:23:51 \_____\___/ \__,_|\___|\___\___/ \_/ 06:23:51 Bash-1.0.6 06:23:51 06:23:51 06:23:51 ==> git version 2.25.1 found 06:23:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:23:51 Release-Date: 2020-01-08 06:23:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:23:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:23:51 ==> Jenkins CI detected. 06:23:51 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 06:23:51 project root: . 06:23:51 --> token set from env 06:23:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:23:51 ==> Running gcov in . (disable via -X gcov) 06:23:51 ==> Python coveragepy not found 06:23:51 ==> Searching for coverage reports in: 06:23:51 + . 06:23:51 -> Found 1 reports 06:23:51 ==> Detecting git/mercurial file structure 06:23:51 ==> Reading reports 06:23:51 + ./coverage.out bytes=18047 06:23:51 ==> Appending adjustments 06:23:51 https://docs.codecov.io/docs/fixing-reports 06:23:51 + Found adjustments 06:23:51 ==> Gzipping contents 06:23:51 4.0K /tmp/codecov.DvGmIp.gz 06:23:51 ==> Uploading reports 06:23:51 url: https://codecov.io 06:23:51 query: branch=main&commit=fae68001f23ebf2296c35dbe56314768b083ad85&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:23:51 -> Pinging Codecov 06:23:51 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=fae68001f23ebf2296c35dbe56314768b083ad85&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:23:51 -> Uploading to 06:23:51 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/7D719EC7BBE17E464838252E33014C33/fae68001f23ebf2296c35dbe56314768b083ad85/a1bac231-c2c4-4e35-90ba-48d039f0803c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T062351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=def05589c543e80abd226d99276b6dbd0297ce05a81a00dbf34a51ee269ecd05 06:23:51 % Total % Received % Xferd Average Speed Time Time Time Current 06:23:51 Dload Upload Total Spent Left Speed 06:23:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3127 0 0 100 3127 0 12921 --:--:-- --:--:-- --:--:-- 12921 06:23:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fae68001f23ebf2296c35dbe56314768b083ad85 [Pipeline] } 06:23:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:23:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:23:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:23:52 06:23:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:23:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:23:52 df9b9388f04a: Pulling fs layer 06:23:52 52dc419b0ee2: Pulling fs layer 06:23:52 25bc292e5bac: Pulling fs layer 06:23:52 114826534d7a: Pulling fs layer 06:23:52 4657fd5d0bcf: Pulling fs layer 06:23:52 6ad1cebc031e: Pulling fs layer 06:23:52 8a3aa393b2d8: Pulling fs layer 06:23:52 114826534d7a: Waiting 06:23:52 8a3aa393b2d8: Waiting 06:23:52 4657fd5d0bcf: Waiting 06:23:52 25bc292e5bac: Verifying Checksum 06:23:52 25bc292e5bac: Download complete 06:23:52 52dc419b0ee2: Verifying Checksum 06:23:52 52dc419b0ee2: Download complete 06:23:52 df9b9388f04a: Download complete 06:23:52 4657fd5d0bcf: Download complete 06:23:52 df9b9388f04a: Pull complete 06:23:52 6ad1cebc031e: Verifying Checksum 06:23:52 6ad1cebc031e: Download complete 06:23:52 52dc419b0ee2: Pull complete 06:23:52 25bc292e5bac: Pull complete 06:23:53 114826534d7a: Verifying Checksum 06:23:53 114826534d7a: Download complete 06:23:53 8a3aa393b2d8: Verifying Checksum 06:23:53 8a3aa393b2d8: Download complete 06:23:57 114826534d7a: Pull complete 06:23:57 4657fd5d0bcf: Pull complete 06:23:57 6ad1cebc031e: Pull complete 06:24:00 8a3aa393b2d8: Pull complete 06:24:00 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:24:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:24:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:00 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:24:00 $ 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 06:24:05 $ docker top 36c84c32c23ceab17213d8a5b4e7e027638c428fb472cdd14028e45c8328165a -eo pid,comm [Pipeline] { [Pipeline] echo 06:24:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 06:24:05 + set -o pipefail 06:24:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 06:24:09 06:24:09 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 06:24:09 06:24:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/6803b0e2-7d1c-45cd-ae4c-8e32a46924b0 06:24:09 06:24:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:24:09 06:24:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:24:09 06:24:09 06:24:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:24:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:24:09 More details here: https://snyk.co/ue1NS 06:24:09 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:24:09 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:24:09 $ docker stop --time=1 36c84c32c23ceab17213d8a5b4e7e027638c428fb472cdd14028e45c8328165a 06:24:13 $ docker rm -f --volumes 36c84c32c23ceab17213d8a5b4e7e027638c428fb472cdd14028e45c8328165a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:24:13 + git log --format=format:%s -1 fae68001f23ebf2296c35dbe56314768b083ad85 [Pipeline] sh 06:24:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:14 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:24:14 $ docker top 784d7be0a150ac537a9433518fca3dd94b5af2f9f7b2ada33a5b6bc16b8ee908 -eo pid,comm 06:24:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:24:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:14 [ssh-agent] Looking for ssh-agent implementation... 06:24:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:15 $ docker exec 784d7be0a150ac537a9433518fca3dd94b5af2f9f7b2ada33a5b6bc16b8ee908 ssh-agent 06:24:15 SSH_AUTH_SOCK=/tmp/ssh-wuP4DYbVFhmr/agent.31 06:24:15 SSH_AGENT_PID=37 06:24:15 Running ssh-add (command line suppressed) 06:24:15 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14084397685190085267.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14084397685190085267.key) 06:24:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:15 + git semver tag 06:24:15 2023-04-07 06:24:15,739 [run_tag] DEBUG tag force:False 06:24:15 2023-04-07 06:24:15,739 [check_head_tag] DEBUG check head tag 06:24:15 2023-04-07 06:24:15,740 [execute] INFO git cat-file --batch-check 06:24:15 2023-04-07 06:24:15,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:24:15 2023-04-07 06:24:15,744 [execute] INFO git cat-file --batch 06:24:15 2023-04-07 06:24:15,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 06:24:15 2023-04-07 06:24:15,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:15 2023-04-07 06:24:15,766 [execute] INFO git tag -a v3.0.0-dev.16 -m v3.0.0-dev.16 06:24:15 2023-04-07 06:24:15,767 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.16', '-m', 'v3.0.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:24:15 2023-04-07 06:24:15,772 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:15 3.0.0-dev.16 [Pipeline] } 06:24:15 $ docker exec --env ******** --env ******** 784d7be0a150ac537a9433518fca3dd94b5af2f9f7b2ada33a5b6bc16b8ee908 ssh-agent -k 06:24:15 unset SSH_AUTH_SOCK; 06:24:15 unset SSH_AGENT_PID; 06:24:15 echo Agent pid 37 killed; 06:24:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:16 + git semver [Pipeline] } 06:24:16 $ docker stop --time=1 784d7be0a150ac537a9433518fca3dd94b5af2f9f7b2ada33a5b6bc16b8ee908 06:24:17 $ docker rm -f --volumes 784d7be0a150ac537a9433518fca3dd94b5af2f9f7b2ada33a5b6bc16b8ee908 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:24:18 06:24:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:24:18 0.23.1-centos7: Pulling from edgex-lftools 06:24:18 ab5ef0e58194: Pulling fs layer 06:24:18 9712f1f96733: Pulling fs layer 06:24:18 63f879dbbcfc: Pulling fs layer 06:24:18 0d9ebad4ef96: Pulling fs layer 06:24:18 e9a5061849ea: Pulling fs layer 06:24:18 d747dcd14b5f: Pulling fs layer 06:24:18 2de7ff778b66: Pulling fs layer 06:24:18 0d9ebad4ef96: Waiting 06:24:18 e9a5061849ea: Waiting 06:24:18 d747dcd14b5f: Waiting 06:24:18 2de7ff778b66: Waiting 06:24:18 9712f1f96733: Verifying Checksum 06:24:18 9712f1f96733: Download complete 06:24:18 63f879dbbcfc: Verifying Checksum 06:24:18 63f879dbbcfc: Download complete 06:24:18 e9a5061849ea: Verifying Checksum 06:24:18 e9a5061849ea: Download complete 06:24:18 d747dcd14b5f: Verifying Checksum 06:24:18 d747dcd14b5f: Download complete 06:24:18 0d9ebad4ef96: Verifying Checksum 06:24:18 0d9ebad4ef96: Download complete 06:24:18 ab5ef0e58194: Verifying Checksum 06:24:18 ab5ef0e58194: Download complete 06:24:18 2de7ff778b66: Verifying Checksum 06:24:18 2de7ff778b66: Download complete 06:24:22 ab5ef0e58194: Pull complete 06:24:22 9712f1f96733: Pull complete 06:24:22 63f879dbbcfc: Pull complete 06:24:26 0d9ebad4ef96: Pull complete 06:24:26 e9a5061849ea: Pull complete 06:24:26 d747dcd14b5f: Pull complete 06:24:28 2de7ff778b66: Pull complete 06:24:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:24:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:24:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:28 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:24:28 $ 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 06:24:33 $ docker top a9b840dc119b834292b614ddfbdd922540da21d5bd1c1cbfc751a5f00a6a49be -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:24:33 provisioning config files... 06:24:33 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1446090821243086728tmp 06:24:33 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9580681101169805792tmp 06:24:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5875750515216534364tmp [Pipeline] { [Pipeline] echo 06:24:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:24:33 ---> sigul-configuration.sh 06:24:33 gpg: directory `/root/.gnupg' created 06:24:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:24:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:24:33 gpg: keyring `/root/.gnupg/secring.gpg' created 06:24:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:24:33 gpg: CAST5 encrypted data 06:24:33 gpg: encrypted with 1 passphrase 06:24:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:24:33 + mkdir /home/jenkins 06:24:33 + mkdir /home/jenkins/sigul [Pipeline] sh 06:24:34 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:24:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:24:34 ---> sigul-install.sh 06:24:34 Sigul already installed; skipping installation. [Pipeline] sh 06:24:34 + git tag --list 06:24:34 0.7.1 06:24:34 v1.0.0 06:24:34 v1.1.0 06:24:34 v1.1.1 06:24:34 v1.2.2 06:24:34 v1.3.0 06:24:34 v1.3.1 06:24:34 v2.0.0 06:24:34 v2.1.0 06:24:34 v2.1.1 06:24:34 v2.1.1-dev.1 06:24:34 v2.1.1-dev.2 06:24:34 v2.2.0 06:24:34 v2.2.1-dev.1 06:24:34 v2.2.1-dev.10 06:24:34 v2.2.1-dev.2 06:24:34 v2.2.1-dev.3 06:24:34 v2.2.1-dev.4 06:24:34 v2.2.1-dev.5 06:24:34 v2.2.1-dev.6 06:24:34 v2.2.1-dev.7 06:24:34 v2.2.1-dev.8 06:24:34 v2.2.1-dev.9 06:24:34 v2.3.0 06:24:34 v2.3.0-dev.10 06:24:34 v2.3.0-dev.11 06:24:34 v2.3.0-dev.12 06:24:34 v2.3.0-dev.13 06:24:34 v2.3.0-dev.14 06:24:34 v2.3.0-dev.15 06:24:34 v2.3.0-dev.16 06:24:34 v2.3.0-dev.17 06:24:34 v2.3.0-dev.18 06:24:34 v2.3.0-dev.19 06:24:34 v2.3.0-dev.20 06:24:34 v2.3.0-dev.21 06:24:34 v2.3.0-dev.22 06:24:34 v2.3.0-dev.23 06:24:34 v2.3.0-dev.24 06:24:34 v2.3.0-dev.25 06:24:34 v2.3.0-dev.26 06:24:34 v2.3.0-dev.27 06:24:34 v2.3.0-dev.28 06:24:34 v2.3.0-dev.29 06:24:34 v2.3.0-dev.30 06:24:34 v2.3.0-dev.31 06:24:34 v2.3.0-dev.32 06:24:34 v2.3.0-dev.33 06:24:34 v2.3.0-dev.34 06:24:34 v3.0.0-dev.1 06:24:34 v3.0.0-dev.10 06:24:34 v3.0.0-dev.11 06:24:34 v3.0.0-dev.12 06:24:34 v3.0.0-dev.13 06:24:34 v3.0.0-dev.14 06:24:34 v3.0.0-dev.15 06:24:34 v3.0.0-dev.16 06:24:34 v3.0.0-dev.2 06:24:34 v3.0.0-dev.3 06:24:34 v3.0.0-dev.4 06:24:34 v3.0.0-dev.5 06:24:34 v3.0.0-dev.6 06:24:34 v3.0.0-dev.7 06:24:34 v3.0.0-dev.8 06:24:34 v3.0.0-dev.9 [Pipeline] sh 06:24:35 + lftools sign git-tag v3.0.0-dev.16 06:24:35 Signing Git tag with Sigul... 06:24:35 Signing v3.0.0-dev.16 [Pipeline] echo 06:24:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:24:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:24:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:24:36 $ docker stop --time=1 a9b840dc119b834292b614ddfbdd922540da21d5bd1c1cbfc751a5f00a6a49be 06:24:37 $ docker rm -f --volumes a9b840dc119b834292b614ddfbdd922540da21d5bd1c1cbfc751a5f00a6a49be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:24:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:38 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:24:38 $ 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 06:24:38 $ docker top 9c187d27ea5fa61dd30feb859466856b6841792cc673f79f9fd6b87d6b2f36fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:39 [ssh-agent] Looking for ssh-agent implementation... 06:24:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:39 $ docker exec 9c187d27ea5fa61dd30feb859466856b6841792cc673f79f9fd6b87d6b2f36fa ssh-agent 06:24:39 SSH_AUTH_SOCK=/tmp/ssh-jwO3Fdsy7MAb/agent.31 06:24:39 SSH_AGENT_PID=37 06:24:39 Running ssh-add (command line suppressed) 06:24:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13172734708500457846.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13172734708500457846.key) 06:24:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:39 + git semver bump pre 06:24:39 2023-04-07 06:24:39,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:39 2023-04-07 06:24:39,939 [bump_version] DEBUG bumping version:3.0.0-dev.16 on axis:pre with prefix:dev 06:24:39 2023-04-07 06:24:39,939 [bump_version] DEBUG bumped version:3.0.0-dev.17 06:24:39 2023-04-07 06:24:39,939 [write_version] DEBUG write version:3.0.0-dev.17 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 06:24:39 2023-04-07 06:24:39,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:39 2023-04-07 06:24:39,939 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:39 2023-04-07 06:24:39,941 [execute] INFO git cat-file --batch-check 06:24:39 2023-04-07 06:24:39,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:39 2023-04-07 06:24:39,947 [execute] INFO git cat-file --batch 06:24:39 2023-04-07 06:24:39,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:39 2023-04-07 06:24:39,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:39 3.0.0-dev.17 [Pipeline] } 06:24:40 $ docker exec --env ******** --env ******** 9c187d27ea5fa61dd30feb859466856b6841792cc673f79f9fd6b87d6b2f36fa ssh-agent -k 06:24:40 unset SSH_AUTH_SOCK; 06:24:40 unset SSH_AGENT_PID; 06:24:40 echo Agent pid 37 killed; 06:24:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:40 + git semver [Pipeline] } 06:24:40 $ docker stop --time=1 9c187d27ea5fa61dd30feb859466856b6841792cc673f79f9fd6b87d6b2f36fa 06:24:41 $ docker rm -f --volumes 9c187d27ea5fa61dd30feb859466856b6841792cc673f79f9fd6b87d6b2f36fa [Pipeline] // withDockerContainer [Pipeline] sh 06:24:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:42 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:24: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 06:24:43 $ docker top 32e17c9a4dec604b449dcdb4c9c660554e97c61b95e2f301fa923c2798746020 -eo pid,comm 06:24: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). 06:24:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:43 [ssh-agent] Looking for ssh-agent implementation... 06:24:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:43 $ docker exec 32e17c9a4dec604b449dcdb4c9c660554e97c61b95e2f301fa923c2798746020 ssh-agent 06:24:43 SSH_AUTH_SOCK=/tmp/ssh-1qwihC2kefz5/agent.32 06:24:43 SSH_AGENT_PID=38 06:24:43 Running ssh-add (command line suppressed) 06:24:43 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1190585660514590994.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1190585660514590994.key) 06:24:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:43 + git semver push 06:24:44 2023-04-07 06:24:44,026 [run_push] DEBUG push 06:24:44 2023-04-07 06:24:44,026 [execute] INFO git cat-file --batch-check 06:24:44 2023-04-07 06:24:44,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:24:44 2023-04-07 06:24:44,031 [execute] INFO git rev-list 73093c9102d5909f42d62c624659a987c4b6367e -- 06:24:44 2023-04-07 06:24:44,031 [execute] DEBUG Popen(['git', 'rev-list', '73093c9102d5909f42d62c624659a987c4b6367e', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:24:44 2023-04-07 06:24:44,038 [execute] INFO git fetch -v origin 06:24:44 2023-04-07 06:24:44,039 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:24:44 2023-04-07 06:24:44,513 [run_push] DEBUG no remote changes detected 06:24:44 2023-04-07 06:24:44,514 [execute] INFO git push origin semver 06:24:44 2023-04-07 06:24:44,514 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:24:45 2023-04-07 06:24:45,316 [run_push] DEBUG push all version tags 06:24:45 2023-04-07 06:24:45,317 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:24:45 2023-04-07 06:24:45,317 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 06:24:46 2023-04-07 06:24:46,073 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 06:24:46 3.0.0-dev.17 [Pipeline] } 06:24:46 $ docker exec --env ******** --env ******** 32e17c9a4dec604b449dcdb4c9c660554e97c61b95e2f301fa923c2798746020 ssh-agent -k 06:24:46 unset SSH_AUTH_SOCK; 06:24:46 unset SSH_AGENT_PID; 06:24:46 echo Agent pid 38 killed; 06:24:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:46 + git semver [Pipeline] } 06:24:46 $ docker stop --time=1 32e17c9a4dec604b449dcdb4c9c660554e97c61b95e2f301fa923c2798746020 06:24:48 $ docker rm -f --volumes 32e17c9a4dec604b449dcdb4c9c660554e97c61b95e2f301fa923c2798746020 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:24:48 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 06:24:48 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:24:48 total 16 06:24:48 drwxr-xr-x 3 root root 4096 Apr 7 06:12 . 06:24:48 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 06:24 .. 06:24:48 drwxr-xr-x 2 root root 4096 Apr 7 06:12 cost 06:24:48 -rw-r--r-- 1 root root 86 Apr 7 06:12 cost.csv 06:24:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:24:48 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 06:24:48 total 16 06:24:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 06:12 . 06:24:48 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 06:24 .. 06:24:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 06:12 cost 06:24:48 -rw-r--r-- 1 jenkins jenkins 86 Apr 7 06:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:24:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:24:50 ---> package-listing.sh 06:24:50 ++ facter osfamily 06:24:50 ++ tr '[:upper:]' '[:lower:]' 06:24:50 + OS_FAMILY=debian 06:24:50 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 06:24:50 + START_PACKAGES=/tmp/packages_start.txt 06:24:50 + END_PACKAGES=/tmp/packages_end.txt 06:24:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:24:50 + PACKAGES=/tmp/packages_start.txt 06:24:50 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:24:50 + PACKAGES=/tmp/packages_end.txt 06:24:50 + case "${OS_FAMILY}" in 06:24:50 + dpkg -l 06:24:50 + grep '^ii' 06:24:50 + '[' -f /tmp/packages_start.txt ']' 06:24:50 + '[' -f /tmp/packages_end.txt ']' 06:24:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:24:50 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 06:24:50 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 06:24:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 06:24:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:24:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:51 prd-ubuntu20.04-docker-8c-8g-7091 does not seem to be running inside a container 06:24:51 $ 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 06:24:51 $ docker top 534a0806b13a38258cd13f17a1770616ee170e3a084cd377ed639c1680fd410c -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:51 + touch /tmp/pre-build-complete [Pipeline] sh 06:24:52 + mkdir -p /var/log/sysstat [Pipeline] sh 06:24:52 + ls /var/log/sa-host 06:24:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:52 provisioning config files... 06:24:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10286939608387762272tmp [Pipeline] { [Pipeline] echo 06:24:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:24:52 ---> create-netrc.sh [Pipeline] } 06:24:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:24:53 ---> python-tools-install.sh [Pipeline] echo 06:24:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:24:53 ---> sudo-logs.sh 06:24:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:24:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:24:53 ---> job-cost.sh 06:24:53 lf-activate-venv: SKIPPING 06:24:53 DEBUG: total: 0.2199999988079071 06:24:53 INFO: Retrieving Stack Cost... 06:24:53 INFO: Retrieving Pricing Info for: v3-standard-8 06:24:54 INFO: Archiving Costs [Pipeline] echo 06:24:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:24:54 ---> logs-deploy.sh 06:24:54 lf-activate-venv: SKIPPING 06:24:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/100 06:24:54 INFO: archiving workspace using pattern(s): 06:24:55 Archives upload complete. 06:24:55 INFO: archiving logs to Nexus