Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 972a1f6392fb66aca512ab6e37eb1188ace4c45a 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-ssh8776641849848878573.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11293839214548753549.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh4867053590245279840.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh13694146480103711407.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-ssh9556332195984613673.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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5120 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 972a1f6392fb66aca512ab6e37eb1188ace4c45a (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 972a1f6392fb66aca512ab6e37eb1188ace4c45a # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods (#649)" > git rev-list --no-walk 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:28:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:28:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:28:48 ========================================================= 20:28:48 EdgeX Global Pipelines Version Info 20:28:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:28:49 ------------------- 20:28:49 stable info: 20:28:49 ------------------- 20:28:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:28:49 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:28:49 Message: update stable to v1.0.258 20:28:50 ------------------- 20:28:50 experimental info: 20:28:50 ------------------- 20:28:50 Commited By: **** collab-it+edgex@linuxfoundation.org 20:28:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:28:50 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:28:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 972a1f6392fb66aca512ab6e37eb1188ace4c45a [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 972a1f6 [Pipeline] echo 20:28:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:51 provisioning config files... 20:28:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9714829550779519005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:51 ---> ****-login.sh 20:28:51 nexus3.edgexfoundry.org:10001 20:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:52 Configure a credential helper to remove this warning. See 20:28:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:52 20:28:52 Login Succeeded 20:28:52 nexus3.edgexfoundry.org:10002 20:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:52 Configure a credential helper to remove this warning. See 20:28:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:52 20:28:52 Login Succeeded 20:28:52 nexus3.edgexfoundry.org:10003 20:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:52 Configure a credential helper to remove this warning. See 20:28:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:52 20:28:52 Login Succeeded 20:28:52 nexus3.edgexfoundry.org:10004 20:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:52 Configure a credential helper to remove this warning. See 20:28:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:52 20:28:52 Login Succeeded 20:28:52 ****.io 20:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:28:52 Configure a credential helper to remove this warning. See 20:28:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:28:52 20:28:52 Login Succeeded 20:28:52 ---> ****-login.sh ends [Pipeline] } 20:28:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:28:53 + git rev-list -1 --merges 972a1f6392fb66aca512ab6e37eb1188ace4c45a~1..972a1f6392fb66aca512ab6e37eb1188ace4c45a [Pipeline] echo 20:28:53 -----------> git rev-list -1 --merges 972a1f6392fb66aca512ab6e37eb1188ace4c45a~1..972a1f6392fb66aca512ab6e37eb1188ace4c45a 972a1f6392fb66aca512ab6e37eb1188ace4c45a [false] [Pipeline] sh 20:28:53 + git log --format=format:%s -1 972a1f6392fb66aca512ab6e37eb1188ace4c45a [Pipeline] echo 20:28:53 ========================================================= 20:28:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:28:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:53 + git log --format=format:%s -1 972a1f6392fb66aca512ab6e37eb1188ace4c45a [Pipeline] echo 20:28:53 [semverPrep] GIT_COMMIT: 972a1f6392fb66aca512ab6e37eb1188ace4c45a, Commit Message: build: Update to latest 3.2.0 dev go-mods (#649) [Pipeline] echo 20:28:53 [semverPrep] This is not a build commit. [Pipeline] sh 20:28:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:28:54 + grep -v github /etc/ssh/ssh_known_hosts 20:28:54 + [ -e /tmp/ssh_known_hosts ] 20:28:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:28:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:28:54 + sudo tee -a /etc/ssh/ssh_known_hosts 20:28:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:54 20:28:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:54 0.1.4: Pulling from edgex-devops/py-git-semver 20:28:54 b85a868b505f: Pulling fs layer 20:28:54 e2be974225ed: Pulling fs layer 20:28:54 339a4e72a1f5: Pulling fs layer 20:28:54 988bab9f4d93: Pulling fs layer 20:28:54 1469e6f7b9e6: Pulling fs layer 20:28:54 eaf3925da568: Pulling fs layer 20:28:54 bab4dde63d76: Pulling fs layer 20:28:54 bde34c3a00c8: Pulling fs layer 20:28:54 b352a97aabf1: Pulling fs layer 20:28:54 4872d77fe225: Pulling fs layer 20:28:54 5851b861e8e6: Pulling fs layer 20:28:54 eaf3925da568: Waiting 20:28:54 bab4dde63d76: Waiting 20:28:54 bde34c3a00c8: Waiting 20:28:54 b352a97aabf1: Waiting 20:28:54 4872d77fe225: Waiting 20:28:54 5851b861e8e6: Waiting 20:28:54 1469e6f7b9e6: Waiting 20:28:54 988bab9f4d93: Waiting 20:28:54 e2be974225ed: Download complete 20:28:54 988bab9f4d93: Verifying Checksum 20:28:54 988bab9f4d93: Download complete 20:28:55 1469e6f7b9e6: Verifying Checksum 20:28:55 1469e6f7b9e6: Download complete 20:28:55 eaf3925da568: Verifying Checksum 20:28:55 eaf3925da568: Download complete 20:28:55 339a4e72a1f5: Verifying Checksum 20:28:55 339a4e72a1f5: Download complete 20:28:55 bde34c3a00c8: Verifying Checksum 20:28:55 bde34c3a00c8: Download complete 20:28:55 b352a97aabf1: Download complete 20:28:55 4872d77fe225: Download complete 20:28:55 5851b861e8e6: Verifying Checksum 20:28:55 5851b861e8e6: Download complete 20:28:55 b85a868b505f: Verifying Checksum 20:28:55 b85a868b505f: Download complete 20:28:55 bab4dde63d76: Verifying Checksum 20:28:55 bab4dde63d76: Download complete 20:28:56 b85a868b505f: Pull complete 20:28:56 e2be974225ed: Pull complete 20:28:57 339a4e72a1f5: Pull complete 20:28:57 988bab9f4d93: Pull complete 20:28:57 1469e6f7b9e6: Pull complete 20:28:57 eaf3925da568: Pull complete 20:28:59 bab4dde63d76: Pull complete 20:28:59 bde34c3a00c8: Pull complete 20:28:59 b352a97aabf1: Pull complete 20:28:59 4872d77fe225: Pull complete 20:28:59 5851b861e8e6: Pull complete 20:28:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:28:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:00 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 20:29:00 $ 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 20:29:01 $ docker top 0ebb8d9e21adbf68c57db2527fa0b11b1c508d1984773012c41fa45e0b40b785 -eo pid,comm 20:29:01 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). 20:29:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:01 [ssh-agent] Looking for ssh-agent implementation... 20:29:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:01 $ docker exec 0ebb8d9e21adbf68c57db2527fa0b11b1c508d1984773012c41fa45e0b40b785 ssh-agent 20:29:01 SSH_AUTH_SOCK=/tmp/ssh-qy55BbeyIcHB/agent.34 20:29:01 SSH_AGENT_PID=40 20:29:01 Running ssh-add (command line suppressed) 20:29:01 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7286107286039937996.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7286107286039937996.key) 20:29:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:02 + git tag --points-at HEAD [Pipeline] } 20:29:02 $ docker exec --env ******** --env ******** 0ebb8d9e21adbf68c57db2527fa0b11b1c508d1984773012c41fa45e0b40b785 ssh-agent -k 20:29:02 unset SSH_AUTH_SOCK; 20:29:02 unset SSH_AGENT_PID; 20:29:02 echo Agent pid 40 killed; 20:29:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:29:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:02 [ssh-agent] Looking for ssh-agent implementation... 20:29:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:02 $ docker exec 0ebb8d9e21adbf68c57db2527fa0b11b1c508d1984773012c41fa45e0b40b785 ssh-agent 20:29:02 SSH_AUTH_SOCK=/tmp/ssh-gLOihtQcgUQl/agent.73 20:29:02 SSH_AGENT_PID=79 20:29:02 Running ssh-add (command line suppressed) 20:29:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8858967573278303109.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8858967573278303109.key) 20:29:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:02 + git semver init 20:29:03 2023-11-28 20:29:03,114 [run_init] DEBUG init version:0.0.0 force:False 20:29:03 2023-11-28 20:29:03,115 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:29:03 2023-11-28 20:29:03,115 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:29:03 2023-11-28 20:29:03,115 [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) 20:29:04 2023-11-28 20:29:04,210 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 20:29:04 2023-11-28 20:29:04,210 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 20:29:04 2023-11-28 20:29:04,211 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:29:04 2023-11-28 20:29:04,211 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 20:29:04 3.2.0-dev.1 [Pipeline] } 20:29:04 $ docker exec --env ******** --env ******** 0ebb8d9e21adbf68c57db2527fa0b11b1c508d1984773012c41fa45e0b40b785 ssh-agent -k 20:29:04 unset SSH_AUTH_SOCK; 20:29:04 unset SSH_AGENT_PID; 20:29:04 echo Agent pid 79 killed; 20:29:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:05 + git semver [Pipeline] } 20:29:05 $ docker stop --time=1 0ebb8d9e21adbf68c57db2527fa0b11b1c508d1984773012c41fa45e0b40b785 20:29:06 $ docker rm -f --volumes 0ebb8d9e21adbf68c57db2527fa0b11b1c508d1984773012c41fa45e0b40b785 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:07 Stashed 1 file(s) [Pipeline] echo 20:29:07 [edgeXSemver]: initialized semver on version 3.2.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:07 provisioning config files... 20:29:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5060927902696899644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:08 ---> ****-login.sh 20:29:08 nexus3.edgexfoundry.org:10001 20:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:08 Configure a credential helper to remove this warning. See 20:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:08 20:29:08 Login Succeeded 20:29:08 nexus3.edgexfoundry.org:10002 20:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:08 Configure a credential helper to remove this warning. See 20:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:08 20:29:08 Login Succeeded 20:29:08 nexus3.edgexfoundry.org:10003 20:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:08 Configure a credential helper to remove this warning. See 20:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:08 20:29:08 Login Succeeded 20:29:08 nexus3.edgexfoundry.org:10004 20:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:08 Configure a credential helper to remove this warning. See 20:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:08 20:29:08 Login Succeeded 20:29:08 ****.io 20:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:29:08 Configure a credential helper to remove this warning. See 20:29:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:29:08 20:29:08 Login Succeeded 20:29:08 ---> ****-login.sh ends [Pipeline] } 20:29:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:29:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:29:08 ========================================================= 20:29:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:29:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:29:09 Sending build context to Docker daemon 17.3MB 20:29:09 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:29:09 Step 2/12 : FROM ${BASE} AS builder 20:29:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:09 7264a8db6415: Pulling fs layer 20:29:09 c4d48a809fc2: Pulling fs layer 20:29:09 4f1c88b9dad5: Pulling fs layer 20:29:09 ad3a456e5733: Pulling fs layer 20:29:09 69c7f0334f64: Pulling fs layer 20:29:09 1f1c1a5573a3: Pulling fs layer 20:29:09 ce7588e14bc9: Pulling fs layer 20:29:09 b5e4710f87ac: Pulling fs layer 20:29:09 ce7588e14bc9: Waiting 20:29:09 ad3a456e5733: Waiting 20:29:09 b5e4710f87ac: Waiting 20:29:09 69c7f0334f64: Waiting 20:29:09 1f1c1a5573a3: Waiting 20:29:09 c4d48a809fc2: Verifying Checksum 20:29:09 c4d48a809fc2: Download complete 20:29:09 ad3a456e5733: Verifying Checksum 20:29:09 ad3a456e5733: Download complete 20:29:09 69c7f0334f64: Verifying Checksum 20:29:09 69c7f0334f64: Download complete 20:29:09 7264a8db6415: Download complete 20:29:09 1f1c1a5573a3: Verifying Checksum 20:29:09 1f1c1a5573a3: Download complete 20:29:09 7264a8db6415: Pull complete 20:29:09 b5e4710f87ac: Verifying Checksum 20:29:09 b5e4710f87ac: Download complete 20:29:09 c4d48a809fc2: Pull complete 20:29:09 4f1c88b9dad5: Verifying Checksum 20:29:09 4f1c88b9dad5: Download complete 20:29:10 ce7588e14bc9: Verifying Checksum 20:29:10 ce7588e14bc9: Download complete 20:29:13 4f1c88b9dad5: Pull complete 20:29:13 ad3a456e5733: Pull complete 20:29:13 69c7f0334f64: Pull complete 20:29:13 1f1c1a5573a3: Pull complete 20:29:16 ce7588e14bc9: Pull complete 20:29:16 b5e4710f87ac: Pull complete 20:29:16 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:29:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:29:16 ---> 88b5674ff536 20:29:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:29:17 ---> Running in b42f856de58d 20:29:17 Removing intermediate container b42f856de58d 20:29:17 ---> dd14cecb0f40 20:29:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:17 ---> Running in cc16f5ef340b 20:29:17 Removing intermediate container cc16f5ef340b 20:29:17 ---> 8d3f7842ec43 20:29:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:29:17 ---> Running in ff5c6922c205 20:29:17 Removing intermediate container ff5c6922c205 20:29:17 ---> 7ee756bc5522 20:29:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:29:17 ---> Running in 803f08456e15 20:29:17 Removing intermediate container 803f08456e15 20:29:17 ---> d03e9671b9a4 20:29:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:17 ---> Running in df1955c7fcd4 20:29:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:18 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:29:18 (2/4) Installing libedit (20221030.3.1-r1) 20:29:18 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:29:18 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:29:18 Executing busybox-1.36.1-r5.trigger 20:29:18 OK: 268 MiB in 56 packages 20:29:18 Removing intermediate container df1955c7fcd4 20:29:18 ---> 57fb1a0e1df0 20:29:18 Step 8/12 : WORKDIR /device-mqtt-go 20:29:18 ---> Running in e13eca226706 20:29:19 Removing intermediate container e13eca226706 20:29:19 ---> d50d9196b4db 20:29:19 Step 9/12 : COPY go.mod vendor* ./ 20:29:19 ---> 19e5b0d8334d 20:29:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:19 ---> Running in abe2565e68a3 20:29:22 Still waiting to schedule task 20:29:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:29:45 Removing intermediate container abe2565e68a3 20:29:45 ---> a658e4b93926 20:29:45 Step 11/12 : COPY . . 20:29:45 ---> 066d20ff1fb4 20:29:45 Step 12/12 : RUN $MAKE 20:29:45 ---> Running in 57258a441275 20:29:45 noop 20:29:45 Removing intermediate container 57258a441275 20:29:45 ---> 3717df6d525f 20:29:45 Successfully built 3717df6d525f 20:29:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:46 + docker inspect -f . ci-base-image-x86_64 20:29:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:46 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 20:29:46 $ 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 20:29:46 $ docker top 0bbeb29646da8496cab4c09acb53c6758fc3545b9d60d270d9a509d1c78e40b9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:47 + go version 20:29:47 go version go1.21.0 linux/amd64 [Pipeline] } 20:29:47 $ docker stop --time=1 0bbeb29646da8496cab4c09acb53c6758fc3545b9d60d270d9a509d1c78e40b9 20:29:48 $ docker rm -f --volumes 0bbeb29646da8496cab4c09acb53c6758fc3545b9d60d270d9a509d1c78e40b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:48 + docker inspect -f . ci-base-image-x86_64 20:29:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:49 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 20:29:49 $ 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 20:29:49 $ docker top 4e6233b8ecbd52f47f63caa40654ed78d34008d4d24decf2b8e3b07e06916b7e -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 20:29:50 + make test 20:29:50 go test ./... -coverprofile=coverage.out ./... 20:29:51 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:30:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:30:01 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:30:01 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 20:30:07 go vet ./... 20:30:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:30:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:30:10 ./bin/test-attribution-txt.sh [Pipeline] echo 20:30:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:30:10 $ docker stop --time=1 4e6233b8ecbd52f47f63caa40654ed78d34008d4d24decf2b8e3b07e06916b7e 20:30:12 $ docker rm -f --volumes 4e6233b8ecbd52f47f63caa40654ed78d34008d4d24decf2b8e3b07e06916b7e [Pipeline] // withDockerContainer [Pipeline] sh 20:30:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:30:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:14 + ls -al . 20:30:14 total 184 20:30:14 drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 20:29 . 20:30:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:28 .. 20:30:14 -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 20:28 .dockerignore 20:30:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:30 .git 20:30:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:28 .github 20:30:14 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 20:28 .gitignore 20:30:14 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:28 .golangci.yml 20:30:14 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:29 .semver 20:30:14 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 28 20:28 Attribution.txt 20:30:14 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 28 20:28 CHANGELOG.md 20:30:14 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 28 20:28 Dockerfile 20:30:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:28 GOVERNANCE.md 20:30:14 -rw-rw-r-- 1 jenkins jenkins 657 Nov 28 20:28 Jenkinsfile 20:30:14 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:28 LICENSE 20:30:14 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 28 20:28 Makefile 20:30:14 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 20:28 OWNERS.md 20:30:14 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 28 20:28 README.md 20:30:14 -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 20:29 VERSION 20:30:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:28 bin 20:30:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:28 cmd 20:30:14 -rw-r--r-- 1 jenkins jenkins 18506 Nov 28 20:30 coverage.out 20:30:14 -rw-rw-r-- 1 jenkins jenkins 3817 Nov 28 20:28 go.mod 20:30:14 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 20:28 go.sum 20:30:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:28 internal 20:30:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:28 mock 20:30:14 -rw-rw-r-- 1 jenkins jenkins 227 Nov 28 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:14 + 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=972a1f6392fb66aca512ab6e37eb1188ace4c45a --label arch=amd64 --label version=3.2.0-dev.1 . 20:30:14 Sending build context to Docker daemon 17.31MB 20:30:14 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:30:14 Step 2/25 : FROM ${BASE} AS builder 20:30:14 ---> 3717df6d525f 20:30:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:30:14 ---> Running in b12ed96bdc9a 20:30:14 Removing intermediate container b12ed96bdc9a 20:30:14 ---> 14335c819cf4 20:30:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:14 ---> Running in 46a9b37f5df9 20:30:14 Removing intermediate container 46a9b37f5df9 20:30:14 ---> 374754d84149 20:30:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:30:14 ---> Running in 13c37710472b 20:30:14 Removing intermediate container 13c37710472b 20:30:14 ---> 9d23a732bd7c 20:30:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:30:14 ---> Running in 7528cd59a9f9 20:30:15 Removing intermediate container 7528cd59a9f9 20:30:15 ---> 6ca5ef62c309 20:30:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:15 ---> Running in bc613c588af6 20:30:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:30:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:30:15 OK: 268 MiB in 56 packages 20:30:15 Removing intermediate container bc613c588af6 20:30:15 ---> bbb5f9165220 20:30:15 Step 8/25 : WORKDIR /device-mqtt-go 20:30:15 ---> Running in ff1539d5fbab 20:30:16 Removing intermediate container ff1539d5fbab 20:30:16 ---> ad6aa00c9853 20:30:16 Step 9/25 : COPY go.mod vendor* ./ 20:30:16 ---> fc6d9dbb9219 20:30:16 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:16 ---> Running in b06459ca4a39 20:30:16 Removing intermediate container b06459ca4a39 20:30:16 ---> b501a94b7b39 20:30:16 Step 11/25 : COPY . . 20:30:16 ---> f1ea976b58b0 20:30:16 Step 12/25 : RUN $MAKE 20:30:16 ---> Running in faaf385e7463 20:30:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 20:30:35 Removing intermediate container faaf385e7463 20:30:35 ---> 79254590883d 20:30:35 Step 13/25 : FROM alpine:3.18 20:30:35 3.18: Pulling from library/alpine 20:30:35 96526aa774ef: Pulling fs layer 20:30:35 96526aa774ef: Download complete 20:30:35 96526aa774ef: Pull complete 20:30:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:30:35 Status: Downloaded newer image for alpine:3.18 20:30:35 ---> 8ca4688f4f35 20:30:35 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:30:35 ---> Running in 398a208176f9 20:30:35 Removing intermediate container 398a208176f9 20:30:35 ---> 4759e9ece793 20:30:35 Step 15/25 : RUN apk add --update --no-cache dumb-init 20:30:35 ---> Running in 00725f1a1fb2 20:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:30:35 (1/1) Installing dumb-init (1.2.5-r2) 20:30:35 Executing busybox-1.36.1-r2.trigger 20:30:35 OK: 7 MiB in 16 packages 20:30:35 Removing intermediate container 00725f1a1fb2 20:30:35 ---> 28d1acb69696 20:30:35 Step 16/25 : RUN apk --no-cache upgrade 20:30:35 ---> Running in 21080206be7f 20:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:30:35 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:30:35 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:30:35 Executing busybox-1.36.1-r5.post-upgrade 20:30:35 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:30:35 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:30:35 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:30:35 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:30:35 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:30:35 Executing busybox-1.36.1-r5.trigger 20:30:35 OK: 7 MiB in 16 packages 20:30:36 Removing intermediate container 21080206be7f 20:30:36 ---> 486fc39b559c 20:30:36 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 20:30:36 ---> c74871dabd67 20:30:36 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 20:30:36 ---> 0197023cd5c9 20:30:36 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:30:36 ---> c41d37a15785 20:30:36 Step 20/25 : EXPOSE 59982 20:30:36 ---> Running in e7d69177f1fd 20:30:37 Removing intermediate container e7d69177f1fd 20:30:37 ---> 97a680c0c833 20:30:37 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 20:30:37 ---> Running in 52f5c793f498 20:30:37 Removing intermediate container 52f5c793f498 20:30:37 ---> 875fad191c5a 20:30:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:30:37 ---> Running in e2d9a1462ab7 20:30:37 Removing intermediate container e2d9a1462ab7 20:30:37 ---> 26dc418a8860 20:30:37 Step 23/25 : LABEL arch=amd64 20:30:37 ---> Running in ffd8a6307651 20:30:37 Removing intermediate container ffd8a6307651 20:30:37 ---> 605a97492980 20:30:37 Step 24/25 : LABEL git_sha=972a1f6392fb66aca512ab6e37eb1188ace4c45a 20:30:37 ---> Running in 5cf83f146ee3 20:30:37 Removing intermediate container 5cf83f146ee3 20:30:37 ---> 5d3b89db6ac6 20:30:37 Step 25/25 : LABEL version=3.2.0-dev.1 20:30:37 ---> Running in 4191f99d7a5f 20:30:37 Removing intermediate container 4191f99d7a5f 20:30:37 ---> 58409fa09ab8 20:30:37 [Warning] One or more build-args [ARCH] were not consumed 20:30:37 Successfully built 58409fa09ab8 20:30:37 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:30:37 provisioning config files... 20:30:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2956506233021536733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:37 ---> ****-login.sh 20:30:37 nexus3.edgexfoundry.org:10001 20:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:37 Configure a credential helper to remove this warning. See 20:30:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:37 20:30:37 Login Succeeded 20:30:37 nexus3.edgexfoundry.org:10002 20:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:37 Configure a credential helper to remove this warning. See 20:30:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:37 20:30:37 Login Succeeded 20:30:37 nexus3.edgexfoundry.org:10003 20:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:38 Configure a credential helper to remove this warning. See 20:30:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:38 20:30:38 Login Succeeded 20:30:38 nexus3.edgexfoundry.org:10004 20:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:38 Configure a credential helper to remove this warning. See 20:30:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:38 20:30:38 Login Succeeded 20:30:38 ****.io 20:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:38 Configure a credential helper to remove this warning. See 20:30:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:38 20:30:38 Login Succeeded 20:30:38 ---> ****-login.sh ends [Pipeline] } 20:30:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:30:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:30:38 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 20:30:38 972a1f6392fb66aca512ab6e37eb1188ace4c45a 20:30:38 latest 20:30:38 3.2.0-dev.1 20:30:38 972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1 20:30:38 main 20:30:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:972a1f6392fb66aca512ab6e37eb1188ace4c45a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:972a1f6392fb66aca512ab6e37eb1188ace4c45a 20:30:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:30:39 953ec5f59b14: Preparing 20:30:39 17c4fe4ca091: Preparing 20:30:39 00cb57cdbaaf: Preparing 20:30:39 7bd550966ee9: Preparing 20:30:39 1dd292eed974: Preparing 20:30:39 cc2447e1835a: Preparing 20:30:39 cc2447e1835a: Waiting 20:30:39 17c4fe4ca091: Pushed 20:30:39 953ec5f59b14: Pushed 20:30:39 1dd292eed974: Pushed 20:30:39 cc2447e1835a: Layer already exists 20:30:40 7bd550966ee9: Pushed 20:30:42 00cb57cdbaaf: Pushed 20:30:42 972a1f6392fb66aca512ab6e37eb1188ace4c45a: digest: sha256:7f469f5dbb2eed0d021f5223874233435764288032797ab246f4af78f7257898 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:30:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:30:43 953ec5f59b14: Preparing 20:30:43 17c4fe4ca091: Preparing 20:30:43 00cb57cdbaaf: Preparing 20:30:43 7bd550966ee9: Preparing 20:30:43 1dd292eed974: Preparing 20:30:43 cc2447e1835a: Preparing 20:30:43 cc2447e1835a: Waiting 20:30:43 953ec5f59b14: Layer already exists 20:30:43 17c4fe4ca091: Layer already exists 20:30:43 7bd550966ee9: Layer already exists 20:30:43 00cb57cdbaaf: Layer already exists 20:30:43 1dd292eed974: Layer already exists 20:30:43 cc2447e1835a: Layer already exists 20:30:43 latest: digest: sha256:7f469f5dbb2eed0d021f5223874233435764288032797ab246f4af78f7257898 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.1 20:30:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:30:44 953ec5f59b14: Preparing 20:30:44 17c4fe4ca091: Preparing 20:30:44 00cb57cdbaaf: Preparing 20:30:44 7bd550966ee9: Preparing 20:30:44 1dd292eed974: Preparing 20:30:44 cc2447e1835a: Preparing 20:30:44 cc2447e1835a: Waiting 20:30:44 953ec5f59b14: Layer already exists 20:30:44 1dd292eed974: Layer already exists 20:30:44 17c4fe4ca091: Layer already exists 20:30:44 00cb57cdbaaf: Layer already exists 20:30:44 7bd550966ee9: Layer already exists 20:30:44 cc2447e1835a: Layer already exists 20:30:44 3.2.0-dev.1: digest: sha256:7f469f5dbb2eed0d021f5223874233435764288032797ab246f4af78f7257898 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1 20:30:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:30:45 953ec5f59b14: Preparing 20:30:45 17c4fe4ca091: Preparing 20:30:45 00cb57cdbaaf: Preparing 20:30:45 7bd550966ee9: Preparing 20:30:45 1dd292eed974: Preparing 20:30:45 cc2447e1835a: Preparing 20:30:45 cc2447e1835a: Waiting 20:30:45 17c4fe4ca091: Layer already exists 20:30:45 953ec5f59b14: Layer already exists 20:30:45 7bd550966ee9: Layer already exists 20:30:45 00cb57cdbaaf: Layer already exists 20:30:45 1dd292eed974: Layer already exists 20:30:45 cc2447e1835a: Layer already exists 20:30:45 972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1: digest: sha256:7f469f5dbb2eed0d021f5223874233435764288032797ab246f4af78f7257898 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:45 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 20:30:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:30:45 953ec5f59b14: Preparing 20:30:45 17c4fe4ca091: Preparing 20:30:45 00cb57cdbaaf: Preparing 20:30:45 7bd550966ee9: Preparing 20:30:45 1dd292eed974: Preparing 20:30:45 cc2447e1835a: Preparing 20:30:45 cc2447e1835a: Waiting 20:30:45 17c4fe4ca091: Layer already exists 20:30:45 953ec5f59b14: Layer already exists 20:30:45 1dd292eed974: Layer already exists 20:30:45 7bd550966ee9: Layer already exists 20:30:45 00cb57cdbaaf: Layer already exists 20:30:45 cc2447e1835a: Layer already exists 20:30:45 main: digest: sha256:7f469f5dbb2eed0d021f5223874233435764288032797ab246f4af78f7257898 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:30:46 ===================================================== [Pipeline] echo 20:30:46 taggedImages: 20:30:46 - nexus3.edgexfoundry.org:10004/device-mqtt:972a1f6392fb66aca512ab6e37eb1188ace4c45a 20:30:46 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:30:46 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.1 20:30:46 - nexus3.edgexfoundry.org:10004/device-mqtt:972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1 20:30:46 - 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 20:30:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:46 20:30:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:47 latest: Pulling from edgex-lftools-log-publisher 20:30:47 5eb5b503b376: Pulling fs layer 20:30:47 5c69ac0246d0: Pulling fs layer 20:30:47 ec43610c2a17: Pulling fs layer 20:30:47 3a2ae6a8a46f: Pulling fs layer 20:30:47 33b1e0a273af: Pulling fs layer 20:30:47 5d3b04190fa2: Pulling fs layer 20:30:47 2f39f015ded8: Pulling fs layer 20:30:47 33b1e0a273af: Waiting 20:30:47 5d3b04190fa2: Waiting 20:30:47 2f39f015ded8: Waiting 20:30:47 3a2ae6a8a46f: Waiting 20:30:49 5c69ac0246d0: Download complete 20:30:49 3a2ae6a8a46f: Verifying Checksum 20:30:49 3a2ae6a8a46f: Download complete 20:30:49 33b1e0a273af: Verifying Checksum 20:30:49 33b1e0a273af: Download complete 20:30:49 5d3b04190fa2: Download complete 20:30:49 ec43610c2a17: Verifying Checksum 20:30:49 ec43610c2a17: Download complete 20:30:49 5eb5b503b376: Download complete 20:30:50 2f39f015ded8: Download complete 20:30:50 5eb5b503b376: Pull complete 20:30:50 5c69ac0246d0: Pull complete 20:30:50 ec43610c2a17: Pull complete 20:30:51 3a2ae6a8a46f: Pull complete 20:30:51 33b1e0a273af: Pull complete 20:30:51 5d3b04190fa2: Pull complete 20:30:55 2f39f015ded8: Pull complete 20:30:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:30:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:55 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 20:30:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:30:56 $ docker top d9078540ffc3e8d54d671d76ddf97ea1bfe2901daff88900286ae93ba8b1040f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:57 ---> job-cost.sh 20:30:57 lf-activate-venv: SKIPPING 20:30:57 INFO: No Stack... 20:30:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:30:57 INFO: Archiving Costs [Pipeline] sh 20:30:57 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 20:30:57 + cut -d, -f6 [Pipeline] lock 20:30:57 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-154-stack-cost] 20:30:57 Resource [jenkins-edgexfoundry-device-mqtt-go-main-154-stack-cost] did not exist. Created. 20:30:57 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:30:58 + echo total: 0.2199999988079071 [Pipeline] stash 20:30:58 Stashed 1 file(s) [Pipeline] } 20:30:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 20:30:58 $ docker stop --time=1 d9078540ffc3e8d54d671d76ddf97ea1bfe2901daff88900286ae93ba8b1040f 20:30:59 $ docker rm -f --volumes d9078540ffc3e8d54d671d76ddf97ea1bfe2901daff88900286ae93ba8b1040f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:56:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6605 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 20:56:46 Running in /w/workspace/device-mqtt-go/154 [Pipeline] { [Pipeline] checkout 20:56:49 The recommended git tool is: git 20:56:55 using credential edgex-jenkins-ssh 20:56:55 Cloning the remote Git repository 20:56:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:56:55 > git init /w/workspace/device-mqtt-go/154 # timeout=10 20:56:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:56:55 > git --version # timeout=10 20:56:55 > git --version # 'git version 2.25.1' 20:56:55 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:56:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:56:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:56:59 Avoid second fetch 20:56:59 Checking out Revision 972a1f6392fb66aca512ab6e37eb1188ace4c45a (main) 20:56:59 Commit message: "build: Update to latest 3.2.0 dev go-mods (#649)" 20:56:59 > git config core.sparsecheckout # timeout=10 20:56:59 > git checkout -f 972a1f6392fb66aca512ab6e37eb1188ace4c45a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:57:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:57:00 Dload Upload Total Spent Left Speed 20:57:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 20:57:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:57:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:57:01 + sudo tee /etc/docker/daemon.new 20:57:01 { 20:57:01 "registry-mirrors": [ 20:57:01 "https://nexus3.edgexfoundry.org:10001" 20:57:01 ], 20:57:01 "bip": "10.250.0.254/24", 20:57:01 "hosts": [ 20:57:01 "tcp://0.0.0.0:5555", 20:57:01 "unix:///var/run/docker.sock" 20:57:01 ], 20:57:01 "mtu": 1458, 20:57:01 "selinux-enabled": true, 20:57:01 "seccomp-profile": "/etc/docker/seccomp.json" 20:57:01 } [Pipeline] sh 20:57:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:57:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:24 provisioning config files... 20:57:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/154@tmp/config9701456637616754714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:25 ---> ****-login.sh 20:57:25 nexus3.edgexfoundry.org:10001 20:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:25 Configure a credential helper to remove this warning. See 20:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:25 20:57:25 Login Succeeded 20:57:25 nexus3.edgexfoundry.org:10002 20:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:26 Configure a credential helper to remove this warning. See 20:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:26 20:57:26 Login Succeeded 20:57:26 nexus3.edgexfoundry.org:10003 20:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:26 Configure a credential helper to remove this warning. See 20:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:26 20:57:26 Login Succeeded 20:57:26 nexus3.edgexfoundry.org:10004 20:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:26 Configure a credential helper to remove this warning. See 20:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:26 20:57:26 Login Succeeded 20:57:26 ****.io 20:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:27 Configure a credential helper to remove this warning. See 20:57:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:27 20:57:27 Login Succeeded 20:57:27 ---> ****-login.sh ends [Pipeline] } 20:57:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:57:27 ========================================================= 20:57:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:57:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:57:28 Sending build context to Docker daemon 8.749MB 20:57:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:57:28 Step 2/12 : FROM ${BASE} AS builder 20:57:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:57:28 9fda8d8052c6: Pulling fs layer 20:57:28 5d54e960e981: Pulling fs layer 20:57:28 c4a7e357bf2a: Pulling fs layer 20:57:28 f0e02332f6b5: Pulling fs layer 20:57:28 872ee5b61b7b: Pulling fs layer 20:57:28 0c6a40ed1a82: Pulling fs layer 20:57:28 94ae7d8d031c: Pulling fs layer 20:57:28 872ee5b61b7b: Waiting 20:57:28 0c6a40ed1a82: Waiting 20:57:28 f0e02332f6b5: Waiting 20:57:28 94ae7d8d031c: Waiting 20:57:28 5d54e960e981: Verifying Checksum 20:57:28 5d54e960e981: Download complete 20:57:28 f0e02332f6b5: Verifying Checksum 20:57:28 f0e02332f6b5: Download complete 20:57:29 872ee5b61b7b: Download complete 20:57:29 9fda8d8052c6: Verifying Checksum 20:57:29 9fda8d8052c6: Download complete 20:57:29 94ae7d8d031c: Verifying Checksum 20:57:29 94ae7d8d031c: Download complete 20:57:29 9fda8d8052c6: Pull complete 20:57:30 5d54e960e981: Pull complete 20:57:30 c4a7e357bf2a: Verifying Checksum 20:57:30 c4a7e357bf2a: Download complete 20:57:31 0c6a40ed1a82: Verifying Checksum 20:57:31 0c6a40ed1a82: Download complete 20:57:44 c4a7e357bf2a: Pull complete 20:57:44 f0e02332f6b5: Pull complete 20:57:44 872ee5b61b7b: Pull complete 20:57:52 0c6a40ed1a82: Pull complete 20:57:53 94ae7d8d031c: Pull complete 20:57:53 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:57:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:57:53 ---> 86de565de09d 20:57:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:57:53 ---> Running in dd1d87c6b77f 20:57:54 Removing intermediate container dd1d87c6b77f 20:57:54 ---> 63ba8cad807a 20:57:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:54 ---> Running in 6f984358ace1 20:57:54 Removing intermediate container 6f984358ace1 20:57:54 ---> 487bbbac92b7 20:57:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:57:54 ---> Running in ebeee42899dd 20:57:55 Removing intermediate container ebeee42899dd 20:57:55 ---> 6bb245e39b56 20:57:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:57:55 ---> Running in 7287f405b46c 20:57:55 Removing intermediate container 7287f405b46c 20:57:55 ---> 89a9367bb17b 20:57:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:55 ---> Running in 167d43ce076a 20:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:57:58 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:57:58 (2/4) Installing libedit (20221030.3.1-r1) 20:57:58 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:57:58 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:57:58 Executing busybox-1.36.1-r5.trigger 20:57:58 OK: 271 MiB in 56 packages 20:57:59 Removing intermediate container 167d43ce076a 20:57:59 ---> 12e38791726e 20:57:59 Step 8/12 : WORKDIR /device-mqtt-go 20:57:59 ---> Running in 4fd6cfd232ef 20:58:00 Removing intermediate container 4fd6cfd232ef 20:58:00 ---> a6b8cf2b9063 20:58:00 Step 9/12 : COPY go.mod vendor* ./ 20:58:00 ---> 1ac1dace430c 20:58:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:00 ---> Running in a25371b0c42e 20:59:22 Removing intermediate container a25371b0c42e 20:59:22 ---> ccef70442930 20:59:22 Step 11/12 : COPY . . 20:59:22 ---> b2232687c1ee 20:59:22 Step 12/12 : RUN $MAKE 20:59:22 ---> Running in ff6f63a6bed6 20:59:22 noop 20:59:22 Removing intermediate container ff6f63a6bed6 20:59:22 ---> bb143b114e03 20:59:22 Successfully built bb143b114e03 20:59:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:22 + docker inspect -f . ci-base-image-arm64 20:59:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:23 prd-ubuntu20.04-docker-arm64-4c-16g-6605 does not seem to be running inside a container 20:59:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/154 -v /w/workspace/device-mqtt-go/154:/w/workspace/device-mqtt-go/154:rw,z -v /w/workspace/device-mqtt-go/154@tmp:/w/workspace/device-mqtt-go/154@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 20:59:24 $ docker top dd0986a5e534320150682eb72a27c4b719366b326cc8ede88beafa97f2a6b6e7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:25 + go version 20:59:25 go version go1.21.0 linux/arm64 [Pipeline] } 20:59:25 $ docker stop --time=1 dd0986a5e534320150682eb72a27c4b719366b326cc8ede88beafa97f2a6b6e7 20:59:27 $ docker rm -f --volumes dd0986a5e534320150682eb72a27c4b719366b326cc8ede88beafa97f2a6b6e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:28 + docker inspect -f . ci-base-image-arm64 20:59:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:28 prd-ubuntu20.04-docker-arm64-4c-16g-6605 does not seem to be running inside a container 20:59:28 $ 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/154 -v /w/workspace/device-mqtt-go/154:/w/workspace/device-mqtt-go/154:rw,z -v /w/workspace/device-mqtt-go/154@tmp:/w/workspace/device-mqtt-go/154@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 20:59:31 $ docker top 7aa74364c79b85e418ac7a3a529e7f98726efeac6d4db0d60bc6665af4b38619 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:31 + git config --global --add safe.directory /w/workspace/device-mqtt-go/154 [Pipeline] fileExists [Pipeline] sh 20:59:32 + make test 20:59:32 go test ./... -coverprofile=coverage.out ./... 20:59:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:01:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:01:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:01:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.8% of statements 21:01:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:01:14 go vet ./... 21:01:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:01:41 ./bin/test-attribution-txt.sh [Pipeline] echo 21:01:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:01:41 $ docker stop --time=1 7aa74364c79b85e418ac7a3a529e7f98726efeac6d4db0d60bc6665af4b38619 21:01:43 $ docker rm -f --volumes 7aa74364c79b85e418ac7a3a529e7f98726efeac6d4db0d60bc6665af4b38619 [Pipeline] // withDockerContainer [Pipeline] sh 21:01:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01:45 Warning: overwriting stash ‘coverage-report’ 21:01:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:47 + ls -al . 21:01:47 total 180 21:01:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:59 . 21:01:47 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 20:56 .. 21:01:47 -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 20:56 .dockerignore 21:01:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:56 .git 21:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:56 .github 21:01:47 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 20:56 .gitignore 21:01:47 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 20:56 .golangci.yml 21:01:47 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 28 20:56 Attribution.txt 21:01:47 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 28 20:56 CHANGELOG.md 21:01:47 -rw-rw-r-- 1 jenkins jenkins 1798 Nov 28 20:56 Dockerfile 21:01:47 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 20:56 GOVERNANCE.md 21:01:47 -rw-rw-r-- 1 jenkins jenkins 657 Nov 28 20:56 Jenkinsfile 21:01:47 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 20:56 LICENSE 21:01:47 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 28 20:56 Makefile 21:01:47 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 20:56 OWNERS.md 21:01:47 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 28 20:56 README.md 21:01:47 -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 20:29 VERSION 21:01:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:56 bin 21:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:56 cmd 21:01:47 -rw-r--r-- 1 jenkins jenkins 18506 Nov 28 21:01 coverage.out 21:01:47 -rw-rw-r-- 1 jenkins jenkins 3817 Nov 28 20:56 go.mod 21:01:47 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 20:56 go.sum 21:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 20:56 internal 21:01:47 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 20:56 mock 21:01:47 -rw-rw-r-- 1 jenkins jenkins 227 Nov 28 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:47 + 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=972a1f6392fb66aca512ab6e37eb1188ace4c45a --label arch=arm64 --label version=3.2.0-dev.1 . 21:01:47 Sending build context to Docker daemon 8.768MB 21:01:47 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:01:47 Step 2/25 : FROM ${BASE} AS builder 21:01:47 ---> bb143b114e03 21:01:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:01:48 ---> Running in db5a6bbc017a 21:01:48 Removing intermediate container db5a6bbc017a 21:01:48 ---> f274e1215415 21:01:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:48 ---> Running in b2dcc73de553 21:01:48 Removing intermediate container b2dcc73de553 21:01:48 ---> a6072c78fa73 21:01:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:48 ---> Running in a6f03dc649f2 21:01:49 Removing intermediate container a6f03dc649f2 21:01:49 ---> f0f8827e71ae 21:01:49 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:01:49 ---> Running in 2755e003bd89 21:01:49 Removing intermediate container 2755e003bd89 21:01:49 ---> 2a61024ba8f5 21:01:49 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:50 ---> Running in 36ac34e3f68e 21:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:01:52 OK: 271 MiB in 56 packages 21:01:56 Removing intermediate container 36ac34e3f68e 21:01:56 ---> 7215318043d4 21:01:56 Step 8/25 : WORKDIR /device-mqtt-go 21:01:56 ---> Running in 7d32d64eefb6 21:01:57 Removing intermediate container 7d32d64eefb6 21:01:57 ---> f65854d7a054 21:01:57 Step 9/25 : COPY go.mod vendor* ./ 21:01:57 ---> 9db2edf5dc52 21:01:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:58 ---> Running in 10bc7accaec6 21:02:00 Removing intermediate container 10bc7accaec6 21:02:00 ---> a8bde4997ac7 21:02:00 Step 11/25 : COPY . . 21:02:01 ---> 3735217bc875 21:02:01 Step 12/25 : RUN $MAKE 21:02:01 ---> Running in 1014dc44bdb2 21:02:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 21:04:09 Removing intermediate container 1014dc44bdb2 21:04:09 ---> 6f97af729ba3 21:04:09 Step 13/25 : FROM alpine:3.18 21:04:09 3.18: Pulling from library/alpine 21:04:09 579b34f0a95b: Pulling fs layer 21:04:09 579b34f0a95b: Download complete 21:04:09 579b34f0a95b: Pull complete 21:04:09 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:04:09 Status: Downloaded newer image for alpine:3.18 21:04:09 ---> 3cc203321400 21:04:09 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:04:09 ---> Running in c431f71d6a83 21:04:09 Removing intermediate container c431f71d6a83 21:04:09 ---> 43bd80dd9086 21:04:09 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:04:09 ---> Running in 755cba4977f0 21:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:04:09 (1/1) Installing dumb-init (1.2.5-r2) 21:04:09 Executing busybox-1.36.1-r2.trigger 21:04:09 OK: 8 MiB in 16 packages 21:04:09 Removing intermediate container 755cba4977f0 21:04:09 ---> 2547faff183a 21:04:09 Step 16/25 : RUN apk --no-cache upgrade 21:04:09 ---> Running in e0deecc298c5 21:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:04:09 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:04:09 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:04:09 Executing busybox-1.36.1-r5.post-upgrade 21:04:09 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:04:09 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:04:09 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:04:09 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:04:09 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:04:09 Executing busybox-1.36.1-r5.trigger 21:04:09 OK: 8 MiB in 16 packages 21:04:09 Removing intermediate container e0deecc298c5 21:04:09 ---> b4c97831e07b 21:04:09 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 21:04:09 ---> bcf235929f79 21:04:09 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 21:04:09 ---> 4c709e97583c 21:04:09 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:04:09 ---> 01d6af767fad 21:04:09 Step 20/25 : EXPOSE 59982 21:04:09 ---> Running in b60327f95637 21:04:09 Removing intermediate container b60327f95637 21:04:09 ---> cac2593dec23 21:04:09 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 21:04:09 ---> Running in 8270318a6080 21:04:09 Removing intermediate container 8270318a6080 21:04:09 ---> d5fca0e6c50f 21:04:09 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:04:09 ---> Running in 3e5d7b85825c 21:04:10 Removing intermediate container 3e5d7b85825c 21:04:10 ---> d27ae7bb6429 21:04:10 Step 23/25 : LABEL arch=arm64 21:04:10 ---> Running in fec22f3c32e0 21:04:10 Removing intermediate container fec22f3c32e0 21:04:10 ---> 378c8577bc79 21:04:10 Step 24/25 : LABEL git_sha=972a1f6392fb66aca512ab6e37eb1188ace4c45a 21:04:10 ---> Running in df64becbe20f 21:04:11 Removing intermediate container df64becbe20f 21:04:11 ---> 558271427b53 21:04:11 Step 25/25 : LABEL version=3.2.0-dev.1 21:04:11 ---> Running in 5dc8306b5733 21:04:11 Removing intermediate container 5dc8306b5733 21:04:11 ---> a9e9c8c118b1 21:04:11 [Warning] One or more build-args [ARCH] were not consumed 21:04:11 Successfully built a9e9c8c118b1 21:04:11 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 21:04:11 provisioning config files... 21:04:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/154@tmp/config14322205471670608279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:12 ---> ****-login.sh 21:04:12 nexus3.edgexfoundry.org:10001 21:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:04:12 Configure a credential helper to remove this warning. See 21:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:04:12 21:04:12 Login Succeeded 21:04:12 nexus3.edgexfoundry.org:10002 21:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:04:12 Configure a credential helper to remove this warning. See 21:04:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:04:12 21:04:12 Login Succeeded 21:04:12 nexus3.edgexfoundry.org:10003 21:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:04:13 Configure a credential helper to remove this warning. See 21:04:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:04:13 21:04:13 Login Succeeded 21:04:13 nexus3.edgexfoundry.org:10004 21:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:04:13 Configure a credential helper to remove this warning. See 21:04:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:04:13 21:04:13 Login Succeeded 21:04:13 ****.io 21:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:04:14 Configure a credential helper to remove this warning. See 21:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:04:14 21:04:14 Login Succeeded 21:04:14 ---> ****-login.sh ends [Pipeline] } 21:04:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:04:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:04:14 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 21:04:14 972a1f6392fb66aca512ab6e37eb1188ace4c45a 21:04:14 latest 21:04:14 3.2.0-dev.1 21:04:14 972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1 21:04:14 main 21:04:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:972a1f6392fb66aca512ab6e37eb1188ace4c45a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:972a1f6392fb66aca512ab6e37eb1188ace4c45a 21:04:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:04:15 9617411dcf42: Preparing 21:04:15 316cfde913eb: Preparing 21:04:15 dac40b640924: Preparing 21:04:15 9febdb697d93: Preparing 21:04:15 50f7a3271874: Preparing 21:04:15 5f4d9fc4d98d: Preparing 21:04:15 5f4d9fc4d98d: Waiting 21:04:15 50f7a3271874: Pushed 21:04:15 9617411dcf42: Pushed 21:04:15 316cfde913eb: Pushed 21:04:15 5f4d9fc4d98d: Layer already exists 21:04:17 9febdb697d93: Pushed 21:04:21 dac40b640924: Pushed 21:04:21 972a1f6392fb66aca512ab6e37eb1188ace4c45a: digest: sha256:ed368ace101e6a8eb3f65decd861c8a8a51c6ed7502e1bdf69d50988f284761d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:04:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:04:22 9617411dcf42: Preparing 21:04:22 316cfde913eb: Preparing 21:04:22 dac40b640924: Preparing 21:04:22 9febdb697d93: Preparing 21:04:22 50f7a3271874: Preparing 21:04:22 5f4d9fc4d98d: Preparing 21:04:22 5f4d9fc4d98d: Waiting 21:04:22 50f7a3271874: Layer already exists 21:04:22 316cfde913eb: Layer already exists 21:04:22 9febdb697d93: Layer already exists 21:04:22 9617411dcf42: Layer already exists 21:04:22 dac40b640924: Layer already exists 21:04:22 5f4d9fc4d98d: Layer already exists 21:04:22 latest: digest: sha256:ed368ace101e6a8eb3f65decd861c8a8a51c6ed7502e1bdf69d50988f284761d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:23 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.1 21:04:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:04:23 9617411dcf42: Preparing 21:04:23 316cfde913eb: Preparing 21:04:23 dac40b640924: Preparing 21:04:23 9febdb697d93: Preparing 21:04:23 50f7a3271874: Preparing 21:04:23 5f4d9fc4d98d: Preparing 21:04:23 5f4d9fc4d98d: Waiting 21:04:23 50f7a3271874: Layer already exists 21:04:23 dac40b640924: Layer already exists 21:04:23 316cfde913eb: Layer already exists 21:04:23 9617411dcf42: Layer already exists 21:04:23 9febdb697d93: Layer already exists 21:04:23 5f4d9fc4d98d: Layer already exists 21:04:23 3.2.0-dev.1: digest: sha256:ed368ace101e6a8eb3f65decd861c8a8a51c6ed7502e1bdf69d50988f284761d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:23 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1 21:04:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:04:24 9617411dcf42: Preparing 21:04:24 316cfde913eb: Preparing 21:04:24 dac40b640924: Preparing 21:04:24 9febdb697d93: Preparing 21:04:24 50f7a3271874: Preparing 21:04:24 5f4d9fc4d98d: Preparing 21:04:24 5f4d9fc4d98d: Waiting 21:04:24 9febdb697d93: Layer already exists 21:04:24 9617411dcf42: Layer already exists 21:04:24 dac40b640924: Layer already exists 21:04:24 50f7a3271874: Layer already exists 21:04:24 316cfde913eb: Layer already exists 21:04:24 5f4d9fc4d98d: Layer already exists 21:04:24 972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1: digest: sha256:ed368ace101e6a8eb3f65decd861c8a8a51c6ed7502e1bdf69d50988f284761d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:24 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 21:04:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 21:04:25 9617411dcf42: Preparing 21:04:25 316cfde913eb: Preparing 21:04:25 dac40b640924: Preparing 21:04:25 9febdb697d93: Preparing 21:04:25 50f7a3271874: Preparing 21:04:25 5f4d9fc4d98d: Preparing 21:04:25 5f4d9fc4d98d: Waiting 21:04:25 dac40b640924: Layer already exists 21:04:25 9febdb697d93: Layer already exists 21:04:25 9617411dcf42: Layer already exists 21:04:25 50f7a3271874: Layer already exists 21:04:25 316cfde913eb: Layer already exists 21:04:25 5f4d9fc4d98d: Layer already exists 21:04:25 main: digest: sha256:ed368ace101e6a8eb3f65decd861c8a8a51c6ed7502e1bdf69d50988f284761d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:04:25 ===================================================== [Pipeline] echo 21:04:25 taggedImages: 21:04:25 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:972a1f6392fb66aca512ab6e37eb1188ace4c45a 21:04:25 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 21:04:25 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.1 21:04:25 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:972a1f6392fb66aca512ab6e37eb1188ace4c45a-3.2.0-dev.1 21:04:25 - 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 21:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:26 21:04:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:26 arm64: Pulling from edgex-lftools-log-publisher 21:04:26 8998bd30e6a1: Pulling fs layer 21:04:26 04944245beec: Pulling fs layer 21:04:26 699f458cf7ca: Pulling fs layer 21:04:26 765212b225bb: Pulling fs layer 21:04:26 f23df028b6ca: Pulling fs layer 21:04:26 d65c8cfc05b1: Pulling fs layer 21:04:26 2437ff75d9bd: Pulling fs layer 21:04:26 f23df028b6ca: Waiting 21:04:26 d65c8cfc05b1: Waiting 21:04:26 2437ff75d9bd: Waiting 21:04:26 765212b225bb: Waiting 21:04:27 04944245beec: Verifying Checksum 21:04:27 04944245beec: Download complete 21:04:27 765212b225bb: Download complete 21:04:27 f23df028b6ca: Verifying Checksum 21:04:27 f23df028b6ca: Download complete 21:04:27 d65c8cfc05b1: Verifying Checksum 21:04:27 d65c8cfc05b1: Download complete 21:04:27 699f458cf7ca: Verifying Checksum 21:04:27 699f458cf7ca: Download complete 21:04:27 8998bd30e6a1: Verifying Checksum 21:04:27 8998bd30e6a1: Download complete 21:04:30 2437ff75d9bd: Verifying Checksum 21:04:30 2437ff75d9bd: Download complete 21:04:35 8998bd30e6a1: Pull complete 21:04:35 04944245beec: Pull complete 21:04:37 699f458cf7ca: Pull complete 21:04:37 765212b225bb: Pull complete 21:04:38 f23df028b6ca: Pull complete 21:04:38 d65c8cfc05b1: Pull complete 21:04:56 2437ff75d9bd: Pull complete 21:04:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:04:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:04:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:57 prd-ubuntu20.04-docker-arm64-4c-16g-6605 does not seem to be running inside a container 21:04:57 $ 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/154 -v /w/workspace/device-mqtt-go/154:/w/workspace/device-mqtt-go/154:rw,z -v /w/workspace/device-mqtt-go/154@tmp:/w/workspace/device-mqtt-go/154@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 21:04:59 $ docker top 5fb4e63e2a51c018a67acc7ae3f1e9d79c2e7051121ed1d62c4b7403be353d42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:00 ---> job-cost.sh 21:05:00 lf-activate-venv: SKIPPING 21:05:00 INFO: No Stack... 21:05:01 INFO: Retrieving Pricing Info for: v3-standard-4 21:05:02 INFO: Archiving Costs [Pipeline] sh 21:05:02 + cut -d, -f6 21:05:02 + cat /w/workspace/device-mqtt-go/154/archives/cost.csv [Pipeline] lock 21:05:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-154-stack-cost] 21:05:02 Resource [jenkins-edgexfoundry-device-mqtt-go-main-154-stack-cost] did not exist. Created. 21:05:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:03 /w/workspace/device-mqtt-go/154@tmp/durable-54cdd317/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:05:04 + echo total: 0.10999999940395355 [Pipeline] stash 21:05:04 Warning: overwriting stash ‘stack-cost’ 21:05:04 Stashed 1 file(s) [Pipeline] } 21:05:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:04 $ docker stop --time=1 5fb4e63e2a51c018a67acc7ae3f1e9d79c2e7051121ed1d62c4b7403be353d42 21:05:06 $ docker rm -f --volumes 5fb4e63e2a51c018a67acc7ae3f1e9d79c2e7051121ed1d62c4b7403be353d42 [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 21:05:07 provisioning config files... 21:05:07 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5026666823606847012tmp [Pipeline] { [Pipeline] sh 21:05:07 + set +x 21:05:07 + bash -s -- 21:05:07 + curl -s https://codecov.io/bash 21:05:07 21:05:07 _____ _ 21:05:07 / ____| | | 21:05:07 | | ___ __| | ___ ___ _____ __ 21:05:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:05:07 | |___| (_) | (_| | __/ (_| (_) \ V / 21:05:07 \_____\___/ \__,_|\___|\___\___/ \_/ 21:05:07 Bash-1.0.6 21:05:07 21:05:07 21:05:07 ==> git version 2.25.1 found 21:05:07 ==> 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 21:05:07 Release-Date: 2020-01-08 21:05:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:05:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:05:07 ==> Jenkins CI detected. 21:05:07 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 21:05:07 project root: . 21:05:07 --> token set from env 21:05:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:05:07 ==> Running gcov in . (disable via -X gcov) 21:05:07 ==> Python coveragepy not found 21:05:07 ==> Searching for coverage reports in: 21:05:07 + . 21:05:07 -> Found 1 reports 21:05:07 ==> Detecting git/mercurial file structure 21:05:07 ==> Reading reports 21:05:08 + ./coverage.out bytes=18506 21:05:08 ==> Appending adjustments 21:05:08 https://docs.codecov.io/docs/fixing-reports 21:05:08 + Found adjustments 21:05:08 ==> Gzipping contents 21:05:08 4.0K /tmp/codecov.Baj27j.gz 21:05:08 ==> Uploading reports 21:05:08 url: https://codecov.io 21:05:08 query: branch=main&commit=972a1f6392fb66aca512ab6e37eb1188ace4c45a&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:05:08 -> Pinging Codecov 21:05:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=972a1f6392fb66aca512ab6e37eb1188ace4c45a&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:05:08 -> Uploading to 21:05:08 https://storage.googleapis.com/codecov/v4/raw/2023-11-28/7D719EC7BBE17E464838252E33014C33/972a1f6392fb66aca512ab6e37eb1188ace4c45a/cf2c310b-412a-4874-8e00-7d9739e7126d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T210508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0620978b41652ef871f918db5208cc65810c0e67247489a9c7aa3a5adc872087 21:05:08 % Total % Received % Xferd Average Speed Time Time Time Current 21:05:08 Dload Upload Total Spent Left Speed 21:05:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11250 --:--:-- --:--:-- --:--:-- 11250 21:05:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/972a1f6392fb66aca512ab6e37eb1188ace4c45a [Pipeline] } 21:05:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:05:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:05:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:05:09 21:05:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:05:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:05:09 df9b9388f04a: Pulling fs layer 21:05:09 52dc419b0ee2: Pulling fs layer 21:05:09 25bc292e5bac: Pulling fs layer 21:05:09 114826534d7a: Pulling fs layer 21:05:09 4657fd5d0bcf: Pulling fs layer 21:05:09 6ad1cebc031e: Pulling fs layer 21:05:09 8a3aa393b2d8: Pulling fs layer 21:05:09 8a3aa393b2d8: Waiting 21:05:09 114826534d7a: Waiting 21:05:09 4657fd5d0bcf: Waiting 21:05:09 6ad1cebc031e: Waiting 21:05:09 25bc292e5bac: Verifying Checksum 21:05:09 25bc292e5bac: Download complete 21:05:09 52dc419b0ee2: Verifying Checksum 21:05:09 52dc419b0ee2: Download complete 21:05:09 4657fd5d0bcf: Verifying Checksum 21:05:09 4657fd5d0bcf: Download complete 21:05:09 df9b9388f04a: Download complete 21:05:09 6ad1cebc031e: Verifying Checksum 21:05:09 6ad1cebc031e: Download complete 21:05:10 df9b9388f04a: Pull complete 21:05:10 52dc419b0ee2: Pull complete 21:05:10 25bc292e5bac: Pull complete 21:05:10 114826534d7a: Verifying Checksum 21:05:10 114826534d7a: Download complete 21:05:10 8a3aa393b2d8: Verifying Checksum 21:05:14 114826534d7a: Pull complete 21:05:14 4657fd5d0bcf: Pull complete 21:05:14 6ad1cebc031e: Pull complete 21:05:16 8a3aa393b2d8: Pull complete 21:05:16 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:05:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:16 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 21:05:16 $ 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 21:05:18 $ docker top aba6e3d965074d5af522ec448ed9043c4744b42b6c4d4e8e4f4934b2be9368cb -eo pid,comm [Pipeline] { [Pipeline] echo 21:05:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 21:05:18 + set -o pipefail 21:05:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 21:05:25 21:05:25 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 21:05:25 21:05:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/8a5e0b09-9d0f-4432-a6e6-3ac0e13a0950 21:05:25 21:05:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:05:25 21:05:25 21:05:25 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:05:25 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:05:25 More details here: https://snyk.co/ue1NS 21:05:25 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:05:25 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:05:25 $ docker stop --time=1 aba6e3d965074d5af522ec448ed9043c4744b42b6c4d4e8e4f4934b2be9368cb 21:05:27 $ docker rm -f --volumes aba6e3d965074d5af522ec448ed9043c4744b42b6c4d4e8e4f4934b2be9368cb [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 21:05:28 + git log --format=format:%s -1 972a1f6392fb66aca512ab6e37eb1188ace4c45a [Pipeline] sh 21:05:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:29 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 21:05:29 $ 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 21:05:29 $ docker top f11b28db4999ef99297d512aec6c557789f2ed712e7397b6dcf3960c4dc9f26f -eo pid,comm 21:05:29 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). 21:05:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:30 [ssh-agent] Looking for ssh-agent implementation... 21:05:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:30 $ docker exec f11b28db4999ef99297d512aec6c557789f2ed712e7397b6dcf3960c4dc9f26f ssh-agent 21:05:30 SSH_AUTH_SOCK=/tmp/ssh-ZH3Ej9YTMAZN/agent.33 21:05:30 SSH_AGENT_PID=40 21:05:30 Running ssh-add (command line suppressed) 21:05:30 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1719497789761505277.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1719497789761505277.key) 21:05:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:30 + git semver tag 21:05:31 2023-11-28 21:05:30,981 [run_tag] DEBUG tag force:False 21:05:31 2023-11-28 21:05:30,981 [check_head_tag] DEBUG check head tag 21:05:31 2023-11-28 21:05:30,982 [execute] INFO git cat-file --batch-check 21:05:31 2023-11-28 21:05:30,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:05:31 2023-11-28 21:05:30,985 [execute] INFO git cat-file --batch 21:05:31 2023-11-28 21:05:30,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 21:05:31 2023-11-28 21:05:30,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:05:31 2023-11-28 21:05:30,997 [execute] INFO git tag -a v3.2.0-dev.1 -m v3.2.0-dev.1 21:05:31 2023-11-28 21:05:30,997 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.1', '-m', 'v3.2.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 21:05:31 2023-11-28 21:05:31,001 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:05:31 3.2.0-dev.1 [Pipeline] } 21:05:31 $ docker exec --env ******** --env ******** f11b28db4999ef99297d512aec6c557789f2ed712e7397b6dcf3960c4dc9f26f ssh-agent -k 21:05:31 unset SSH_AUTH_SOCK; 21:05:31 unset SSH_AGENT_PID; 21:05:31 echo Agent pid 40 killed; 21:05:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:31 + git semver [Pipeline] } 21:05:31 $ docker stop --time=1 f11b28db4999ef99297d512aec6c557789f2ed712e7397b6dcf3960c4dc9f26f 21:05:33 $ docker rm -f --volumes f11b28db4999ef99297d512aec6c557789f2ed712e7397b6dcf3960c4dc9f26f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:33 21:05:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:34 0.23.1-centos7: Pulling from edgex-lftools 21:05:34 ab5ef0e58194: Pulling fs layer 21:05:34 9712f1f96733: Pulling fs layer 21:05:34 63f879dbbcfc: Pulling fs layer 21:05:34 0d9ebad4ef96: Pulling fs layer 21:05:34 e9a5061849ea: Pulling fs layer 21:05:34 d747dcd14b5f: Pulling fs layer 21:05:34 2de7ff778b66: Pulling fs layer 21:05:34 d747dcd14b5f: Waiting 21:05:34 2de7ff778b66: Waiting 21:05:34 0d9ebad4ef96: Waiting 21:05:34 e9a5061849ea: Waiting 21:05:34 9712f1f96733: Verifying Checksum 21:05:34 9712f1f96733: Download complete 21:05:34 63f879dbbcfc: Verifying Checksum 21:05:34 63f879dbbcfc: Download complete 21:05:34 e9a5061849ea: Verifying Checksum 21:05:34 e9a5061849ea: Download complete 21:05:34 d747dcd14b5f: Download complete 21:05:34 ab5ef0e58194: Verifying Checksum 21:05:34 ab5ef0e58194: Download complete 21:05:34 0d9ebad4ef96: Verifying Checksum 21:05:34 0d9ebad4ef96: Download complete 21:05:34 2de7ff778b66: Verifying Checksum 21:05:34 2de7ff778b66: Download complete 21:05:37 ab5ef0e58194: Pull complete 21:05:37 9712f1f96733: Pull complete 21:05:37 63f879dbbcfc: Pull complete 21:05:41 0d9ebad4ef96: Pull complete 21:05:41 e9a5061849ea: Pull complete 21:05:41 d747dcd14b5f: Pull complete 21:05:42 2de7ff778b66: Pull complete 21:05:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:05:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:42 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 21:05:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:05:43 $ docker top e56c8bf59c39986ae4456305a83f27eae071fa0d638073c57e7e1be7a40bbfbd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:05:44 provisioning config files... 21:05:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4057942750884688907tmp 21:05:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3520900805622989662tmp 21:05:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6022898257680745408tmp [Pipeline] { [Pipeline] echo 21:05:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:05:44 ---> sigul-configuration.sh 21:05:44 gpg: directory `/root/.gnupg' created 21:05:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:05:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:05:44 gpg: keyring `/root/.gnupg/secring.gpg' created 21:05:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:05:44 gpg: CAST5 encrypted data 21:05:44 gpg: encrypted with 1 passphrase 21:05:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:05:44 + mkdir /home/jenkins 21:05:44 + mkdir /home/jenkins/sigul [Pipeline] sh 21:05:45 + 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 21:05:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:05:45 ---> sigul-install.sh 21:05:45 Sigul already installed; skipping installation. [Pipeline] sh 21:05:45 + git tag --list 21:05:45 0.7.1 21:05:45 v1.0.0 21:05:45 v1.1.0 21:05:45 v1.1.1 21:05:45 v1.2.2 21:05:45 v1.3.0 21:05:45 v1.3.1 21:05:45 v2.0.0 21:05:45 v2.1.0 21:05:45 v2.1.1 21:05:45 v2.2.0 21:05:45 v2.3.0 21:05:45 v3.0 21:05:45 v3.0.0 21:05:45 v3.1 21:05:45 v3.1.0 21:05:45 v3.1.0-dev.1 21:05:45 v3.1.0-dev.10 21:05:45 v3.1.0-dev.11 21:05:45 v3.1.0-dev.12 21:05:45 v3.1.0-dev.13 21:05:45 v3.1.0-dev.14 21:05:45 v3.1.0-dev.15 21:05:45 v3.1.0-dev.16 21:05:45 v3.1.0-dev.17 21:05:45 v3.1.0-dev.18 21:05:45 v3.1.0-dev.19 21:05:45 v3.1.0-dev.2 21:05:45 v3.1.0-dev.20 21:05:45 v3.1.0-dev.21 21:05:45 v3.1.0-dev.22 21:05:45 v3.1.0-dev.23 21:05:45 v3.1.0-dev.24 21:05:45 v3.1.0-dev.25 21:05:45 v3.1.0-dev.3 21:05:45 v3.1.0-dev.4 21:05:45 v3.1.0-dev.5 21:05:45 v3.1.0-dev.6 21:05:45 v3.1.0-dev.7 21:05:45 v3.1.0-dev.8 21:05:45 v3.1.0-dev.9 21:05:45 v3.2.0-dev.1 [Pipeline] sh 21:05:45 + lftools sign git-tag v3.2.0-dev.1 21:05:46 Signing Git tag with Sigul... 21:05:46 Signing v3.2.0-dev.1 [Pipeline] echo 21:05:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:05:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:05:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:05:47 $ docker stop --time=1 e56c8bf59c39986ae4456305a83f27eae071fa0d638073c57e7e1be7a40bbfbd 21:05:48 $ docker rm -f --volumes e56c8bf59c39986ae4456305a83f27eae071fa0d638073c57e7e1be7a40bbfbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:05:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:50 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 21:05:50 $ 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 21:05:50 $ docker top 435990d23d11a958b3e9a74034580b24ae50c4f066d9a3af84d63c5574a44511 -eo pid,comm 21:05:50 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). 21:05:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:50 [ssh-agent] Looking for ssh-agent implementation... 21:05:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:50 $ docker exec 435990d23d11a958b3e9a74034580b24ae50c4f066d9a3af84d63c5574a44511 ssh-agent 21:05:51 SSH_AUTH_SOCK=/tmp/ssh-JYq2LQqE11r9/agent.32 21:05:51 SSH_AGENT_PID=38 21:05:51 Running ssh-add (command line suppressed) 21:05:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17387583122306047245.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17387583122306047245.key) 21:05:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:51 + git semver bump pre 21:05:51 2023-11-28 21:05:51,721 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:05:51 2023-11-28 21:05:51,721 [bump_version] DEBUG bumping version:3.2.0-dev.1 on axis:pre with prefix:dev 21:05:51 2023-11-28 21:05:51,721 [bump_version] DEBUG bumped version:3.2.0-dev.2 21:05:51 2023-11-28 21:05:51,722 [write_version] DEBUG write version:3.2.0-dev.2 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 21:05:51 2023-11-28 21:05:51,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:05:51 2023-11-28 21:05:51,722 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:05:51 2023-11-28 21:05:51,726 [execute] INFO git cat-file --batch-check 21:05:51 2023-11-28 21:05:51,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:51 2023-11-28 21:05:51,732 [execute] INFO git cat-file --batch 21:05:51 2023-11-28 21:05:51,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:51 2023-11-28 21:05:51,737 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:05:51 3.2.0-dev.2 [Pipeline] } 21:05:51 $ docker exec --env ******** --env ******** 435990d23d11a958b3e9a74034580b24ae50c4f066d9a3af84d63c5574a44511 ssh-agent -k 21:05:51 unset SSH_AUTH_SOCK; 21:05:51 unset SSH_AGENT_PID; 21:05:51 echo Agent pid 38 killed; 21:05:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:52 + git semver [Pipeline] } 21:05:52 $ docker stop --time=1 435990d23d11a958b3e9a74034580b24ae50c4f066d9a3af84d63c5574a44511 21:05:53 $ docker rm -f --volumes 435990d23d11a958b3e9a74034580b24ae50c4f066d9a3af84d63c5574a44511 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:55 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 21:05:55 $ 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 21:05:55 $ docker top 9026fe961d3513fda9aa56ae11035ed74c0127d0b43098c4380b17ae0fbe155f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:55 [ssh-agent] Looking for ssh-agent implementation... 21:05:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:55 $ docker exec 9026fe961d3513fda9aa56ae11035ed74c0127d0b43098c4380b17ae0fbe155f ssh-agent 21:05:55 SSH_AUTH_SOCK=/tmp/ssh-OKq8m7UdwDZ9/agent.31 21:05:55 SSH_AGENT_PID=37 21:05:55 Running ssh-add (command line suppressed) 21:05:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15106400048385608620.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15106400048385608620.key) 21:05:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:56 + git semver push 21:05:56 2023-11-28 21:05:56,470 [run_push] DEBUG push 21:05:56 2023-11-28 21:05:56,470 [execute] INFO git cat-file --batch-check 21:05:56 2023-11-28 21:05:56,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:05:56 2023-11-28 21:05:56,474 [execute] INFO git rev-list 50cb89330afc68692df61619329cc66614703586 -- 21:05:56 2023-11-28 21:05:56,474 [execute] DEBUG Popen(['git', 'rev-list', '50cb89330afc68692df61619329cc66614703586', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:05:56 2023-11-28 21:05:56,483 [execute] INFO git fetch -v origin 21:05:56 2023-11-28 21:05:56,484 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:05:57 2023-11-28 21:05:57,030 [run_push] DEBUG no remote changes detected 21:05:57 2023-11-28 21:05:57,030 [execute] INFO git push origin semver 21:05:57 2023-11-28 21:05:57,030 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:05:58 2023-11-28 21:05:57,844 [run_push] DEBUG push all version tags 21:05:58 2023-11-28 21:05:57,845 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:05:58 2023-11-28 21:05:57,845 [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) 21:05:58 2023-11-28 21:05:58,602 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 21:05:58 3.2.0-dev.2 [Pipeline] } 21:05:58 $ docker exec --env ******** --env ******** 9026fe961d3513fda9aa56ae11035ed74c0127d0b43098c4380b17ae0fbe155f ssh-agent -k 21:05:58 unset SSH_AUTH_SOCK; 21:05:58 unset SSH_AGENT_PID; 21:05:58 echo Agent pid 37 killed; 21:05:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:59 + git semver [Pipeline] } 21:05:59 $ docker stop --time=1 9026fe961d3513fda9aa56ae11035ed74c0127d0b43098c4380b17ae0fbe155f 21:06:00 $ docker rm -f --volumes 9026fe961d3513fda9aa56ae11035ed74c0127d0b43098c4380b17ae0fbe155f [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 21:06:02 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 21:06:02 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:06:02 total 16 21:06:02 drwxr-xr-x 3 root root 4096 Nov 28 20:30 . 21:06:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 21:05 .. 21:06:02 drwxr-xr-x 2 root root 4096 Nov 28 20:30 cost 21:06:02 -rw-r--r-- 1 root root 86 Nov 28 20:30 cost.csv 21:06:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:06:02 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 21:06:02 total 16 21:06:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 20:30 . 21:06:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 21:05 .. 21:06:02 drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 20:30 cost 21:06:02 -rw-r--r-- 1 jenkins jenkins 86 Nov 28 20:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:06:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:06:03 ---> package-listing.sh 21:06:03 ++ facter osfamily 21:06:03 ++ tr '[:upper:]' '[:lower:]' 21:06:03 + OS_FAMILY=debian 21:06:03 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 21:06:03 + START_PACKAGES=/tmp/packages_start.txt 21:06:03 + END_PACKAGES=/tmp/packages_end.txt 21:06:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:06:03 + PACKAGES=/tmp/packages_start.txt 21:06:03 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:06:03 + PACKAGES=/tmp/packages_end.txt 21:06:03 + case "${OS_FAMILY}" in 21:06:03 + dpkg -l 21:06:03 + grep '^ii' 21:06:03 + '[' -f /tmp/packages_start.txt ']' 21:06:03 + '[' -f /tmp/packages_end.txt ']' 21:06:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:06:03 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 21:06:03 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 21:06:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 21:06:03 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 21:06:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:04 prd-ubuntu20.04-docker-8c-8g-5120 does not seem to be running inside a container 21:06:04 $ 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 21:06:05 $ docker top 09ee25b4cc602942644b133727bcc6e3aba4db675dd8a52d0a54ba71c70b32cc -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:05 + touch /tmp/pre-build-complete [Pipeline] sh 21:06:05 + mkdir -p /var/log/sysstat [Pipeline] sh 21:06:06 + ls /var/log/sa-host 21:06:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:06 provisioning config files... 21:06:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6745958612807322975tmp [Pipeline] { [Pipeline] echo 21:06:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:06:06 ---> create-netrc.sh [Pipeline] } 21:06:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:06:07 ---> python-tools-install.sh [Pipeline] echo 21:06:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:06:07 ---> sudo-logs.sh 21:06:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:06:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:06:07 ---> job-cost.sh 21:06:07 lf-activate-venv: SKIPPING 21:06:07 DEBUG: total: 0.2199999988079071 21:06:07 INFO: Retrieving Stack Cost... 21:06:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:06:08 INFO: Archiving Costs [Pipeline] echo 21:06:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:06:08 ---> logs-deploy.sh 21:06:08 lf-activate-venv: SKIPPING 21:06:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/154 21:06:08 INFO: archiving workspace using pattern(s): 21:06:09 Archives upload complete. 21:06:09 INFO: archiving logs to Nexus