Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 876c9416ffc935a90670260e62a4531013ff8eb5 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-ssh3306353893358563284.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh17386396494436250170.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh10769664406655666980.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh14521916464867358657.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-ssh12754854858298452158.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 ‘prd-ubuntu20.04-docker-8c-8g-8998’ Running on prd-ubuntu20.04-docker-8c-8g-9065 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 876c9416ffc935a90670260e62a4531013ff8eb5 (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#427)" > 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 876c9416ffc935a90670260e62a4531013ff8eb5 # timeout=10 > git rev-list --no-walk 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:42:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:42:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:42:19 ========================================================= 03:42:19 EdgeX Global Pipelines Version Info 03:42:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:42:20 ------------------- 03:42:20 stable info: 03:42:20 ------------------- 03:42:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:42:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 03:42:20 Message: update stable to v1.0.243 03:42:20 ------------------- 03:42:20 experimental info: 03:42:20 ------------------- 03:42:20 Commited By: **** collab-it+edgex@linuxfoundation.org 03:42:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 03:42:20 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:42:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 876c9416ffc935a90670260e62a4531013ff8eb5 [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 876c941 [Pipeline] echo 03:42:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:21 provisioning config files... 03:42:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1131925652998077273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:21 ---> docker-login.sh 03:42:21 nexus3.edgexfoundry.org:10001 03:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:21 Configure a credential helper to remove this warning. See 03:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:21 03:42:21 Login Succeeded 03:42:21 nexus3.edgexfoundry.org:10002 03:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:22 Configure a credential helper to remove this warning. See 03:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:22 03:42:22 Login Succeeded 03:42:22 nexus3.edgexfoundry.org:10003 03:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:22 Configure a credential helper to remove this warning. See 03:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:22 03:42:22 Login Succeeded 03:42:22 nexus3.edgexfoundry.org:10004 03:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:22 Configure a credential helper to remove this warning. See 03:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:22 03:42:22 Login Succeeded 03:42:22 docker.io 03:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:22 Configure a credential helper to remove this warning. See 03:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:22 03:42:22 Login Succeeded 03:42:22 ---> docker-login.sh ends [Pipeline] } 03:42:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:42:22 + git rev-list -1 --merges 876c9416ffc935a90670260e62a4531013ff8eb5~1..876c9416ffc935a90670260e62a4531013ff8eb5 [Pipeline] echo 03:42:23 -----------> git rev-list -1 --merges 876c9416ffc935a90670260e62a4531013ff8eb5~1..876c9416ffc935a90670260e62a4531013ff8eb5 876c9416ffc935a90670260e62a4531013ff8eb5 [false] [Pipeline] sh 03:42:23 + git log --format=format:%s -1 876c9416ffc935a90670260e62a4531013ff8eb5 [Pipeline] echo 03:42:23 ========================================================= 03:42:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:42:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:23 + git log --format=format:%s -1 876c9416ffc935a90670260e62a4531013ff8eb5 [Pipeline] echo 03:42:23 [semverPrep] GIT_COMMIT: 876c9416ffc935a90670260e62a4531013ff8eb5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#427) [Pipeline] echo 03:42:23 [semverPrep] This is not a build commit. [Pipeline] sh 03:42:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:42:24 + grep -v github /etc/ssh/ssh_known_hosts 03:42:24 + [ -e /tmp/ssh_known_hosts ] 03:42:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:42:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:42:24 + sudo tee -a /etc/ssh/ssh_known_hosts 03:42:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:24 03:42:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:24 0.1.4: Pulling from edgex-devops/py-git-semver 03:42:24 b85a868b505f: Pulling fs layer 03:42:24 e2be974225ed: Pulling fs layer 03:42:24 339a4e72a1f5: Pulling fs layer 03:42:24 988bab9f4d93: Pulling fs layer 03:42:24 1469e6f7b9e6: Pulling fs layer 03:42:24 eaf3925da568: Pulling fs layer 03:42:24 bab4dde63d76: Pulling fs layer 03:42:24 bde34c3a00c8: Pulling fs layer 03:42:24 b352a97aabf1: Pulling fs layer 03:42:24 4872d77fe225: Pulling fs layer 03:42:24 5851b861e8e6: Pulling fs layer 03:42:24 b352a97aabf1: Waiting 03:42:24 bab4dde63d76: Waiting 03:42:24 bde34c3a00c8: Waiting 03:42:24 4872d77fe225: Waiting 03:42:24 988bab9f4d93: Waiting 03:42:24 1469e6f7b9e6: Waiting 03:42:24 eaf3925da568: Waiting 03:42:24 e2be974225ed: Verifying Checksum 03:42:24 e2be974225ed: Download complete 03:42:24 988bab9f4d93: Verifying Checksum 03:42:24 988bab9f4d93: Download complete 03:42:24 1469e6f7b9e6: Verifying Checksum 03:42:24 1469e6f7b9e6: Download complete 03:42:24 eaf3925da568: Verifying Checksum 03:42:24 eaf3925da568: Download complete 03:42:24 339a4e72a1f5: Verifying Checksum 03:42:24 339a4e72a1f5: Download complete 03:42:24 bde34c3a00c8: Verifying Checksum 03:42:24 bde34c3a00c8: Download complete 03:42:24 b352a97aabf1: Verifying Checksum 03:42:24 b352a97aabf1: Download complete 03:42:24 4872d77fe225: Verifying Checksum 03:42:24 4872d77fe225: Download complete 03:42:24 5851b861e8e6: Verifying Checksum 03:42:24 5851b861e8e6: Download complete 03:42:24 b85a868b505f: Verifying Checksum 03:42:24 b85a868b505f: Download complete 03:42:25 bab4dde63d76: Verifying Checksum 03:42:25 bab4dde63d76: Download complete 03:42:26 b85a868b505f: Pull complete 03:42:26 e2be974225ed: Pull complete 03:42:26 339a4e72a1f5: Pull complete 03:42:26 988bab9f4d93: Pull complete 03:42:27 1469e6f7b9e6: Pull complete 03:42:27 eaf3925da568: Pull complete 03:42:29 bab4dde63d76: Pull complete 03:42:29 bde34c3a00c8: Pull complete 03:42:29 b352a97aabf1: Pull complete 03:42:29 4872d77fe225: Pull complete 03:42:29 5851b861e8e6: Pull complete 03:42:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:42:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:29 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:42:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:42:32 $ docker top 7b7543184a1bc20e48f8221eb9ff764837f344522d45d1b36e507c42500bc734 -eo pid,comm 03:42:32 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). 03:42:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:42:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:32 [ssh-agent] Looking for ssh-agent implementation... 03:42:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:32 $ docker exec 7b7543184a1bc20e48f8221eb9ff764837f344522d45d1b36e507c42500bc734 ssh-agent 03:42:32 SSH_AUTH_SOCK=/tmp/ssh-z67eC6iq9taE/agent.33 03:42:32 SSH_AGENT_PID=39 03:42:32 Running ssh-add (command line suppressed) 03:42:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9085802629806249485.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9085802629806249485.key) 03:42:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:33 + git tag --points-at HEAD [Pipeline] } 03:42:33 $ docker exec --env ******** --env ******** 7b7543184a1bc20e48f8221eb9ff764837f344522d45d1b36e507c42500bc734 ssh-agent -k 03:42:33 unset SSH_AUTH_SOCK; 03:42:33 unset SSH_AGENT_PID; 03:42:33 echo Agent pid 39 killed; 03:42:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:42:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:33 [ssh-agent] Looking for ssh-agent implementation... 03:42:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:33 $ docker exec 7b7543184a1bc20e48f8221eb9ff764837f344522d45d1b36e507c42500bc734 ssh-agent 03:42:33 SSH_AUTH_SOCK=/tmp/ssh-enOjC0hq8zom/agent.71 03:42:33 SSH_AGENT_PID=77 03:42:33 Running ssh-add (command line suppressed) 03:42:33 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14386673353782099040.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14386673353782099040.key) 03:42:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:33 + git semver init 03:42:34 2022-10-24 03:42:34,051 [run_init] DEBUG init version:0.0.0 force:False 03:42:34 2022-10-24 03:42:34,052 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:42:34 2022-10-24 03:42:34,052 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:42:34 2022-10-24 03:42:34,053 [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) 03:42:35 2022-10-24 03:42:35,028 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 03:42:35 2022-10-24 03:42:35,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 03:42:35 2022-10-24 03:42:35,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:42:35 2022-10-24 03:42:35,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:42:35 2.3.0-dev.26 [Pipeline] } 03:42:35 $ docker exec --env ******** --env ******** 7b7543184a1bc20e48f8221eb9ff764837f344522d45d1b36e507c42500bc734 ssh-agent -k 03:42:35 unset SSH_AUTH_SOCK; 03:42:35 unset SSH_AGENT_PID; 03:42:35 echo Agent pid 77 killed; 03:42:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:42:35 + git semver [Pipeline] } 03:42:35 $ docker stop --time=1 7b7543184a1bc20e48f8221eb9ff764837f344522d45d1b36e507c42500bc734 03:42:37 $ docker rm -f 7b7543184a1bc20e48f8221eb9ff764837f344522d45d1b36e507c42500bc734 [Pipeline] // withDockerContainer [Pipeline] sh 03:42:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:42:37 Stashed 1 file(s) [Pipeline] echo 03:42:37 [edgeXSemver]: initialized semver on version 2.3.0-dev.26 [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 03:42:38 provisioning config files... 03:42:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13085392900094855071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:38 ---> docker-login.sh 03:42:38 nexus3.edgexfoundry.org:10001 03:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:38 Configure a credential helper to remove this warning. See 03:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:38 03:42:38 Login Succeeded 03:42:38 nexus3.edgexfoundry.org:10002 03:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:38 Configure a credential helper to remove this warning. See 03:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:38 03:42:38 Login Succeeded 03:42:38 nexus3.edgexfoundry.org:10003 03:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:38 Configure a credential helper to remove this warning. See 03:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:38 03:42:38 Login Succeeded 03:42:38 nexus3.edgexfoundry.org:10004 03:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:38 Configure a credential helper to remove this warning. See 03:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:38 03:42:38 Login Succeeded 03:42:38 docker.io 03:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:39 Configure a credential helper to remove this warning. See 03:42:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:39 03:42:39 Login Succeeded 03:42:39 ---> docker-login.sh ends [Pipeline] } 03:42:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:42:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:39 ========================================================= 03:42:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:42:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:39 + 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 . 03:42:39 Sending build context to Docker daemon 6.192MB 03:42:39 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:42:39 Step 2/13 : FROM ${BASE} AS builder 03:42:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:42:39 213ec9aee27d: Pulling fs layer 03:42:39 4583459ba037: Pulling fs layer 03:42:39 93c1e223e6f2: Pulling fs layer 03:42:39 53926ce57604: Pulling fs layer 03:42:39 21b2b0c7a3f4: Pulling fs layer 03:42:39 30f14e443154: Pulling fs layer 03:42:39 801331c1e519: Pulling fs layer 03:42:39 99cc6dd402b0: Pulling fs layer 03:42:39 7d9ed39f4882: Pulling fs layer 03:42:39 53926ce57604: Waiting 03:42:39 21b2b0c7a3f4: Waiting 03:42:39 30f14e443154: Waiting 03:42:39 7d9ed39f4882: Waiting 03:42:39 801331c1e519: Waiting 03:42:39 93c1e223e6f2: Verifying Checksum 03:42:39 93c1e223e6f2: Download complete 03:42:39 4583459ba037: Verifying Checksum 03:42:39 4583459ba037: Download complete 03:42:39 21b2b0c7a3f4: Verifying Checksum 03:42:39 21b2b0c7a3f4: Download complete 03:42:39 30f14e443154: Verifying Checksum 03:42:39 30f14e443154: Download complete 03:42:39 213ec9aee27d: Verifying Checksum 03:42:39 801331c1e519: Download complete 03:42:39 213ec9aee27d: Pull complete 03:42:40 4583459ba037: Pull complete 03:42:40 93c1e223e6f2: Pull complete 03:42:40 7d9ed39f4882: Verifying Checksum 03:42:40 7d9ed39f4882: Download complete 03:42:40 53926ce57604: Verifying Checksum 03:42:40 53926ce57604: Download complete 03:42:40 99cc6dd402b0: Download complete 03:42:45 53926ce57604: Pull complete 03:42:45 21b2b0c7a3f4: Pull complete 03:42:45 30f14e443154: Pull complete 03:42:45 801331c1e519: Pull complete 03:42:46 99cc6dd402b0: Pull complete 03:42:47 7d9ed39f4882: Pull complete 03:42:47 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 03:42:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:42:47 ---> 1dedd983c030 03:42:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:42:51 ---> Running in 991dc3c8b3c3 03:42:51 Removing intermediate container 991dc3c8b3c3 03:42:51 ---> dbd34a14c6ff 03:42:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:42:51 ---> Running in e27c79ca5c4a 03:42:51 Removing intermediate container e27c79ca5c4a 03:42:51 ---> 5d10fa050e81 03:42:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:42:51 ---> Running in c0f0b590c228 03:42:51 Removing intermediate container c0f0b590c228 03:42:51 ---> 47c91d22fa5b 03:42:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:42:51 ---> Running in 353622d6e4cd 03:42:51 Removing intermediate container 353622d6e4cd 03:42:51 ---> 0f397b2b6e6a 03:42:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:42:51 ---> Running in 6e8ebecbc801 03:42:52 Removing intermediate container 6e8ebecbc801 03:42:52 ---> acc959324c8e 03:42:52 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:42:52 ---> Running in b3d31088c517 03:42:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:42:52 Still waiting to schedule task 03:42:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9062’ 03:42:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:42:53 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:42:53 (2/4) Installing libedit (20210910.3.1-r0) 03:42:54 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:42:54 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:42:54 Executing busybox-1.35.0-r17.trigger 03:42:54 OK: 216 MiB in 55 packages 03:42:55 Removing intermediate container b3d31088c517 03:42:55 ---> 64ed981aa83b 03:42:55 Step 9/13 : WORKDIR /device-mqtt-go 03:42:55 ---> Running in 9185bb865202 03:42:55 Removing intermediate container 9185bb865202 03:42:55 ---> ee6d2c4ead95 03:42:55 Step 10/13 : COPY go.mod vendor* ./ 03:42:56 ---> 99f4cf82919a 03:42:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:42:56 ---> Running in 4eed39d47e8c 03:43:23 Removing intermediate container 4eed39d47e8c 03:43:23 ---> 8a25688cc159 03:43:23 Step 12/13 : COPY . . 03:43:23 ---> 8f9f63c11533 03:43:23 Step 13/13 : RUN $MAKE 03:43:23 ---> Running in 9b9d8efd1aa0 03:43:23 noop 03:43:23 Removing intermediate container 9b9d8efd1aa0 03:43:23 ---> 763ddc0f31b4 03:43:23 Successfully built 763ddc0f31b4 03:43:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:23 + docker inspect -f . ci-base-image-x86_64 03:43:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:24 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:43:24 $ docker top 227eaf73ad47e8c3acd71c315e8c53678c873c33b2d6fc91e3b949f783dc87e9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:24 + go version 03:43:24 go version go1.18.7 linux/amd64 [Pipeline] } 03:43:24 $ docker stop --time=1 227eaf73ad47e8c3acd71c315e8c53678c873c33b2d6fc91e3b949f783dc87e9 03:43:26 $ docker rm -f 227eaf73ad47e8c3acd71c315e8c53678c873c33b2d6fc91e3b949f783dc87e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:26 + docker inspect -f . ci-base-image-x86_64 03:43:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:26 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:43:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:43:27 $ docker top 25408db157fe4785bd111ddd2d5572558aa3f0c6d18c1f68de38a32bd16532f6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 03:43:28 + make test 03:43:28 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:43:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:43:38 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:43:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 03:43:38 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:43:43 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." 03:43:43 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:43:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:43:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:43:46 ./bin/test-attribution-txt.sh [Pipeline] echo 03:43:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:43:46 $ docker stop --time=1 25408db157fe4785bd111ddd2d5572558aa3f0c6d18c1f68de38a32bd16532f6 03:43:49 $ docker rm -f 25408db157fe4785bd111ddd2d5572558aa3f0c6d18c1f68de38a32bd16532f6 [Pipeline] // withDockerContainer [Pipeline] sh 03:43:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:43:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:43:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:43:50 + ls -al . 03:43:50 total 184 03:43:50 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 03:43 . 03:43:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 .. 03:43:50 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 03:42 .dockerignore 03:43:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:43 .git 03:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 .github 03:43:50 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 03:42 .gitignore 03:43:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 03:42 .golangci.yml 03:43:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:42 .semver 03:43:50 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 03:42 Attribution.txt 03:43:50 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 03:42 CHANGELOG.md 03:43:50 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 03:42 Dockerfile 03:43:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:42 GOVERNANCE.md 03:43:50 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 03:42 Jenkinsfile 03:43:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 03:42 LICENSE 03:43:50 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 03:42 Makefile 03:43:50 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 03:42 OWNERS.md 03:43:50 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 03:42 README.md 03:43:50 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 03:42 VERSION 03:43:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:42 bin 03:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 cmd 03:43:50 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 03:43 coverage.out 03:43:50 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 03:42 go.mod 03:43:50 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 03:42 go.sum 03:43:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 internal 03:43:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:42 mock 03:43:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 snap 03:43:50 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 03:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:50 + 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=876c9416ffc935a90670260e62a4531013ff8eb5 --label arch=amd64 --label version=2.3.0-dev.26 . 03:43:50 Sending build context to Docker daemon 6.211MB 03:43:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 03:43:50 Step 2/25 : FROM ${BASE} AS builder 03:43:50 ---> 763ddc0f31b4 03:43:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:43:51 ---> Running in d6ab245a9d2c 03:43:51 Removing intermediate container d6ab245a9d2c 03:43:51 ---> 1e181f4ab85d 03:43:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:43:51 ---> Running in dd512d1bb3b0 03:43:51 Removing intermediate container dd512d1bb3b0 03:43:51 ---> 8347a784e6b5 03:43:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:43:51 ---> Running in 568c8d0f8b9b 03:43:51 Removing intermediate container 568c8d0f8b9b 03:43:51 ---> a0f8aab8e812 03:43:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:43:51 ---> Running in cfcf2288f234 03:43:51 Removing intermediate container cfcf2288f234 03:43:51 ---> ca366977cc64 03:43:51 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:43:51 ---> Running in 2ad684e630a9 03:43:51 Removing intermediate container 2ad684e630a9 03:43:51 ---> 2f678b679e48 03:43:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:43:51 ---> Running in 1cd820f6f25d 03:43:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:43:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:43:53 OK: 216 MiB in 55 packages 03:43:53 Removing intermediate container 1cd820f6f25d 03:43:53 ---> b996a28e6b32 03:43:53 Step 9/25 : WORKDIR /device-mqtt-go 03:43:53 ---> Running in cfb42138ee40 03:43:53 Removing intermediate container cfb42138ee40 03:43:53 ---> d31eb87d641f 03:43:53 Step 10/25 : COPY go.mod vendor* ./ 03:43:53 ---> 55d8ba9bfd2e 03:43:53 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:43:53 ---> Running in d863c2503ae8 03:43:54 Removing intermediate container d863c2503ae8 03:43:54 ---> 8ef4261d35cb 03:43:54 Step 12/25 : COPY . . 03:43:55 ---> 4e0de7d9e81a 03:43:55 Step 13/25 : RUN $MAKE 03:43:55 ---> Running in 0474be939ae4 03:43:55 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.26" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 03:44:17 Removing intermediate container 0474be939ae4 03:44:17 ---> 08db6378dbcb 03:44:17 Step 14/25 : FROM alpine:3.16 03:44:17 3.16: Pulling from library/alpine 03:44:17 213ec9aee27d: Already exists 03:44:17 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:44:17 Status: Downloaded newer image for alpine:3.16 03:44:17 ---> 9c6f07244728 03:44:17 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:44:17 ---> Running in fea85877266a 03:44:17 Removing intermediate container fea85877266a 03:44:17 ---> f5b26892c2cc 03:44:17 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:44:17 ---> Running in 839b1dfe77ce 03:44:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:44:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:44:17 (1/6) Installing dumb-init (1.2.5-r1) 03:44:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:44:17 (3/6) Installing libsodium (1.0.18-r0) 03:44:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:44:17 (5/6) Installing libzmq (4.3.4-r0) 03:44:17 (6/6) Installing zeromq (4.3.4-r0) 03:44:17 Executing busybox-1.35.0-r17.trigger 03:44:17 OK: 8 MiB in 20 packages 03:44:18 Removing intermediate container 839b1dfe77ce 03:44:18 ---> dcf5e7464952 03:44:18 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 03:44:19 ---> 34c9cccad9db 03:44:19 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 03:44:19 ---> bffbc2ed7da3 03:44:19 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:44:19 ---> 56d0519779cd 03:44:19 Step 20/25 : EXPOSE 59982 03:44:19 ---> Running in 97a2ab1f525b 03:44:19 Removing intermediate container 97a2ab1f525b 03:44:19 ---> ba7188158120 03:44:19 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 03:44:19 ---> Running in 6252a39a7358 03:44:19 Removing intermediate container 6252a39a7358 03:44:19 ---> 14ce03b16291 03:44:19 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:44:19 ---> Running in 31cdbe33e35c 03:44:19 Removing intermediate container 31cdbe33e35c 03:44:19 ---> 24ee9498cf16 03:44:19 Step 23/25 : LABEL arch=amd64 03:44:19 ---> Running in 5fdbd38bd514 03:44:20 Removing intermediate container 5fdbd38bd514 03:44:20 ---> df334ffe9522 03:44:20 Step 24/25 : LABEL git_sha=876c9416ffc935a90670260e62a4531013ff8eb5 03:44:20 ---> Running in 7f310857e791 03:44:20 Removing intermediate container 7f310857e791 03:44:20 ---> 1af87cf075e6 03:44:20 Step 25/25 : LABEL version=2.3.0-dev.26 03:44:20 ---> Running in ec66971fc86d 03:44:20 Removing intermediate container ec66971fc86d 03:44:20 ---> 2639318aea88 03:44:20 [Warning] One or more build-args [ARCH] were not consumed 03:44:20 Successfully built 2639318aea88 03:44:20 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:20 provisioning config files... 03:44:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15727198916799974266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:20 ---> docker-login.sh 03:44:20 nexus3.edgexfoundry.org:10001 03:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:20 Configure a credential helper to remove this warning. See 03:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:20 03:44:20 Login Succeeded 03:44:20 nexus3.edgexfoundry.org:10002 03:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:20 Configure a credential helper to remove this warning. See 03:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:20 03:44:20 Login Succeeded 03:44:20 nexus3.edgexfoundry.org:10003 03:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:20 Configure a credential helper to remove this warning. See 03:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:20 03:44:20 Login Succeeded 03:44:20 nexus3.edgexfoundry.org:10004 03:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:20 Configure a credential helper to remove this warning. See 03:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:20 03:44:20 Login Succeeded 03:44:20 docker.io 03:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:21 Configure a credential helper to remove this warning. See 03:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:21 03:44:21 Login Succeeded 03:44:21 ---> docker-login.sh ends [Pipeline] } 03:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:44:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:44:21 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 03:44:21 876c9416ffc935a90670260e62a4531013ff8eb5 03:44:21 latest 03:44:21 2.3.0-dev.26 03:44:21 876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26 03:44:21 main 03:44:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:876c9416ffc935a90670260e62a4531013ff8eb5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:876c9416ffc935a90670260e62a4531013ff8eb5 03:44:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:21 ae67518685b9: Preparing 03:44:21 b2c441717009: Preparing 03:44:21 7fc8c67e08de: Preparing 03:44:21 aa3f8d6765a3: Preparing 03:44:21 994393dc58e7: Preparing 03:44:21 994393dc58e7: Layer already exists 03:44:21 ae67518685b9: Pushed 03:44:21 b2c441717009: Pushed 03:44:22 aa3f8d6765a3: Pushed 03:44:24 7fc8c67e08de: Pushed 03:44:24 876c9416ffc935a90670260e62a4531013ff8eb5: digest: sha256:7d00601213486548d80c7617dd08802fb810de13fe66e504d8111300a275560e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:44:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:25 ae67518685b9: Preparing 03:44:25 b2c441717009: Preparing 03:44:25 7fc8c67e08de: Preparing 03:44:25 aa3f8d6765a3: Preparing 03:44:25 994393dc58e7: Preparing 03:44:25 b2c441717009: Layer already exists 03:44:25 994393dc58e7: Layer already exists 03:44:25 aa3f8d6765a3: Layer already exists 03:44:25 ae67518685b9: Layer already exists 03:44:25 7fc8c67e08de: Layer already exists 03:44:25 latest: digest: sha256:7d00601213486548d80c7617dd08802fb810de13fe66e504d8111300a275560e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:25 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.26 03:44:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:25 ae67518685b9: Preparing 03:44:25 b2c441717009: Preparing 03:44:25 7fc8c67e08de: Preparing 03:44:25 aa3f8d6765a3: Preparing 03:44:25 994393dc58e7: Preparing 03:44:25 994393dc58e7: Layer already exists 03:44:25 aa3f8d6765a3: Layer already exists 03:44:25 ae67518685b9: Layer already exists 03:44:25 b2c441717009: Layer already exists 03:44:25 7fc8c67e08de: Layer already exists 03:44:25 2.3.0-dev.26: digest: sha256:7d00601213486548d80c7617dd08802fb810de13fe66e504d8111300a275560e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:26 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26 03:44:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:26 ae67518685b9: Preparing 03:44:26 b2c441717009: Preparing 03:44:26 7fc8c67e08de: Preparing 03:44:26 aa3f8d6765a3: Preparing 03:44:26 994393dc58e7: Preparing 03:44:26 ae67518685b9: Layer already exists 03:44:26 7fc8c67e08de: Layer already exists 03:44:26 b2c441717009: Layer already exists 03:44:26 994393dc58e7: Layer already exists 03:44:26 aa3f8d6765a3: Layer already exists 03:44:26 876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26: digest: sha256:7d00601213486548d80c7617dd08802fb810de13fe66e504d8111300a275560e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:26 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 03:44:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:44:27 ae67518685b9: Preparing 03:44:27 b2c441717009: Preparing 03:44:27 7fc8c67e08de: Preparing 03:44:27 aa3f8d6765a3: Preparing 03:44:27 994393dc58e7: Preparing 03:44:27 7fc8c67e08de: Layer already exists 03:44:27 994393dc58e7: Layer already exists 03:44:27 ae67518685b9: Layer already exists 03:44:27 b2c441717009: Layer already exists 03:44:27 aa3f8d6765a3: Layer already exists 03:44:27 main: digest: sha256:7d00601213486548d80c7617dd08802fb810de13fe66e504d8111300a275560e size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:44:27 ===================================================== [Pipeline] echo 03:44:27 taggedImages: 03:44:27 - nexus3.edgexfoundry.org:10004/device-mqtt:876c9416ffc935a90670260e62a4531013ff8eb5 03:44:27 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:44:27 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.26 03:44:27 - nexus3.edgexfoundry.org:10004/device-mqtt:876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26 03:44:27 - 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 03:44:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:27 03:44:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:27 latest: Pulling from edgex-lftools-log-publisher 03:44:27 5eb5b503b376: Pulling fs layer 03:44:27 5c69ac0246d0: Pulling fs layer 03:44:27 ec43610c2a17: Pulling fs layer 03:44:27 3a2ae6a8a46f: Pulling fs layer 03:44:27 33b1e0a273af: Pulling fs layer 03:44:27 5d3b04190fa2: Pulling fs layer 03:44:27 2f39f015ded8: Pulling fs layer 03:44:27 33b1e0a273af: Waiting 03:44:27 5d3b04190fa2: Waiting 03:44:27 2f39f015ded8: Waiting 03:44:27 3a2ae6a8a46f: Waiting 03:44:27 5c69ac0246d0: Download complete 03:44:27 3a2ae6a8a46f: Verifying Checksum 03:44:27 3a2ae6a8a46f: Download complete 03:44:27 33b1e0a273af: Verifying Checksum 03:44:27 33b1e0a273af: Download complete 03:44:27 5d3b04190fa2: Verifying Checksum 03:44:27 5d3b04190fa2: Download complete 03:44:27 ec43610c2a17: Verifying Checksum 03:44:27 ec43610c2a17: Download complete 03:44:28 5eb5b503b376: Verifying Checksum 03:44:28 5eb5b503b376: Download complete 03:44:28 2f39f015ded8: Download complete 03:44:29 5eb5b503b376: Pull complete 03:44:30 5c69ac0246d0: Pull complete 03:44:31 ec43610c2a17: Pull complete 03:44:31 3a2ae6a8a46f: Pull complete 03:44:31 33b1e0a273af: Pull complete 03:44:31 5d3b04190fa2: Pull complete 03:44:35 2f39f015ded8: Pull complete 03:44:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:44:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:35 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:44:38 $ docker top a616bdf39837184a20c2ed27cce19eaec76b5c06811f4b312e63b10799baebdd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:39 ---> job-cost.sh 03:44:39 lf-activate-venv: SKIPPING 03:44:39 INFO: No Stack... 03:44:39 INFO: Retrieving Pricing Info for: v3-standard-8 03:44:40 INFO: Archiving Costs [Pipeline] sh 03:44:40 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 03:44:40 + cut -d, -f6 [Pipeline] lock 03:44:40 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-73-stack-cost] 03:44:40 Resource [jenkins-edgexfoundry-device-mqtt-go-main-73-stack-cost] did not exist. Created. 03:44:40 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:40 + echo total: 0.2199999988079071 [Pipeline] stash 03:44:40 Stashed 1 file(s) [Pipeline] } 03:44:40 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:40 $ docker stop --time=1 a616bdf39837184a20c2ed27cce19eaec76b5c06811f4b312e63b10799baebdd 03:44:41 $ docker rm -f a616bdf39837184a20c2ed27cce19eaec76b5c06811f4b312e63b10799baebdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:44:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9069 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 03:44:52 Running in /w/workspace/device-mqtt-go/73 [Pipeline] { [Pipeline] checkout 03:44:52 Selected Git installation does not exist. Using Default 03:44:52 The recommended git tool is: NONE 03:44:57 using credential edgex-jenkins-ssh 03:44:58 Cloning the remote Git repository 03:44:58 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:44:58 > git init /w/workspace/device-mqtt-go/73 # timeout=10 03:44:58 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:44:58 > git --version # timeout=10 03:44:58 > git --version # 'git version 2.25.1' 03:44:58 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:58 Verifying host key using known hosts file 03:44:58 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. 03:44:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:59 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:44:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:45:00 Avoid second fetch 03:45:00 Checking out Revision 876c9416ffc935a90670260e62a4531013ff8eb5 (main) 03:45:00 > git config core.sparsecheckout # timeout=10 03:45:00 > git checkout -f 876c9416ffc935a90670260e62a4531013ff8eb5 # timeout=10 03:45:01 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#427)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:45:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:45:02 % Total % Received % Xferd Average Speed Time Time Time Current 03:45:02 Dload Upload Total Spent Left Speed 03:45:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75915 0 --:--:-- --:--:-- --:--:-- 75915 [Pipeline] sh 03:45:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:45:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:45:03 + sudo tee /etc/docker/daemon.new 03:45:03 { 03:45:03 "registry-mirrors": [ 03:45:03 "https://nexus3.edgexfoundry.org:10001" 03:45:03 ], 03:45:03 "bip": "10.250.0.254/24", 03:45:03 "hosts": [ 03:45:03 "tcp://0.0.0.0:5555", 03:45:03 "unix:///var/run/docker.sock" 03:45:03 ], 03:45:03 "mtu": 1458, 03:45:03 "selinux-enabled": true, 03:45:03 "seccomp-profile": "/etc/docker/seccomp.json" 03:45:03 } [Pipeline] sh 03:45:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:45:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:22 provisioning config files... 03:45:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/73@tmp/config16745627213715589857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:22 ---> docker-login.sh 03:45:22 nexus3.edgexfoundry.org:10001 03:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:23 Configure a credential helper to remove this warning. See 03:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:23 03:45:23 Login Succeeded 03:45:23 nexus3.edgexfoundry.org:10002 03:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:23 Configure a credential helper to remove this warning. See 03:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:23 03:45:23 Login Succeeded 03:45:23 nexus3.edgexfoundry.org:10003 03:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:24 Configure a credential helper to remove this warning. See 03:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:24 03:45:24 Login Succeeded 03:45:24 nexus3.edgexfoundry.org:10004 03:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:24 Configure a credential helper to remove this warning. See 03:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:24 03:45:24 Login Succeeded 03:45:24 docker.io 03:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:25 Configure a credential helper to remove this warning. See 03:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:25 03:45:25 Login Succeeded 03:45:25 ---> docker-login.sh ends [Pipeline] } 03:45:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:25 ========================================================= 03:45:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:45:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:25 + 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 . 03:45:25 Sending build context to Docker daemon 3.211MB 03:45:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:45:25 Step 2/13 : FROM ${BASE} AS builder 03:45:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:45:26 9b18e9b68314: Pulling fs layer 03:45:26 d32db5db7311: Pulling fs layer 03:45:26 d0c4b47475fc: Pulling fs layer 03:45:26 5831b945b038: Pulling fs layer 03:45:26 86bbec2aaacd: Pulling fs layer 03:45:26 e10730c5d714: Pulling fs layer 03:45:26 5dd5c2283517: Pulling fs layer 03:45:26 d5ac0230b979: Pulling fs layer 03:45:26 86bbec2aaacd: Waiting 03:45:26 e10730c5d714: Waiting 03:45:26 d5ac0230b979: Waiting 03:45:26 5831b945b038: Waiting 03:45:26 d0c4b47475fc: Verifying Checksum 03:45:26 d0c4b47475fc: Download complete 03:45:26 d32db5db7311: Verifying Checksum 03:45:26 d32db5db7311: Download complete 03:45:26 86bbec2aaacd: Verifying Checksum 03:45:26 86bbec2aaacd: Download complete 03:45:26 e10730c5d714: Verifying Checksum 03:45:26 e10730c5d714: Download complete 03:45:26 9b18e9b68314: Verifying Checksum 03:45:26 9b18e9b68314: Download complete 03:45:27 9b18e9b68314: Pull complete 03:45:27 d5ac0230b979: Verifying Checksum 03:45:27 d5ac0230b979: Download complete 03:45:28 d32db5db7311: Pull complete 03:45:28 d0c4b47475fc: Pull complete 03:45:29 5dd5c2283517: Verifying Checksum 03:45:29 5dd5c2283517: Download complete 03:45:30 5831b945b038: Verifying Checksum 03:45:30 5831b945b038: Download complete 03:45:42 5831b945b038: Pull complete 03:45:42 86bbec2aaacd: Pull complete 03:45:42 e10730c5d714: Pull complete 03:45:46 5dd5c2283517: Pull complete 03:45:48 d5ac0230b979: Pull complete 03:45:48 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 03:45:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:45:48 ---> 59b3b1a385d4 03:45:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:45:50 ---> Running in 252d5ac48466 03:45:50 Removing intermediate container 252d5ac48466 03:45:50 ---> 930b84e84a57 03:45:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:45:50 ---> Running in 20338a36ee4e 03:45:50 Removing intermediate container 20338a36ee4e 03:45:50 ---> b41c5d49a646 03:45:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:45:50 ---> Running in 065136ec06c5 03:45:50 Removing intermediate container 065136ec06c5 03:45:50 ---> 6ee7d102b030 03:45:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:45:50 ---> Running in 16911fb9bc66 03:45:51 Removing intermediate container 16911fb9bc66 03:45:51 ---> ecddd15b3850 03:45:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:45:51 ---> Running in 65530269ace2 03:45:53 Removing intermediate container 65530269ace2 03:45:53 ---> 41801f044677 03:45:53 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:45:53 ---> Running in db0de32b5f70 03:45:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:45:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:45:56 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:45:56 (2/4) Installing libedit (20210910.3.1-r0) 03:45:56 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:45:56 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:45:56 Executing busybox-1.35.0-r17.trigger 03:45:56 OK: 226 MiB in 55 packages 03:45:57 Removing intermediate container db0de32b5f70 03:45:57 ---> a137c73eb087 03:45:57 Step 9/13 : WORKDIR /device-mqtt-go 03:45:57 ---> Running in ab12fb98721c 03:45:57 Removing intermediate container ab12fb98721c 03:45:57 ---> ec71c8cd184d 03:45:57 Step 10/13 : COPY go.mod vendor* ./ 03:46:00 ---> abb1b92a896d 03:46:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:46:00 ---> Running in 6afc943ff8d8 03:46:56 Removing intermediate container 6afc943ff8d8 03:46:56 ---> d9b2f51c6028 03:46:56 Step 12/13 : COPY . . 03:46:56 ---> 3e1227e84afb 03:46:56 Step 13/13 : RUN $MAKE 03:46:56 ---> Running in 276a16fe1ccc 03:46:56 noop 03:46:56 Removing intermediate container 276a16fe1ccc 03:46:56 ---> af34f2289708 03:46:56 Successfully built af34f2289708 03:46:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:57 + docker inspect -f . ci-base-image-arm64 03:46:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:57 prd-ubuntu20.04-docker-arm64-4c-16g-9069 does not seem to be running inside a container 03:46:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/73 -v /w/workspace/device-mqtt-go/73:/w/workspace/device-mqtt-go/73:rw,z -v /w/workspace/device-mqtt-go/73@tmp:/w/workspace/device-mqtt-go/73@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 03:46:58 $ docker top 5c9a96e469a3647c317367e1eb7cb04a99920df6ea75f75b6e6d6002f49c7a0b -eo pid,comm [Pipeline] { [Pipeline] sh 03:46:59 + go version 03:46:59 go version go1.18.7 linux/arm64 [Pipeline] } 03:46:59 $ docker stop --time=1 5c9a96e469a3647c317367e1eb7cb04a99920df6ea75f75b6e6d6002f49c7a0b 03:47:02 $ docker rm -f 5c9a96e469a3647c317367e1eb7cb04a99920df6ea75f75b6e6d6002f49c7a0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:03 + docker inspect -f . ci-base-image-arm64 03:47:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:03 prd-ubuntu20.04-docker-arm64-4c-16g-9069 does not seem to be running inside a container 03:47:03 $ 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/73 -v /w/workspace/device-mqtt-go/73:/w/workspace/device-mqtt-go/73:rw,z -v /w/workspace/device-mqtt-go/73@tmp:/w/workspace/device-mqtt-go/73@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 03:47:04 $ docker top 8af68f482f8fe506142fbbfc5ad381a8cd959c1191a00524531325ee8b9de0ad -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:05 + git config --global --add safe.directory /w/workspace/device-mqtt-go/73 [Pipeline] fileExists [Pipeline] sh 03:47:06 + make test 03:47:06 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:47:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:48:44 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:48:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 03:48:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:48:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:48:44 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:48:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:48:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:48:59 ./bin/test-attribution-txt.sh [Pipeline] echo 03:48:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:48:59 $ docker stop --time=1 8af68f482f8fe506142fbbfc5ad381a8cd959c1191a00524531325ee8b9de0ad 03:49:01 $ docker rm -f 8af68f482f8fe506142fbbfc5ad381a8cd959c1191a00524531325ee8b9de0ad [Pipeline] // withDockerContainer [Pipeline] sh 03:49:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:49:02 Warning: overwriting stash ‘coverage-report’ 03:49:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:49:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:49:03 + ls -al . 03:49:03 total 180 03:49:03 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 03:47 . 03:49:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:44 .. 03:49:03 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 03:45 .dockerignore 03:49:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:45 .git 03:49:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:45 .github 03:49:03 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 03:45 .gitignore 03:49:03 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 03:45 .golangci.yml 03:49:03 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 03:45 Attribution.txt 03:49:03 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 03:45 CHANGELOG.md 03:49:03 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 03:45 Dockerfile 03:49:03 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:45 GOVERNANCE.md 03:49:03 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 03:45 Jenkinsfile 03:49:03 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 03:45 LICENSE 03:49:03 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 03:45 Makefile 03:49:03 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 03:45 OWNERS.md 03:49:03 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 03:45 README.md 03:49:03 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 03:42 VERSION 03:49:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:45 bin 03:49:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:45 cmd 03:49:03 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 03:48 coverage.out 03:49:03 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 03:45 go.mod 03:49:03 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 03:45 go.sum 03:49:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:45 internal 03:49:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:45 mock 03:49:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:45 snap 03:49:03 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 03:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:03 + 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=876c9416ffc935a90670260e62a4531013ff8eb5 --label arch=arm64 --label version=2.3.0-dev.26 . 03:49:04 Sending build context to Docker daemon 3.229MB 03:49:04 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 03:49:04 Step 2/25 : FROM ${BASE} AS builder 03:49:04 ---> af34f2289708 03:49:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:49:04 ---> Running in 0f272489a818 03:49:04 Removing intermediate container 0f272489a818 03:49:04 ---> f1ad2ffa9f52 03:49:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:49:05 ---> Running in 054eb10e141a 03:49:05 Removing intermediate container 054eb10e141a 03:49:05 ---> c009bbf6c82a 03:49:05 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:49:05 ---> Running in b262bb79447c 03:49:05 Removing intermediate container b262bb79447c 03:49:05 ---> 053f2b848106 03:49:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:49:05 ---> Running in 69b2b9cbc69a 03:49:06 Removing intermediate container 69b2b9cbc69a 03:49:06 ---> 9938c5bbc8ce 03:49:06 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:49:06 ---> Running in 8f5818a97869 03:49:08 Removing intermediate container 8f5818a97869 03:49:08 ---> c489bfb93a9b 03:49:08 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:49:08 ---> Running in 36900901cd0e 03:49:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:49:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:49:11 OK: 226 MiB in 55 packages 03:49:14 Removing intermediate container 36900901cd0e 03:49:14 ---> 90c1e71b79ba 03:49:14 Step 9/25 : WORKDIR /device-mqtt-go 03:49:14 ---> Running in 3718d49d5d0e 03:49:14 Removing intermediate container 3718d49d5d0e 03:49:14 ---> ef33ae8e71d3 03:49:14 Step 10/25 : COPY go.mod vendor* ./ 03:49:15 ---> 49495d9a8ab9 03:49:15 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:49:15 ---> Running in 85cecc806c63 03:49:17 Removing intermediate container 85cecc806c63 03:49:17 ---> 402f2039e6b0 03:49:17 Step 12/25 : COPY . . 03:49:18 ---> feb1588f84cd 03:49:18 Step 13/25 : RUN $MAKE 03:49:18 ---> Running in d3bc6ec43386 03:49:19 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.26" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 03:52:11 Removing intermediate container d3bc6ec43386 03:52:11 ---> 75c64cc29bb5 03:52:11 Step 14/25 : FROM alpine:3.16 03:52:11 3.16: Pulling from library/alpine 03:52:11 9b18e9b68314: Already exists 03:52:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:52:11 Status: Downloaded newer image for alpine:3.16 03:52:11 ---> a6215f271958 03:52:11 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:52:11 ---> Running in 504e48d02978 03:52:11 Removing intermediate container 504e48d02978 03:52:11 ---> 882b8028eae9 03:52:11 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:52:11 ---> Running in 90d8913df2c5 03:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:52:11 (1/6) Installing dumb-init (1.2.5-r1) 03:52:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:52:11 (3/6) Installing libsodium (1.0.18-r0) 03:52:11 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:52:11 (5/6) Installing libzmq (4.3.4-r0) 03:52:11 (6/6) Installing zeromq (4.3.4-r0) 03:52:11 Executing busybox-1.35.0-r17.trigger 03:52:11 OK: 8 MiB in 20 packages 03:52:11 Removing intermediate container 90d8913df2c5 03:52:11 ---> 4e553be1e866 03:52:11 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 03:52:12 ---> cf81bdb90d0e 03:52:12 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 03:52:13 ---> 5643b8c0d19c 03:52:13 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:52:14 ---> 67cebde762e0 03:52:14 Step 20/25 : EXPOSE 59982 03:52:14 ---> Running in 9cf362393592 03:52:14 Removing intermediate container 9cf362393592 03:52:14 ---> afb5a5ef6032 03:52:14 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 03:52:14 ---> Running in a8acf26a47e6 03:52:14 Removing intermediate container a8acf26a47e6 03:52:14 ---> 5cb5b88a1c7f 03:52:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:52:14 ---> Running in 1e70c9e46e1c 03:52:15 Removing intermediate container 1e70c9e46e1c 03:52:15 ---> f037bb7ee626 03:52:15 Step 23/25 : LABEL arch=arm64 03:52:15 ---> Running in b36975ed6caa 03:52:15 Removing intermediate container b36975ed6caa 03:52:15 ---> 1fcc88279ce6 03:52:15 Step 24/25 : LABEL git_sha=876c9416ffc935a90670260e62a4531013ff8eb5 03:52:15 ---> Running in d83feb8e8177 03:52:15 Removing intermediate container d83feb8e8177 03:52:15 ---> 6af340653ffa 03:52:15 Step 25/25 : LABEL version=2.3.0-dev.26 03:52:15 ---> Running in 91dff03a2803 03:52:16 Removing intermediate container 91dff03a2803 03:52:16 ---> 6f6bae634088 03:52:16 [Warning] One or more build-args [ARCH] were not consumed 03:52:16 Successfully built 6f6bae634088 03:52:16 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 03:52:16 provisioning config files... 03:52:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/73@tmp/config6113250227705993203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:16 ---> docker-login.sh 03:52:16 nexus3.edgexfoundry.org:10001 03:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:17 Configure a credential helper to remove this warning. See 03:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:17 03:52:17 Login Succeeded 03:52:17 nexus3.edgexfoundry.org:10002 03:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:17 Configure a credential helper to remove this warning. See 03:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:17 03:52:17 Login Succeeded 03:52:17 nexus3.edgexfoundry.org:10003 03:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:18 Configure a credential helper to remove this warning. See 03:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:18 03:52:18 Login Succeeded 03:52:18 nexus3.edgexfoundry.org:10004 03:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:18 Configure a credential helper to remove this warning. See 03:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:18 03:52:18 Login Succeeded 03:52:18 docker.io 03:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:19 Configure a credential helper to remove this warning. See 03:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:19 03:52:19 Login Succeeded 03:52:19 ---> docker-login.sh ends [Pipeline] } 03:52:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:52:19 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:52:19 876c9416ffc935a90670260e62a4531013ff8eb5 03:52:19 latest 03:52:19 2.3.0-dev.26 03:52:19 876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26 03:52:19 main 03:52:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:876c9416ffc935a90670260e62a4531013ff8eb5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:20 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:876c9416ffc935a90670260e62a4531013ff8eb5 03:52:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:52:20 766d4e34e0d2: Preparing 03:52:20 62b45dd86b24: Preparing 03:52:20 f2c383f6fe7a: Preparing 03:52:20 61e265f7342b: Preparing 03:52:20 5d3e392a13a0: Preparing 03:52:20 5d3e392a13a0: Layer already exists 03:52:20 766d4e34e0d2: Pushed 03:52:20 62b45dd86b24: Pushed 03:52:21 61e265f7342b: Pushed 03:52:26 f2c383f6fe7a: Pushed 03:52:26 876c9416ffc935a90670260e62a4531013ff8eb5: digest: sha256:e7439957e141e641c5a6a7fc2c7b7467f8d9a1189b3e529e4e1aad8022fb2685 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:52:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:52:27 766d4e34e0d2: Preparing 03:52:27 62b45dd86b24: Preparing 03:52:27 f2c383f6fe7a: Preparing 03:52:27 61e265f7342b: Preparing 03:52:27 5d3e392a13a0: Preparing 03:52:27 f2c383f6fe7a: Layer already exists 03:52:27 61e265f7342b: Layer already exists 03:52:27 5d3e392a13a0: Layer already exists 03:52:27 62b45dd86b24: Layer already exists 03:52:27 766d4e34e0d2: Layer already exists 03:52:27 latest: digest: sha256:e7439957e141e641c5a6a7fc2c7b7467f8d9a1189b3e529e4e1aad8022fb2685 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.26 03:52:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:52:28 766d4e34e0d2: Preparing 03:52:28 62b45dd86b24: Preparing 03:52:28 f2c383f6fe7a: Preparing 03:52:28 61e265f7342b: Preparing 03:52:28 5d3e392a13a0: Preparing 03:52:28 5d3e392a13a0: Layer already exists 03:52:28 61e265f7342b: Layer already exists 03:52:28 62b45dd86b24: Layer already exists 03:52:28 766d4e34e0d2: Layer already exists 03:52:28 f2c383f6fe7a: Layer already exists 03:52:28 2.3.0-dev.26: digest: sha256:e7439957e141e641c5a6a7fc2c7b7467f8d9a1189b3e529e4e1aad8022fb2685 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26 03:52:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:52:29 766d4e34e0d2: Preparing 03:52:29 62b45dd86b24: Preparing 03:52:29 f2c383f6fe7a: Preparing 03:52:29 61e265f7342b: Preparing 03:52:29 5d3e392a13a0: Preparing 03:52:29 5d3e392a13a0: Layer already exists 03:52:29 766d4e34e0d2: Layer already exists 03:52:29 62b45dd86b24: Layer already exists 03:52:29 61e265f7342b: Layer already exists 03:52:29 f2c383f6fe7a: Layer already exists 03:52:29 876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26: digest: sha256:e7439957e141e641c5a6a7fc2c7b7467f8d9a1189b3e529e4e1aad8022fb2685 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 03:52:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:52:30 766d4e34e0d2: Preparing 03:52:30 62b45dd86b24: Preparing 03:52:30 f2c383f6fe7a: Preparing 03:52:30 61e265f7342b: Preparing 03:52:30 5d3e392a13a0: Preparing 03:52:30 f2c383f6fe7a: Layer already exists 03:52:30 61e265f7342b: Layer already exists 03:52:30 766d4e34e0d2: Layer already exists 03:52:30 5d3e392a13a0: Layer already exists 03:52:30 62b45dd86b24: Layer already exists 03:52:30 main: digest: sha256:e7439957e141e641c5a6a7fc2c7b7467f8d9a1189b3e529e4e1aad8022fb2685 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:52:30 ===================================================== [Pipeline] echo 03:52:30 taggedImages: 03:52:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:876c9416ffc935a90670260e62a4531013ff8eb5 03:52:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:52:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.26 03:52:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:876c9416ffc935a90670260e62a4531013ff8eb5-2.3.0-dev.26 03:52:30 - 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 03:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:30 03:52:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:31 arm64: Pulling from edgex-lftools-log-publisher 03:52:31 8998bd30e6a1: Pulling fs layer 03:52:31 04944245beec: Pulling fs layer 03:52:31 699f458cf7ca: Pulling fs layer 03:52:31 765212b225bb: Pulling fs layer 03:52:31 f23df028b6ca: Pulling fs layer 03:52:31 d65c8cfc05b1: Pulling fs layer 03:52:31 2437ff75d9bd: Pulling fs layer 03:52:31 f23df028b6ca: Waiting 03:52:31 d65c8cfc05b1: Waiting 03:52:31 765212b225bb: Waiting 03:52:31 2437ff75d9bd: Waiting 03:52:31 04944245beec: Verifying Checksum 03:52:31 04944245beec: Download complete 03:52:31 765212b225bb: Verifying Checksum 03:52:31 765212b225bb: Download complete 03:52:31 f23df028b6ca: Verifying Checksum 03:52:31 f23df028b6ca: Download complete 03:52:31 d65c8cfc05b1: Verifying Checksum 03:52:31 d65c8cfc05b1: Download complete 03:52:31 699f458cf7ca: Verifying Checksum 03:52:31 699f458cf7ca: Download complete 03:52:31 8998bd30e6a1: Download complete 03:52:34 2437ff75d9bd: Verifying Checksum 03:52:34 2437ff75d9bd: Download complete 03:52:35 8998bd30e6a1: Pull complete 03:52:36 04944245beec: Pull complete 03:52:37 699f458cf7ca: Pull complete 03:52:37 765212b225bb: Pull complete 03:52:38 f23df028b6ca: Pull complete 03:52:39 d65c8cfc05b1: Pull complete 03:52:54 2437ff75d9bd: Pull complete 03:52:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:52:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:54 prd-ubuntu20.04-docker-arm64-4c-16g-9069 does not seem to be running inside a container 03:52:54 $ 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/73 -v /w/workspace/device-mqtt-go/73:/w/workspace/device-mqtt-go/73:rw,z -v /w/workspace/device-mqtt-go/73@tmp:/w/workspace/device-mqtt-go/73@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 03:52:57 $ docker top 8392490c9f1c6be26783b1d8e179b091a6ea6e81d08cb161cdc867e24cd26481 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:58 ---> job-cost.sh 03:52:58 lf-activate-venv: SKIPPING 03:52:58 INFO: No Stack... 03:52:58 INFO: Retrieving Pricing Info for: v3-standard-4 03:52:59 INFO: Archiving Costs [Pipeline] sh 03:53:00 + cat /w/workspace/device-mqtt-go/73/archives/cost.csv 03:53:00 + cut -d, -f6 [Pipeline] lock 03:53:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-73-stack-cost] 03:53:00 Resource [jenkins-edgexfoundry-device-mqtt-go-main-73-stack-cost] did not exist. Created. 03:53:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:53:01 /w/workspace/device-mqtt-go/73@tmp/durable-524e588b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:53:01 + echo total: 0.10999999940395355 [Pipeline] stash 03:53:01 Warning: overwriting stash ‘stack-cost’ 03:53:01 Stashed 1 file(s) [Pipeline] } 03:53:01 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 03:53:01 $ docker stop --time=1 8392490c9f1c6be26783b1d8e179b091a6ea6e81d08cb161cdc867e24cd26481 03:53:03 $ docker rm -f 8392490c9f1c6be26783b1d8e179b091a6ea6e81d08cb161cdc867e24cd26481 [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 03:53:03 provisioning config files... 03:53:03 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1844161271856977635tmp [Pipeline] { [Pipeline] sh 03:53:04 + set +x 03:53:04 + curl -s https://codecov.io/bash 03:53:04 + bash -s -- 03:53:04 03:53:04 _____ _ 03:53:04 / ____| | | 03:53:04 | | ___ __| | ___ ___ _____ __ 03:53:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:53:04 | |___| (_) | (_| | __/ (_| (_) \ V / 03:53:04 \_____\___/ \__,_|\___|\___\___/ \_/ 03:53:04 Bash-1.0.6 03:53:04 03:53:04 03:53:04 ==> git version 2.25.1 found 03:53:04 ==> 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 03:53:04 Release-Date: 2020-01-08 03:53:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:53:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:53:04 ==> Jenkins CI detected. 03:53:04 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 03:53:04 project root: . 03:53:04 --> token set from env 03:53:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:53:04 ==> Running gcov in . (disable via -X gcov) 03:53:04 ==> Python coveragepy not found 03:53:04 ==> Searching for coverage reports in: 03:53:04 + . 03:53:04 -> Found 1 reports 03:53:04 ==> Detecting git/mercurial file structure 03:53:04 ==> Reading reports 03:53:04 + ./coverage.out bytes=17887 03:53:04 ==> Appending adjustments 03:53:04 https://docs.codecov.io/docs/fixing-reports 03:53:04 + Found adjustments 03:53:04 ==> Gzipping contents 03:53:04 4.0K /tmp/codecov.lvRXCg.gz 03:53:04 ==> Uploading reports 03:53:04 url: https://codecov.io 03:53:04 query: branch=main&commit=876c9416ffc935a90670260e62a4531013ff8eb5&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:53:04 -> Pinging Codecov 03:53:04 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=876c9416ffc935a90670260e62a4531013ff8eb5&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:53:04 -> Uploading to 03:53:04 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7D719EC7BBE17E464838252E33014C33/876c9416ffc935a90670260e62a4531013ff8eb5/76746930-f4c2-4cb3-91af-169dc96e0ee0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T035304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd4b6df3fdc25f218d3d96d3447d833a33f857f9297a54d0fb2d0946264ca3ab 03:53:04 % Total % Received % Xferd Average Speed Time Time Time Current 03:53:04 Dload Upload Total Spent Left Speed 03:53:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 12414 --:--:-- --:--:-- --:--:-- 12366 03:53:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/876c9416ffc935a90670260e62a4531013ff8eb5 [Pipeline] } 03:53:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:53:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:53:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:53:05 03:53:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:53:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:53:05 df9b9388f04a: Pulling fs layer 03:53:05 52dc419b0ee2: Pulling fs layer 03:53:05 25bc292e5bac: Pulling fs layer 03:53:05 114826534d7a: Pulling fs layer 03:53:05 4657fd5d0bcf: Pulling fs layer 03:53:05 6ad1cebc031e: Pulling fs layer 03:53:05 8a3aa393b2d8: Pulling fs layer 03:53:05 4657fd5d0bcf: Waiting 03:53:05 6ad1cebc031e: Waiting 03:53:05 8a3aa393b2d8: Waiting 03:53:05 114826534d7a: Waiting 03:53:05 25bc292e5bac: Verifying Checksum 03:53:05 25bc292e5bac: Download complete 03:53:05 52dc419b0ee2: Verifying Checksum 03:53:05 52dc419b0ee2: Download complete 03:53:05 4657fd5d0bcf: Verifying Checksum 03:53:05 4657fd5d0bcf: Download complete 03:53:05 df9b9388f04a: Verifying Checksum 03:53:05 df9b9388f04a: Download complete 03:53:05 df9b9388f04a: Pull complete 03:53:05 6ad1cebc031e: Verifying Checksum 03:53:05 6ad1cebc031e: Download complete 03:53:05 52dc419b0ee2: Pull complete 03:53:05 25bc292e5bac: Pull complete 03:53:06 114826534d7a: Verifying Checksum 03:53:06 114826534d7a: Download complete 03:53:06 8a3aa393b2d8: Verifying Checksum 03:53:06 8a3aa393b2d8: Download complete 03:53:09 114826534d7a: Pull complete 03:53:09 4657fd5d0bcf: Pull complete 03:53:09 6ad1cebc031e: Pull complete 03:53:12 8a3aa393b2d8: Pull complete 03:53:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:53:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:53:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:12 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:53:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:53:15 $ docker top 272071275ec8c77d0920ac68eca0fd9672dbf04cb6b1eccb49c4b10f8d4427ac -eo pid,comm [Pipeline] { [Pipeline] echo 03:53:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 03:53:15 + set -o pipefail 03:53:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 03:53:21 03:53:21 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 03:53:21 03:53:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/305b144c-6cea-43d3-a696-4a9283f7babd 03:53:21 03:53:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:53:21 03:53:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:53:21 03:53:21 03:53:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:53:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:53:21 More details here: https://snyk.co/ue1NS [Pipeline] } 03:53:21 $ docker stop --time=1 272071275ec8c77d0920ac68eca0fd9672dbf04cb6b1eccb49c4b10f8d4427ac 03:53:24 $ docker rm -f 272071275ec8c77d0920ac68eca0fd9672dbf04cb6b1eccb49c4b10f8d4427ac [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 03:53:25 + git log --format=format:%s -1 876c9416ffc935a90670260e62a4531013ff8eb5 [Pipeline] sh 03:53:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:53:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:25 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:53:26 $ docker top 3c4441e0e49d4dfab66002f60c2c294a3f6192c7ad06cc7fe214ac5fed3c35bf -eo pid,comm 03:53:26 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). 03:53:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:53:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:26 [ssh-agent] Looking for ssh-agent implementation... 03:53:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:26 $ docker exec 3c4441e0e49d4dfab66002f60c2c294a3f6192c7ad06cc7fe214ac5fed3c35bf ssh-agent 03:53:26 SSH_AUTH_SOCK=/tmp/ssh-xq4BSf79iWhB/agent.32 03:53:26 SSH_AGENT_PID=38 03:53:26 Running ssh-add (command line suppressed) 03:53:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13282923657542246501.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13282923657542246501.key) 03:53:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:26 + git semver tag 03:53:27 2022-10-24 03:53:27,018 [run_tag] DEBUG tag force:False 03:53:27 2022-10-24 03:53:27,018 [check_head_tag] DEBUG check head tag 03:53:27 2022-10-24 03:53:27,019 [execute] INFO git cat-file --batch-check 03:53:27 2022-10-24 03:53:27,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:53:27 2022-10-24 03:53:27,021 [execute] INFO git cat-file --batch 03:53:27 2022-10-24 03:53:27,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 03:53:27 2022-10-24 03:53:27,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:27 2022-10-24 03:53:27,036 [execute] INFO git tag -a v2.3.0-dev.26 -m v2.3.0-dev.26 03:53:27 2022-10-24 03:53:27,036 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.26', '-m', 'v2.3.0-dev.26'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 03:53:27 2022-10-24 03:53:27,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:27 2.3.0-dev.26 [Pipeline] } 03:53:27 $ docker exec --env ******** --env ******** 3c4441e0e49d4dfab66002f60c2c294a3f6192c7ad06cc7fe214ac5fed3c35bf ssh-agent -k 03:53:27 unset SSH_AUTH_SOCK; 03:53:27 unset SSH_AGENT_PID; 03:53:27 echo Agent pid 38 killed; 03:53:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:53:27 + git semver [Pipeline] } 03:53:27 $ docker stop --time=1 3c4441e0e49d4dfab66002f60c2c294a3f6192c7ad06cc7fe214ac5fed3c35bf 03:53:29 $ docker rm -f 3c4441e0e49d4dfab66002f60c2c294a3f6192c7ad06cc7fe214ac5fed3c35bf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:53:29 03:53:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:53:29 0.23.1-centos7: Pulling from edgex-lftools 03:53:29 ab5ef0e58194: Pulling fs layer 03:53:29 9712f1f96733: Pulling fs layer 03:53:29 63f879dbbcfc: Pulling fs layer 03:53:29 0d9ebad4ef96: Pulling fs layer 03:53:29 e9a5061849ea: Pulling fs layer 03:53:29 d747dcd14b5f: Pulling fs layer 03:53:29 2de7ff778b66: Pulling fs layer 03:53:29 0d9ebad4ef96: Waiting 03:53:29 e9a5061849ea: Waiting 03:53:29 d747dcd14b5f: Waiting 03:53:29 2de7ff778b66: Waiting 03:53:29 9712f1f96733: Verifying Checksum 03:53:29 9712f1f96733: Download complete 03:53:29 63f879dbbcfc: Verifying Checksum 03:53:29 63f879dbbcfc: Download complete 03:53:30 ab5ef0e58194: Verifying Checksum 03:53:30 ab5ef0e58194: Download complete 03:53:30 d747dcd14b5f: Download complete 03:53:30 0d9ebad4ef96: Verifying Checksum 03:53:30 0d9ebad4ef96: Download complete 03:53:30 e9a5061849ea: Verifying Checksum 03:53:30 e9a5061849ea: Download complete 03:53:30 2de7ff778b66: Download complete 03:53:33 ab5ef0e58194: Pull complete 03:53:33 9712f1f96733: Pull complete 03:53:33 63f879dbbcfc: Pull complete 03:53:37 0d9ebad4ef96: Pull complete 03:53:37 e9a5061849ea: Pull complete 03:53:37 d747dcd14b5f: Pull complete 03:53:38 2de7ff778b66: Pull complete 03:53:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:53:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:53:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:38 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:53:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:53:41 $ docker top 39aaafadc9a4c612a9ee6781273f8a8e6d296b66c72ed169a5a17a70bb71a7aa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:53:41 provisioning config files... 03:53:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4831686321977928377tmp 03:53:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4481388370537415017tmp 03:53:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15678005842656897955tmp [Pipeline] { [Pipeline] echo 03:53:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:53:42 ---> sigul-configuration.sh 03:53:42 gpg: directory `/root/.gnupg' created 03:53:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:53:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:53:42 gpg: keyring `/root/.gnupg/secring.gpg' created 03:53:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:53:42 gpg: CAST5 encrypted data 03:53:42 gpg: encrypted with 1 passphrase 03:53:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:53:42 + mkdir /home/jenkins 03:53:42 + mkdir /home/jenkins/sigul [Pipeline] sh 03:53:42 + 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 03:53:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:53:42 ---> sigul-install.sh 03:53:42 Sigul already installed; skipping installation. [Pipeline] sh 03:53:43 + git tag --list 03:53:43 0.7.1 03:53:43 v1.0.0 03:53:43 v1.1.0 03:53:43 v1.1.1 03:53:43 v1.2.2 03:53:43 v1.3.0 03:53:43 v1.3.1 03:53:43 v2.0.0 03:53:43 v2.1.0 03:53:43 v2.1.1 03:53:43 v2.1.1-dev.1 03:53:43 v2.1.1-dev.2 03:53:43 v2.2.0 03:53:43 v2.2.1-dev.1 03:53:43 v2.2.1-dev.10 03:53:43 v2.2.1-dev.2 03:53:43 v2.2.1-dev.3 03:53:43 v2.2.1-dev.4 03:53:43 v2.2.1-dev.5 03:53:43 v2.2.1-dev.6 03:53:43 v2.2.1-dev.7 03:53:43 v2.2.1-dev.8 03:53:43 v2.2.1-dev.9 03:53:43 v2.3.0-dev.10 03:53:43 v2.3.0-dev.11 03:53:43 v2.3.0-dev.12 03:53:43 v2.3.0-dev.13 03:53:43 v2.3.0-dev.14 03:53:43 v2.3.0-dev.15 03:53:43 v2.3.0-dev.16 03:53:43 v2.3.0-dev.17 03:53:43 v2.3.0-dev.18 03:53:43 v2.3.0-dev.19 03:53:43 v2.3.0-dev.20 03:53:43 v2.3.0-dev.21 03:53:43 v2.3.0-dev.22 03:53:43 v2.3.0-dev.23 03:53:43 v2.3.0-dev.24 03:53:43 v2.3.0-dev.25 03:53:43 v2.3.0-dev.26 [Pipeline] sh 03:53:43 + lftools sign git-tag v2.3.0-dev.26 03:53:44 Signing Git tag with Sigul... 03:53:44 Signing v2.3.0-dev.26 [Pipeline] echo 03:53:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:53:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:53:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:53:44 $ docker stop --time=1 39aaafadc9a4c612a9ee6781273f8a8e6d296b66c72ed169a5a17a70bb71a7aa 03:53:45 $ docker rm -f 39aaafadc9a4c612a9ee6781273f8a8e6d296b66c72ed169a5a17a70bb71a7aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:53:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:53:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:46 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:53:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:53:47 $ docker top 0dd38d2e7da1ee84a2fa8673675117c3bbf81a43727e91a581127799b59eabe9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:53:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:47 [ssh-agent] Looking for ssh-agent implementation... 03:53:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:47 $ docker exec 0dd38d2e7da1ee84a2fa8673675117c3bbf81a43727e91a581127799b59eabe9 ssh-agent 03:53:47 SSH_AUTH_SOCK=/tmp/ssh-fTumALDG9C9S/agent.32 03:53:47 SSH_AGENT_PID=39 03:53:47 Running ssh-add (command line suppressed) 03:53:47 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11040465956084184578.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11040465956084184578.key) 03:53:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:47 + git semver bump pre 03:53:47 2022-10-24 03:53:47,921 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:47 2022-10-24 03:53:47,921 [bump_version] DEBUG bumping version:2.3.0-dev.26 on axis:pre with prefix:dev 03:53:47 2022-10-24 03:53:47,921 [bump_version] DEBUG bumped version:2.3.0-dev.27 03:53:47 2022-10-24 03:53:47,921 [write_version] DEBUG write version:2.3.0-dev.27 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 03:53:47 2022-10-24 03:53:47,921 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:47 2022-10-24 03:53:47,921 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:47 2022-10-24 03:53:47,923 [execute] INFO git cat-file --batch-check 03:53:47 2022-10-24 03:53:47,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:53:47 2022-10-24 03:53:47,928 [execute] INFO git cat-file --batch 03:53:47 2022-10-24 03:53:47,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:53:47 2022-10-24 03:53:47,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:47 2.3.0-dev.27 [Pipeline] } 03:53:48 $ docker exec --env ******** --env ******** 0dd38d2e7da1ee84a2fa8673675117c3bbf81a43727e91a581127799b59eabe9 ssh-agent -k 03:53:48 unset SSH_AUTH_SOCK; 03:53:48 unset SSH_AGENT_PID; 03:53:48 echo Agent pid 39 killed; 03:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:53:48 + git semver [Pipeline] } 03:53:48 $ docker stop --time=1 0dd38d2e7da1ee84a2fa8673675117c3bbf81a43727e91a581127799b59eabe9 03:53:49 $ docker rm -f 0dd38d2e7da1ee84a2fa8673675117c3bbf81a43727e91a581127799b59eabe9 [Pipeline] // withDockerContainer [Pipeline] sh 03:53:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:53:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:50 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:53:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:53:51 $ docker top 4310b4a14991c4dd6a9ce7c6f9f97dfba20728b425b615924106d0b6c99eaa22 -eo pid,comm 03:53:51 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). 03:53:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:53:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:51 [ssh-agent] Looking for ssh-agent implementation... 03:53:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:51 $ docker exec 4310b4a14991c4dd6a9ce7c6f9f97dfba20728b425b615924106d0b6c99eaa22 ssh-agent 03:53:51 SSH_AUTH_SOCK=/tmp/ssh-e7ppTMXx5ebK/agent.33 03:53:51 SSH_AGENT_PID=39 03:53:51 Running ssh-add (command line suppressed) 03:53:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7838833289762450129.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7838833289762450129.key) 03:53:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:51 + git semver push 03:53:51 2022-10-24 03:53:51,896 [run_push] DEBUG push 03:53:51 2022-10-24 03:53:51,897 [execute] INFO git cat-file --batch-check 03:53:51 2022-10-24 03:53:51,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:53:51 2022-10-24 03:53:51,901 [execute] INFO git rev-list f5f88165e7751bb239ad0a3a0a46913af31700df -- 03:53:51 2022-10-24 03:53:51,901 [execute] DEBUG Popen(['git', 'rev-list', 'f5f88165e7751bb239ad0a3a0a46913af31700df', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:53:51 2022-10-24 03:53:51,908 [execute] INFO git fetch -v origin 03:53:51 2022-10-24 03:53:51,909 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:53:52 2022-10-24 03:53:52,503 [run_push] DEBUG no remote changes detected 03:53:52 2022-10-24 03:53:52,503 [execute] INFO git push origin semver 03:53:52 2022-10-24 03:53:52,504 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:53:53 2022-10-24 03:53:53,317 [run_push] DEBUG push all version tags 03:53:53 2022-10-24 03:53:53,317 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:53:53 2022-10-24 03:53:53,318 [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) 03:53:54 2022-10-24 03:53:54,195 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:53:54 2.3.0-dev.27 [Pipeline] } 03:53:54 $ docker exec --env ******** --env ******** 4310b4a14991c4dd6a9ce7c6f9f97dfba20728b425b615924106d0b6c99eaa22 ssh-agent -k 03:53:54 unset SSH_AUTH_SOCK; 03:53:54 unset SSH_AGENT_PID; 03:53:54 echo Agent pid 39 killed; 03:53:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:53:54 + git semver [Pipeline] } 03:53:55 $ docker stop --time=1 4310b4a14991c4dd6a9ce7c6f9f97dfba20728b425b615924106d0b6c99eaa22 03:53:56 $ docker rm -f 4310b4a14991c4dd6a9ce7c6f9f97dfba20728b425b615924106d0b6c99eaa22 [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 03:53:56 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:53:56 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:53:56 total 16 03:53:56 drwxr-xr-x 3 root root 4096 Oct 24 03:44 . 03:53:56 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:53 .. 03:53:56 drwxr-xr-x 2 root root 4096 Oct 24 03:44 cost 03:53:56 -rw-r--r-- 1 root root 85 Oct 24 03:44 cost.csv 03:53:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:53:56 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:53:56 total 16 03:53:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:44 . 03:53:56 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:53 .. 03:53:56 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 03:44 cost 03:53:56 -rw-r--r-- 1 jenkins jenkins 85 Oct 24 03:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:53:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:53:58 ---> package-listing.sh 03:53:58 ++ facter osfamily 03:53:58 ++ tr '[:upper:]' '[:lower:]' 03:53:58 + OS_FAMILY=debian 03:53:58 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:53:58 + START_PACKAGES=/tmp/packages_start.txt 03:53:58 + END_PACKAGES=/tmp/packages_end.txt 03:53:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:53:58 + PACKAGES=/tmp/packages_start.txt 03:53:58 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:53:58 + PACKAGES=/tmp/packages_end.txt 03:53:58 + case "${OS_FAMILY}" in 03:53:58 + dpkg -l 03:53:58 + grep '^ii' 03:53:58 + '[' -f /tmp/packages_start.txt ']' 03:53:58 + '[' -f /tmp/packages_end.txt ']' 03:53:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:53:58 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:53:58 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:53:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:53:58 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 03:53:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:59 prd-ubuntu20.04-docker-8c-8g-9065 does not seem to be running inside a container 03:53:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:53:59 $ docker top 999e8018f303cfa8eedab6fab309916354a9f2b27b65bf77474821223045f3b9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:59 + touch /tmp/pre-build-complete [Pipeline] sh 03:54:00 + mkdir -p /var/log/sysstat [Pipeline] sh 03:54:00 + ls /var/log/sa-host 03:54:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:54:00 provisioning config files... 03:54:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15805911648048001838tmp [Pipeline] { [Pipeline] echo 03:54:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:54:00 ---> create-netrc.sh [Pipeline] } 03:54:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:54:01 ---> python-tools-install.sh [Pipeline] echo 03:54:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:54:01 ---> sudo-logs.sh 03:54:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:54:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:54:01 ---> job-cost.sh 03:54:01 lf-activate-venv: SKIPPING 03:54:01 DEBUG: total: 0.2199999988079071 03:54:01 INFO: Retrieving Stack Cost... 03:54:02 INFO: Retrieving Pricing Info for: v3-standard-8 03:54:02 INFO: Archiving Costs [Pipeline] echo 03:54:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:54:03 ---> logs-deploy.sh 03:54:03 lf-activate-venv: SKIPPING 03:54:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/73 03:54:03 INFO: archiving workspace using pattern(s): 03:54:04 Archives upload complete. 03:54:04 INFO: archiving logs to Nexus