Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 16ab89a495dc588a47662ccf315e42eca693f4b5 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-ssh15403083183374120813.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-ssh1213093353246063016.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-ssh1581578366935155396.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-ssh10022004969709854995.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-ssh2538834394329476302.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-117196 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 16ab89a495dc588a47662ccf315e42eca693f4b5 (main) Commit message: "build: Latest go=mod and disable metrics (#433)" > 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 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 > git rev-list --no-walk b192367cebc099e9a9ef06706cd57f465297496d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:59:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:59:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:59:50 ========================================================= 16:59:50 EdgeX Global Pipelines Version Info 16:59:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:59:51 ------------------- 16:59:51 stable info: 16:59:51 ------------------- 16:59:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:59:51 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:59:51 Message: update stable to v1.0.243 16:59:52 ------------------- 16:59:52 experimental info: 16:59:52 ------------------- 16:59:52 Commited By: **** collab-it+edgex@linuxfoundation.org 16:59:52 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:59:52 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16ab89a495dc588a47662ccf315e42eca693f4b5 [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16ab89a [Pipeline] echo 16:59:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:52 provisioning config files... 16:59:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2428378018562106414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:53 ---> docker-login.sh 16:59:53 nexus3.edgexfoundry.org:10001 16:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:53 Configure a credential helper to remove this warning. See 16:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:53 16:59:53 Login Succeeded 16:59:53 nexus3.edgexfoundry.org:10002 16:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:53 Configure a credential helper to remove this warning. See 16:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:53 16:59:53 Login Succeeded 16:59:53 nexus3.edgexfoundry.org:10003 16:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:53 Configure a credential helper to remove this warning. See 16:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:53 16:59:53 Login Succeeded 16:59:53 nexus3.edgexfoundry.org:10004 16:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:54 Configure a credential helper to remove this warning. See 16:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:54 16:59:54 Login Succeeded 16:59:54 docker.io 16:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:54 Configure a credential helper to remove this warning. See 16:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:54 16:59:54 Login Succeeded 16:59:54 ---> docker-login.sh ends [Pipeline] } 16:59:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:59:54 + git rev-list -1 --merges 16ab89a495dc588a47662ccf315e42eca693f4b5~1..16ab89a495dc588a47662ccf315e42eca693f4b5 [Pipeline] echo 16:59:54 -----------> git rev-list -1 --merges 16ab89a495dc588a47662ccf315e42eca693f4b5~1..16ab89a495dc588a47662ccf315e42eca693f4b5 16ab89a495dc588a47662ccf315e42eca693f4b5 [false] [Pipeline] sh 16:59:55 + git log --format=format:%s -1 16ab89a495dc588a47662ccf315e42eca693f4b5 [Pipeline] echo 16:59:55 ========================================================= 16:59:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:59:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:59:55 + git log --format=format:%s -1 16ab89a495dc588a47662ccf315e42eca693f4b5 [Pipeline] echo 16:59:55 [semverPrep] GIT_COMMIT: 16ab89a495dc588a47662ccf315e42eca693f4b5, Commit Message: build: Latest go=mod and disable metrics (#433) [Pipeline] echo 16:59:55 [semverPrep] This is not a build commit. [Pipeline] sh 16:59:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:59:55 + grep -v github /etc/ssh/ssh_known_hosts 16:59:55 + [ -e /tmp/ssh_known_hosts ] 16:59:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:59:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:59:55 + sudo tee -a /etc/ssh/ssh_known_hosts 16:59:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:56 16:59:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:56 0.1.4: Pulling from edgex-devops/py-git-semver 16:59:56 b85a868b505f: Pulling fs layer 16:59:56 e2be974225ed: Pulling fs layer 16:59:56 339a4e72a1f5: Pulling fs layer 16:59:56 988bab9f4d93: Pulling fs layer 16:59:56 1469e6f7b9e6: Pulling fs layer 16:59:56 eaf3925da568: Pulling fs layer 16:59:56 bab4dde63d76: Pulling fs layer 16:59:56 bde34c3a00c8: Pulling fs layer 16:59:56 b352a97aabf1: Pulling fs layer 16:59:56 4872d77fe225: Pulling fs layer 16:59:56 5851b861e8e6: Pulling fs layer 16:59:56 bde34c3a00c8: Waiting 16:59:56 b352a97aabf1: Waiting 16:59:56 4872d77fe225: Waiting 16:59:56 bab4dde63d76: Waiting 16:59:56 1469e6f7b9e6: Waiting 16:59:56 5851b861e8e6: Waiting 16:59:56 988bab9f4d93: Waiting 16:59:56 eaf3925da568: Waiting 16:59:56 e2be974225ed: Verifying Checksum 16:59:56 e2be974225ed: Download complete 16:59:56 988bab9f4d93: Verifying Checksum 16:59:56 988bab9f4d93: Download complete 16:59:56 1469e6f7b9e6: Verifying Checksum 16:59:56 1469e6f7b9e6: Download complete 16:59:56 eaf3925da568: Verifying Checksum 16:59:56 eaf3925da568: Download complete 16:59:56 339a4e72a1f5: Verifying Checksum 16:59:56 339a4e72a1f5: Download complete 16:59:56 bde34c3a00c8: Verifying Checksum 16:59:56 bde34c3a00c8: Download complete 16:59:56 b352a97aabf1: Verifying Checksum 16:59:56 b352a97aabf1: Download complete 16:59:56 4872d77fe225: Download complete 16:59:56 5851b861e8e6: Verifying Checksum 16:59:56 5851b861e8e6: Download complete 16:59:56 b85a868b505f: Download complete 16:59:57 bab4dde63d76: Download complete 16:59:58 b85a868b505f: Pull complete 16:59:58 e2be974225ed: Pull complete 16:59:58 339a4e72a1f5: Pull complete 16:59:58 988bab9f4d93: Pull complete 16:59:59 1469e6f7b9e6: Pull complete 16:59:59 eaf3925da568: Pull complete 17:00:01 bab4dde63d76: Pull complete 17:00:01 bde34c3a00c8: Pull complete 17:00:01 b352a97aabf1: Pull complete 17:00:01 4872d77fe225: Pull complete 17:00:01 5851b861e8e6: Pull complete 17:00:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:00:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:01 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 17:00:01 $ 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 17:00:03 $ docker top aa1de7af5a1954c211af62c9b696aba26f8cdce623f01c8ea79dcbe065a1a522 -eo pid,comm 17:00:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:00:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:00:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:00:03 [ssh-agent] Looking for ssh-agent implementation... 17:00:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:00:03 $ docker exec aa1de7af5a1954c211af62c9b696aba26f8cdce623f01c8ea79dcbe065a1a522 ssh-agent 17:00:03 SSH_AUTH_SOCK=/tmp/ssh-xaJRhJhV6ywt/agent.32 17:00:03 SSH_AGENT_PID=38 17:00:03 Running ssh-add (command line suppressed) 17:00:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14827608808754453500.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14827608808754453500.key) 17:00:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:00:04 + git tag --points-at HEAD [Pipeline] } 17:00:04 $ docker exec --env ******** --env ******** aa1de7af5a1954c211af62c9b696aba26f8cdce623f01c8ea79dcbe065a1a522 ssh-agent -k 17:00:04 unset SSH_AUTH_SOCK; 17:00:04 unset SSH_AGENT_PID; 17:00:04 echo Agent pid 38 killed; 17:00:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:00:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:00:04 [ssh-agent] Looking for ssh-agent implementation... 17:00:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:00:04 $ docker exec aa1de7af5a1954c211af62c9b696aba26f8cdce623f01c8ea79dcbe065a1a522 ssh-agent 17:00:04 SSH_AUTH_SOCK=/tmp/ssh-AoWWEBURFDBf/agent.70 17:00:04 SSH_AGENT_PID=76 17:00:04 Running ssh-add (command line suppressed) 17:00:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5023966958663000121.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5023966958663000121.key) 17:00:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:00:05 + git semver init 17:00:05 2022-10-26 17:00:05,361 [run_init] DEBUG init version:0.0.0 force:False 17:00:05 2022-10-26 17:00:05,362 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:00:05 2022-10-26 17:00:05,363 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:00:05 2022-10-26 17:00:05,363 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 17:00:06 2022-10-26 17:00:06,436 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 17:00:06 2022-10-26 17:00:06,437 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 17:00:06 2022-10-26 17:00:06,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:00:06 2022-10-26 17:00:06,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:00:06 2.3.0-dev.30 [Pipeline] } 17:00:06 $ docker exec --env ******** --env ******** aa1de7af5a1954c211af62c9b696aba26f8cdce623f01c8ea79dcbe065a1a522 ssh-agent -k 17:00:06 unset SSH_AUTH_SOCK; 17:00:06 unset SSH_AGENT_PID; 17:00:06 echo Agent pid 76 killed; 17:00:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:00:07 + git semver [Pipeline] } 17:00:07 $ docker stop --time=1 aa1de7af5a1954c211af62c9b696aba26f8cdce623f01c8ea79dcbe065a1a522 17:00:08 $ docker rm -f aa1de7af5a1954c211af62c9b696aba26f8cdce623f01c8ea79dcbe065a1a522 [Pipeline] // withDockerContainer [Pipeline] sh 17:00:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:00:09 Stashed 1 file(s) [Pipeline] echo 17:00:09 [edgeXSemver]: initialized semver on version 2.3.0-dev.30 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:09 provisioning config files... 17:00:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10611213358753979199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:09 ---> docker-login.sh 17:00:09 nexus3.edgexfoundry.org:10001 17:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:09 Configure a credential helper to remove this warning. See 17:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:09 17:00:09 Login Succeeded 17:00:09 nexus3.edgexfoundry.org:10002 17:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:09 Configure a credential helper to remove this warning. See 17:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:09 17:00:09 Login Succeeded 17:00:09 nexus3.edgexfoundry.org:10003 17:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:10 Configure a credential helper to remove this warning. See 17:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:10 17:00:10 Login Succeeded 17:00:10 nexus3.edgexfoundry.org:10004 17:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:10 Configure a credential helper to remove this warning. See 17:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:10 17:00:10 Login Succeeded 17:00:10 docker.io 17:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:10 Configure a credential helper to remove this warning. See 17:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:10 17:00:10 Login Succeeded 17:00:10 ---> docker-login.sh ends [Pipeline] } 17:00:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:00:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:10 ========================================================= 17:00:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:00:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:00:10 Sending build context to Docker daemon 6.21MB 17:00:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:00:10 Step 2/12 : FROM ${BASE} AS builder 17:00:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:00:10 213ec9aee27d: Pulling fs layer 17:00:10 4583459ba037: Pulling fs layer 17:00:10 93c1e223e6f2: Pulling fs layer 17:00:10 53926ce57604: Pulling fs layer 17:00:10 21b2b0c7a3f4: Pulling fs layer 17:00:10 30f14e443154: Pulling fs layer 17:00:10 801331c1e519: Pulling fs layer 17:00:10 99cc6dd402b0: Pulling fs layer 17:00:10 7d9ed39f4882: Pulling fs layer 17:00:10 53926ce57604: Waiting 17:00:10 99cc6dd402b0: Waiting 17:00:10 7d9ed39f4882: Waiting 17:00:10 21b2b0c7a3f4: Waiting 17:00:10 30f14e443154: Waiting 17:00:10 801331c1e519: Waiting 17:00:10 93c1e223e6f2: Download complete 17:00:10 4583459ba037: Verifying Checksum 17:00:10 4583459ba037: Download complete 17:00:11 21b2b0c7a3f4: Verifying Checksum 17:00:11 21b2b0c7a3f4: Download complete 17:00:11 30f14e443154: Download complete 17:00:11 213ec9aee27d: Verifying Checksum 17:00:11 801331c1e519: Download complete 17:00:11 213ec9aee27d: Pull complete 17:00:11 4583459ba037: Pull complete 17:00:11 93c1e223e6f2: Pull complete 17:00:11 7d9ed39f4882: Verifying Checksum 17:00:11 7d9ed39f4882: Download complete 17:00:11 99cc6dd402b0: Verifying Checksum 17:00:11 99cc6dd402b0: Download complete 17:00:11 53926ce57604: Verifying Checksum 17:00:11 53926ce57604: Download complete 17:00:16 53926ce57604: Pull complete 17:00:16 21b2b0c7a3f4: Pull complete 17:00:16 30f14e443154: Pull complete 17:00:16 801331c1e519: Pull complete 17:00:17 99cc6dd402b0: Pull complete 17:00:18 7d9ed39f4882: Pull complete 17:00:18 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 17:00:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:00:18 ---> 1dedd983c030 17:00:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:00:22 ---> Running in bcafe2e9ed51 17:00:22 Removing intermediate container bcafe2e9ed51 17:00:22 ---> 8d6092c414b8 17:00:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:00:22 ---> Running in edc40d8a4c43 17:00:22 Removing intermediate container edc40d8a4c43 17:00:22 ---> 47500e774ae0 17:00:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:00:22 ---> Running in a34f982b69c2 17:00:22 Removing intermediate container a34f982b69c2 17:00:22 ---> 057f7f498efd 17:00:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:00:22 ---> Running in 74d0bbcafd96 17:00:22 Removing intermediate container 74d0bbcafd96 17:00:22 ---> 86f065f33403 17:00:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:00:22 ---> Running in 12ea3d01fe41 17:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:00:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:00:23 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:00:23 (2/4) Installing libedit (20210910.3.1-r0) 17:00:23 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:00:23 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:00:23 Executing busybox-1.35.0-r17.trigger 17:00:23 OK: 216 MiB in 55 packages 17:00:23 Removing intermediate container 12ea3d01fe41 17:00:23 ---> 51329e5cd8f3 17:00:23 Step 8/12 : WORKDIR /device-mqtt-go 17:00:23 ---> Running in 37e897939c88 17:00:23 Removing intermediate container 37e897939c88 17:00:23 ---> 2f687ed77df3 17:00:23 Step 9/12 : COPY go.mod vendor* ./ 17:00:23 ---> b1aa69e048a8 17:00:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:23 ---> Running in b0a4b5da7d3a 17:00:24 Still waiting to schedule task 17:00:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117197’ is offline 17:00:45 Removing intermediate container b0a4b5da7d3a 17:00:45 ---> 751167dd8acf 17:00:45 Step 11/12 : COPY . . 17:00:46 ---> 3c5fcdc31fe0 17:00:46 Step 12/12 : RUN $MAKE 17:00:46 ---> Running in a34aacaee910 17:00:46 noop 17:00:46 Removing intermediate container a34aacaee910 17:00:46 ---> 8728d1f21324 17:00:46 Successfully built 8728d1f21324 17:00:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:46 + docker inspect -f . ci-base-image-x86_64 17:00:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:47 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 17:00:47 $ 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 17:00:47 $ docker top e91b17add956c4f57085ffe62c5b936fa06bd30ede978fd16b8c8c3def1c76c8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:47 + go version 17:00:47 go version go1.18.7 linux/amd64 [Pipeline] } 17:00:47 $ docker stop --time=1 e91b17add956c4f57085ffe62c5b936fa06bd30ede978fd16b8c8c3def1c76c8 17:00:49 $ docker rm -f e91b17add956c4f57085ffe62c5b936fa06bd30ede978fd16b8c8c3def1c76c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:49 + docker inspect -f . ci-base-image-x86_64 17:00:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:49 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 17:00:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:00:49 $ docker top da3f54d495982d7db48e0b4f8a82f2a0a8c79921f0a033048c65b558b3668b02 -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 17:00:50 + make test 17:00:50 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:00:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:01:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:01:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 17:01:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:01:07 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:01:07 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:01:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:01:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:01:10 ./bin/test-attribution-txt.sh [Pipeline] echo 17:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:01:10 $ docker stop --time=1 da3f54d495982d7db48e0b4f8a82f2a0a8c79921f0a033048c65b558b3668b02 17:01:12 $ docker rm -f da3f54d495982d7db48e0b4f8a82f2a0a8c79921f0a033048c65b558b3668b02 [Pipeline] // withDockerContainer [Pipeline] sh 17:01:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:01:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:01:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:01:14 + ls -al . 17:01:14 total 192 17:01:14 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 17:00 . 17:01:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:59 .. 17:01:14 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 16:59 .dockerignore 17:01:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 17:01 .git 17:01:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:59 .github 17:01:14 -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 16:59 .gitignore 17:01:14 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 16:59 .golangci.yml 17:01:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 17:00 .semver 17:01:14 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 26 16:59 Attribution.txt 17:01:14 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 26 16:59 CHANGELOG.md 17:01:14 -rw-rw-r-- 1 jenkins jenkins 1752 Oct 26 16:59 Dockerfile 17:01:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:59 GOVERNANCE.md 17:01:14 -rw-rw-r-- 1 jenkins jenkins 678 Oct 26 16:59 Jenkinsfile 17:01:14 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 16:59 LICENSE 17:01:14 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 26 16:59 Makefile 17:01:14 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 16:59 OWNERS.md 17:01:14 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 26 16:59 README.md 17:01:14 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 17:00 VERSION 17:01:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:59 bin 17:01:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:59 cmd 17:01:14 -rw-r--r-- 1 jenkins jenkins 17887 Oct 26 17:01 coverage.out 17:01:14 -rw-rw-r-- 1 jenkins jenkins 3512 Oct 26 16:59 go.mod 17:01:14 -rw-rw-r-- 1 jenkins jenkins 45144 Oct 26 16:59 go.sum 17:01:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:59 internal 17:01:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:59 mock 17:01:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:59 snap 17:01:14 -rw-rw-r-- 1 jenkins jenkins 227 Oct 26 16:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:14 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=16ab89a495dc588a47662ccf315e42eca693f4b5 --label arch=amd64 --label version=2.3.0-dev.30 . 17:01:14 Sending build context to Docker daemon 6.228MB 17:01:14 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:01:14 Step 2/24 : FROM ${BASE} AS builder 17:01:14 ---> 8728d1f21324 17:01:14 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:01:14 ---> Running in 105a71a3896b 17:01:14 Removing intermediate container 105a71a3896b 17:01:14 ---> 533d4290e915 17:01:14 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:01:14 ---> Running in 4ca232ab3181 17:01:14 Removing intermediate container 4ca232ab3181 17:01:14 ---> cb0d43ede845 17:01:14 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:01:15 ---> Running in 334359a34733 17:01:15 Removing intermediate container 334359a34733 17:01:15 ---> 86c784ca0a64 17:01:15 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:01:15 ---> Running in dcc36a21bec6 17:01:15 Removing intermediate container dcc36a21bec6 17:01:15 ---> fbcb4885012e 17:01:15 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:01:15 ---> Running in 5318d058a9e3 17:01:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:01:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:01:15 OK: 216 MiB in 55 packages 17:01:16 Removing intermediate container 5318d058a9e3 17:01:16 ---> aa8deab2a8e4 17:01:16 Step 8/24 : WORKDIR /device-mqtt-go 17:01:16 ---> Running in be8373fe50a6 17:01:16 Removing intermediate container be8373fe50a6 17:01:16 ---> 4f9075e1c66b 17:01:16 Step 9/24 : COPY go.mod vendor* ./ 17:01:16 ---> abeb81c020a3 17:01:16 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:01:16 ---> Running in 4758a33f3b79 17:01:16 Removing intermediate container 4758a33f3b79 17:01:16 ---> 1fa4a471bca1 17:01:16 Step 11/24 : COPY . . 17:01:17 ---> 0d30a7c47e1e 17:01:17 Step 12/24 : RUN $MAKE 17:01:17 ---> Running in 8ad71468a07f 17:01:17 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:01:39 Removing intermediate container 8ad71468a07f 17:01:39 ---> 5b17d648fcff 17:01:39 Step 13/24 : FROM alpine:3.16 17:01:39 3.16: Pulling from library/alpine 17:01:39 213ec9aee27d: Already exists 17:01:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:01:39 Status: Downloaded newer image for alpine:3.16 17:01:39 ---> 9c6f07244728 17:01:39 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:01:39 ---> Running in a7dec409fd7d 17:01:39 Removing intermediate container a7dec409fd7d 17:01:39 ---> e4792ebf5dc6 17:01:39 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:01:39 ---> Running in 57382f1f83c8 17:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:01:40 (1/6) Installing dumb-init (1.2.5-r1) 17:01:40 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:01:40 (3/6) Installing libsodium (1.0.18-r0) 17:01:40 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:01:40 (5/6) Installing libzmq (4.3.4-r0) 17:01:40 (6/6) Installing zeromq (4.3.4-r0) 17:01:40 Executing busybox-1.35.0-r17.trigger 17:01:40 OK: 8 MiB in 20 packages 17:01:40 Removing intermediate container 57382f1f83c8 17:01:40 ---> 3e732f33bc30 17:01:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:01:41 ---> d231faaa4210 17:01:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:01:41 ---> cf3cd81ff891 17:01:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:01:41 ---> 865cc6da40fb 17:01:41 Step 19/24 : EXPOSE 59982 17:01:41 ---> Running in bcd3fc494081 17:01:41 Removing intermediate container bcd3fc494081 17:01:41 ---> 29f893bed007 17:01:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:01:41 ---> Running in 6d03a6aa06b6 17:01:41 Removing intermediate container 6d03a6aa06b6 17:01:41 ---> 9d7a42a54922 17:01:41 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:01:41 ---> Running in 400d654c26dd 17:01:41 Removing intermediate container 400d654c26dd 17:01:41 ---> b4ed5b129617 17:01:41 Step 22/24 : LABEL arch=amd64 17:01:41 ---> Running in 7954dae24062 17:01:41 Removing intermediate container 7954dae24062 17:01:41 ---> 76df74a3cda4 17:01:41 Step 23/24 : LABEL git_sha=16ab89a495dc588a47662ccf315e42eca693f4b5 17:01:42 ---> Running in 4baa24139e54 17:01:42 Removing intermediate container 4baa24139e54 17:01:42 ---> 1012cc551f6f 17:01:42 Step 24/24 : LABEL version=2.3.0-dev.30 17:01:42 ---> Running in bb40084e31b0 17:01:42 Removing intermediate container bb40084e31b0 17:01:42 ---> 507fe0f2590d 17:01:42 [Warning] One or more build-args [ARCH] were not consumed 17:01:42 Successfully built 507fe0f2590d 17:01:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:42 provisioning config files... 17:01:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13042220059598824707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:42 ---> docker-login.sh 17:01:42 nexus3.edgexfoundry.org:10001 17:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:42 Configure a credential helper to remove this warning. See 17:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:42 17:01:42 Login Succeeded 17:01:42 nexus3.edgexfoundry.org:10002 17:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:42 Configure a credential helper to remove this warning. See 17:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:42 17:01:42 Login Succeeded 17:01:42 nexus3.edgexfoundry.org:10003 17:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:42 Configure a credential helper to remove this warning. See 17:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:42 17:01:42 Login Succeeded 17:01:42 nexus3.edgexfoundry.org:10004 17:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:42 Configure a credential helper to remove this warning. See 17:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:42 17:01:42 Login Succeeded 17:01:42 docker.io 17:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:43 Configure a credential helper to remove this warning. See 17:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:43 17:01:43 Login Succeeded 17:01:43 ---> docker-login.sh ends [Pipeline] } 17:01:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:01:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:43 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 17:01:43 16ab89a495dc588a47662ccf315e42eca693f4b5 17:01:43 latest 17:01:43 2.3.0-dev.30 17:01:43 16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30 17:01:43 main 17:01:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:16ab89a495dc588a47662ccf315e42eca693f4b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:16ab89a495dc588a47662ccf315e42eca693f4b5 17:01:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:01:43 b2ece744e3e6: Preparing 17:01:43 b6139ccff07a: Preparing 17:01:43 5d6c40ae171f: Preparing 17:01:43 411d4008bf5a: Preparing 17:01:43 994393dc58e7: Preparing 17:01:43 994393dc58e7: Layer already exists 17:01:43 b2ece744e3e6: Pushed 17:01:43 b6139ccff07a: Pushed 17:01:44 411d4008bf5a: Pushed 17:01:46 5d6c40ae171f: Pushed 17:01:46 16ab89a495dc588a47662ccf315e42eca693f4b5: digest: sha256:561998ff8730d6f28b068034a4e09c4a0009ae8115bfe990579e0725432e4148 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:01:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:01:47 b2ece744e3e6: Preparing 17:01:47 b6139ccff07a: Preparing 17:01:47 5d6c40ae171f: Preparing 17:01:47 411d4008bf5a: Preparing 17:01:47 994393dc58e7: Preparing 17:01:47 994393dc58e7: Layer already exists 17:01:47 411d4008bf5a: Layer already exists 17:01:47 b2ece744e3e6: Layer already exists 17:01:47 b6139ccff07a: Layer already exists 17:01:47 5d6c40ae171f: Layer already exists 17:01:47 latest: digest: sha256:561998ff8730d6f28b068034a4e09c4a0009ae8115bfe990579e0725432e4148 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:47 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.30 17:01:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:01:48 b2ece744e3e6: Preparing 17:01:48 b6139ccff07a: Preparing 17:01:48 5d6c40ae171f: Preparing 17:01:48 411d4008bf5a: Preparing 17:01:48 994393dc58e7: Preparing 17:01:48 994393dc58e7: Layer already exists 17:01:48 b6139ccff07a: Layer already exists 17:01:48 5d6c40ae171f: Layer already exists 17:01:48 b2ece744e3e6: Layer already exists 17:01:48 411d4008bf5a: Layer already exists 17:01:48 2.3.0-dev.30: digest: sha256:561998ff8730d6f28b068034a4e09c4a0009ae8115bfe990579e0725432e4148 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30 17:01:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:01:48 b2ece744e3e6: Preparing 17:01:48 b6139ccff07a: Preparing 17:01:48 5d6c40ae171f: Preparing 17:01:48 411d4008bf5a: Preparing 17:01:48 994393dc58e7: Preparing 17:01:48 994393dc58e7: Layer already exists 17:01:48 5d6c40ae171f: Layer already exists 17:01:48 b6139ccff07a: Layer already exists 17:01:48 411d4008bf5a: Layer already exists 17:01:48 b2ece744e3e6: Layer already exists 17:01:48 16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30: digest: sha256:561998ff8730d6f28b068034a4e09c4a0009ae8115bfe990579e0725432e4148 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:49 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 17:01:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:01:49 b2ece744e3e6: Preparing 17:01:49 b6139ccff07a: Preparing 17:01:49 5d6c40ae171f: Preparing 17:01:49 411d4008bf5a: Preparing 17:01:49 994393dc58e7: Preparing 17:01:49 411d4008bf5a: Layer already exists 17:01:49 994393dc58e7: Layer already exists 17:01:49 b2ece744e3e6: Layer already exists 17:01:49 b6139ccff07a: Layer already exists 17:01:49 5d6c40ae171f: Layer already exists 17:01:49 main: digest: sha256:561998ff8730d6f28b068034a4e09c4a0009ae8115bfe990579e0725432e4148 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:01:49 ===================================================== [Pipeline] echo 17:01:49 taggedImages: 17:01:49 - nexus3.edgexfoundry.org:10004/device-mqtt:16ab89a495dc588a47662ccf315e42eca693f4b5 17:01:49 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:01:49 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.30 17:01:49 - nexus3.edgexfoundry.org:10004/device-mqtt:16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30 17:01:49 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:49 17:01:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:50 latest: Pulling from edgex-lftools-log-publisher 17:01:50 5eb5b503b376: Pulling fs layer 17:01:50 5c69ac0246d0: Pulling fs layer 17:01:50 ec43610c2a17: Pulling fs layer 17:01:50 3a2ae6a8a46f: Pulling fs layer 17:01:50 33b1e0a273af: Pulling fs layer 17:01:50 5d3b04190fa2: Pulling fs layer 17:01:50 2f39f015ded8: Pulling fs layer 17:01:50 5d3b04190fa2: Waiting 17:01:50 2f39f015ded8: Waiting 17:01:50 3a2ae6a8a46f: Waiting 17:01:50 33b1e0a273af: Waiting 17:01:50 5c69ac0246d0: Download complete 17:01:50 3a2ae6a8a46f: Verifying Checksum 17:01:50 3a2ae6a8a46f: Download complete 17:01:50 33b1e0a273af: Download complete 17:01:50 5d3b04190fa2: Verifying Checksum 17:01:50 5d3b04190fa2: Download complete 17:01:50 ec43610c2a17: Verifying Checksum 17:01:50 ec43610c2a17: Download complete 17:01:50 5eb5b503b376: Verifying Checksum 17:01:50 5eb5b503b376: Download complete 17:01:50 2f39f015ded8: Download complete 17:01:51 5eb5b503b376: Pull complete 17:01:51 5c69ac0246d0: Pull complete 17:01:52 ec43610c2a17: Pull complete 17:01:52 3a2ae6a8a46f: Pull complete 17:01:52 33b1e0a273af: Pull complete 17:01:52 5d3b04190fa2: Pull complete 17:01:56 2f39f015ded8: Pull complete 17:01:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:56 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 17:01:56 $ 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 17:01:59 $ docker top 8b6790bc414a84f37ba59955f57c9ae95514d3fb656b610bd45de4e4aa83f2b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:59 ---> job-cost.sh 17:01:59 lf-activate-venv: SKIPPING 17:01:59 INFO: No Stack... 17:02:00 INFO: Retrieving Pricing Info for: v3-standard-8 17:02:00 INFO: Archiving Costs [Pipeline] sh 17:02:01 + cut -d, -f6 17:02:01 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [Pipeline] lock 17:02:01 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-77-stack-cost] 17:02:01 Resource [jenkins-edgexfoundry-device-mqtt-go-main-77-stack-cost] did not exist. Created. 17:02:01 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:02:01 + echo total: 0.2199999988079071 [Pipeline] stash 17:02:01 Stashed 1 file(s) [Pipeline] } 17:02:01 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 17:02:01 $ docker stop --time=1 8b6790bc414a84f37ba59955f57c9ae95514d3fb656b610bd45de4e4aa83f2b2 17:02:02 $ docker rm -f 8b6790bc414a84f37ba59955f57c9ae95514d3fb656b610bd45de4e4aa83f2b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:00:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117240 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 19:00:42 Running in /w/workspace/device-mqtt-go/77 [Pipeline] { [Pipeline] checkout 19:00:42 Selected Git installation does not exist. Using Default 19:00:42 The recommended git tool is: NONE 19:00:48 using credential edgex-jenkins-ssh 19:00:48 Cloning the remote Git repository 19:00:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:00:48 > git init /w/workspace/device-mqtt-go/77 # timeout=10 19:00:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:00:48 > git --version # timeout=10 19:00:48 > git --version # 'git version 2.25.1' 19:00:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:48 Verifying host key using known hosts file 19:00:48 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. 19:00:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:00:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:51 Avoid second fetch 19:00:51 Checking out Revision 16ab89a495dc588a47662ccf315e42eca693f4b5 (main) 19:00:51 Commit message: "build: Latest go=mod and disable metrics (#433)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:51 > git config core.sparsecheckout # timeout=10 19:00:51 > git checkout -f 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 19:00:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:00:52 % Total % Received % Xferd Average Speed Time Time Time Current 19:00:52 Dload Upload Total Spent Left Speed 19:00:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 84577 [Pipeline] sh 19:00:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:00:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:00:53 + sudo tee /etc/docker/daemon.new 19:00:53 { 19:00:53 "registry-mirrors": [ 19:00:53 "https://nexus3.edgexfoundry.org:10001" 19:00:53 ], 19:00:53 "bip": "10.250.0.254/24", 19:00:53 "hosts": [ 19:00:53 "tcp://0.0.0.0:5555", 19:00:53 "unix:///var/run/docker.sock" 19:00:53 ], 19:00:53 "mtu": 1458, 19:00:53 "selinux-enabled": true, 19:00:53 "seccomp-profile": "/etc/docker/seccomp.json" 19:00:53 } [Pipeline] sh 19:00:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:00:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:12 provisioning config files... 19:01:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/77@tmp/config2862335211191326659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:12 ---> docker-login.sh 19:01:12 nexus3.edgexfoundry.org:10001 19:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:13 Configure a credential helper to remove this warning. See 19:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:13 19:01:13 Login Succeeded 19:01:13 nexus3.edgexfoundry.org:10002 19:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:13 Configure a credential helper to remove this warning. See 19:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:13 19:01:13 Login Succeeded 19:01:13 nexus3.edgexfoundry.org:10003 19:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:14 Configure a credential helper to remove this warning. See 19:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:14 19:01:14 Login Succeeded 19:01:14 nexus3.edgexfoundry.org:10004 19:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:14 Configure a credential helper to remove this warning. See 19:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:14 19:01:14 Login Succeeded 19:01:14 docker.io 19:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:15 Configure a credential helper to remove this warning. See 19:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:15 19:01:15 Login Succeeded 19:01:15 ---> docker-login.sh ends [Pipeline] } 19:01:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:15 ========================================================= 19:01:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:01:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:15 + 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 . 19:01:16 Sending build context to Docker daemon 3.216MB 19:01:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:01:16 Step 2/12 : FROM ${BASE} AS builder 19:01:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:01:16 9b18e9b68314: Pulling fs layer 19:01:16 d32db5db7311: Pulling fs layer 19:01:16 d0c4b47475fc: Pulling fs layer 19:01:16 5831b945b038: Pulling fs layer 19:01:16 86bbec2aaacd: Pulling fs layer 19:01:16 e10730c5d714: Pulling fs layer 19:01:16 5dd5c2283517: Pulling fs layer 19:01:16 d5ac0230b979: Pulling fs layer 19:01:16 5831b945b038: Waiting 19:01:16 86bbec2aaacd: Waiting 19:01:16 e10730c5d714: Waiting 19:01:16 5dd5c2283517: Waiting 19:01:16 d5ac0230b979: Waiting 19:01:16 d0c4b47475fc: Verifying Checksum 19:01:16 d0c4b47475fc: Download complete 19:01:16 d32db5db7311: Verifying Checksum 19:01:16 d32db5db7311: Download complete 19:01:16 86bbec2aaacd: Verifying Checksum 19:01:16 86bbec2aaacd: Download complete 19:01:16 e10730c5d714: Verifying Checksum 19:01:16 e10730c5d714: Download complete 19:01:16 9b18e9b68314: Verifying Checksum 19:01:16 9b18e9b68314: Download complete 19:01:16 9b18e9b68314: Pull complete 19:01:17 d32db5db7311: Pull complete 19:01:17 d5ac0230b979: Verifying Checksum 19:01:17 d5ac0230b979: Download complete 19:01:18 d0c4b47475fc: Pull complete 19:01:19 5dd5c2283517: Verifying Checksum 19:01:19 5dd5c2283517: Download complete 19:01:19 5831b945b038: Download complete 19:01:32 5831b945b038: Pull complete 19:01:32 86bbec2aaacd: Pull complete 19:01:32 e10730c5d714: Pull complete 19:01:38 5dd5c2283517: Pull complete 19:01:40 d5ac0230b979: Pull complete 19:01:40 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 19:01:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:01:40 ---> 59b3b1a385d4 19:01:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:01:42 ---> Running in 0607a25ae1b2 19:01:42 Removing intermediate container 0607a25ae1b2 19:01:42 ---> e9d8accb82e0 19:01:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:01:42 ---> Running in 5e30ff31fa87 19:01:42 Removing intermediate container 5e30ff31fa87 19:01:42 ---> b91003e9607f 19:01:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:01:43 ---> Running in f24af3b68881 19:01:43 Removing intermediate container f24af3b68881 19:01:43 ---> 0866ac8074f4 19:01:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:01:43 ---> Running in 684fd89bf175 19:01:44 Removing intermediate container 684fd89bf175 19:01:44 ---> 8a6e6dcc5d0c 19:01:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:44 ---> Running in 9e1771eec4cf 19:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:01:46 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:01:46 (2/4) Installing libedit (20210910.3.1-r0) 19:01:46 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:01:46 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:01:46 Executing busybox-1.35.0-r17.trigger 19:01:46 OK: 226 MiB in 55 packages 19:01:47 Removing intermediate container 9e1771eec4cf 19:01:47 ---> 5caded10993f 19:01:47 Step 8/12 : WORKDIR /device-mqtt-go 19:01:48 ---> Running in 91510355806b 19:01:48 Removing intermediate container 91510355806b 19:01:48 ---> 00c7920e36d0 19:01:48 Step 9/12 : COPY go.mod vendor* ./ 19:01:48 ---> afb3cadf4126 19:01:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:49 ---> Running in 2e179bf4e53c 19:02:45 Removing intermediate container 2e179bf4e53c 19:02:45 ---> e76e9d07a901 19:02:45 Step 11/12 : COPY . . 19:02:45 ---> 4e4387da3eb4 19:02:45 Step 12/12 : RUN $MAKE 19:02:45 ---> Running in 691c52023a7c 19:02:46 noop 19:02:47 Removing intermediate container 691c52023a7c 19:02:47 ---> 9621a0b0e299 19:02:47 Successfully built 9621a0b0e299 19:02:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:48 + docker inspect -f . ci-base-image-arm64 19:02:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:48 prd-ubuntu20.04-docker-arm64-4c-16g-117240 does not seem to be running inside a container 19:02:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/77 -v /w/workspace/device-mqtt-go/77:/w/workspace/device-mqtt-go/77:rw,z -v /w/workspace/device-mqtt-go/77@tmp:/w/workspace/device-mqtt-go/77@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 19:02:49 $ docker top 8c4abc8d3c51ea3f7608a39cf67a07d0a00567fd5c53cac0c3024d905f2f7c90 -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:50 + go version 19:02:50 go version go1.18.7 linux/arm64 [Pipeline] } 19:02:50 $ docker stop --time=1 8c4abc8d3c51ea3f7608a39cf67a07d0a00567fd5c53cac0c3024d905f2f7c90 19:02:52 $ docker rm -f 8c4abc8d3c51ea3f7608a39cf67a07d0a00567fd5c53cac0c3024d905f2f7c90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:52 + docker inspect -f . ci-base-image-arm64 19:02:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:52 prd-ubuntu20.04-docker-arm64-4c-16g-117240 does not seem to be running inside a container 19:02:52 $ 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/77 -v /w/workspace/device-mqtt-go/77:/w/workspace/device-mqtt-go/77:rw,z -v /w/workspace/device-mqtt-go/77@tmp:/w/workspace/device-mqtt-go/77@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 19:02:54 $ docker top c03d5ad8e47def70d2b106c935bb20bef88212b2b8f4c609ceaafa08e11c5a9e -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:54 + git config --global --add safe.directory /w/workspace/device-mqtt-go/77 [Pipeline] fileExists [Pipeline] sh 19:02:55 + make test 19:02:55 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:02:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:04:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:04:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements 19:04:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:04:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:04:34 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:04:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:04:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:04:49 ./bin/test-attribution-txt.sh [Pipeline] echo 19:04:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:04:49 $ docker stop --time=1 c03d5ad8e47def70d2b106c935bb20bef88212b2b8f4c609ceaafa08e11c5a9e 19:04:51 $ docker rm -f c03d5ad8e47def70d2b106c935bb20bef88212b2b8f4c609ceaafa08e11c5a9e [Pipeline] // withDockerContainer [Pipeline] sh 19:04:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:04:52 Warning: overwriting stash ‘coverage-report’ 19:04:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:53 + ls -al . 19:04:53 total 188 19:04:53 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:02 . 19:04:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:00 .. 19:04:53 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 19:00 .dockerignore 19:04:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:00 .git 19:04:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:00 .github 19:04:53 -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 19:00 .gitignore 19:04:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:00 .golangci.yml 19:04:53 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 26 19:00 Attribution.txt 19:04:53 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 26 19:00 CHANGELOG.md 19:04:53 -rw-rw-r-- 1 jenkins jenkins 1752 Oct 26 19:00 Dockerfile 19:04:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:00 GOVERNANCE.md 19:04:53 -rw-rw-r-- 1 jenkins jenkins 678 Oct 26 19:00 Jenkinsfile 19:04:53 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:00 LICENSE 19:04:53 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 26 19:00 Makefile 19:04:53 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:00 OWNERS.md 19:04:53 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 26 19:00 README.md 19:04:53 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 17:00 VERSION 19:04:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:00 bin 19:04:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:00 cmd 19:04:53 -rw-r--r-- 1 jenkins jenkins 17887 Oct 26 19:04 coverage.out 19:04:53 -rw-rw-r-- 1 jenkins jenkins 3512 Oct 26 19:00 go.mod 19:04:53 -rw-rw-r-- 1 jenkins jenkins 45144 Oct 26 19:00 go.sum 19:04:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:00 internal 19:04:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:00 mock 19:04:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:00 snap 19:04:53 -rw-rw-r-- 1 jenkins jenkins 227 Oct 26 19:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:53 + 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=16ab89a495dc588a47662ccf315e42eca693f4b5 --label arch=arm64 --label version=2.3.0-dev.30 . 19:04:53 Sending build context to Docker daemon 3.235MB 19:04:53 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 19:04:53 Step 2/24 : FROM ${BASE} AS builder 19:04:53 ---> 9621a0b0e299 19:04:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:04:54 ---> Running in 4411c8f307f5 19:04:54 Removing intermediate container 4411c8f307f5 19:04:54 ---> 26360befa519 19:04:54 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:54 ---> Running in 1db2f6f69956 19:04:54 Removing intermediate container 1db2f6f69956 19:04:54 ---> 21586fe65016 19:04:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:04:54 ---> Running in 6f7ca452df57 19:04:55 Removing intermediate container 6f7ca452df57 19:04:55 ---> 7a8f398bc5af 19:04:55 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:04:55 ---> Running in bdcf9672dd87 19:04:55 Removing intermediate container bdcf9672dd87 19:04:55 ---> c7b722ef58bd 19:04:55 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:55 ---> Running in 5f34875461ee 19:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:04:57 OK: 226 MiB in 55 packages 19:04:58 Removing intermediate container 5f34875461ee 19:04:58 ---> 175e998f74e9 19:04:58 Step 8/24 : WORKDIR /device-mqtt-go 19:04:58 ---> Running in 0bf79fdc41c3 19:04:58 Removing intermediate container 0bf79fdc41c3 19:04:58 ---> a0cb851120b7 19:04:58 Step 9/24 : COPY go.mod vendor* ./ 19:04:59 ---> 3acf1244762b 19:04:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:59 ---> Running in 55306d79b5ee 19:05:02 Removing intermediate container 55306d79b5ee 19:05:02 ---> 0cbd014243e1 19:05:02 Step 11/24 : COPY . . 19:05:03 ---> dfcf60e664ef 19:05:03 Step 12/24 : RUN $MAKE 19:05:03 ---> Running in a0d7c26cadb2 19:05:04 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 19:07:41 Removing intermediate container a0d7c26cadb2 19:07:41 ---> 097a5d83c475 19:07:41 Step 13/24 : FROM alpine:3.16 19:07:41 3.16: Pulling from library/alpine 19:07:41 9b18e9b68314: Already exists 19:07:41 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:07:41 Status: Downloaded newer image for alpine:3.16 19:07:41 ---> a6215f271958 19:07:41 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:07:41 ---> Running in a1c658420a2a 19:07:41 Removing intermediate container a1c658420a2a 19:07:41 ---> 277ec0392bc3 19:07:41 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 19:07:41 ---> Running in 8c36e2da359d 19:07:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:07:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:07:41 (1/6) Installing dumb-init (1.2.5-r1) 19:07:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:07:41 (3/6) Installing libsodium (1.0.18-r0) 19:07:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:07:41 (5/6) Installing libzmq (4.3.4-r0) 19:07:41 (6/6) Installing zeromq (4.3.4-r0) 19:07:41 Executing busybox-1.35.0-r17.trigger 19:07:41 OK: 8 MiB in 20 packages 19:07:41 Removing intermediate container 8c36e2da359d 19:07:41 ---> b7971bb43a0a 19:07:41 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:07:42 ---> a141fe2c17a3 19:07:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:07:43 ---> 4c721b5a8d7d 19:07:43 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:07:43 ---> d18dddde8e79 19:07:43 Step 19/24 : EXPOSE 59982 19:07:43 ---> Running in 5bb293b7aa5e 19:07:44 Removing intermediate container 5bb293b7aa5e 19:07:44 ---> 50bedc06afb4 19:07:44 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:07:44 ---> Running in 723d9acf8641 19:07:44 Removing intermediate container 723d9acf8641 19:07:44 ---> 9883d0f5221e 19:07:44 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:07:44 ---> Running in 43b9be13515c 19:07:44 Removing intermediate container 43b9be13515c 19:07:44 ---> 29ec8aecc6b7 19:07:44 Step 22/24 : LABEL arch=arm64 19:07:44 ---> Running in 4fd7dbafb151 19:07:45 Removing intermediate container 4fd7dbafb151 19:07:45 ---> 24fdb5156b3c 19:07:45 Step 23/24 : LABEL git_sha=16ab89a495dc588a47662ccf315e42eca693f4b5 19:07:45 ---> Running in 9f10c20f5a42 19:07:45 Removing intermediate container 9f10c20f5a42 19:07:45 ---> 75942f9f54a0 19:07:45 Step 24/24 : LABEL version=2.3.0-dev.30 19:07:45 ---> Running in e3a6574df358 19:07:45 Removing intermediate container e3a6574df358 19:07:45 ---> 679426441ec7 19:07:45 [Warning] One or more build-args [ARCH] were not consumed 19:07:45 Successfully built 679426441ec7 19: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 19:07:45 provisioning config files... 19:07:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/77@tmp/config10827103007679871710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:46 ---> docker-login.sh 19:07:46 nexus3.edgexfoundry.org:10001 19:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:46 Configure a credential helper to remove this warning. See 19:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:46 19:07:46 Login Succeeded 19:07:46 nexus3.edgexfoundry.org:10002 19:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:46 Configure a credential helper to remove this warning. See 19:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:46 19:07:46 Login Succeeded 19:07:46 nexus3.edgexfoundry.org:10003 19:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:47 Configure a credential helper to remove this warning. See 19:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:47 19:07:47 Login Succeeded 19:07:47 nexus3.edgexfoundry.org:10004 19:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:47 Configure a credential helper to remove this warning. See 19:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:47 19:07:47 Login Succeeded 19:07:47 docker.io 19:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:47 Configure a credential helper to remove this warning. See 19:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:47 19:07:47 Login Succeeded 19:07:47 ---> docker-login.sh ends [Pipeline] } 19:07:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:48 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 19:07:48 16ab89a495dc588a47662ccf315e42eca693f4b5 19:07:48 latest 19:07:48 2.3.0-dev.30 19:07:48 16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30 19:07:48 main 19:07:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:16ab89a495dc588a47662ccf315e42eca693f4b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:16ab89a495dc588a47662ccf315e42eca693f4b5 19:07:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:07:48 93222e9db408: Preparing 19:07:48 ae0a79249202: Preparing 19:07:48 d86fb88dda38: Preparing 19:07:48 a7c047478653: Preparing 19:07:48 5d3e392a13a0: Preparing 19:07:48 5d3e392a13a0: Layer already exists 19:07:48 93222e9db408: Pushed 19:07:48 ae0a79249202: Pushed 19:07:49 a7c047478653: Pushed 19:07:53 d86fb88dda38: Pushed 19:07:54 16ab89a495dc588a47662ccf315e42eca693f4b5: digest: sha256:8a4cb31c6bdba59551ef5e972b47c778e9d93c848a7c40dd890c336ead46b633 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19: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 19:07:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 19:07:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:07:54 93222e9db408: Preparing 19:07:54 ae0a79249202: Preparing 19:07:54 d86fb88dda38: Preparing 19:07:54 a7c047478653: Preparing 19:07:54 5d3e392a13a0: Preparing 19:07:54 5d3e392a13a0: Layer already exists 19:07:54 93222e9db408: Layer already exists 19:07:54 a7c047478653: Layer already exists 19:07:54 ae0a79249202: Layer already exists 19:07:54 d86fb88dda38: Layer already exists 19:07:54 latest: digest: sha256:8a4cb31c6bdba59551ef5e972b47c778e9d93c848a7c40dd890c336ead46b633 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.30 19:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:07:55 93222e9db408: Preparing 19:07:55 ae0a79249202: Preparing 19:07:55 d86fb88dda38: Preparing 19:07:55 a7c047478653: Preparing 19:07:55 5d3e392a13a0: Preparing 19:07:55 a7c047478653: Layer already exists 19:07:55 d86fb88dda38: Layer already exists 19:07:55 5d3e392a13a0: Layer already exists 19:07:55 93222e9db408: Layer already exists 19:07:55 ae0a79249202: Layer already exists 19:07:55 2.3.0-dev.30: digest: sha256:8a4cb31c6bdba59551ef5e972b47c778e9d93c848a7c40dd890c336ead46b633 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30 19:07:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:07:56 93222e9db408: Preparing 19:07:56 ae0a79249202: Preparing 19:07:56 d86fb88dda38: Preparing 19:07:56 a7c047478653: Preparing 19:07:56 5d3e392a13a0: Preparing 19:07:56 5d3e392a13a0: Layer already exists 19:07:56 a7c047478653: Layer already exists 19:07:56 ae0a79249202: Layer already exists 19:07:56 93222e9db408: Layer already exists 19:07:56 d86fb88dda38: Layer already exists 19:07:56 16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30: digest: sha256:8a4cb31c6bdba59551ef5e972b47c778e9d93c848a7c40dd890c336ead46b633 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 19:07:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 19:07:56 93222e9db408: Preparing 19:07:56 ae0a79249202: Preparing 19:07:56 d86fb88dda38: Preparing 19:07:56 a7c047478653: Preparing 19:07:56 5d3e392a13a0: Preparing 19:07:56 d86fb88dda38: Layer already exists 19:07:56 5d3e392a13a0: Layer already exists 19:07:56 93222e9db408: Layer already exists 19:07:56 ae0a79249202: Layer already exists 19:07:56 a7c047478653: Layer already exists 19:07:56 main: digest: sha256:8a4cb31c6bdba59551ef5e972b47c778e9d93c848a7c40dd890c336ead46b633 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:07:57 ===================================================== [Pipeline] echo 19:07:57 taggedImages: 19:07:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:16ab89a495dc588a47662ccf315e42eca693f4b5 19:07:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 19:07:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.30 19:07:57 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:16ab89a495dc588a47662ccf315e42eca693f4b5-2.3.0-dev.30 19: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 19:07:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:57 19:07:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:57 arm64: Pulling from edgex-lftools-log-publisher 19:07:57 8998bd30e6a1: Pulling fs layer 19:07:57 04944245beec: Pulling fs layer 19:07:57 699f458cf7ca: Pulling fs layer 19:07:57 765212b225bb: Pulling fs layer 19:07:57 f23df028b6ca: Pulling fs layer 19:07:57 d65c8cfc05b1: Pulling fs layer 19:07:57 2437ff75d9bd: Pulling fs layer 19:07:57 765212b225bb: Waiting 19:07:57 f23df028b6ca: Waiting 19:07:57 d65c8cfc05b1: Waiting 19:07:57 2437ff75d9bd: Waiting 19:07:58 04944245beec: Verifying Checksum 19:07:58 04944245beec: Download complete 19:07:58 765212b225bb: Verifying Checksum 19:07:58 765212b225bb: Download complete 19:07:58 f23df028b6ca: Verifying Checksum 19:07:58 f23df028b6ca: Download complete 19:07:58 d65c8cfc05b1: Verifying Checksum 19:07:58 d65c8cfc05b1: Download complete 19:07:58 699f458cf7ca: Verifying Checksum 19:07:58 699f458cf7ca: Download complete 19:07:58 8998bd30e6a1: Verifying Checksum 19:07:58 8998bd30e6a1: Download complete 19:08:01 2437ff75d9bd: Verifying Checksum 19:08:01 2437ff75d9bd: Download complete 19:08:02 8998bd30e6a1: Pull complete 19:08:03 04944245beec: Pull complete 19:08:04 699f458cf7ca: Pull complete 19:08:04 765212b225bb: Pull complete 19:08:05 f23df028b6ca: Pull complete 19:08:05 d65c8cfc05b1: Pull complete 19:08:20 2437ff75d9bd: Pull complete 19:08:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:08:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:08:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:20 prd-ubuntu20.04-docker-arm64-4c-16g-117240 does not seem to be running inside a container 19: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/77 -v /w/workspace/device-mqtt-go/77:/w/workspace/device-mqtt-go/77:rw,z -v /w/workspace/device-mqtt-go/77@tmp:/w/workspace/device-mqtt-go/77@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 19:08:23 $ docker top bc47e408a6ff095920f3eee2193e48e573c12476a21408079cf529fd478c84df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:24 ---> job-cost.sh 19:08:24 lf-activate-venv: SKIPPING 19:08:24 INFO: No Stack... 19:08:24 INFO: Retrieving Pricing Info for: v3-standard-4 19:08:25 INFO: Archiving Costs [Pipeline] sh 19:08:26 + cat /w/workspace/device-mqtt-go/77/archives/cost.csv 19:08:26 + cut -d, -f6 [Pipeline] lock 19:08:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-77-stack-cost] 19:08:26 Resource [jenkins-edgexfoundry-device-mqtt-go-main-77-stack-cost] did not exist. Created. 19:08:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:08:26 /w/workspace/device-mqtt-go/77@tmp/durable-949d8a3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:08:27 + echo total: 0.10999999940395355 [Pipeline] stash 19:08:27 Warning: overwriting stash ‘stack-cost’ 19:08:27 Stashed 1 file(s) [Pipeline] } 19:08:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 19:08:27 $ docker stop --time=1 bc47e408a6ff095920f3eee2193e48e573c12476a21408079cf529fd478c84df 19:08:28 $ docker rm -f bc47e408a6ff095920f3eee2193e48e573c12476a21408079cf529fd478c84df [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 19:08:29 provisioning config files... 19:08:29 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3856619944000042959tmp [Pipeline] { [Pipeline] sh 19:08:29 + set +x 19:08:29 + bash -s -- 19:08:29 + curl -s https://codecov.io/bash 19:08:29 19:08:29 _____ _ 19:08:29 / ____| | | 19:08:29 | | ___ __| | ___ ___ _____ __ 19:08:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:08:29 | |___| (_) | (_| | __/ (_| (_) \ V / 19:08:29 \_____\___/ \__,_|\___|\___\___/ \_/ 19:08:29 Bash-1.0.6 19:08:29 19:08:29 19:08:29 ==> git version 2.25.1 found 19:08:29 ==> 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 19:08:29 Release-Date: 2020-01-08 19:08:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:08:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:08:29 ==> Jenkins CI detected. 19:08:29 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 19:08:29 project root: . 19:08:29 --> token set from env 19:08:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:08:29 ==> Running gcov in . (disable via -X gcov) 19:08:29 ==> Python coveragepy not found 19:08:29 ==> Searching for coverage reports in: 19:08:29 + . 19:08:29 -> Found 1 reports 19:08:29 ==> Detecting git/mercurial file structure 19:08:29 ==> Reading reports 19:08:29 + ./coverage.out bytes=17887 19:08:29 ==> Appending adjustments 19:08:29 https://docs.codecov.io/docs/fixing-reports 19:08:29 + Found adjustments 19:08:29 ==> Gzipping contents 19:08:29 4.0K /tmp/codecov.T9CZL8.gz 19:08:29 ==> Uploading reports 19:08:29 url: https://codecov.io 19:08:29 query: branch=main&commit=16ab89a495dc588a47662ccf315e42eca693f4b5&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:08:29 -> Pinging Codecov 19:08:29 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=16ab89a495dc588a47662ccf315e42eca693f4b5&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:08:30 -> Uploading to 19:08:30 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7D719EC7BBE17E464838252E33014C33/16ab89a495dc588a47662ccf315e42eca693f4b5/3bccdf0d-2428-4a8d-adb4-43fb12e8cd9e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T190829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db33ed4bec7eb3d0e01bb40351263cfb25a4422faf5d4d3bed2fc5acd93a5340 19:08:30 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:30 Dload Upload Total Spent Left Speed 19:08:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 14663 --:--:-- --:--:-- --:--:-- 14663 19:08:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/16ab89a495dc588a47662ccf315e42eca693f4b5 [Pipeline] } 19:08:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:08:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:08:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:30 19:08:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:08:31 df9b9388f04a: Pulling fs layer 19:08:31 52dc419b0ee2: Pulling fs layer 19:08:31 25bc292e5bac: Pulling fs layer 19:08:31 114826534d7a: Pulling fs layer 19:08:31 4657fd5d0bcf: Pulling fs layer 19:08:31 6ad1cebc031e: Pulling fs layer 19:08:31 8a3aa393b2d8: Pulling fs layer 19:08:31 4657fd5d0bcf: Waiting 19:08:31 6ad1cebc031e: Waiting 19:08:31 25bc292e5bac: Verifying Checksum 19:08:31 25bc292e5bac: Download complete 19:08:31 52dc419b0ee2: Verifying Checksum 19:08:31 52dc419b0ee2: Download complete 19:08:31 4657fd5d0bcf: Verifying Checksum 19:08:31 4657fd5d0bcf: Download complete 19:08:31 df9b9388f04a: Verifying Checksum 19:08:31 df9b9388f04a: Download complete 19:08:31 df9b9388f04a: Pull complete 19:08:31 6ad1cebc031e: Verifying Checksum 19:08:31 6ad1cebc031e: Download complete 19:08:31 52dc419b0ee2: Pull complete 19:08:31 25bc292e5bac: Pull complete 19:08:31 114826534d7a: Verifying Checksum 19:08:31 114826534d7a: Download complete 19:08:31 8a3aa393b2d8: Verifying Checksum 19:08:31 8a3aa393b2d8: Download complete 19:08:35 114826534d7a: Pull complete 19:08:35 4657fd5d0bcf: Pull complete 19:08:35 6ad1cebc031e: Pull complete 19:08:37 8a3aa393b2d8: Pull complete 19:08:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:08:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:37 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 19:08:37 $ 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 19:08:39 $ docker top 87918cfa0eaf5b806f26a4b078113a6961572ca611660d5eb1ff9e5250bbf76a -eo pid,comm [Pipeline] { [Pipeline] echo 19:08:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 19:08:39 + set -o pipefail 19:08:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 19:08:45 19:08:45 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 19:08:45 19:08:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/119d94ca-36e3-46e0-a25c-609f46c242c4 19:08:45 19:08:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:08:45 19:08:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:08:45 19:08:45 19:08:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:08:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:08:45 More details here: https://snyk.co/ue1NS [Pipeline] } 19:08:45 $ docker stop --time=1 87918cfa0eaf5b806f26a4b078113a6961572ca611660d5eb1ff9e5250bbf76a 19:08:47 $ docker rm -f 87918cfa0eaf5b806f26a4b078113a6961572ca611660d5eb1ff9e5250bbf76a [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 19:08:47 + git log --format=format:%s -1 16ab89a495dc588a47662ccf315e42eca693f4b5 [Pipeline] sh 19:08:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:08:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:48 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 19:08:48 $ 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 19:08:48 $ docker top 210917ea853b0f3b7a55320f7a47b2ace71fc5e55180f0436acb515b7edbf985 -eo pid,comm 19:08:48 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). 19:08:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:48 [ssh-agent] Looking for ssh-agent implementation... 19:08:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:49 $ docker exec 210917ea853b0f3b7a55320f7a47b2ace71fc5e55180f0436acb515b7edbf985 ssh-agent 19:08:49 SSH_AUTH_SOCK=/tmp/ssh-JoTwNtp01dGs/agent.33 19:08:49 SSH_AGENT_PID=39 19:08:49 Running ssh-add (command line suppressed) 19:08:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8773229000156157289.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8773229000156157289.key) 19:08:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:49 + git semver tag 19:08:49 2022-10-26 19:08:49,807 [run_tag] DEBUG tag force:False 19:08:49 2022-10-26 19:08:49,807 [check_head_tag] DEBUG check head tag 19:08:49 2022-10-26 19:08:49,808 [execute] INFO git cat-file --batch-check 19:08:49 2022-10-26 19:08:49,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 19:08:49 2022-10-26 19:08:49,812 [execute] INFO git cat-file --batch 19:08:49 2022-10-26 19:08:49,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 19:08:49 2022-10-26 19:08:49,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:08:49 2022-10-26 19:08:49,828 [execute] INFO git tag -a v2.3.0-dev.30 -m v2.3.0-dev.30 19:08:49 2022-10-26 19:08:49,828 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.30', '-m', 'v2.3.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 19:08:49 2022-10-26 19:08:49,831 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:08:49 2.3.0-dev.30 [Pipeline] } 19:08:49 $ docker exec --env ******** --env ******** 210917ea853b0f3b7a55320f7a47b2ace71fc5e55180f0436acb515b7edbf985 ssh-agent -k 19:08:49 unset SSH_AUTH_SOCK; 19:08:49 unset SSH_AGENT_PID; 19:08:49 echo Agent pid 39 killed; 19:08:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:50 + git semver [Pipeline] } 19:08:50 $ docker stop --time=1 210917ea853b0f3b7a55320f7a47b2ace71fc5e55180f0436acb515b7edbf985 19:08:51 $ docker rm -f 210917ea853b0f3b7a55320f7a47b2ace71fc5e55180f0436acb515b7edbf985 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:08:52 19:08:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:08:52 0.23.1-centos7: Pulling from edgex-lftools 19:08:52 ab5ef0e58194: Pulling fs layer 19:08:52 9712f1f96733: Pulling fs layer 19:08:52 63f879dbbcfc: Pulling fs layer 19:08:52 0d9ebad4ef96: Pulling fs layer 19:08:52 e9a5061849ea: Pulling fs layer 19:08:52 d747dcd14b5f: Pulling fs layer 19:08:52 2de7ff778b66: Pulling fs layer 19:08:52 2de7ff778b66: Waiting 19:08:52 e9a5061849ea: Waiting 19:08:52 d747dcd14b5f: Waiting 19:08:52 0d9ebad4ef96: Waiting 19:08:52 9712f1f96733: Verifying Checksum 19:08:52 9712f1f96733: Download complete 19:08:52 63f879dbbcfc: Verifying Checksum 19:08:52 63f879dbbcfc: Download complete 19:08:53 e9a5061849ea: Verifying Checksum 19:08:53 e9a5061849ea: Download complete 19:08:53 d747dcd14b5f: Verifying Checksum 19:08:53 d747dcd14b5f: Download complete 19:08:53 ab5ef0e58194: Download complete 19:08:53 0d9ebad4ef96: Verifying Checksum 19:08:53 0d9ebad4ef96: Download complete 19:08:53 2de7ff778b66: Verifying Checksum 19:08:53 2de7ff778b66: Download complete 19:08:55 ab5ef0e58194: Pull complete 19:08:55 9712f1f96733: Pull complete 19:08:56 63f879dbbcfc: Pull complete 19:08:59 0d9ebad4ef96: Pull complete 19:08:59 e9a5061849ea: Pull complete 19:08:59 d747dcd14b5f: Pull complete 19:09:00 2de7ff778b66: Pull complete 19:09:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:09:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:09:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:00 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 19:09:00 $ 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 19:09:02 $ docker top 56c643657a6f1239c27dcc7700da06cdc58205829761d2b17cc1ddadd8477db7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:09:02 provisioning config files... 19:09:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1437734094257977652tmp 19:09:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14652948823864342468tmp 19:09:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8513077662022473534tmp [Pipeline] { [Pipeline] echo 19:09:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:09:03 ---> sigul-configuration.sh 19:09:03 gpg: directory `/root/.gnupg' created 19:09:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:09:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:09:03 gpg: keyring `/root/.gnupg/secring.gpg' created 19:09:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:09:03 gpg: CAST5 encrypted data 19:09:03 gpg: encrypted with 1 passphrase 19:09:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:09:03 + mkdir /home/jenkins 19:09:03 + mkdir /home/jenkins/sigul [Pipeline] sh 19:09:03 + 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 19:09:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:09:03 ---> sigul-install.sh 19:09:03 Sigul already installed; skipping installation. [Pipeline] sh 19:09:04 + git tag --list 19:09:04 0.7.1 19:09:04 v1.0.0 19:09:04 v1.1.0 19:09:04 v1.1.1 19:09:04 v1.2.2 19:09:04 v1.3.0 19:09:04 v1.3.1 19:09:04 v2.0.0 19:09:04 v2.1.0 19:09:04 v2.1.1 19:09:04 v2.1.1-dev.1 19:09:04 v2.1.1-dev.2 19:09:04 v2.2.0 19:09:04 v2.2.1-dev.1 19:09:04 v2.2.1-dev.10 19:09:04 v2.2.1-dev.2 19:09:04 v2.2.1-dev.3 19:09:04 v2.2.1-dev.4 19:09:04 v2.2.1-dev.5 19:09:04 v2.2.1-dev.6 19:09:04 v2.2.1-dev.7 19:09:04 v2.2.1-dev.8 19:09:04 v2.2.1-dev.9 19:09:04 v2.3.0-dev.10 19:09:04 v2.3.0-dev.11 19:09:04 v2.3.0-dev.12 19:09:04 v2.3.0-dev.13 19:09:04 v2.3.0-dev.14 19:09:04 v2.3.0-dev.15 19:09:04 v2.3.0-dev.16 19:09:04 v2.3.0-dev.17 19:09:04 v2.3.0-dev.18 19:09:04 v2.3.0-dev.19 19:09:04 v2.3.0-dev.20 19:09:04 v2.3.0-dev.21 19:09:04 v2.3.0-dev.22 19:09:04 v2.3.0-dev.23 19:09:04 v2.3.0-dev.24 19:09:04 v2.3.0-dev.25 19:09:04 v2.3.0-dev.26 19:09:04 v2.3.0-dev.27 19:09:04 v2.3.0-dev.28 19:09:04 v2.3.0-dev.29 19:09:04 v2.3.0-dev.30 [Pipeline] sh 19:09:04 + lftools sign git-tag v2.3.0-dev.30 19:09:05 Signing Git tag with Sigul... 19:09:05 Signing v2.3.0-dev.30 [Pipeline] echo 19:09:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:09:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:09:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:09:05 $ docker stop --time=1 56c643657a6f1239c27dcc7700da06cdc58205829761d2b17cc1ddadd8477db7 19:09:06 $ docker rm -f 56c643657a6f1239c27dcc7700da06cdc58205829761d2b17cc1ddadd8477db7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:09:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:09:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:07 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 19:09:07 $ 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 19:09:08 $ docker top 2990bdfec4c52e06c045732b3bd99edfaa367f04712ac25adafd5bfc710a05f1 -eo pid,comm 19:09:08 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). 19:09:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:08 [ssh-agent] Looking for ssh-agent implementation... 19:09:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:08 $ docker exec 2990bdfec4c52e06c045732b3bd99edfaa367f04712ac25adafd5bfc710a05f1 ssh-agent 19:09:08 SSH_AUTH_SOCK=/tmp/ssh-uFlZEk960gD7/agent.31 19:09:08 SSH_AGENT_PID=37 19:09:08 Running ssh-add (command line suppressed) 19:09:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17196813821063675598.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17196813821063675598.key) 19:09:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:08 + git semver bump pre 19:09:09 2022-10-26 19:09:09,025 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:09:09 2022-10-26 19:09:09,026 [bump_version] DEBUG bumping version:2.3.0-dev.30 on axis:pre with prefix:dev 19:09:09 2022-10-26 19:09:09,026 [bump_version] DEBUG bumped version:2.3.0-dev.31 19:09:09 2022-10-26 19:09:09,026 [write_version] DEBUG write version:2.3.0-dev.31 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 19:09:09 2022-10-26 19:09:09,026 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:09:09 2022-10-26 19:09:09,026 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:09:09 2022-10-26 19:09:09,028 [execute] INFO git cat-file --batch-check 19:09:09 2022-10-26 19:09:09,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:09:09 2022-10-26 19:09:09,032 [execute] INFO git cat-file --batch 19:09:09 2022-10-26 19:09:09,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:09:09 2022-10-26 19:09:09,037 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:09:09 2.3.0-dev.31 [Pipeline] } 19:09:09 $ docker exec --env ******** --env ******** 2990bdfec4c52e06c045732b3bd99edfaa367f04712ac25adafd5bfc710a05f1 ssh-agent -k 19:09:09 unset SSH_AUTH_SOCK; 19:09:09 unset SSH_AGENT_PID; 19:09:09 echo Agent pid 37 killed; 19:09:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:09 + git semver [Pipeline] } 19:09:09 $ docker stop --time=1 2990bdfec4c52e06c045732b3bd99edfaa367f04712ac25adafd5bfc710a05f1 19:09:11 $ docker rm -f 2990bdfec4c52e06c045732b3bd99edfaa367f04712ac25adafd5bfc710a05f1 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:09:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:09:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:11 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 19:09:11 $ 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 19:09:12 $ docker top b00f6bb04a52c212970e547cdca76800c804156472d16acb3148a9cf60fa1b66 -eo pid,comm 19:09:12 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). 19:09:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:09:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:09:12 [ssh-agent] Looking for ssh-agent implementation... 19:09:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:09:12 $ docker exec b00f6bb04a52c212970e547cdca76800c804156472d16acb3148a9cf60fa1b66 ssh-agent 19:09:12 SSH_AUTH_SOCK=/tmp/ssh-t5sOE625Vj4n/agent.32 19:09:12 SSH_AGENT_PID=38 19:09:12 Running ssh-add (command line suppressed) 19:09:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12061782390347980330.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12061782390347980330.key) 19:09:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:09:12 + git semver push 19:09:13 2022-10-26 19:09:13,081 [run_push] DEBUG push 19:09:13 2022-10-26 19:09:13,081 [execute] INFO git cat-file --batch-check 19:09:13 2022-10-26 19:09:13,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:09:13 2022-10-26 19:09:13,084 [execute] INFO git rev-list 96e6a448dfa2d6d846dc120e64eeb38fd6c5d14c -- 19:09:13 2022-10-26 19:09:13,085 [execute] DEBUG Popen(['git', 'rev-list', '96e6a448dfa2d6d846dc120e64eeb38fd6c5d14c', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:09:13 2022-10-26 19:09:13,091 [execute] INFO git fetch -v origin 19:09:13 2022-10-26 19:09:13,091 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:09:13 2022-10-26 19:09:13,688 [run_push] DEBUG no remote changes detected 19:09:13 2022-10-26 19:09:13,688 [execute] INFO git push origin semver 19:09:13 2022-10-26 19:09:13,689 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:09:14 2022-10-26 19:09:14,530 [run_push] DEBUG push all version tags 19:09:14 2022-10-26 19:09:14,531 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:09:14 2022-10-26 19:09:14,531 [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) 19:09:15 2022-10-26 19:09:15,319 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 19:09:15 2.3.0-dev.31 [Pipeline] } 19:09:15 $ docker exec --env ******** --env ******** b00f6bb04a52c212970e547cdca76800c804156472d16acb3148a9cf60fa1b66 ssh-agent -k 19:09:15 unset SSH_AUTH_SOCK; 19:09:15 unset SSH_AGENT_PID; 19:09:15 echo Agent pid 38 killed; 19:09:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:16 + git semver [Pipeline] } 19:09:16 $ docker stop --time=1 b00f6bb04a52c212970e547cdca76800c804156472d16acb3148a9cf60fa1b66 19:09:17 $ docker rm -f b00f6bb04a52c212970e547cdca76800c804156472d16acb3148a9cf60fa1b66 [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 19:09:18 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 19:09:18 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:09:18 total 16 19:09:18 drwxr-xr-x 3 root root 4096 Oct 26 17:02 . 19:09:18 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:09 .. 19:09:18 drwxr-xr-x 2 root root 4096 Oct 26 17:02 cost 19:09:18 -rw-r--r-- 1 root root 85 Oct 26 17:02 cost.csv 19:09:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:09:18 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 19:09:18 total 16 19:09:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 17:02 . 19:09:18 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:09 .. 19:09:18 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 17:02 cost 19:09:18 -rw-r--r-- 1 jenkins jenkins 85 Oct 26 17:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:09:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:09:19 ---> package-listing.sh 19:09:19 ++ facter osfamily 19:09:19 ++ tr '[:upper:]' '[:lower:]' 19:09:19 + OS_FAMILY=debian 19:09:19 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 19:09:19 + START_PACKAGES=/tmp/packages_start.txt 19:09:19 + END_PACKAGES=/tmp/packages_end.txt 19:09:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:09:19 + PACKAGES=/tmp/packages_start.txt 19:09:19 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 19:09:19 + PACKAGES=/tmp/packages_end.txt 19:09:19 + case "${OS_FAMILY}" in 19:09:19 + dpkg -l 19:09:19 + grep '^ii' 19:09:19 + '[' -f /tmp/packages_start.txt ']' 19:09:19 + '[' -f /tmp/packages_end.txt ']' 19:09:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:09:19 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 19:09:19 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 19:09:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 19:09:19 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 19:09:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:20 prd-ubuntu20.04-docker-8c-8g-117196 does not seem to be running inside a container 19:09:20 $ 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 19:09:20 $ docker top e7ce8906c3e62d37e03232d299f4ecf9a7fd0b2cf5e1776460a32033cdfc4ea2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:20 + touch /tmp/pre-build-complete [Pipeline] sh 19:09:21 + mkdir -p /var/log/sysstat [Pipeline] sh 19:09:21 + ls /var/log/sa-host 19:09:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:09:21 provisioning config files... 19:09:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1407305650715107674tmp [Pipeline] { [Pipeline] echo 19:09:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:09:21 ---> create-netrc.sh [Pipeline] } 19:09:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:09:22 ---> python-tools-install.sh [Pipeline] echo 19:09:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:09:22 ---> sudo-logs.sh 19:09:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:09:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:09:22 ---> job-cost.sh 19:09:22 lf-activate-venv: SKIPPING 19:09:22 DEBUG: total: 0.2199999988079071 19:09:22 INFO: Retrieving Stack Cost... 19:09:23 INFO: Retrieving Pricing Info for: v3-standard-8 19:09:23 INFO: Archiving Costs [Pipeline] echo 19:09:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:09:23 ---> logs-deploy.sh 19:09:23 lf-activate-venv: SKIPPING 19:09:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/77 19:09:23 INFO: archiving workspace using pattern(s): 19:09:24 Archives upload complete. 19:09:24 INFO: archiving logs to Nexus