Pull request #604 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 7f8e8bab593542a609430e535f73b34c104b544a+956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 (825a75b879494a6b546111bbfaf24bc4763ae12c) 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-ssh11078832319930937233.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9349462372524570957.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-604/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-604/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8711315976321106156.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-604/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8875271489984212852.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12897765853981942284.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-604/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-604/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2905006850506695115.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 ‘prd-ubuntu20.04-docker-8c-8g-15903’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15907 in /w/workspace/gexfoundry_device-mqtt-go_PR-604 [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/gexfoundry_device-mqtt-go_PR-604 # 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 > 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 Merging remotes/origin/main commit 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 into PR head commit 7f8e8bab593542a609430e535f73b34c104b544a Merge succeeded, producing 7f8e8bab593542a609430e535f73b34c104b544a Checking out Revision 7f8e8bab593542a609430e535f73b34c104b544a (PR-604) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/604/head:refs/remotes/origin/PR-604 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f8e8bab593542a609430e535f73b34c104b544a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f8e8bab593542a609430e535f73b34c104b544a # timeout=10 Commit message: "fix: [WIP BUG] Add back ability for async payload to just be value when for single resource" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:14:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:14:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:14:37 ========================================================= 18:14:37 EdgeX Global Pipelines Version Info 18:14:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:14:38 ------------------- 18:14:38 stable info: 18:14:38 ------------------- 18:14:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:14:38 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:14:38 Message: update stable to v1.0.249 18:14:38 ------------------- 18:14:38 experimental info: 18:14:38 ------------------- 18:14:38 Commited By: **** collab-it+edgex@linuxfoundation.org 18:14:38 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:14:38 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:14:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:14:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-604 [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-604 [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-604 [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f8e8bab593542a609430e535f73b34c104b544a [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f8e8ba [Pipeline] echo 18:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:40 provisioning config files... 18:14:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp/config6430150641786047199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:40 ---> docker-login.sh 18:14:40 nexus3.edgexfoundry.org:10001 18:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:41 Configure a credential helper to remove this warning. See 18:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:41 18:14:41 Login Succeeded 18:14:41 nexus3.edgexfoundry.org:10002 18:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:41 Configure a credential helper to remove this warning. See 18:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:41 18:14:41 Login Succeeded 18:14:41 nexus3.edgexfoundry.org:10003 18:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:41 Configure a credential helper to remove this warning. See 18:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:41 18:14:41 Login Succeeded 18:14:41 nexus3.edgexfoundry.org:10004 18:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:41 Configure a credential helper to remove this warning. See 18:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:41 18:14:41 Login Succeeded 18:14:41 docker.io 18:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:42 Configure a credential helper to remove this warning. See 18:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:42 18:14:42 Login Succeeded 18:14:42 ---> docker-login.sh ends [Pipeline] } 18:14:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:14:42 + git rev-list -1 --merges 7f8e8bab593542a609430e535f73b34c104b544a~1..7f8e8bab593542a609430e535f73b34c104b544a [Pipeline] echo 18:14:42 -----------> git rev-list -1 --merges 7f8e8bab593542a609430e535f73b34c104b544a~1..7f8e8bab593542a609430e535f73b34c104b544a 7f8e8bab593542a609430e535f73b34c104b544a [false] [Pipeline] sh 18:14:43 + git log --format=format:%s -1 7f8e8bab593542a609430e535f73b34c104b544a [Pipeline] echo 18:14:43 ========================================================= 18:14:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:14:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:14:43 + git log --format=format:%s -1 7f8e8bab593542a609430e535f73b34c104b544a [Pipeline] echo 18:14:43 [semverPrep] GIT_COMMIT: 7f8e8bab593542a609430e535f73b34c104b544a, Commit Message: fix: [WIP BUG] Add back ability for async payload to just be value when for single resource [Pipeline] echo 18:14:43 [semverPrep] This is not a build commit. [Pipeline] sh 18:14:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:14:44 + grep -v github /etc/ssh/ssh_known_hosts 18:14:44 + [ -e /tmp/ssh_known_hosts ] 18:14:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:14:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:14:44 + sudo tee -a /etc/ssh/ssh_known_hosts 18:14:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:14:44 18:14:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:14:45 0.1.4: Pulling from edgex-devops/py-git-semver 18:14:45 b85a868b505f: Pulling fs layer 18:14:45 e2be974225ed: Pulling fs layer 18:14:45 339a4e72a1f5: Pulling fs layer 18:14:45 988bab9f4d93: Pulling fs layer 18:14:45 1469e6f7b9e6: Pulling fs layer 18:14:45 eaf3925da568: Pulling fs layer 18:14:45 bab4dde63d76: Pulling fs layer 18:14:45 bde34c3a00c8: Pulling fs layer 18:14:45 b352a97aabf1: Pulling fs layer 18:14:45 4872d77fe225: Pulling fs layer 18:14:45 5851b861e8e6: Pulling fs layer 18:14:45 988bab9f4d93: Waiting 18:14:45 1469e6f7b9e6: Waiting 18:14:45 b352a97aabf1: Waiting 18:14:45 eaf3925da568: Waiting 18:14:45 4872d77fe225: Waiting 18:14:45 bab4dde63d76: Waiting 18:14:45 bde34c3a00c8: Waiting 18:14:45 5851b861e8e6: Waiting 18:14:45 e2be974225ed: Download complete 18:14:45 988bab9f4d93: Verifying Checksum 18:14:45 988bab9f4d93: Download complete 18:14:45 1469e6f7b9e6: Verifying Checksum 18:14:45 1469e6f7b9e6: Download complete 18:14:45 eaf3925da568: Verifying Checksum 18:14:45 eaf3925da568: Download complete 18:14:45 339a4e72a1f5: Verifying Checksum 18:14:45 339a4e72a1f5: Download complete 18:14:45 bde34c3a00c8: Verifying Checksum 18:14:45 bde34c3a00c8: Download complete 18:14:45 b352a97aabf1: Verifying Checksum 18:14:45 b352a97aabf1: Download complete 18:14:45 4872d77fe225: Verifying Checksum 18:14:45 4872d77fe225: Download complete 18:14:45 5851b861e8e6: Download complete 18:14:45 b85a868b505f: Verifying Checksum 18:14:45 b85a868b505f: Download complete 18:14:45 bab4dde63d76: Verifying Checksum 18:14:45 bab4dde63d76: Download complete 18:14:46 b85a868b505f: Pull complete 18:14:46 e2be974225ed: Pull complete 18:14:47 339a4e72a1f5: Pull complete 18:14:47 988bab9f4d93: Pull complete 18:14:47 1469e6f7b9e6: Pull complete 18:14:48 eaf3925da568: Pull complete 18:14:49 bab4dde63d76: Pull complete 18:14:51 bde34c3a00c8: Pull complete 18:14:51 b352a97aabf1: Pull complete 18:14:51 4872d77fe225: Pull complete 18:14:51 5851b861e8e6: Pull complete 18:14:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:14:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:14:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:52 prd-ubuntu20.04-docker-8c-8g-15907 does not seem to be running inside a container 18:14:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-604 -v /w/workspace/gexfoundry_device-mqtt-go_PR-604:/w/workspace/gexfoundry_device-mqtt-go_PR-604:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-604@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:14:59 $ docker top d581ff9d68875e63e86df8d1f26d5ff14aa453346c2683b797375691786c585f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:14:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:14:59 [ssh-agent] Looking for ssh-agent implementation... 18:15:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:06 $ docker exec d581ff9d68875e63e86df8d1f26d5ff14aa453346c2683b797375691786c585f ssh-agent 18:15:08 SSH_AUTH_SOCK=/tmp/ssh-mrmPIE1cHFnC/agent.33 18:15:08 SSH_AGENT_PID=39 18:15:08 Running ssh-add (command line suppressed) 18:15:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp/private_key_17808961339973731245.key (/w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp/private_key_17808961339973731245.key) 18:15:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:09 + git tag --points-at HEAD [Pipeline] } 18:15:09 $ docker exec --env ******** --env ******** d581ff9d68875e63e86df8d1f26d5ff14aa453346c2683b797375691786c585f ssh-agent -k 18:15:09 unset SSH_AUTH_SOCK; 18:15:09 unset SSH_AGENT_PID; 18:15:09 echo Agent pid 39 killed; 18:15:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:15:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:15:09 [ssh-agent] Looking for ssh-agent implementation... 18:15:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:09 $ docker exec d581ff9d68875e63e86df8d1f26d5ff14aa453346c2683b797375691786c585f ssh-agent 18:15:10 SSH_AUTH_SOCK=/tmp/ssh-WpxWTD7SZoQl/agent.71 18:15:10 SSH_AGENT_PID=77 18:15:10 Running ssh-add (command line suppressed) 18:15:10 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp/private_key_10442142538841766102.key (/w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp/private_key_10442142538841766102.key) 18:15:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:10 + git semver init 18:15:10 2023-05-17 18:15:10,721 [run_init] DEBUG init version:0.0.0 force:False 18:15:10 2023-05-17 18:15:10,721 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-604/.semver 18:15:10 2023-05-17 18:15:10,722 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-604/.semver 18:15:10 2023-05-17 18:15:10,722 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-604/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-604, universal_newlines=False, shell=None, istream=None) 18:15:11 2023-05-17 18:15:11,506 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-604/.git/info/exclude 18:15:11 2023-05-17 18:15:11,507 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-604/.semver/PR-604 with force:False 18:15:11 2023-05-17 18:15:11,507 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-604/.semver/PR-604 18:15:11 2023-05-17 18:15:11,514 [execute] INFO git cat-file --batch-check 18:15:11 2023-05-17 18:15:11,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-604/.semver, universal_newlines=False, shell=None, istream=) 18:15:11 2023-05-17 18:15:11,521 [execute] INFO git cat-file --batch 18:15:11 2023-05-17 18:15:11,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-604/.semver, universal_newlines=False, shell=None, istream=) 18:15:11 2023-05-17 18:15:11,526 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-604/.semver/PR-604 18:15:11 0.0.0 [Pipeline] } 18:15:11 $ docker exec --env ******** --env ******** d581ff9d68875e63e86df8d1f26d5ff14aa453346c2683b797375691786c585f ssh-agent -k 18:15:11 unset SSH_AUTH_SOCK; 18:15:11 unset SSH_AGENT_PID; 18:15:11 echo Agent pid 77 killed; 18:15:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:15:12 + git semver [Pipeline] } 18:15:12 $ docker stop --time=1 d581ff9d68875e63e86df8d1f26d5ff14aa453346c2683b797375691786c585f 18:15:13 $ docker rm -f --volumes d581ff9d68875e63e86df8d1f26d5ff14aa453346c2683b797375691786c585f [Pipeline] // withDockerContainer [Pipeline] sh 18:15:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:15:14 Stashed 1 file(s) [Pipeline] echo 18:15:14 [edgeXSemver]: initialized semver on version 0.0.0 [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 18:15:15 provisioning config files... 18:15:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp/config13964134312426619769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:15 ---> docker-login.sh 18:15:15 nexus3.edgexfoundry.org:10001 18:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:15 Configure a credential helper to remove this warning. See 18:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:15 18:15:15 Login Succeeded 18:15:15 nexus3.edgexfoundry.org:10002 18:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:15 Configure a credential helper to remove this warning. See 18:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:15 18:15:15 Login Succeeded 18:15:15 nexus3.edgexfoundry.org:10003 18:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:16 Configure a credential helper to remove this warning. See 18:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:16 18:15:16 Login Succeeded 18:15:16 nexus3.edgexfoundry.org:10004 18:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:16 Configure a credential helper to remove this warning. See 18:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:16 18:15:16 Login Succeeded 18:15:16 docker.io 18:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:16 Configure a credential helper to remove this warning. See 18:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:16 18:15:16 Login Succeeded 18:15:16 ---> docker-login.sh ends [Pipeline] } 18:15:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:15:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:16 ========================================================= 18:15:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:15:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:17 + 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 . 18:15:17 Sending build context to Docker daemon 6.575MB 18:15:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:15:17 Step 2/12 : FROM ${BASE} AS builder 18:15:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:15:17 f56be85fc22e: Pulling fs layer 18:15:17 85791d961cd3: Pulling fs layer 18:15:17 d694b5ae8c79: Pulling fs layer 18:15:17 9f32a84ed3da: Pulling fs layer 18:15:17 4d19c01a9841: Pulling fs layer 18:15:17 9325e15d5711: Pulling fs layer 18:15:17 556b6ee489ea: Pulling fs layer 18:15:17 c5a4b2cf53e6: Pulling fs layer 18:15:17 4d19c01a9841: Waiting 18:15:17 9325e15d5711: Waiting 18:15:17 9f32a84ed3da: Waiting 18:15:17 c5a4b2cf53e6: Waiting 18:15:17 85791d961cd3: Verifying Checksum 18:15:17 85791d961cd3: Download complete 18:15:17 9f32a84ed3da: Download complete 18:15:17 4d19c01a9841: Verifying Checksum 18:15:17 4d19c01a9841: Download complete 18:15:17 f56be85fc22e: Download complete 18:15:17 9325e15d5711: Verifying Checksum 18:15:17 9325e15d5711: Download complete 18:15:17 f56be85fc22e: Pull complete 18:15:17 85791d961cd3: Pull complete 18:15:17 d694b5ae8c79: Download complete 18:15:18 c5a4b2cf53e6: Verifying Checksum 18:15:18 c5a4b2cf53e6: Download complete 18:15:18 556b6ee489ea: Verifying Checksum 18:15:18 556b6ee489ea: Download complete 18:15:21 d694b5ae8c79: Pull complete 18:15:21 9f32a84ed3da: Pull complete 18:15:21 4d19c01a9841: Pull complete 18:15:21 9325e15d5711: Pull complete 18:15:24 556b6ee489ea: Pull complete 18:15:25 c5a4b2cf53e6: Pull complete 18:15:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:15:25 ---> c4be618373d6 18:15:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:15:30 Still waiting to schedule task 18:15:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:15:34 ---> Running in 59b4e81843e9 18:15:34 Removing intermediate container 59b4e81843e9 18:15:34 ---> fba1280272f1 18:15:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:15:34 ---> Running in 5197939c714e 18:15:34 Removing intermediate container 5197939c714e 18:15:34 ---> f82a8e1cc180 18:15:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:15:34 ---> Running in 6777be9bec95 18:15:34 Removing intermediate container 6777be9bec95 18:15:34 ---> b44bc0a842ab 18:15:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:15:34 ---> Running in 1a417cd709a3 18:15:34 Removing intermediate container 1a417cd709a3 18:15:34 ---> f0ee81d36202 18:15:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:34 ---> Running in 05c1c5bccee9 18:15:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:15:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:15:34 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:15:34 (2/4) Installing libedit (20221030.3.1-r0) 18:15:34 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:15:34 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:15:34 Executing busybox-1.35.0-r29.trigger 18:15:34 OK: 269 MiB in 57 packages 18:15:35 Removing intermediate container 05c1c5bccee9 18:15:35 ---> 1d7c3b32e399 18:15:35 Step 8/12 : WORKDIR /device-mqtt-go 18:15:35 ---> Running in 807b4a151ecc 18:15:35 Removing intermediate container 807b4a151ecc 18:15:35 ---> 8afcdf0e75bf 18:15:35 Step 9/12 : COPY go.mod vendor* ./ 18:15:35 ---> 60e6bc2e46f3 18:15:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:35 ---> Running in 7426c204dfaa 18:16:14 Removing intermediate container 7426c204dfaa 18:16:14 ---> fe60e05d83c0 18:16:14 Step 11/12 : COPY . . 18:16:14 ---> 8a12a0c68359 18:16:14 Step 12/12 : RUN $MAKE 18:16:14 ---> Running in 66535d9ebaff 18:16:14 noop 18:16:14 Removing intermediate container 66535d9ebaff 18:16:14 ---> 123e4e95ef6d 18:16:14 Successfully built 123e4e95ef6d 18:16:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:15 + docker inspect -f . ci-base-image-x86_64 18:16:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:15 prd-ubuntu20.04-docker-8c-8g-15907 does not seem to be running inside a container 18:16:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-604 -v /w/workspace/gexfoundry_device-mqtt-go_PR-604:/w/workspace/gexfoundry_device-mqtt-go_PR-604:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-604@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:16:15 $ docker top c8a95e1956b4893b95061b699a21e873ed9a2c2e45c4a6f6af470c1031fb7017 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:16 + go version 18:16:16 go version go1.20.2 linux/amd64 [Pipeline] } 18:16:16 $ docker stop --time=1 c8a95e1956b4893b95061b699a21e873ed9a2c2e45c4a6f6af470c1031fb7017 18:16:17 $ docker rm -f --volumes c8a95e1956b4893b95061b699a21e873ed9a2c2e45c4a6f6af470c1031fb7017 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:18 + docker inspect -f . ci-base-image-x86_64 18:16:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:18 prd-ubuntu20.04-docker-8c-8g-15907 does not seem to be running inside a container 18:16:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-604 -v /w/workspace/gexfoundry_device-mqtt-go_PR-604:/w/workspace/gexfoundry_device-mqtt-go_PR-604:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-604@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:16:18 $ docker top 386e12233984452455dbfcdad828fd9eee338facdafbf7f498d0295c469c3ed8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-604 [Pipeline] fileExists [Pipeline] sh 18:16:19 + make test 18:16:19 go test ./... -coverprofile=coverage.out ./... 18:16:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:16:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:16:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:16:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements 18:16:40 go vet ./... 18:16:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:16:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:16:43 ./bin/test-attribution-txt.sh [Pipeline] echo 18:16:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:16:43 $ docker stop --time=1 386e12233984452455dbfcdad828fd9eee338facdafbf7f498d0295c469c3ed8 18:16:48 $ docker rm -f --volumes 386e12233984452455dbfcdad828fd9eee338facdafbf7f498d0295c469c3ed8 [Pipeline] // withDockerContainer [Pipeline] sh 18:16:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:16:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:16:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:16:50 + ls -al . 18:16:50 total 180 18:16:50 drwxrwxr-x 10 jenkins jenkins 4096 May 17 18:16 . 18:16:50 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:14 .. 18:16:50 -rw-rw-r-- 1 jenkins jenkins 140 May 17 18:14 .dockerignore 18:16:50 drwxrwxr-x 8 jenkins jenkins 4096 May 17 18:15 .git 18:16:50 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:14 .github 18:16:50 -rw-rw-r-- 1 jenkins jenkins 329 May 17 18:14 .gitignore 18:16:50 -rw-rw-r-- 1 jenkins jenkins 41 May 17 18:14 .golangci.yml 18:16:50 drwxr-xr-x 3 jenkins jenkins 4096 May 17 18:15 .semver 18:16:50 -rw-rw-r-- 1 jenkins jenkins 9417 May 17 18:14 Attribution.txt 18:16:50 -rw-rw-r-- 1 jenkins jenkins 13162 May 17 18:14 CHANGELOG.md 18:16:50 -rw-rw-r-- 1 jenkins jenkins 1689 May 17 18:14 Dockerfile 18:16:50 -rw-rw-r-- 1 jenkins jenkins 677 May 17 18:14 GOVERNANCE.md 18:16:50 -rw-rw-r-- 1 jenkins jenkins 678 May 17 18:14 Jenkinsfile 18:16:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 18:14 LICENSE 18:16:50 -rw-rw-r-- 1 jenkins jenkins 1732 May 17 18:14 Makefile 18:16:50 -rw-rw-r-- 1 jenkins jenkins 620 May 17 18:14 OWNERS.md 18:16:50 -rw-rw-r-- 1 jenkins jenkins 3165 May 17 18:14 README.md 18:16:50 -rw-rw-r-- 1 jenkins jenkins 5 May 17 18:15 VERSION 18:16:50 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:14 bin 18:16:50 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:14 cmd 18:16:50 -rw-r--r-- 1 jenkins jenkins 18506 May 17 18:16 coverage.out 18:16:50 -rw-rw-r-- 1 jenkins jenkins 3333 May 17 18:14 go.mod 18:16:50 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 18:14 go.sum 18:16:50 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:14 internal 18:16:50 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:14 mock 18:16:50 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:14 snap 18:16:50 -rw-rw-r-- 1 jenkins jenkins 227 May 17 18:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:50 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7f8e8bab593542a609430e535f73b34c104b544a --label arch=amd64 --label version=0.0.0 . 18:16:50 Sending build context to Docker daemon 6.595MB 18:16:50 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 18:16:50 Step 2/24 : FROM ${BASE} AS builder 18:16:50 ---> 123e4e95ef6d 18:16:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:16:50 ---> Running in af25b0ff9be9 18:16:50 Removing intermediate container af25b0ff9be9 18:16:50 ---> 2eb05a577a4d 18:16:50 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:16:50 ---> Running in bd9934250019 18:16:50 Removing intermediate container bd9934250019 18:16:50 ---> bd51c4b74d99 18:16:50 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:16:50 ---> Running in 9a95476a6d09 18:16:50 Removing intermediate container 9a95476a6d09 18:16:50 ---> 778329128b6f 18:16:50 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:16:50 ---> Running in 03e475e7d628 18:16:50 Removing intermediate container 03e475e7d628 18:16:50 ---> 648e7a24b607 18:16:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:16:51 ---> Running in 41597d92582a 18:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:16:51 OK: 269 MiB in 57 packages 18:16:52 Removing intermediate container 41597d92582a 18:16:52 ---> c67547c64f90 18:16:52 Step 8/24 : WORKDIR /device-mqtt-go 18:16:52 ---> Running in 1506e29a62a7 18:16:52 Removing intermediate container 1506e29a62a7 18:16:52 ---> ee752b1238c4 18:16:52 Step 9/24 : COPY go.mod vendor* ./ 18:16:52 ---> 539801b2f364 18:16:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:16:52 ---> Running in cd389cfebb85 18:16:53 Removing intermediate container cd389cfebb85 18:16:53 ---> 90e02a8dc7f6 18:16:53 Step 11/24 : COPY . . 18:16:53 ---> 0f5040344e6e 18:16:53 Step 12/24 : RUN $MAKE 18:16:53 ---> Running in b2728e78a233 18:16:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:17:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15908 in /w/workspace/gexfoundry_device-mqtt-go_PR-604 [Pipeline] { [Pipeline] ws 18:17:12 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 18:17:12 Selected Git installation does not exist. Using Default 18:17:12 The recommended git tool is: NONE 18:17:15 Removing intermediate container b2728e78a233 18:17:15 ---> 39fc64691b7f 18:17:15 Step 13/24 : FROM alpine:3.17 18:17:15 3.17: Pulling from library/alpine 18:17:15 f56be85fc22e: Already exists 18:17:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:17:15 Status: Downloaded newer image for alpine:3.17 18:17:15 ---> 9ed4aefc74f6 18:17:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:17:15 ---> Running in ec40eb09aa4f 18:17:15 Removing intermediate container ec40eb09aa4f 18:17:15 ---> 69a246ab032c 18:17:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:17:15 ---> Running in 9613539c60a4 18:17:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:17:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:17:15 (1/1) Installing dumb-init (1.2.5-r2) 18:17:15 Executing busybox-1.35.0-r29.trigger 18:17:15 OK: 7 MiB in 16 packages 18:17:15 Removing intermediate container 9613539c60a4 18:17:15 ---> 4e4e2b6a9e63 18:17:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:17:16 ---> 3a852dd32f07 18:17:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:17:16 ---> 9152dc943665 18:17:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:17:16 ---> b35812cde5fc 18:17:16 Step 19/24 : EXPOSE 59982 18:17:17 ---> Running in f514e6b5e66b 18:17:17 Removing intermediate container f514e6b5e66b 18:17:17 ---> 48b6329fad0f 18:17:17 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:17:17 ---> Running in 0d3af75b5db0 18:17:17 Removing intermediate container 0d3af75b5db0 18:17:17 ---> 36f7de11bf69 18:17:17 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:17:17 ---> Running in 70e2afad5554 18:17:17 Removing intermediate container 70e2afad5554 18:17:17 ---> dcb4135a2e0b 18:17:17 Step 22/24 : LABEL arch=amd64 18:17:17 ---> Running in e61d516eb7db 18:17:17 Removing intermediate container e61d516eb7db 18:17:17 ---> 3d17e7d9ec5e 18:17:17 Step 23/24 : LABEL git_sha=7f8e8bab593542a609430e535f73b34c104b544a 18:17:17 ---> Running in 7ed5f34892a7 18:17:17 Removing intermediate container 7ed5f34892a7 18:17:17 ---> 7649f16cf3f2 18:17:17 Step 24/24 : LABEL version=0.0.0 18:17:17 ---> Running in 26f914bff336 18:17:17 Removing intermediate container 26f914bff336 18:17:17 ---> 9ca07149d6c2 18:17:17 [Warning] One or more build-args [ARCH] were not consumed 18:17:17 Successfully built 9ca07149d6c2 18:17:17 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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] { 18:17:18 using credential edgex-jenkins-ssh 18:17:18 Cloning the remote Git repository [Pipeline] sh 18:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:18 18:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:18 latest: Pulling from edgex-lftools-log-publisher 18:17:18 5eb5b503b376: Pulling fs layer 18:17:18 5c69ac0246d0: Pulling fs layer 18:17:18 ec43610c2a17: Pulling fs layer 18:17:18 3a2ae6a8a46f: Pulling fs layer 18:17:18 33b1e0a273af: Pulling fs layer 18:17:18 5d3b04190fa2: Pulling fs layer 18:17:18 2f39f015ded8: Pulling fs layer 18:17:18 3a2ae6a8a46f: Waiting 18:17:18 5d3b04190fa2: Waiting 18:17:18 2f39f015ded8: Waiting 18:17:18 5c69ac0246d0: Download complete 18:17:18 3a2ae6a8a46f: Download complete 18:17:18 33b1e0a273af: Verifying Checksum 18:17:18 33b1e0a273af: Download complete 18:17:18 5d3b04190fa2: Verifying Checksum 18:17:18 5d3b04190fa2: Download complete 18:17:18 ec43610c2a17: Verifying Checksum 18:17:18 ec43610c2a17: Download complete 18:17:18 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:17:18 > git init /w/workspace/device-mqtt-go/1 # timeout=10 18:17:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:17:18 > git --version # timeout=10 18:17:18 > git --version # 'git version 2.25.1' 18:17:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:19 5eb5b503b376: Verifying Checksum 18:17:19 5eb5b503b376: Download complete 18:17:19 2f39f015ded8: Download complete 18:17:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:17:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:20 5eb5b503b376: Pull complete 18:17:20 5c69ac0246d0: Pull complete 18:17:21 ec43610c2a17: Pull complete 18:17:21 3a2ae6a8a46f: Pull complete 18:17:21 Merging remotes/origin/main commit 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 into PR head commit 7f8e8bab593542a609430e535f73b34c104b544a 18:17:21 33b1e0a273af: Pull complete 18:17:21 5d3b04190fa2: Pull complete 18:17:21 Merge succeeded, producing 7f8e8bab593542a609430e535f73b34c104b544a 18:17:21 Checking out Revision 7f8e8bab593542a609430e535f73b34c104b544a (PR-604) 18:17:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:17:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:17:20 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/604/head:refs/remotes/origin/PR-604 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:17:21 > git config core.sparsecheckout # timeout=10 18:17:21 > git checkout -f 7f8e8bab593542a609430e535f73b34c104b544a # timeout=10 18:17:21 > git remote # timeout=10 18:17:21 > git config --get remote.origin.url # timeout=10 18:17:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:21 > git merge 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 # timeout=10 18:17:21 > git rev-parse HEAD^{commit} # timeout=10 18:17:21 > git config core.sparsecheckout # timeout=10 18:17:21 > git checkout -f 7f8e8bab593542a609430e535f73b34c104b544a # timeout=10 18:17:25 Commit message: "fix: [WIP BUG] Add back ability for async payload to just be value when for single resource" 18:17:25 > git --version # timeout=10 18:17:25 > git --version # 'git version 2.25.1' 18:17:25 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:17:25 2f39f015ded8: Pull complete 18:17:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:17:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:17:25 18:17:25 GitHub has been notified of this commit’s build result 18:17:25 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:25 prd-ubuntu20.04-docker-8c-8g-15907 does not seem to be running inside a container 18:17:25 $ 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/gexfoundry_device-mqtt-go_PR-604 -v /w/workspace/gexfoundry_device-mqtt-go_PR-604:/w/workspace/gexfoundry_device-mqtt-go_PR-604:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-604@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:17:29 $ docker top 6d32438cca4655dfd44ef3b28c9924980027421d05dda2977b2ab637c65bc39f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:30 ---> job-cost.sh 18:17:30 lf-activate-venv: SKIPPING 18:17:30 INFO: No Stack... 18:17:30 INFO: Retrieving Pricing Info for: v3-standard-8 18:17:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:17:30 % Total % Received % Xferd Average Speed Time Time Time Current 18:17:30 Dload Upload Total Spent Left Speed 18:17:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 18:17:30 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 18:17:30 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-604/archives/cost.csv 18:17:30 + cut -d, -f6 [Pipeline] lock 18:17:31 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-604-1-stack-cost] 18:17:31 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-604-1-stack-cost] did not exist. Created. 18:17:31 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-604-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:17:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:17:31 + echo total: 0.2199999988079071 [Pipeline] stash 18:17:31 Stashed 1 file(s) [Pipeline] } 18:17:31 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-604-1-stack-cost] 18:17:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:17:31 + sudo tee /etc/docker/daemon.new 18:17:31 { 18:17:31 "registry-mirrors": [ 18:17:31 "https://nexus3.edgexfoundry.org:10001" 18:17:31 ], 18:17:31 "bip": "10.250.0.254/24", 18:17:31 "hosts": [ 18:17:31 "tcp://0.0.0.0:5555", 18:17:31 "unix:///var/run/docker.sock" 18:17:31 ], 18:17:31 "mtu": 1458, 18:17:31 "selinux-enabled": true, 18:17:31 "seccomp-profile": "/etc/docker/seccomp.json" 18:17:31 } [Pipeline] // lock [Pipeline] } 18:17:31 $ docker stop --time=1 6d32438cca4655dfd44ef3b28c9924980027421d05dda2977b2ab637c65bc39f 18:17:32 $ docker rm -f --volumes 6d32438cca4655dfd44ef3b28c9924980027421d05dda2977b2ab637c65bc39f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:17:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:17:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:51 provisioning config files... 18:17:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8664159077292206435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:52 ---> docker-login.sh 18:17:52 nexus3.edgexfoundry.org:10001 18:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:52 Configure a credential helper to remove this warning. See 18:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:52 18:17:52 Login Succeeded 18:17:52 nexus3.edgexfoundry.org:10002 18:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:53 Configure a credential helper to remove this warning. See 18:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:53 18:17:53 Login Succeeded 18:17:53 nexus3.edgexfoundry.org:10003 18:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:53 Configure a credential helper to remove this warning. See 18:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:53 18:17:53 Login Succeeded 18:17:53 nexus3.edgexfoundry.org:10004 18:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:54 Configure a credential helper to remove this warning. See 18:17:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:54 18:17:54 Login Succeeded 18:17:54 docker.io 18:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:54 Configure a credential helper to remove this warning. See 18:17:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:54 18:17:54 Login Succeeded 18:17:54 ---> docker-login.sh ends [Pipeline] } 18:17:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:17:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:55 ========================================================= 18:17:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:17:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:55 + 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 . 18:17:55 Sending build context to Docker daemon 3.442MB 18:17:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:17:55 Step 2/12 : FROM ${BASE} AS builder 18:17:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:17:56 c41833b44d91: Pulling fs layer 18:17:56 ed15518f5707: Pulling fs layer 18:17:56 feae8fd75edb: Pulling fs layer 18:17:56 242c74f7c9fa: Pulling fs layer 18:17:56 3cdef696dda3: Pulling fs layer 18:17:56 2ced38df9373: Pulling fs layer 18:17:56 58f1dce35555: Pulling fs layer 18:17:56 242c74f7c9fa: Waiting 18:17:56 3cdef696dda3: Waiting 18:17:56 2ced38df9373: Waiting 18:17:56 58f1dce35555: Waiting 18:17:56 ed15518f5707: Download complete 18:17:56 242c74f7c9fa: Verifying Checksum 18:17:56 242c74f7c9fa: Download complete 18:17:56 3cdef696dda3: Verifying Checksum 18:17:56 3cdef696dda3: Download complete 18:17:56 c41833b44d91: Verifying Checksum 18:17:57 c41833b44d91: Pull complete 18:17:57 58f1dce35555: Verifying Checksum 18:17:57 58f1dce35555: Download complete 18:17:57 ed15518f5707: Pull complete 18:17:58 feae8fd75edb: Download complete 18:17:58 2ced38df9373: Download complete 18:18:11 feae8fd75edb: Pull complete 18:18:11 242c74f7c9fa: Pull complete 18:18:11 3cdef696dda3: Pull complete 18:18:19 2ced38df9373: Pull complete 18:18:21 58f1dce35555: Pull complete 18:18:21 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:18:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:18:21 ---> fadd8f120f05 18:18:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:18:23 ---> Running in 32abb95b5551 18:18:23 Removing intermediate container 32abb95b5551 18:18:23 ---> bfa228be9e61 18:18:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:18:23 ---> Running in cfd2d606fc6a 18:18:24 Removing intermediate container cfd2d606fc6a 18:18:24 ---> 5870a33ceb76 18:18:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:18:24 ---> Running in f0cd45d2d928 18:18:24 Removing intermediate container f0cd45d2d928 18:18:24 ---> d335edacea4c 18:18:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:18:24 ---> Running in 60b1e2d192a6 18:18:24 Removing intermediate container 60b1e2d192a6 18:18:24 ---> a56f7cc01ea6 18:18:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:24 ---> Running in 5e567010bd5d 18:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:18:27 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:18:27 (2/4) Installing libedit (20221030.3.1-r0) 18:18:27 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:18:27 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:18:27 Executing busybox-1.35.0-r29.trigger 18:18:27 OK: 268 MiB in 57 packages 18:18:28 Removing intermediate container 5e567010bd5d 18:18:28 ---> 876750e644c7 18:18:28 Step 8/12 : WORKDIR /device-mqtt-go 18:18:28 ---> Running in acfe4f0a08c9 18:18:29 Removing intermediate container acfe4f0a08c9 18:18:29 ---> 62a37a09a09e 18:18:29 Step 9/12 : COPY go.mod vendor* ./ 18:18:29 ---> bff31432ea07 18:18:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:29 ---> Running in 94dd69e99c7c 18:19:37 Removing intermediate container 94dd69e99c7c 18:19:37 ---> d3863a091665 18:19:37 Step 11/12 : COPY . . 18:19:37 ---> 33601197f4bf 18:19:37 Step 12/12 : RUN $MAKE 18:19:37 ---> Running in b9baa40bd1dc 18:19:37 noop 18:19:37 Removing intermediate container b9baa40bd1dc 18:19:37 ---> 78eaed64e506 18:19:37 Successfully built 78eaed64e506 18:19:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:38 + docker inspect -f . ci-base-image-arm64 18:19:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:38 prd-ubuntu20.04-docker-arm64-4c-16g-15908 does not seem to be running inside a container 18:19:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:19:39 $ docker top 201749ff138121af7811423452dec03631546320fe2033530af4d93b57799545 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:40 + go version 18:19:40 go version go1.20.2 linux/arm64 [Pipeline] } 18:19:40 $ docker stop --time=1 201749ff138121af7811423452dec03631546320fe2033530af4d93b57799545 18:19:42 $ docker rm -f --volumes 201749ff138121af7811423452dec03631546320fe2033530af4d93b57799545 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:43 + docker inspect -f . ci-base-image-arm64 18:19:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:43 prd-ubuntu20.04-docker-arm64-4c-16g-15908 does not seem to be running inside a container 18:19:43 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:19:44 $ docker top 8dbf61ec498a1d011a0bcbb1731754a3b0ebc7b5e888c57ca8cbaaa5171ec2df -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:45 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 18:19:46 + make test 18:19:46 go test ./... -coverprofile=coverage.out ./... 18:20:18 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:22:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:22:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:22:10 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 22.8% of statements 18:22:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:22:10 go vet ./... 18:22:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:22:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:22:36 ./bin/test-attribution-txt.sh [Pipeline] echo 18:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:22:36 $ docker stop --time=1 8dbf61ec498a1d011a0bcbb1731754a3b0ebc7b5e888c57ca8cbaaa5171ec2df 18:22:38 $ docker rm -f --volumes 8dbf61ec498a1d011a0bcbb1731754a3b0ebc7b5e888c57ca8cbaaa5171ec2df [Pipeline] // withDockerContainer [Pipeline] sh 18:22:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:22:40 Warning: overwriting stash ‘coverage-report’ 18:22:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:22:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:22:41 + ls -al . 18:22:41 total 176 18:22:41 drwxrwxr-x 9 jenkins jenkins 4096 May 17 18:19 . 18:22:41 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:17 .. 18:22:41 -rw-rw-r-- 1 jenkins jenkins 140 May 17 18:17 .dockerignore 18:22:41 drwxrwxr-x 8 jenkins jenkins 4096 May 17 18:17 .git 18:22:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:17 .github 18:22:41 -rw-rw-r-- 1 jenkins jenkins 329 May 17 18:17 .gitignore 18:22:41 -rw-rw-r-- 1 jenkins jenkins 41 May 17 18:17 .golangci.yml 18:22:41 -rw-rw-r-- 1 jenkins jenkins 9417 May 17 18:17 Attribution.txt 18:22:41 -rw-rw-r-- 1 jenkins jenkins 13162 May 17 18:17 CHANGELOG.md 18:22:41 -rw-rw-r-- 1 jenkins jenkins 1689 May 17 18:17 Dockerfile 18:22:41 -rw-rw-r-- 1 jenkins jenkins 677 May 17 18:17 GOVERNANCE.md 18:22:41 -rw-rw-r-- 1 jenkins jenkins 678 May 17 18:17 Jenkinsfile 18:22:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 18:17 LICENSE 18:22:41 -rw-rw-r-- 1 jenkins jenkins 1732 May 17 18:17 Makefile 18:22:41 -rw-rw-r-- 1 jenkins jenkins 620 May 17 18:17 OWNERS.md 18:22:41 -rw-rw-r-- 1 jenkins jenkins 3165 May 17 18:17 README.md 18:22:41 -rw-rw-r-- 1 jenkins jenkins 5 May 17 18:15 VERSION 18:22:41 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:17 bin 18:22:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:17 cmd 18:22:41 -rw-r--r-- 1 jenkins jenkins 18506 May 17 18:22 coverage.out 18:22:41 -rw-rw-r-- 1 jenkins jenkins 3333 May 17 18:17 go.mod 18:22:41 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 18:17 go.sum 18:22:41 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:17 internal 18:22:41 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:17 mock 18:22:41 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:17 snap 18:22:41 -rw-rw-r-- 1 jenkins jenkins 227 May 17 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:41 + 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=7f8e8bab593542a609430e535f73b34c104b544a --label arch=arm64 --label version=0.0.0 . 18:22:42 Sending build context to Docker daemon 3.462MB 18:22:42 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 18:22:42 Step 2/24 : FROM ${BASE} AS builder 18:22:42 ---> 78eaed64e506 18:22:42 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:22:42 ---> Running in 7cccdf1fc51f 18:22:42 Removing intermediate container 7cccdf1fc51f 18:22:42 ---> ad0b3388fd84 18:22:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:22:42 ---> Running in 1313c628448d 18:22:43 Removing intermediate container 1313c628448d 18:22:43 ---> 14f49b132e5f 18:22:43 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:22:43 ---> Running in 16dddb758b09 18:22:43 Removing intermediate container 16dddb758b09 18:22:43 ---> fd2a9737ed44 18:22:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:22:43 ---> Running in 12cb0abab3cd 18:22:43 Removing intermediate container 12cb0abab3cd 18:22:43 ---> 4176ae13baf3 18:22:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:22:43 ---> Running in 3d4f49e49c98 18:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:22:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:22:46 OK: 268 MiB in 57 packages 18:22:49 Removing intermediate container 3d4f49e49c98 18:22:49 ---> 19d50fd61fc6 18:22:49 Step 8/24 : WORKDIR /device-mqtt-go 18:22:49 ---> Running in f8db91dd8dfb 18:22:49 Removing intermediate container f8db91dd8dfb 18:22:49 ---> bb229898c76c 18:22:49 Step 9/24 : COPY go.mod vendor* ./ 18:22:49 ---> 8680448f6ce8 18:22:49 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:22:49 ---> Running in 753b27e06957 18:22:52 Removing intermediate container 753b27e06957 18:22:52 ---> 8ab51f5cf3e8 18:22:52 Step 11/24 : COPY . . 18:22:52 ---> 469057de5ff3 18:22:52 Step 12/24 : RUN $MAKE 18:22:53 ---> Running in 2626afb4bfe3 18:22:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:25:01 Removing intermediate container 2626afb4bfe3 18:25:01 ---> 5afbf7b06e10 18:25:01 Step 13/24 : FROM alpine:3.17 18:25:01 3.17: Pulling from library/alpine 18:25:01 c41833b44d91: Already exists 18:25:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:25:01 Status: Downloaded newer image for alpine:3.17 18:25:01 ---> 51e60588ff2c 18:25:01 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:25:01 ---> Running in cf8e8d9993ec 18:25:01 Removing intermediate container cf8e8d9993ec 18:25:01 ---> b8a47d98424f 18:25:01 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:25:01 ---> Running in adc79d179daf 18:25:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:25:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:25:02 (1/1) Installing dumb-init (1.2.5-r2) 18:25:02 Executing busybox-1.35.0-r29.trigger 18:25:02 OK: 8 MiB in 16 packages 18:25:04 Removing intermediate container adc79d179daf 18:25:04 ---> 6398ca69f370 18:25:04 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:25:05 ---> a73d67c86a1b 18:25:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:25:05 ---> 07b46640003d 18:25:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:25:06 ---> 476f061f1057 18:25:06 Step 19/24 : EXPOSE 59982 18:25:06 ---> Running in 0b0fe2a64377 18:25:06 Removing intermediate container 0b0fe2a64377 18:25:06 ---> 3e266f36fe4b 18:25:06 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:25:06 ---> Running in 58b725a32965 18:25:06 Removing intermediate container 58b725a32965 18:25:06 ---> 40d4f586caad 18:25:06 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:25:07 ---> Running in b360efdb22d2 18:25:07 Removing intermediate container b360efdb22d2 18:25:07 ---> 20f736e0bcb3 18:25:07 Step 22/24 : LABEL arch=arm64 18:25:07 ---> Running in a279df4bbe17 18:25:07 Removing intermediate container a279df4bbe17 18:25:07 ---> 42e60457c3f4 18:25:07 Step 23/24 : LABEL git_sha=7f8e8bab593542a609430e535f73b34c104b544a 18:25:07 ---> Running in febf97e44f37 18:25:08 Removing intermediate container febf97e44f37 18:25:08 ---> ce037cf785ef 18:25:08 Step 24/24 : LABEL version=0.0.0 18:25:08 ---> Running in c1a9dfbb9e66 18:25:08 Removing intermediate container c1a9dfbb9e66 18:25:08 ---> deeaa1d894f4 18:25:08 [Warning] One or more build-args [ARCH] were not consumed 18:25:08 Successfully built deeaa1d894f4 18:25:08 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:25:09 18:25:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:25:09 arm64: Pulling from edgex-lftools-log-publisher 18:25:09 8998bd30e6a1: Pulling fs layer 18:25:09 04944245beec: Pulling fs layer 18:25:09 699f458cf7ca: Pulling fs layer 18:25:09 765212b225bb: Pulling fs layer 18:25:09 f23df028b6ca: Pulling fs layer 18:25:09 d65c8cfc05b1: Pulling fs layer 18:25:09 2437ff75d9bd: Pulling fs layer 18:25:09 f23df028b6ca: Waiting 18:25:09 d65c8cfc05b1: Waiting 18:25:09 2437ff75d9bd: Waiting 18:25:09 765212b225bb: Waiting 18:25:10 04944245beec: Verifying Checksum 18:25:10 04944245beec: Download complete 18:25:10 765212b225bb: Verifying Checksum 18:25:10 765212b225bb: Download complete 18:25:10 f23df028b6ca: Verifying Checksum 18:25:10 f23df028b6ca: Download complete 18:25:10 d65c8cfc05b1: Verifying Checksum 18:25:10 d65c8cfc05b1: Download complete 18:25:10 699f458cf7ca: Verifying Checksum 18:25:10 699f458cf7ca: Download complete 18:25:10 8998bd30e6a1: Verifying Checksum 18:25:10 8998bd30e6a1: Download complete 18:25:12 2437ff75d9bd: Verifying Checksum 18:25:12 2437ff75d9bd: Download complete 18:25:14 8998bd30e6a1: Pull complete 18:25:17 04944245beec: Pull complete 18:25:18 699f458cf7ca: Pull complete 18:25:18 765212b225bb: Pull complete 18:25:18 f23df028b6ca: Pull complete 18:25:19 d65c8cfc05b1: Pull complete 18:25:34 2437ff75d9bd: Pull complete 18:25:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:25:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:25:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:34 prd-ubuntu20.04-docker-arm64-4c-16g-15908 does not seem to be running inside a container 18:25:34 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:25:37 $ docker top 10ec0bbe78b6719038828838d9180c8c3d5cca1d7dbaab9510daea1bd0ab1f8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:38 ---> job-cost.sh 18:25:38 lf-activate-venv: SKIPPING 18:25:38 INFO: No Stack... 18:25:38 INFO: Retrieving Pricing Info for: v3-standard-4 18:25:39 INFO: Archiving Costs [Pipeline] sh 18:25:39 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 18:25:39 + cut -d, -f6 [Pipeline] lock 18:25:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-604-1-stack-cost] 18:25:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-604-1-stack-cost] did not exist. Created. 18:25:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-604-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:25:40 /w/workspace/device-mqtt-go/1@tmp/durable-ca7c38e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:25:41 + echo total: 0.10999999940395355 [Pipeline] stash 18:25:41 Warning: overwriting stash ‘stack-cost’ 18:25:41 Stashed 1 file(s) [Pipeline] } 18:25:41 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-604-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:25:41 $ docker stop --time=1 10ec0bbe78b6719038828838d9180c8c3d5cca1d7dbaab9510daea1bd0ab1f8b 18:25:45 $ docker rm -f --volumes 10ec0bbe78b6719038828838d9180c8c3d5cca1d7dbaab9510daea1bd0ab1f8b [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 18:25:46 provisioning config files... 18:25:46 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp/config3355324165909302678tmp [Pipeline] { [Pipeline] sh 18:25:46 + set +x 18:25:46 + bash+ -s -- 18:25:46 curl -s https://codecov.io/bash 18:25:46 18:25:46 _____ _ 18:25:46 / ____| | | 18:25:46 | | ___ __| | ___ ___ _____ __ 18:25:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:25:46 | |___| (_) | (_| | __/ (_| (_) \ V / 18:25:46 \_____\___/ \__,_|\___|\___\___/ \_/ 18:25:46 Bash-1.0.6 18:25:46 18:25:46 18:25:46 ==> git version 2.25.1 found 18:25:46 ==> 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 18:25:46 Release-Date: 2020-01-08 18:25:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:25:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:25:46 ==> Jenkins CI detected. 18:25:46 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-604 18:25:46 project root: . 18:25:46 --> token set from env 18:25:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:25:46 ==> Running gcov in . (disable via -X gcov) 18:25:46 ==> Python coveragepy not found 18:25:46 ==> Searching for coverage reports in: 18:25:46 + . 18:25:46 -> Found 1 reports 18:25:46 ==> Detecting git/mercurial file structure 18:25:46 ==> Reading reports 18:25:46 + ./coverage.out bytes=18506 18:25:46 ==> Appending adjustments 18:25:46 https://docs.codecov.io/docs/fixing-reports 18:25:46 + Found adjustments 18:25:46 ==> Gzipping contents 18:25:46 4.0K /tmp/codecov.4L3xGc.gz 18:25:46 ==> Uploading reports 18:25:46 url: https://codecov.io 18:25:46 query: branch=PR-604&commit=7f8e8bab593542a609430e535f73b34c104b544a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-604%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=604&job=&cmd_args= 18:25:46 -> Pinging Codecov 18:25:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-604&commit=7f8e8bab593542a609430e535f73b34c104b544a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-604%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=604&job=&cmd_args= 18:25:46 -> Uploading to 18:25:46 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/7D719EC7BBE17E464838252E33014C33/7f8e8bab593542a609430e535f73b34c104b544a/a49570a6-bd7f-4fc9-a34f-9c4f154e5a09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T182546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66c6f6dc6d8ecd36b2d700939b939c9fc50bdabc02c9e8189c56ddd0e62101db 18:25:47 % Total % Received % Xferd Average Speed Time Time Time Current 18:25:47 Dload Upload Total Spent Left Speed 18:25:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 13468 --:--:-- --:--:-- --:--:-- 13468 18:25:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7f8e8bab593542a609430e535f73b34c104b544a [Pipeline] } 18:25:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:25:48 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-604/archives ] 18:25:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-604/archives 18:25:48 total 16 18:25:48 drwxr-xr-x 3 root root 4096 May 17 18:17 . 18:25:48 drwxrwxr-x 11 jenkins jenkins 4096 May 17 18:17 .. 18:25:48 drwxr-xr-x 2 root root 4096 May 17 18:17 cost 18:25:48 -rw-r--r-- 1 root root 86 May 17 18:17 cost.csv 18:25:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-604/archives 18:25:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-604/archives 18:25:48 total 16 18:25:48 drwxr-xr-x 3 jenkins jenkins 4096 May 17 18:17 . 18:25:48 drwxrwxr-x 11 jenkins jenkins 4096 May 17 18:17 .. 18:25:48 drwxr-xr-x 2 jenkins jenkins 4096 May 17 18:17 cost 18:25:48 -rw-r--r-- 1 jenkins jenkins 86 May 17 18:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:25:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:25:50 ---> package-listing.sh 18:25:50 ++ facter osfamily 18:25:50 ++ tr '[:upper:]' '[:lower:]' 18:25:50 + OS_FAMILY=debian 18:25:50 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-604 18:25:50 + START_PACKAGES=/tmp/packages_start.txt 18:25:50 + END_PACKAGES=/tmp/packages_end.txt 18:25:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:25:50 + PACKAGES=/tmp/packages_start.txt 18:25:50 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-604 ']' 18:25:50 + PACKAGES=/tmp/packages_end.txt 18:25:50 + case "${OS_FAMILY}" in 18:25:50 + dpkg -l 18:25:50 + grep '^ii' 18:25:50 + '[' -f /tmp/packages_start.txt ']' 18:25:50 + '[' -f /tmp/packages_end.txt ']' 18:25:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:25:50 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-604 ']' 18:25:50 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-604/archives/ 18:25:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-604/archives/ [Pipeline] echo 18:25:50 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/gexfoundry_device-mqtt-go_PR-604/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:25:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:51 prd-ubuntu20.04-docker-8c-8g-15907 does not seem to be running inside a container 18:25:51 $ 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/gexfoundry_device-mqtt-go_PR-604/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-604 -v /w/workspace/gexfoundry_device-mqtt-go_PR-604:/w/workspace/gexfoundry_device-mqtt-go_PR-604:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-604@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:25:51 $ docker top ad7e74173217e31db10aaaa95a4cc9a744f5a3afa552860c76a1f2964e7fbe87 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:52 + touch /tmp/pre-build-complete [Pipeline] sh 18:25:52 + mkdir -p /var/log/sysstat [Pipeline] sh 18:25:52 + ls /var/log/sa-host 18:25:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:25:52 provisioning config files... 18:25:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-604@tmp/config3581175622821260841tmp [Pipeline] { [Pipeline] echo 18:25:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:25:53 ---> create-netrc.sh [Pipeline] } 18:25:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:25:53 ---> python-tools-install.sh [Pipeline] echo 18:25:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:25:54 ---> sudo-logs.sh 18:25:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:25:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:25:54 ---> job-cost.sh 18:25:54 lf-activate-venv: SKIPPING 18:25:54 DEBUG: total: 0.2199999988079071 18:25:54 INFO: Retrieving Stack Cost... 18:25:55 INFO: Retrieving Pricing Info for: v3-standard-8 18:25:55 INFO: Archiving Costs [Pipeline] echo 18:25:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:25:55 ---> logs-deploy.sh 18:25:55 lf-activate-venv: SKIPPING 18:25:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-604/1 18:25:55 INFO: archiving workspace using pattern(s): 18:25:56 Archives upload complete. 18:25:56 INFO: archiving logs to Nexus 18:25:57 ---> uname -a: 18:25:57 Linux prd-ubuntu20-04-docker-8c-8g-15907 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:25:57 18:25:57