Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 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-ssh8390029502646572241.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12502272437389039671.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2858148683108293484.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9887232805068738333.key Verifying host key using known hosts file > 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-ssh1133950924197308500.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-118489 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#437)" > 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 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 > git rev-list --no-walk e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:42 ========================================================= 17:52:42 EdgeX Global Pipelines Version Info 17:52:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:42 ------------------- 17:52:42 stable info: 17:52:42 ------------------- 17:52:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:42 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:52:42 Message: update stable to v1.0.244 17:52:43 ------------------- 17:52:43 experimental info: 17:52:43 ------------------- 17:52:43 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:43 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:52:43 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:52:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:52:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:52:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [Pipeline] echo 17:52:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ee6b92 [Pipeline] echo 17:52:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:44 provisioning config files... 17:52:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13916979427686759731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:44 ---> docker-login.sh 17:52:44 nexus3.edgexfoundry.org:10001 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 nexus3.edgexfoundry.org:10002 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 nexus3.edgexfoundry.org:10003 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 nexus3.edgexfoundry.org:10004 17:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:44 Configure a credential helper to remove this warning. See 17:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:44 17:52:44 Login Succeeded 17:52:44 docker.io 17:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:45 Configure a credential helper to remove this warning. See 17:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:45 17:52:45 Login Succeeded 17:52:45 ---> docker-login.sh ends [Pipeline] } 17:52:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:45 + git rev-list -1 --merges 9ee6b9239046894cb89ff0f0b410cd21a3bbb457~1..9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [Pipeline] echo 17:52:45 -----------> git rev-list -1 --merges 9ee6b9239046894cb89ff0f0b410cd21a3bbb457~1..9ee6b9239046894cb89ff0f0b410cd21a3bbb457 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [false] [Pipeline] sh 17:52:46 + git log --format=format:%s -1 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [Pipeline] echo 17:52:46 ========================================================= 17:52:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:46 + git log --format=format:%s -1 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [Pipeline] echo 17:52:46 [semverPrep] GIT_COMMIT: 9ee6b9239046894cb89ff0f0b410cd21a3bbb457, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#437) [Pipeline] echo 17:52:46 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:46 + grep -v github /etc/ssh/ssh_known_hosts 17:52:46 + [ -e /tmp/ssh_known_hosts ] 17:52:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:52:46 + sudo tee -a /etc/ssh/ssh_known_hosts 17:52:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:47 17:52:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:47 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:47 b85a868b505f: Pulling fs layer 17:52:47 e2be974225ed: Pulling fs layer 17:52:47 339a4e72a1f5: Pulling fs layer 17:52:47 988bab9f4d93: Pulling fs layer 17:52:47 1469e6f7b9e6: Pulling fs layer 17:52:47 eaf3925da568: Pulling fs layer 17:52:47 bab4dde63d76: Pulling fs layer 17:52:47 bde34c3a00c8: Pulling fs layer 17:52:47 b352a97aabf1: Pulling fs layer 17:52:47 4872d77fe225: Pulling fs layer 17:52:47 5851b861e8e6: Pulling fs layer 17:52:47 988bab9f4d93: Waiting 17:52:47 1469e6f7b9e6: Waiting 17:52:47 eaf3925da568: Waiting 17:52:47 b352a97aabf1: Waiting 17:52:47 bab4dde63d76: Waiting 17:52:47 4872d77fe225: Waiting 17:52:47 bde34c3a00c8: Waiting 17:52:47 5851b861e8e6: Waiting 17:52:47 e2be974225ed: Download complete 17:52:47 988bab9f4d93: Verifying Checksum 17:52:47 988bab9f4d93: Download complete 17:52:47 1469e6f7b9e6: Verifying Checksum 17:52:47 1469e6f7b9e6: Download complete 17:52:47 eaf3925da568: Verifying Checksum 17:52:47 eaf3925da568: Download complete 17:52:47 339a4e72a1f5: Verifying Checksum 17:52:47 339a4e72a1f5: Download complete 17:52:47 bde34c3a00c8: Download complete 17:52:47 b352a97aabf1: Verifying Checksum 17:52:47 b352a97aabf1: Download complete 17:52:47 4872d77fe225: Verifying Checksum 17:52:47 4872d77fe225: Download complete 17:52:47 5851b861e8e6: Download complete 17:52:47 b85a868b505f: Verifying Checksum 17:52:47 b85a868b505f: Download complete 17:52:48 bab4dde63d76: Verifying Checksum 17:52:48 bab4dde63d76: Download complete 17:52:49 b85a868b505f: Pull complete 17:52:49 e2be974225ed: Pull complete 17:52:49 339a4e72a1f5: Pull complete 17:52:49 988bab9f4d93: Pull complete 17:52:50 1469e6f7b9e6: Pull complete 17:52:50 eaf3925da568: Pull complete 17:52:51 bab4dde63d76: Pull complete 17:52:51 bde34c3a00c8: Pull complete 17:52:51 b352a97aabf1: Pull complete 17:52:51 4872d77fe225: Pull complete 17:52:51 5851b861e8e6: Pull complete 17:52:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:52 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 17:52:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:52:54 $ docker top c7e7d33000edcde3e24ba4d8e674f29c01994e652e60a8be395be7511a74bbe2 -eo pid,comm 17:52:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:52:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:54 [ssh-agent] Looking for ssh-agent implementation... 17:52:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:54 $ docker exec c7e7d33000edcde3e24ba4d8e674f29c01994e652e60a8be395be7511a74bbe2 ssh-agent 17:52:54 SSH_AUTH_SOCK=/tmp/ssh-o79PppPQBlSZ/agent.33 17:52:54 SSH_AGENT_PID=39 17:52:54 Running ssh-add (command line suppressed) 17:52:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10504405049522276535.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10504405049522276535.key) 17:52:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:55 + git tag --points-at HEAD [Pipeline] } 17:52:55 $ docker exec --env ******** --env ******** c7e7d33000edcde3e24ba4d8e674f29c01994e652e60a8be395be7511a74bbe2 ssh-agent -k 17:52:55 unset SSH_AUTH_SOCK; 17:52:55 unset SSH_AGENT_PID; 17:52:55 echo Agent pid 39 killed; 17:52:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:55 [ssh-agent] Looking for ssh-agent implementation... 17:52:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:55 $ docker exec c7e7d33000edcde3e24ba4d8e674f29c01994e652e60a8be395be7511a74bbe2 ssh-agent 17:52:55 SSH_AUTH_SOCK=/tmp/ssh-fPoFROC7wOlR/agent.71 17:52:55 SSH_AGENT_PID=77 17:52:55 Running ssh-add (command line suppressed) 17:52:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14867723491915900198.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14867723491915900198.key) 17:52:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:56 + git semver init 17:52:56 2022-11-07 17:52:56,229 [run_init] DEBUG init version:0.0.0 force:False 17:52:56 2022-11-07 17:52:56,230 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:52:56 2022-11-07 17:52:56,230 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:52:56 2022-11-07 17:52:56,230 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 17:52:57 2022-11-07 17:52:57,151 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 17:52:57 2022-11-07 17:52:57,152 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 17:52:57 2022-11-07 17:52:57,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:52:57 2022-11-07 17:52:57,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:52:57 2.3.0-dev.33 [Pipeline] } 17:52:57 $ docker exec --env ******** --env ******** c7e7d33000edcde3e24ba4d8e674f29c01994e652e60a8be395be7511a74bbe2 ssh-agent -k 17:52:57 unset SSH_AUTH_SOCK; 17:52:57 unset SSH_AGENT_PID; 17:52:57 echo Agent pid 77 killed; 17:52:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:57 + git semver [Pipeline] } 17:52:57 $ docker stop --time=1 c7e7d33000edcde3e24ba4d8e674f29c01994e652e60a8be395be7511a74bbe2 17:52:59 $ docker rm -f c7e7d33000edcde3e24ba4d8e674f29c01994e652e60a8be395be7511a74bbe2 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:59 Stashed 1 file(s) [Pipeline] echo 17:52:59 [edgeXSemver]: initialized semver on version 2.3.0-dev.33 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:59 provisioning config files... 17:52:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4979394446416471414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:00 ---> docker-login.sh 17:53:00 nexus3.edgexfoundry.org:10001 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10002 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10003 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10004 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 docker.io 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 ---> docker-login.sh ends [Pipeline] } 17:53:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:01 ========================================================= 17:53:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:53:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:53:01 Sending build context to Docker daemon 6.207MB 17:53:01 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:53:01 Step 2/12 : FROM ${BASE} AS builder 17:53:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:53:01 213ec9aee27d: Pulling fs layer 17:53:01 4583459ba037: Pulling fs layer 17:53:01 93c1e223e6f2: Pulling fs layer 17:53:01 53926ce57604: Pulling fs layer 17:53:01 21b2b0c7a3f4: Pulling fs layer 17:53:01 22ff95d597cd: Pulling fs layer 17:53:01 12d6caf4c0d1: Pulling fs layer 17:53:01 96b7cbca73a9: Pulling fs layer 17:53:01 a7acece74701: Pulling fs layer 17:53:01 21b2b0c7a3f4: Waiting 17:53:01 22ff95d597cd: Waiting 17:53:01 12d6caf4c0d1: Waiting 17:53:01 96b7cbca73a9: Waiting 17:53:01 a7acece74701: Waiting 17:53:01 53926ce57604: Waiting 17:53:01 93c1e223e6f2: Download complete 17:53:01 4583459ba037: Verifying Checksum 17:53:01 4583459ba037: Download complete 17:53:01 21b2b0c7a3f4: Verifying Checksum 17:53:01 21b2b0c7a3f4: Download complete 17:53:01 22ff95d597cd: Download complete 17:53:01 213ec9aee27d: Verifying Checksum 17:53:01 213ec9aee27d: Download complete 17:53:01 12d6caf4c0d1: Download complete 17:53:01 213ec9aee27d: Pull complete 17:53:01 4583459ba037: Pull complete 17:53:01 93c1e223e6f2: Pull complete 17:53:02 a7acece74701: Verifying Checksum 17:53:02 a7acece74701: Download complete 17:53:02 53926ce57604: Verifying Checksum 17:53:02 53926ce57604: Download complete 17:53:02 96b7cbca73a9: Verifying Checksum 17:53:02 96b7cbca73a9: Download complete 17:53:06 53926ce57604: Pull complete 17:53:06 21b2b0c7a3f4: Pull complete 17:53:06 22ff95d597cd: Pull complete 17:53:06 12d6caf4c0d1: Pull complete 17:53:07 96b7cbca73a9: Pull complete 17:53:08 a7acece74701: Pull complete 17:53:08 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:53:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:53:08 ---> db6d94c90886 17:53:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:53:12 ---> Running in afd3bcc395fd 17:53:12 Removing intermediate container afd3bcc395fd 17:53:12 ---> fbcd1d159846 17:53:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:12 ---> Running in d0dbf57685a6 17:53:12 Removing intermediate container d0dbf57685a6 17:53:12 ---> 632221132265 17:53:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:53:12 ---> Running in 2af6c1f00c66 17:53:12 Removing intermediate container 2af6c1f00c66 17:53:12 ---> 7b87eb8d8bc9 17:53:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:53:12 ---> Running in 4fff5ecf84f0 17:53:12 Removing intermediate container 4fff5ecf84f0 17:53:12 ---> 9052d8c31eb1 17:53:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:12 ---> Running in ac014113088c 17:53:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:53:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:53:12 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:53:12 (2/4) Installing libedit (20210910.3.1-r0) 17:53:12 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:53:12 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:53:12 Executing busybox-1.35.0-r17.trigger 17:53:12 OK: 216 MiB in 55 packages 17:53:13 Removing intermediate container ac014113088c 17:53:13 ---> 6c7f428e34ba 17:53:13 Step 8/12 : WORKDIR /device-mqtt-go 17:53:13 ---> Running in 67db856b8a25 17:53:13 Removing intermediate container 67db856b8a25 17:53:13 ---> d1eec6b07e53 17:53:13 Step 9/12 : COPY go.mod vendor* ./ 17:53:13 ---> 0121191ba27d 17:53:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:13 ---> Running in f6e5650700fa 17:53:14 Still waiting to schedule task 17:53:14 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:53:45 Removing intermediate container f6e5650700fa 17:53:45 ---> 09f2ac97f95b 17:53:45 Step 11/12 : COPY . . 17:53:45 ---> 567d487aad46 17:53:45 Step 12/12 : RUN $MAKE 17:53:45 ---> Running in 10bbbf3240ba 17:53:45 noop 17:53:45 Removing intermediate container 10bbbf3240ba 17:53:45 ---> f5f97001089a 17:53:45 Successfully built f5f97001089a 17:53:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:45 + docker inspect -f . ci-base-image-x86_64 17:53:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:45 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 17:53: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 ******** ci-base-image-x86_64 cat 17:53:46 $ docker top edea0c467d9d8f4caef997f7d2eb9d534937202f6e3a715ef9e9a68949bbe6bd -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:46 + go version 17:53:46 go version go1.18.7 linux/amd64 [Pipeline] } 17:53:46 $ docker stop --time=1 edea0c467d9d8f4caef997f7d2eb9d534937202f6e3a715ef9e9a68949bbe6bd 17:53:47 $ docker rm -f edea0c467d9d8f4caef997f7d2eb9d534937202f6e3a715ef9e9a68949bbe6bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:48 + docker inspect -f . ci-base-image-x86_64 17:53:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:48 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 17:53:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:48 $ docker top c23c381510465b94b4a7a4737ebb46978d2d317072ffb1136559162340e32204 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 17:53:49 + make test 17:53:49 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:53:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:53:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:53:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements 17:53:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:54:06 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:54:06 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:54:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:09 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:09 $ docker stop --time=1 c23c381510465b94b4a7a4737ebb46978d2d317072ffb1136559162340e32204 17:54:11 $ docker rm -f c23c381510465b94b4a7a4737ebb46978d2d317072ffb1136559162340e32204 [Pipeline] // withDockerContainer [Pipeline] sh 17:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:12 + ls -al . 17:54:12 total 196 17:54:12 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:53 . 17:54:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:52 .. 17:54:12 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:52 .dockerignore 17:54:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:53 .git 17:54:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:52 .github 17:54:12 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:52 .gitignore 17:54:12 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:52 .golangci.yml 17:54:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:52 .semver 17:54:12 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:52 Attribution.txt 17:54:12 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:52 CHANGELOG.md 17:54:12 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:52 Dockerfile 17:54:12 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:52 GOVERNANCE.md 17:54:12 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:52 Jenkinsfile 17:54:12 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:52 LICENSE 17:54:12 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:52 Makefile 17:54:12 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:52 OWNERS.md 17:54:12 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:52 README.md 17:54:12 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 17:52 VERSION 17:54:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:52 bin 17:54:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:52 cmd 17:54:12 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 17:53 coverage.out 17:54:12 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 17:52 go.mod 17:54:12 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 17:52 go.sum 17:54:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:52 internal 17:54:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:52 mock 17:54:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:52 snap 17:54:12 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:13 + 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=9ee6b9239046894cb89ff0f0b410cd21a3bbb457 --label arch=amd64 --label version=2.3.0-dev.33 . 17:54:13 Sending build context to Docker daemon 6.226MB 17:54:13 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:54:13 Step 2/24 : FROM ${BASE} AS builder 17:54:13 ---> f5f97001089a 17:54:13 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:54:13 ---> Running in cd271a75d4d3 17:54:13 Removing intermediate container cd271a75d4d3 17:54:13 ---> 2126a37e361e 17:54:13 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:13 ---> Running in 5792557c14b5 17:54:13 Removing intermediate container 5792557c14b5 17:54:13 ---> 2cd30177a5b3 17:54:13 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:54:13 ---> Running in 3f2855c524a5 17:54:13 Removing intermediate container 3f2855c524a5 17:54:13 ---> 9e9cc1454315 17:54:13 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:54:13 ---> Running in 8d3c4e9960d3 17:54:13 Removing intermediate container 8d3c4e9960d3 17:54:13 ---> 52d3f59c8206 17:54:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:13 ---> Running in 54dd287c3794 17:54:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:54:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:54:14 OK: 216 MiB in 55 packages 17:54:14 Removing intermediate container 54dd287c3794 17:54:14 ---> 28ac59e6130b 17:54:14 Step 8/24 : WORKDIR /device-mqtt-go 17:54:14 ---> Running in adc95adfb459 17:54:14 Removing intermediate container adc95adfb459 17:54:14 ---> c4c1991a7def 17:54:14 Step 9/24 : COPY go.mod vendor* ./ 17:54:14 ---> 5a0a26f86fe7 17:54:14 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:14 ---> Running in 44b72fc16224 17:54:15 Removing intermediate container 44b72fc16224 17:54:15 ---> 3d3b307db5eb 17:54:15 Step 11/24 : COPY . . 17:54:15 ---> 6f02d8994000 17:54:15 Step 12/24 : RUN $MAKE 17:54:15 ---> Running in a817fc1d19d3 17:54:15 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.33" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:54:37 Removing intermediate container a817fc1d19d3 17:54:37 ---> 8c44e29434f9 17:54:37 Step 13/24 : FROM alpine:3.16 17:54:37 3.16: Pulling from library/alpine 17:54:37 213ec9aee27d: Already exists 17:54:37 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:54:37 Status: Downloaded newer image for alpine:3.16 17:54:37 ---> 9c6f07244728 17:54:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:54:37 ---> Running in ff9694366143 17:54:37 Removing intermediate container ff9694366143 17:54:37 ---> b016e6813249 17:54:37 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:54:37 ---> Running in e48d3c897a08 17:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:54:37 (1/6) Installing dumb-init (1.2.5-r1) 17:54:37 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:54:37 (3/6) Installing libsodium (1.0.18-r0) 17:54:37 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:54:37 (5/6) Installing libzmq (4.3.4-r0) 17:54:37 (6/6) Installing zeromq (4.3.4-r0) 17:54:37 Executing busybox-1.35.0-r17.trigger 17:54:37 OK: 8 MiB in 20 packages 17:54:37 Removing intermediate container e48d3c897a08 17:54:37 ---> 2953bc09ce53 17:54:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:54:37 ---> 69e38b7ac5da 17:54:37 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:54:37 ---> 8e9c465e8460 17:54:37 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:54:37 ---> ff9192b46044 17:54:37 Step 19/24 : EXPOSE 59982 17:54:37 ---> Running in 4d8432c269ec 17:54:37 Removing intermediate container 4d8432c269ec 17:54:37 ---> 12cbeca800e7 17:54:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:54:37 ---> Running in 14e19c6ed34f 17:54:37 Removing intermediate container 14e19c6ed34f 17:54:37 ---> 0233d51d5564 17:54:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:54:37 ---> Running in 88331259204e 17:54:37 Removing intermediate container 88331259204e 17:54:37 ---> 9b7404971b90 17:54:37 Step 22/24 : LABEL arch=amd64 17:54:37 ---> Running in 537727d7f649 17:54:37 Removing intermediate container 537727d7f649 17:54:37 ---> 4bc80d802be5 17:54:37 Step 23/24 : LABEL git_sha=9ee6b9239046894cb89ff0f0b410cd21a3bbb457 17:54:37 ---> Running in ce4ad5151a25 17:54:38 Removing intermediate container ce4ad5151a25 17:54:38 ---> 80574f261ba1 17:54:38 Step 24/24 : LABEL version=2.3.0-dev.33 17:54:38 ---> Running in afafe14c2387 17:54:38 Removing intermediate container afafe14c2387 17:54:38 ---> c4eb52c5223e 17:54:38 [Warning] One or more build-args [ARCH] were not consumed 17:54:38 Successfully built c4eb52c5223e 17:54:38 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:38 provisioning config files... 17:54:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6360058399374550198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:38 ---> docker-login.sh 17:54:38 nexus3.edgexfoundry.org:10001 17:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:38 Configure a credential helper to remove this warning. See 17:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:38 17:54:38 Login Succeeded 17:54:38 nexus3.edgexfoundry.org:10002 17:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:38 Configure a credential helper to remove this warning. See 17:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:38 17:54:38 Login Succeeded 17:54:38 nexus3.edgexfoundry.org:10003 17:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:38 Configure a credential helper to remove this warning. See 17:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:38 17:54:38 Login Succeeded 17:54:38 nexus3.edgexfoundry.org:10004 17:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:38 Configure a credential helper to remove this warning. See 17:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:38 17:54:38 Login Succeeded 17:54:38 docker.io 17:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:39 Configure a credential helper to remove this warning. See 17:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:39 17:54:39 Login Succeeded 17:54:39 ---> docker-login.sh ends [Pipeline] } 17:54:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:54:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:54:39 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 17:54:39 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 17:54:39 latest 17:54:39 2.3.0-dev.33 17:54:39 9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33 17:54:39 main 17:54:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9ee6b9239046894cb89ff0f0b410cd21a3bbb457 17:54:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:39 ae7a2d6bcb7a: Preparing 17:54:39 e0621d45a583: Preparing 17:54:39 bde10671d956: Preparing 17:54:39 df0e5cd6650e: Preparing 17:54:39 994393dc58e7: Preparing 17:54:39 994393dc58e7: Layer already exists 17:54:39 e0621d45a583: Pushed 17:54:39 ae7a2d6bcb7a: Pushed 17:54:40 df0e5cd6650e: Pushed 17:54:42 bde10671d956: Pushed 17:54:42 9ee6b9239046894cb89ff0f0b410cd21a3bbb457: digest: sha256:4fef2d7b4c1fc00c8584b86f64668f6ee701a772fe667c6a1a0ea1225920f982 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:42 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:54:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:43 ae7a2d6bcb7a: Preparing 17:54:43 e0621d45a583: Preparing 17:54:43 bde10671d956: Preparing 17:54:43 df0e5cd6650e: Preparing 17:54:43 994393dc58e7: Preparing 17:54:43 994393dc58e7: Layer already exists 17:54:43 e0621d45a583: Layer already exists 17:54:43 bde10671d956: Layer already exists 17:54:43 df0e5cd6650e: Layer already exists 17:54:43 ae7a2d6bcb7a: Layer already exists 17:54:43 latest: digest: sha256:4fef2d7b4c1fc00c8584b86f64668f6ee701a772fe667c6a1a0ea1225920f982 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.33 17:54:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:43 ae7a2d6bcb7a: Preparing 17:54:43 e0621d45a583: Preparing 17:54:43 bde10671d956: Preparing 17:54:43 df0e5cd6650e: Preparing 17:54:43 994393dc58e7: Preparing 17:54:43 df0e5cd6650e: Layer already exists 17:54:43 e0621d45a583: Layer already exists 17:54:43 ae7a2d6bcb7a: Layer already exists 17:54:43 994393dc58e7: Layer already exists 17:54:43 bde10671d956: Layer already exists 17:54:43 2.3.0-dev.33: digest: sha256:4fef2d7b4c1fc00c8584b86f64668f6ee701a772fe667c6a1a0ea1225920f982 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33 17:54:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:44 ae7a2d6bcb7a: Preparing 17:54:44 e0621d45a583: Preparing 17:54:44 bde10671d956: Preparing 17:54:44 df0e5cd6650e: Preparing 17:54:44 994393dc58e7: Preparing 17:54:44 e0621d45a583: Layer already exists 17:54:44 bde10671d956: Layer already exists 17:54:44 994393dc58e7: Layer already exists 17:54:44 df0e5cd6650e: Layer already exists 17:54:44 ae7a2d6bcb7a: Layer already exists 17:54:44 9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33: digest: sha256:4fef2d7b4c1fc00c8584b86f64668f6ee701a772fe667c6a1a0ea1225920f982 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:44 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 17:54:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:54:44 ae7a2d6bcb7a: Preparing 17:54:44 e0621d45a583: Preparing 17:54:44 bde10671d956: Preparing 17:54:44 df0e5cd6650e: Preparing 17:54:44 994393dc58e7: Preparing 17:54:44 994393dc58e7: Layer already exists 17:54:44 bde10671d956: Layer already exists 17:54:44 e0621d45a583: Layer already exists 17:54:44 df0e5cd6650e: Layer already exists 17:54:44 ae7a2d6bcb7a: Layer already exists 17:54:44 main: digest: sha256:4fef2d7b4c1fc00c8584b86f64668f6ee701a772fe667c6a1a0ea1225920f982 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:54:45 ===================================================== [Pipeline] echo 17:54:45 taggedImages: 17:54:45 - nexus3.edgexfoundry.org:10004/device-mqtt:9ee6b9239046894cb89ff0f0b410cd21a3bbb457 17:54:45 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:54:45 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.33 17:54:45 - nexus3.edgexfoundry.org:10004/device-mqtt:9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33 17:54:45 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:45 17:54:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:45 latest: Pulling from edgex-lftools-log-publisher 17:54:45 5eb5b503b376: Pulling fs layer 17:54:45 5c69ac0246d0: Pulling fs layer 17:54:45 ec43610c2a17: Pulling fs layer 17:54:45 3a2ae6a8a46f: Pulling fs layer 17:54:45 33b1e0a273af: Pulling fs layer 17:54:45 5d3b04190fa2: Pulling fs layer 17:54:45 2f39f015ded8: Pulling fs layer 17:54:45 5d3b04190fa2: Waiting 17:54:45 3a2ae6a8a46f: Waiting 17:54:45 33b1e0a273af: Waiting 17:54:45 2f39f015ded8: Waiting 17:54:45 5c69ac0246d0: Download complete 17:54:45 3a2ae6a8a46f: Download complete 17:54:45 33b1e0a273af: Download complete 17:54:45 5d3b04190fa2: Verifying Checksum 17:54:45 5d3b04190fa2: Download complete 17:54:45 ec43610c2a17: Verifying Checksum 17:54:45 ec43610c2a17: Download complete 17:54:45 5eb5b503b376: Verifying Checksum 17:54:45 5eb5b503b376: Download complete 17:54:46 2f39f015ded8: Download complete 17:54:47 5eb5b503b376: Pull complete 17:54:47 5c69ac0246d0: Pull complete 17:54:47 ec43610c2a17: Pull complete 17:54:47 3a2ae6a8a46f: Pull complete 17:54:47 33b1e0a273af: Pull complete 17:54:48 5d3b04190fa2: Pull complete 17:54:52 2f39f015ded8: Pull complete 17:54:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:54:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:52 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 17:54:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:54:55 $ docker top 6accdfba919cbda5320b85774de9551f1bb5c259f35ea9749178a010eb54790f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:55 ---> job-cost.sh 17:54:55 lf-activate-venv: SKIPPING 17:54:55 INFO: No Stack... 17:54:56 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:56 INFO: Archiving Costs [Pipeline] sh 17:54:56 + + cut -d, -f6 17:54:56 cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [Pipeline] lock 17:54:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-80-stack-cost] 17:54:56 Resource [jenkins-edgexfoundry-device-mqtt-go-main-80-stack-cost] did not exist. Created. 17:54:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:54:56 + echo total: 0.2199999988079071 [Pipeline] stash 17:54:56 Stashed 1 file(s) [Pipeline] } 17:54:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 17:54:56 $ docker stop --time=1 6accdfba919cbda5320b85774de9551f1bb5c259f35ea9749178a010eb54790f 17:54:58 $ docker rm -f 6accdfba919cbda5320b85774de9551f1bb5c259f35ea9749178a010eb54790f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:56:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118492 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 17:56:24 Running in /w/workspace/device-mqtt-go/80 [Pipeline] { [Pipeline] checkout 17:56:24 Selected Git installation does not exist. Using Default 17:56:24 The recommended git tool is: NONE 17:56:30 using credential edgex-jenkins-ssh 17:56:30 Cloning the remote Git repository 17:56:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:56:30 > git init /w/workspace/device-mqtt-go/80 # timeout=10 17:56:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:56:30 > git --version # timeout=10 17:56:30 > git --version # 'git version 2.25.1' 17:56:30 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:30 Verifying host key using known hosts file 17:56:30 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:56:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:56:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:32 Avoid second fetch 17:56:32 Checking out Revision 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 (main) 17:56:33 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#437)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:32 > git config core.sparsecheckout # timeout=10 17:56:32 > git checkout -f 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 17:56:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:56:33 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:33 Dload Upload Total Spent Left Speed 17:56:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88125 [Pipeline] sh 17:56:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:56:34 + sudo tee /etc/docker/daemon.new 17:56:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:56:34 { 17:56:34 "registry-mirrors": [ 17:56:34 "https://nexus3.edgexfoundry.org:10001" 17:56:34 ], 17:56:34 "bip": "10.250.0.254/24", 17:56:34 "hosts": [ 17:56:34 "tcp://0.0.0.0:5555", 17:56:34 "unix:///var/run/docker.sock" 17:56:34 ], 17:56:34 "mtu": 1458, 17:56:34 "selinux-enabled": true, 17:56:34 "seccomp-profile": "/etc/docker/seccomp.json" 17:56:34 } [Pipeline] sh 17:56:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:56:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:56:53 provisioning config files... 17:56:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/80@tmp/config10158733953312361514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:54 ---> docker-login.sh 17:56:54 nexus3.edgexfoundry.org:10001 17:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:54 Configure a credential helper to remove this warning. See 17:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:54 17:56:54 Login Succeeded 17:56:54 nexus3.edgexfoundry.org:10002 17:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:54 Configure a credential helper to remove this warning. See 17:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:54 17:56:54 Login Succeeded 17:56:54 nexus3.edgexfoundry.org:10003 17:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:55 Configure a credential helper to remove this warning. See 17:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:55 17:56:55 Login Succeeded 17:56:55 nexus3.edgexfoundry.org:10004 17:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:55 Configure a credential helper to remove this warning. See 17:56:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:55 17:56:55 Login Succeeded 17:56:55 docker.io 17:56:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:56 Configure a credential helper to remove this warning. See 17:56:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:56 17:56:56 Login Succeeded 17:56:56 ---> docker-login.sh ends [Pipeline] } 17:56:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:56:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:56 ========================================================= 17:56:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:56:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:56:57 Sending build context to Docker daemon 3.232MB 17:56:57 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:56:57 Step 2/12 : FROM ${BASE} AS builder 17:56:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:56:57 9b18e9b68314: Pulling fs layer 17:56:57 35d82f9e3411: Pulling fs layer 17:56:57 e16973657156: Pulling fs layer 17:56:57 fc693d55d65f: Pulling fs layer 17:56:57 7e9fc2657dce: Pulling fs layer 17:56:57 dda99020689f: Pulling fs layer 17:56:57 db1c61fa0a46: Pulling fs layer 17:56:57 891c053d2c06: Pulling fs layer 17:56:57 fc693d55d65f: Waiting 17:56:57 7e9fc2657dce: Waiting 17:56:57 dda99020689f: Waiting 17:56:57 db1c61fa0a46: Waiting 17:56:57 891c053d2c06: Waiting 17:56:57 e16973657156: Download complete 17:56:57 35d82f9e3411: Verifying Checksum 17:56:57 35d82f9e3411: Download complete 17:56:57 7e9fc2657dce: Verifying Checksum 17:56:57 7e9fc2657dce: Download complete 17:56:57 dda99020689f: Verifying Checksum 17:56:57 dda99020689f: Download complete 17:56:57 9b18e9b68314: Verifying Checksum 17:56:58 9b18e9b68314: Pull complete 17:56:58 891c053d2c06: Verifying Checksum 17:56:58 891c053d2c06: Download complete 17:56:58 35d82f9e3411: Pull complete 17:56:59 e16973657156: Pull complete 17:56:59 db1c61fa0a46: Verifying Checksum 17:56:59 db1c61fa0a46: Download complete 17:57:00 fc693d55d65f: Verifying Checksum 17:57:00 fc693d55d65f: Download complete 17:57:12 fc693d55d65f: Pull complete 17:57:12 7e9fc2657dce: Pull complete 17:57:12 dda99020689f: Pull complete 17:57:19 db1c61fa0a46: Pull complete 17:57:20 891c053d2c06: Pull complete 17:57:20 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:57:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:57:20 ---> f96f9c87975a 17:57:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:57:22 ---> Running in 2efaf5f9e16b 17:57:23 Removing intermediate container 2efaf5f9e16b 17:57:23 ---> f20d26d4b88d 17:57:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:23 ---> Running in 753f2109221d 17:57:23 Removing intermediate container 753f2109221d 17:57:23 ---> 73a4ed995f2a 17:57:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:57:23 ---> Running in 6a59db169a04 17:57:23 Removing intermediate container 6a59db169a04 17:57:23 ---> e76c7a46f4f8 17:57:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:57:23 ---> Running in 87cda7239277 17:57:24 Removing intermediate container 87cda7239277 17:57:24 ---> fb6d1a310702 17:57:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:24 ---> Running in a1b6cab4760e 17:57:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:57:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:57:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:57:26 (2/4) Installing libedit (20210910.3.1-r0) 17:57:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:57:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:57:26 Executing busybox-1.35.0-r17.trigger 17:57:26 OK: 226 MiB in 55 packages 17:57:28 Removing intermediate container a1b6cab4760e 17:57:28 ---> fb1456390ef9 17:57:28 Step 8/12 : WORKDIR /device-mqtt-go 17:57:28 ---> Running in 49cab5808d46 17:57:28 Removing intermediate container 49cab5808d46 17:57:28 ---> 33655740c498 17:57:28 Step 9/12 : COPY go.mod vendor* ./ 17:57:28 ---> 752754734ac9 17:57:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:28 ---> Running in c9d07b292bb6 17:58:25 Removing intermediate container c9d07b292bb6 17:58:25 ---> a0343dc9b6dd 17:58:25 Step 11/12 : COPY . . 17:58:25 ---> e5323b079d94 17:58:25 Step 12/12 : RUN $MAKE 17:58:25 ---> Running in 08b0a9157b21 17:58:25 noop 17:58:25 Removing intermediate container 08b0a9157b21 17:58:25 ---> 69a95ceb9633 17:58:25 Successfully built 69a95ceb9633 17:58:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:25 + docker inspect -f . ci-base-image-arm64 17:58:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:25 prd-ubuntu20.04-docker-arm64-4c-16g-118492 does not seem to be running inside a container 17:58:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/80 -v /w/workspace/device-mqtt-go/80:/w/workspace/device-mqtt-go/80:rw,z -v /w/workspace/device-mqtt-go/80@tmp:/w/workspace/device-mqtt-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:58:27 $ docker top b5d6d59be4468065c6e64cab28d5a12b172a0335c267388963487404eac1dd39 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:27 + go version 17:58:27 go version go1.18.7 linux/arm64 [Pipeline] } 17:58:27 $ docker stop --time=1 b5d6d59be4468065c6e64cab28d5a12b172a0335c267388963487404eac1dd39 17:58:29 $ docker rm -f b5d6d59be4468065c6e64cab28d5a12b172a0335c267388963487404eac1dd39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:30 + docker inspect -f . ci-base-image-arm64 17:58:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:30 prd-ubuntu20.04-docker-arm64-4c-16g-118492 does not seem to be running inside a container 17:58:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/80 -v /w/workspace/device-mqtt-go/80:/w/workspace/device-mqtt-go/80:rw,z -v /w/workspace/device-mqtt-go/80@tmp:/w/workspace/device-mqtt-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:58:31 $ docker top c3cf4e45f19931085087d42c29eaae0d10af1c7e651defbc7ff96ee1f387da9b -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:31 + git config --global --add safe.directory /w/workspace/device-mqtt-go/80 [Pipeline] fileExists [Pipeline] sh 17:58:32 + make test 17:58:32 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:58:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:00:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:00:10 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 18:00:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:00:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:00:10 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:00:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:00:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:00:22 ./bin/test-attribution-txt.sh [Pipeline] echo 18:00:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:00:22 $ docker stop --time=1 c3cf4e45f19931085087d42c29eaae0d10af1c7e651defbc7ff96ee1f387da9b 18:00:24 $ docker rm -f c3cf4e45f19931085087d42c29eaae0d10af1c7e651defbc7ff96ee1f387da9b [Pipeline] // withDockerContainer [Pipeline] sh 18:00:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:00:25 Warning: overwriting stash ‘coverage-report’ 18:00:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:00:26 + ls -al . 18:00:26 total 192 18:00:26 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:58 . 18:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:56 .. 18:00:26 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:56 .dockerignore 18:00:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:56 .git 18:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:56 .github 18:00:26 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:56 .gitignore 18:00:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:56 .golangci.yml 18:00:26 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:56 Attribution.txt 18:00:26 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:56 CHANGELOG.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:56 Dockerfile 18:00:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:56 GOVERNANCE.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:56 Jenkinsfile 18:00:26 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:56 LICENSE 18:00:26 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:56 Makefile 18:00:26 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:56 OWNERS.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:56 README.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 17:52 VERSION 18:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:56 bin 18:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:56 cmd 18:00:26 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 17:59 coverage.out 18:00:26 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 17:56 go.mod 18:00:26 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 17:56 go.sum 18:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:56 internal 18:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:56 mock 18:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:56 snap 18:00:26 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:27 + 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=9ee6b9239046894cb89ff0f0b410cd21a3bbb457 --label arch=arm64 --label version=2.3.0-dev.33 . 18:00:27 Sending build context to Docker daemon 3.251MB 18:00:27 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:00:27 Step 2/24 : FROM ${BASE} AS builder 18:00:27 ---> 69a95ceb9633 18:00:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:00:27 ---> Running in 950f82c87721 18:00:27 Removing intermediate container 950f82c87721 18:00:27 ---> 6348162bc845 18:00:27 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:00:27 ---> Running in 936b61c882ba 18:00:28 Removing intermediate container 936b61c882ba 18:00:28 ---> 93df19044ea6 18:00:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:00:28 ---> Running in 175277846b77 18:00:28 Removing intermediate container 175277846b77 18:00:28 ---> ca5a35872734 18:00:28 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:00:28 ---> Running in 69a0c7ae9647 18:00:28 Removing intermediate container 69a0c7ae9647 18:00:28 ---> 2d8c91194d32 18:00:28 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:00:28 ---> Running in 9d530bada69b 18:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:00:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:00:31 OK: 226 MiB in 55 packages 18:00:32 Removing intermediate container 9d530bada69b 18:00:32 ---> feaeac5801e8 18:00:32 Step 8/24 : WORKDIR /device-mqtt-go 18:00:32 ---> Running in c3823aee9ebb 18:00:32 Removing intermediate container c3823aee9ebb 18:00:32 ---> a12e06422177 18:00:32 Step 9/24 : COPY go.mod vendor* ./ 18:00:32 ---> eb1c25e2fcdb 18:00:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:00:32 ---> Running in 0708c923b88d 18:00:34 Removing intermediate container 0708c923b88d 18:00:34 ---> 25c6c8cf9ef1 18:00:34 Step 11/24 : COPY . . 18:00:35 ---> c9207bcb5010 18:00:35 Step 12/24 : RUN $MAKE 18:00:35 ---> Running in 64d39d224357 18:00:36 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.33" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 18:03:28 Removing intermediate container 64d39d224357 18:03:28 ---> 0e301a4eecd3 18:03:28 Step 13/24 : FROM alpine:3.16 18:03:28 3.16: Pulling from library/alpine 18:03:28 9b18e9b68314: Already exists 18:03:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:03:28 Status: Downloaded newer image for alpine:3.16 18:03:28 ---> a6215f271958 18:03:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:03:28 ---> Running in f5936159a6fc 18:03:28 Removing intermediate container f5936159a6fc 18:03:28 ---> 35d18f2372c8 18:03:28 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:03:28 ---> Running in fa690261afc1 18:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:03:28 (1/6) Installing dumb-init (1.2.5-r1) 18:03:28 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:03:28 (3/6) Installing libsodium (1.0.18-r0) 18:03:28 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:03:28 (5/6) Installing libzmq (4.3.4-r0) 18:03:28 (6/6) Installing zeromq (4.3.4-r0) 18:03:28 Executing busybox-1.35.0-r17.trigger 18:03:28 OK: 8 MiB in 20 packages 18:03:28 Removing intermediate container fa690261afc1 18:03:28 ---> 764660ef7bb3 18:03:28 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:03:28 ---> b8da9f397462 18:03:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:03:28 ---> 38a170426ceb 18:03:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:03:28 ---> 78b14f0c83cf 18:03:28 Step 19/24 : EXPOSE 59982 18:03:28 ---> Running in a75437d9fe95 18:03:28 Removing intermediate container a75437d9fe95 18:03:28 ---> d997f1813fd3 18:03:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:03:28 ---> Running in 0a10b53d2d4d 18:03:28 Removing intermediate container 0a10b53d2d4d 18:03:28 ---> d5aaf3c762ac 18:03:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:03:28 ---> Running in 29f5eaa60b3d 18:03:28 Removing intermediate container 29f5eaa60b3d 18:03:28 ---> 325ddb784135 18:03:28 Step 22/24 : LABEL arch=arm64 18:03:28 ---> Running in c8c58b22b511 18:03:28 Removing intermediate container c8c58b22b511 18:03:28 ---> fda742d747f2 18:03:28 Step 23/24 : LABEL git_sha=9ee6b9239046894cb89ff0f0b410cd21a3bbb457 18:03:28 ---> Running in 555a71ac0bf8 18:03:28 Removing intermediate container 555a71ac0bf8 18:03:28 ---> 8a5eadb04236 18:03:28 Step 24/24 : LABEL version=2.3.0-dev.33 18:03:28 ---> Running in 1130359f137b 18:03:28 Removing intermediate container 1130359f137b 18:03:28 ---> 306cac18161b 18:03:28 [Warning] One or more build-args [ARCH] were not consumed 18:03:28 Successfully built 306cac18161b 18:03:28 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:03:28 provisioning config files... 18:03:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/80@tmp/config355488203013071918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:29 ---> docker-login.sh 18:03:29 nexus3.edgexfoundry.org:10001 18:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:29 Configure a credential helper to remove this warning. See 18:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:29 18:03:29 Login Succeeded 18:03:29 nexus3.edgexfoundry.org:10002 18:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:29 Configure a credential helper to remove this warning. See 18:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:29 18:03:29 Login Succeeded 18:03:29 nexus3.edgexfoundry.org:10003 18:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:29 Configure a credential helper to remove this warning. See 18:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:29 18:03:29 Login Succeeded 18:03:29 nexus3.edgexfoundry.org:10004 18:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:30 Configure a credential helper to remove this warning. See 18:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:30 18:03:30 Login Succeeded 18:03:30 docker.io 18:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:30 Configure a credential helper to remove this warning. See 18:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:30 18:03:30 Login Succeeded 18:03:30 ---> docker-login.sh ends [Pipeline] } 18:03:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:03:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:31 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 18:03:31 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 18:03:31 latest 18:03:31 2.3.0-dev.33 18:03:31 9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33 18:03:31 main 18:03:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9ee6b9239046894cb89ff0f0b410cd21a3bbb457 18:03:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:03:31 694cbf7bde09: Preparing 18:03:31 562b86bf595e: Preparing 18:03:31 4ce7a3dcdc39: Preparing 18:03:31 034c12509ec3: Preparing 18:03:31 5d3e392a13a0: Preparing 18:03:31 5d3e392a13a0: Layer already exists 18:03:31 562b86bf595e: Pushed 18:03:31 694cbf7bde09: Pushed 18:03:32 034c12509ec3: Pushed 18:03:36 4ce7a3dcdc39: Pushed 18:03:37 9ee6b9239046894cb89ff0f0b410cd21a3bbb457: digest: sha256:1548cb13cf54920804534b555094e79856a962caa718fa18acd581e0fdf889fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:03:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:03:37 694cbf7bde09: Preparing 18:03:37 562b86bf595e: Preparing 18:03:37 4ce7a3dcdc39: Preparing 18:03:37 034c12509ec3: Preparing 18:03:37 5d3e392a13a0: Preparing 18:03:37 5d3e392a13a0: Layer already exists 18:03:37 694cbf7bde09: Layer already exists 18:03:37 4ce7a3dcdc39: Layer already exists 18:03:37 034c12509ec3: Layer already exists 18:03:37 562b86bf595e: Layer already exists 18:03:37 latest: digest: sha256:1548cb13cf54920804534b555094e79856a962caa718fa18acd581e0fdf889fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.33 18:03:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:03:38 694cbf7bde09: Preparing 18:03:38 562b86bf595e: Preparing 18:03:38 4ce7a3dcdc39: Preparing 18:03:38 034c12509ec3: Preparing 18:03:38 5d3e392a13a0: Preparing 18:03:38 562b86bf595e: Layer already exists 18:03:38 694cbf7bde09: Layer already exists 18:03:38 034c12509ec3: Layer already exists 18:03:38 4ce7a3dcdc39: Layer already exists 18:03:38 5d3e392a13a0: Layer already exists 18:03:38 2.3.0-dev.33: digest: sha256:1548cb13cf54920804534b555094e79856a962caa718fa18acd581e0fdf889fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33 18:03:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:03:39 694cbf7bde09: Preparing 18:03:39 562b86bf595e: Preparing 18:03:39 4ce7a3dcdc39: Preparing 18:03:39 034c12509ec3: Preparing 18:03:39 5d3e392a13a0: Preparing 18:03:39 5d3e392a13a0: Layer already exists 18:03:39 694cbf7bde09: Layer already exists 18:03:39 4ce7a3dcdc39: Layer already exists 18:03:39 034c12509ec3: Layer already exists 18:03:39 562b86bf595e: Layer already exists 18:03:39 9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33: digest: sha256:1548cb13cf54920804534b555094e79856a962caa718fa18acd581e0fdf889fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 18:03:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:03:39 694cbf7bde09: Preparing 18:03:39 562b86bf595e: Preparing 18:03:39 4ce7a3dcdc39: Preparing 18:03:39 034c12509ec3: Preparing 18:03:39 5d3e392a13a0: Preparing 18:03:39 5d3e392a13a0: Layer already exists 18:03:39 4ce7a3dcdc39: Layer already exists 18:03:39 562b86bf595e: Layer already exists 18:03:39 694cbf7bde09: Layer already exists 18:03:39 034c12509ec3: Layer already exists 18:03:39 main: digest: sha256:1548cb13cf54920804534b555094e79856a962caa718fa18acd581e0fdf889fe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:03:39 ===================================================== [Pipeline] echo 18:03:39 taggedImages: 18:03:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9ee6b9239046894cb89ff0f0b410cd21a3bbb457 18:03:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:03:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.33 18:03:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9ee6b9239046894cb89ff0f0b410cd21a3bbb457-2.3.0-dev.33 18:03:39 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:40 18:03:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:40 arm64: Pulling from edgex-lftools-log-publisher 18:03:40 8998bd30e6a1: Pulling fs layer 18:03:40 04944245beec: Pulling fs layer 18:03:40 699f458cf7ca: Pulling fs layer 18:03:40 765212b225bb: Pulling fs layer 18:03:40 f23df028b6ca: Pulling fs layer 18:03:40 d65c8cfc05b1: Pulling fs layer 18:03:40 2437ff75d9bd: Pulling fs layer 18:03:40 f23df028b6ca: Waiting 18:03:40 d65c8cfc05b1: Waiting 18:03:40 2437ff75d9bd: Waiting 18:03:40 765212b225bb: Waiting 18:03:40 04944245beec: Verifying Checksum 18:03:40 04944245beec: Download complete 18:03:40 765212b225bb: Verifying Checksum 18:03:40 765212b225bb: Download complete 18:03:40 f23df028b6ca: Download complete 18:03:40 d65c8cfc05b1: Verifying Checksum 18:03:40 d65c8cfc05b1: Download complete 18:03:40 699f458cf7ca: Verifying Checksum 18:03:40 699f458cf7ca: Download complete 18:03:41 8998bd30e6a1: Verifying Checksum 18:03:41 8998bd30e6a1: Download complete 18:03:43 2437ff75d9bd: Verifying Checksum 18:03:43 2437ff75d9bd: Download complete 18:03:45 8998bd30e6a1: Pull complete 18:03:45 04944245beec: Pull complete 18:03:46 699f458cf7ca: Pull complete 18:03:47 765212b225bb: Pull complete 18:03:49 f23df028b6ca: Pull complete 18:03:49 d65c8cfc05b1: Pull complete 18:04:04 2437ff75d9bd: Pull complete 18:04:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:04 prd-ubuntu20.04-docker-arm64-4c-16g-118492 does not seem to be running inside a container 18:04:04 $ 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/80 -v /w/workspace/device-mqtt-go/80:/w/workspace/device-mqtt-go/80:rw,z -v /w/workspace/device-mqtt-go/80@tmp:/w/workspace/device-mqtt-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:04:06 $ docker top 36e2d9afae82c524472dc31444bc2b36497aa6dbea169fcda963b2a4f13cab96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:07 ---> job-cost.sh 18:04:07 lf-activate-venv: SKIPPING 18:04:07 INFO: No Stack... 18:04:07 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:08 INFO: Archiving Costs [Pipeline] sh 18:04:09 + cat /w/workspace/device-mqtt-go/80/archives/cost.csv 18:04:09 + cut -d, -f6 [Pipeline] lock 18:04:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-80-stack-cost] 18:04:09 Resource [jenkins-edgexfoundry-device-mqtt-go-main-80-stack-cost] did not exist. Created. 18:04:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:09 /w/workspace/device-mqtt-go/80@tmp/durable-d4666b67/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:10 + echo total: 0.10999999940395355 [Pipeline] stash 18:04:10 Warning: overwriting stash ‘stack-cost’ 18:04:10 Stashed 1 file(s) [Pipeline] } 18:04:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:10 $ docker stop --time=1 36e2d9afae82c524472dc31444bc2b36497aa6dbea169fcda963b2a4f13cab96 18:04:11 $ docker rm -f 36e2d9afae82c524472dc31444bc2b36497aa6dbea169fcda963b2a4f13cab96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:04:12 provisioning config files... 18:04:12 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12439067419994620845tmp [Pipeline] { [Pipeline] sh 18:04:12 + set +x 18:04:12 + curl -s https://codecov.io/bash 18:04:12 + bash -s -- 18:04:12 18:04:12 _____ _ 18:04:12 / ____| | | 18:04:12 | | ___ __| | ___ ___ _____ __ 18:04:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:04:12 | |___| (_) | (_| | __/ (_| (_) \ V / 18:04:12 \_____\___/ \__,_|\___|\___\___/ \_/ 18:04:12 Bash-1.0.6 18:04:12 18:04:12 18:04:12 ==> git version 2.25.1 found 18:04:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:04:12 Release-Date: 2020-01-08 18:04:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:04:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:04:12 ==> Jenkins CI detected. 18:04:12 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 18:04:12 project root: . 18:04:12 --> token set from env 18:04:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:04:12 ==> Running gcov in . (disable via -X gcov) 18:04:12 ==> Python coveragepy not found 18:04:12 ==> Searching for coverage reports in: 18:04:12 + . 18:04:12 -> Found 1 reports 18:04:12 ==> Detecting git/mercurial file structure 18:04:12 ==> Reading reports 18:04:12 + ./coverage.out bytes=17887 18:04:12 ==> Appending adjustments 18:04:12 https://docs.codecov.io/docs/fixing-reports 18:04:12 + Found adjustments 18:04:12 ==> Gzipping contents 18:04:12 4.0K /tmp/codecov.HIf7b9.gz 18:04:12 ==> Uploading reports 18:04:12 url: https://codecov.io 18:04:12 query: branch=main&commit=9ee6b9239046894cb89ff0f0b410cd21a3bbb457&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:04:12 -> Pinging Codecov 18:04:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=9ee6b9239046894cb89ff0f0b410cd21a3bbb457&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:04:13 -> Uploading to 18:04:13 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/9ee6b9239046894cb89ff0f0b410cd21a3bbb457/9a692571-c463-4c32-b895-cc5c7c1e9d89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T180412Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4031147d588fbfc72a32e8b4ada6585ffd8272bf83522bcdda8deb48d3c6f24 18:04:13 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:13 Dload Upload Total Spent Left Speed 18:04:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 13401 --:--:-- --:--:-- --:--:-- 13401 18:04:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [Pipeline] } 18:04:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:04:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:04:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:13 18:04:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:04:14 df9b9388f04a: Pulling fs layer 18:04:14 52dc419b0ee2: Pulling fs layer 18:04:14 25bc292e5bac: Pulling fs layer 18:04:14 114826534d7a: Pulling fs layer 18:04:14 4657fd5d0bcf: Pulling fs layer 18:04:14 6ad1cebc031e: Pulling fs layer 18:04:14 8a3aa393b2d8: Pulling fs layer 18:04:14 4657fd5d0bcf: Waiting 18:04:14 6ad1cebc031e: Waiting 18:04:14 8a3aa393b2d8: Waiting 18:04:14 114826534d7a: Waiting 18:04:14 25bc292e5bac: Verifying Checksum 18:04:14 25bc292e5bac: Download complete 18:04:14 52dc419b0ee2: Verifying Checksum 18:04:14 52dc419b0ee2: Download complete 18:04:14 4657fd5d0bcf: Verifying Checksum 18:04:14 4657fd5d0bcf: Download complete 18:04:14 df9b9388f04a: Verifying Checksum 18:04:14 df9b9388f04a: Download complete 18:04:14 df9b9388f04a: Pull complete 18:04:14 6ad1cebc031e: Verifying Checksum 18:04:14 6ad1cebc031e: Download complete 18:04:14 52dc419b0ee2: Pull complete 18:04:14 25bc292e5bac: Pull complete 18:04:15 114826534d7a: Verifying Checksum 18:04:15 114826534d7a: Download complete 18:04:15 8a3aa393b2d8: Verifying Checksum 18:04:15 8a3aa393b2d8: Download complete 18:04:18 114826534d7a: Pull complete 18:04:18 4657fd5d0bcf: Pull complete 18:04:18 6ad1cebc031e: Pull complete 18:04:20 8a3aa393b2d8: Pull complete 18:04:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:04:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:20 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 18:04:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:04:24 $ docker top 1fe17cd97d720dbbb12db3788cdc22b13b612f2c5f776e220a9c8d8bfa74e4e1 -eo pid,comm [Pipeline] { [Pipeline] echo 18:04:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 18:04:24 + set -o pipefail 18:04:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 18:04:29 18:04:29 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 18:04:29 18:04:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/34d47ba8-71c7-4d4f-b2a6-3bf2e03e97de 18:04:29 18:04:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:04:29 18:04:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:04:29 18:04:29 18:04:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:04:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:04:29 More details here: https://snyk.co/ue1NS [Pipeline] } 18:04:29 $ docker stop --time=1 1fe17cd97d720dbbb12db3788cdc22b13b612f2c5f776e220a9c8d8bfa74e4e1 18:04:32 $ docker rm -f 1fe17cd97d720dbbb12db3788cdc22b13b612f2c5f776e220a9c8d8bfa74e4e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:33 + git log --format=format:%s -1 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 [Pipeline] sh 18:04:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:34 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 18:04:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:04:34 $ docker top d186e41107e16c27ef8c3c281d6c0b370e87ebf894d23356563f4efa7409aeca -eo pid,comm 18:04:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:04:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:34 [ssh-agent] Looking for ssh-agent implementation... 18:04:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:34 $ docker exec d186e41107e16c27ef8c3c281d6c0b370e87ebf894d23356563f4efa7409aeca ssh-agent 18:04:35 SSH_AUTH_SOCK=/tmp/ssh-FqtmFqMzp1Fd/agent.32 18:04:35 SSH_AGENT_PID=38 18:04:35 Running ssh-add (command line suppressed) 18:04:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13100456710624379958.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13100456710624379958.key) 18:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:35 + git semver tag 18:04:35 2022-11-07 18:04:35,652 [run_tag] DEBUG tag force:False 18:04:35 2022-11-07 18:04:35,652 [check_head_tag] DEBUG check head tag 18:04:35 2022-11-07 18:04:35,653 [execute] INFO git cat-file --batch-check 18:04:35 2022-11-07 18:04:35,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 18:04:35 2022-11-07 18:04:35,657 [execute] INFO git cat-file --batch 18:04:35 2022-11-07 18:04:35,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 18:04:35 2022-11-07 18:04:35,675 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:04:35 2022-11-07 18:04:35,675 [execute] INFO git tag -a v2.3.0-dev.33 -m v2.3.0-dev.33 18:04:35 2022-11-07 18:04:35,675 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.33', '-m', 'v2.3.0-dev.33'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 18:04:35 2022-11-07 18:04:35,681 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:04:35 2.3.0-dev.33 [Pipeline] } 18:04:35 $ docker exec --env ******** --env ******** d186e41107e16c27ef8c3c281d6c0b370e87ebf894d23356563f4efa7409aeca ssh-agent -k 18:04:35 unset SSH_AUTH_SOCK; 18:04:35 unset SSH_AGENT_PID; 18:04:35 echo Agent pid 38 killed; 18:04:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:36 + git semver [Pipeline] } 18:04:36 $ docker stop --time=1 d186e41107e16c27ef8c3c281d6c0b370e87ebf894d23356563f4efa7409aeca 18:04:37 $ docker rm -f d186e41107e16c27ef8c3c281d6c0b370e87ebf894d23356563f4efa7409aeca [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:38 18:04:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:38 0.23.1-centos7: Pulling from edgex-lftools 18:04:38 ab5ef0e58194: Pulling fs layer 18:04:38 9712f1f96733: Pulling fs layer 18:04:38 63f879dbbcfc: Pulling fs layer 18:04:38 0d9ebad4ef96: Pulling fs layer 18:04:38 e9a5061849ea: Pulling fs layer 18:04:38 d747dcd14b5f: Pulling fs layer 18:04:38 2de7ff778b66: Pulling fs layer 18:04:38 e9a5061849ea: Waiting 18:04:38 d747dcd14b5f: Waiting 18:04:38 0d9ebad4ef96: Waiting 18:04:38 9712f1f96733: Verifying Checksum 18:04:38 9712f1f96733: Download complete 18:04:38 63f879dbbcfc: Verifying Checksum 18:04:38 63f879dbbcfc: Download complete 18:04:38 0d9ebad4ef96: Verifying Checksum 18:04:38 0d9ebad4ef96: Download complete 18:04:38 ab5ef0e58194: Download complete 18:04:38 d747dcd14b5f: Verifying Checksum 18:04:38 d747dcd14b5f: Download complete 18:04:38 e9a5061849ea: Verifying Checksum 18:04:38 e9a5061849ea: Download complete 18:04:38 2de7ff778b66: Verifying Checksum 18:04:38 2de7ff778b66: Download complete 18:04:41 ab5ef0e58194: Pull complete 18:04:41 9712f1f96733: Pull complete 18:04:41 63f879dbbcfc: Pull complete 18:04:45 0d9ebad4ef96: Pull complete 18:04:45 e9a5061849ea: Pull complete 18:04:45 d747dcd14b5f: Pull complete 18:04:46 2de7ff778b66: Pull complete 18:04:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:46 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 18:04: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:04:50 $ docker top 1455e6b20d449c3808ddbd85170b1f9e1258d8da54367cd62821132d0b8ddd40 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:04:50 provisioning config files... 18:04:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12515174232098305554tmp 18:04:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7498420904400999670tmp 18:04:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2455216806245825868tmp [Pipeline] { [Pipeline] echo 18:04:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:04:51 ---> sigul-configuration.sh 18:04:51 gpg: directory `/root/.gnupg' created 18:04:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:04:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:04:51 gpg: keyring `/root/.gnupg/secring.gpg' created 18:04:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:04:51 gpg: CAST5 encrypted data 18:04:51 gpg: encrypted with 1 passphrase 18:04:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:04:51 + mkdir /home/jenkins 18:04:51 + mkdir /home/jenkins/sigul [Pipeline] sh 18:04:51 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:04:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:04:51 ---> sigul-install.sh 18:04:51 Sigul already installed; skipping installation. [Pipeline] sh 18:04:52 + git tag --list 18:04:52 0.7.1 18:04:52 v1.0.0 18:04:52 v1.1.0 18:04:52 v1.1.1 18:04:52 v1.2.2 18:04:52 v1.3.0 18:04:52 v1.3.1 18:04:52 v2.0.0 18:04:52 v2.1.0 18:04:52 v2.1.1 18:04:52 v2.1.1-dev.1 18:04:52 v2.1.1-dev.2 18:04:52 v2.2.0 18:04:52 v2.2.1-dev.1 18:04:52 v2.2.1-dev.10 18:04:52 v2.2.1-dev.2 18:04:52 v2.2.1-dev.3 18:04:52 v2.2.1-dev.4 18:04:52 v2.2.1-dev.5 18:04:52 v2.2.1-dev.6 18:04:52 v2.2.1-dev.7 18:04:52 v2.2.1-dev.8 18:04:52 v2.2.1-dev.9 18:04:52 v2.3.0-dev.10 18:04:52 v2.3.0-dev.11 18:04:52 v2.3.0-dev.12 18:04:52 v2.3.0-dev.13 18:04:52 v2.3.0-dev.14 18:04:52 v2.3.0-dev.15 18:04:52 v2.3.0-dev.16 18:04:52 v2.3.0-dev.17 18:04:52 v2.3.0-dev.18 18:04:52 v2.3.0-dev.19 18:04:52 v2.3.0-dev.20 18:04:52 v2.3.0-dev.21 18:04:52 v2.3.0-dev.22 18:04:52 v2.3.0-dev.23 18:04:52 v2.3.0-dev.24 18:04:52 v2.3.0-dev.25 18:04:52 v2.3.0-dev.26 18:04:52 v2.3.0-dev.27 18:04:52 v2.3.0-dev.28 18:04:52 v2.3.0-dev.29 18:04:52 v2.3.0-dev.30 18:04:52 v2.3.0-dev.31 18:04:52 v2.3.0-dev.32 18:04:52 v2.3.0-dev.33 [Pipeline] sh 18:04:52 + lftools sign git-tag v2.3.0-dev.33 18:04:53 Signing Git tag with Sigul... 18:04:53 Signing v2.3.0-dev.33 [Pipeline] echo 18:04:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:04:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:04:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:04:53 $ docker stop --time=1 1455e6b20d449c3808ddbd85170b1f9e1258d8da54367cd62821132d0b8ddd40 18:04:54 $ docker rm -f 1455e6b20d449c3808ddbd85170b1f9e1258d8da54367cd62821132d0b8ddd40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:04:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:55 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 18:04: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:04:56 $ docker top 6f391af5289a6304d651877ca33ecad59714cea4a7a51807be8c373ed428cb70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:56 [ssh-agent] Looking for ssh-agent implementation... 18:04:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:56 $ docker exec 6f391af5289a6304d651877ca33ecad59714cea4a7a51807be8c373ed428cb70 ssh-agent 18:04:56 SSH_AUTH_SOCK=/tmp/ssh-hHy6eG0PVNn9/agent.33 18:04:56 SSH_AGENT_PID=39 18:04:56 Running ssh-add (command line suppressed) 18:04:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1528880769454025597.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1528880769454025597.key) 18:04:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:56 + git semver bump pre 18:04:57 2022-11-07 18:04:56,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:04:57 2022-11-07 18:04:56,986 [bump_version] DEBUG bumping version:2.3.0-dev.33 on axis:pre with prefix:dev 18:04:57 2022-11-07 18:04:56,986 [bump_version] DEBUG bumped version:2.3.0-dev.34 18:04:57 2022-11-07 18:04:56,986 [write_version] DEBUG write version:2.3.0-dev.34 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 18:04:57 2022-11-07 18:04:56,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:04:57 2022-11-07 18:04:56,986 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:04:57 2022-11-07 18:04:56,988 [execute] INFO git cat-file --batch-check 18:04:57 2022-11-07 18:04:56,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:04:57 2022-11-07 18:04:56,993 [execute] INFO git cat-file --batch 18:04:57 2022-11-07 18:04:56,993 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:04:57 2022-11-07 18:04:56,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:04:57 2.3.0-dev.34 [Pipeline] } 18:04:57 $ docker exec --env ******** --env ******** 6f391af5289a6304d651877ca33ecad59714cea4a7a51807be8c373ed428cb70 ssh-agent -k 18:04:57 unset SSH_AUTH_SOCK; 18:04:57 unset SSH_AGENT_PID; 18:04:57 echo Agent pid 39 killed; 18:04:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:57 + git semver [Pipeline] } 18:04:57 $ docker stop --time=1 6f391af5289a6304d651877ca33ecad59714cea4a7a51807be8c373ed428cb70 18:04:59 $ docker rm -f 6f391af5289a6304d651877ca33ecad59714cea4a7a51807be8c373ed428cb70 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:59 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 18:04:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:05:00 $ docker top 01f6d79e30ad33f906f3eb6fd73e216cbd7e8e6c06475e6f51e97b9774720225 -eo pid,comm 18:05:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:05:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:00 [ssh-agent] Looking for ssh-agent implementation... 18:05:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:00 $ docker exec 01f6d79e30ad33f906f3eb6fd73e216cbd7e8e6c06475e6f51e97b9774720225 ssh-agent 18:05:00 SSH_AUTH_SOCK=/tmp/ssh-wGXtOixjxOpz/agent.31 18:05:00 SSH_AGENT_PID=37 18:05:00 Running ssh-add (command line suppressed) 18:05:00 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1186290515013915325.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1186290515013915325.key) 18:05:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:00 + git semver push 18:05:01 2022-11-07 18:05:01,037 [run_push] DEBUG push 18:05:01 2022-11-07 18:05:01,038 [execute] INFO git cat-file --batch-check 18:05:01 2022-11-07 18:05:01,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:01 2022-11-07 18:05:01,041 [execute] INFO git rev-list 76aa293a6471d00a57009d8cac8126e25c4489d4 -- 18:05:01 2022-11-07 18:05:01,041 [execute] DEBUG Popen(['git', 'rev-list', '76aa293a6471d00a57009d8cac8126e25c4489d4', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:05:01 2022-11-07 18:05:01,047 [execute] INFO git fetch -v origin 18:05:01 2022-11-07 18:05:01,047 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:05:02 2022-11-07 18:05:01,785 [run_push] DEBUG no remote changes detected 18:05:02 2022-11-07 18:05:01,785 [execute] INFO git push origin semver 18:05:02 2022-11-07 18:05:01,785 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:05:03 2022-11-07 18:05:03,111 [run_push] DEBUG push all version tags 18:05:03 2022-11-07 18:05:03,112 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:05:03 2022-11-07 18:05:03,112 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 18:05:04 2022-11-07 18:05:04,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 18:05:04 2.3.0-dev.34 [Pipeline] } 18:05:04 $ docker exec --env ******** --env ******** 01f6d79e30ad33f906f3eb6fd73e216cbd7e8e6c06475e6f51e97b9774720225 ssh-agent -k 18:05:04 unset SSH_AUTH_SOCK; 18:05:04 unset SSH_AGENT_PID; 18:05:04 echo Agent pid 37 killed; 18:05:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:04 + git semver [Pipeline] } 18:05:05 $ docker stop --time=1 01f6d79e30ad33f906f3eb6fd73e216cbd7e8e6c06475e6f51e97b9774720225 18:05:06 $ docker rm -f 01f6d79e30ad33f906f3eb6fd73e216cbd7e8e6c06475e6f51e97b9774720225 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:05:06 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 18:05:06 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:05:06 total 16 18:05:06 drwxr-xr-x 3 root root 4096 Nov 7 17:54 . 18:05:06 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 18:04 .. 18:05:06 drwxr-xr-x 2 root root 4096 Nov 7 17:54 cost 18:05:06 -rw-r--r-- 1 root root 85 Nov 7 17:54 cost.csv 18:05:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:05:06 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 18:05:06 total 16 18:05:06 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:54 . 18:05:06 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 18:04 .. 18:05:06 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:54 cost 18:05:06 -rw-r--r-- 1 jenkins jenkins 85 Nov 7 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:05:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:05:08 ---> package-listing.sh 18:05:08 ++ facter osfamily 18:05:08 ++ tr '[:upper:]' '[:lower:]' 18:05:08 + OS_FAMILY=debian 18:05:08 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 18:05:08 + START_PACKAGES=/tmp/packages_start.txt 18:05:08 + END_PACKAGES=/tmp/packages_end.txt 18:05:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:05:08 + PACKAGES=/tmp/packages_start.txt 18:05:08 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:05:08 + PACKAGES=/tmp/packages_end.txt 18:05:08 + case "${OS_FAMILY}" in 18:05:08 + dpkg -l 18:05:08 + grep '^ii' 18:05:08 + '[' -f /tmp/packages_start.txt ']' 18:05:08 + '[' -f /tmp/packages_end.txt ']' 18:05:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:05:08 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:05:08 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 18:05:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 18:05:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:05:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:09 prd-ubuntu20.04-docker-8c-8g-118489 does not seem to be running inside a container 18:05:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:05:09 $ docker top 972bfe1f4be2e5c9d69b317d2018c6e0d265ac7eabd6b45c07949626969a9d78 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:09 + touch /tmp/pre-build-complete [Pipeline] sh 18:05:10 + mkdir -p /var/log/sysstat [Pipeline] sh 18:05:10 + ls /var/log/sa-host 18:05:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:10 provisioning config files... 18:05:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2656814444803098363tmp [Pipeline] { [Pipeline] echo 18:05:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:05:10 ---> create-netrc.sh [Pipeline] } 18:05:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:05:11 ---> python-tools-install.sh [Pipeline] echo 18:05:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:05:11 ---> sudo-logs.sh 18:05:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:05:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:05:11 ---> job-cost.sh 18:05:11 lf-activate-venv: SKIPPING 18:05:11 DEBUG: total: 0.2199999988079071 18:05:11 INFO: Retrieving Stack Cost... 18:05:12 INFO: Retrieving Pricing Info for: v3-standard-8 18:05:12 INFO: Archiving Costs [Pipeline] echo 18:05:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:05:13 ---> logs-deploy.sh 18:05:13 lf-activate-venv: SKIPPING 18:05:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/80 18:05:13 INFO: archiving workspace using pattern(s): 18:05:14 Archives upload complete. 18:05:14 INFO: archiving logs to Nexus