Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 91033eab2fea5be4c686bcf4b883ab5b66be6a5a 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-ssh13744638085265627031.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-ssh10471825240548279198.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-ssh7864885807024279128.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-ssh17825294620539856489.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-ssh15267667569213894759.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9730 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 91033eab2fea5be4c686bcf4b883ab5b66be6a5a (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#426)" > 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 91033eab2fea5be4c686bcf4b883ab5b66be6a5a # timeout=10 > git rev-list --no-walk 11292522a1b172e39acbcf030b4ae47cdeea6eca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:39:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:39:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:39:57 ========================================================= 15:39:57 EdgeX Global Pipelines Version Info 15:39:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:39:58 ------------------- 15:39:58 stable info: 15:39:58 ------------------- 15:39:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:39:58 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:39:58 Message: update stable to v1.0.243 15:39:59 ------------------- 15:39:59 experimental info: 15:39:59 ------------------- 15:39:59 Commited By: **** collab-it+edgex@linuxfoundation.org 15:39:59 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:39:59 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91033eab2fea5be4c686bcf4b883ab5b66be6a5a [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91033ea [Pipeline] echo 15:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:39:59 provisioning config files... 15:39:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17463446624328280067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:00 ---> docker-login.sh 15:40:00 nexus3.edgexfoundry.org:10001 15:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:00 Configure a credential helper to remove this warning. See 15:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:00 15:40:00 Login Succeeded 15:40:00 nexus3.edgexfoundry.org:10002 15:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:00 Configure a credential helper to remove this warning. See 15:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:00 15:40:00 Login Succeeded 15:40:00 nexus3.edgexfoundry.org:10003 15:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:00 Configure a credential helper to remove this warning. See 15:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:00 15:40:00 Login Succeeded 15:40:00 nexus3.edgexfoundry.org:10004 15:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:00 Configure a credential helper to remove this warning. See 15:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:00 15:40:00 Login Succeeded 15:40:00 docker.io 15:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:01 Configure a credential helper to remove this warning. See 15:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:01 15:40:01 Login Succeeded 15:40:01 ---> docker-login.sh ends [Pipeline] } 15:40:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:40:01 + git rev-list -1 --merges 91033eab2fea5be4c686bcf4b883ab5b66be6a5a~1..91033eab2fea5be4c686bcf4b883ab5b66be6a5a [Pipeline] echo 15:40:01 -----------> git rev-list -1 --merges 91033eab2fea5be4c686bcf4b883ab5b66be6a5a~1..91033eab2fea5be4c686bcf4b883ab5b66be6a5a 91033eab2fea5be4c686bcf4b883ab5b66be6a5a [false] [Pipeline] sh 15:40:02 + git log --format=format:%s -1 91033eab2fea5be4c686bcf4b883ab5b66be6a5a [Pipeline] echo 15:40:02 ========================================================= 15:40:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:40:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:40:02 + git log --format=format:%s -1 91033eab2fea5be4c686bcf4b883ab5b66be6a5a [Pipeline] echo 15:40:02 [semverPrep] GIT_COMMIT: 91033eab2fea5be4c686bcf4b883ab5b66be6a5a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#426) [Pipeline] echo 15:40:02 [semverPrep] This is not a build commit. [Pipeline] sh 15:40:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:40:02 + grep -v github /etc/ssh/ssh_known_hosts 15:40:02 + [ -e /tmp/ssh_known_hosts ] 15:40:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:40:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:40:02 + sudo tee -a /etc/ssh/ssh_known_hosts 15:40:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:03 15:40:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:03 0.1.4: Pulling from edgex-devops/py-git-semver 15:40:03 b85a868b505f: Pulling fs layer 15:40:03 e2be974225ed: Pulling fs layer 15:40:03 339a4e72a1f5: Pulling fs layer 15:40:03 988bab9f4d93: Pulling fs layer 15:40:03 1469e6f7b9e6: Pulling fs layer 15:40:03 eaf3925da568: Pulling fs layer 15:40:03 bab4dde63d76: Pulling fs layer 15:40:03 bde34c3a00c8: Pulling fs layer 15:40:03 b352a97aabf1: Pulling fs layer 15:40:03 4872d77fe225: Pulling fs layer 15:40:03 5851b861e8e6: Pulling fs layer 15:40:03 eaf3925da568: Waiting 15:40:03 4872d77fe225: Waiting 15:40:03 bab4dde63d76: Waiting 15:40:03 bde34c3a00c8: Waiting 15:40:03 988bab9f4d93: Waiting 15:40:03 1469e6f7b9e6: Waiting 15:40:03 5851b861e8e6: Waiting 15:40:03 e2be974225ed: Verifying Checksum 15:40:03 e2be974225ed: Download complete 15:40:03 988bab9f4d93: Verifying Checksum 15:40:03 988bab9f4d93: Download complete 15:40:03 1469e6f7b9e6: Verifying Checksum 15:40:03 1469e6f7b9e6: Download complete 15:40:03 339a4e72a1f5: Verifying Checksum 15:40:03 339a4e72a1f5: Download complete 15:40:03 eaf3925da568: Verifying Checksum 15:40:03 eaf3925da568: Download complete 15:40:03 bde34c3a00c8: Verifying Checksum 15:40:03 bde34c3a00c8: Download complete 15:40:03 b352a97aabf1: Verifying Checksum 15:40:03 b352a97aabf1: Download complete 15:40:03 4872d77fe225: Verifying Checksum 15:40:03 4872d77fe225: Download complete 15:40:03 5851b861e8e6: Download complete 15:40:03 b85a868b505f: Verifying Checksum 15:40:03 b85a868b505f: Download complete 15:40:04 bab4dde63d76: Verifying Checksum 15:40:04 bab4dde63d76: Download complete 15:40:05 b85a868b505f: Pull complete 15:40:05 e2be974225ed: Pull complete 15:40:05 339a4e72a1f5: Pull complete 15:40:05 988bab9f4d93: Pull complete 15:40:06 1469e6f7b9e6: Pull complete 15:40:06 eaf3925da568: Pull complete 15:40:08 bab4dde63d76: Pull complete 15:40:08 bde34c3a00c8: Pull complete 15:40:08 b352a97aabf1: Pull complete 15:40:08 4872d77fe225: Pull complete 15:40:08 5851b861e8e6: Pull complete 15:40:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:40:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:40:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:08 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 15:40:08 $ 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 15:40:11 $ docker top 33b68833e350ac0fdccba06c13199a84df83eaf6c8680110d14a00c570465348 -eo pid,comm 15:40:11 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). 15:40:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:40:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:11 [ssh-agent] Looking for ssh-agent implementation... 15:40:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:11 $ docker exec 33b68833e350ac0fdccba06c13199a84df83eaf6c8680110d14a00c570465348 ssh-agent 15:40:11 SSH_AUTH_SOCK=/tmp/ssh-2xclenhZiWOk/agent.32 15:40:11 SSH_AGENT_PID=38 15:40:11 Running ssh-add (command line suppressed) 15:40:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15931640705214936639.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15931640705214936639.key) 15:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:40:11 + git tag --points-at HEAD [Pipeline] } 15:40:11 $ docker exec --env ******** --env ******** 33b68833e350ac0fdccba06c13199a84df83eaf6c8680110d14a00c570465348 ssh-agent -k 15:40:11 unset SSH_AUTH_SOCK; 15:40:11 unset SSH_AGENT_PID; 15:40:11 echo Agent pid 38 killed; 15:40:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:40:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:11 [ssh-agent] Looking for ssh-agent implementation... 15:40:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:12 $ docker exec 33b68833e350ac0fdccba06c13199a84df83eaf6c8680110d14a00c570465348 ssh-agent 15:40:12 SSH_AUTH_SOCK=/tmp/ssh-pAPhV6S0SvKM/agent.70 15:40:12 SSH_AGENT_PID=76 15:40:12 Running ssh-add (command line suppressed) 15:40:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8620069416536953630.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8620069416536953630.key) 15:40:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:40:12 + git semver init 15:40:12 2022-10-24 15:40:12,752 [run_init] DEBUG init version:0.0.0 force:False 15:40:12 2022-10-24 15:40:12,752 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:40:12 2022-10-24 15:40:12,753 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 15:40:12 2022-10-24 15:40:12,753 [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) 15:40:13 2022-10-24 15:40:13,713 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 15:40:13 2022-10-24 15:40:13,713 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 15:40:13 2022-10-24 15:40:13,713 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:40:13 2022-10-24 15:40:13,714 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 15:40:13 2.3.0-dev.28 [Pipeline] } 15:40:13 $ docker exec --env ******** --env ******** 33b68833e350ac0fdccba06c13199a84df83eaf6c8680110d14a00c570465348 ssh-agent -k 15:40:13 unset SSH_AUTH_SOCK; 15:40:13 unset SSH_AGENT_PID; 15:40:13 echo Agent pid 76 killed; 15:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:40:14 + git semver [Pipeline] } 15:40:14 $ docker stop --time=1 33b68833e350ac0fdccba06c13199a84df83eaf6c8680110d14a00c570465348 15:40:15 $ docker rm -f 33b68833e350ac0fdccba06c13199a84df83eaf6c8680110d14a00c570465348 [Pipeline] // withDockerContainer [Pipeline] sh 15:40:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:40:16 Stashed 1 file(s) [Pipeline] echo 15:40:16 [edgeXSemver]: initialized semver on version 2.3.0-dev.28 [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 15:40:16 provisioning config files... 15:40:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8919736203554012890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:16 ---> docker-login.sh 15:40:16 nexus3.edgexfoundry.org:10001 15:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:16 Configure a credential helper to remove this warning. See 15:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:16 15:40:16 Login Succeeded 15:40:16 nexus3.edgexfoundry.org:10002 15:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:16 Configure a credential helper to remove this warning. See 15:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:16 15:40:16 Login Succeeded 15:40:16 nexus3.edgexfoundry.org:10003 15:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:17 Configure a credential helper to remove this warning. See 15:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:17 15:40:17 Login Succeeded 15:40:17 nexus3.edgexfoundry.org:10004 15:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:17 Configure a credential helper to remove this warning. See 15:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:17 15:40:17 Login Succeeded 15:40:17 docker.io 15:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:17 Configure a credential helper to remove this warning. See 15:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:17 15:40:17 Login Succeeded 15:40:17 ---> docker-login.sh ends [Pipeline] } 15:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:17 ========================================================= 15:40:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:40:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:17 + 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 . 15:40:17 Sending build context to Docker daemon 6.193MB 15:40:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:40:17 Step 2/13 : FROM ${BASE} AS builder 15:40:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:40:17 213ec9aee27d: Pulling fs layer 15:40:17 4583459ba037: Pulling fs layer 15:40:17 93c1e223e6f2: Pulling fs layer 15:40:17 53926ce57604: Pulling fs layer 15:40:17 21b2b0c7a3f4: Pulling fs layer 15:40:17 30f14e443154: Pulling fs layer 15:40:17 801331c1e519: Pulling fs layer 15:40:17 99cc6dd402b0: Pulling fs layer 15:40:17 7d9ed39f4882: Pulling fs layer 15:40:17 801331c1e519: Waiting 15:40:17 53926ce57604: Waiting 15:40:17 21b2b0c7a3f4: Waiting 15:40:17 30f14e443154: Waiting 15:40:17 99cc6dd402b0: Waiting 15:40:17 7d9ed39f4882: Waiting 15:40:17 93c1e223e6f2: Verifying Checksum 15:40:17 93c1e223e6f2: Download complete 15:40:17 4583459ba037: Download complete 15:40:18 21b2b0c7a3f4: Download complete 15:40:18 30f14e443154: Verifying Checksum 15:40:18 30f14e443154: Download complete 15:40:18 213ec9aee27d: Download complete 15:40:18 801331c1e519: Download complete 15:40:18 213ec9aee27d: Pull complete 15:40:18 4583459ba037: Pull complete 15:40:18 93c1e223e6f2: Pull complete 15:40:18 7d9ed39f4882: Verifying Checksum 15:40:18 7d9ed39f4882: Download complete 15:40:19 53926ce57604: Verifying Checksum 15:40:19 53926ce57604: Download complete 15:40:19 99cc6dd402b0: Verifying Checksum 15:40:19 99cc6dd402b0: Download complete 15:40:23 53926ce57604: Pull complete 15:40:23 21b2b0c7a3f4: Pull complete 15:40:23 30f14e443154: Pull complete 15:40:23 801331c1e519: Pull complete 15:40:25 99cc6dd402b0: Pull complete 15:40:25 7d9ed39f4882: Pull complete 15:40:25 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 15:40:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:40:25 ---> 1dedd983c030 15:40:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:40:30 ---> Running in a44fd01ded15 15:40:30 Removing intermediate container a44fd01ded15 15:40:30 ---> a5e3401e6f45 15:40:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:40:30 ---> Running in 39558bcc49cd 15:40:30 Removing intermediate container 39558bcc49cd 15:40:30 ---> 5c7dca57b4e9 15:40:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:40:30 ---> Running in fd34bee1ac35 15:40:30 Removing intermediate container fd34bee1ac35 15:40:30 ---> e510203da227 15:40:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:40:30 ---> Running in 322a8a36638e 15:40:30 Removing intermediate container 322a8a36638e 15:40:30 ---> 07849ef59823 15:40:30 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:40:30 ---> Running in 814eb0666fe8 15:40:31 Removing intermediate container 814eb0666fe8 15:40:31 ---> 2c425e2c0585 15:40:31 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:40:31 ---> Running in 306a74055a9d 15:40:31 Still waiting to schedule task 15:40:31 ‘prd-centos7-blackbox-4c-2g-8824’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:40:31 ‘prd-centos7-blackbox-4c-2g-8825’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:40:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9736’ is offline 15:40:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9742’ is offline 15:40:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:40:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:40:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:40:33 (2/4) Installing libedit (20210910.3.1-r0) 15:40:33 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:40:33 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:40:33 Executing busybox-1.35.0-r17.trigger 15:40:33 OK: 216 MiB in 55 packages 15:40:34 Removing intermediate container 306a74055a9d 15:40:34 ---> b4d9dd683c5d 15:40:34 Step 9/13 : WORKDIR /device-mqtt-go 15:40:35 ---> Running in ff108a8a7ccc 15:40:35 Removing intermediate container ff108a8a7ccc 15:40:35 ---> 5ad22ba28e8e 15:40:35 Step 10/13 : COPY go.mod vendor* ./ 15:40:35 ---> d19e37092ba9 15:40:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:40:35 ---> Running in 3bbdc7451043 15:41:02 Removing intermediate container 3bbdc7451043 15:41:02 ---> e000ca4edb9d 15:41:02 Step 12/13 : COPY . . 15:41:02 ---> 6c4389a64e27 15:41:02 Step 13/13 : RUN $MAKE 15:41:02 ---> Running in 2ff9f58e230d 15:41:02 noop 15:41:02 Removing intermediate container 2ff9f58e230d 15:41:02 ---> 15477b5733a2 15:41:02 Successfully built 15477b5733a2 15:41:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:02 + docker inspect -f . ci-base-image-x86_64 15:41:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:03 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 15:41:03 $ 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 15:41:03 $ docker top 455cfa380b6b18322e879dc83b8c7d7ba8687623995dfa167dd28431fa6edff5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:03 + go version 15:41:03 go version go1.18.7 linux/amd64 [Pipeline] } 15:41:03 $ docker stop --time=1 455cfa380b6b18322e879dc83b8c7d7ba8687623995dfa167dd28431fa6edff5 15:41:05 $ docker rm -f 455cfa380b6b18322e879dc83b8c7d7ba8687623995dfa167dd28431fa6edff5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:05 + docker inspect -f . ci-base-image-x86_64 15:41:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:05 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 15:41:05 $ 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 15:41:06 $ docker top 0a6bc43deae90b813f041dade5113da226d31e3e471cd3c207559194028e0fd2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 15:41:06 + make test 15:41:06 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:41:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:41:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:41:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 15:41:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:41:25 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." 15:41:25 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:41:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:41:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:41:28 ./bin/test-attribution-txt.sh [Pipeline] echo 15:41:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:41:28 $ docker stop --time=1 0a6bc43deae90b813f041dade5113da226d31e3e471cd3c207559194028e0fd2 15:41:30 $ docker rm -f 0a6bc43deae90b813f041dade5113da226d31e3e471cd3c207559194028e0fd2 [Pipeline] // withDockerContainer [Pipeline] sh 15:41:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:41:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:41:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:41:32 + ls -al . 15:41:32 total 192 15:41:32 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:41 . 15:41:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:39 .. 15:41:32 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 15:39 .dockerignore 15:41:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:41 .git 15:41:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:39 .github 15:41:32 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 15:39 .gitignore 15:41:32 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:39 .golangci.yml 15:41:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:40 .semver 15:41:32 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 15:39 Attribution.txt 15:41:32 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 15:39 CHANGELOG.md 15:41:32 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 15:39 Dockerfile 15:41:32 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:39 GOVERNANCE.md 15:41:32 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 15:39 Jenkinsfile 15:41:32 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:39 LICENSE 15:41:32 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 15:39 Makefile 15:41:32 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 15:39 OWNERS.md 15:41:32 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 15:39 README.md 15:41:32 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:40 VERSION 15:41:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:39 bin 15:41:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:39 cmd 15:41:32 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 15:41 coverage.out 15:41:32 -rw-rw-r-- 1 jenkins jenkins 3511 Oct 24 15:39 go.mod 15:41:32 -rw-rw-r-- 1 jenkins jenkins 45142 Oct 24 15:39 go.sum 15:41:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:39 internal 15:41:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:39 mock 15:41:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:39 snap 15:41:32 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 15:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:32 + 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=91033eab2fea5be4c686bcf4b883ab5b66be6a5a --label arch=amd64 --label version=2.3.0-dev.28 . 15:41:32 Sending build context to Docker daemon 6.212MB 15:41:32 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:41:32 Step 2/25 : FROM ${BASE} AS builder 15:41:32 ---> 15477b5733a2 15:41:32 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:41:32 ---> Running in 565d99ec080b 15:41:32 Removing intermediate container 565d99ec080b 15:41:32 ---> 1ea85ba99141 15:41:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:41:32 ---> Running in baa43eb99fdc 15:41:32 Removing intermediate container baa43eb99fdc 15:41:32 ---> b86e3d987489 15:41:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:41:32 ---> Running in e04676fca389 15:41:33 Removing intermediate container e04676fca389 15:41:33 ---> 6183bf905433 15:41:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:41:33 ---> Running in 6aa0c074a8e7 15:41:33 Removing intermediate container 6aa0c074a8e7 15:41:33 ---> 431c4d340ad3 15:41:33 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:41:33 ---> Running in d2869adfd777 15:41:33 Removing intermediate container d2869adfd777 15:41:33 ---> 10b0896e7a10 15:41:33 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:41:33 ---> Running in 43d81f2c84f1 15:41:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:41:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:41:35 OK: 216 MiB in 55 packages 15:41:35 Removing intermediate container 43d81f2c84f1 15:41:35 ---> 0aed41013440 15:41:35 Step 9/25 : WORKDIR /device-mqtt-go 15:41:35 ---> Running in ae33fc84c903 15:41:35 Removing intermediate container ae33fc84c903 15:41:35 ---> c84b1706b9f7 15:41:35 Step 10/25 : COPY go.mod vendor* ./ 15:41:35 ---> 7a6ace1ea312 15:41:35 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:41:35 ---> Running in f5ba3297665d 15:41:36 Removing intermediate container f5ba3297665d 15:41:36 ---> 6b3b738aab97 15:41:36 Step 12/25 : COPY . . 15:41:36 ---> f517a3cd1c2e 15:41:36 Step 13/25 : RUN $MAKE 15:41:36 ---> Running in 5ce2f49b3f9b 15:41:37 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.28" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 15:41:59 Removing intermediate container 5ce2f49b3f9b 15:41:59 ---> 7abb8f4123cf 15:41:59 Step 14/25 : FROM alpine:3.16 15:41:59 3.16: Pulling from library/alpine 15:41:59 213ec9aee27d: Already exists 15:41:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:41:59 Status: Downloaded newer image for alpine:3.16 15:41:59 ---> 9c6f07244728 15:41:59 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:41:59 ---> Running in 7747fbae0657 15:41:59 Removing intermediate container 7747fbae0657 15:41:59 ---> 6deb4e55f3c4 15:41:59 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 15:41:59 ---> Running in 16095af1c4e6 15:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:41:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:41:59 (1/6) Installing dumb-init (1.2.5-r1) 15:41:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:41:59 (3/6) Installing libsodium (1.0.18-r0) 15:41:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:41:59 (5/6) Installing libzmq (4.3.4-r0) 15:41:59 (6/6) Installing zeromq (4.3.4-r0) 15:41:59 Executing busybox-1.35.0-r17.trigger 15:41:59 OK: 8 MiB in 20 packages 15:41:59 Removing intermediate container 16095af1c4e6 15:41:59 ---> 84f69e877359 15:41:59 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 15:42:00 ---> 626115576087 15:42:00 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 15:42:00 ---> 9fdf26cab317 15:42:00 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:42:00 ---> f579b432471d 15:42:00 Step 20/25 : EXPOSE 59982 15:42:00 ---> Running in 3afd3cf4d02f 15:42:00 Removing intermediate container 3afd3cf4d02f 15:42:00 ---> c6d34fd565d1 15:42:00 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 15:42:00 ---> Running in 405d7ceb6a1c 15:42:00 Removing intermediate container 405d7ceb6a1c 15:42:00 ---> 06d8871963ce 15:42:00 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:42:00 ---> Running in 1f0d265ee6f8 15:42:00 Removing intermediate container 1f0d265ee6f8 15:42:00 ---> f3bc56479e8f 15:42:00 Step 23/25 : LABEL arch=amd64 15:42:00 ---> Running in 982ba957d62f 15:42:00 Removing intermediate container 982ba957d62f 15:42:00 ---> ee4c5ce1bb2e 15:42:00 Step 24/25 : LABEL git_sha=91033eab2fea5be4c686bcf4b883ab5b66be6a5a 15:42:00 ---> Running in fbc3d32211a0 15:42:00 Removing intermediate container fbc3d32211a0 15:42:00 ---> 971e518ad245 15:42:00 Step 25/25 : LABEL version=2.3.0-dev.28 15:42:00 ---> Running in cd5a9bbf900f 15:42:00 Removing intermediate container cd5a9bbf900f 15:42:00 ---> c9baa80ec7d4 15:42:00 [Warning] One or more build-args [ARCH] were not consumed 15:42:00 Successfully built c9baa80ec7d4 15:42:00 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:00 provisioning config files... 15:42:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14756919721608604129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:01 ---> docker-login.sh 15:42:01 nexus3.edgexfoundry.org:10001 15:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:01 Configure a credential helper to remove this warning. See 15:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:01 15:42:01 Login Succeeded 15:42:01 nexus3.edgexfoundry.org:10002 15:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:01 Configure a credential helper to remove this warning. See 15:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:01 15:42:01 Login Succeeded 15:42:01 nexus3.edgexfoundry.org:10003 15:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:01 Configure a credential helper to remove this warning. See 15:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:01 15:42:01 Login Succeeded 15:42:01 nexus3.edgexfoundry.org:10004 15:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:01 Configure a credential helper to remove this warning. See 15:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:01 15:42:01 Login Succeeded 15:42:01 docker.io 15:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:02 Configure a credential helper to remove this warning. See 15:42:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:02 15:42:02 Login Succeeded 15:42:02 ---> docker-login.sh ends [Pipeline] } 15:42:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:02 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 15:42:02 91033eab2fea5be4c686bcf4b883ab5b66be6a5a 15:42:02 latest 15:42:02 2.3.0-dev.28 15:42:02 91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28 15:42:02 main 15:42:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:91033eab2fea5be4c686bcf4b883ab5b66be6a5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:91033eab2fea5be4c686bcf4b883ab5b66be6a5a 15:42:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:42:02 4a97049f8506: Preparing 15:42:02 f06e0f85a72f: Preparing 15:42:02 3f1d3dff85cd: Preparing 15:42:02 eb1e133bb9e0: Preparing 15:42:02 994393dc58e7: Preparing 15:42:02 994393dc58e7: Layer already exists 15:42:02 f06e0f85a72f: Pushed 15:42:02 4a97049f8506: Pushed 15:42:02 eb1e133bb9e0: Pushed 15:42:05 3f1d3dff85cd: Pushed 15:42:05 91033eab2fea5be4c686bcf4b883ab5b66be6a5a: digest: sha256:243736a0481475841622ad2bc868d8c36a15562e097e56cfbebdfb6973255b22 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:42:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:42:06 4a97049f8506: Preparing 15:42:06 f06e0f85a72f: Preparing 15:42:06 3f1d3dff85cd: Preparing 15:42:06 eb1e133bb9e0: Preparing 15:42:06 994393dc58e7: Preparing 15:42:06 3f1d3dff85cd: Layer already exists 15:42:06 4a97049f8506: Layer already exists 15:42:06 f06e0f85a72f: Layer already exists 15:42:06 eb1e133bb9e0: Layer already exists 15:42:06 994393dc58e7: Layer already exists 15:42:06 latest: digest: sha256:243736a0481475841622ad2bc868d8c36a15562e097e56cfbebdfb6973255b22 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.28 15:42:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:42:06 4a97049f8506: Preparing 15:42:06 f06e0f85a72f: Preparing 15:42:06 3f1d3dff85cd: Preparing 15:42:06 eb1e133bb9e0: Preparing 15:42:06 994393dc58e7: Preparing 15:42:06 4a97049f8506: Layer already exists 15:42:06 994393dc58e7: Layer already exists 15:42:06 3f1d3dff85cd: Layer already exists 15:42:06 f06e0f85a72f: Layer already exists 15:42:06 eb1e133bb9e0: Layer already exists 15:42:06 2.3.0-dev.28: digest: sha256:243736a0481475841622ad2bc868d8c36a15562e097e56cfbebdfb6973255b22 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28 15:42:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:42:07 4a97049f8506: Preparing 15:42:07 f06e0f85a72f: Preparing 15:42:07 3f1d3dff85cd: Preparing 15:42:07 eb1e133bb9e0: Preparing 15:42:07 994393dc58e7: Preparing 15:42:07 994393dc58e7: Layer already exists 15:42:07 4a97049f8506: Layer already exists 15:42:07 eb1e133bb9e0: Layer already exists 15:42:07 f06e0f85a72f: Layer already exists 15:42:07 3f1d3dff85cd: Layer already exists 15:42:07 91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28: digest: sha256:243736a0481475841622ad2bc868d8c36a15562e097e56cfbebdfb6973255b22 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 15:42:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 15:42:07 4a97049f8506: Preparing 15:42:07 f06e0f85a72f: Preparing 15:42:07 3f1d3dff85cd: Preparing 15:42:07 eb1e133bb9e0: Preparing 15:42:07 994393dc58e7: Preparing 15:42:07 994393dc58e7: Layer already exists 15:42:07 eb1e133bb9e0: Layer already exists 15:42:07 4a97049f8506: Layer already exists 15:42:07 f06e0f85a72f: Layer already exists 15:42:07 3f1d3dff85cd: Layer already exists 15:42:07 main: digest: sha256:243736a0481475841622ad2bc868d8c36a15562e097e56cfbebdfb6973255b22 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:42:07 ===================================================== [Pipeline] echo 15:42:07 taggedImages: 15:42:07 - nexus3.edgexfoundry.org:10004/device-mqtt:91033eab2fea5be4c686bcf4b883ab5b66be6a5a 15:42:07 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 15:42:07 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.28 15:42:07 - nexus3.edgexfoundry.org:10004/device-mqtt:91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28 15:42:07 - 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 15:42:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:08 15:42:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:08 latest: Pulling from edgex-lftools-log-publisher 15:42:08 5eb5b503b376: Pulling fs layer 15:42:08 5c69ac0246d0: Pulling fs layer 15:42:08 ec43610c2a17: Pulling fs layer 15:42:08 3a2ae6a8a46f: Pulling fs layer 15:42:08 33b1e0a273af: Pulling fs layer 15:42:08 5d3b04190fa2: Pulling fs layer 15:42:08 2f39f015ded8: Pulling fs layer 15:42:08 3a2ae6a8a46f: Waiting 15:42:08 5d3b04190fa2: Waiting 15:42:08 33b1e0a273af: Waiting 15:42:08 2f39f015ded8: Waiting 15:42:08 5c69ac0246d0: Verifying Checksum 15:42:08 5c69ac0246d0: Download complete 15:42:08 3a2ae6a8a46f: Verifying Checksum 15:42:08 3a2ae6a8a46f: Download complete 15:42:08 33b1e0a273af: Verifying Checksum 15:42:08 33b1e0a273af: Download complete 15:42:08 5d3b04190fa2: Verifying Checksum 15:42:08 5d3b04190fa2: Download complete 15:42:08 ec43610c2a17: Verifying Checksum 15:42:08 ec43610c2a17: Download complete 15:42:08 5eb5b503b376: Download complete 15:42:09 2f39f015ded8: Download complete 15:42:10 5eb5b503b376: Pull complete 15:42:10 5c69ac0246d0: Pull complete 15:42:10 ec43610c2a17: Pull complete 15:42:10 3a2ae6a8a46f: Pull complete 15:42:10 33b1e0a273af: Pull complete 15:42:10 5d3b04190fa2: Pull complete 15:42:14 2f39f015ded8: Pull complete 15:42:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:42:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:14 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 15:42:14 $ 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 15:42:18 $ docker top e7a70bf8c75013695883bf67e140d3811e0ec5da9f5296a498616c40e3515ed7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:19 ---> job-cost.sh 15:42:19 lf-activate-venv: SKIPPING 15:42:19 INFO: No Stack... 15:42:19 INFO: Retrieving Pricing Info for: v3-standard-8 15:42:19 INFO: Archiving Costs [Pipeline] sh 15:42:20 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 15:42:20 + cut -d, -f6 [Pipeline] lock 15:42:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-75-stack-cost] 15:42:20 Resource [jenkins-edgexfoundry-device-mqtt-go-main-75-stack-cost] did not exist. Created. 15:42:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:42:20 + echo total: 0.2199999988079071 [Pipeline] stash 15:42:20 Stashed 1 file(s) [Pipeline] } 15:42:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 15:42:20 $ docker stop --time=1 e7a70bf8c75013695883bf67e140d3811e0ec5da9f5296a498616c40e3515ed7 15:42:21 $ docker rm -f e7a70bf8c75013695883bf67e140d3811e0ec5da9f5296a498616c40e3515ed7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:00:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10647 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 16:00:59 Running in /w/workspace/device-mqtt-go/75 [Pipeline] { [Pipeline] checkout 16:00:59 Selected Git installation does not exist. Using Default 16:00:59 The recommended git tool is: NONE 16:01:03 using credential edgex-jenkins-ssh 16:01:03 Cloning the remote Git repository 16:01:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:01:04 > git init /w/workspace/device-mqtt-go/75 # timeout=10 16:01:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:01:04 > git --version # timeout=10 16:01:04 > git --version # 'git version 2.25.1' 16:01:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:01:04 Verifying host key using known hosts file 16:01:04 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. 16:01:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:06 Avoid second fetch 16:01:06 Checking out Revision 91033eab2fea5be4c686bcf4b883ab5b66be6a5a (main) 16:01:05 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:01:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:06 > git config core.sparsecheckout # timeout=10 16:01:06 > git checkout -f 91033eab2fea5be4c686bcf4b883ab5b66be6a5a # timeout=10 16:01:06 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#426)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:01:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:01:07 % Total % Received % Xferd Average Speed Time Time Time Current 16:01:07 Dload Upload Total Spent Left Speed 16:01:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84013 0 --:--:-- --:--:-- --:--:-- 84013 [Pipeline] sh 16:01:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:01:08 + sudo tee /etc/docker/daemon.new 16:01:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:01:08 { 16:01:08 "registry-mirrors": [ 16:01:08 "https://nexus3.edgexfoundry.org:10001" 16:01:08 ], 16:01:08 "bip": "10.250.0.254/24", 16:01:08 "hosts": [ 16:01:08 "tcp://0.0.0.0:5555", 16:01:08 "unix:///var/run/docker.sock" 16:01:08 ], 16:01:08 "mtu": 1458, 16:01:08 "selinux-enabled": true, 16:01:08 "seccomp-profile": "/etc/docker/seccomp.json" 16:01:08 } [Pipeline] sh 16:01:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:01:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:27 provisioning config files... 16:01:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/75@tmp/config7382710961072857539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:28 ---> docker-login.sh 16:01:28 nexus3.edgexfoundry.org:10001 16:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:28 Configure a credential helper to remove this warning. See 16:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:28 16:01:28 Login Succeeded 16:01:28 nexus3.edgexfoundry.org:10002 16:01:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:29 Configure a credential helper to remove this warning. See 16:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:29 16:01:29 Login Succeeded 16:01:29 nexus3.edgexfoundry.org:10003 16:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:29 Configure a credential helper to remove this warning. See 16:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:29 16:01:29 Login Succeeded 16:01:29 nexus3.edgexfoundry.org:10004 16:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:29 Configure a credential helper to remove this warning. See 16:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:29 16:01:29 Login Succeeded 16:01:29 docker.io 16:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:30 Configure a credential helper to remove this warning. See 16:01:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:30 16:01:30 Login Succeeded 16:01:30 ---> docker-login.sh ends [Pipeline] } 16:01:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:01:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:30 ========================================================= 16:01:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:01:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:31 + 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 . 16:01:31 Sending build context to Docker daemon 3.208MB 16:01:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:01:31 Step 2/13 : FROM ${BASE} AS builder 16:01:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:01:31 9b18e9b68314: Pulling fs layer 16:01:31 d32db5db7311: Pulling fs layer 16:01:31 d0c4b47475fc: Pulling fs layer 16:01:31 5831b945b038: Pulling fs layer 16:01:31 86bbec2aaacd: Pulling fs layer 16:01:31 e10730c5d714: Pulling fs layer 16:01:31 5dd5c2283517: Pulling fs layer 16:01:31 d5ac0230b979: Pulling fs layer 16:01:31 86bbec2aaacd: Waiting 16:01:31 e10730c5d714: Waiting 16:01:31 5dd5c2283517: Waiting 16:01:31 d5ac0230b979: Waiting 16:01:31 5831b945b038: Waiting 16:01:31 d0c4b47475fc: Verifying Checksum 16:01:31 d0c4b47475fc: Download complete 16:01:31 d32db5db7311: Verifying Checksum 16:01:31 d32db5db7311: Download complete 16:01:31 86bbec2aaacd: Verifying Checksum 16:01:31 86bbec2aaacd: Download complete 16:01:31 e10730c5d714: Verifying Checksum 16:01:31 e10730c5d714: Download complete 16:01:31 9b18e9b68314: Verifying Checksum 16:01:32 9b18e9b68314: Pull complete 16:01:32 d5ac0230b979: Verifying Checksum 16:01:32 d5ac0230b979: Download complete 16:01:32 d32db5db7311: Pull complete 16:01:33 d0c4b47475fc: Pull complete 16:01:33 5dd5c2283517: Verifying Checksum 16:01:33 5dd5c2283517: Download complete 16:01:34 5831b945b038: Verifying Checksum 16:01:34 5831b945b038: Download complete 16:01:46 5831b945b038: Pull complete 16:01:46 86bbec2aaacd: Pull complete 16:01:46 e10730c5d714: Pull complete 16:01:52 5dd5c2283517: Pull complete 16:01:54 d5ac0230b979: Pull complete 16:01:54 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 16:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:01:54 ---> 59b3b1a385d4 16:01:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:01:56 ---> Running in 2954d290951f 16:01:56 Removing intermediate container 2954d290951f 16:01:56 ---> cbb59a7a0725 16:01:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:01:56 ---> Running in a941c04c2124 16:01:56 Removing intermediate container a941c04c2124 16:01:56 ---> 540c77b60483 16:01:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:01:56 ---> Running in 7333b0af7b31 16:01:56 Removing intermediate container 7333b0af7b31 16:01:56 ---> 6c4aa7fecd4b 16:01:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:01:56 ---> Running in 2a89a20dd12e 16:01:57 Removing intermediate container 2a89a20dd12e 16:01:57 ---> 674f131ed867 16:01:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:01:57 ---> Running in 217a87f5cb1b 16:01:58 Removing intermediate container 217a87f5cb1b 16:01:58 ---> b70245148610 16:01:58 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:01:58 ---> Running in cdbee33ef2ce 16:01:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:02:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:02:01 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:02:01 (2/4) Installing libedit (20210910.3.1-r0) 16:02:01 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:02:01 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:02:01 Executing busybox-1.35.0-r17.trigger 16:02:01 OK: 226 MiB in 55 packages 16:02:02 Removing intermediate container cdbee33ef2ce 16:02:02 ---> f07453c000cf 16:02:02 Step 9/13 : WORKDIR /device-mqtt-go 16:02:02 ---> Running in 26acd9ead623 16:02:02 Removing intermediate container 26acd9ead623 16:02:02 ---> 4133caac0a5a 16:02:02 Step 10/13 : COPY go.mod vendor* ./ 16:02:03 ---> 0fd764ae52f2 16:02:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:03 ---> Running in 52cc59ab02f8 16:02:59 Removing intermediate container 52cc59ab02f8 16:02:59 ---> 7d8faea3c3e8 16:02:59 Step 12/13 : COPY . . 16:02:59 ---> 2ae11dd842d0 16:02:59 Step 13/13 : RUN $MAKE 16:02:59 ---> Running in 34dd781d60b3 16:02:59 noop 16:02:59 Removing intermediate container 34dd781d60b3 16:02:59 ---> 1163142819c8 16:02:59 Successfully built 1163142819c8 16:02:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:00 + docker inspect -f . ci-base-image-arm64 16:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:00 prd-ubuntu20.04-docker-arm64-4c-16g-10647 does not seem to be running inside a container 16:03:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/75 -v /w/workspace/device-mqtt-go/75:/w/workspace/device-mqtt-go/75:rw,z -v /w/workspace/device-mqtt-go/75@tmp:/w/workspace/device-mqtt-go/75@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 16:03:01 $ docker top aa86ac327ef8a3635cbf8b562f2587a21c39c6b8bd86bd06ed7e82b1077ee4c9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:02 + go version 16:03:02 go version go1.18.7 linux/arm64 [Pipeline] } 16:03:02 $ docker stop --time=1 aa86ac327ef8a3635cbf8b562f2587a21c39c6b8bd86bd06ed7e82b1077ee4c9 16:03:04 $ docker rm -f aa86ac327ef8a3635cbf8b562f2587a21c39c6b8bd86bd06ed7e82b1077ee4c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:04 + docker inspect -f . ci-base-image-arm64 16:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:04 prd-ubuntu20.04-docker-arm64-4c-16g-10647 does not seem to be running inside a container 16:03:04 $ 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/75 -v /w/workspace/device-mqtt-go/75:/w/workspace/device-mqtt-go/75:rw,z -v /w/workspace/device-mqtt-go/75@tmp:/w/workspace/device-mqtt-go/75@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 16:03:06 $ docker top 1cabde61f157e0fa731ad93e3e024ad016ed0a938bacfcaea86be175e2d507be -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:06 + git config --global --add safe.directory /w/workspace/device-mqtt-go/75 [Pipeline] fileExists [Pipeline] sh 16:03:07 + make test 16:03:07 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:03:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:04:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:04:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 16:04:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:04:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:04:30 GCO_ENABLED=1 GO111MODULE=on go vet ./... 16:04:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:04:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:04:53 ./bin/test-attribution-txt.sh [Pipeline] echo 16:04:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:04:53 $ docker stop --time=1 1cabde61f157e0fa731ad93e3e024ad016ed0a938bacfcaea86be175e2d507be 16:04:54 $ docker rm -f 1cabde61f157e0fa731ad93e3e024ad016ed0a938bacfcaea86be175e2d507be [Pipeline] // withDockerContainer [Pipeline] sh 16:04:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:04:55 Warning: overwriting stash ‘coverage-report’ 16:04:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:56 + ls -al . 16:04:56 total 188 16:04:56 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:03 . 16:04:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:01 .. 16:04:56 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 16:01 .dockerignore 16:04:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:01 .git 16:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:01 .github 16:04:56 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 16:01 .gitignore 16:04:56 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:01 .golangci.yml 16:04:56 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 16:01 Attribution.txt 16:04:56 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 16:01 CHANGELOG.md 16:04:56 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 16:01 Dockerfile 16:04:56 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:01 GOVERNANCE.md 16:04:56 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 16:01 Jenkinsfile 16:04:56 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:01 LICENSE 16:04:56 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 16:01 Makefile 16:04:56 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:01 OWNERS.md 16:04:56 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 16:01 README.md 16:04:56 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:40 VERSION 16:04:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:01 bin 16:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:01 cmd 16:04:56 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 16:04 coverage.out 16:04:56 -rw-rw-r-- 1 jenkins jenkins 3511 Oct 24 16:01 go.mod 16:04:56 -rw-rw-r-- 1 jenkins jenkins 45142 Oct 24 16:01 go.sum 16:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:01 internal 16:04:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:01 mock 16:04:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:01 snap 16:04:56 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 16:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:57 + 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=91033eab2fea5be4c686bcf4b883ab5b66be6a5a --label arch=arm64 --label version=2.3.0-dev.28 . 16:04:57 Sending build context to Docker daemon 3.227MB 16:04:57 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:04:57 Step 2/25 : FROM ${BASE} AS builder 16:04:57 ---> 1163142819c8 16:04:57 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:04:57 ---> Running in ae306155dbf9 16:04:58 Removing intermediate container ae306155dbf9 16:04:58 ---> b6e412b2c996 16:04:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:04:58 ---> Running in 1b92b05b9df1 16:04:58 Removing intermediate container 1b92b05b9df1 16:04:58 ---> 103f9201b7ef 16:04:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:04:58 ---> Running in d113ed98d15d 16:04:58 Removing intermediate container d113ed98d15d 16:04:58 ---> f1c826738f60 16:04:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:04:58 ---> Running in 2f77aced78d2 16:04:58 Removing intermediate container 2f77aced78d2 16:04:58 ---> df93c65734a3 16:04:58 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:04:58 ---> Running in 2231f8301e24 16:05:00 Removing intermediate container 2231f8301e24 16:05:00 ---> 0c5a65e19a6c 16:05:00 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:05:00 ---> Running in 01bbc07df213 16:05:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:05:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:05:03 OK: 226 MiB in 55 packages 16:05:04 Removing intermediate container 01bbc07df213 16:05:04 ---> 7b3e7e782e90 16:05:04 Step 9/25 : WORKDIR /device-mqtt-go 16:05:04 ---> Running in 457bcec18366 16:05:04 Removing intermediate container 457bcec18366 16:05:04 ---> 5b655556fae6 16:05:04 Step 10/25 : COPY go.mod vendor* ./ 16:05:04 ---> d6190601d03e 16:05:04 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:05:05 ---> Running in 5c3f39554c74 16:05:07 Removing intermediate container 5c3f39554c74 16:05:07 ---> 091dd8710797 16:05:07 Step 12/25 : COPY . . 16:05:07 ---> 5949520063f9 16:05:07 Step 13/25 : RUN $MAKE 16:05:07 ---> Running in b908d6ab3fcd 16:05:08 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.28" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 16:07:45 Removing intermediate container b908d6ab3fcd 16:07:45 ---> 772075bad8c0 16:07:45 Step 14/25 : FROM alpine:3.16 16:07:45 3.16: Pulling from library/alpine 16:07:45 9b18e9b68314: Already exists 16:07:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:07:45 Status: Downloaded newer image for alpine:3.16 16:07:45 ---> a6215f271958 16:07:45 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:07:45 ---> Running in fc0e6b0a46b8 16:07:45 Removing intermediate container fc0e6b0a46b8 16:07:45 ---> 3b64f49917fd 16:07:45 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:07:45 ---> Running in 9bae9190442a 16:07:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:07:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:07:45 (1/6) Installing dumb-init (1.2.5-r1) 16:07:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:07:45 (3/6) Installing libsodium (1.0.18-r0) 16:07:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:07:45 (5/6) Installing libzmq (4.3.4-r0) 16:07:45 (6/6) Installing zeromq (4.3.4-r0) 16:07:45 Executing busybox-1.35.0-r17.trigger 16:07:45 OK: 8 MiB in 20 packages 16:07:45 Removing intermediate container 9bae9190442a 16:07:45 ---> 0ae3eab86e5e 16:07:45 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 16:07:45 ---> 2c9933e9a2f6 16:07:45 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 16:07:45 ---> b1428afb2bef 16:07:45 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:07:45 ---> af5bcb114ea9 16:07:45 Step 20/25 : EXPOSE 59982 16:07:45 ---> Running in 7b33e18bd518 16:07:45 Removing intermediate container 7b33e18bd518 16:07:45 ---> bd76d7ee9254 16:07:45 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 16:07:45 ---> Running in 0e7c7f302e02 16:07:45 Removing intermediate container 0e7c7f302e02 16:07:45 ---> 8c966c183069 16:07:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:07:45 ---> Running in 8ddc85b38646 16:07:45 Removing intermediate container 8ddc85b38646 16:07:45 ---> 6739ab547eb1 16:07:45 Step 23/25 : LABEL arch=arm64 16:07:45 ---> Running in 8e2ab5d06b37 16:07:45 Removing intermediate container 8e2ab5d06b37 16:07:45 ---> 4760c410b14b 16:07:45 Step 24/25 : LABEL git_sha=91033eab2fea5be4c686bcf4b883ab5b66be6a5a 16:07:45 ---> Running in 18e1973aa1ca 16:07:45 Removing intermediate container 18e1973aa1ca 16:07:45 ---> 1ecf8ad00dad 16:07:45 Step 25/25 : LABEL version=2.3.0-dev.28 16:07:45 ---> Running in 3d52f7fc14ef 16:07:45 Removing intermediate container 3d52f7fc14ef 16:07:45 ---> 473bbaf81ab4 16:07:45 [Warning] One or more build-args [ARCH] were not consumed 16:07:45 Successfully built 473bbaf81ab4 16:07:45 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 16:07:45 provisioning config files... 16:07:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/75@tmp/config5957635948255414107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:46 ---> docker-login.sh 16:07:46 nexus3.edgexfoundry.org:10001 16:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:46 Configure a credential helper to remove this warning. See 16:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:46 16:07:46 Login Succeeded 16:07:46 nexus3.edgexfoundry.org:10002 16:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:46 Configure a credential helper to remove this warning. See 16:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:46 16:07:46 Login Succeeded 16:07:46 nexus3.edgexfoundry.org:10003 16:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:47 Configure a credential helper to remove this warning. See 16:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:47 16:07:47 Login Succeeded 16:07:47 nexus3.edgexfoundry.org:10004 16:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:47 Configure a credential helper to remove this warning. See 16:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:47 16:07:47 Login Succeeded 16:07:47 docker.io 16:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:47 Configure a credential helper to remove this warning. See 16:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:47 16:07:47 Login Succeeded 16:07:47 ---> docker-login.sh ends [Pipeline] } 16:07:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:07:48 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 16:07:48 91033eab2fea5be4c686bcf4b883ab5b66be6a5a 16:07:48 latest 16:07:48 2.3.0-dev.28 16:07:48 91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28 16:07:48 main 16:07:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:91033eab2fea5be4c686bcf4b883ab5b66be6a5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:91033eab2fea5be4c686bcf4b883ab5b66be6a5a 16:07:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:48 de2acd32ea4a: Preparing 16:07:48 b1a5e3089203: Preparing 16:07:48 22374c6a357b: Preparing 16:07:48 cd77838fbf1a: Preparing 16:07:48 5d3e392a13a0: Preparing 16:07:48 5d3e392a13a0: Layer already exists 16:07:49 b1a5e3089203: Pushed 16:07:49 de2acd32ea4a: Pushed 16:07:49 cd77838fbf1a: Pushed 16:07:53 22374c6a357b: Pushed 16:07:54 91033eab2fea5be4c686bcf4b883ab5b66be6a5a: digest: sha256:794a310a74830512934ae98b534c2c5a79c449250988db70de303fbc5a8308da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:55 de2acd32ea4a: Preparing 16:07:55 b1a5e3089203: Preparing 16:07:55 22374c6a357b: Preparing 16:07:55 cd77838fbf1a: Preparing 16:07:55 5d3e392a13a0: Preparing 16:07:55 de2acd32ea4a: Layer already exists 16:07:55 b1a5e3089203: Layer already exists 16:07:55 5d3e392a13a0: Layer already exists 16:07:55 22374c6a357b: Layer already exists 16:07:55 cd77838fbf1a: Layer already exists 16:07:55 latest: digest: sha256:794a310a74830512934ae98b534c2c5a79c449250988db70de303fbc5a8308da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.28 16:07:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:56 de2acd32ea4a: Preparing 16:07:56 b1a5e3089203: Preparing 16:07:56 22374c6a357b: Preparing 16:07:56 cd77838fbf1a: Preparing 16:07:56 5d3e392a13a0: Preparing 16:07:56 de2acd32ea4a: Layer already exists 16:07:56 22374c6a357b: Layer already exists 16:07:56 b1a5e3089203: Layer already exists 16:07:56 cd77838fbf1a: Layer already exists 16:07:56 5d3e392a13a0: Layer already exists 16:07:56 2.3.0-dev.28: digest: sha256:794a310a74830512934ae98b534c2c5a79c449250988db70de303fbc5a8308da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28 16:07:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:56 de2acd32ea4a: Preparing 16:07:56 b1a5e3089203: Preparing 16:07:56 22374c6a357b: Preparing 16:07:56 cd77838fbf1a: Preparing 16:07:56 5d3e392a13a0: Preparing 16:07:56 22374c6a357b: Layer already exists 16:07:56 5d3e392a13a0: Layer already exists 16:07:56 b1a5e3089203: Layer already exists 16:07:56 de2acd32ea4a: Layer already exists 16:07:56 cd77838fbf1a: Layer already exists 16:07:56 91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28: digest: sha256:794a310a74830512934ae98b534c2c5a79c449250988db70de303fbc5a8308da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 16:07:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 16:07:57 de2acd32ea4a: Preparing 16:07:57 b1a5e3089203: Preparing 16:07:57 22374c6a357b: Preparing 16:07:57 cd77838fbf1a: Preparing 16:07:57 5d3e392a13a0: Preparing 16:07:57 b1a5e3089203: Layer already exists 16:07:57 5d3e392a13a0: Layer already exists 16:07:57 de2acd32ea4a: Layer already exists 16:07:57 cd77838fbf1a: Layer already exists 16:07:57 22374c6a357b: Layer already exists 16:07:57 main: digest: sha256:794a310a74830512934ae98b534c2c5a79c449250988db70de303fbc5a8308da size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:57 ===================================================== [Pipeline] echo 16:07:57 taggedImages: 16:07:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:91033eab2fea5be4c686bcf4b883ab5b66be6a5a 16:07:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 16:07:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.28 16:07:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:91033eab2fea5be4c686bcf4b883ab5b66be6a5a-2.3.0-dev.28 16:07:57 - 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 16:07:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:57 16:07:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:58 arm64: Pulling from edgex-lftools-log-publisher 16:07:58 8998bd30e6a1: Pulling fs layer 16:07:58 04944245beec: Pulling fs layer 16:07:58 699f458cf7ca: Pulling fs layer 16:07:58 765212b225bb: Pulling fs layer 16:07:58 f23df028b6ca: Pulling fs layer 16:07:58 d65c8cfc05b1: Pulling fs layer 16:07:58 2437ff75d9bd: Pulling fs layer 16:07:58 f23df028b6ca: Waiting 16:07:58 d65c8cfc05b1: Waiting 16:07:58 765212b225bb: Waiting 16:07:58 2437ff75d9bd: Waiting 16:07:58 04944245beec: Verifying Checksum 16:07:58 04944245beec: Download complete 16:07:58 765212b225bb: Verifying Checksum 16:07:58 765212b225bb: Download complete 16:07:58 f23df028b6ca: Verifying Checksum 16:07:58 f23df028b6ca: Download complete 16:07:58 d65c8cfc05b1: Verifying Checksum 16:07:58 d65c8cfc05b1: Download complete 16:07:58 699f458cf7ca: Verifying Checksum 16:07:58 699f458cf7ca: Download complete 16:07:58 8998bd30e6a1: Verifying Checksum 16:07:58 8998bd30e6a1: Download complete 16:08:00 2437ff75d9bd: Verifying Checksum 16:08:00 2437ff75d9bd: Download complete 16:08:02 8998bd30e6a1: Pull complete 16:08:03 04944245beec: Pull complete 16:08:04 699f458cf7ca: Pull complete 16:08:04 765212b225bb: Pull complete 16:08:05 f23df028b6ca: Pull complete 16:08:05 d65c8cfc05b1: Pull complete 16:08:20 2437ff75d9bd: Pull complete 16:08:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:08:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:20 prd-ubuntu20.04-docker-arm64-4c-16g-10647 does not seem to be running inside a container 16:08:20 $ 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/75 -v /w/workspace/device-mqtt-go/75:/w/workspace/device-mqtt-go/75:rw,z -v /w/workspace/device-mqtt-go/75@tmp:/w/workspace/device-mqtt-go/75@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 16:08:23 $ docker top 2f4337d50819bdc6f569d3185f070cb52042bdfaaf5f8196e5e67de1cf45e89b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:24 ---> job-cost.sh 16:08:24 lf-activate-venv: SKIPPING 16:08:24 INFO: No Stack... 16:08:24 INFO: Retrieving Pricing Info for: v3-standard-4 16:08:25 INFO: Archiving Costs [Pipeline] sh 16:08:25 + cat /w/workspace/device-mqtt-go/75/archives/cost.csv 16:08:25 + cut -d, -f6 [Pipeline] lock 16:08:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-75-stack-cost] 16:08:25 Resource [jenkins-edgexfoundry-device-mqtt-go-main-75-stack-cost] did not exist. Created. 16:08:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:25 /w/workspace/device-mqtt-go/75@tmp/durable-71faef9b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:08:26 + echo total: 0.10999999940395355 [Pipeline] stash 16:08:26 Warning: overwriting stash ‘stack-cost’ 16:08:26 Stashed 1 file(s) [Pipeline] } 16:08:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 16:08:26 $ docker stop --time=1 2f4337d50819bdc6f569d3185f070cb52042bdfaaf5f8196e5e67de1cf45e89b 16:08:27 $ docker rm -f 2f4337d50819bdc6f569d3185f070cb52042bdfaaf5f8196e5e67de1cf45e89b [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 16:08:28 provisioning config files... 16:08:28 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1252184806356124479tmp [Pipeline] { [Pipeline] sh 16:08:28 + set +x 16:08:28 + + bash -scurl -- -s 16:08:28 https://codecov.io/bash 16:08:28 16:08:28 _____ _ 16:08:28 / ____| | | 16:08:28 | | ___ __| | ___ ___ _____ __ 16:08:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:08:28 | |___| (_) | (_| | __/ (_| (_) \ V / 16:08:28 \_____\___/ \__,_|\___|\___\___/ \_/ 16:08:28 Bash-1.0.6 16:08:28 16:08:28 16:08:28 ==> git version 2.25.1 found 16:08:28 ==> 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 16:08:28 Release-Date: 2020-01-08 16:08:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:08:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:08:28 ==> Jenkins CI detected. 16:08:28 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 16:08:28 project root: . 16:08:28 --> token set from env 16:08:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:08:28 ==> Running gcov in . (disable via -X gcov) 16:08:28 ==> Python coveragepy not found 16:08:28 ==> Searching for coverage reports in: 16:08:28 + . 16:08:28 -> Found 1 reports 16:08:28 ==> Detecting git/mercurial file structure 16:08:28 ==> Reading reports 16:08:28 + ./coverage.out bytes=17887 16:08:28 ==> Appending adjustments 16:08:28 https://docs.codecov.io/docs/fixing-reports 16:08:28 + Found adjustments 16:08:28 ==> Gzipping contents 16:08:28 4.0K /tmp/codecov.YGSJld.gz 16:08:28 ==> Uploading reports 16:08:28 url: https://codecov.io 16:08:28 query: branch=main&commit=91033eab2fea5be4c686bcf4b883ab5b66be6a5a&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:28 -> Pinging Codecov 16:08:28 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=91033eab2fea5be4c686bcf4b883ab5b66be6a5a&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:28 -> Uploading to 16:08:28 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7D719EC7BBE17E464838252E33014C33/91033eab2fea5be4c686bcf4b883ab5b66be6a5a/2cfcf5a9-a57b-450a-a5b2-f74ee65c76ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T160828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc37865058ae5a7f9469f581a39a0aa026497d96b526cd3e2bc8153a1d1b17b9 16:08:28 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:28 Dload Upload Total Spent Left Speed 16:08:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 13172 --:--:-- --:--:-- --:--:-- 13172 16:08:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/91033eab2fea5be4c686bcf4b883ab5b66be6a5a [Pipeline] } 16:08:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:08:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:08:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:29 16:08:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:08:30 df9b9388f04a: Pulling fs layer 16:08:30 52dc419b0ee2: Pulling fs layer 16:08:30 25bc292e5bac: Pulling fs layer 16:08:30 114826534d7a: Pulling fs layer 16:08:30 114826534d7a: Waiting 16:08:30 4657fd5d0bcf: Pulling fs layer 16:08:30 6ad1cebc031e: Pulling fs layer 16:08:30 8a3aa393b2d8: Pulling fs layer 16:08:30 4657fd5d0bcf: Waiting 16:08:30 8a3aa393b2d8: Waiting 16:08:30 25bc292e5bac: Verifying Checksum 16:08:30 25bc292e5bac: Download complete 16:08:30 52dc419b0ee2: Download complete 16:08:30 4657fd5d0bcf: Verifying Checksum 16:08:30 4657fd5d0bcf: Download complete 16:08:30 df9b9388f04a: Verifying Checksum 16:08:30 df9b9388f04a: Download complete 16:08:30 6ad1cebc031e: Verifying Checksum 16:08:30 6ad1cebc031e: Download complete 16:08:30 df9b9388f04a: Pull complete 16:08:30 52dc419b0ee2: Pull complete 16:08:30 25bc292e5bac: Pull complete 16:08:31 8a3aa393b2d8: Verifying Checksum 16:08:31 8a3aa393b2d8: Download complete 16:08:31 114826534d7a: Verifying Checksum 16:08:31 114826534d7a: Download complete 16:08:35 114826534d7a: Pull complete 16:08:35 4657fd5d0bcf: Pull complete 16:08:35 6ad1cebc031e: Pull complete 16:08:37 8a3aa393b2d8: Pull complete 16:08:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:38 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 16:08:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:08:40 $ docker top 7772c29164e4ebbf7ddbce7097e6758508f66e6a9cf971a45d1de530f9002441 -eo pid,comm [Pipeline] { [Pipeline] echo 16:08:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 16:08:41 + set -o pipefail 16:08:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 16:08:46 16:08:46 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 16:08:46 16:08:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/93fe8d99-2e8c-4939-91df-b2dc0a24cf6d 16:08:46 16:08:46 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:08:46 16:08:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:08:46 16:08:46 16:08:46 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:08:46 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:08:46 More details here: https://snyk.co/ue1NS [Pipeline] } 16:08:46 $ docker stop --time=1 7772c29164e4ebbf7ddbce7097e6758508f66e6a9cf971a45d1de530f9002441 16:08:50 $ docker rm -f 7772c29164e4ebbf7ddbce7097e6758508f66e6a9cf971a45d1de530f9002441 [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 16:08:50 + git log --format=format:%s -1 91033eab2fea5be4c686bcf4b883ab5b66be6a5a [Pipeline] sh 16:08:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:51 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 16:08:51 $ 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 16:08:51 $ docker top 434f2fb2f7a1a1c17971b1f1d95a8dd2e0cc7faf1ead45a396600ca6627e2cb9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:51 [ssh-agent] Looking for ssh-agent implementation... 16:08:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:52 $ docker exec 434f2fb2f7a1a1c17971b1f1d95a8dd2e0cc7faf1ead45a396600ca6627e2cb9 ssh-agent 16:08:52 SSH_AUTH_SOCK=/tmp/ssh-r0roz9uFbQav/agent.32 16:08:52 SSH_AGENT_PID=38 16:08:52 Running ssh-add (command line suppressed) 16:08:52 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_831324998002966362.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_831324998002966362.key) 16:08:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:52 + git semver tag 16:08:52 2022-10-24 16:08:52,740 [run_tag] DEBUG tag force:False 16:08:52 2022-10-24 16:08:52,740 [check_head_tag] DEBUG check head tag 16:08:52 2022-10-24 16:08:52,741 [execute] INFO git cat-file --batch-check 16:08:52 2022-10-24 16:08:52,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 16:08:52 2022-10-24 16:08:52,744 [execute] INFO git cat-file --batch 16:08:52 2022-10-24 16:08:52,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 16:08:52 2022-10-24 16:08:52,759 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:52 2022-10-24 16:08:52,760 [execute] INFO git tag -a v2.3.0-dev.28 -m v2.3.0-dev.28 16:08:52 2022-10-24 16:08:52,760 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.28', '-m', 'v2.3.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 16:08:52 2022-10-24 16:08:52,763 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:08:52 2.3.0-dev.28 [Pipeline] } 16:08:52 $ docker exec --env ******** --env ******** 434f2fb2f7a1a1c17971b1f1d95a8dd2e0cc7faf1ead45a396600ca6627e2cb9 ssh-agent -k 16:08:52 unset SSH_AUTH_SOCK; 16:08:52 unset SSH_AGENT_PID; 16:08:52 echo Agent pid 38 killed; 16:08:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:53 + git semver [Pipeline] } 16:08:53 $ docker stop --time=1 434f2fb2f7a1a1c17971b1f1d95a8dd2e0cc7faf1ead45a396600ca6627e2cb9 16:08:54 $ docker rm -f 434f2fb2f7a1a1c17971b1f1d95a8dd2e0cc7faf1ead45a396600ca6627e2cb9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:55 16:08:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:55 0.23.1-centos7: Pulling from edgex-lftools 16:08:55 ab5ef0e58194: Pulling fs layer 16:08:55 9712f1f96733: Pulling fs layer 16:08:55 63f879dbbcfc: Pulling fs layer 16:08:55 0d9ebad4ef96: Pulling fs layer 16:08:55 e9a5061849ea: Pulling fs layer 16:08:55 d747dcd14b5f: Pulling fs layer 16:08:55 2de7ff778b66: Pulling fs layer 16:08:55 0d9ebad4ef96: Waiting 16:08:55 d747dcd14b5f: Waiting 16:08:55 e9a5061849ea: Waiting 16:08:55 9712f1f96733: Verifying Checksum 16:08:55 9712f1f96733: Download complete 16:08:56 63f879dbbcfc: Verifying Checksum 16:08:56 63f879dbbcfc: Download complete 16:08:56 e9a5061849ea: Verifying Checksum 16:08:56 e9a5061849ea: Download complete 16:08:56 d747dcd14b5f: Verifying Checksum 16:08:56 d747dcd14b5f: Download complete 16:08:56 0d9ebad4ef96: Verifying Checksum 16:08:56 0d9ebad4ef96: Download complete 16:08:56 ab5ef0e58194: Verifying Checksum 16:08:56 ab5ef0e58194: Download complete 16:08:56 2de7ff778b66: Verifying Checksum 16:08:56 2de7ff778b66: Download complete 16:08:58 ab5ef0e58194: Pull complete 16:08:58 9712f1f96733: Pull complete 16:08:59 63f879dbbcfc: Pull complete 16:09:03 0d9ebad4ef96: Pull complete 16:09:03 e9a5061849ea: Pull complete 16:09:03 d747dcd14b5f: Pull complete 16:09:04 2de7ff778b66: Pull complete 16:09:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:09:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:04 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 16:09:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:09:08 $ docker top 98881769a4e17bda909b3a82a08562b32991e21ee79f9dba2db2571fc2bbb944 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:09:08 provisioning config files... 16:09:08 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3770592517196822045tmp 16:09:08 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config354056743961559853tmp 16:09:08 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8642650207102448702tmp [Pipeline] { [Pipeline] echo 16:09:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:09:08 ---> sigul-configuration.sh 16:09:08 gpg: directory `/root/.gnupg' created 16:09:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:09:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:09:08 gpg: keyring `/root/.gnupg/secring.gpg' created 16:09:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:09:08 gpg: CAST5 encrypted data 16:09:08 gpg: encrypted with 1 passphrase 16:09:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:09:08 + mkdir /home/jenkins 16:09:08 + mkdir /home/jenkins/sigul [Pipeline] sh 16:09:09 + 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 16:09:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:09:09 ---> sigul-install.sh 16:09:09 Sigul already installed; skipping installation. [Pipeline] sh 16:09:09 + git tag --list 16:09:09 0.7.1 16:09:09 v1.0.0 16:09:09 v1.1.0 16:09:09 v1.1.1 16:09:09 v1.2.2 16:09:09 v1.3.0 16:09:09 v1.3.1 16:09:09 v2.0.0 16:09:09 v2.1.0 16:09:09 v2.1.1 16:09:09 v2.1.1-dev.1 16:09:09 v2.1.1-dev.2 16:09:09 v2.2.0 16:09:09 v2.2.1-dev.1 16:09:09 v2.2.1-dev.10 16:09:09 v2.2.1-dev.2 16:09:09 v2.2.1-dev.3 16:09:09 v2.2.1-dev.4 16:09:09 v2.2.1-dev.5 16:09:09 v2.2.1-dev.6 16:09:09 v2.2.1-dev.7 16:09:09 v2.2.1-dev.8 16:09:09 v2.2.1-dev.9 16:09:09 v2.3.0-dev.10 16:09:09 v2.3.0-dev.11 16:09:09 v2.3.0-dev.12 16:09:09 v2.3.0-dev.13 16:09:09 v2.3.0-dev.14 16:09:09 v2.3.0-dev.15 16:09:09 v2.3.0-dev.16 16:09:09 v2.3.0-dev.17 16:09:09 v2.3.0-dev.18 16:09:09 v2.3.0-dev.19 16:09:09 v2.3.0-dev.20 16:09:09 v2.3.0-dev.21 16:09:09 v2.3.0-dev.22 16:09:09 v2.3.0-dev.23 16:09:09 v2.3.0-dev.24 16:09:09 v2.3.0-dev.25 16:09:09 v2.3.0-dev.26 16:09:09 v2.3.0-dev.27 16:09:09 v2.3.0-dev.28 [Pipeline] sh 16:09:09 + lftools sign git-tag v2.3.0-dev.28 16:09:10 Signing Git tag with Sigul... 16:09:10 Signing v2.3.0-dev.28 [Pipeline] echo 16:09:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:09:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:09:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:09:11 $ docker stop --time=1 98881769a4e17bda909b3a82a08562b32991e21ee79f9dba2db2571fc2bbb944 16:09:12 $ docker rm -f 98881769a4e17bda909b3a82a08562b32991e21ee79f9dba2db2571fc2bbb944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:09:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:13 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 16:09:13 $ 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 16:09:13 $ docker top 4fcbbad7f2bb724bf847a79a877d6009ce227ea06ce051807becc0f7cad385ca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:13 [ssh-agent] Looking for ssh-agent implementation... 16:09:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:14 $ docker exec 4fcbbad7f2bb724bf847a79a877d6009ce227ea06ce051807becc0f7cad385ca ssh-agent 16:09:14 SSH_AUTH_SOCK=/tmp/ssh-pj7uijOMCXsJ/agent.32 16:09:14 SSH_AGENT_PID=38 16:09:14 Running ssh-add (command line suppressed) 16:09:14 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9522347680408384392.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9522347680408384392.key) 16:09:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:14 + git semver bump pre 16:09:14 2022-10-24 16:09:14,715 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:09:14 2022-10-24 16:09:14,715 [bump_version] DEBUG bumping version:2.3.0-dev.28 on axis:pre with prefix:dev 16:09:14 2022-10-24 16:09:14,715 [bump_version] DEBUG bumped version:2.3.0-dev.29 16:09:14 2022-10-24 16:09:14,715 [write_version] DEBUG write version:2.3.0-dev.29 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 16:09:14 2022-10-24 16:09:14,715 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:09:14 2022-10-24 16:09:14,715 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:09:14 2022-10-24 16:09:14,717 [execute] INFO git cat-file --batch-check 16:09:14 2022-10-24 16:09:14,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:09:14 2022-10-24 16:09:14,722 [execute] INFO git cat-file --batch 16:09:14 2022-10-24 16:09:14,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:09:14 2022-10-24 16:09:14,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:09:14 2.3.0-dev.29 [Pipeline] } 16:09:14 $ docker exec --env ******** --env ******** 4fcbbad7f2bb724bf847a79a877d6009ce227ea06ce051807becc0f7cad385ca ssh-agent -k 16:09:14 unset SSH_AUTH_SOCK; 16:09:14 unset SSH_AGENT_PID; 16:09:14 echo Agent pid 38 killed; 16:09:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:15 + git semver [Pipeline] } 16:09:15 $ docker stop --time=1 4fcbbad7f2bb724bf847a79a877d6009ce227ea06ce051807becc0f7cad385ca 16:09:16 $ docker rm -f 4fcbbad7f2bb724bf847a79a877d6009ce227ea06ce051807becc0f7cad385ca [Pipeline] // withDockerContainer [Pipeline] sh 16:09:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:17 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 16:09:17 $ 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 16:09:17 $ docker top bd9538e9a5566f6a08ceda524e45ce57f5ac8220e3f632765a27003303defeb2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:17 [ssh-agent] Looking for ssh-agent implementation... 16:09:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:17 $ docker exec bd9538e9a5566f6a08ceda524e45ce57f5ac8220e3f632765a27003303defeb2 ssh-agent 16:09:18 SSH_AUTH_SOCK=/tmp/ssh-IGlW20paakgm/agent.32 16:09:18 SSH_AGENT_PID=38 16:09:18 Running ssh-add (command line suppressed) 16:09:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4074405935226002792.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4074405935226002792.key) 16:09:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:18 + git semver push 16:09:18 2022-10-24 16:09:18,685 [run_push] DEBUG push 16:09:18 2022-10-24 16:09:18,686 [execute] INFO git cat-file --batch-check 16:09:18 2022-10-24 16:09:18,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:09:18 2022-10-24 16:09:18,690 [execute] INFO git rev-list 32df409432c3be6f98a4215616cc59ca15f183af -- 16:09:18 2022-10-24 16:09:18,691 [execute] DEBUG Popen(['git', 'rev-list', '32df409432c3be6f98a4215616cc59ca15f183af', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:09:18 2022-10-24 16:09:18,697 [execute] INFO git fetch -v origin 16:09:18 2022-10-24 16:09:18,697 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:09:19 2022-10-24 16:09:19,284 [run_push] DEBUG no remote changes detected 16:09:19 2022-10-24 16:09:19,284 [execute] INFO git push origin semver 16:09:19 2022-10-24 16:09:19,284 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:09:20 2022-10-24 16:09:20,126 [run_push] DEBUG push all version tags 16:09:20 2022-10-24 16:09:20,127 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:09:20 2022-10-24 16:09:20,127 [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) 16:09:21 2022-10-24 16:09:20,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 16:09:21 2.3.0-dev.29 [Pipeline] } 16:09:21 $ docker exec --env ******** --env ******** bd9538e9a5566f6a08ceda524e45ce57f5ac8220e3f632765a27003303defeb2 ssh-agent -k 16:09:21 unset SSH_AUTH_SOCK; 16:09:21 unset SSH_AGENT_PID; 16:09:21 echo Agent pid 38 killed; 16:09:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:21 + git semver [Pipeline] } 16:09:21 $ docker stop --time=1 bd9538e9a5566f6a08ceda524e45ce57f5ac8220e3f632765a27003303defeb2 16:09:22 $ docker rm -f bd9538e9a5566f6a08ceda524e45ce57f5ac8220e3f632765a27003303defeb2 [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 16:09:23 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 16:09:23 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:09:23 total 16 16:09:23 drwxr-xr-x 3 root root 4096 Oct 24 15:42 . 16:09:23 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 16:09 .. 16:09:23 drwxr-xr-x 2 root root 4096 Oct 24 15:42 cost 16:09:23 -rw-r--r-- 1 root root 85 Oct 24 15:42 cost.csv 16:09:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:09:23 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 16:09:23 total 16 16:09:23 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:42 . 16:09:23 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 16:09 .. 16:09:23 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:42 cost 16:09:23 -rw-r--r-- 1 jenkins jenkins 85 Oct 24 15:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:09:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:09:24 ---> package-listing.sh 16:09:24 ++ facter osfamily 16:09:24 ++ tr '[:upper:]' '[:lower:]' 16:09:24 + OS_FAMILY=debian 16:09:24 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 16:09:24 + START_PACKAGES=/tmp/packages_start.txt 16:09:24 + END_PACKAGES=/tmp/packages_end.txt 16:09:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:09:24 + PACKAGES=/tmp/packages_start.txt 16:09:24 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 16:09:24 + PACKAGES=/tmp/packages_end.txt 16:09:24 + case "${OS_FAMILY}" in 16:09:24 + dpkg -l 16:09:24 + grep '^ii' 16:09:24 + '[' -f /tmp/packages_start.txt ']' 16:09:24 + '[' -f /tmp/packages_end.txt ']' 16:09:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:09:24 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 16:09:24 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 16:09:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 16:09:24 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 16:09:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:09:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:25 prd-ubuntu20.04-docker-8c-8g-9730 does not seem to be running inside a container 16:09:25 $ 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 16:09:26 $ docker top 054fedb0a7610bb67f58f6335b679b1de5ab2134275f22a57f9d788b8d5e51e0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:26 + touch /tmp/pre-build-complete [Pipeline] sh 16:09:26 + mkdir -p /var/log/sysstat [Pipeline] sh 16:09:26 + ls /var/log/sa-host 16:09:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:27 provisioning config files... 16:09:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15052411857395474288tmp [Pipeline] { [Pipeline] echo 16:09:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:09:27 ---> create-netrc.sh [Pipeline] } 16:09:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:09:27 ---> python-tools-install.sh [Pipeline] echo 16:09:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:09:27 ---> sudo-logs.sh 16:09:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:09:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:09:28 ---> job-cost.sh 16:09:28 lf-activate-venv: SKIPPING 16:09:28 DEBUG: total: 0.2199999988079071 16:09:28 INFO: Retrieving Stack Cost... 16:09:28 INFO: Retrieving Pricing Info for: v3-standard-8 16:09:29 INFO: Archiving Costs [Pipeline] echo 16:09:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:09:29 ---> logs-deploy.sh 16:09:29 lf-activate-venv: SKIPPING 16:09:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/75 16:09:29 INFO: archiving workspace using pattern(s): 16:09:30 Archives upload complete. 16:09:30 INFO: archiving logs to Nexus 16:09:31 ---> uname -a: 16:09:31 Linux prd-ubuntu20-04-docker-8c-8g-9730 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:09:31 16:09:31 16:09:31 ---> lscpu: 16:09:31 Architecture: x86_64 16:09:31 CPU op-mode(s): 32-bit, 64-bit 16:09:31 Byte Order: Little Endian 16:09:31 Address sizes: 40 bits physical, 48 bits virtual 16:09:31 CPU(s): 8 16:09:31 On-line CPU(s) list: 0-7 16:09:31 Thread(s) per core: 1 16:09:31 Core(s) per socket: 1 16:09:31 Socket(s): 8 16:09:31 NUMA node(s): 1 16:09:31 Vendor ID: AuthenticAMD 16:09:31 CPU family: 23 16:09:31 Model: 49 16:09:31 Model name: AMD EPYC-Rome Processor 16:09:31 Stepping: 0 16:09:31 CPU MHz: 2799.998 16:09:31 BogoMIPS: 5599.99 16:09:31 Virtualization: AMD-V 16:09:31 Hypervisor vendor: KVM 16:09:31 Virtualization type: full 16:09:31 L1d cache: 256 KiB 16:09:31 L1i cache: 256 KiB 16:09:31 L2 cache: 4 MiB 16:09:31 L3 cache: 128 MiB 16:09:31 NUMA node0 CPU(s): 0-7 16:09:31 Vulnerability Itlb multihit: Not affected 16:09:31 Vulnerability L1tf: Not affected 16:09:31 Vulnerability Mds: Not affected 16:09:31 Vulnerability Meltdown: Not affected 16:09:31 Vulnerability Mmio stale data: Not affected 16:09:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:09:31 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:09:31 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:09:31 Vulnerability Srbds: Not affected 16:09:31 Vulnerability Tsx async abort: Not affected 16:09:31 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:09:31 16:09:31 16:09:31 ---> nproc: 16:09:31 8 16:09:31 16:09:31 16:09:31 ---> df -h: 16:09:31 Filesystem Size Used Avail Use% Mounted on 16:09:31 overlay 155G 13G 143G 9% / 16:09:31 tmpfs 64M 0 64M 0% /dev 16:09:31 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:09:31 shm 64M 0 64M 0% /dev/shm 16:09:31 /dev/vda1 155G 13G 143G 9% /facter-os 16:09:31 16:09:31