Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f5b40587cdb269dc0901b5b892d918e86924932 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-ssh15922043503312597748.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-ssh14284470017156198916.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-ssh17657504745598363523.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-ssh1810888125212847958.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-ssh2985543357757083130.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 ‘prd-ubuntu20.04-docker-8c-8g-2405’ Running on prd-ubuntu20.04-docker-8c-8g-2407 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 > 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 Avoid second fetch Checking out Revision 1f5b40587cdb269dc0901b5b892d918e86924932 (main) Commit message: "refactor(snap): Update command and metadata sourcing (#529)" > git config core.sparsecheckout # timeout=10 > git checkout -f 1f5b40587cdb269dc0901b5b892d918e86924932 # timeout=10 > git rev-list --no-walk 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:48:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:48:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:48:54 ========================================================= 12:48:54 EdgeX Global Pipelines Version Info 12:48:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:48:55 ------------------- 12:48:55 stable info: 12:48:55 ------------------- 12:48:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:48:55 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:48:55 Message: update stable to v1.0.245 12:48:55 ------------------- 12:48:55 experimental info: 12:48:55 ------------------- 12:48:55 Commited By: **** collab-it+edgex@linuxfoundation.org 12:48:55 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 12:48:55 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:48:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f5b40587cdb269dc0901b5b892d918e86924932 [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f5b405 [Pipeline] echo 12:48:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:56 provisioning config files... 12:48:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5110368411954882538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:56 ---> docker-login.sh 12:48:56 nexus3.edgexfoundry.org:10001 12:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:56 Configure a credential helper to remove this warning. See 12:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:56 12:48:56 Login Succeeded 12:48:56 nexus3.edgexfoundry.org:10002 12:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:57 Configure a credential helper to remove this warning. See 12:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:57 12:48:57 Login Succeeded 12:48:57 nexus3.edgexfoundry.org:10003 12:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:57 Configure a credential helper to remove this warning. See 12:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:57 12:48:57 Login Succeeded 12:48:57 nexus3.edgexfoundry.org:10004 12:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:57 Configure a credential helper to remove this warning. See 12:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:57 12:48:57 Login Succeeded 12:48:57 docker.io 12:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:57 Configure a credential helper to remove this warning. See 12:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:57 12:48:57 Login Succeeded 12:48:57 ---> docker-login.sh ends [Pipeline] } 12:48:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:48:57 + git rev-list -1 --merges 1f5b40587cdb269dc0901b5b892d918e86924932~1..1f5b40587cdb269dc0901b5b892d918e86924932 [Pipeline] echo 12:48:58 -----------> git rev-list -1 --merges 1f5b40587cdb269dc0901b5b892d918e86924932~1..1f5b40587cdb269dc0901b5b892d918e86924932 1f5b40587cdb269dc0901b5b892d918e86924932 [false] [Pipeline] sh 12:48:58 + git log --format=format:%s -1 1f5b40587cdb269dc0901b5b892d918e86924932 [Pipeline] echo 12:48:58 ========================================================= 12:48:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:48:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:48:58 + git log --format=format:%s -1 1f5b40587cdb269dc0901b5b892d918e86924932 [Pipeline] echo 12:48:58 [semverPrep] GIT_COMMIT: 1f5b40587cdb269dc0901b5b892d918e86924932, Commit Message: refactor(snap): Update command and metadata sourcing (#529) [Pipeline] echo 12:48:58 [semverPrep] This is not a build commit. [Pipeline] sh 12:48:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:48:59 + grep -v github /etc/ssh/ssh_known_hosts 12:48:59 + [ -e /tmp/ssh_known_hosts ] 12:48:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:48:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:48:59 + sudo tee -a /etc/ssh/ssh_known_hosts 12:48:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:48:59 12:48:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:48:59 0.1.4: Pulling from edgex-devops/py-git-semver 12:48:59 b85a868b505f: Pulling fs layer 12:48:59 e2be974225ed: Pulling fs layer 12:48:59 339a4e72a1f5: Pulling fs layer 12:48:59 988bab9f4d93: Pulling fs layer 12:48:59 1469e6f7b9e6: Pulling fs layer 12:48:59 eaf3925da568: Pulling fs layer 12:48:59 1469e6f7b9e6: Waiting 12:48:59 988bab9f4d93: Waiting 12:48:59 bab4dde63d76: Pulling fs layer 12:48:59 bde34c3a00c8: Pulling fs layer 12:48:59 b352a97aabf1: Pulling fs layer 12:48:59 bab4dde63d76: Waiting 12:48:59 4872d77fe225: Pulling fs layer 12:48:59 5851b861e8e6: Pulling fs layer 12:48:59 b352a97aabf1: Waiting 12:48:59 4872d77fe225: Waiting 12:48:59 5851b861e8e6: Waiting 12:48:59 bde34c3a00c8: Waiting 12:48:59 e2be974225ed: Verifying Checksum 12:48:59 e2be974225ed: Download complete 12:48:59 988bab9f4d93: Verifying Checksum 12:48:59 988bab9f4d93: Download complete 12:48:59 1469e6f7b9e6: Verifying Checksum 12:48:59 1469e6f7b9e6: Download complete 12:48:59 eaf3925da568: Verifying Checksum 12:48:59 eaf3925da568: Download complete 12:48:59 339a4e72a1f5: Verifying Checksum 12:48:59 339a4e72a1f5: Download complete 12:48:59 bde34c3a00c8: Download complete 12:48:59 b352a97aabf1: Verifying Checksum 12:48:59 b352a97aabf1: Download complete 12:48:59 4872d77fe225: Verifying Checksum 12:48:59 4872d77fe225: Download complete 12:49:00 5851b861e8e6: Verifying Checksum 12:49:00 5851b861e8e6: Download complete 12:49:00 b85a868b505f: Download complete 12:49:00 bab4dde63d76: Verifying Checksum 12:49:00 bab4dde63d76: Download complete 12:49:01 b85a868b505f: Pull complete 12:49:01 e2be974225ed: Pull complete 12:49:01 339a4e72a1f5: Pull complete 12:49:01 988bab9f4d93: Pull complete 12:49:02 1469e6f7b9e6: Pull complete 12:49:02 eaf3925da568: Pull complete 12:49:04 bab4dde63d76: Pull complete 12:49:04 bde34c3a00c8: Pull complete 12:49:04 b352a97aabf1: Pull complete 12:49:04 4872d77fe225: Pull complete 12:49:04 5851b861e8e6: Pull complete 12:49:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:49:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:04 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 12:49:04 $ 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 12:49:09 $ docker top c0dd5fe46ffb751abf813a07b5ed36af10178344feefbae3ae2e94bc514425c4 -eo pid,comm 12:49:09 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). 12:49:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:49:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:49:09 [ssh-agent] Looking for ssh-agent implementation... 12:49:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:49:09 $ docker exec c0dd5fe46ffb751abf813a07b5ed36af10178344feefbae3ae2e94bc514425c4 ssh-agent 12:49:09 SSH_AUTH_SOCK=/tmp/ssh-1TjmAxDS3OiC/agent.33 12:49:09 SSH_AGENT_PID=39 12:49:09 Running ssh-add (command line suppressed) 12:49:09 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12871988493369631264.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12871988493369631264.key) 12:49:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:49:10 + git tag --points-at HEAD [Pipeline] } 12:49:10 $ docker exec --env ******** --env ******** c0dd5fe46ffb751abf813a07b5ed36af10178344feefbae3ae2e94bc514425c4 ssh-agent -k 12:49:10 unset SSH_AUTH_SOCK; 12:49:10 unset SSH_AGENT_PID; 12:49:10 echo Agent pid 39 killed; 12:49:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:49:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:49:10 [ssh-agent] Looking for ssh-agent implementation... 12:49:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:49:10 $ docker exec c0dd5fe46ffb751abf813a07b5ed36af10178344feefbae3ae2e94bc514425c4 ssh-agent 12:49:10 SSH_AUTH_SOCK=/tmp/ssh-Qq2rRTgH3zlH/agent.71 12:49:10 SSH_AGENT_PID=78 12:49:10 Running ssh-add (command line suppressed) 12:49:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6377829268300403748.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6377829268300403748.key) 12:49:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:49:10 + git semver init 12:49:11 2023-03-16 12:49:10,955 [run_init] DEBUG init version:0.0.0 force:False 12:49:11 2023-03-16 12:49:10,956 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 12:49:11 2023-03-16 12:49:10,957 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 12:49:11 2023-03-16 12:49:10,957 [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) 12:49:11 2023-03-16 12:49:11,841 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 12:49:11 2023-03-16 12:49:11,841 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 12:49:11 2023-03-16 12:49:11,841 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:49:11 2023-03-16 12:49:11,841 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:49:11 3.0.0-dev.13 [Pipeline] } 12:49:11 $ docker exec --env ******** --env ******** c0dd5fe46ffb751abf813a07b5ed36af10178344feefbae3ae2e94bc514425c4 ssh-agent -k 12:49:12 unset SSH_AUTH_SOCK; 12:49:12 unset SSH_AGENT_PID; 12:49:12 echo Agent pid 78 killed; 12:49:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:49:12 + git semver [Pipeline] } 12:49:12 $ docker stop --time=1 c0dd5fe46ffb751abf813a07b5ed36af10178344feefbae3ae2e94bc514425c4 12:49:13 $ docker rm -f --volumes c0dd5fe46ffb751abf813a07b5ed36af10178344feefbae3ae2e94bc514425c4 [Pipeline] // withDockerContainer [Pipeline] sh 12:49:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:49:14 Stashed 1 file(s) [Pipeline] echo 12:49:14 [edgeXSemver]: initialized semver on version 3.0.0-dev.13 [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 12:49:14 provisioning config files... 12:49:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15371896637659785656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:49:15 ---> docker-login.sh 12:49:15 nexus3.edgexfoundry.org:10001 12:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:15 Configure a credential helper to remove this warning. See 12:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:15 12:49:15 Login Succeeded 12:49:15 nexus3.edgexfoundry.org:10002 12:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:15 Configure a credential helper to remove this warning. See 12:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:15 12:49:15 Login Succeeded 12:49:15 nexus3.edgexfoundry.org:10003 12:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:15 Configure a credential helper to remove this warning. See 12:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:15 12:49:15 Login Succeeded 12:49:15 nexus3.edgexfoundry.org:10004 12:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:15 Configure a credential helper to remove this warning. See 12:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:15 12:49:15 Login Succeeded 12:49:15 docker.io 12:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:49:15 Configure a credential helper to remove this warning. See 12:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:49:15 12:49:15 Login Succeeded 12:49:15 ---> docker-login.sh ends [Pipeline] } 12:49:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:49:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:49:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:49:15 ========================================================= 12:49:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:49:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:15 + 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 . 12:49:15 Sending build context to Docker daemon 6.394MB 12:49:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:49:15 Step 2/12 : FROM ${BASE} AS builder 12:49:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:49:15 63b65145d645: Pulling fs layer 12:49:15 a2d21d5440eb: Pulling fs layer 12:49:15 935e6c44a52c: Pulling fs layer 12:49:15 94cc34f8dd06: Pulling fs layer 12:49:15 30dea6a524f1: Pulling fs layer 12:49:15 a2aff8979fd8: Pulling fs layer 12:49:15 6808be2612f2: Pulling fs layer 12:49:15 f25807f1079a: Pulling fs layer 12:49:15 a2aff8979fd8: Waiting 12:49:15 6808be2612f2: Waiting 12:49:15 94cc34f8dd06: Waiting 12:49:15 30dea6a524f1: Waiting 12:49:15 f25807f1079a: Waiting 12:49:15 a2d21d5440eb: Download complete 12:49:16 94cc34f8dd06: Verifying Checksum 12:49:16 94cc34f8dd06: Download complete 12:49:16 30dea6a524f1: Verifying Checksum 12:49:16 30dea6a524f1: Download complete 12:49:16 63b65145d645: Verifying Checksum 12:49:16 63b65145d645: Download complete 12:49:16 a2aff8979fd8: Verifying Checksum 12:49:16 a2aff8979fd8: Download complete 12:49:16 63b65145d645: Pull complete 12:49:16 a2d21d5440eb: Pull complete 12:49:16 f25807f1079a: Verifying Checksum 12:49:16 f25807f1079a: Download complete 12:49:17 935e6c44a52c: Download complete 12:49:17 6808be2612f2: Verifying Checksum 12:49:17 6808be2612f2: Download complete 12:49:20 935e6c44a52c: Pull complete 12:49:20 94cc34f8dd06: Pull complete 12:49:20 30dea6a524f1: Pull complete 12:49:20 a2aff8979fd8: Pull complete 12:49:22 6808be2612f2: Pull complete 12:49:23 f25807f1079a: Pull complete 12:49:23 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:49:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:49:23 ---> 3b553350e43f 12:49:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 12:49:28 ---> Running in b388b22b2198 12:49:28 Removing intermediate container b388b22b2198 12:49:28 ---> e96373d635e1 12:49:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:49:28 ---> Running in f586b54b766d 12:49:28 Removing intermediate container f586b54b766d 12:49:28 ---> a48b884b95fd 12:49:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:49:28 ---> Running in 4008e01f4901 12:49:29 Removing intermediate container 4008e01f4901 12:49:29 ---> 7c0570b7d199 12:49:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 12:49:29 ---> Running in 38e38aae0f57 12:49:29 Removing intermediate container 38e38aae0f57 12:49:29 ---> 2aafa9f08c48 12:49:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:49:29 ---> Running in 2c9321ab9edb 12:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:49:29 Still waiting to schedule task 12:49:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2406’ 12:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:49:29 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:49:29 (2/4) Installing libedit (20221030.3.1-r0) 12:49:29 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:49:29 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:49:29 Executing busybox-1.35.0-r29.trigger 12:49:29 OK: 269 MiB in 57 packages 12:49:30 Removing intermediate container 2c9321ab9edb 12:49:30 ---> 60cf88e601bc 12:49:30 Step 8/12 : WORKDIR /device-mqtt-go 12:49:30 ---> Running in f2c0429da6fa 12:49:30 Removing intermediate container f2c0429da6fa 12:49:30 ---> 8ab4a55f2e84 12:49:30 Step 9/12 : COPY go.mod vendor* ./ 12:49:30 ---> 413e78b46e79 12:49:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:49:30 ---> Running in f2478781fb5d 12:49:57 Removing intermediate container f2478781fb5d 12:49:57 ---> 1a5c32467e32 12:49:57 Step 11/12 : COPY . . 12:49:57 ---> 3a2a325d02c6 12:49:57 Step 12/12 : RUN $MAKE 12:49:57 ---> Running in 800f67cc1f11 12:49:57 noop 12:49:57 Removing intermediate container 800f67cc1f11 12:49:57 ---> fb0a1f878415 12:49:58 Successfully built fb0a1f878415 12:49:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:58 + docker inspect -f . ci-base-image-x86_64 12:49:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:58 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 12:49:58 $ 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 12:49:58 $ docker top 8c5c6bf71ee1d2c7845f3673076f7a71666ac12a252817fce4cfc08814d26ed9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:49:59 + go version 12:49:59 go version go1.20.2 linux/amd64 [Pipeline] } 12:49:59 $ docker stop --time=1 8c5c6bf71ee1d2c7845f3673076f7a71666ac12a252817fce4cfc08814d26ed9 12:50:00 $ docker rm -f --volumes 8c5c6bf71ee1d2c7845f3673076f7a71666ac12a252817fce4cfc08814d26ed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:00 + docker inspect -f . ci-base-image-x86_64 12:50:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:00 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 12:50:01 $ 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 12:50:01 $ docker top 69ecefa127dcba475c975cbe585a78ba1ad97d331de1c1a36bab0f5a6e631e05 -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 12:50:01 + make test 12:50:01 go test ./... -coverprofile=coverage.out ./... 12:50:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:50:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:50:16 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:50:16 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.2% of statements 12:50:20 go vet ./... 12:50:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:50:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:50:23 ./bin/test-attribution-txt.sh [Pipeline] echo 12:50:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:50:23 $ docker stop --time=1 69ecefa127dcba475c975cbe585a78ba1ad97d331de1c1a36bab0f5a6e631e05 12:50:27 $ docker rm -f --volumes 69ecefa127dcba475c975cbe585a78ba1ad97d331de1c1a36bab0f5a6e631e05 [Pipeline] // withDockerContainer [Pipeline] sh 12:50:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:50:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:50:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:50:28 + ls -al . 12:50:28 total 180 12:50:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 12:50 . 12:50:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 12:48 .. 12:50:28 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 12:48 .dockerignore 12:50:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 12:49 .git 12:50:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 12:48 .github 12:50:28 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 12:48 .gitignore 12:50:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 12:48 .golangci.yml 12:50:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 12:49 .semver 12:50:28 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 16 12:48 Attribution.txt 12:50:28 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 16 12:48 CHANGELOG.md 12:50:28 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 16 12:48 Dockerfile 12:50:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 12:48 GOVERNANCE.md 12:50:28 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 12:48 Jenkinsfile 12:50:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 12:48 LICENSE 12:50:28 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 16 12:48 Makefile 12:50:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 12:48 OWNERS.md 12:50:28 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 16 12:48 README.md 12:50:28 -rw-rw-r-- 1 jenkins jenkins 12 Mar 16 12:49 VERSION 12:50:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 12:48 bin 12:50:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 12:48 cmd 12:50:28 -rw-r--r-- 1 jenkins jenkins 18047 Mar 16 12:50 coverage.out 12:50:28 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 16 12:48 go.mod 12:50:28 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 12:48 go.sum 12:50:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 12:48 internal 12:50:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 12:48 mock 12:50:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 12:48 snap 12:50:28 -rw-rw-r-- 1 jenkins jenkins 227 Mar 16 12:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:28 + 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=1f5b40587cdb269dc0901b5b892d918e86924932 --label arch=amd64 --label version=3.0.0-dev.13 . 12:50:28 Sending build context to Docker daemon 6.413MB 12:50:28 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 12:50:28 Step 2/24 : FROM ${BASE} AS builder 12:50:28 ---> fb0a1f878415 12:50:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 12:50:28 ---> Running in 3bb5118db6b1 12:50:28 Removing intermediate container 3bb5118db6b1 12:50:28 ---> 84d0ff338ae0 12:50:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:50:28 ---> Running in 6dcbec7ec2fb 12:50:28 Removing intermediate container 6dcbec7ec2fb 12:50:28 ---> 19a88221eee2 12:50:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:50:28 ---> Running in 8d43acfcbf27 12:50:29 Removing intermediate container 8d43acfcbf27 12:50:29 ---> a89fa511eb4e 12:50:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 12:50:29 ---> Running in eca18fa4225c 12:50:29 Removing intermediate container eca18fa4225c 12:50:29 ---> 9e011f75ab9e 12:50:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:50:29 ---> Running in 2e44b9f3a634 12:50:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:50:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:50:29 OK: 269 MiB in 57 packages 12:50:30 Removing intermediate container 2e44b9f3a634 12:50:30 ---> 790767177dab 12:50:30 Step 8/24 : WORKDIR /device-mqtt-go 12:50:30 ---> Running in 6ba04b2ebbfe 12:50:30 Removing intermediate container 6ba04b2ebbfe 12:50:30 ---> f13b5bdb460d 12:50:30 Step 9/24 : COPY go.mod vendor* ./ 12:50:30 ---> 18b60b9974b6 12:50:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:50:30 ---> Running in 06b1ef52c2c0 12:50:31 Removing intermediate container 06b1ef52c2c0 12:50:31 ---> a85adecc3ec7 12:50:31 Step 11/24 : COPY . . 12:50:31 ---> 4b5edcdc66ca 12:50:31 Step 12/24 : RUN $MAKE 12:50:31 ---> Running in 6379472a7f48 12:50:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 12:50:49 Removing intermediate container 6379472a7f48 12:50:49 ---> 63beab545c71 12:50:49 Step 13/24 : FROM alpine:3.17 12:50:49 3.17: Pulling from library/alpine 12:50:49 63b65145d645: Already exists 12:50:49 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 12:50:49 Status: Downloaded newer image for alpine:3.17 12:50:49 ---> b2aa39c304c2 12:50:49 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:50:49 ---> Running in 5c64f31a2bbc 12:50:49 Removing intermediate container 5c64f31a2bbc 12:50:49 ---> da6a2ab4124b 12:50:49 Step 15/24 : RUN apk add --update --no-cache dumb-init 12:50:49 ---> Running in 6c8b57edfda8 12:50:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:50:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:50:50 (1/1) Installing dumb-init (1.2.5-r2) 12:50:50 Executing busybox-1.35.0-r29.trigger 12:50:50 OK: 7 MiB in 16 packages 12:50:50 Removing intermediate container 6c8b57edfda8 12:50:50 ---> e73d9e34aeb6 12:50:50 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:50:51 ---> faaee0fcb46f 12:50:51 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:50:51 ---> acbdbbea2164 12:50:51 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:50:51 ---> d23ee0cd454f 12:50:51 Step 19/24 : EXPOSE 59982 12:50:51 ---> Running in 882babac6823 12:50:52 Removing intermediate container 882babac6823 12:50:52 ---> 86fa03a88447 12:50:52 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:50:52 ---> Running in 5ea6bafd3040 12:50:52 Removing intermediate container 5ea6bafd3040 12:50:52 ---> eaa00a5d5e8a 12:50:52 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 12:50:52 ---> Running in a82bed663cf7 12:50:52 Removing intermediate container a82bed663cf7 12:50:52 ---> c6cce95eb653 12:50:52 Step 22/24 : LABEL arch=amd64 12:50:52 ---> Running in 48f8f30292c5 12:50:52 Removing intermediate container 48f8f30292c5 12:50:52 ---> 67d22b296667 12:50:52 Step 23/24 : LABEL git_sha=1f5b40587cdb269dc0901b5b892d918e86924932 12:50:52 ---> Running in 6764c7645410 12:50:52 Removing intermediate container 6764c7645410 12:50:52 ---> e82a8c6b5bd0 12:50:52 Step 24/24 : LABEL version=3.0.0-dev.13 12:50:52 ---> Running in 103ead022604 12:50:52 Removing intermediate container 103ead022604 12:50:52 ---> 1aa02ad6650e 12:50:52 [Warning] One or more build-args [ARCH] were not consumed 12:50:52 Successfully built 1aa02ad6650e 12:50:52 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:50:52 provisioning config files... 12:50:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12813450006724623460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:50:52 ---> docker-login.sh 12:50:52 nexus3.edgexfoundry.org:10001 12:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:52 Configure a credential helper to remove this warning. See 12:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:52 12:50:52 Login Succeeded 12:50:52 nexus3.edgexfoundry.org:10002 12:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:52 Configure a credential helper to remove this warning. See 12:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:52 12:50:52 Login Succeeded 12:50:52 nexus3.edgexfoundry.org:10003 12:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:52 Configure a credential helper to remove this warning. See 12:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:52 12:50:52 Login Succeeded 12:50:52 nexus3.edgexfoundry.org:10004 12:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:52 Configure a credential helper to remove this warning. See 12:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:52 12:50:52 Login Succeeded 12:50:52 docker.io 12:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:50:53 Configure a credential helper to remove this warning. See 12:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:50:53 12:50:53 Login Succeeded 12:50:53 ---> docker-login.sh ends [Pipeline] } 12:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:50:53 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 12:50:53 1f5b40587cdb269dc0901b5b892d918e86924932 12:50:53 latest 12:50:53 3.0.0-dev.13 12:50:53 1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13 12:50:53 main 12:50:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1f5b40587cdb269dc0901b5b892d918e86924932 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1f5b40587cdb269dc0901b5b892d918e86924932 12:50:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:50:53 52754ce759d6: Preparing 12:50:53 98a37ded3171: Preparing 12:50:53 0a6d63e9b348: Preparing 12:50:53 3715002ecc56: Preparing 12:50:53 7cd52847ad77: Preparing 12:50:53 7cd52847ad77: Layer already exists 12:50:53 3715002ecc56: Pushed 12:50:53 52754ce759d6: Pushed 12:50:53 98a37ded3171: Pushed 12:50:56 0a6d63e9b348: Pushed 12:50:56 1f5b40587cdb269dc0901b5b892d918e86924932: digest: sha256:7156cf9960a6c4ce7c5c0df707cb375ec155f774685341c3dfcf6de6bdc3bf33 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:56 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 12:50:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:50:57 52754ce759d6: Preparing 12:50:57 98a37ded3171: Preparing 12:50:57 0a6d63e9b348: Preparing 12:50:57 3715002ecc56: Preparing 12:50:57 7cd52847ad77: Preparing 12:50:57 3715002ecc56: Layer already exists 12:50:57 52754ce759d6: Layer already exists 12:50:57 98a37ded3171: Layer already exists 12:50:57 0a6d63e9b348: Layer already exists 12:50:57 7cd52847ad77: Layer already exists 12:50:57 latest: digest: sha256:7156cf9960a6c4ce7c5c0df707cb375ec155f774685341c3dfcf6de6bdc3bf33 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.13 12:50:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:50:57 52754ce759d6: Preparing 12:50:57 98a37ded3171: Preparing 12:50:57 0a6d63e9b348: Preparing 12:50:57 3715002ecc56: Preparing 12:50:57 7cd52847ad77: Preparing 12:50:57 7cd52847ad77: Layer already exists 12:50:57 3715002ecc56: Layer already exists 12:50:57 0a6d63e9b348: Layer already exists 12:50:57 52754ce759d6: Layer already exists 12:50:57 98a37ded3171: Layer already exists 12:50:57 3.0.0-dev.13: digest: sha256:7156cf9960a6c4ce7c5c0df707cb375ec155f774685341c3dfcf6de6bdc3bf33 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:57 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13 12:50:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:50:58 52754ce759d6: Preparing 12:50:58 98a37ded3171: Preparing 12:50:58 0a6d63e9b348: Preparing 12:50:58 3715002ecc56: Preparing 12:50:58 7cd52847ad77: Preparing 12:50:58 98a37ded3171: Layer already exists 12:50:58 3715002ecc56: Layer already exists 12:50:58 52754ce759d6: Layer already exists 12:50:58 0a6d63e9b348: Layer already exists 12:50:58 7cd52847ad77: Layer already exists 12:50:58 1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13: digest: sha256:7156cf9960a6c4ce7c5c0df707cb375ec155f774685341c3dfcf6de6bdc3bf33 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 12:50:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:50:58 52754ce759d6: Preparing 12:50:58 98a37ded3171: Preparing 12:50:58 0a6d63e9b348: Preparing 12:50:58 3715002ecc56: Preparing 12:50:58 7cd52847ad77: Preparing 12:50:58 7cd52847ad77: Layer already exists 12:50:58 0a6d63e9b348: Layer already exists 12:50:58 98a37ded3171: Layer already exists 12:50:58 52754ce759d6: Layer already exists 12:50:58 3715002ecc56: Layer already exists 12:50:58 main: digest: sha256:7156cf9960a6c4ce7c5c0df707cb375ec155f774685341c3dfcf6de6bdc3bf33 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:50:58 ===================================================== [Pipeline] echo 12:50:58 taggedImages: 12:50:58 - nexus3.edgexfoundry.org:10004/device-mqtt:1f5b40587cdb269dc0901b5b892d918e86924932 12:50:58 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 12:50:58 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.13 12:50:58 - nexus3.edgexfoundry.org:10004/device-mqtt:1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13 12:50:58 - 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 12:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:59 12:50:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:59 latest: Pulling from edgex-lftools-log-publisher 12:50:59 5eb5b503b376: Pulling fs layer 12:50:59 5c69ac0246d0: Pulling fs layer 12:50:59 ec43610c2a17: Pulling fs layer 12:50:59 3a2ae6a8a46f: Pulling fs layer 12:50:59 33b1e0a273af: Pulling fs layer 12:50:59 5d3b04190fa2: Pulling fs layer 12:50:59 2f39f015ded8: Pulling fs layer 12:50:59 5d3b04190fa2: Waiting 12:50:59 3a2ae6a8a46f: Waiting 12:50:59 33b1e0a273af: Waiting 12:50:59 2f39f015ded8: Waiting 12:50:59 5c69ac0246d0: Verifying Checksum 12:50:59 5c69ac0246d0: Download complete 12:50:59 3a2ae6a8a46f: Verifying Checksum 12:50:59 3a2ae6a8a46f: Download complete 12:50:59 33b1e0a273af: Verifying Checksum 12:50:59 33b1e0a273af: Download complete 12:50:59 5d3b04190fa2: Download complete 12:50:59 ec43610c2a17: Verifying Checksum 12:50:59 ec43610c2a17: Download complete 12:50:59 5eb5b503b376: Verifying Checksum 12:50:59 5eb5b503b376: Download complete 12:51:00 2f39f015ded8: Verifying Checksum 12:51:00 2f39f015ded8: Download complete 12:51:00 5eb5b503b376: Pull complete 12:51:00 5c69ac0246d0: Pull complete 12:51:01 ec43610c2a17: Pull complete 12:51:01 3a2ae6a8a46f: Pull complete 12:51:01 33b1e0a273af: Pull complete 12:51:01 5d3b04190fa2: Pull complete 12:51:05 2f39f015ded8: Pull complete 12:51:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:51:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:51:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:51:06 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 12:51:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:51:09 $ docker top 02ced4608b992fae321e03b2d1fb84296cb49b69a1720a8b1bb9feeaf9080437 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:51:09 ---> job-cost.sh 12:51:09 lf-activate-venv: SKIPPING 12:51:09 INFO: No Stack... 12:51:09 INFO: Retrieving Pricing Info for: v3-standard-8 12:51:10 INFO: Archiving Costs [Pipeline] sh 12:51:10 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 12:51:10 + cut -d, -f6 [Pipeline] lock 12:51:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-97-stack-cost] 12:51:10 Resource [jenkins-edgexfoundry-device-mqtt-go-main-97-stack-cost] did not exist. Created. 12:51:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:51:10 + echo total: 0.2199999988079071 [Pipeline] stash 12:51:10 Stashed 1 file(s) [Pipeline] } 12:51:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } 12:51:10 $ docker stop --time=1 02ced4608b992fae321e03b2d1fb84296cb49b69a1720a8b1bb9feeaf9080437 12:51:12 $ docker rm -f --volumes 02ced4608b992fae321e03b2d1fb84296cb49b69a1720a8b1bb9feeaf9080437 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:52:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2408 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 12:52:55 Running in /w/workspace/device-mqtt-go/97 [Pipeline] { [Pipeline] checkout 12:52:55 Selected Git installation does not exist. Using Default 12:52:55 The recommended git tool is: NONE 12:53:01 using credential edgex-jenkins-ssh 12:53:01 Cloning the remote Git repository 12:53:01 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 12:53:01 > git init /w/workspace/device-mqtt-go/97 # timeout=10 12:53:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 12:53:01 > git --version # timeout=10 12:53:01 > git --version # 'git version 2.25.1' 12:53:01 using GIT_SSH to set credentials SSH Credentials for GitHub 12:53:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:53:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 12:53:03 Avoid second fetch 12:53:03 Checking out Revision 1f5b40587cdb269dc0901b5b892d918e86924932 (main) 12:53:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:53:03 > git config core.sparsecheckout # timeout=10 12:53:03 > git checkout -f 1f5b40587cdb269dc0901b5b892d918e86924932 # timeout=10 12:53:04 Commit message: "refactor(snap): Update command and metadata sourcing (#529)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:53:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:53:05 % Total % Received % Xferd Average Speed Time Time Time Current 12:53:05 Dload Upload Total Spent Left Speed 12:53:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 12:53:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:53:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:53:06 + sudo tee /etc/docker/daemon.new 12:53:06 { 12:53:06 "registry-mirrors": [ 12:53:06 "https://nexus3.edgexfoundry.org:10001" 12:53:06 ], 12:53:06 "bip": "10.250.0.254/24", 12:53:06 "hosts": [ 12:53:06 "tcp://0.0.0.0:5555", 12:53:06 "unix:///var/run/docker.sock" 12:53:06 ], 12:53:06 "mtu": 1458, 12:53:06 "selinux-enabled": true, 12:53:06 "seccomp-profile": "/etc/docker/seccomp.json" 12:53:06 } [Pipeline] sh 12:53:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:53:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:25 provisioning config files... 12:53:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/97@tmp/config14492395473840978779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:25 ---> docker-login.sh 12:53:25 nexus3.edgexfoundry.org:10001 12:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:26 Configure a credential helper to remove this warning. See 12:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:26 12:53:26 Login Succeeded 12:53:26 nexus3.edgexfoundry.org:10002 12:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:26 Configure a credential helper to remove this warning. See 12:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:26 12:53:26 Login Succeeded 12:53:26 nexus3.edgexfoundry.org:10003 12:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:26 Configure a credential helper to remove this warning. See 12:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:26 12:53:26 Login Succeeded 12:53:26 nexus3.edgexfoundry.org:10004 12:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:27 Configure a credential helper to remove this warning. See 12:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:27 12:53:27 Login Succeeded 12:53:27 docker.io 12:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:27 Configure a credential helper to remove this warning. See 12:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:27 12:53:27 Login Succeeded 12:53:27 ---> docker-login.sh ends [Pipeline] } 12:53:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:28 ========================================================= 12:53:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:53:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:28 + 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 . 12:53:28 Sending build context to Docker daemon 3.318MB 12:53:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:53:28 Step 2/12 : FROM ${BASE} AS builder 12:53:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:53:28 af6eaf76a39c: Pulling fs layer 12:53:28 55522c791124: Pulling fs layer 12:53:28 ce5c4a1c91eb: Pulling fs layer 12:53:28 169dfbe0d373: Pulling fs layer 12:53:28 e1ff8fa3b103: Pulling fs layer 12:53:28 52ebb69f0ebf: Pulling fs layer 12:53:28 5abe8eddf0d5: Pulling fs layer 12:53:28 169dfbe0d373: Waiting 12:53:28 52ebb69f0ebf: Waiting 12:53:28 5abe8eddf0d5: Waiting 12:53:28 e1ff8fa3b103: Waiting 12:53:28 55522c791124: Verifying Checksum 12:53:28 55522c791124: Download complete 12:53:28 169dfbe0d373: Verifying Checksum 12:53:28 169dfbe0d373: Download complete 12:53:28 e1ff8fa3b103: Verifying Checksum 12:53:28 e1ff8fa3b103: Download complete 12:53:28 af6eaf76a39c: Verifying Checksum 12:53:29 af6eaf76a39c: Pull complete 12:53:29 5abe8eddf0d5: Verifying Checksum 12:53:29 5abe8eddf0d5: Download complete 12:53:30 55522c791124: Pull complete 12:53:31 ce5c4a1c91eb: Verifying Checksum 12:53:31 ce5c4a1c91eb: Download complete 12:53:31 52ebb69f0ebf: Verifying Checksum 12:53:31 52ebb69f0ebf: Download complete 12:53:43 ce5c4a1c91eb: Pull complete 12:53:43 169dfbe0d373: Pull complete 12:53:43 e1ff8fa3b103: Pull complete 12:53:49 52ebb69f0ebf: Pull complete 12:53:51 5abe8eddf0d5: Pull complete 12:53:51 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 12:53:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:53:51 ---> 6cb57ee374ae 12:53:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 12:53:53 ---> Running in 9c628dfd5350 12:53:53 Removing intermediate container 9c628dfd5350 12:53:53 ---> fde1a0da7d66 12:53:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:53:53 ---> Running in f9d45720350d 12:53:53 Removing intermediate container f9d45720350d 12:53:53 ---> 6ec1ebbbbea3 12:53:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:53:53 ---> Running in 0c19d5ce8062 12:53:53 Removing intermediate container 0c19d5ce8062 12:53:53 ---> 990c9ed9dd23 12:53:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 12:53:53 ---> Running in 57c555ba8861 12:53:54 Removing intermediate container 57c555ba8861 12:53:54 ---> 6272f1d97b6c 12:53:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:53:54 ---> Running in a05bc19becb4 12:53:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:53:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:53:57 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:53:57 (2/4) Installing libedit (20221030.3.1-r0) 12:53:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:53:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:53:57 Executing busybox-1.35.0-r29.trigger 12:53:57 OK: 268 MiB in 57 packages 12:53:58 Removing intermediate container a05bc19becb4 12:53:58 ---> b8294b35d4ac 12:53:58 Step 8/12 : WORKDIR /device-mqtt-go 12:53:58 ---> Running in c90907c55b8c 12:53:58 Removing intermediate container c90907c55b8c 12:53:58 ---> d7dfeeb7b125 12:53:58 Step 9/12 : COPY go.mod vendor* ./ 12:53:59 ---> 18237f438771 12:53:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:53:59 ---> Running in 1690e439e38d 12:55:07 Removing intermediate container 1690e439e38d 12:55:07 ---> 2979e56e9131 12:55:07 Step 11/12 : COPY . . 12:55:07 ---> ea15409390ee 12:55:07 Step 12/12 : RUN $MAKE 12:55:07 ---> Running in a905e53f8433 12:55:07 noop 12:55:07 Removing intermediate container a905e53f8433 12:55:07 ---> 7eecb51b02bf 12:55:07 Successfully built 7eecb51b02bf 12:55:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:07 + docker inspect -f . ci-base-image-arm64 12:55:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:07 prd-ubuntu20.04-docker-arm64-4c-16g-2408 does not seem to be running inside a container 12:55:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/97 -v /w/workspace/device-mqtt-go/97:/w/workspace/device-mqtt-go/97:rw,z -v /w/workspace/device-mqtt-go/97@tmp:/w/workspace/device-mqtt-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:55:09 $ docker top f880ff7b047133f1fd11ca902e8f0e90058847d5cab8a2a0a622dae080c9b697 -eo pid,comm [Pipeline] { [Pipeline] sh 12:55:09 + go version 12:55:09 go version go1.20.2 linux/arm64 [Pipeline] } 12:55:09 $ docker stop --time=1 f880ff7b047133f1fd11ca902e8f0e90058847d5cab8a2a0a622dae080c9b697 12:55:13 $ docker rm -f --volumes f880ff7b047133f1fd11ca902e8f0e90058847d5cab8a2a0a622dae080c9b697 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:13 + docker inspect -f . ci-base-image-arm64 12:55:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:13 prd-ubuntu20.04-docker-arm64-4c-16g-2408 does not seem to be running inside a container 12:55:13 $ 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/97 -v /w/workspace/device-mqtt-go/97:/w/workspace/device-mqtt-go/97:rw,z -v /w/workspace/device-mqtt-go/97@tmp:/w/workspace/device-mqtt-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:55:14 $ docker top bfb73be0bd7454d57692ccd398ca4f7f12e3d0cd56f8a276a4dbf1aef8f10eeb -eo pid,comm [Pipeline] { [Pipeline] sh 12:55:15 + git config --global --add safe.directory /w/workspace/device-mqtt-go/97 [Pipeline] fileExists [Pipeline] sh 12:55:16 + make test 12:55:16 go test ./... -coverprofile=coverage.out ./... 12:55:48 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:57:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:57:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:57:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.080s coverage: 22.2% of statements 12:57:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:57:55 go vet ./... 12:58:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:58:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:58:37 ./bin/test-attribution-txt.sh [Pipeline] echo 12:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:58:37 $ docker stop --time=1 bfb73be0bd7454d57692ccd398ca4f7f12e3d0cd56f8a276a4dbf1aef8f10eeb 12:58:40 $ docker rm -f --volumes bfb73be0bd7454d57692ccd398ca4f7f12e3d0cd56f8a276a4dbf1aef8f10eeb [Pipeline] // withDockerContainer [Pipeline] sh 12:58:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:58:41 Warning: overwriting stash ‘coverage-report’ 12:58:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:42 + ls -al . 12:58:42 total 176 12:58:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 12:55 . 12:58:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 12:53 .. 12:58:42 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 12:53 .dockerignore 12:58:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 12:53 .git 12:58:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 12:53 .github 12:58:42 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 12:53 .gitignore 12:58:42 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 12:53 .golangci.yml 12:58:42 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 16 12:53 Attribution.txt 12:58:42 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 16 12:53 CHANGELOG.md 12:58:42 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 16 12:53 Dockerfile 12:58:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 12:53 GOVERNANCE.md 12:58:42 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 12:53 Jenkinsfile 12:58:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 12:53 LICENSE 12:58:42 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 16 12:53 Makefile 12:58:42 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 12:53 OWNERS.md 12:58:42 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 16 12:53 README.md 12:58:42 -rw-rw-r-- 1 jenkins jenkins 12 Mar 16 12:49 VERSION 12:58:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 12:53 bin 12:58:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 12:53 cmd 12:58:42 -rw-r--r-- 1 jenkins jenkins 18047 Mar 16 12:57 coverage.out 12:58:42 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 16 12:53 go.mod 12:58:42 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 12:53 go.sum 12:58:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 12:53 internal 12:58:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 12:53 mock 12:58:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 12:53 snap 12:58:42 -rw-rw-r-- 1 jenkins jenkins 227 Mar 16 12:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:42 + 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=1f5b40587cdb269dc0901b5b892d918e86924932 --label arch=arm64 --label version=3.0.0-dev.13 . 12:58:43 Sending build context to Docker daemon 3.337MB 12:58:43 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 12:58:43 Step 2/24 : FROM ${BASE} AS builder 12:58:43 ---> 7eecb51b02bf 12:58:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 12:58:43 ---> Running in bf9280d76818 12:58:43 Removing intermediate container bf9280d76818 12:58:43 ---> 13162e4519ed 12:58:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:58:43 ---> Running in 7bad651ec741 12:58:43 Removing intermediate container 7bad651ec741 12:58:43 ---> c05dbeaf8039 12:58:43 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:58:43 ---> Running in 3d5e9446985d 12:58:44 Removing intermediate container 3d5e9446985d 12:58:44 ---> 1e5bfe30d3e5 12:58:44 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 12:58:44 ---> Running in 8408de1f4530 12:58:44 Removing intermediate container 8408de1f4530 12:58:44 ---> f58c67d5f315 12:58:44 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:44 ---> Running in 5a1eaee7bd23 12:58:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:58:47 OK: 268 MiB in 57 packages 12:58:48 Removing intermediate container 5a1eaee7bd23 12:58:48 ---> 66d67974166f 12:58:48 Step 8/24 : WORKDIR /device-mqtt-go 12:58:48 ---> Running in 254beffb85d5 12:58:48 Removing intermediate container 254beffb85d5 12:58:48 ---> dd409785bc1b 12:58:48 Step 9/24 : COPY go.mod vendor* ./ 12:58:49 ---> b6761335360c 12:58:49 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:49 ---> Running in 352ebaea4504 12:58:53 Removing intermediate container 352ebaea4504 12:58:53 ---> 26db1d1b1362 12:58:53 Step 11/24 : COPY . . 12:58:53 ---> 88732f36acfd 12:58:53 Step 12/24 : RUN $MAKE 12:58:54 ---> Running in f80c99541ae8 12:58:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 13:01:20 Removing intermediate container f80c99541ae8 13:01:20 ---> 01d1066fd408 13:01:20 Step 13/24 : FROM alpine:3.17 13:01:20 3.17: Pulling from library/alpine 13:01:20 af6eaf76a39c: Already exists 13:01:20 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:01:20 Status: Downloaded newer image for alpine:3.17 13:01:20 ---> d74e625d9115 13:01:20 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 13:01:20 ---> Running in 241600986f53 13:01:20 Removing intermediate container 241600986f53 13:01:20 ---> 6d1b3bf57a0d 13:01:20 Step 15/24 : RUN apk add --update --no-cache dumb-init 13:01:20 ---> Running in 66eedb4ec8b9 13:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:20 (1/1) Installing dumb-init (1.2.5-r2) 13:01:20 Executing busybox-1.35.0-r29.trigger 13:01:20 OK: 8 MiB in 16 packages 13:01:20 Removing intermediate container 66eedb4ec8b9 13:01:20 ---> 91b734b33d32 13:01:20 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 13:01:20 ---> 25a0b712c9fb 13:01:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 13:01:20 ---> 28246cefffd0 13:01:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 13:01:20 ---> 8ff974362077 13:01:20 Step 19/24 : EXPOSE 59982 13:01:20 ---> Running in ca2a227d6eb2 13:01:20 Removing intermediate container ca2a227d6eb2 13:01:20 ---> 194711a129d9 13:01:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 13:01:20 ---> Running in 38d5771ec09d 13:01:20 Removing intermediate container 38d5771ec09d 13:01:20 ---> 158a2253bb87 13:01:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 13:01:20 ---> Running in 2aede922fc00 13:01:20 Removing intermediate container 2aede922fc00 13:01:20 ---> c7c0252b8dbd 13:01:20 Step 22/24 : LABEL arch=arm64 13:01:20 ---> Running in 44e740d78fad 13:01:20 Removing intermediate container 44e740d78fad 13:01:20 ---> e0d1ce904955 13:01:20 Step 23/24 : LABEL git_sha=1f5b40587cdb269dc0901b5b892d918e86924932 13:01:20 ---> Running in aaec160ffbd9 13:01:20 Removing intermediate container aaec160ffbd9 13:01:20 ---> d05ba2d25b9e 13:01:20 Step 24/24 : LABEL version=3.0.0-dev.13 13:01:20 ---> Running in 8ebb634660b7 13:01:20 Removing intermediate container 8ebb634660b7 13:01:20 ---> 03671fbbaa65 13:01:20 [Warning] One or more build-args [ARCH] were not consumed 13:01:20 Successfully built 03671fbbaa65 13:01:20 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 13:01:20 provisioning config files... 13:01:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/97@tmp/config14044355696368623628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:20 ---> docker-login.sh 13:01:20 nexus3.edgexfoundry.org:10001 13:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:20 Configure a credential helper to remove this warning. See 13:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:20 13:01:20 Login Succeeded 13:01:20 nexus3.edgexfoundry.org:10002 13:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:21 Configure a credential helper to remove this warning. See 13:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:21 13:01:21 Login Succeeded 13:01:21 nexus3.edgexfoundry.org:10003 13:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:21 Configure a credential helper to remove this warning. See 13:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:21 13:01:21 Login Succeeded 13:01:21 nexus3.edgexfoundry.org:10004 13:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:22 Configure a credential helper to remove this warning. See 13:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:22 13:01:22 Login Succeeded 13:01:22 docker.io 13:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:22 Configure a credential helper to remove this warning. See 13:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:22 13:01:22 Login Succeeded 13:01:22 ---> docker-login.sh ends [Pipeline] } 13:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:01:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:22 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 13:01:22 1f5b40587cdb269dc0901b5b892d918e86924932 13:01:22 latest 13:01:22 3.0.0-dev.13 13:01:22 1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13 13:01:22 main 13:01:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:23 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1f5b40587cdb269dc0901b5b892d918e86924932 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1f5b40587cdb269dc0901b5b892d918e86924932 13:01:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:01:23 470efe807284: Preparing 13:01:23 e786bde9a200: Preparing 13:01:23 dd056f017321: Preparing 13:01:23 ce3325d07926: Preparing 13:01:23 edf70074bd40: Preparing 13:01:23 edf70074bd40: Layer already exists 13:01:23 e786bde9a200: Pushed 13:01:23 470efe807284: Pushed 13:01:23 ce3325d07926: Pushed 13:01:30 dd056f017321: Pushed 13:01:30 1f5b40587cdb269dc0901b5b892d918e86924932: digest: sha256:249f84fffae4d25db5a4bcf14be330b7257b7f5b938bd711b6604a7d511cc5d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 13:01:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:01:31 470efe807284: Preparing 13:01:31 e786bde9a200: Preparing 13:01:31 dd056f017321: Preparing 13:01:31 ce3325d07926: Preparing 13:01:31 edf70074bd40: Preparing 13:01:31 e786bde9a200: Layer already exists 13:01:31 dd056f017321: Layer already exists 13:01:31 ce3325d07926: Layer already exists 13:01:31 edf70074bd40: Layer already exists 13:01:31 470efe807284: Layer already exists 13:01:31 latest: digest: sha256:249f84fffae4d25db5a4bcf14be330b7257b7f5b938bd711b6604a7d511cc5d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.13 13:01:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:01:32 470efe807284: Preparing 13:01:32 e786bde9a200: Preparing 13:01:32 dd056f017321: Preparing 13:01:32 ce3325d07926: Preparing 13:01:32 edf70074bd40: Preparing 13:01:32 ce3325d07926: Layer already exists 13:01:32 e786bde9a200: Layer already exists 13:01:32 edf70074bd40: Layer already exists 13:01:32 470efe807284: Layer already exists 13:01:32 dd056f017321: Layer already exists 13:01:32 3.0.0-dev.13: digest: sha256:249f84fffae4d25db5a4bcf14be330b7257b7f5b938bd711b6604a7d511cc5d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13 13:01:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:01:33 470efe807284: Preparing 13:01:33 e786bde9a200: Preparing 13:01:33 dd056f017321: Preparing 13:01:33 ce3325d07926: Preparing 13:01:33 edf70074bd40: Preparing 13:01:33 edf70074bd40: Layer already exists 13:01:33 e786bde9a200: Layer already exists 13:01:33 dd056f017321: Layer already exists 13:01:33 470efe807284: Layer already exists 13:01:33 ce3325d07926: Layer already exists 13:01:33 1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13: digest: sha256:249f84fffae4d25db5a4bcf14be330b7257b7f5b938bd711b6604a7d511cc5d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 13:01:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:01:34 470efe807284: Preparing 13:01:34 e786bde9a200: Preparing 13:01:34 dd056f017321: Preparing 13:01:34 ce3325d07926: Preparing 13:01:34 edf70074bd40: Preparing 13:01:34 e786bde9a200: Layer already exists 13:01:34 ce3325d07926: Layer already exists 13:01:34 edf70074bd40: Layer already exists 13:01:34 470efe807284: Layer already exists 13:01:34 dd056f017321: Layer already exists 13:01:34 main: digest: sha256:249f84fffae4d25db5a4bcf14be330b7257b7f5b938bd711b6604a7d511cc5d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:01:34 ===================================================== [Pipeline] echo 13:01:34 taggedImages: 13:01:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1f5b40587cdb269dc0901b5b892d918e86924932 13:01:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 13:01:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.13 13:01:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1f5b40587cdb269dc0901b5b892d918e86924932-3.0.0-dev.13 13:01:34 - 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 13:01:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:34 13:01:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:35 arm64: Pulling from edgex-lftools-log-publisher 13:01:35 8998bd30e6a1: Pulling fs layer 13:01:35 04944245beec: Pulling fs layer 13:01:35 699f458cf7ca: Pulling fs layer 13:01:35 765212b225bb: Pulling fs layer 13:01:35 f23df028b6ca: Pulling fs layer 13:01:35 d65c8cfc05b1: Pulling fs layer 13:01:35 2437ff75d9bd: Pulling fs layer 13:01:35 765212b225bb: Waiting 13:01:35 f23df028b6ca: Waiting 13:01:35 2437ff75d9bd: Waiting 13:01:35 d65c8cfc05b1: Waiting 13:01:35 04944245beec: Verifying Checksum 13:01:35 04944245beec: Download complete 13:01:35 765212b225bb: Verifying Checksum 13:01:35 765212b225bb: Download complete 13:01:35 f23df028b6ca: Download complete 13:01:35 d65c8cfc05b1: Verifying Checksum 13:01:35 d65c8cfc05b1: Download complete 13:01:35 699f458cf7ca: Verifying Checksum 13:01:35 699f458cf7ca: Download complete 13:01:35 8998bd30e6a1: Verifying Checksum 13:01:35 8998bd30e6a1: Download complete 13:01:38 2437ff75d9bd: Verifying Checksum 13:01:38 2437ff75d9bd: Download complete 13:01:40 8998bd30e6a1: Pull complete 13:01:40 04944245beec: Pull complete 13:01:42 699f458cf7ca: Pull complete 13:01:42 765212b225bb: Pull complete 13:01:43 f23df028b6ca: Pull complete 13:01:43 d65c8cfc05b1: Pull complete 13:01:58 2437ff75d9bd: Pull complete 13:01:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:01:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:58 prd-ubuntu20.04-docker-arm64-4c-16g-2408 does not seem to be running inside a container 13:01:58 $ 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/97 -v /w/workspace/device-mqtt-go/97:/w/workspace/device-mqtt-go/97:rw,z -v /w/workspace/device-mqtt-go/97@tmp:/w/workspace/device-mqtt-go/97@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:02:00 $ docker top 0036700f5d96108ca730acfbe2d5c82acc09744521481ad1ea48eb865244ed10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:02:01 ---> job-cost.sh 13:02:01 lf-activate-venv: SKIPPING 13:02:01 INFO: No Stack... 13:02:02 INFO: Retrieving Pricing Info for: v3-standard-4 13:02:03 INFO: Archiving Costs [Pipeline] sh 13:02:03 + cat /w/workspace/device-mqtt-go/97/archives/cost.csv 13:02:03 + cut -d, -f6 [Pipeline] lock 13:02:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-97-stack-cost] 13:02:03 Resource [jenkins-edgexfoundry-device-mqtt-go-main-97-stack-cost] did not exist. Created. 13:02:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:02:04 /w/workspace/device-mqtt-go/97@tmp/durable-03f05f32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:02:04 + echo total: 0.10999999940395355 [Pipeline] stash 13:02:04 Warning: overwriting stash ‘stack-cost’ 13:02:04 Stashed 1 file(s) [Pipeline] } 13:02:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-97-stack-cost] [Pipeline] // lock [Pipeline] } 13:02:04 $ docker stop --time=1 0036700f5d96108ca730acfbe2d5c82acc09744521481ad1ea48eb865244ed10 13:02:08 $ docker rm -f --volumes 0036700f5d96108ca730acfbe2d5c82acc09744521481ad1ea48eb865244ed10 [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 13:02:08 provisioning config files... 13:02:08 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15250992145320275835tmp [Pipeline] { [Pipeline] sh 13:02:09 + set +x 13:02:09 + curl -s https://codecov.io/bash 13:02:09 + bash -s -- 13:02:09 13:02:09 _____ _ 13:02:09 / ____| | | 13:02:09 | | ___ __| | ___ ___ _____ __ 13:02:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:02:09 | |___| (_) | (_| | __/ (_| (_) \ V / 13:02:09 \_____\___/ \__,_|\___|\___\___/ \_/ 13:02:09 Bash-1.0.6 13:02:09 13:02:09 13:02:09 ==> git version 2.25.1 found 13:02:09 ==> 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 13:02:09 Release-Date: 2020-01-08 13:02:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:02:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:02:09 ==> Jenkins CI detected. 13:02:09 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 13:02:09 project root: . 13:02:09 --> token set from env 13:02:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:02:09 ==> Running gcov in . (disable via -X gcov) 13:02:09 ==> Python coveragepy not found 13:02:09 ==> Searching for coverage reports in: 13:02:09 + . 13:02:09 -> Found 1 reports 13:02:09 ==> Detecting git/mercurial file structure 13:02:09 ==> Reading reports 13:02:09 + ./coverage.out bytes=18047 13:02:09 ==> Appending adjustments 13:02:09 https://docs.codecov.io/docs/fixing-reports 13:02:09 + Found adjustments 13:02:09 ==> Gzipping contents 13:02:09 4.0K /tmp/codecov.TA9zc1.gz 13:02:09 ==> Uploading reports 13:02:09 url: https://codecov.io 13:02:09 query: branch=main&commit=1f5b40587cdb269dc0901b5b892d918e86924932&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:02:09 -> Pinging Codecov 13:02:09 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=1f5b40587cdb269dc0901b5b892d918e86924932&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:02:21 {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} 13:02:21 500 13:02:21 ==> Uploading to Codecov 13:02:21 % Total % Received % Xferd Average Speed Time Time Time Current 13:02:21 Dload Upload Total Spent Left Speed 13:02:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3180 100 31 100 3149 209 21277 --:--:-- --:--:-- --:--:-- 21486 13:02:21 Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries 13:02:21 Warning: left. 13:02:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3180 100 31 100 3149 229 23325 --:--:-- --:--:-- --:--:-- 23382 100 3180 100 31 100 3149 229 23325 --:--:-- --:--:-- --:--:-- 23382 13:02:22 Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries 13:02:22 Warning: left. 13:02:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3180 100 31 100 3149 319 32463 --:--:-- --:--:-- --:--:-- 32783 13:02:25 Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries 13:02:25 Warning: left. 13:02:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3180 100 31 100 3149 223 22654 --:--:-- --:--:-- --:--:-- 22877 13:02:27 Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 13:02:27 Warning: left. 13:02:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3180 100 31 100 3149 196 19930 --:--:-- --:--:-- --:--:-- 20126 13:02:29 Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries 13:02:29 Warning: left. 13:02:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3180 100 31 100 3149 319 32463 --:--:-- --:--:-- --:--:-- 32783 13:02:31 {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} [Pipeline] } 13:02:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:02:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:02:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:02:31 13:02:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:02:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:02:31 df9b9388f04a: Pulling fs layer 13:02:31 52dc419b0ee2: Pulling fs layer 13:02:31 25bc292e5bac: Pulling fs layer 13:02:31 114826534d7a: Pulling fs layer 13:02:31 4657fd5d0bcf: Pulling fs layer 13:02:31 6ad1cebc031e: Pulling fs layer 13:02:31 8a3aa393b2d8: Pulling fs layer 13:02:31 114826534d7a: Waiting 13:02:31 6ad1cebc031e: Waiting 13:02:31 25bc292e5bac: Verifying Checksum 13:02:31 25bc292e5bac: Download complete 13:02:31 52dc419b0ee2: Download complete 13:02:31 4657fd5d0bcf: Verifying Checksum 13:02:31 4657fd5d0bcf: Download complete 13:02:31 df9b9388f04a: Verifying Checksum 13:02:31 df9b9388f04a: Download complete 13:02:32 df9b9388f04a: Pull complete 13:02:32 52dc419b0ee2: Pull complete 13:02:32 6ad1cebc031e: Verifying Checksum 13:02:32 6ad1cebc031e: Download complete 13:02:32 25bc292e5bac: Pull complete 13:02:32 114826534d7a: Verifying Checksum 13:02:32 114826534d7a: Download complete 13:02:32 8a3aa393b2d8: Verifying Checksum 13:02:32 8a3aa393b2d8: Download complete 13:02:35 114826534d7a: Pull complete 13:02:35 4657fd5d0bcf: Pull complete 13:02:36 6ad1cebc031e: Pull complete 13:02:38 8a3aa393b2d8: Pull complete 13:02:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 13:02:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:02:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:38 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 13:02:38 $ 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 13:02:42 $ docker top 4420c3ddee8fb3bae6acee1b9c316b8176642522bdf85bd85ff08138f99ba99d -eo pid,comm [Pipeline] { [Pipeline] echo 13:02:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 13:02:43 + set -o pipefail 13:02:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 13:02:47 13:02:47 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 13:02:47 13:02:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/b6f70906-541a-4cc5-8eed-84a6074e4f95 13:02:47 13:02:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 13:02:47 13:02:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:02:47 13:02:47 13:02:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 13:02:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 13:02:47 More details here: https://snyk.co/ue1NS [Pipeline] } 13:02:47 $ docker stop --time=1 4420c3ddee8fb3bae6acee1b9c316b8176642522bdf85bd85ff08138f99ba99d 13:02:50 $ docker rm -f --volumes 4420c3ddee8fb3bae6acee1b9c316b8176642522bdf85bd85ff08138f99ba99d [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 13:02:51 + git log --format=format:%s -1 1f5b40587cdb269dc0901b5b892d918e86924932 [Pipeline] sh 13:02:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:02:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:02:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:52 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 13:02:52 $ 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 13:02:52 $ docker top 05eed091f308f4e1490b0d4d28c238c4ef34bcf3954ba715e4ad2035ea7d7b2e -eo pid,comm 13:02:52 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). 13:02:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:02:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:02:52 [ssh-agent] Looking for ssh-agent implementation... 13:02:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:02:52 $ docker exec 05eed091f308f4e1490b0d4d28c238c4ef34bcf3954ba715e4ad2035ea7d7b2e ssh-agent 13:02:52 SSH_AUTH_SOCK=/tmp/ssh-67LWKNhWXTTI/agent.32 13:02:52 SSH_AGENT_PID=38 13:02:52 Running ssh-add (command line suppressed) 13:02:52 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5319101318066200284.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5319101318066200284.key) 13:02:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:02:53 + git semver tag 13:02:53 2023-03-16 13:02:53,380 [run_tag] DEBUG tag force:False 13:02:53 2023-03-16 13:02:53,380 [check_head_tag] DEBUG check head tag 13:02:53 2023-03-16 13:02:53,382 [execute] INFO git cat-file --batch-check 13:02:53 2023-03-16 13:02:53,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 13:02:53 2023-03-16 13:02:53,387 [execute] INFO git cat-file --batch 13:02:53 2023-03-16 13:02:53,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 13:02:53 2023-03-16 13:02:53,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:02:53 2023-03-16 13:02:53,408 [execute] INFO git tag -a v3.0.0-dev.13 -m v3.0.0-dev.13 13:02:53 2023-03-16 13:02:53,408 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.13', '-m', 'v3.0.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 13:02:53 2023-03-16 13:02:53,412 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:02:53 3.0.0-dev.13 [Pipeline] } 13:02:53 $ docker exec --env ******** --env ******** 05eed091f308f4e1490b0d4d28c238c4ef34bcf3954ba715e4ad2035ea7d7b2e ssh-agent -k 13:02:53 unset SSH_AUTH_SOCK; 13:02:53 unset SSH_AGENT_PID; 13:02:53 echo Agent pid 38 killed; 13:02:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:02:53 + git semver [Pipeline] } 13:02:54 $ docker stop --time=1 05eed091f308f4e1490b0d4d28c238c4ef34bcf3954ba715e4ad2035ea7d7b2e 13:02:55 $ docker rm -f --volumes 05eed091f308f4e1490b0d4d28c238c4ef34bcf3954ba715e4ad2035ea7d7b2e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:02:55 13:02:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:02:56 0.23.1-centos7: Pulling from edgex-lftools 13:02:56 ab5ef0e58194: Pulling fs layer 13:02:56 9712f1f96733: Pulling fs layer 13:02:56 63f879dbbcfc: Pulling fs layer 13:02:56 0d9ebad4ef96: Pulling fs layer 13:02:56 e9a5061849ea: Pulling fs layer 13:02:56 d747dcd14b5f: Pulling fs layer 13:02:56 2de7ff778b66: Pulling fs layer 13:02:56 e9a5061849ea: Waiting 13:02:56 d747dcd14b5f: Waiting 13:02:56 2de7ff778b66: Waiting 13:02:56 0d9ebad4ef96: Waiting 13:02:56 9712f1f96733: Verifying Checksum 13:02:56 9712f1f96733: Download complete 13:02:57 63f879dbbcfc: Verifying Checksum 13:02:57 63f879dbbcfc: Download complete 13:02:57 0d9ebad4ef96: Verifying Checksum 13:02:57 0d9ebad4ef96: Download complete 13:02:57 ab5ef0e58194: Verifying Checksum 13:02:57 ab5ef0e58194: Download complete 13:02:57 e9a5061849ea: Verifying Checksum 13:02:57 e9a5061849ea: Download complete 13:02:57 d747dcd14b5f: Verifying Checksum 13:02:57 d747dcd14b5f: Download complete 13:02:57 2de7ff778b66: Verifying Checksum 13:02:57 2de7ff778b66: Download complete 13:02:59 ab5ef0e58194: Pull complete 13:02:59 9712f1f96733: Pull complete 13:03:00 63f879dbbcfc: Pull complete 13:03:03 0d9ebad4ef96: Pull complete 13:03:03 e9a5061849ea: Pull complete 13:03:03 d747dcd14b5f: Pull complete 13:03:04 2de7ff778b66: Pull complete 13:03:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:03:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:04 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 13:03:04 $ 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 13:03:09 $ docker top c36b4886b148e650b92f9ea988a271c659150519e320e768e2b3453f5d8b3e49 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:03:09 provisioning config files... 13:03:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17649063683715288509tmp 13:03:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14412404371997096416tmp 13:03:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1703015795585744446tmp [Pipeline] { [Pipeline] echo 13:03:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:03:09 ---> sigul-configuration.sh 13:03:09 gpg: directory `/root/.gnupg' created 13:03:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:03:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:03:09 gpg: keyring `/root/.gnupg/secring.gpg' created 13:03:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:03:09 gpg: CAST5 encrypted data 13:03:09 gpg: encrypted with 1 passphrase 13:03:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:03:09 + mkdir /home/jenkins 13:03:09 + mkdir /home/jenkins/sigul [Pipeline] sh 13:03:10 + 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 13:03:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:03:10 ---> sigul-install.sh 13:03:10 Sigul already installed; skipping installation. [Pipeline] sh 13:03:10 + git tag --list 13:03:10 0.7.1 13:03:10 v1.0.0 13:03:10 v1.1.0 13:03:10 v1.1.1 13:03:10 v1.2.2 13:03:10 v1.3.0 13:03:10 v1.3.1 13:03:10 v2.0.0 13:03:10 v2.1.0 13:03:10 v2.1.1 13:03:10 v2.1.1-dev.1 13:03:10 v2.1.1-dev.2 13:03:10 v2.2.0 13:03:10 v2.2.1-dev.1 13:03:10 v2.2.1-dev.10 13:03:10 v2.2.1-dev.2 13:03:10 v2.2.1-dev.3 13:03:10 v2.2.1-dev.4 13:03:10 v2.2.1-dev.5 13:03:10 v2.2.1-dev.6 13:03:10 v2.2.1-dev.7 13:03:10 v2.2.1-dev.8 13:03:10 v2.2.1-dev.9 13:03:10 v2.3.0 13:03:10 v2.3.0-dev.10 13:03:10 v2.3.0-dev.11 13:03:10 v2.3.0-dev.12 13:03:10 v2.3.0-dev.13 13:03:10 v2.3.0-dev.14 13:03:10 v2.3.0-dev.15 13:03:10 v2.3.0-dev.16 13:03:10 v2.3.0-dev.17 13:03:10 v2.3.0-dev.18 13:03:10 v2.3.0-dev.19 13:03:10 v2.3.0-dev.20 13:03:10 v2.3.0-dev.21 13:03:10 v2.3.0-dev.22 13:03:10 v2.3.0-dev.23 13:03:10 v2.3.0-dev.24 13:03:10 v2.3.0-dev.25 13:03:10 v2.3.0-dev.26 13:03:10 v2.3.0-dev.27 13:03:10 v2.3.0-dev.28 13:03:10 v2.3.0-dev.29 13:03:10 v2.3.0-dev.30 13:03:10 v2.3.0-dev.31 13:03:10 v2.3.0-dev.32 13:03:10 v2.3.0-dev.33 13:03:10 v2.3.0-dev.34 13:03:10 v3.0.0-dev.1 13:03:10 v3.0.0-dev.10 13:03:10 v3.0.0-dev.11 13:03:10 v3.0.0-dev.12 13:03:10 v3.0.0-dev.13 13:03:10 v3.0.0-dev.2 13:03:10 v3.0.0-dev.3 13:03:10 v3.0.0-dev.4 13:03:10 v3.0.0-dev.5 13:03:10 v3.0.0-dev.6 13:03:10 v3.0.0-dev.7 13:03:10 v3.0.0-dev.8 13:03:10 v3.0.0-dev.9 [Pipeline] sh 13:03:11 + lftools sign git-tag v3.0.0-dev.13 13:03:11 Signing Git tag with Sigul... 13:03:11 Signing v3.0.0-dev.13 [Pipeline] echo 13:03:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:03:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:03:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:03:12 $ docker stop --time=1 c36b4886b148e650b92f9ea988a271c659150519e320e768e2b3453f5d8b3e49 13:03:13 $ docker rm -f --volumes c36b4886b148e650b92f9ea988a271c659150519e320e768e2b3453f5d8b3e49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:03:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:03:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:03:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:14 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 13:03: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 13:03:14 $ docker top 56508d87beb70125443055fd8691b185e6d9cf66d6389616d642fb7697ba5abb -eo pid,comm 13:03: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). 13:03:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:03:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:03:14 [ssh-agent] Looking for ssh-agent implementation... 13:03:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:03:14 $ docker exec 56508d87beb70125443055fd8691b185e6d9cf66d6389616d642fb7697ba5abb ssh-agent 13:03:14 SSH_AUTH_SOCK=/tmp/ssh-JTLmCljEUCuA/agent.33 13:03:14 SSH_AGENT_PID=39 13:03:14 Running ssh-add (command line suppressed) 13:03:14 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9863189175350959339.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9863189175350959339.key) 13:03:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:03:15 + git semver bump pre 13:03:15 2023-03-16 13:03:15,410 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:03:15 2023-03-16 13:03:15,411 [bump_version] DEBUG bumping version:3.0.0-dev.13 on axis:pre with prefix:dev 13:03:15 2023-03-16 13:03:15,411 [bump_version] DEBUG bumped version:3.0.0-dev.14 13:03:15 2023-03-16 13:03:15,411 [write_version] DEBUG write version:3.0.0-dev.14 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 13:03:15 2023-03-16 13:03:15,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:03:15 2023-03-16 13:03:15,411 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:03:15 2023-03-16 13:03:15,413 [execute] INFO git cat-file --batch-check 13:03:15 2023-03-16 13:03:15,413 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:03:15 2023-03-16 13:03:15,417 [execute] INFO git cat-file --batch 13:03:15 2023-03-16 13:03:15,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:03:15 2023-03-16 13:03:15,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:03:15 3.0.0-dev.14 [Pipeline] } 13:03:15 $ docker exec --env ******** --env ******** 56508d87beb70125443055fd8691b185e6d9cf66d6389616d642fb7697ba5abb ssh-agent -k 13:03:15 unset SSH_AUTH_SOCK; 13:03:15 unset SSH_AGENT_PID; 13:03:15 echo Agent pid 39 killed; 13:03:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:03:15 + git semver [Pipeline] } 13:03:16 $ docker stop --time=1 56508d87beb70125443055fd8691b185e6d9cf66d6389616d642fb7697ba5abb 13:03:17 $ docker rm -f --volumes 56508d87beb70125443055fd8691b185e6d9cf66d6389616d642fb7697ba5abb [Pipeline] // withDockerContainer [Pipeline] sh 13:03:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:03:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:03:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:18 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 13:03:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:03:18 $ docker top d1a8991594cbcd1a964e1bfd5195a043a8f41264e52434ee1307a762f989f719 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:03:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:03:18 [ssh-agent] Looking for ssh-agent implementation... 13:03:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:03:18 $ docker exec d1a8991594cbcd1a964e1bfd5195a043a8f41264e52434ee1307a762f989f719 ssh-agent 13:03:18 SSH_AUTH_SOCK=/tmp/ssh-1QgNmgZLR1jv/agent.31 13:03:18 SSH_AGENT_PID=37 13:03:18 Running ssh-add (command line suppressed) 13:03:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2479104105994653143.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2479104105994653143.key) 13:03:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:03:19 + git semver push 13:03:19 2023-03-16 13:03:19,413 [run_push] DEBUG push 13:03:19 2023-03-16 13:03:19,414 [execute] INFO git cat-file --batch-check 13:03:19 2023-03-16 13:03:19,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:03:19 2023-03-16 13:03:19,417 [execute] INFO git rev-list 491c1e575bb1fced730ea44e8f9ce3f9517ee5c8 -- 13:03:19 2023-03-16 13:03:19,418 [execute] DEBUG Popen(['git', 'rev-list', '491c1e575bb1fced730ea44e8f9ce3f9517ee5c8', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:03:19 2023-03-16 13:03:19,425 [execute] INFO git fetch -v origin 13:03:19 2023-03-16 13:03:19,425 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 13:03:20 2023-03-16 13:03:19,900 [run_push] DEBUG no remote changes detected 13:03:20 2023-03-16 13:03:19,900 [execute] INFO git push origin semver 13:03:20 2023-03-16 13:03:19,901 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:03:20 2023-03-16 13:03:20,711 [run_push] DEBUG push all version tags 13:03:20 2023-03-16 13:03:20,712 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:03:20 2023-03-16 13:03:20,712 [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) 13:03:21 2023-03-16 13:03:21,475 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:03:21 3.0.0-dev.14 [Pipeline] } 13:03:21 $ docker exec --env ******** --env ******** d1a8991594cbcd1a964e1bfd5195a043a8f41264e52434ee1307a762f989f719 ssh-agent -k 13:03:21 unset SSH_AUTH_SOCK; 13:03:21 unset SSH_AGENT_PID; 13:03:21 echo Agent pid 37 killed; 13:03:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:03:22 + git semver [Pipeline] } 13:03:22 $ docker stop --time=1 d1a8991594cbcd1a964e1bfd5195a043a8f41264e52434ee1307a762f989f719 13:03:23 $ docker rm -f --volumes d1a8991594cbcd1a964e1bfd5195a043a8f41264e52434ee1307a762f989f719 [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 13:03:24 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 13:03:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:03:24 total 16 13:03:24 drwxr-xr-x 3 root root 4096 Mar 16 12:51 . 13:03:24 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 13:03 .. 13:03:24 drwxr-xr-x 2 root root 4096 Mar 16 12:51 cost 13:03:24 -rw-r--r-- 1 root root 85 Mar 16 12:51 cost.csv 13:03:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:03:24 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:03:24 total 16 13:03:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 12:51 . 13:03:24 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 13:03 .. 13:03:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 12:51 cost 13:03:24 -rw-r--r-- 1 jenkins jenkins 85 Mar 16 12:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:03:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:03:25 ---> package-listing.sh 13:03:25 ++ facter osfamily 13:03:25 ++ tr '[:upper:]' '[:lower:]' 13:03:25 + OS_FAMILY=debian 13:03:25 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 13:03:25 + START_PACKAGES=/tmp/packages_start.txt 13:03:25 + END_PACKAGES=/tmp/packages_end.txt 13:03:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:03:25 + PACKAGES=/tmp/packages_start.txt 13:03:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 13:03:25 + PACKAGES=/tmp/packages_end.txt 13:03:25 + case "${OS_FAMILY}" in 13:03:25 + dpkg -l 13:03:25 + grep '^ii' 13:03:25 + '[' -f /tmp/packages_start.txt ']' 13:03:25 + '[' -f /tmp/packages_end.txt ']' 13:03:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:03:25 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 13:03:25 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 13:03:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 13:03:25 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:03:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:03:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:26 prd-ubuntu20.04-docker-8c-8g-2407 does not seem to be running inside a container 13:03:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:03:26 $ docker top 34b9ab8e4da792e8e0f5c9fa37c4ca85f17cdc2ef3b4ece616b48c4645173b6f -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:26 + touch /tmp/pre-build-complete [Pipeline] sh 13:03:26 + mkdir -p /var/log/sysstat [Pipeline] sh 13:03:27 + ls /var/log/sa-host 13:03:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:03:27 provisioning config files... 13:03:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16997812447671301742tmp [Pipeline] { [Pipeline] echo 13:03:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:03:27 ---> create-netrc.sh [Pipeline] } 13:03:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:03:28 ---> python-tools-install.sh [Pipeline] echo 13:03:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:03:28 ---> sudo-logs.sh 13:03:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:03:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:03:28 ---> job-cost.sh 13:03:28 lf-activate-venv: SKIPPING 13:03:28 DEBUG: total: 0.2199999988079071 13:03:28 INFO: Retrieving Stack Cost... 13:03:28 INFO: Retrieving Pricing Info for: v3-standard-8 13:03:29 INFO: Archiving Costs [Pipeline] echo 13:03:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:03:29 ---> logs-deploy.sh 13:03:29 lf-activate-venv: SKIPPING 13:03:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/97 13:03:29 INFO: archiving workspace using pattern(s): 13:03:30 Archives upload complete. 13:03:30 INFO: archiving logs to Nexus