Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a35f1d313b93b1afef0ede40251cd94a3668512 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-ssh17495115617951732796.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7132393071033052779.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15579501996312782721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh10470623197474036021.key > 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-ssh9235862822555247762.key > 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-333 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 > 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 4a35f1d313b93b1afef0ede40251cd94a3668512 (main) Commit message: "Merge pull request #527 from lenny-intel/go-1.20" > 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 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 > git rev-list --no-walk 61add75b1ef191377c59afa20b8ba92f4dc8af4b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:56:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:56:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:56:09 ========================================================= 02:56:09 EdgeX Global Pipelines Version Info 02:56:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:56:09 ------------------- 02:56:09 stable info: 02:56:09 ------------------- 02:56:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:56:09 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 02:56:09 Message: update stable to v1.0.245 02:56:10 ------------------- 02:56:10 experimental info: 02:56:10 ------------------- 02:56:10 Commited By: **** collab-it+edgex@linuxfoundation.org 02:56:10 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 02:56:10 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a35f1d [Pipeline] echo 02:56:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:10 provisioning config files... 02:56:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2981015832359947090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:11 ---> docker-login.sh 02:56:11 nexus3.edgexfoundry.org:10001 02:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:11 Configure a credential helper to remove this warning. See 02:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:11 02:56:11 Login Succeeded 02:56:11 nexus3.edgexfoundry.org:10002 02:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:11 Configure a credential helper to remove this warning. See 02:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:11 02:56:11 Login Succeeded 02:56:11 nexus3.edgexfoundry.org:10003 02:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:11 Configure a credential helper to remove this warning. See 02:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:11 02:56:11 Login Succeeded 02:56:11 nexus3.edgexfoundry.org:10004 02:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:12 Configure a credential helper to remove this warning. See 02:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:12 02:56:12 Login Succeeded 02:56:12 docker.io 02:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:12 Configure a credential helper to remove this warning. See 02:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:12 02:56:12 Login Succeeded 02:56:12 ---> docker-login.sh ends [Pipeline] } 02:56:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:56:12 + git rev-list -1 --merges 4a35f1d313b93b1afef0ede40251cd94a3668512~1..4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo 02:56:12 -----------> git rev-list -1 --merges 4a35f1d313b93b1afef0ede40251cd94a3668512~1..4a35f1d313b93b1afef0ede40251cd94a3668512 4a35f1d313b93b1afef0ede40251cd94a3668512 02:56:12 4a35f1d313b93b1afef0ede40251cd94a3668512 [false] [Pipeline] sh 02:56:13 + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo 02:56:13 ========================================================= 02:56:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:56:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:56:13 + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo 02:56:13 [semverPrep] GIT_COMMIT: 4a35f1d313b93b1afef0ede40251cd94a3668512, Commit Message: Merge pull request #527 from lenny-intel/go-1.20 [Pipeline] echo 02:56:13 [semverPrep] This is not a build commit. [Pipeline] sh 02:56:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:56:13 + grep -v github /etc/ssh/ssh_known_hosts 02:56:13 + [ -e /tmp/ssh_known_hosts ] 02:56:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:56:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:56:13 + sudo tee -a /etc/ssh/ssh_known_hosts 02:56:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:14 02:56:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:14 0.1.4: Pulling from edgex-devops/py-git-semver 02:56:14 b85a868b505f: Pulling fs layer 02:56:14 e2be974225ed: Pulling fs layer 02:56:14 339a4e72a1f5: Pulling fs layer 02:56:14 988bab9f4d93: Pulling fs layer 02:56:14 1469e6f7b9e6: Pulling fs layer 02:56:14 eaf3925da568: Pulling fs layer 02:56:14 bab4dde63d76: Pulling fs layer 02:56:14 bde34c3a00c8: Pulling fs layer 02:56:14 b352a97aabf1: Pulling fs layer 02:56:14 4872d77fe225: Pulling fs layer 02:56:14 5851b861e8e6: Pulling fs layer 02:56:14 988bab9f4d93: Waiting 02:56:14 1469e6f7b9e6: Waiting 02:56:14 bab4dde63d76: Waiting 02:56:14 eaf3925da568: Waiting 02:56:14 4872d77fe225: Waiting 02:56:14 b352a97aabf1: Waiting 02:56:14 5851b861e8e6: Waiting 02:56:14 e2be974225ed: Verifying Checksum 02:56:14 e2be974225ed: Download complete 02:56:14 988bab9f4d93: Download complete 02:56:14 1469e6f7b9e6: Verifying Checksum 02:56:14 1469e6f7b9e6: Download complete 02:56:14 eaf3925da568: Verifying Checksum 02:56:14 eaf3925da568: Download complete 02:56:14 339a4e72a1f5: Verifying Checksum 02:56:14 339a4e72a1f5: Download complete 02:56:14 bde34c3a00c8: Verifying Checksum 02:56:14 bde34c3a00c8: Download complete 02:56:14 b352a97aabf1: Download complete 02:56:14 4872d77fe225: Verifying Checksum 02:56:14 4872d77fe225: Download complete 02:56:14 5851b861e8e6: Verifying Checksum 02:56:14 5851b861e8e6: Download complete 02:56:14 b85a868b505f: Verifying Checksum 02:56:14 b85a868b505f: Download complete 02:56:14 bab4dde63d76: Verifying Checksum 02:56:14 bab4dde63d76: Download complete 02:56:15 b85a868b505f: Pull complete 02:56:16 e2be974225ed: Pull complete 02:56:16 339a4e72a1f5: Pull complete 02:56:16 988bab9f4d93: Pull complete 02:56:16 1469e6f7b9e6: Pull complete 02:56:16 eaf3925da568: Pull complete 02:56:18 bab4dde63d76: Pull complete 02:56:18 bde34c3a00c8: Pull complete 02:56:18 b352a97aabf1: Pull complete 02:56:19 4872d77fe225: Pull complete 02:56:19 5851b861e8e6: Pull complete 02:56:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:56:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:19 prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container 02:56:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:56:21 $ docker top c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e -eo pid,comm 02:56:21 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). 02:56:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:56:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:56:21 [ssh-agent] Looking for ssh-agent implementation... 02:56:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:56:22 $ docker exec c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e ssh-agent 02:56:22 SSH_AUTH_SOCK=/tmp/ssh-ouFdIO6ISfkP/agent.32 02:56:22 SSH_AGENT_PID=38 02:56:22 Running ssh-add (command line suppressed) 02:56:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12096247315332970541.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12096247315332970541.key) 02:56:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:56:22 + git tag --points-at HEAD [Pipeline] } 02:56:22 $ docker exec --env ******** --env ******** c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e ssh-agent -k 02:56:22 unset SSH_AUTH_SOCK; 02:56:22 unset SSH_AGENT_PID; 02:56:22 echo Agent pid 38 killed; 02:56:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:56:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:56:22 [ssh-agent] Looking for ssh-agent implementation... 02:56:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:56:22 $ docker exec c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e ssh-agent 02:56:22 SSH_AUTH_SOCK=/tmp/ssh-uhwQOqq0gVst/agent.70 02:56:22 SSH_AGENT_PID=76 02:56:22 Running ssh-add (command line suppressed) 02:56:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1740788754226426406.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1740788754226426406.key) 02:56:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:56:23 + git semver init 02:56:23 2023-03-15 02:56:23,560 [run_init] DEBUG init version:0.0.0 force:False 02:56:23 2023-03-15 02:56:23,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:56:23 2023-03-15 02:56:23,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:56:23 2023-03-15 02:56:23,561 [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) 02:56:24 2023-03-15 02:56:24,351 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:56:24 2023-03-15 02:56:24,351 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:56:24 2023-03-15 02:56:24,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:56:24 2023-03-15 02:56:24,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:56:24 3.0.0-dev.12 [Pipeline] } 02:56:24 $ docker exec --env ******** --env ******** c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e ssh-agent -k 02:56:24 unset SSH_AUTH_SOCK; 02:56:24 unset SSH_AGENT_PID; 02:56:24 echo Agent pid 76 killed; 02:56:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:56:24 + git semver [Pipeline] } 02:56:25 $ docker stop --time=1 c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e 02:56:26 $ docker rm -f --volumes c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e [Pipeline] // withDockerContainer [Pipeline] sh 02:56:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:56:27 Stashed 1 file(s) [Pipeline] echo 02:56:27 [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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 02:56:27 provisioning config files... 02:56:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12513917873086905655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:27 ---> docker-login.sh 02:56:27 nexus3.edgexfoundry.org:10001 02:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:27 Configure a credential helper to remove this warning. See 02:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:27 02:56:27 Login Succeeded 02:56:27 nexus3.edgexfoundry.org:10002 02:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:27 Configure a credential helper to remove this warning. See 02:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:27 02:56:27 Login Succeeded 02:56:27 nexus3.edgexfoundry.org:10003 02:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:27 Configure a credential helper to remove this warning. See 02:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:27 02:56:27 Login Succeeded 02:56:27 nexus3.edgexfoundry.org:10004 02:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:27 Configure a credential helper to remove this warning. See 02:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:27 02:56:27 Login Succeeded 02:56:27 docker.io 02:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:56:28 Configure a credential helper to remove this warning. See 02:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:56:28 02:56:28 Login Succeeded 02:56:28 ---> docker-login.sh ends [Pipeline] } 02:56:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:56:28 ========================================================= 02:56:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:56:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:56:28 Sending build context to Docker daemon 6.391MB 02:56:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:56:28 Step 2/12 : FROM ${BASE} AS builder 02:56:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:56:28 63b65145d645: Pulling fs layer 02:56:28 a2d21d5440eb: Pulling fs layer 02:56:28 935e6c44a52c: Pulling fs layer 02:56:28 94cc34f8dd06: Pulling fs layer 02:56:28 30dea6a524f1: Pulling fs layer 02:56:28 a2aff8979fd8: Pulling fs layer 02:56:28 6808be2612f2: Pulling fs layer 02:56:28 f25807f1079a: Pulling fs layer 02:56:28 30dea6a524f1: Waiting 02:56:28 a2aff8979fd8: Waiting 02:56:28 6808be2612f2: Waiting 02:56:28 f25807f1079a: Waiting 02:56:28 94cc34f8dd06: Waiting 02:56:28 a2d21d5440eb: Verifying Checksum 02:56:28 a2d21d5440eb: Download complete 02:56:28 94cc34f8dd06: Download complete 02:56:28 30dea6a524f1: Verifying Checksum 02:56:28 30dea6a524f1: Download complete 02:56:28 63b65145d645: Verifying Checksum 02:56:28 63b65145d645: Download complete 02:56:28 a2aff8979fd8: Download complete 02:56:28 63b65145d645: Pull complete 02:56:29 a2d21d5440eb: Pull complete 02:56:29 f25807f1079a: Verifying Checksum 02:56:29 f25807f1079a: Download complete 02:56:29 935e6c44a52c: Download complete 02:56:29 6808be2612f2: Verifying Checksum 02:56:29 6808be2612f2: Download complete 02:56:32 935e6c44a52c: Pull complete 02:56:32 94cc34f8dd06: Pull complete 02:56:32 30dea6a524f1: Pull complete 02:56:32 a2aff8979fd8: Pull complete 02:56:35 6808be2612f2: Pull complete 02:56:35 f25807f1079a: Pull complete 02:56:35 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:56:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:56:35 ---> 3b553350e43f 02:56:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:56:40 ---> Running in 84b39cdd84ec 02:56:40 Removing intermediate container 84b39cdd84ec 02:56:40 ---> b51bddb43acb 02:56:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:56:40 ---> Running in 150e22294dc1 02:56:40 Removing intermediate container 150e22294dc1 02:56:40 ---> 1a5fc9308597 02:56:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:56:40 ---> Running in 3c2eab26c0b7 02:56:40 Removing intermediate container 3c2eab26c0b7 02:56:40 ---> 859885611fee 02:56:40 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:56:40 ---> Running in b99cc60c5063 02:56:40 Removing intermediate container b99cc60c5063 02:56:40 ---> feac98260a5d 02:56:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:56:40 ---> Running in 1d87b87a6e8d 02:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:56:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:56:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:56:40 (2/4) Installing libedit (20221030.3.1-r0) 02:56:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:56:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:56:40 Executing busybox-1.35.0-r29.trigger 02:56:40 OK: 269 MiB in 57 packages 02:56:41 Removing intermediate container 1d87b87a6e8d 02:56:41 ---> c287c0fcda01 02:56:41 Step 8/12 : WORKDIR /device-mqtt-go 02:56:41 ---> Running in a046f79c3036 02:56:41 Removing intermediate container a046f79c3036 02:56:41 ---> 22fb940142d6 02:56:41 Step 9/12 : COPY go.mod vendor* ./ 02:56:41 ---> a9cf9112d86d 02:56:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:56:41 ---> Running in dd6b51411160 02:56:42 Still waiting to schedule task 02:56:42 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:57:08 Removing intermediate container dd6b51411160 02:57:08 ---> 7ff05edbc50e 02:57:08 Step 11/12 : COPY . . 02:57:08 ---> 0733fb85dea9 02:57:08 Step 12/12 : RUN $MAKE 02:57:08 ---> Running in 2f48fd49f813 02:57:08 noop 02:57:08 Removing intermediate container 2f48fd49f813 02:57:08 ---> 390a3fe3b618 02:57:08 Successfully built 390a3fe3b618 02:57:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:08 + docker inspect -f . ci-base-image-x86_64 02:57:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:08 prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container 02:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:57:08 $ docker top 7b5d48ccb2a3cd05b9dcf3e3c8bb35302fbd0a1c4c1c5fb5b0ae80816ed65053 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:09 + go version 02:57:09 go version go1.20.2 linux/amd64 [Pipeline] } 02:57:09 $ docker stop --time=1 7b5d48ccb2a3cd05b9dcf3e3c8bb35302fbd0a1c4c1c5fb5b0ae80816ed65053 02:57:10 $ docker rm -f --volumes 7b5d48ccb2a3cd05b9dcf3e3c8bb35302fbd0a1c4c1c5fb5b0ae80816ed65053 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:10 + docker inspect -f . ci-base-image-x86_64 02:57:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:10 prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container 02:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:57:11 $ docker top 016521cca80fe97de6d7b9a41ec7555f9da50ab304e891d0c5f49191b02144e7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:57:11 + make test 02:57:11 go test ./... -coverprofile=coverage.out ./... 02:57:16 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:57:26 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:57:26 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:57:26 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.2% of statements 02:57:32 go vet ./... 02:57:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:57:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:57:35 ./bin/test-attribution-txt.sh [Pipeline] echo 02:57:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:57:35 $ docker stop --time=1 016521cca80fe97de6d7b9a41ec7555f9da50ab304e891d0c5f49191b02144e7 02:57:38 $ docker rm -f --volumes 016521cca80fe97de6d7b9a41ec7555f9da50ab304e891d0c5f49191b02144e7 [Pipeline] // withDockerContainer [Pipeline] sh 02:57:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:57:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:57:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:57:40 + ls -al . 02:57:40 total 180 02:57:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:57 . 02:57:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:56 .. 02:57:40 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 02:56 .dockerignore 02:57:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:56 .git 02:57:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:56 .github 02:57:40 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 02:56 .gitignore 02:57:40 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:56 .golangci.yml 02:57:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:56 .semver 02:57:40 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 02:56 Attribution.txt 02:57:40 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 02:56 CHANGELOG.md 02:57:40 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 02:56 Dockerfile 02:57:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:56 GOVERNANCE.md 02:57:40 -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 02:56 Jenkinsfile 02:57:40 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:56 LICENSE 02:57:40 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 02:56 Makefile 02:57:40 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 02:56 OWNERS.md 02:57:40 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 02:56 README.md 02:57:40 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:56 VERSION 02:57:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:56 bin 02:57:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:56 cmd 02:57:40 -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 02:57 coverage.out 02:57:40 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 02:56 go.mod 02:57:40 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 02:56 go.sum 02:57:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:56 internal 02:57:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:56 mock 02:57:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:56 snap 02:57:40 -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 02:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:40 + 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=4a35f1d313b93b1afef0ede40251cd94a3668512 --label arch=amd64 --label version=3.0.0-dev.12 . 02:57:40 Sending build context to Docker daemon 6.41MB 02:57:40 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:57:40 Step 2/24 : FROM ${BASE} AS builder 02:57:40 ---> 390a3fe3b618 02:57:40 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:57:40 ---> Running in ee46481d7bf7 02:57:40 Removing intermediate container ee46481d7bf7 02:57:40 ---> 5a9fa89c592c 02:57:40 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:57:40 ---> Running in 999b683bb5be 02:57:40 Removing intermediate container 999b683bb5be 02:57:40 ---> 0c98f59b30cd 02:57:40 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:57:40 ---> Running in 61919b1d3bac 02:57:40 Removing intermediate container 61919b1d3bac 02:57:40 ---> a1cba6becf52 02:57:40 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:57:40 ---> Running in 21602c81d911 02:57:40 Removing intermediate container 21602c81d911 02:57:40 ---> 6e7fa4446109 02:57:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:57:40 ---> Running in e9cd3eadea11 02:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:57:41 OK: 269 MiB in 57 packages 02:57:42 Removing intermediate container e9cd3eadea11 02:57:42 ---> 1b6a60e19016 02:57:42 Step 8/24 : WORKDIR /device-mqtt-go 02:57:42 ---> Running in 5b48d4128272 02:57:42 Removing intermediate container 5b48d4128272 02:57:42 ---> abfe6da9cea6 02:57:42 Step 9/24 : COPY go.mod vendor* ./ 02:57:42 ---> 8bd6f02aff00 02:57:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:57:42 ---> Running in 78e31abca86d 02:57:43 Removing intermediate container 78e31abca86d 02:57:43 ---> 96f0526a5e33 02:57:43 Step 11/24 : COPY . . 02:57:43 ---> 3e5e29fb6fd6 02:57:43 Step 12/24 : RUN $MAKE 02:57:43 ---> Running in c84304e32d85 02:57:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:58:05 Removing intermediate container c84304e32d85 02:58:05 ---> 363bac31ce32 02:58:05 Step 13/24 : FROM alpine:3.17 02:58:05 3.17: Pulling from library/alpine 02:58:05 63b65145d645: Already exists 02:58:05 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 02:58:05 Status: Downloaded newer image for alpine:3.17 02:58:05 ---> b2aa39c304c2 02:58:05 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:58:05 ---> Running in 6e1600ecdba4 02:58:05 Removing intermediate container 6e1600ecdba4 02:58:05 ---> 8a3b23256942 02:58:05 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:58:05 ---> Running in fae9eced3043 02:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:58:05 (1/1) Installing dumb-init (1.2.5-r2) 02:58:05 Executing busybox-1.35.0-r29.trigger 02:58:05 OK: 7 MiB in 16 packages 02:58:05 Removing intermediate container fae9eced3043 02:58:05 ---> fa24a95526ce 02:58:05 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:58:05 ---> fde812050f76 02:58:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:58:05 ---> 28c0b0c7ccc8 02:58:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:58:05 ---> 48896deb938a 02:58:05 Step 19/24 : EXPOSE 59982 02:58:05 ---> Running in b8d7af53c911 02:58:05 Removing intermediate container b8d7af53c911 02:58:05 ---> e10336df3aba 02:58:05 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:58:05 ---> Running in 17596a21116f 02:58:05 Removing intermediate container 17596a21116f 02:58:05 ---> 0cf7e2f9cdbe 02:58:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:58:05 ---> Running in 6ef24db4be36 02:58:05 Removing intermediate container 6ef24db4be36 02:58:05 ---> f57d2d6b414b 02:58:05 Step 22/24 : LABEL arch=amd64 02:58:05 ---> Running in 0a1528880613 02:58:05 Removing intermediate container 0a1528880613 02:58:05 ---> 29119dd5e465 02:58:05 Step 23/24 : LABEL git_sha=4a35f1d313b93b1afef0ede40251cd94a3668512 02:58:05 ---> Running in 6b32b14dad99 02:58:05 Removing intermediate container 6b32b14dad99 02:58:05 ---> b9dd6fe6f79f 02:58:05 Step 24/24 : LABEL version=3.0.0-dev.12 02:58:05 ---> Running in 54498c2f2fa7 02:58:05 Removing intermediate container 54498c2f2fa7 02:58:05 ---> 6fdbe29d403c 02:58:05 [Warning] One or more build-args [ARCH] were not consumed 02:58:05 Successfully built 6fdbe29d403c 02:58:05 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:58:05 provisioning config files... 02:58:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config845995334572261964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:06 ---> docker-login.sh 02:58:06 nexus3.edgexfoundry.org:10001 02:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:06 Configure a credential helper to remove this warning. See 02:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:06 02:58:06 Login Succeeded 02:58:06 nexus3.edgexfoundry.org:10002 02:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:06 Configure a credential helper to remove this warning. See 02:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:06 02:58:06 Login Succeeded 02:58:06 nexus3.edgexfoundry.org:10003 02:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:06 Configure a credential helper to remove this warning. See 02:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:06 02:58:06 Login Succeeded 02:58:06 nexus3.edgexfoundry.org:10004 02:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:06 Configure a credential helper to remove this warning. See 02:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:06 02:58:06 Login Succeeded 02:58:06 docker.io 02:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:58:06 Configure a credential helper to remove this warning. See 02:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:58:06 02:58:06 Login Succeeded 02:58:06 ---> docker-login.sh ends [Pipeline] } 02:58:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:58:06 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:58:06 4a35f1d313b93b1afef0ede40251cd94a3668512 02:58:06 latest 02:58:06 3.0.0-dev.12 02:58:06 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 02:58:06 main 02:58:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:06 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 02:58:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:58:07 2410a3979d12: Preparing 02:58:07 0213d747bffb: Preparing 02:58:07 102899ede418: Preparing 02:58:07 727d6b872673: Preparing 02:58:07 7cd52847ad77: Preparing 02:58:07 7cd52847ad77: Layer already exists 02:58:07 727d6b872673: Pushed 02:58:07 2410a3979d12: Pushed 02:58:07 0213d747bffb: Pushed 02:58:09 102899ede418: Pushed 02:58:10 4a35f1d313b93b1afef0ede40251cd94a3668512: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:58:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:58:10 2410a3979d12: Preparing 02:58:10 0213d747bffb: Preparing 02:58:10 102899ede418: Preparing 02:58:10 727d6b872673: Preparing 02:58:10 7cd52847ad77: Preparing 02:58:10 7cd52847ad77: Layer already exists 02:58:10 102899ede418: Layer already exists 02:58:10 2410a3979d12: Layer already exists 02:58:10 0213d747bffb: Layer already exists 02:58:10 727d6b872673: Layer already exists 02:58:10 latest: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 02:58:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:58:11 2410a3979d12: Preparing 02:58:11 0213d747bffb: Preparing 02:58:11 102899ede418: Preparing 02:58:11 727d6b872673: Preparing 02:58:11 7cd52847ad77: Preparing 02:58:11 0213d747bffb: Layer already exists 02:58:11 102899ede418: Layer already exists 02:58:11 7cd52847ad77: Layer already exists 02:58:11 727d6b872673: Layer already exists 02:58:11 2410a3979d12: Layer already exists 02:58:11 3.0.0-dev.12: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 02:58:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:58:11 2410a3979d12: Preparing 02:58:11 0213d747bffb: Preparing 02:58:11 102899ede418: Preparing 02:58:11 727d6b872673: Preparing 02:58:11 7cd52847ad77: Preparing 02:58:11 7cd52847ad77: Layer already exists 02:58:11 727d6b872673: Layer already exists 02:58:11 102899ede418: Layer already exists 02:58:11 2410a3979d12: Layer already exists 02:58:11 0213d747bffb: Layer already exists 02:58:11 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:58:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:58:12 2410a3979d12: Preparing 02:58:12 0213d747bffb: Preparing 02:58:12 102899ede418: Preparing 02:58:12 727d6b872673: Preparing 02:58:12 7cd52847ad77: Preparing 02:58:12 7cd52847ad77: Layer already exists 02:58:12 727d6b872673: Layer already exists 02:58:12 102899ede418: Layer already exists 02:58:12 2410a3979d12: Layer already exists 02:58:12 0213d747bffb: Layer already exists 02:58:12 main: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:58:12 ===================================================== [Pipeline] echo 02:58:12 taggedImages: 02:58:12 - nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 02:58:12 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:58:12 - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 02:58:12 - nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 02:58:12 - 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 02:58:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:58:12 02:58:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:58:13 latest: Pulling from edgex-lftools-log-publisher 02:58:13 5eb5b503b376: Pulling fs layer 02:58:13 5c69ac0246d0: Pulling fs layer 02:58:13 ec43610c2a17: Pulling fs layer 02:58:13 3a2ae6a8a46f: Pulling fs layer 02:58:13 33b1e0a273af: Pulling fs layer 02:58:13 5d3b04190fa2: Pulling fs layer 02:58:13 2f39f015ded8: Pulling fs layer 02:58:13 3a2ae6a8a46f: Waiting 02:58:13 5d3b04190fa2: Waiting 02:58:13 33b1e0a273af: Waiting 02:58:13 2f39f015ded8: Waiting 02:58:13 5c69ac0246d0: Download complete 02:58:13 3a2ae6a8a46f: Verifying Checksum 02:58:13 3a2ae6a8a46f: Download complete 02:58:13 33b1e0a273af: Download complete 02:58:13 5d3b04190fa2: Verifying Checksum 02:58:13 5d3b04190fa2: Download complete 02:58:13 ec43610c2a17: Verifying Checksum 02:58:13 ec43610c2a17: Download complete 02:58:13 5eb5b503b376: Verifying Checksum 02:58:13 5eb5b503b376: Download complete 02:58:14 2f39f015ded8: Download complete 02:58:14 5eb5b503b376: Pull complete 02:58:14 5c69ac0246d0: Pull complete 02:58:15 ec43610c2a17: Pull complete 02:58:15 3a2ae6a8a46f: Pull complete 02:58:15 33b1e0a273af: Pull complete 02:58:15 5d3b04190fa2: Pull complete 02:58:20 2f39f015ded8: Pull complete 02:58:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:58:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:20 prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container 02:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:58:22 $ docker top 73a5d17461d1b21da370a2d6c1f0b3daeb8c22a65b0bb0ac156ae1b07a25b9d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:23 ---> job-cost.sh 02:58:23 lf-activate-venv: SKIPPING 02:58:23 INFO: No Stack... 02:58:23 INFO: Retrieving Pricing Info for: v3-standard-8 02:58:23 INFO: Archiving Costs [Pipeline] sh 02:58:23 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:58:23 + cut -d, -f6 [Pipeline] lock 02:58:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] 02:58:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] did not exist. Created. 02:58:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:58:24 + echo total: 0.2199999988079071 [Pipeline] stash 02:58:24 Stashed 1 file(s) [Pipeline] } 02:58:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 02:58:24 $ docker stop --time=1 73a5d17461d1b21da370a2d6c1f0b3daeb8c22a65b0bb0ac156ae1b07a25b9d9 02:58:25 $ docker rm -f --volumes 73a5d17461d1b21da370a2d6c1f0b3daeb8c22a65b0bb0ac156ae1b07a25b9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:59:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-341 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:59:33 Running in /w/workspace/device-mqtt-go/95 [Pipeline] { [Pipeline] checkout 02:59:33 Selected Git installation does not exist. Using Default 02:59:33 The recommended git tool is: NONE 02:59:42 using credential edgex-jenkins-ssh 02:59:42 Cloning the remote Git repository 02:59:42 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:59:42 > git init /w/workspace/device-mqtt-go/95 # timeout=10 02:59:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:59:43 > git --version # timeout=10 02:59:43 > git --version # 'git version 2.25.1' 02:59:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:59:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:59:44 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:59:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:59:46 Avoid second fetch 02:59:46 Checking out Revision 4a35f1d313b93b1afef0ede40251cd94a3668512 (main) 02:59:46 > git config core.sparsecheckout # timeout=10 02:59:46 > git checkout -f 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 02:59:48 Commit message: "Merge pull request #527 from lenny-intel/go-1.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:59:49 % Total % Received % Xferd Average Speed Time Time Time Current 02:59:49 Dload Upload Total Spent Left Speed 02:59:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 60431 0 --:--:-- --:--:-- --:--:-- 60431 [Pipeline] sh 02:59:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:59:50 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 02:59:50 /etc/docker/daemon.json 02:59:50 { 02:59:50 "registry-mirrors": [ 02:59:50 "https://nexus3.edgexfoundry.org:10001" 02:59:50 ], 02:59:50 "bip": "10.250.0.254/24", 02:59:50 "hosts": [ 02:59:50 "tcp://0.0.0.0:5555", 02:59:50 "unix:///var/run/docker.sock" 02:59:50 ], 02:59:50 "mtu": 1458, 02:59:50 "selinux-enabled": true, 02:59:50 "seccomp-profile": "/etc/docker/seccomp.json" 02:59:50 } [Pipeline] sh 02:59:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:59:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:09 provisioning config files... 03:00:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/95@tmp/config3629644174993778993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:09 ---> docker-login.sh 03:00:09 nexus3.edgexfoundry.org:10001 03:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:10 Configure a credential helper to remove this warning. See 03:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:10 03:00:10 Login Succeeded 03:00:10 nexus3.edgexfoundry.org:10002 03:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:11 Configure a credential helper to remove this warning. See 03:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:11 03:00:11 Login Succeeded 03:00:11 nexus3.edgexfoundry.org:10003 03:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:11 Configure a credential helper to remove this warning. See 03:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:11 03:00:11 Login Succeeded 03:00:11 nexus3.edgexfoundry.org:10004 03:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:12 Configure a credential helper to remove this warning. See 03:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:12 03:00:12 Login Succeeded 03:00:12 docker.io 03:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:12 Configure a credential helper to remove this warning. See 03:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:12 03:00:12 Login Succeeded 03:00:12 ---> docker-login.sh ends [Pipeline] } 03:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:00:13 ========================================================= 03:00:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:00:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:00:13 Sending build context to Docker daemon 3.304MB 03:00:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:00:13 Step 2/12 : FROM ${BASE} AS builder 03:00:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:00:14 af6eaf76a39c: Pulling fs layer 03:00:14 55522c791124: Pulling fs layer 03:00:14 ce5c4a1c91eb: Pulling fs layer 03:00:14 169dfbe0d373: Pulling fs layer 03:00:14 e1ff8fa3b103: Pulling fs layer 03:00:14 52ebb69f0ebf: Pulling fs layer 03:00:14 5abe8eddf0d5: Pulling fs layer 03:00:14 e1ff8fa3b103: Waiting 03:00:14 52ebb69f0ebf: Waiting 03:00:14 5abe8eddf0d5: Waiting 03:00:14 169dfbe0d373: Waiting 03:00:14 55522c791124: Download complete 03:00:14 169dfbe0d373: Verifying Checksum 03:00:14 169dfbe0d373: Download complete 03:00:14 e1ff8fa3b103: Verifying Checksum 03:00:14 e1ff8fa3b103: Download complete 03:00:14 af6eaf76a39c: Verifying Checksum 03:00:14 af6eaf76a39c: Download complete 03:00:15 5abe8eddf0d5: Verifying Checksum 03:00:15 5abe8eddf0d5: Download complete 03:00:15 af6eaf76a39c: Pull complete 03:00:16 55522c791124: Pull complete 03:00:17 52ebb69f0ebf: Verifying Checksum 03:00:17 52ebb69f0ebf: Download complete 03:00:17 ce5c4a1c91eb: Verifying Checksum 03:00:17 ce5c4a1c91eb: Download complete 03:00:29 ce5c4a1c91eb: Pull complete 03:00:29 169dfbe0d373: Pull complete 03:00:30 e1ff8fa3b103: Pull complete 03:00:38 52ebb69f0ebf: Pull complete 03:00:39 5abe8eddf0d5: Pull complete 03:00:39 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 03:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:00:39 ---> 6cb57ee374ae 03:00:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:00:41 ---> Running in 51511de48ccb 03:00:42 Removing intermediate container 51511de48ccb 03:00:42 ---> fc91f20a9171 03:00:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:00:42 ---> Running in c85920540e05 03:00:42 Removing intermediate container c85920540e05 03:00:42 ---> aa13111c5f83 03:00:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:00:42 ---> Running in e5cb643e6770 03:00:42 Removing intermediate container e5cb643e6770 03:00:42 ---> 5f27e4830b05 03:00:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:00:43 ---> Running in e701f6efc7d0 03:00:43 Removing intermediate container e701f6efc7d0 03:00:43 ---> 9c57a5be57e1 03:00:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:00:43 ---> Running in 451e5dcd2e8e 03:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:00:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 03:00:47 (2/4) Installing libedit (20221030.3.1-r0) 03:00:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 03:00:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 03:00:47 Executing busybox-1.35.0-r29.trigger 03:00:47 OK: 268 MiB in 57 packages 03:00:48 Removing intermediate container 451e5dcd2e8e 03:00:48 ---> f0af5cc244ca 03:00:48 Step 8/12 : WORKDIR /device-mqtt-go 03:00:48 ---> Running in 35bd930619c9 03:00:49 Removing intermediate container 35bd930619c9 03:00:49 ---> 12243815b2a5 03:00:49 Step 9/12 : COPY go.mod vendor* ./ 03:00:49 ---> ba5d0e4b56d0 03:00:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:00:49 ---> Running in c2449fae1bdd 03:01:57 Removing intermediate container c2449fae1bdd 03:01:57 ---> ed903ebdc8e0 03:01:57 Step 11/12 : COPY . . 03:01:57 ---> 5ef05aea02b7 03:01:57 Step 12/12 : RUN $MAKE 03:01:57 ---> Running in 50b6532bca77 03:01:58 noop 03:01:58 Removing intermediate container 50b6532bca77 03:01:58 ---> 40c054d3d4de 03:01:58 Successfully built 40c054d3d4de 03:01:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:59 + docker inspect -f . ci-base-image-arm64 03:01:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:59 prd-ubuntu20.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 03:01:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/95 -v /w/workspace/device-mqtt-go/95:/w/workspace/device-mqtt-go/95:rw,z -v /w/workspace/device-mqtt-go/95@tmp:/w/workspace/device-mqtt-go/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:02:00 $ docker top 6f7701768864c2761e9abc6faf0e742de1643691cfdf3394e6eba433dc41b40a -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:01 + go version 03:02:01 go version go1.20.2 linux/arm64 [Pipeline] } 03:02:01 $ docker stop --time=1 6f7701768864c2761e9abc6faf0e742de1643691cfdf3394e6eba433dc41b40a 03:02:03 $ docker rm -f --volumes 6f7701768864c2761e9abc6faf0e742de1643691cfdf3394e6eba433dc41b40a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:04 + docker inspect -f . ci-base-image-arm64 03:02:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:04 prd-ubuntu20.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 03:02:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/95 -v /w/workspace/device-mqtt-go/95:/w/workspace/device-mqtt-go/95:rw,z -v /w/workspace/device-mqtt-go/95@tmp:/w/workspace/device-mqtt-go/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:02:05 $ docker top 951916b5ba6c95788a699d37c12e5460689f7ad414ff4a326c8eef616de80c3e -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:06 + git config --global --add safe.directory /w/workspace/device-mqtt-go/95 [Pipeline] fileExists [Pipeline] sh 03:02:07 + make test 03:02:07 go test ./... -coverprofile=coverage.out ./... 03:02:54 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:05:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:05:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:05:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 22.2% of statements 03:05:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:05:05 go vet ./... 03:05:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:05:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:05:37 ./bin/test-attribution-txt.sh [Pipeline] echo 03:05:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:05:38 $ docker stop --time=1 951916b5ba6c95788a699d37c12e5460689f7ad414ff4a326c8eef616de80c3e 03:05:39 $ docker rm -f --volumes 951916b5ba6c95788a699d37c12e5460689f7ad414ff4a326c8eef616de80c3e [Pipeline] // withDockerContainer [Pipeline] sh 03:05:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:05:41 Warning: overwriting stash ‘coverage-report’ 03:05:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:05:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:05:42 + ls -al . 03:05:42 total 176 03:05:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 03:02 . 03:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:59 .. 03:05:42 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 02:59 .dockerignore 03:05:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:59 .git 03:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:59 .github 03:05:42 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 02:59 .gitignore 03:05:42 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:59 .golangci.yml 03:05:42 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 02:59 Attribution.txt 03:05:42 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 02:59 CHANGELOG.md 03:05:42 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 02:59 Dockerfile 03:05:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:59 GOVERNANCE.md 03:05:42 -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 02:59 Jenkinsfile 03:05:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:59 LICENSE 03:05:42 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 02:59 Makefile 03:05:42 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 02:59 OWNERS.md 03:05:42 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 02:59 README.md 03:05:42 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:56 VERSION 03:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:59 bin 03:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:59 cmd 03:05:42 -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 03:05 coverage.out 03:05:42 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 02:59 go.mod 03:05:42 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 02:59 go.sum 03:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:59 internal 03:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:59 mock 03:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:59 snap 03:05:42 -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 02:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:43 + 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=4a35f1d313b93b1afef0ede40251cd94a3668512 --label arch=arm64 --label version=3.0.0-dev.12 . 03:05:43 Sending build context to Docker daemon 3.323MB 03:05:43 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 03:05:43 Step 2/24 : FROM ${BASE} AS builder 03:05:43 ---> 40c054d3d4de 03:05:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 03:05:43 ---> Running in 08a06bf26786 03:05:43 Removing intermediate container 08a06bf26786 03:05:43 ---> 79af38b24b91 03:05:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:05:44 ---> Running in e05aca607a2c 03:05:44 Removing intermediate container e05aca607a2c 03:05:44 ---> 12fbd50e2393 03:05:44 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:05:44 ---> Running in 14bc93ed1b5a 03:05:44 Removing intermediate container 14bc93ed1b5a 03:05:44 ---> fb702139118c 03:05:44 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 03:05:44 ---> Running in 05c835f62dd9 03:05:45 Removing intermediate container 05c835f62dd9 03:05:45 ---> 497c33b9ec3c 03:05:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:05:45 ---> Running in 8cfea0850152 03:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:05:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:05:48 OK: 268 MiB in 57 packages 03:05:49 Removing intermediate container 8cfea0850152 03:05:49 ---> c99ca42c7f72 03:05:49 Step 8/24 : WORKDIR /device-mqtt-go 03:05:49 ---> Running in ebb6519086a8 03:05:49 Removing intermediate container ebb6519086a8 03:05:49 ---> a4d4c7874fc5 03:05:49 Step 9/24 : COPY go.mod vendor* ./ 03:05:50 ---> 5331800f8f44 03:05:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:05:50 ---> Running in f93ff9f9bc3b 03:05:53 Removing intermediate container f93ff9f9bc3b 03:05:53 ---> 48d53aeebe32 03:05:53 Step 11/24 : COPY . . 03:05:54 ---> fcc829c411d9 03:05:54 Step 12/24 : RUN $MAKE 03:05:54 ---> Running in fef4cdbb7e7c 03:05:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 03:08:48 Removing intermediate container fef4cdbb7e7c 03:08:48 ---> f86e954e17d0 03:08:48 Step 13/24 : FROM alpine:3.17 03:08:48 3.17: Pulling from library/alpine 03:08:48 af6eaf76a39c: Already exists 03:08:48 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 03:08:48 Status: Downloaded newer image for alpine:3.17 03:08:48 ---> d74e625d9115 03:08:48 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:08:48 ---> Running in 86ac5cb322b2 03:08:48 Removing intermediate container 86ac5cb322b2 03:08:48 ---> 09373bc32d8d 03:08:48 Step 15/24 : RUN apk add --update --no-cache dumb-init 03:08:48 ---> Running in e2dc8f2d75f1 03:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:08:48 (1/1) Installing dumb-init (1.2.5-r2) 03:08:48 Executing busybox-1.35.0-r29.trigger 03:08:48 OK: 8 MiB in 16 packages 03:08:48 Removing intermediate container e2dc8f2d75f1 03:08:48 ---> cc75280a4477 03:08:48 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:08:48 ---> d507667a9466 03:08:48 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:08:48 ---> 4bbc317beeb8 03:08:48 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:08:48 ---> ce91b1f31c49 03:08:48 Step 19/24 : EXPOSE 59982 03:08:48 ---> Running in d014d8d5f6af 03:08:48 Removing intermediate container d014d8d5f6af 03:08:48 ---> aea6f0efbf11 03:08:48 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:08:48 ---> Running in 20bf55eb42e6 03:08:48 Removing intermediate container 20bf55eb42e6 03:08:48 ---> 29a7cb2f699d 03:08:48 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:08:48 ---> Running in 01f0e382945a 03:08:48 Removing intermediate container 01f0e382945a 03:08:48 ---> 260308ad0ad3 03:08:48 Step 22/24 : LABEL arch=arm64 03:08:48 ---> Running in b056db0ba995 03:08:48 Removing intermediate container b056db0ba995 03:08:48 ---> 004e6ac711bd 03:08:48 Step 23/24 : LABEL git_sha=4a35f1d313b93b1afef0ede40251cd94a3668512 03:08:48 ---> Running in ea0239e0b318 03:08:49 Removing intermediate container ea0239e0b318 03:08:49 ---> 6cda9bace550 03:08:49 Step 24/24 : LABEL version=3.0.0-dev.12 03:08:49 ---> Running in 5e452a04fb45 03:08:49 Removing intermediate container 5e452a04fb45 03:08:49 ---> 044aa76eeaf1 03:08:49 [Warning] One or more build-args [ARCH] were not consumed 03:08:49 Successfully built 044aa76eeaf1 03:08:49 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:08:49 provisioning config files... 03:08:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/95@tmp/config2015521559653906285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:08:50 ---> docker-login.sh 03:08:50 nexus3.edgexfoundry.org:10001 03:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:50 Configure a credential helper to remove this warning. See 03:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:50 03:08:50 Login Succeeded 03:08:50 nexus3.edgexfoundry.org:10002 03:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:50 Configure a credential helper to remove this warning. See 03:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:50 03:08:50 Login Succeeded 03:08:50 nexus3.edgexfoundry.org:10003 03:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:51 Configure a credential helper to remove this warning. See 03:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:51 03:08:51 Login Succeeded 03:08:51 nexus3.edgexfoundry.org:10004 03:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:51 Configure a credential helper to remove this warning. See 03:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:51 03:08:51 Login Succeeded 03:08:51 docker.io 03:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:08:52 Configure a credential helper to remove this warning. See 03:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:08:52 03:08:52 Login Succeeded 03:08:52 ---> docker-login.sh ends [Pipeline] } 03:08:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:08:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:08:52 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:08:52 4a35f1d313b93b1afef0ede40251cd94a3668512 03:08:52 latest 03:08:52 3.0.0-dev.12 03:08:52 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 03:08:52 main 03:08:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 03:08:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:08:53 a8bff912f77f: Preparing 03:08:53 ee27cba9ce02: Preparing 03:08:53 9a46cfdd0fb9: Preparing 03:08:53 f289af2e0b6b: Preparing 03:08:53 edf70074bd40: Preparing 03:08:53 edf70074bd40: Layer already exists 03:10:29 9a46cfdd0fb9: Retrying in 5 seconds 03:10:29 a8bff912f77f: Retrying in 5 seconds 03:10:29 ee27cba9ce02: Retrying in 5 seconds 03:10:29 f289af2e0b6b: Retrying in 5 seconds 03:10:29 9a46cfdd0fb9: Retrying in 4 seconds 03:10:29 ee27cba9ce02: Retrying in 4 seconds 03:10:29 a8bff912f77f: Retrying in 4 seconds 03:10:29 f289af2e0b6b: Retrying in 4 seconds 03:10:29 9a46cfdd0fb9: Retrying in 3 seconds 03:10:29 ee27cba9ce02: Retrying in 3 seconds 03:10:29 a8bff912f77f: Retrying in 3 seconds 03:10:29 f289af2e0b6b: Retrying in 3 seconds 03:10:29 9a46cfdd0fb9: Retrying in 2 seconds 03:10:29 ee27cba9ce02: Retrying in 2 seconds 03:10:29 a8bff912f77f: Retrying in 2 seconds 03:10:29 f289af2e0b6b: Retrying in 2 seconds 03:10:29 9a46cfdd0fb9: Retrying in 1 second 03:10:29 ee27cba9ce02: Retrying in 1 second 03:10:29 a8bff912f77f: Retrying in 1 second 03:10:29 f289af2e0b6b: Retrying in 1 second 03:11:37 a8bff912f77f: Pushed 03:11:37 ee27cba9ce02: Pushed 03:11:37 f289af2e0b6b: Pushed 03:11:37 9a46cfdd0fb9: Pushed 03:11:37 4a35f1d313b93b1afef0ede40251cd94a3668512: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:11:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:11:38 a8bff912f77f: Preparing 03:11:38 ee27cba9ce02: Preparing 03:11:38 9a46cfdd0fb9: Preparing 03:11:38 f289af2e0b6b: Preparing 03:11:38 edf70074bd40: Preparing 03:11:38 edf70074bd40: Layer already exists 03:11:38 9a46cfdd0fb9: Layer already exists 03:11:38 a8bff912f77f: Layer already exists 03:11:38 ee27cba9ce02: Layer already exists 03:11:38 f289af2e0b6b: Layer already exists 03:11:38 latest: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 03:11:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:11:39 a8bff912f77f: Preparing 03:11:39 ee27cba9ce02: Preparing 03:11:39 9a46cfdd0fb9: Preparing 03:11:39 f289af2e0b6b: Preparing 03:11:39 edf70074bd40: Preparing 03:11:39 f289af2e0b6b: Layer already exists 03:11:39 a8bff912f77f: Layer already exists 03:11:39 ee27cba9ce02: Layer already exists 03:11:39 9a46cfdd0fb9: Layer already exists 03:11:39 edf70074bd40: Layer already exists 03:11:39 3.0.0-dev.12: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 03:11:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:11:40 a8bff912f77f: Preparing 03:11:40 ee27cba9ce02: Preparing 03:11:40 9a46cfdd0fb9: Preparing 03:11:40 f289af2e0b6b: Preparing 03:11:40 edf70074bd40: Preparing 03:11:40 ee27cba9ce02: Layer already exists 03:11:40 f289af2e0b6b: Layer already exists 03:11:40 9a46cfdd0fb9: Layer already exists 03:11:40 a8bff912f77f: Layer already exists 03:11:40 edf70074bd40: Layer already exists 03:11:40 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:40 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 03:11:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:11:41 a8bff912f77f: Preparing 03:11:41 ee27cba9ce02: Preparing 03:11:41 9a46cfdd0fb9: Preparing 03:11:41 f289af2e0b6b: Preparing 03:11:41 edf70074bd40: Preparing 03:11:41 9a46cfdd0fb9: Layer already exists 03:11:41 edf70074bd40: Layer already exists 03:11:41 ee27cba9ce02: Layer already exists 03:11:41 a8bff912f77f: Layer already exists 03:11:41 f289af2e0b6b: Layer already exists 03:11:41 main: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:11:41 ===================================================== [Pipeline] echo 03:11:41 taggedImages: 03:11:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 03:11:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:11:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 03:11:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 03:11:41 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:11:41 03:11:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:11:42 arm64: Pulling from edgex-lftools-log-publisher 03:11:42 8998bd30e6a1: Pulling fs layer 03:11:42 04944245beec: Pulling fs layer 03:11:42 699f458cf7ca: Pulling fs layer 03:11:42 765212b225bb: Pulling fs layer 03:11:42 f23df028b6ca: Pulling fs layer 03:11:42 d65c8cfc05b1: Pulling fs layer 03:11:42 2437ff75d9bd: Pulling fs layer 03:11:42 f23df028b6ca: Waiting 03:11:42 765212b225bb: Waiting 03:11:42 d65c8cfc05b1: Waiting 03:11:42 2437ff75d9bd: Waiting 03:11:42 04944245beec: Verifying Checksum 03:11:42 04944245beec: Download complete 03:11:42 765212b225bb: Verifying Checksum 03:11:42 765212b225bb: Download complete 03:11:42 f23df028b6ca: Verifying Checksum 03:11:42 f23df028b6ca: Download complete 03:11:42 d65c8cfc05b1: Verifying Checksum 03:11:42 d65c8cfc05b1: Download complete 03:11:42 699f458cf7ca: Verifying Checksum 03:11:42 699f458cf7ca: Download complete 03:11:43 8998bd30e6a1: Verifying Checksum 03:11:43 8998bd30e6a1: Download complete 03:11:45 2437ff75d9bd: Verifying Checksum 03:11:45 2437ff75d9bd: Download complete 03:11:47 8998bd30e6a1: Pull complete 03:11:47 04944245beec: Pull complete 03:11:49 699f458cf7ca: Pull complete 03:11:49 765212b225bb: Pull complete 03:11:50 f23df028b6ca: Pull complete 03:11:50 d65c8cfc05b1: Pull complete 03:12:05 2437ff75d9bd: Pull complete 03:12:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:12:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:06 prd-ubuntu20.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 03:12:06 $ 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/95 -v /w/workspace/device-mqtt-go/95:/w/workspace/device-mqtt-go/95:rw,z -v /w/workspace/device-mqtt-go/95@tmp:/w/workspace/device-mqtt-go/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:12:09 $ docker top 7751c08fcdb4edb85f43d2984f9e874a72b99fe12d51557a6234011d31ae6d5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:10 ---> job-cost.sh 03:12:10 lf-activate-venv: SKIPPING 03:12:10 INFO: No Stack... 03:12:10 INFO: Retrieving Pricing Info for: v3-standard-4 03:12:11 INFO: Archiving Costs [Pipeline] sh 03:12:12 + cat /w/workspace/device-mqtt-go/95/archives/cost.csv 03:12:12 + cut -d, -f6 [Pipeline] lock 03:12:12 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] 03:12:12 Resource [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] did not exist. Created. 03:12:12 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:12:13 /w/workspace/device-mqtt-go/95@tmp/durable-f8e8dd9a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:12:13 + echo total: 0.10999999940395355 [Pipeline] stash 03:12:13 Warning: overwriting stash ‘stack-cost’ 03:12:13 Stashed 1 file(s) [Pipeline] } 03:12:13 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 03:12:13 $ docker stop --time=1 7751c08fcdb4edb85f43d2984f9e874a72b99fe12d51557a6234011d31ae6d5d 03:12:15 $ docker rm -f --volumes 7751c08fcdb4edb85f43d2984f9e874a72b99fe12d51557a6234011d31ae6d5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:12:15 provisioning config files... 03:12:15 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1776668897627323996tmp [Pipeline] { [Pipeline] sh 03:12:16 + set +x 03:12:16 + curl -s https://codecov.io/bash 03:12:16 + bash -s -- 03:12:16 03:12:16 _____ _ 03:12:16 / ____| | | 03:12:16 | | ___ __| | ___ ___ _____ __ 03:12:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:12:16 | |___| (_) | (_| | __/ (_| (_) \ V / 03:12:16 \_____\___/ \__,_|\___|\___\___/ \_/ 03:12:16 Bash-1.0.6 03:12:16 03:12:16 03:12:16 ==> git version 2.25.1 found 03:12:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:12:16 Release-Date: 2020-01-08 03:12:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:12:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:12:16 ==> Jenkins CI detected. 03:12:16 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 03:12:16 project root: . 03:12:16 --> token set from env 03:12:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:12:16 ==> Running gcov in . (disable via -X gcov) 03:12:16 ==> Python coveragepy not found 03:12:16 ==> Searching for coverage reports in: 03:12:16 + . 03:12:16 -> Found 1 reports 03:12:16 ==> Detecting git/mercurial file structure 03:12:16 ==> Reading reports 03:12:16 + ./coverage.out bytes=18047 03:12:16 ==> Appending adjustments 03:12:16 https://docs.codecov.io/docs/fixing-reports 03:12:16 + Found adjustments 03:12:16 ==> Gzipping contents 03:12:16 4.0K /tmp/codecov.2VI5px.gz 03:12:16 ==> Uploading reports 03:12:16 url: https://codecov.io 03:12:16 query: branch=main&commit=4a35f1d313b93b1afef0ede40251cd94a3668512&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:12:16 -> Pinging Codecov 03:12:16 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=4a35f1d313b93b1afef0ede40251cd94a3668512&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:12:16 -> Uploading to 03:12:16 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7D719EC7BBE17E464838252E33014C33/4a35f1d313b93b1afef0ede40251cd94a3668512/b6ca2403-e70c-43d1-8562-100b8692aff6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T031216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f38aae4d6da616f8ae9e3d23fb4225950d3d4c45176c18a3b17818b98e84f4f4 03:12:16 % Total % Received % Xferd Average Speed Time Time Time Current 03:12:16 Dload Upload Total Spent Left Speed 03:12:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 13457 --:--:-- --:--:-- --:--:-- 13457 03:12:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } 03:12:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:12:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:12:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:12:17 03:12:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:12:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:12:17 df9b9388f04a: Pulling fs layer 03:12:17 52dc419b0ee2: Pulling fs layer 03:12:17 25bc292e5bac: Pulling fs layer 03:12:17 114826534d7a: Pulling fs layer 03:12:17 4657fd5d0bcf: Pulling fs layer 03:12:17 6ad1cebc031e: Pulling fs layer 03:12:17 8a3aa393b2d8: Pulling fs layer 03:12:17 114826534d7a: Waiting 03:12:17 4657fd5d0bcf: Waiting 03:12:17 8a3aa393b2d8: Waiting 03:12:17 6ad1cebc031e: Waiting 03:12:17 25bc292e5bac: Download complete 03:12:17 52dc419b0ee2: Download complete 03:12:17 4657fd5d0bcf: Verifying Checksum 03:12:17 4657fd5d0bcf: Download complete 03:12:17 df9b9388f04a: Verifying Checksum 03:12:17 df9b9388f04a: Download complete 03:12:17 df9b9388f04a: Pull complete 03:12:17 6ad1cebc031e: Verifying Checksum 03:12:17 6ad1cebc031e: Download complete 03:12:17 52dc419b0ee2: Pull complete 03:12:18 25bc292e5bac: Pull complete 03:12:18 114826534d7a: Verifying Checksum 03:12:18 114826534d7a: Download complete 03:12:18 8a3aa393b2d8: Verifying Checksum 03:12:18 8a3aa393b2d8: Download complete 03:12:21 114826534d7a: Pull complete 03:12:21 4657fd5d0bcf: Pull complete 03:12:22 6ad1cebc031e: Pull complete 03:12:24 8a3aa393b2d8: Pull complete 03:12:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:12:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:25 prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container 03:12:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:12:28 $ docker top ac1ee64747dd75b843cea6d6d2064b92db5a1e5277c479c441af6b65fd3f279c -eo pid,comm [Pipeline] { [Pipeline] echo 03:12:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 03:12:28 + set -o pipefail 03:12:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 03:12:34 03:12:34 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main... 03:12:34 03:12:34 Server returned unexpected error for the monitor request. Status code: 503 03:12:34 [Pipeline] } 03:12:34 $ docker stop --time=1 ac1ee64747dd75b843cea6d6d2064b92db5a1e5277c479c441af6b65fd3f279c 03:12:37 $ docker rm -f --volumes ac1ee64747dd75b843cea6d6d2064b92db5a1e5277c479c441af6b65fd3f279c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:12:37 [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:12:38 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:12:38 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:12:38 total 16 03:12:38 drwxr-xr-x 3 root root 4096 Mar 15 02:58 . 03:12:38 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 02:58 .. 03:12:38 drwxr-xr-x 2 root root 4096 Mar 15 02:58 cost 03:12:38 -rw-r--r-- 1 root root 85 Mar 15 02:58 cost.csv 03:12:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:12:38 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:12:38 total 16 03:12:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:58 . 03:12:38 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 02:58 .. 03:12:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 02:58 cost 03:12:38 -rw-r--r-- 1 jenkins jenkins 85 Mar 15 02:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:12:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:12:39 ---> package-listing.sh 03:12:39 ++ facter osfamily 03:12:39 ++ tr '[:upper:]' '[:lower:]' 03:12:39 + OS_FAMILY=debian 03:12:39 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:12:39 + START_PACKAGES=/tmp/packages_start.txt 03:12:39 + END_PACKAGES=/tmp/packages_end.txt 03:12:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:12:39 + PACKAGES=/tmp/packages_start.txt 03:12:39 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:12:39 + PACKAGES=/tmp/packages_end.txt 03:12:39 + case "${OS_FAMILY}" in 03:12:39 + dpkg -l 03:12:39 + grep '^ii' 03:12:39 + '[' -f /tmp/packages_start.txt ']' 03:12:39 + '[' -f /tmp/packages_end.txt ']' 03:12:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:12:39 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:12:39 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:12:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:12:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:12:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:12:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:40 prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container 03:12:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:12:40 $ docker top 26397cd802b920b6463fc25a18dc147bb408de435d97a41defb42d8d4c2d9397 -eo pid,comm [Pipeline] { [Pipeline] sh 03:12:41 + touch /tmp/pre-build-complete [Pipeline] sh 03:12:41 + mkdir -p /var/log/sysstat [Pipeline] sh 03:12:41 + ls /var/log/sa-host 03:12:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:41 provisioning config files... 03:12:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17160041023380559073tmp [Pipeline] { [Pipeline] echo 03:12:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:12:41 ---> create-netrc.sh [Pipeline] } 03:12:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:12:42 ---> python-tools-install.sh [Pipeline] echo 03:12:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:12:42 ---> sudo-logs.sh 03:12:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:12:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:12:42 ---> job-cost.sh 03:12:42 lf-activate-venv: SKIPPING 03:12:42 DEBUG: total: 0.2199999988079071 03:12:42 INFO: Retrieving Stack Cost... 03:12:43 INFO: Retrieving Pricing Info for: v3-standard-8 03:12:43 INFO: Archiving Costs [Pipeline] echo 03:12:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:12:44 ---> logs-deploy.sh 03:12:44 lf-activate-venv: SKIPPING 03:12:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/95 03:12:44 INFO: archiving workspace using pattern(s): 03:12:44 Archives upload complete. 03:12:44 INFO: archiving logs to Nexus