Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 11292522a1b172e39acbcf030b4ae47cdeea6eca 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-ssh5975872520984705840.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-ssh13345358107665449267.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-ssh8593572842458497698.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-ssh12421129934222519040.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-ssh3884240749223154520.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 Running on prd-ubuntu20.04-docker-8c-8g-9068 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 11292522a1b172e39acbcf030b4ae47cdeea6eca (main) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#428)" > 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 11292522a1b172e39acbcf030b4ae47cdeea6eca # timeout=10 > git rev-list --no-walk 876c9416ffc935a90670260e62a4531013ff8eb5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:54:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:54:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:54:16 ========================================================= 03:54:16 EdgeX Global Pipelines Version Info 03:54:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:54:17 ------------------- 03:54:17 stable info: 03:54:17 ------------------- 03:54:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:54:17 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 03:54:17 Message: update stable to v1.0.243 03:54:17 ------------------- 03:54:17 experimental info: 03:54:17 ------------------- 03:54:17 Commited By: **** collab-it+edgex@linuxfoundation.org 03:54:17 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 03:54:17 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:54:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:54:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:54:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:54:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:54:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:54:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11292522a1b172e39acbcf030b4ae47cdeea6eca [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1129252 [Pipeline] echo 03:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:54:18 provisioning config files... 03:54:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10811097097069350613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:18 ---> docker-login.sh 03:54:18 nexus3.edgexfoundry.org:10001 03:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:19 Configure a credential helper to remove this warning. See 03:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:19 03:54:19 Login Succeeded 03:54:19 nexus3.edgexfoundry.org:10002 03:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:19 Configure a credential helper to remove this warning. See 03:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:19 03:54:19 Login Succeeded 03:54:19 nexus3.edgexfoundry.org:10003 03:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:19 Configure a credential helper to remove this warning. See 03:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:19 03:54:19 Login Succeeded 03:54:19 nexus3.edgexfoundry.org:10004 03:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:19 Configure a credential helper to remove this warning. See 03:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:19 03:54:19 Login Succeeded 03:54:19 docker.io 03:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:20 Configure a credential helper to remove this warning. See 03:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:20 03:54:20 Login Succeeded 03:54:20 ---> docker-login.sh ends [Pipeline] } 03:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:54:20 + git rev-list -1 --merges 11292522a1b172e39acbcf030b4ae47cdeea6eca~1..11292522a1b172e39acbcf030b4ae47cdeea6eca [Pipeline] echo 03:54:20 -----------> git rev-list -1 --merges 11292522a1b172e39acbcf030b4ae47cdeea6eca~1..11292522a1b172e39acbcf030b4ae47cdeea6eca 11292522a1b172e39acbcf030b4ae47cdeea6eca [false] [Pipeline] sh 03:54:20 + git log --format=format:%s -1 11292522a1b172e39acbcf030b4ae47cdeea6eca [Pipeline] echo 03:54:20 ========================================================= 03:54:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:54:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:54:21 + git log --format=format:%s -1 11292522a1b172e39acbcf030b4ae47cdeea6eca [Pipeline] echo 03:54:21 [semverPrep] GIT_COMMIT: 11292522a1b172e39acbcf030b4ae47cdeea6eca, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#428) [Pipeline] echo 03:54:21 [semverPrep] This is not a build commit. [Pipeline] sh 03:54:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:54:21 + grep -v github /etc/ssh/ssh_known_hosts 03:54:21 + [ -e /tmp/ssh_known_hosts ] 03:54:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:54:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:54:21 + sudo tee -a /etc/ssh/ssh_known_hosts 03:54:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:54:21 03:54:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:54:22 0.1.4: Pulling from edgex-devops/py-git-semver 03:54:22 b85a868b505f: Pulling fs layer 03:54:22 e2be974225ed: Pulling fs layer 03:54:22 339a4e72a1f5: Pulling fs layer 03:54:22 988bab9f4d93: Pulling fs layer 03:54:22 1469e6f7b9e6: Pulling fs layer 03:54:22 eaf3925da568: Pulling fs layer 03:54:22 bab4dde63d76: Pulling fs layer 03:54:22 988bab9f4d93: Waiting 03:54:22 bde34c3a00c8: Pulling fs layer 03:54:22 b352a97aabf1: Pulling fs layer 03:54:22 4872d77fe225: Pulling fs layer 03:54:22 5851b861e8e6: Pulling fs layer 03:54:22 bab4dde63d76: Waiting 03:54:22 eaf3925da568: Waiting 03:54:22 4872d77fe225: Waiting 03:54:22 bde34c3a00c8: Waiting 03:54:22 5851b861e8e6: Waiting 03:54:22 b352a97aabf1: Waiting 03:54:22 1469e6f7b9e6: Waiting 03:54:22 e2be974225ed: Verifying Checksum 03:54:22 e2be974225ed: Download complete 03:54:22 988bab9f4d93: Verifying Checksum 03:54:22 988bab9f4d93: Download complete 03:54:22 1469e6f7b9e6: Verifying Checksum 03:54:22 1469e6f7b9e6: Download complete 03:54:22 eaf3925da568: Verifying Checksum 03:54:22 eaf3925da568: Download complete 03:54:22 339a4e72a1f5: Verifying Checksum 03:54:22 339a4e72a1f5: Download complete 03:54:22 bde34c3a00c8: Verifying Checksum 03:54:22 bde34c3a00c8: Download complete 03:54:22 b352a97aabf1: Verifying Checksum 03:54:22 b352a97aabf1: Download complete 03:54:22 4872d77fe225: Verifying Checksum 03:54:22 4872d77fe225: Download complete 03:54:22 5851b861e8e6: Download complete 03:54:22 b85a868b505f: Verifying Checksum 03:54:22 b85a868b505f: Download complete 03:54:22 bab4dde63d76: Verifying Checksum 03:54:22 bab4dde63d76: Download complete 03:54:23 b85a868b505f: Pull complete 03:54:23 e2be974225ed: Pull complete 03:54:24 339a4e72a1f5: Pull complete 03:54:24 988bab9f4d93: Pull complete 03:54:24 1469e6f7b9e6: Pull complete 03:54:24 eaf3925da568: Pull complete 03:54:26 bab4dde63d76: Pull complete 03:54:26 bde34c3a00c8: Pull complete 03:54:26 b352a97aabf1: Pull complete 03:54:26 4872d77fe225: Pull complete 03:54:26 5851b861e8e6: Pull complete 03:54:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:54:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:26 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 03:54:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:54:27 $ docker top 6271d31f01d7aee594311fa1bcb1e20f4345ec7a0bce3a93fe55992f7444b4f2 -eo pid,comm 03:54:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:54:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:54:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:54:28 [ssh-agent] Looking for ssh-agent implementation... 03:54:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:54:28 $ docker exec 6271d31f01d7aee594311fa1bcb1e20f4345ec7a0bce3a93fe55992f7444b4f2 ssh-agent 03:54:28 SSH_AUTH_SOCK=/tmp/ssh-nN1Rrt2PGbdD/agent.32 03:54:28 SSH_AGENT_PID=38 03:54:28 Running ssh-add (command line suppressed) 03:54:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15068312167587022010.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15068312167587022010.key) 03:54:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:54:28 + git tag --points-at HEAD [Pipeline] } 03:54:28 $ docker exec --env ******** --env ******** 6271d31f01d7aee594311fa1bcb1e20f4345ec7a0bce3a93fe55992f7444b4f2 ssh-agent -k 03:54:28 unset SSH_AUTH_SOCK; 03:54:28 unset SSH_AGENT_PID; 03:54:28 echo Agent pid 38 killed; 03:54:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:54:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:54:28 [ssh-agent] Looking for ssh-agent implementation... 03:54:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:54:28 $ docker exec 6271d31f01d7aee594311fa1bcb1e20f4345ec7a0bce3a93fe55992f7444b4f2 ssh-agent 03:54:29 SSH_AUTH_SOCK=/tmp/ssh-KT6yC1AYfxIC/agent.70 03:54:29 SSH_AGENT_PID=76 03:54:29 Running ssh-add (command line suppressed) 03:54:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12538427225584124713.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12538427225584124713.key) 03:54:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:54:29 + git semver init 03:54:29 2022-10-24 03:54:29,670 [run_init] DEBUG init version:0.0.0 force:False 03:54:29 2022-10-24 03:54:29,671 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:54:29 2022-10-24 03:54:29,671 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:54:29 2022-10-24 03:54:29,672 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 03:54:30 2022-10-24 03:54:30,545 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 03:54:30 2022-10-24 03:54:30,546 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 03:54:30 2022-10-24 03:54:30,546 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:54:30 2022-10-24 03:54:30,546 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 03:54:30 2.3.0-dev.27 [Pipeline] } 03:54:30 $ docker exec --env ******** --env ******** 6271d31f01d7aee594311fa1bcb1e20f4345ec7a0bce3a93fe55992f7444b4f2 ssh-agent -k 03:54:30 unset SSH_AUTH_SOCK; 03:54:30 unset SSH_AGENT_PID; 03:54:30 echo Agent pid 76 killed; 03:54:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:54:31 + git semver [Pipeline] } 03:54:31 $ docker stop --time=1 6271d31f01d7aee594311fa1bcb1e20f4345ec7a0bce3a93fe55992f7444b4f2 03:54:32 $ docker rm -f 6271d31f01d7aee594311fa1bcb1e20f4345ec7a0bce3a93fe55992f7444b4f2 [Pipeline] // withDockerContainer [Pipeline] sh 03:54:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:54:33 Stashed 1 file(s) [Pipeline] echo 03:54:33 [edgeXSemver]: initialized semver on version 2.3.0-dev.27 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:54:33 provisioning config files... 03:54:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6528796863428303844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:33 ---> docker-login.sh 03:54:33 nexus3.edgexfoundry.org:10001 03:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:33 Configure a credential helper to remove this warning. See 03:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:33 03:54:33 Login Succeeded 03:54:33 nexus3.edgexfoundry.org:10002 03:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:33 Configure a credential helper to remove this warning. See 03:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:33 03:54:33 Login Succeeded 03:54:33 nexus3.edgexfoundry.org:10003 03:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:33 Configure a credential helper to remove this warning. See 03:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:33 03:54:33 Login Succeeded 03:54:33 nexus3.edgexfoundry.org:10004 03:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:33 Configure a credential helper to remove this warning. See 03:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:33 03:54:33 Login Succeeded 03:54:33 docker.io 03:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:34 Configure a credential helper to remove this warning. See 03:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:34 03:54:34 Login Succeeded 03:54:34 ---> docker-login.sh ends [Pipeline] } 03:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:54:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:54:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:54:34 ========================================================= 03:54:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:54:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:54:34 Sending build context to Docker daemon 6.198MB 03:54:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:54:34 Step 2/13 : FROM ${BASE} AS builder 03:54:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:54:34 213ec9aee27d: Pulling fs layer 03:54:34 4583459ba037: Pulling fs layer 03:54:34 93c1e223e6f2: Pulling fs layer 03:54:34 53926ce57604: Pulling fs layer 03:54:34 21b2b0c7a3f4: Pulling fs layer 03:54:34 30f14e443154: Pulling fs layer 03:54:34 801331c1e519: Pulling fs layer 03:54:34 99cc6dd402b0: Pulling fs layer 03:54:34 7d9ed39f4882: Pulling fs layer 03:54:34 30f14e443154: Waiting 03:54:34 801331c1e519: Waiting 03:54:34 53926ce57604: Waiting 03:54:34 99cc6dd402b0: Waiting 03:54:34 7d9ed39f4882: Waiting 03:54:34 21b2b0c7a3f4: Waiting 03:54:34 93c1e223e6f2: Verifying Checksum 03:54:34 93c1e223e6f2: Download complete 03:54:34 4583459ba037: Download complete 03:54:34 21b2b0c7a3f4: Verifying Checksum 03:54:34 21b2b0c7a3f4: Download complete 03:54:34 30f14e443154: Verifying Checksum 03:54:34 30f14e443154: Download complete 03:54:35 213ec9aee27d: Verifying Checksum 03:54:35 213ec9aee27d: Download complete 03:54:35 801331c1e519: Verifying Checksum 03:54:35 801331c1e519: Download complete 03:54:35 213ec9aee27d: Pull complete 03:54:35 4583459ba037: Pull complete 03:54:35 93c1e223e6f2: Pull complete 03:54:35 7d9ed39f4882: Verifying Checksum 03:54:35 7d9ed39f4882: Download complete 03:54:35 99cc6dd402b0: Verifying Checksum 03:54:35 99cc6dd402b0: Download complete 03:54:35 53926ce57604: Verifying Checksum 03:54:35 53926ce57604: Download complete 03:54:40 53926ce57604: Pull complete 03:54:40 21b2b0c7a3f4: Pull complete 03:54:40 30f14e443154: Pull complete 03:54:40 801331c1e519: Pull complete 03:54:42 99cc6dd402b0: Pull complete 03:54:42 7d9ed39f4882: Pull complete 03:54:42 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 03:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:54:42 ---> 1dedd983c030 03:54:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:54:44 ---> Running in bcef6f4de105 03:54:44 Removing intermediate container bcef6f4de105 03:54:44 ---> 7ad7788c340e 03:54:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:54:44 ---> Running in b14c24864935 03:54:44 Removing intermediate container b14c24864935 03:54:44 ---> db1b45d5df6a 03:54:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:54:44 ---> Running in 0185d0703012 03:54:44 Removing intermediate container 0185d0703012 03:54:44 ---> ca9acae0be7d 03:54:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:54:44 ---> Running in 281701930a6c 03:54:44 Removing intermediate container 281701930a6c 03:54:44 ---> f986e994d7d7 03:54:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:54:44 ---> Running in 432ac4d532a9 03:54:45 Removing intermediate container 432ac4d532a9 03:54:45 ---> bc847effcb16 03:54:45 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:54:45 ---> Running in a2ffbc8d0275 03:54:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:54:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:54:46 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:54:46 (2/4) Installing libedit (20210910.3.1-r0) 03:54:46 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:54:46 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:54:47 Executing busybox-1.35.0-r17.trigger 03:54:47 OK: 216 MiB in 55 packages 03:54:47 Removing intermediate container a2ffbc8d0275 03:54:47 ---> 7d25a0140047 03:54:47 Step 9/13 : WORKDIR /device-mqtt-go 03:54:47 ---> Running in 04545f6d910f 03:54:47 Removing intermediate container 04545f6d910f 03:54:47 ---> 35b4dcff7d80 03:54:47 Step 10/13 : COPY go.mod vendor* ./ 03:54:47 ---> 4dd6bd0cea42 03:54:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:54:47 ---> Running in 684524e84d43 03:54:48 Still waiting to schedule task 03:54:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:55:02 Removing intermediate container 684524e84d43 03:55:02 ---> 44043756aa75 03:55:02 Step 12/13 : COPY . . 03:55:02 ---> ba7fd95c631a 03:55:02 Step 13/13 : RUN $MAKE 03:55:02 ---> Running in f2904b845fa2 03:55:02 noop 03:55:02 Removing intermediate container f2904b845fa2 03:55:02 ---> 5d991eb9431b 03:55:02 Successfully built 5d991eb9431b 03:55:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:03 + docker inspect -f . ci-base-image-x86_64 03:55:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:03 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 03:55:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:55:03 $ docker top a9b6dbc721c3ee67ecc87847f03b07931d25ad198182ec44b4efc31699d518ad -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:04 + go version 03:55:04 go version go1.18.7 linux/amd64 [Pipeline] } 03:55:04 $ docker stop --time=1 a9b6dbc721c3ee67ecc87847f03b07931d25ad198182ec44b4efc31699d518ad 03:55:05 $ docker rm -f a9b6dbc721c3ee67ecc87847f03b07931d25ad198182ec44b4efc31699d518ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:06 + docker inspect -f . ci-base-image-x86_64 03:55:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:06 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 03:55:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:55:06 $ docker top 8f6c03cc7cf48575b5fcdb60a90eb467983d6c01c6b07de97f4afed9ce868a7a -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 03:55:07 + make test 03:55:07 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:55:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:55:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:55:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 03:55:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:55:26 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 03:55:26 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:55:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:55:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:55:28 ./bin/test-attribution-txt.sh [Pipeline] echo 03:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:55:28 $ docker stop --time=1 8f6c03cc7cf48575b5fcdb60a90eb467983d6c01c6b07de97f4afed9ce868a7a 03:55:30 $ docker rm -f 8f6c03cc7cf48575b5fcdb60a90eb467983d6c01c6b07de97f4afed9ce868a7a [Pipeline] // withDockerContainer [Pipeline] sh 03:55:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:55:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:55:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:55:32 + ls -al . 03:55:32 total 184 03:55:32 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 03:55 . 03:55:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:54 .. 03:55:32 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 03:54 .dockerignore 03:55:32 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:55 .git 03:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:54 .github 03:55:32 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 03:54 .gitignore 03:55:32 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 03:54 .golangci.yml 03:55:32 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:54 .semver 03:55:32 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 03:54 Attribution.txt 03:55:32 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 03:54 CHANGELOG.md 03:55:32 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 03:54 Dockerfile 03:55:32 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:54 GOVERNANCE.md 03:55:32 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 03:54 Jenkinsfile 03:55:32 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 03:54 LICENSE 03:55:32 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 03:54 Makefile 03:55:32 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 03:54 OWNERS.md 03:55:32 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 03:54 README.md 03:55:32 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 03:54 VERSION 03:55:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:54 bin 03:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:54 cmd 03:55:32 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 03:55 coverage.out 03:55:32 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 03:54 go.mod 03:55:32 -rw-rw-r-- 1 jenkins jenkins 38123 Oct 24 03:54 go.sum 03:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:54 internal 03:55:32 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:54 mock 03:55:32 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:54 snap 03:55:32 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 03:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:32 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=11292522a1b172e39acbcf030b4ae47cdeea6eca --label arch=amd64 --label version=2.3.0-dev.27 . 03:55:32 Sending build context to Docker daemon 6.217MB 03:55:32 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 03:55:32 Step 2/25 : FROM ${BASE} AS builder 03:55:32 ---> 5d991eb9431b 03:55:32 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:55:32 ---> Running in dbb568ee2c0a 03:55:32 Removing intermediate container dbb568ee2c0a 03:55:32 ---> 22daef646f93 03:55:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:55:32 ---> Running in 030700ba4f16 03:55:32 Removing intermediate container 030700ba4f16 03:55:32 ---> 7742bde553c2 03:55:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:55:32 ---> Running in 57bd22ae6f1c 03:55:32 Removing intermediate container 57bd22ae6f1c 03:55:32 ---> a63af1b6f78c 03:55:32 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:55:32 ---> Running in 888e80e7c261 03:55:32 Removing intermediate container 888e80e7c261 03:55:32 ---> 58f65eef7e33 03:55:32 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:55:32 ---> Running in dbff93a8a5a5 03:55:33 Removing intermediate container dbff93a8a5a5 03:55:33 ---> 2a824e624606 03:55:33 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:55:33 ---> Running in 4cb9d7526e4c 03:55:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:55:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:55:34 OK: 216 MiB in 55 packages 03:55:35 Removing intermediate container 4cb9d7526e4c 03:55:35 ---> e0204635c9b7 03:55:35 Step 9/25 : WORKDIR /device-mqtt-go 03:55:35 ---> Running in 0f6da0dbdc1f 03:55:35 Removing intermediate container 0f6da0dbdc1f 03:55:35 ---> aa28828d238e 03:55:35 Step 10/25 : COPY go.mod vendor* ./ 03:55:35 ---> 3149c482aa60 03:55:35 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:35 ---> Running in 19e7cbb5d114 03:55:36 Removing intermediate container 19e7cbb5d114 03:55:36 ---> 98438e304b17 03:55:36 Step 12/25 : COPY . . 03:55:36 ---> 79cdeba3f812 03:55:36 Step 13/25 : RUN $MAKE 03:55:36 ---> Running in f03ee164cb94 03:55:36 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.27" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 03:55:58 Removing intermediate container f03ee164cb94 03:55:58 ---> 2a3d438168e2 03:55:58 Step 14/25 : FROM alpine:3.16 03:55:58 3.16: Pulling from library/alpine 03:55:58 213ec9aee27d: Already exists 03:55:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:55:59 Status: Downloaded newer image for alpine:3.16 03:55:59 ---> 9c6f07244728 03:55:59 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:55:59 ---> Running in d3a1bb3723ca 03:55:59 Removing intermediate container d3a1bb3723ca 03:55:59 ---> 6c6e322ea995 03:55:59 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:55:59 ---> Running in c9516ff68dcc 03:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:55:59 (1/6) Installing dumb-init (1.2.5-r1) 03:55:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:55:59 (3/6) Installing libsodium (1.0.18-r0) 03:55:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:55:59 (5/6) Installing libzmq (4.3.4-r0) 03:55:59 (6/6) Installing zeromq (4.3.4-r0) 03:55:59 Executing busybox-1.35.0-r17.trigger 03:55:59 OK: 8 MiB in 20 packages 03:56:00 Removing intermediate container c9516ff68dcc 03:56:00 ---> f7cc8269128a 03:56:00 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 03:56:00 ---> ce298c66376d 03:56:00 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 03:56:01 ---> fb78d46b77a2 03:56:01 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:56:01 ---> 54dd3aa6578f 03:56:01 Step 20/25 : EXPOSE 59982 03:56:01 ---> Running in 59fa15a2ab27 03:56:01 Removing intermediate container 59fa15a2ab27 03:56:01 ---> 38b17bc4ed85 03:56:01 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 03:56:01 ---> Running in 7fced799ac48 03:56:01 Removing intermediate container 7fced799ac48 03:56:01 ---> c17938cc2c05 03:56:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:56:01 ---> Running in bc7ccb50491f 03:56:01 Removing intermediate container bc7ccb50491f 03:56:01 ---> 001ca276296d 03:56:01 Step 23/25 : LABEL arch=amd64 03:56:01 ---> Running in d76476678141 03:56:01 Removing intermediate container d76476678141 03:56:01 ---> fda6489fc31a 03:56:01 Step 24/25 : LABEL git_sha=11292522a1b172e39acbcf030b4ae47cdeea6eca 03:56:01 ---> Running in 9ace011b269b 03:56:01 Removing intermediate container 9ace011b269b 03:56:01 ---> 3cc5c8f4c160 03:56:01 Step 25/25 : LABEL version=2.3.0-dev.27 03:56:01 ---> Running in 735773043ab5 03:56:01 Removing intermediate container 735773043ab5 03:56:01 ---> cd726d994c17 03:56:01 [Warning] One or more build-args [ARCH] were not consumed 03:56:01 Successfully built cd726d994c17 03:56:01 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:56:01 provisioning config files... 03:56:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7671672626071006178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:02 ---> docker-login.sh 03:56:02 nexus3.edgexfoundry.org:10001 03:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:02 Configure a credential helper to remove this warning. See 03:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:02 03:56:02 Login Succeeded 03:56:02 nexus3.edgexfoundry.org:10002 03:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:02 Configure a credential helper to remove this warning. See 03:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:02 03:56:02 Login Succeeded 03:56:02 nexus3.edgexfoundry.org:10003 03:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:02 Configure a credential helper to remove this warning. See 03:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:02 03:56:02 Login Succeeded 03:56:02 nexus3.edgexfoundry.org:10004 03:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:02 Configure a credential helper to remove this warning. See 03:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:02 03:56:02 Login Succeeded 03:56:02 docker.io 03:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:03 Configure a credential helper to remove this warning. See 03:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:03 03:56:03 Login Succeeded 03:56:03 ---> docker-login.sh ends [Pipeline] } 03:56:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:56:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:56:03 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 03:56:03 11292522a1b172e39acbcf030b4ae47cdeea6eca 03:56:03 latest 03:56:03 2.3.0-dev.27 03:56:03 11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27 03:56:03 main 03:56:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:11292522a1b172e39acbcf030b4ae47cdeea6eca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:11292522a1b172e39acbcf030b4ae47cdeea6eca 03:56:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:56:03 5fdfedec082b: Preparing 03:56:03 da0966c745e0: Preparing 03:56:03 3cc1de69553d: Preparing 03:56:03 63b1c9b38e5c: Preparing 03:56:03 994393dc58e7: Preparing 03:56:03 994393dc58e7: Layer already exists 03:56:03 5fdfedec082b: Pushed 03:56:03 da0966c745e0: Pushed 03:56:03 63b1c9b38e5c: Pushed 03:56:06 3cc1de69553d: Pushed 03:56:06 11292522a1b172e39acbcf030b4ae47cdeea6eca: digest: sha256:525db1c4855f222431db579efe55aa774da06bf45c0d7061bafdd0002870e3b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:56:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:56:07 5fdfedec082b: Preparing 03:56:07 da0966c745e0: Preparing 03:56:07 3cc1de69553d: Preparing 03:56:07 63b1c9b38e5c: Preparing 03:56:07 994393dc58e7: Preparing 03:56:07 5fdfedec082b: Layer already exists 03:56:07 63b1c9b38e5c: Layer already exists 03:56:07 da0966c745e0: Layer already exists 03:56:07 994393dc58e7: Layer already exists 03:56:07 3cc1de69553d: Layer already exists 03:56:07 latest: digest: sha256:525db1c4855f222431db579efe55aa774da06bf45c0d7061bafdd0002870e3b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:07 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.27 03:56:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:56:07 5fdfedec082b: Preparing 03:56:07 da0966c745e0: Preparing 03:56:07 3cc1de69553d: Preparing 03:56:07 63b1c9b38e5c: Preparing 03:56:07 994393dc58e7: Preparing 03:56:07 da0966c745e0: Layer already exists 03:56:07 3cc1de69553d: Layer already exists 03:56:07 994393dc58e7: Layer already exists 03:56:07 5fdfedec082b: Layer already exists 03:56:07 63b1c9b38e5c: Layer already exists 03:56:07 2.3.0-dev.27: digest: sha256:525db1c4855f222431db579efe55aa774da06bf45c0d7061bafdd0002870e3b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27 03:56:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:56:08 5fdfedec082b: Preparing 03:56:08 da0966c745e0: Preparing 03:56:08 3cc1de69553d: Preparing 03:56:08 63b1c9b38e5c: Preparing 03:56:08 994393dc58e7: Preparing 03:56:08 3cc1de69553d: Layer already exists 03:56:08 5fdfedec082b: Layer already exists 03:56:08 da0966c745e0: Layer already exists 03:56:08 994393dc58e7: Layer already exists 03:56:08 63b1c9b38e5c: Layer already exists 03:56:08 11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27: digest: sha256:525db1c4855f222431db579efe55aa774da06bf45c0d7061bafdd0002870e3b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 03:56:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:56:08 5fdfedec082b: Preparing 03:56:08 da0966c745e0: Preparing 03:56:08 3cc1de69553d: Preparing 03:56:08 63b1c9b38e5c: Preparing 03:56:08 994393dc58e7: Preparing 03:56:08 63b1c9b38e5c: Layer already exists 03:56:08 3cc1de69553d: Layer already exists 03:56:08 994393dc58e7: Layer already exists 03:56:08 da0966c745e0: Layer already exists 03:56:08 5fdfedec082b: Layer already exists 03:56:08 main: digest: sha256:525db1c4855f222431db579efe55aa774da06bf45c0d7061bafdd0002870e3b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:56:09 ===================================================== [Pipeline] echo 03:56:09 taggedImages: 03:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt:11292522a1b172e39acbcf030b4ae47cdeea6eca 03:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.27 03:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt:11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27 03:56:09 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:09 03:56:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:09 latest: Pulling from edgex-lftools-log-publisher 03:56:09 5eb5b503b376: Pulling fs layer 03:56:09 5c69ac0246d0: Pulling fs layer 03:56:09 ec43610c2a17: Pulling fs layer 03:56:09 3a2ae6a8a46f: Pulling fs layer 03:56:09 33b1e0a273af: Pulling fs layer 03:56:09 5d3b04190fa2: Pulling fs layer 03:56:09 2f39f015ded8: Pulling fs layer 03:56:09 33b1e0a273af: Waiting 03:56:09 5d3b04190fa2: Waiting 03:56:09 2f39f015ded8: Waiting 03:56:09 5c69ac0246d0: Download complete 03:56:09 3a2ae6a8a46f: Verifying Checksum 03:56:09 3a2ae6a8a46f: Download complete 03:56:09 33b1e0a273af: Verifying Checksum 03:56:09 33b1e0a273af: Download complete 03:56:09 5d3b04190fa2: Verifying Checksum 03:56:09 5d3b04190fa2: Download complete 03:56:09 ec43610c2a17: Verifying Checksum 03:56:09 5eb5b503b376: Verifying Checksum 03:56:09 5eb5b503b376: Download complete 03:56:10 2f39f015ded8: Download complete 03:56:11 5eb5b503b376: Pull complete 03:56:11 5c69ac0246d0: Pull complete 03:56:12 ec43610c2a17: Pull complete 03:56:12 3a2ae6a8a46f: Pull complete 03:56:12 33b1e0a273af: Pull complete 03:56:12 5d3b04190fa2: Pull complete 03:56:16 2f39f015ded8: Pull complete 03:56:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:16 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 03:56:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:56:18 $ docker top 58b0171f11057383de975772e93cfa235feecc11b3ec83f66cc7f1500076aec1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:18 ---> job-cost.sh 03:56:18 lf-activate-venv: SKIPPING 03:56:18 INFO: No Stack... 03:56:19 INFO: Retrieving Pricing Info for: v3-standard-8 03:56:19 INFO: Archiving Costs [Pipeline] sh 03:56:20 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 03:56:20 + cut -d, -f6 [Pipeline] lock 03:56:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-74-stack-cost] 03:56:20 Resource [jenkins-edgexfoundry-device-mqtt-go-main-74-stack-cost] did not exist. Created. 03:56:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:56:20 + echo total: 0.2199999988079071 [Pipeline] stash 03:56:20 Stashed 1 file(s) [Pipeline] } 03:56:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } 03:56:20 $ docker stop --time=1 58b0171f11057383de975772e93cfa235feecc11b3ec83f66cc7f1500076aec1 03:56:21 $ docker rm -f 58b0171f11057383de975772e93cfa235feecc11b3ec83f66cc7f1500076aec1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:00:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9154 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:00:37 Running in /w/workspace/device-mqtt-go/74 [Pipeline] { [Pipeline] checkout 04:00:37 Selected Git installation does not exist. Using Default 04:00:37 The recommended git tool is: NONE 04:00:42 using credential edgex-jenkins-ssh 04:00:42 Cloning the remote Git repository 04:00:42 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:00:42 > git init /w/workspace/device-mqtt-go/74 # timeout=10 04:00:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:00:42 > git --version # timeout=10 04:00:42 > git --version # 'git version 2.25.1' 04:00:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:42 Verifying host key using known hosts file 04:00:42 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. 04:00:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:44 Avoid second fetch 04:00:44 Checking out Revision 11292522a1b172e39acbcf030b4ae47cdeea6eca (main) 04:00:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:00:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:44 > git config core.sparsecheckout # timeout=10 04:00:44 > git checkout -f 11292522a1b172e39acbcf030b4ae47cdeea6eca # timeout=10 04:00:45 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#428)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:00:46 % Total % Received % Xferd Average Speed Time Time Time Current 04:00:46 Dload Upload Total Spent Left Speed 04:00:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh 04:00:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:00:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:00:46 + sudo tee /etc/docker/daemon.new 04:00:46 { 04:00:46 "registry-mirrors": [ 04:00:46 "https://nexus3.edgexfoundry.org:10001" 04:00:46 ], 04:00:46 "bip": "10.250.0.254/24", 04:00:46 "hosts": [ 04:00:46 "tcp://0.0.0.0:5555", 04:00:46 "unix:///var/run/docker.sock" 04:00:46 ], 04:00:46 "mtu": 1458, 04:00:46 "selinux-enabled": true, 04:00:46 "seccomp-profile": "/etc/docker/seccomp.json" 04:00:46 } [Pipeline] sh 04:00:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:00:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:05 provisioning config files... 04:01:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/74@tmp/config17427950391359898218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:06 ---> docker-login.sh 04:01:06 nexus3.edgexfoundry.org:10001 04:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:06 Configure a credential helper to remove this warning. See 04:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:06 04:01:06 Login Succeeded 04:01:06 nexus3.edgexfoundry.org:10002 04:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:07 Configure a credential helper to remove this warning. See 04:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:07 04:01:07 Login Succeeded 04:01:07 nexus3.edgexfoundry.org:10003 04:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:07 Configure a credential helper to remove this warning. See 04:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:07 04:01:07 Login Succeeded 04:01:07 nexus3.edgexfoundry.org:10004 04:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:07 Configure a credential helper to remove this warning. See 04:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:07 04:01:07 Login Succeeded 04:01:07 docker.io 04:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:08 Configure a credential helper to remove this warning. See 04:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:08 04:01:08 Login Succeeded 04:01:08 ---> docker-login.sh ends [Pipeline] } 04:01:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:08 ========================================================= 04:01:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:01:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:08 + 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 . 04:01:09 Sending build context to Docker daemon 3.211MB 04:01:09 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:01:09 Step 2/13 : FROM ${BASE} AS builder 04:01:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:01:09 9b18e9b68314: Pulling fs layer 04:01:09 d32db5db7311: Pulling fs layer 04:01:09 d0c4b47475fc: Pulling fs layer 04:01:09 5831b945b038: Pulling fs layer 04:01:09 86bbec2aaacd: Pulling fs layer 04:01:09 e10730c5d714: Pulling fs layer 04:01:09 5dd5c2283517: Pulling fs layer 04:01:09 d5ac0230b979: Pulling fs layer 04:01:09 86bbec2aaacd: Waiting 04:01:09 e10730c5d714: Waiting 04:01:09 5dd5c2283517: Waiting 04:01:09 d5ac0230b979: Waiting 04:01:09 5831b945b038: Waiting 04:01:09 d0c4b47475fc: Verifying Checksum 04:01:09 d0c4b47475fc: Download complete 04:01:09 d32db5db7311: Verifying Checksum 04:01:09 d32db5db7311: Download complete 04:01:09 86bbec2aaacd: Download complete 04:01:09 e10730c5d714: Verifying Checksum 04:01:09 e10730c5d714: Download complete 04:01:09 9b18e9b68314: Verifying Checksum 04:01:10 9b18e9b68314: Pull complete 04:01:10 d5ac0230b979: Verifying Checksum 04:01:10 d5ac0230b979: Download complete 04:01:11 d32db5db7311: Pull complete 04:01:11 d0c4b47475fc: Pull complete 04:01:11 5dd5c2283517: Verifying Checksum 04:01:11 5dd5c2283517: Download complete 04:01:12 5831b945b038: Verifying Checksum 04:01:12 5831b945b038: Download complete 04:01:24 5831b945b038: Pull complete 04:01:24 86bbec2aaacd: Pull complete 04:01:24 e10730c5d714: Pull complete 04:01:30 5dd5c2283517: Pull complete 04:01:32 d5ac0230b979: Pull complete 04:01:32 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:01:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:01:32 ---> 59b3b1a385d4 04:01:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:01:34 ---> Running in 7ae9cbad95dc 04:01:34 Removing intermediate container 7ae9cbad95dc 04:01:34 ---> 5cfdce3b8f87 04:01:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:34 ---> Running in df68db37b20e 04:01:34 Removing intermediate container df68db37b20e 04:01:34 ---> 85149d7a9eb5 04:01:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:01:34 ---> Running in c0350b10ecf4 04:01:35 Removing intermediate container c0350b10ecf4 04:01:35 ---> 5b01dd49bd81 04:01:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:01:35 ---> Running in ed782058858c 04:01:35 Removing intermediate container ed782058858c 04:01:35 ---> 893213446865 04:01:35 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:35 ---> Running in 3c7df3bdfdbe 04:01:37 Removing intermediate container 3c7df3bdfdbe 04:01:37 ---> f40cc272d34d 04:01:37 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:37 ---> Running in aeb27e89f29d 04:01:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:01:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:01:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 04:01:40 (2/4) Installing libedit (20210910.3.1-r0) 04:01:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 04:01:40 (4/4) Installing openssh-client-default (9.0_p1-r2) 04:01:40 Executing busybox-1.35.0-r17.trigger 04:01:40 OK: 226 MiB in 55 packages 04:01:41 Removing intermediate container aeb27e89f29d 04:01:41 ---> 954f81492b0a 04:01:41 Step 9/13 : WORKDIR /device-mqtt-go 04:01:41 ---> Running in ae0932b83b16 04:01:41 Removing intermediate container ae0932b83b16 04:01:41 ---> 8f52f66a6ccd 04:01:41 Step 10/13 : COPY go.mod vendor* ./ 04:01:42 ---> f5bd2fdfd7ae 04:01:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:42 ---> Running in 58c3807e5802 04:02:29 Removing intermediate container 58c3807e5802 04:02:29 ---> 3c9028c96925 04:02:29 Step 12/13 : COPY . . 04:02:30 ---> 7d9e05ce62f9 04:02:30 Step 13/13 : RUN $MAKE 04:02:30 ---> Running in 8a909cef87f0 04:02:31 noop 04:02:31 Removing intermediate container 8a909cef87f0 04:02:31 ---> adfb23ab9740 04:02:31 Successfully built adfb23ab9740 04:02:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:32 + docker inspect -f . ci-base-image-arm64 04:02:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:32 prd-ubuntu20.04-docker-arm64-4c-16g-9154 does not seem to be running inside a container 04:02:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/74 -v /w/workspace/device-mqtt-go/74:/w/workspace/device-mqtt-go/74:rw,z -v /w/workspace/device-mqtt-go/74@tmp:/w/workspace/device-mqtt-go/74@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 04:02:33 $ docker top c3b7c0b7ca76b262a95376b1299e29a7d49c0f4b3f1c4921628d32246b044fee -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:34 + go version 04:02:34 go version go1.18.7 linux/arm64 [Pipeline] } 04:02:34 $ docker stop --time=1 c3b7c0b7ca76b262a95376b1299e29a7d49c0f4b3f1c4921628d32246b044fee 04:02:36 $ docker rm -f c3b7c0b7ca76b262a95376b1299e29a7d49c0f4b3f1c4921628d32246b044fee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:36 + docker inspect -f . ci-base-image-arm64 04:02:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:36 prd-ubuntu20.04-docker-arm64-4c-16g-9154 does not seem to be running inside a container 04:02:36 $ 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/74 -v /w/workspace/device-mqtt-go/74:/w/workspace/device-mqtt-go/74:rw,z -v /w/workspace/device-mqtt-go/74@tmp:/w/workspace/device-mqtt-go/74@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 04:02:37 $ docker top 6b6447e6854f0e43901e3cfc1d9aacb3cdee4f7540b931ec08bc2a8b7afc132c -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:38 + git config --global --add safe.directory /w/workspace/device-mqtt-go/74 [Pipeline] fileExists [Pipeline] sh 04:02:39 + make test 04:02:39 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:02:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:04:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:04:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 04:04:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:04:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:04:03 GCO_ENABLED=1 GO111MODULE=on go vet ./... 04:04:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:04:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:04:25 ./bin/test-attribution-txt.sh [Pipeline] echo 04:04:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:04:25 $ docker stop --time=1 6b6447e6854f0e43901e3cfc1d9aacb3cdee4f7540b931ec08bc2a8b7afc132c 04:04:27 $ docker rm -f 6b6447e6854f0e43901e3cfc1d9aacb3cdee4f7540b931ec08bc2a8b7afc132c [Pipeline] // withDockerContainer [Pipeline] sh 04:04:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:04:28 Warning: overwriting stash ‘coverage-report’ 04:04:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:04:29 + ls -al . 04:04:29 total 180 04:04:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 04:02 . 04:04:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:00 .. 04:04:29 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:00 .dockerignore 04:04:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:00 .git 04:04:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:00 .github 04:04:29 -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 04:00 .gitignore 04:04:29 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 04:00 .golangci.yml 04:04:29 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 04:00 Attribution.txt 04:04:29 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 04:00 CHANGELOG.md 04:04:29 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 04:00 Dockerfile 04:04:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:00 GOVERNANCE.md 04:04:29 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 04:00 Jenkinsfile 04:04:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 04:00 LICENSE 04:04:29 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 04:00 Makefile 04:04:29 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 04:00 OWNERS.md 04:04:29 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 04:00 README.md 04:04:29 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 03:54 VERSION 04:04:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:00 bin 04:04:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:00 cmd 04:04:29 -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 04:04 coverage.out 04:04:29 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 04:00 go.mod 04:04:29 -rw-rw-r-- 1 jenkins jenkins 38123 Oct 24 04:00 go.sum 04:04:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:00 internal 04:04:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:00 mock 04:04:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:00 snap 04:04:29 -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 04:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:29 + 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=11292522a1b172e39acbcf030b4ae47cdeea6eca --label arch=arm64 --label version=2.3.0-dev.27 . 04:04:30 Sending build context to Docker daemon 3.23MB 04:04:30 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:04:30 Step 2/25 : FROM ${BASE} AS builder 04:04:30 ---> adfb23ab9740 04:04:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:04:30 ---> Running in 63871f69d195 04:04:30 Removing intermediate container 63871f69d195 04:04:30 ---> 8f875310ed71 04:04:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:30 ---> Running in c12b15f3a872 04:04:30 Removing intermediate container c12b15f3a872 04:04:30 ---> 48cf3ed507bb 04:04:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:04:30 ---> Running in 87325fb0efe8 04:04:31 Removing intermediate container 87325fb0efe8 04:04:31 ---> d91f54185528 04:04:31 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:04:31 ---> Running in 84b503bbe04d 04:04:31 Removing intermediate container 84b503bbe04d 04:04:31 ---> 7385e16ad670 04:04:31 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:04:31 ---> Running in 38cf10909bd7 04:04:34 Removing intermediate container 38cf10909bd7 04:04:34 ---> 9b606e407db0 04:04:34 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:34 ---> Running in c9d11d9f8a77 04:04:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:04:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:04:36 OK: 226 MiB in 55 packages 04:04:37 Removing intermediate container c9d11d9f8a77 04:04:37 ---> 77d2f9d84630 04:04:37 Step 9/25 : WORKDIR /device-mqtt-go 04:04:37 ---> Running in f0355126ce13 04:04:37 Removing intermediate container f0355126ce13 04:04:37 ---> 80cb3fe856ba 04:04:37 Step 10/25 : COPY go.mod vendor* ./ 04:04:38 ---> a4f1fbf0579e 04:04:38 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:38 ---> Running in 0431a81e02cc 04:04:40 Removing intermediate container 0431a81e02cc 04:04:40 ---> b1cca500b8a7 04:04:40 Step 12/25 : COPY . . 04:04:40 ---> d2111c1b0abc 04:04:40 Step 13/25 : RUN $MAKE 04:04:40 ---> Running in 37bd57038dbf 04:04:41 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.27" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 04:07:18 Removing intermediate container 37bd57038dbf 04:07:18 ---> 49a69c096607 04:07:18 Step 14/25 : FROM alpine:3.16 04:07:18 3.16: Pulling from library/alpine 04:07:18 9b18e9b68314: Already exists 04:07:18 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:07:18 Status: Downloaded newer image for alpine:3.16 04:07:18 ---> a6215f271958 04:07:18 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:07:18 ---> Running in 99794a0b0ed8 04:07:18 Removing intermediate container 99794a0b0ed8 04:07:18 ---> ebc5ea228503 04:07:18 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 04:07:18 ---> Running in fb916142c458 04:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:07:18 (1/6) Installing dumb-init (1.2.5-r1) 04:07:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:07:18 (3/6) Installing libsodium (1.0.18-r0) 04:07:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:07:18 (5/6) Installing libzmq (4.3.4-r0) 04:07:18 (6/6) Installing zeromq (4.3.4-r0) 04:07:18 Executing busybox-1.35.0-r17.trigger 04:07:18 OK: 8 MiB in 20 packages 04:07:18 Removing intermediate container fb916142c458 04:07:18 ---> e7a0835b5f92 04:07:18 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 04:07:18 ---> 0fb366255803 04:07:18 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 04:07:18 ---> 078cfbb882a5 04:07:18 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:07:18 ---> d9914f8b547e 04:07:18 Step 20/25 : EXPOSE 59982 04:07:18 ---> Running in f4fb2bf21135 04:07:18 Removing intermediate container f4fb2bf21135 04:07:18 ---> d7c2ab6e6a27 04:07:18 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 04:07:18 ---> Running in 54fa8f74b9f4 04:07:18 Removing intermediate container 54fa8f74b9f4 04:07:18 ---> fd62cb8925d7 04:07:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:18 ---> Running in 87991159e0d5 04:07:18 Removing intermediate container 87991159e0d5 04:07:18 ---> f9c39f61bde9 04:07:18 Step 23/25 : LABEL arch=arm64 04:07:18 ---> Running in 0aa81f47807a 04:07:18 Removing intermediate container 0aa81f47807a 04:07:18 ---> 6e124ab18a8b 04:07:18 Step 24/25 : LABEL git_sha=11292522a1b172e39acbcf030b4ae47cdeea6eca 04:07:18 ---> Running in 3c9ca2c1f693 04:07:18 Removing intermediate container 3c9ca2c1f693 04:07:18 ---> 01cb69a791da 04:07:18 Step 25/25 : LABEL version=2.3.0-dev.27 04:07:18 ---> Running in fcd50c61ab37 04:07:18 Removing intermediate container fcd50c61ab37 04:07:18 ---> 788fa9e7c0d7 04:07:18 [Warning] One or more build-args [ARCH] were not consumed 04:07:18 Successfully built 788fa9e7c0d7 04:07:18 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 04:07:18 provisioning config files... 04:07:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/74@tmp/config14909808873369148006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:19 ---> docker-login.sh 04:07:19 nexus3.edgexfoundry.org:10001 04:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:19 Configure a credential helper to remove this warning. See 04:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:19 04:07:19 Login Succeeded 04:07:19 nexus3.edgexfoundry.org:10002 04:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:19 Configure a credential helper to remove this warning. See 04:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:19 04:07:19 Login Succeeded 04:07:19 nexus3.edgexfoundry.org:10003 04:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:20 Configure a credential helper to remove this warning. See 04:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:20 04:07:20 Login Succeeded 04:07:20 nexus3.edgexfoundry.org:10004 04:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:20 Configure a credential helper to remove this warning. See 04:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:20 04:07:20 Login Succeeded 04:07:20 docker.io 04:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:21 Configure a credential helper to remove this warning. See 04:07:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:21 04:07:21 Login Succeeded 04:07:21 ---> docker-login.sh ends [Pipeline] } 04:07:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:07:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:21 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 04:07:21 11292522a1b172e39acbcf030b4ae47cdeea6eca 04:07:21 latest 04:07:21 2.3.0-dev.27 04:07:21 11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27 04:07:21 main 04:07:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:21 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:11292522a1b172e39acbcf030b4ae47cdeea6eca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:11292522a1b172e39acbcf030b4ae47cdeea6eca 04:07:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:07:21 c546a8213aec: Preparing 04:07:21 46197d68cfbc: Preparing 04:07:21 d56e1b937780: Preparing 04:07:21 8f55c08dfeb7: Preparing 04:07:21 5d3e392a13a0: Preparing 04:07:21 5d3e392a13a0: Layer already exists 04:07:22 c546a8213aec: Pushed 04:07:22 46197d68cfbc: Pushed 04:07:22 8f55c08dfeb7: Pushed 04:07:27 d56e1b937780: Pushed 04:07:27 11292522a1b172e39acbcf030b4ae47cdeea6eca: digest: sha256:5d849e47461ab6fcd34bc3d420abf5acd8337a99d33911937a3bad6cfa859117 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:07:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:07:28 c546a8213aec: Preparing 04:07:28 46197d68cfbc: Preparing 04:07:28 d56e1b937780: Preparing 04:07:28 8f55c08dfeb7: Preparing 04:07:28 5d3e392a13a0: Preparing 04:07:28 46197d68cfbc: Layer already exists 04:07:28 d56e1b937780: Layer already exists 04:07:28 c546a8213aec: Layer already exists 04:07:28 8f55c08dfeb7: Layer already exists 04:07:28 5d3e392a13a0: Layer already exists 04:07:28 latest: digest: sha256:5d849e47461ab6fcd34bc3d420abf5acd8337a99d33911937a3bad6cfa859117 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.27 04:07:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:07:29 c546a8213aec: Preparing 04:07:29 46197d68cfbc: Preparing 04:07:29 d56e1b937780: Preparing 04:07:29 8f55c08dfeb7: Preparing 04:07:29 5d3e392a13a0: Preparing 04:07:29 5d3e392a13a0: Layer already exists 04:07:29 c546a8213aec: Layer already exists 04:07:29 d56e1b937780: Layer already exists 04:07:29 46197d68cfbc: Layer already exists 04:07:29 8f55c08dfeb7: Layer already exists 04:07:29 2.3.0-dev.27: digest: sha256:5d849e47461ab6fcd34bc3d420abf5acd8337a99d33911937a3bad6cfa859117 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27 04:07:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:07:29 c546a8213aec: Preparing 04:07:29 46197d68cfbc: Preparing 04:07:29 d56e1b937780: Preparing 04:07:29 8f55c08dfeb7: Preparing 04:07:29 5d3e392a13a0: Preparing 04:07:29 c546a8213aec: Layer already exists 04:07:29 d56e1b937780: Layer already exists 04:07:29 46197d68cfbc: Layer already exists 04:07:29 5d3e392a13a0: Layer already exists 04:07:29 8f55c08dfeb7: Layer already exists 04:07:29 11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27: digest: sha256:5d849e47461ab6fcd34bc3d420abf5acd8337a99d33911937a3bad6cfa859117 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:30 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 04:07:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:07:30 c546a8213aec: Preparing 04:07:30 46197d68cfbc: Preparing 04:07:30 d56e1b937780: Preparing 04:07:30 8f55c08dfeb7: Preparing 04:07:30 5d3e392a13a0: Preparing 04:07:30 8f55c08dfeb7: Layer already exists 04:07:30 d56e1b937780: Layer already exists 04:07:30 5d3e392a13a0: Layer already exists 04:07:30 c546a8213aec: Layer already exists 04:07:30 46197d68cfbc: Layer already exists 04:07:30 main: digest: sha256:5d849e47461ab6fcd34bc3d420abf5acd8337a99d33911937a3bad6cfa859117 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:07:30 ===================================================== [Pipeline] echo 04:07:30 taggedImages: 04:07:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:11292522a1b172e39acbcf030b4ae47cdeea6eca 04:07:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:07:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.27 04:07:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:11292522a1b172e39acbcf030b4ae47cdeea6eca-2.3.0-dev.27 04:07:30 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:31 04:07:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:31 arm64: Pulling from edgex-lftools-log-publisher 04:07:31 8998bd30e6a1: Pulling fs layer 04:07:31 04944245beec: Pulling fs layer 04:07:31 699f458cf7ca: Pulling fs layer 04:07:31 765212b225bb: Pulling fs layer 04:07:31 f23df028b6ca: Pulling fs layer 04:07:31 d65c8cfc05b1: Pulling fs layer 04:07:31 765212b225bb: Waiting 04:07:31 f23df028b6ca: Waiting 04:07:31 2437ff75d9bd: Pulling fs layer 04:07:31 d65c8cfc05b1: Waiting 04:07:31 2437ff75d9bd: Waiting 04:07:31 04944245beec: Verifying Checksum 04:07:31 04944245beec: Download complete 04:07:31 765212b225bb: Verifying Checksum 04:07:31 765212b225bb: Download complete 04:07:31 f23df028b6ca: Verifying Checksum 04:07:31 f23df028b6ca: Download complete 04:07:31 d65c8cfc05b1: Verifying Checksum 04:07:31 d65c8cfc05b1: Download complete 04:07:31 699f458cf7ca: Verifying Checksum 04:07:31 699f458cf7ca: Download complete 04:07:32 8998bd30e6a1: Verifying Checksum 04:07:32 8998bd30e6a1: Download complete 04:07:34 2437ff75d9bd: Verifying Checksum 04:07:34 2437ff75d9bd: Download complete 04:07:36 8998bd30e6a1: Pull complete 04:07:36 04944245beec: Pull complete 04:07:37 699f458cf7ca: Pull complete 04:07:38 765212b225bb: Pull complete 04:07:38 f23df028b6ca: Pull complete 04:07:38 d65c8cfc05b1: Pull complete 04:07:53 2437ff75d9bd: Pull complete 04:07:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:54 prd-ubuntu20.04-docker-arm64-4c-16g-9154 does not seem to be running inside a container 04:07:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/74 -v /w/workspace/device-mqtt-go/74:/w/workspace/device-mqtt-go/74:rw,z -v /w/workspace/device-mqtt-go/74@tmp:/w/workspace/device-mqtt-go/74@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 04:07:56 $ docker top 55b86b33ddfb3f78776793c99c255dec0531f62479697b6b4e137fa227c0e0f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:57 ---> job-cost.sh 04:07:57 lf-activate-venv: SKIPPING 04:07:57 INFO: No Stack... 04:07:57 INFO: Retrieving Pricing Info for: v3-standard-4 04:07:58 INFO: Archiving Costs [Pipeline] sh 04:07:59 + cat /w/workspace/device-mqtt-go/74/archives/cost.csv 04:07:59 + cut -d, -f6 [Pipeline] lock 04:07:59 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-74-stack-cost] 04:07:59 Resource [jenkins-edgexfoundry-device-mqtt-go-main-74-stack-cost] did not exist. Created. 04:07:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:59 /w/workspace/device-mqtt-go/74@tmp/durable-0f6813c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:07:59 + echo total: 0.10999999940395355 [Pipeline] stash 04:07:59 Warning: overwriting stash ‘stack-cost’ 04:07:59 Stashed 1 file(s) [Pipeline] } 04:07:59 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:59 $ docker stop --time=1 55b86b33ddfb3f78776793c99c255dec0531f62479697b6b4e137fa227c0e0f9 04:08:01 $ docker rm -f 55b86b33ddfb3f78776793c99c255dec0531f62479697b6b4e137fa227c0e0f9 [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 04:08:01 provisioning config files... 04:08:01 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11110145525310100924tmp [Pipeline] { [Pipeline] sh 04:08:02 + set +x 04:08:02 + curl -s https://codecov.io/bash 04:08:02 + bash -s -- 04:08:02 04:08:02 _____ _ 04:08:02 / ____| | | 04:08:02 | | ___ __| | ___ ___ _____ __ 04:08:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:08:02 | |___| (_) | (_| | __/ (_| (_) \ V / 04:08:02 \_____\___/ \__,_|\___|\___\___/ \_/ 04:08:02 Bash-1.0.6 04:08:02 04:08:02 04:08:02 ==> git version 2.25.1 found 04:08:02 ==> 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 04:08:02 Release-Date: 2020-01-08 04:08:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:08:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:08:02 ==> Jenkins CI detected. 04:08:02 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 04:08:02 project root: . 04:08:02 --> token set from env 04:08:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:08:02 ==> Running gcov in . (disable via -X gcov) 04:08:02 ==> Python coveragepy not found 04:08:02 ==> Searching for coverage reports in: 04:08:02 + . 04:08:02 -> Found 1 reports 04:08:02 ==> Detecting git/mercurial file structure 04:08:02 ==> Reading reports 04:08:02 + ./coverage.out bytes=17887 04:08:02 ==> Appending adjustments 04:08:02 https://docs.codecov.io/docs/fixing-reports 04:08:02 + Found adjustments 04:08:02 ==> Gzipping contents 04:08:02 4.0K /tmp/codecov.9rQ1Bk.gz 04:08:02 ==> Uploading reports 04:08:02 url: https://codecov.io 04:08:02 query: branch=main&commit=11292522a1b172e39acbcf030b4ae47cdeea6eca&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:08:02 -> Pinging Codecov 04:08:02 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=11292522a1b172e39acbcf030b4ae47cdeea6eca&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:08:02 -> Uploading to 04:08:02 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7D719EC7BBE17E464838252E33014C33/11292522a1b172e39acbcf030b4ae47cdeea6eca/87c5918c-bbcb-4752-8141-ac7f11b57504.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T040802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77469d27983e6bbfe9bd0a725854dc352e404a71a336ef1ceecc69255f851014 04:08:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:02 Dload Upload Total Spent Left Speed 04:08:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3181 0 0 100 3181 0 13536 --:--:-- --:--:-- --:--:-- 13594 04:08:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/11292522a1b172e39acbcf030b4ae47cdeea6eca [Pipeline] } 04:08:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:08:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:08:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:08:03 04:08:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:08:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:08:03 df9b9388f04a: Pulling fs layer 04:08:03 52dc419b0ee2: Pulling fs layer 04:08:03 25bc292e5bac: Pulling fs layer 04:08:03 114826534d7a: Pulling fs layer 04:08:03 4657fd5d0bcf: Pulling fs layer 04:08:03 6ad1cebc031e: Pulling fs layer 04:08:03 8a3aa393b2d8: Pulling fs layer 04:08:03 6ad1cebc031e: Waiting 04:08:03 114826534d7a: Waiting 04:08:03 8a3aa393b2d8: Waiting 04:08:03 4657fd5d0bcf: Waiting 04:08:03 25bc292e5bac: Verifying Checksum 04:08:03 25bc292e5bac: Download complete 04:08:03 52dc419b0ee2: Verifying Checksum 04:08:03 52dc419b0ee2: Download complete 04:08:03 4657fd5d0bcf: Download complete 04:08:03 df9b9388f04a: Download complete 04:08:04 df9b9388f04a: Pull complete 04:08:04 6ad1cebc031e: Verifying Checksum 04:08:04 6ad1cebc031e: Download complete 04:08:04 52dc419b0ee2: Pull complete 04:08:04 25bc292e5bac: Pull complete 04:08:04 114826534d7a: Verifying Checksum 04:08:04 114826534d7a: Download complete 04:08:04 8a3aa393b2d8: Verifying Checksum 04:08:04 8a3aa393b2d8: Download complete 04:08:07 114826534d7a: Pull complete 04:08:07 4657fd5d0bcf: Pull complete 04:08:08 6ad1cebc031e: Pull complete 04:08:11 8a3aa393b2d8: Pull complete 04:08:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:08:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:11 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 04:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:08:15 $ docker top feaa4beb25d3819cea21be4ef551135ae2a05646ec4ab28f99d008356a94b54f -eo pid,comm [Pipeline] { [Pipeline] echo 04:08:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 04:08:15 + set -o pipefail 04:08:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 04:08:20 04:08:20 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 04:08:20 04:08:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/abf43ae0-e6e6-4432-b610-3c917bc56a85 04:08:20 04:08:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:08:20 04:08:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:08:20 04:08:21 04:08:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:08:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:08:21 More details here: https://snyk.co/ue1NS [Pipeline] } 04:08:21 $ docker stop --time=1 feaa4beb25d3819cea21be4ef551135ae2a05646ec4ab28f99d008356a94b54f 04:08:24 $ docker rm -f feaa4beb25d3819cea21be4ef551135ae2a05646ec4ab28f99d008356a94b54f [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 04:08:25 + git log --format=format:%s -1 11292522a1b172e39acbcf030b4ae47cdeea6eca [Pipeline] sh 04:08:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:25 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 04:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:08:26 $ docker top 390b95d9f6d1aaa1f10e4c9862c7630dbbec000329e592a7bb665429530280ee -eo pid,comm 04:08:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:08:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:26 [ssh-agent] Looking for ssh-agent implementation... 04:08:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:26 $ docker exec 390b95d9f6d1aaa1f10e4c9862c7630dbbec000329e592a7bb665429530280ee ssh-agent 04:08:26 SSH_AUTH_SOCK=/tmp/ssh-4e59Bjfrctn9/agent.32 04:08:26 SSH_AGENT_PID=39 04:08:26 Running ssh-add (command line suppressed) 04:08:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4280168691793633742.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4280168691793633742.key) 04:08:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:26 + git semver tag 04:08:27 2022-10-24 04:08:27,130 [run_tag] DEBUG tag force:False 04:08:27 2022-10-24 04:08:27,130 [check_head_tag] DEBUG check head tag 04:08:27 2022-10-24 04:08:27,131 [execute] INFO git cat-file --batch-check 04:08:27 2022-10-24 04:08:27,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:08:27 2022-10-24 04:08:27,134 [execute] INFO git cat-file --batch 04:08:27 2022-10-24 04:08:27,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:08:27 2022-10-24 04:08:27,148 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:08:27 2022-10-24 04:08:27,148 [execute] INFO git tag -a v2.3.0-dev.27 -m v2.3.0-dev.27 04:08:27 2022-10-24 04:08:27,149 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.27', '-m', 'v2.3.0-dev.27'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:08:27 2022-10-24 04:08:27,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:08:27 2.3.0-dev.27 [Pipeline] } 04:08:27 $ docker exec --env ******** --env ******** 390b95d9f6d1aaa1f10e4c9862c7630dbbec000329e592a7bb665429530280ee ssh-agent -k 04:08:27 unset SSH_AUTH_SOCK; 04:08:27 unset SSH_AGENT_PID; 04:08:27 echo Agent pid 39 killed; 04:08:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:27 + git semver [Pipeline] } 04:08:27 $ docker stop --time=1 390b95d9f6d1aaa1f10e4c9862c7630dbbec000329e592a7bb665429530280ee 04:08:29 $ docker rm -f 390b95d9f6d1aaa1f10e4c9862c7630dbbec000329e592a7bb665429530280ee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:29 04:08:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:29 0.23.1-centos7: Pulling from edgex-lftools 04:08:29 ab5ef0e58194: Pulling fs layer 04:08:29 9712f1f96733: Pulling fs layer 04:08:29 63f879dbbcfc: Pulling fs layer 04:08:29 0d9ebad4ef96: Pulling fs layer 04:08:29 e9a5061849ea: Pulling fs layer 04:08:29 d747dcd14b5f: Pulling fs layer 04:08:29 2de7ff778b66: Pulling fs layer 04:08:29 0d9ebad4ef96: Waiting 04:08:29 d747dcd14b5f: Waiting 04:08:29 e9a5061849ea: Waiting 04:08:29 9712f1f96733: Download complete 04:08:30 63f879dbbcfc: Verifying Checksum 04:08:30 63f879dbbcfc: Download complete 04:08:30 e9a5061849ea: Verifying Checksum 04:08:30 e9a5061849ea: Download complete 04:08:30 d747dcd14b5f: Verifying Checksum 04:08:30 d747dcd14b5f: Download complete 04:08:30 0d9ebad4ef96: Verifying Checksum 04:08:30 0d9ebad4ef96: Download complete 04:08:30 ab5ef0e58194: Verifying Checksum 04:08:30 ab5ef0e58194: Download complete 04:08:30 2de7ff778b66: Verifying Checksum 04:08:30 2de7ff778b66: Download complete 04:08:34 ab5ef0e58194: Pull complete 04:08:34 9712f1f96733: Pull complete 04:08:34 63f879dbbcfc: Pull complete 04:08:38 0d9ebad4ef96: Pull complete 04:08:38 e9a5061849ea: Pull complete 04:08:38 d747dcd14b5f: Pull complete 04:08:40 2de7ff778b66: Pull complete 04:08:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:08:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:40 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 04:08:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:08:44 $ docker top 93339d8a0c9831f50a3cf5c9355b0b58aa0d93c3c362936b1d2bd17247201497 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:08:44 provisioning config files... 04:08:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17184992503402159589tmp 04:08:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3285598111758959136tmp 04:08:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13125569252632340614tmp [Pipeline] { [Pipeline] echo 04:08:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:08:44 ---> sigul-configuration.sh 04:08:44 gpg: directory `/root/.gnupg' created 04:08:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:08:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:08:44 gpg: keyring `/root/.gnupg/secring.gpg' created 04:08:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:08:44 gpg: CAST5 encrypted data 04:08:44 gpg: encrypted with 1 passphrase 04:08:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:08:45 + mkdir /home/jenkins 04:08:45 + mkdir /home/jenkins/sigul [Pipeline] sh 04:08:45 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:08:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:08:45 ---> sigul-install.sh 04:08:45 Sigul already installed; skipping installation. [Pipeline] sh 04:08:46 + git tag --list 04:08:46 0.7.1 04:08:46 v1.0.0 04:08:46 v1.1.0 04:08:46 v1.1.1 04:08:46 v1.2.2 04:08:46 v1.3.0 04:08:46 v1.3.1 04:08:46 v2.0.0 04:08:46 v2.1.0 04:08:46 v2.1.1 04:08:46 v2.1.1-dev.1 04:08:46 v2.1.1-dev.2 04:08:46 v2.2.0 04:08:46 v2.2.1-dev.1 04:08:46 v2.2.1-dev.10 04:08:46 v2.2.1-dev.2 04:08:46 v2.2.1-dev.3 04:08:46 v2.2.1-dev.4 04:08:46 v2.2.1-dev.5 04:08:46 v2.2.1-dev.6 04:08:46 v2.2.1-dev.7 04:08:46 v2.2.1-dev.8 04:08:46 v2.2.1-dev.9 04:08:46 v2.3.0-dev.10 04:08:46 v2.3.0-dev.11 04:08:46 v2.3.0-dev.12 04:08:46 v2.3.0-dev.13 04:08:46 v2.3.0-dev.14 04:08:46 v2.3.0-dev.15 04:08:46 v2.3.0-dev.16 04:08:46 v2.3.0-dev.17 04:08:46 v2.3.0-dev.18 04:08:46 v2.3.0-dev.19 04:08:46 v2.3.0-dev.20 04:08:46 v2.3.0-dev.21 04:08:46 v2.3.0-dev.22 04:08:46 v2.3.0-dev.23 04:08:46 v2.3.0-dev.24 04:08:46 v2.3.0-dev.25 04:08:46 v2.3.0-dev.26 04:08:46 v2.3.0-dev.27 [Pipeline] sh 04:08:46 + lftools sign git-tag v2.3.0-dev.27 04:08:46 Signing Git tag with Sigul... 04:08:46 Signing v2.3.0-dev.27 [Pipeline] echo 04:08:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:08:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:08:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:08:47 $ docker stop --time=1 93339d8a0c9831f50a3cf5c9355b0b58aa0d93c3c362936b1d2bd17247201497 04:08:49 $ docker rm -f 93339d8a0c9831f50a3cf5c9355b0b58aa0d93c3c362936b1d2bd17247201497 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:08:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:49 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 04:08:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:08:50 $ docker top da0107937a8ad2a7515baf9cd1e4885b06dbd1f9648e2decc36e0e7fefab5975 -eo pid,comm 04:08:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:08:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:50 [ssh-agent] Looking for ssh-agent implementation... 04:08:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:50 $ docker exec da0107937a8ad2a7515baf9cd1e4885b06dbd1f9648e2decc36e0e7fefab5975 ssh-agent 04:08:50 SSH_AUTH_SOCK=/tmp/ssh-PMmnDHlzH8sT/agent.31 04:08:50 SSH_AGENT_PID=37 04:08:50 Running ssh-add (command line suppressed) 04:08:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11830911798361903911.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11830911798361903911.key) 04:08:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:51 + git semver bump pre 04:08:51 2022-10-24 04:08:51,227 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:08:51 2022-10-24 04:08:51,228 [bump_version] DEBUG bumping version:2.3.0-dev.27 on axis:pre with prefix:dev 04:08:51 2022-10-24 04:08:51,228 [bump_version] DEBUG bumped version:2.3.0-dev.28 04:08:51 2022-10-24 04:08:51,228 [write_version] DEBUG write version:2.3.0-dev.28 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 04:08:51 2022-10-24 04:08:51,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:08:51 2022-10-24 04:08:51,228 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:08:51 2022-10-24 04:08:51,231 [execute] INFO git cat-file --batch-check 04:08:51 2022-10-24 04:08:51,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:08:51 2022-10-24 04:08:51,238 [execute] INFO git cat-file --batch 04:08:51 2022-10-24 04:08:51,238 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:08:51 2022-10-24 04:08:51,243 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:08:51 2.3.0-dev.28 [Pipeline] } 04:08:51 $ docker exec --env ******** --env ******** da0107937a8ad2a7515baf9cd1e4885b06dbd1f9648e2decc36e0e7fefab5975 ssh-agent -k 04:08:51 unset SSH_AUTH_SOCK; 04:08:51 unset SSH_AGENT_PID; 04:08:51 echo Agent pid 37 killed; 04:08:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:51 + git semver [Pipeline] } 04:08:52 $ docker stop --time=1 da0107937a8ad2a7515baf9cd1e4885b06dbd1f9648e2decc36e0e7fefab5975 04:08:53 $ docker rm -f da0107937a8ad2a7515baf9cd1e4885b06dbd1f9648e2decc36e0e7fefab5975 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:54 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 04:08:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:08:54 $ docker top 7490e24f3637fb9da7447d651d950441a57d7f6cfcd9efd15c3fdd19faade743 -eo pid,comm 04:08:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:08:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:54 [ssh-agent] Looking for ssh-agent implementation... 04:08:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:54 $ docker exec 7490e24f3637fb9da7447d651d950441a57d7f6cfcd9efd15c3fdd19faade743 ssh-agent 04:08:54 SSH_AUTH_SOCK=/tmp/ssh-6TcgiUcKsh3o/agent.32 04:08:54 SSH_AGENT_PID=38 04:08:54 Running ssh-add (command line suppressed) 04:08:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4091867891435266683.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4091867891435266683.key) 04:08:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:55 + git semver push 04:08:55 2022-10-24 04:08:55,372 [run_push] DEBUG push 04:08:55 2022-10-24 04:08:55,372 [execute] INFO git cat-file --batch-check 04:08:55 2022-10-24 04:08:55,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:08:55 2022-10-24 04:08:55,377 [execute] INFO git rev-list 04a11f852211afadc1ab356695e08e2a748a1504 -- 04:08:55 2022-10-24 04:08:55,377 [execute] DEBUG Popen(['git', 'rev-list', '04a11f852211afadc1ab356695e08e2a748a1504', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:08:55 2022-10-24 04:08:55,385 [execute] INFO git fetch -v origin 04:08:55 2022-10-24 04:08:55,386 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:08:56 2022-10-24 04:08:55,989 [run_push] DEBUG no remote changes detected 04:08:56 2022-10-24 04:08:55,990 [execute] INFO git push origin semver 04:08:56 2022-10-24 04:08:55,990 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:08:56 2022-10-24 04:08:56,772 [run_push] DEBUG push all version tags 04:08:56 2022-10-24 04:08:56,773 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:08:56 2022-10-24 04:08:56,774 [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) 04:08:57 2022-10-24 04:08:57,548 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:08:57 2.3.0-dev.28 [Pipeline] } 04:08:57 $ docker exec --env ******** --env ******** 7490e24f3637fb9da7447d651d950441a57d7f6cfcd9efd15c3fdd19faade743 ssh-agent -k 04:08:57 unset SSH_AUTH_SOCK; 04:08:57 unset SSH_AGENT_PID; 04:08:57 echo Agent pid 38 killed; 04:08:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:58 + git semver [Pipeline] } 04:08:58 $ docker stop --time=1 7490e24f3637fb9da7447d651d950441a57d7f6cfcd9efd15c3fdd19faade743 04:08:59 $ docker rm -f 7490e24f3637fb9da7447d651d950441a57d7f6cfcd9efd15c3fdd19faade743 [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 04:09:00 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 04:09:00 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:09:00 total 16 04:09:00 drwxr-xr-x 3 root root 4096 Oct 24 03:56 . 04:09:00 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 04:08 .. 04:09:00 drwxr-xr-x 2 root root 4096 Oct 24 03:56 cost 04:09:00 -rw-r--r-- 1 root root 85 Oct 24 03:56 cost.csv 04:09:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:09:00 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:09:00 total 16 04:09:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:56 . 04:09:00 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 04:08 .. 04:09:00 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 03:56 cost 04:09:00 -rw-r--r-- 1 jenkins jenkins 85 Oct 24 03:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:09:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:09:01 ---> package-listing.sh 04:09:01 ++ facter osfamily 04:09:01 ++ tr '[:upper:]' '[:lower:]' 04:09:01 + OS_FAMILY=debian 04:09:01 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 04:09:01 + START_PACKAGES=/tmp/packages_start.txt 04:09:01 + END_PACKAGES=/tmp/packages_end.txt 04:09:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:09:01 + PACKAGES=/tmp/packages_start.txt 04:09:01 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:09:01 + PACKAGES=/tmp/packages_end.txt 04:09:01 + case "${OS_FAMILY}" in 04:09:01 + dpkg -l 04:09:01 + grep '^ii' 04:09:01 + '[' -f /tmp/packages_start.txt ']' 04:09:01 + '[' -f /tmp/packages_end.txt ']' 04:09:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:09:01 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:09:01 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 04:09:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 04:09:01 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 04:09:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:02 prd-ubuntu20.04-docker-8c-8g-9068 does not seem to be running inside a container 04:09:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:09:03 $ docker top 7db9a48df00b20612f5a2a7e8cd4144a9dce6b38848df71d910f382333582e3a -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:03 + touch /tmp/pre-build-complete [Pipeline] sh 04:09:03 + mkdir -p /var/log/sysstat [Pipeline] sh 04:09:03 + ls /var/log/sa-host 04:09:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:04 provisioning config files... 04:09:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2270297717957485992tmp [Pipeline] { [Pipeline] echo 04:09:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:09:04 ---> create-netrc.sh [Pipeline] } 04:09:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:09:04 ---> python-tools-install.sh [Pipeline] echo 04:09:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:09:05 ---> sudo-logs.sh 04:09:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:09:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:09:05 ---> job-cost.sh 04:09:05 lf-activate-venv: SKIPPING 04:09:05 DEBUG: total: 0.2199999988079071 04:09:05 INFO: Retrieving Stack Cost... 04:09:05 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:06 INFO: Archiving Costs [Pipeline] echo 04:09:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:09:06 ---> logs-deploy.sh 04:09:06 lf-activate-venv: SKIPPING 04:09:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/74 04:09:06 INFO: archiving workspace using pattern(s): 04:09:07 Archives upload complete. 04:09:07 INFO: archiving logs to Nexus