Pull request #677 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce71274c74d254ccf2a9e55b902c93e797fc9851+a00efe280ec4bc21b554f46c724946ca453ce756 (3fe9665849ecb5ad465fd85d1db26499c1a3cd25) 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-ssh3668760276131406441.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh8197708869256395107.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 590556114a56c6d90cc8043840e039c2f74196dc 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-677/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-677/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2930259722110474963.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-677/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6610840166513459245.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2122470776219144299.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-677/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-677/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3087588849721894679.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 590556114a56c6d90cc8043840e039c2f74196dc 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] ========================================================= [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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4701 in /w/workspace/gexfoundry_device-mqtt-go_PR-677 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-677 # 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 a00efe280ec4bc21b554f46c724946ca453ce756 into PR head commit ce71274c74d254ccf2a9e55b902c93e797fc9851 Merge succeeded, producing ce71274c74d254ccf2a9e55b902c93e797fc9851 Checking out Revision ce71274c74d254ccf2a9e55b902c93e797fc9851 (PR-677) Commit message: "build(deps): bump github.com/gorilla/schema from 1.2.0 to 1.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/677/head:refs/remotes/origin/PR-677 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce71274c74d254ccf2a9e55b902c93e797fc9851 # 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 a00efe280ec4bc21b554f46c724946ca453ce756 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce71274c74d254ccf2a9e55b902c93e797fc9851 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:39:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:39:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:39:06 ========================================================= 20:39:06 EdgeX Global Pipelines Version Info 20:39:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:39:07 ------------------- 20:39:07 stable info: 20:39:07 ------------------- 20:39:07 Commited By: Ginny Guan ginny@iotechsys.com 20:39:07 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 20:39:07 Message: update stable to v1.0.260 20:39:08 ------------------- 20:39:08 experimental info: 20:39:08 ------------------- 20:39:08 Commited By: Ginny Guan ginny@iotechsys.com 20:39:08 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 20:39:08 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:39:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:39:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-677 [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-677 [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-677 [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce71274c74d254ccf2a9e55b902c93e797fc9851 [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce71274 [Pipeline] echo 20:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:10 provisioning config files... 20:39:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/config1498272546634474861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:11 ---> ****-login.sh 20:39:11 nexus3.edgexfoundry.org:10001 20:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:11 Configure a credential helper to remove this warning. See 20:39:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:11 20:39:11 Login Succeeded 20:39:11 nexus3.edgexfoundry.org:10002 20:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:11 Configure a credential helper to remove this warning. See 20:39:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:11 20:39:11 Login Succeeded 20:39:11 nexus3.edgexfoundry.org:10003 20:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:11 Configure a credential helper to remove this warning. See 20:39:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:11 20:39:11 Login Succeeded 20:39:11 nexus3.edgexfoundry.org:10004 20:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:11 Configure a credential helper to remove this warning. See 20:39:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:11 20:39:11 Login Succeeded 20:39:11 ****.io 20:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:12 Configure a credential helper to remove this warning. See 20:39:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:12 20:39:12 Login Succeeded 20:39:12 ---> ****-login.sh ends [Pipeline] } 20:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:39:12 + git rev-list -1 --merges ce71274c74d254ccf2a9e55b902c93e797fc9851~1..ce71274c74d254ccf2a9e55b902c93e797fc9851 [Pipeline] echo 20:39:12 -----------> git rev-list -1 --merges ce71274c74d254ccf2a9e55b902c93e797fc9851~1..ce71274c74d254ccf2a9e55b902c93e797fc9851 ce71274c74d254ccf2a9e55b902c93e797fc9851 [false] [Pipeline] sh 20:39:13 + git log --format=format:%s -1 ce71274c74d254ccf2a9e55b902c93e797fc9851 [Pipeline] echo 20:39:13 ========================================================= 20:39:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:39:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:13 + git log --format=format:%s -1 ce71274c74d254ccf2a9e55b902c93e797fc9851 [Pipeline] echo 20:39:13 [semverPrep] GIT_COMMIT: ce71274c74d254ccf2a9e55b902c93e797fc9851, Commit Message: build(deps): bump github.com/gorilla/schema from 1.2.0 to 1.4.1 [Pipeline] echo 20:39:13 [semverPrep] This is not a build commit. [Pipeline] sh 20:39:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:39:14 + grep -v github /etc/ssh/ssh_known_hosts 20:39:14 + [ -e /tmp/ssh_known_hosts ] 20:39:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:39:14 + + sudo tee -a /etc/ssh/ssh_known_hosts 20:39:14 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:39:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:14 20:39:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:15 0.1.4: Pulling from edgex-devops/py-git-semver 20:39:15 b85a868b505f: Pulling fs layer 20:39:15 e2be974225ed: Pulling fs layer 20:39:15 339a4e72a1f5: Pulling fs layer 20:39:15 988bab9f4d93: Pulling fs layer 20:39:15 1469e6f7b9e6: Pulling fs layer 20:39:15 eaf3925da568: Pulling fs layer 20:39:15 bab4dde63d76: Pulling fs layer 20:39:15 bde34c3a00c8: Pulling fs layer 20:39:15 b352a97aabf1: Pulling fs layer 20:39:15 4872d77fe225: Pulling fs layer 20:39:15 5851b861e8e6: Pulling fs layer 20:39:15 988bab9f4d93: Waiting 20:39:15 4872d77fe225: Waiting 20:39:15 1469e6f7b9e6: Waiting 20:39:15 eaf3925da568: Waiting 20:39:15 bde34c3a00c8: Waiting 20:39:15 b352a97aabf1: Waiting 20:39:15 5851b861e8e6: Waiting 20:39:15 e2be974225ed: Download complete 20:39:15 988bab9f4d93: Verifying Checksum 20:39:15 988bab9f4d93: Download complete 20:39:15 1469e6f7b9e6: Verifying Checksum 20:39:15 1469e6f7b9e6: Download complete 20:39:15 eaf3925da568: Verifying Checksum 20:39:15 eaf3925da568: Download complete 20:39:15 339a4e72a1f5: Verifying Checksum 20:39:15 339a4e72a1f5: Download complete 20:39:15 bde34c3a00c8: Download complete 20:39:15 b352a97aabf1: Verifying Checksum 20:39:15 b352a97aabf1: Download complete 20:39:15 4872d77fe225: Verifying Checksum 20:39:15 4872d77fe225: Download complete 20:39:15 5851b861e8e6: Verifying Checksum 20:39:15 5851b861e8e6: Download complete 20:39:15 b85a868b505f: Verifying Checksum 20:39:15 b85a868b505f: Download complete 20:39:15 bab4dde63d76: Verifying Checksum 20:39:15 bab4dde63d76: Download complete 20:39:16 b85a868b505f: Pull complete 20:39:16 e2be974225ed: Pull complete 20:39:17 339a4e72a1f5: Pull complete 20:39:17 988bab9f4d93: Pull complete 20:39:17 1469e6f7b9e6: Pull complete 20:39:17 eaf3925da568: Pull complete 20:39:19 bab4dde63d76: Pull complete 20:39:19 bde34c3a00c8: Pull complete 20:39:19 b352a97aabf1: Pull complete 20:39:19 4872d77fe225: Pull complete 20:39:19 5851b861e8e6: Pull complete 20:39:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:39:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:19 prd-ubuntu20.04-docker-8c-8g-4701 does not seem to be running inside a container 20:39:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:39:23 $ docker top ad7353915138670685022e20c60506ba8015b06f5fbdfbda7a29186420ab1386 -eo pid,comm 20:39:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:39:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:39:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:23 [ssh-agent] Looking for ssh-agent implementation... 20:39:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:23 $ docker exec ad7353915138670685022e20c60506ba8015b06f5fbdfbda7a29186420ab1386 ssh-agent 20:39:24 SSH_AUTH_SOCK=/tmp/ssh-NmHdVDk7SJGU/agent.31 20:39:24 SSH_AGENT_PID=37 20:39:24 Running ssh-add (command line suppressed) 20:39:24 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/private_key_18218677594970903054.key (/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/private_key_18218677594970903054.key) 20:39:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:24 + git tag --points-at HEAD [Pipeline] } 20:39:24 $ docker exec --env ******** --env ******** ad7353915138670685022e20c60506ba8015b06f5fbdfbda7a29186420ab1386 ssh-agent -k 20:39:24 unset SSH_AUTH_SOCK; 20:39:24 unset SSH_AGENT_PID; 20:39:24 echo Agent pid 37 killed; 20:39:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:39:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:24 [ssh-agent] Looking for ssh-agent implementation... 20:39:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:24 $ docker exec ad7353915138670685022e20c60506ba8015b06f5fbdfbda7a29186420ab1386 ssh-agent 20:39:25 SSH_AUTH_SOCK=/tmp/ssh-ZRPcLaNcIcM0/agent.70 20:39:25 SSH_AGENT_PID=76 20:39:25 Running ssh-add (command line suppressed) 20:39:25 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/private_key_3914891351390159746.key (/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/private_key_3914891351390159746.key) 20:39:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:39:25 + git semver init 20:39:25 2024-07-01 20:39:25,690 [run_init] DEBUG init version:0.0.0 force:False 20:39:25 2024-07-01 20:39:25,691 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver 20:39:25 2024-07-01 20:39:25,692 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver 20:39:25 2024-07-01 20:39:25,692 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-677, universal_newlines=False, shell=None, istream=None) 20:39:27 2024-07-01 20:39:26,994 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677/.git/info/exclude 20:39:27 2024-07-01 20:39:26,995 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver/PR-677 with force:False 20:39:27 2024-07-01 20:39:26,995 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver/PR-677 20:39:27 2024-07-01 20:39:26,999 [execute] INFO git cat-file --batch-check 20:39:27 2024-07-01 20:39:27,000 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver, universal_newlines=False, shell=None, istream=) 20:39:27 2024-07-01 20:39:27,006 [execute] INFO git cat-file --batch 20:39:27 2024-07-01 20:39:27,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver, universal_newlines=False, shell=None, istream=) 20:39:27 2024-07-01 20:39:27,012 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver/PR-677 20:39:27 0.0.0 [Pipeline] } 20:39:27 $ docker exec --env ******** --env ******** ad7353915138670685022e20c60506ba8015b06f5fbdfbda7a29186420ab1386 ssh-agent -k 20:39:27 unset SSH_AUTH_SOCK; 20:39:27 unset SSH_AGENT_PID; 20:39:27 echo Agent pid 76 killed; 20:39:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:39:27 + git semver [Pipeline] } 20:39:28 $ docker stop --time=1 ad7353915138670685022e20c60506ba8015b06f5fbdfbda7a29186420ab1386 20:39:29 $ docker rm -f --volumes ad7353915138670685022e20c60506ba8015b06f5fbdfbda7a29186420ab1386 [Pipeline] // withDockerContainer [Pipeline] sh 20:39:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:39:30 Stashed 1 file(s) [Pipeline] echo 20:39:30 [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 20:39:30 provisioning config files... 20:39:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/config13291470610020098701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:31 ---> ****-login.sh 20:39:31 nexus3.edgexfoundry.org:10001 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 nexus3.edgexfoundry.org:10002 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 nexus3.edgexfoundry.org:10003 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 nexus3.edgexfoundry.org:10004 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 ****.io 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 ---> ****-login.sh ends [Pipeline] } 20:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:39:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:39:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:39:32 ========================================================= 20:39:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:39:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:39:32 Sending build context to Docker daemon 21.02MB 20:39:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:39:32 Step 2/12 : FROM ${BASE} AS builder 20:39:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:39:33 619be1103602: Pulling fs layer 20:39:33 7862e08f4a3e: Pulling fs layer 20:39:33 5df492c9dc93: Pulling fs layer 20:39:33 7629e6793208: Pulling fs layer 20:39:33 4f4fb700ef54: Pulling fs layer 20:39:33 fb5054dd5b73: Pulling fs layer 20:39:33 eeca6798cff9: Pulling fs layer 20:39:33 aa269ceb94a6: Pulling fs layer 20:39:33 ada007ff1a6a: Pulling fs layer 20:39:33 4f4fb700ef54: Waiting 20:39:33 fb5054dd5b73: Waiting 20:39:33 eeca6798cff9: Waiting 20:39:33 7629e6793208: Waiting 20:39:33 ada007ff1a6a: Waiting 20:39:33 aa269ceb94a6: Waiting 20:39:33 7862e08f4a3e: Verifying Checksum 20:39:33 7862e08f4a3e: Download complete 20:39:33 7629e6793208: Verifying Checksum 20:39:33 7629e6793208: Download complete 20:39:33 4f4fb700ef54: Verifying Checksum 20:39:33 4f4fb700ef54: Download complete 20:39:33 fb5054dd5b73: Verifying Checksum 20:39:33 fb5054dd5b73: Download complete 20:39:33 619be1103602: Verifying Checksum 20:39:33 619be1103602: Download complete 20:39:33 eeca6798cff9: Verifying Checksum 20:39:33 eeca6798cff9: Download complete 20:39:33 619be1103602: Pull complete 20:39:33 7862e08f4a3e: Pull complete 20:39:33 ada007ff1a6a: Verifying Checksum 20:39:33 ada007ff1a6a: Download complete 20:39:33 5df492c9dc93: Verifying Checksum 20:39:33 5df492c9dc93: Download complete 20:39:33 aa269ceb94a6: Verifying Checksum 20:39:33 aa269ceb94a6: Download complete 20:39:37 5df492c9dc93: Pull complete 20:39:37 7629e6793208: Pull complete 20:39:37 4f4fb700ef54: Pull complete 20:39:37 fb5054dd5b73: Pull complete 20:39:37 eeca6798cff9: Pull complete 20:39:39 aa269ceb94a6: Pull complete 20:39:39 ada007ff1a6a: Pull complete 20:39:39 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:39:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:39:39 ---> f489d0715acc 20:39:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:39:44 ---> Running in 86ac26a074c2 20:39:44 Removing intermediate container 86ac26a074c2 20:39:44 ---> ac0fd044a156 20:39:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:44 ---> Running in c3f962213e22 20:39:44 Removing intermediate container c3f962213e22 20:39:44 ---> d97bb43ca4ba 20:39:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:39:44 ---> Running in e6324e8e4c0e 20:39:44 Removing intermediate container e6324e8e4c0e 20:39:44 ---> 4e9e2a93a66b 20:39:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:39:44 ---> Running in 458135c8e2a0 20:39:44 Removing intermediate container 458135c8e2a0 20:39:44 ---> 966124ddd7df 20:39:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:44 ---> Running in fa5f03a15ee8 20:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:39:45 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:39:45 (2/4) Installing libedit (20221030.3.1-r1) 20:39:45 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:39:45 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:39:45 Executing busybox-1.36.1-r5.trigger 20:39:45 OK: 268 MiB in 56 packages 20:39:45 Still waiting to schedule task 20:39:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:39:46 Removing intermediate container fa5f03a15ee8 20:39:46 ---> f97b62537217 20:39:46 Step 8/12 : WORKDIR /device-mqtt-go 20:39:46 ---> Running in 47da77356c77 20:39:46 Removing intermediate container 47da77356c77 20:39:46 ---> adf8bc7a7200 20:39:46 Step 9/12 : COPY go.mod vendor* ./ 20:39:46 ---> ac4c26e23456 20:39:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:46 ---> Running in e5c10d2bc127 20:40:54 Removing intermediate container e5c10d2bc127 20:40:54 ---> 811f3606fb9d 20:40:54 Step 11/12 : COPY . . 20:40:54 ---> 958e1c5396f1 20:40:54 Step 12/12 : RUN $MAKE 20:40:54 ---> Running in 464c17beb785 20:40:54 noop 20:40:54 Removing intermediate container 464c17beb785 20:40:54 ---> e463d49aef29 20:40:54 Successfully built e463d49aef29 20:40:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:54 + docker inspect -f . ci-base-image-x86_64 20:40:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:54 prd-ubuntu20.04-docker-8c-8g-4701 does not seem to be running inside a container 20:40:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@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 ******** ci-base-image-x86_64 cat 20:40:55 $ docker top 8c56df57a3f01c7c2139aac89163889fd0242b30ea16d490b18c223cdafa5763 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:55 + go version 20:40:55 go version go1.21.9 linux/amd64 [Pipeline] } 20:40:55 $ docker stop --time=1 8c56df57a3f01c7c2139aac89163889fd0242b30ea16d490b18c223cdafa5763 20:40:56 $ docker rm -f --volumes 8c56df57a3f01c7c2139aac89163889fd0242b30ea16d490b18c223cdafa5763 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:57 + docker inspect -f . ci-base-image-x86_64 20:40:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:57 prd-ubuntu20.04-docker-8c-8g-4701 does not seem to be running inside a container 20:40:57 $ 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-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@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 ******** ci-base-image-x86_64 cat 20:40:58 $ docker top 1d7603abee99f87ba1d7bf765943ae48551af42f1af73ab0a942a2902501bb6d -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-677 [Pipeline] fileExists [Pipeline] sh 20:40:59 + make test 20:40:59 go test ./... -coverprofile=coverage.out ./... 20:41:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:41:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4709 in /w/workspace/gexfoundry_device-mqtt-go_PR-677 [Pipeline] { [Pipeline] ws 20:41:15 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 20:41:15 The recommended git tool is: git 20:41:20 using credential edgex-jenkins-ssh 20:41:20 Cloning the remote Git repository 20:41:20 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:41:20 > git init /w/workspace/device-mqtt-go/1 # timeout=10 20:41:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:41:20 > git --version # timeout=10 20:41:20 > git --version # 'git version 2.25.1' 20:41:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:22 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:41:22 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:41:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 20:41:23 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:41:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:41:25 Merging remotes/origin/main commit a00efe280ec4bc21b554f46c724946ca453ce756 into PR head commit ce71274c74d254ccf2a9e55b902c93e797fc9851 20:41:25 Merge succeeded, producing ce71274c74d254ccf2a9e55b902c93e797fc9851 20:41:25 Checking out Revision ce71274c74d254ccf2a9e55b902c93e797fc9851 (PR-677) 20:41:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:41:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/677/head:refs/remotes/origin/PR-677 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:41:25 > git config core.sparsecheckout # timeout=10 20:41:25 > git checkout -f ce71274c74d254ccf2a9e55b902c93e797fc9851 # timeout=10 20:41:25 > git remote # timeout=10 20:41:25 > git config --get remote.origin.url # timeout=10 20:41:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:41:25 > git merge a00efe280ec4bc21b554f46c724946ca453ce756 # timeout=10 20:41:25 > git rev-parse HEAD^{commit} # timeout=10 20:41:25 > git config core.sparsecheckout # timeout=10 20:41:25 > git checkout -f ce71274c74d254ccf2a9e55b902c93e797fc9851 # timeout=10 20:41:26 Commit message: "build(deps): bump github.com/gorilla/schema from 1.2.0 to 1.4.1" 20:41:26 > git --version # timeout=10 20:41:26 > git --version # 'git version 2.25.1' 20:41:26 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:31 go vet ./... 20:41:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:41:31 % Total % Received % Xferd Average Speed Time Time Time Current 20:41:31 Dload Upload Total Spent Left Speed 20:41:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86093 0 --:--:-- --:--:-- --:--:-- 86675 [Pipeline] sh 20:41:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:41:31 + sudo tee /etc/docker/daemon.new 20:41:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:41:31 { 20:41:31 "registry-mirrors": [ 20:41:31 "https://nexus3.edgexfoundry.org:10001" 20:41:31 ], 20:41:31 "bip": "10.250.0.254/24", 20:41:31 "hosts": [ 20:41:31 "tcp://0.0.0.0:5555", 20:41:31 "unix:///var/run/docker.sock" 20:41:31 ], 20:41:31 "mtu": 1458, 20:41:31 "selinux-enabled": true, 20:41:31 "seccomp-profile": "/etc/docker/seccomp.json" 20:41:31 } [Pipeline] sh 20:41:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:41:32 + sudo service docker restart 20:41:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:41:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:41:37 ./bin/test-attribution-txt.sh 20:41:37 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:41:37 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:41:37 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:41:37 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:41:37 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:41:37 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:41:37 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:41:37 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:41:37 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:41:37 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:41:37 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:41:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:41:37 $ docker stop --time=1 1d7603abee99f87ba1d7bf765943ae48551af42f1af73ab0a942a2902501bb6d 20:41:42 $ docker rm -f --volumes 1d7603abee99f87ba1d7bf765943ae48551af42f1af73ab0a942a2902501bb6d [Pipeline] // withDockerContainer [Pipeline] sh 20:41:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:41:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:43 + ls -al . 20:41:43 total 252 20:41:43 drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 20:40 . 20:41:43 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:39 .. 20:41:43 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 20:39 .dockerignore 20:41:43 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:41 .git 20:41:43 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:39 .github 20:41:43 -rw-rw-r-- 1 jenkins jenkins 264 Jul 1 20:39 .gitignore 20:41:43 -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 20:39 .golangci.yml 20:41:43 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:39 .semver 20:41:43 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 1 20:39 Attribution.txt 20:41:43 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 1 20:39 CHANGELOG.md 20:41:43 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 1 20:39 Dockerfile 20:41:43 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:39 GOVERNANCE.md 20:41:43 -rw-rw-r-- 1 jenkins jenkins 657 Jul 1 20:39 Jenkinsfile 20:41:43 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 20:39 LICENSE 20:41:43 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 1 20:39 Makefile 20:41:43 -rw-rw-r-- 1 jenkins jenkins 620 Jul 1 20:39 OWNERS.md 20:41:43 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 1 20:39 README.md 20:41:43 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:39 VERSION 20:41:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:39 bin 20:41:43 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:39 cmd 20:41:43 -rw-r--r-- 1 jenkins jenkins 18506 Jul 1 20:41 coverage.out 20:41:43 -rw-rw-r-- 1 jenkins jenkins 7121 Jul 1 20:39 go.mod 20:41:43 -rw-rw-r-- 1 jenkins jenkins 101949 Jul 1 20:39 go.sum 20:41:43 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:39 internal 20:41:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:39 mock 20:41:43 -rw-rw-r-- 1 jenkins jenkins 227 Jul 1 20:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:44 + 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=ce71274c74d254ccf2a9e55b902c93e797fc9851 --label arch=amd64 --label version=0.0.0 . 20:41:44 Sending build context to Docker daemon 21.04MB 20:41:44 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:41:44 Step 2/25 : FROM ${BASE} AS builder 20:41:44 ---> e463d49aef29 20:41:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:41:44 ---> Running in 435a57aa3715 20:41:44 Removing intermediate container 435a57aa3715 20:41:44 ---> c3bfd9076426 20:41:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:44 ---> Running in 25514985e91b 20:41:44 Removing intermediate container 25514985e91b 20:41:44 ---> ad84aed99744 20:41:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:41:44 ---> Running in dad7461a14d8 20:41:44 Removing intermediate container dad7461a14d8 20:41:44 ---> b748b9961bc5 20:41:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:41:44 ---> Running in e8b4803b3518 20:41:45 Removing intermediate container e8b4803b3518 20:41:45 ---> 7416d248bf13 20:41:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:45 ---> Running in b672c041953c 20:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:41:45 OK: 268 MiB in 56 packages 20:41:46 Removing intermediate container b672c041953c 20:41:46 ---> 85fd87c2111b 20:41:46 Step 8/25 : WORKDIR /device-mqtt-go 20:41:46 ---> Running in 21de95e669a8 20:41:46 Removing intermediate container 21de95e669a8 20:41:46 ---> 78819c8b18c7 20:41:46 Step 9/25 : COPY go.mod vendor* ./ 20:41:46 ---> caaba09b4a0e 20:41:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:46 ---> Running in 9dc9134d0527 20:41:47 Removing intermediate container 9dc9134d0527 20:41:47 ---> 9f144caf5ea3 20:41:47 Step 11/25 : COPY . . 20:41:48 ---> 088d829671a0 20:41:48 Step 12/25 : RUN $MAKE 20:41:48 ---> Running in b1014f2d418d 20:41:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:50 provisioning config files... 20:41:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1786044314174775056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:51 ---> ****-login.sh 20:41:51 nexus3.edgexfoundry.org:10001 20:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:52 Configure a credential helper to remove this warning. See 20:41:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:52 20:41:52 Login Succeeded 20:41:52 nexus3.edgexfoundry.org:10002 20:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:52 Configure a credential helper to remove this warning. See 20:41:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:52 20:41:52 Login Succeeded 20:41:52 nexus3.edgexfoundry.org:10003 20:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:53 Configure a credential helper to remove this warning. See 20:41:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:53 20:41:53 Login Succeeded 20:41:53 nexus3.edgexfoundry.org:10004 20:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:53 Configure a credential helper to remove this warning. See 20:41:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:53 20:41:53 Login Succeeded 20:41:53 ****.io 20:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:41:54 Configure a credential helper to remove this warning. See 20:41:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:41:54 20:41:54 Login Succeeded 20:41:54 ---> ****-login.sh ends [Pipeline] } 20:41:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:41:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:41:55 ========================================================= 20:41:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:41:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:41:56 Sending build context to Docker daemon 10.62MB 20:41:56 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:41:56 Step 2/12 : FROM ${BASE} AS builder 20:41:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:41:56 c6b39de5b339: Pulling fs layer 20:41:56 a69c41024577: Pulling fs layer 20:41:56 d6de4b400683: Pulling fs layer 20:41:56 35cb2a7552d0: Pulling fs layer 20:41:56 4f4fb700ef54: Pulling fs layer 20:41:56 464afbd9ba4c: Pulling fs layer 20:41:56 00f215d4a9da: Pulling fs layer 20:41:56 d496ad576159: Pulling fs layer 20:41:56 35cb2a7552d0: Waiting 20:41:56 464afbd9ba4c: Waiting 20:41:56 4f4fb700ef54: Waiting 20:41:56 d496ad576159: Waiting 20:41:56 00f215d4a9da: Waiting 20:41:56 a69c41024577: Verifying Checksum 20:41:56 a69c41024577: Download complete 20:41:56 35cb2a7552d0: Verifying Checksum 20:41:56 35cb2a7552d0: Download complete 20:41:56 4f4fb700ef54: Verifying Checksum 20:41:56 4f4fb700ef54: Download complete 20:41:56 464afbd9ba4c: Download complete 20:41:56 c6b39de5b339: Download complete 20:41:57 d496ad576159: Verifying Checksum 20:41:57 d496ad576159: Download complete 20:41:57 c6b39de5b339: Pull complete 20:41:58 a69c41024577: Pull complete 20:41:58 d6de4b400683: Verifying Checksum 20:41:58 d6de4b400683: Download complete 20:41:59 00f215d4a9da: Verifying Checksum 20:41:59 00f215d4a9da: Download complete 20:42:12 d6de4b400683: Pull complete 20:42:12 35cb2a7552d0: Pull complete 20:42:12 4f4fb700ef54: Pull complete 20:42:12 464afbd9ba4c: Pull complete 20:42:20 00f215d4a9da: Pull complete 20:42:22 d496ad576159: Pull complete 20:42:22 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 20:42:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:42:22 ---> f246e2811388 20:42:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:42:24 ---> Running in e550916e30e6 20:42:24 Removing intermediate container e550916e30e6 20:42:24 ---> 6ca35588a713 20:42:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:24 ---> Running in 79323089676c 20:42:25 Removing intermediate container 79323089676c 20:42:25 ---> 10bff422d96a 20:42:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:42:25 ---> Running in 9153be3c559b 20:42:25 Removing intermediate container 9153be3c559b 20:42:25 ---> 05b319d3b45b 20:42:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:42:26 ---> Running in 883fc5eeaf5e 20:42:26 Removing intermediate container 883fc5eeaf5e 20:42:26 ---> 11c87a201233 20:42:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:26 ---> Running in 77db794bd628 20:42:27 Removing intermediate container b1014f2d418d 20:42:27 ---> 2267e6e77611 20:42:27 Step 13/25 : FROM alpine:3.18 20:42:27 3.18: Pulling from library/alpine 20:42:27 73baa7ef167e: Pulling fs layer 20:42:27 73baa7ef167e: Verifying Checksum 20:42:27 73baa7ef167e: Download complete 20:42:27 73baa7ef167e: Pull complete 20:42:27 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 20:42:27 Status: Downloaded newer image for alpine:3.18 20:42:27 ---> 8fd7cac70a4a 20:42:27 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:42:27 ---> Running in 0b39d468a618 20:42:27 Removing intermediate container 0b39d468a618 20:42:27 ---> a74415700eaa 20:42:27 Step 15/25 : RUN apk add --update --no-cache dumb-init 20:42:27 ---> Running in f18b72dc81fc 20:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:42:27 (1/1) Installing dumb-init (1.2.5-r2) 20:42:27 Executing busybox-1.36.1-r7.trigger 20:42:27 OK: 7 MiB in 16 packages 20:42:27 Removing intermediate container f18b72dc81fc 20:42:27 ---> 36e4f64bd399 20:42:27 Step 16/25 : RUN apk --no-cache upgrade 20:42:27 ---> Running in a7716704e4ee 20:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:42:27 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 20:42:27 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 20:42:27 OK: 7 MiB in 16 packages 20:42:27 Removing intermediate container a7716704e4ee 20:42:27 ---> 393b0acc86e0 20:42:27 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 20:42:27 ---> 9f342131e6d9 20:42:27 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 20:42:27 ---> c49631ec4bb4 20:42:27 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:42:27 ---> a196785e40c4 20:42:27 Step 20/25 : EXPOSE 59982 20:42:27 ---> Running in c50aaf4ba601 20:42:27 Removing intermediate container c50aaf4ba601 20:42:27 ---> 363165ed0ad8 20:42:27 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 20:42:27 ---> Running in eaf225d32c31 20:42:27 Removing intermediate container eaf225d32c31 20:42:27 ---> ac29942406c4 20:42:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:42:27 ---> Running in a1e569da6a83 20:42:27 Removing intermediate container a1e569da6a83 20:42:27 ---> 465b9ed9a989 20:42:27 Step 23/25 : LABEL arch=amd64 20:42:27 ---> Running in a4e76d6aadca 20:42:27 Removing intermediate container a4e76d6aadca 20:42:27 ---> 1a62e21da45c 20:42:27 Step 24/25 : LABEL git_sha=ce71274c74d254ccf2a9e55b902c93e797fc9851 20:42:27 ---> Running in 84390e3f142c 20:42:27 Removing intermediate container 84390e3f142c 20:42:27 ---> b39acb31c5ff 20:42:27 Step 25/25 : LABEL version=0.0.0 20:42:27 ---> Running in a13272b348ca 20:42:27 Removing intermediate container a13272b348ca 20:42:27 ---> 0669970af559 20:42:27 [Warning] One or more build-args [ARCH] were not consumed 20:42:27 Successfully built 0669970af559 20:42:27 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix 20:42:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:28 20:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:29 latest: Pulling from edgex-lftools-log-publisher 20:42:29 5eb5b503b376: Pulling fs layer 20:42:29 5c69ac0246d0: Pulling fs layer 20:42:29 ec43610c2a17: Pulling fs layer 20:42:29 3a2ae6a8a46f: Pulling fs layer 20:42:29 33b1e0a273af: Pulling fs layer 20:42:29 5d3b04190fa2: Pulling fs layer 20:42:29 2f39f015ded8: Pulling fs layer 20:42:29 3a2ae6a8a46f: Waiting 20:42:29 2f39f015ded8: Waiting 20:42:29 5d3b04190fa2: Waiting 20:42:29 5c69ac0246d0: Verifying Checksum 20:42:29 5c69ac0246d0: Download complete 20:42:29 3a2ae6a8a46f: Verifying Checksum 20:42:29 3a2ae6a8a46f: Download complete 20:42:29 33b1e0a273af: Verifying Checksum 20:42:29 33b1e0a273af: Download complete 20:42:29 ec43610c2a17: Verifying Checksum 20:42:29 ec43610c2a17: Download complete 20:42:29 5d3b04190fa2: Download complete 20:42:29 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:42:29 (2/4) Installing libedit (20221030.3.1-r1) 20:42:29 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:42:29 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:42:29 Executing busybox-1.36.1-r5.trigger 20:42:29 OK: 271 MiB in 56 packages 20:42:29 5eb5b503b376: Verifying Checksum 20:42:29 5eb5b503b376: Download complete 20:42:29 2f39f015ded8: Download complete 20:42:30 5eb5b503b376: Pull complete 20:42:30 Removing intermediate container 77db794bd628 20:42:30 ---> 2a21430091bf 20:42:30 Step 8/12 : WORKDIR /device-mqtt-go 20:42:30 ---> Running in cf8c97da9c59 20:42:30 5c69ac0246d0: Pull complete 20:42:31 Removing intermediate container cf8c97da9c59 20:42:31 ---> f92aa6f5f757 20:42:31 Step 9/12 : COPY go.mod vendor* ./ 20:42:31 ec43610c2a17: Pull complete 20:42:31 3a2ae6a8a46f: Pull complete 20:42:31 ---> ff5240d4a6f9 20:42:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:31 33b1e0a273af: Pull complete 20:42:31 5d3b04190fa2: Pull complete 20:42:31 ---> Running in b1e60992d5c9 20:42:35 2f39f015ded8: Pull complete 20:42:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:36 prd-ubuntu20.04-docker-8c-8g-4701 does not seem to be running inside a container 20:42:36 $ 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-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:42:41 $ docker top 0499525c3ffb6ac84a84bffb5669e36a8222406b29dadffb30e3448981350869 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:41 ---> job-cost.sh 20:42:41 lf-activate-venv: SKIPPING 20:42:41 INFO: No Stack... 20:42:41 INFO: Retrieving Pricing Info for: v3-standard-8 20:42:42 INFO: Archiving Costs [Pipeline] sh 20:42:42 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives/cost.csv 20:42:42 + cut -d, -f6 [Pipeline] lock 20:42:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-1-stack-cost] 20:42:42 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-677-1-stack-cost] did not exist. Created. 20:42:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:42 + echo total: 0.2199999988079071 [Pipeline] stash 20:42:42 Stashed 1 file(s) [Pipeline] } 20:42:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:43 $ docker stop --time=1 0499525c3ffb6ac84a84bffb5669e36a8222406b29dadffb30e3448981350869 20:42:44 $ docker rm -f --volumes 0499525c3ffb6ac84a84bffb5669e36a8222406b29dadffb30e3448981350869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:44:38 Removing intermediate container b1e60992d5c9 20:44:38 ---> 65cfb9babd80 20:44:38 Step 11/12 : COPY . . 20:44:38 ---> 713e4249966b 20:44:38 Step 12/12 : RUN $MAKE 20:44:38 ---> Running in d2d77abfb13b 20:44:38 noop 20:44:38 Removing intermediate container d2d77abfb13b 20:44:38 ---> 914489ed0990 20:44:38 Successfully built 914489ed0990 20:44:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:39 + docker inspect -f . ci-base-image-arm64 20:44:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:39 prd-ubuntu20.04-docker-arm64-4c-16g-4709 does not seem to be running inside a container 20:44:40 $ 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 ******** ci-base-image-arm64 cat 20:44:41 $ docker top 06fa84010bcbff0c32cbd4191ecb7a015f9890da1ecf6b568d30c87a153005ae -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:42 + go version 20:44:42 go version go1.21.9 linux/arm64 [Pipeline] } 20:44:42 $ docker stop --time=1 06fa84010bcbff0c32cbd4191ecb7a015f9890da1ecf6b568d30c87a153005ae 20:44:44 $ docker rm -f --volumes 06fa84010bcbff0c32cbd4191ecb7a015f9890da1ecf6b568d30c87a153005ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:45 + docker inspect -f . ci-base-image-arm64 20:44:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:45 prd-ubuntu20.04-docker-arm64-4c-16g-4709 does not seem to be running inside a container 20:44:45 $ 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 ******** ci-base-image-arm64 cat 20:44:47 $ docker top d9921d31f721f8607ad9770dc53aa404a54434060aa5822be9910d63d79798bf -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:48 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 20:44:48 + make test 20:44:48 go test ./... -coverprofile=coverage.out ./... 20:44:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:49:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:49:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:49:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 22.8% of statements 20:49:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:49:39 go vet ./... 20:50:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:50:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:50:47 ./bin/test-attribution-txt.sh 20:50:47 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:50:47 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:50:47 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:50:47 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:50:47 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:50:47 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:50:47 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:50:47 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:50:47 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:50:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:50:47 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:50:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:50:47 $ docker stop --time=1 d9921d31f721f8607ad9770dc53aa404a54434060aa5822be9910d63d79798bf 20:50:49 $ docker rm -f --volumes d9921d31f721f8607ad9770dc53aa404a54434060aa5822be9910d63d79798bf [Pipeline] // withDockerContainer [Pipeline] sh 20:50:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:50:51 Warning: overwriting stash ‘coverage-report’ 20:50:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:50:53 + ls -al . 20:50:53 total 248 20:50:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:44 . 20:50:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 20:41 .. 20:50:53 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 20:41 .dockerignore 20:50:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 20:41 .git 20:50:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:41 .github 20:50:53 -rw-rw-r-- 1 jenkins jenkins 264 Jul 1 20:41 .gitignore 20:50:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 20:41 .golangci.yml 20:50:53 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 1 20:41 Attribution.txt 20:50:53 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 1 20:41 CHANGELOG.md 20:50:53 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 1 20:41 Dockerfile 20:50:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 20:41 GOVERNANCE.md 20:50:53 -rw-rw-r-- 1 jenkins jenkins 657 Jul 1 20:41 Jenkinsfile 20:50:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 20:41 LICENSE 20:50:53 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 1 20:41 Makefile 20:50:53 -rw-rw-r-- 1 jenkins jenkins 620 Jul 1 20:41 OWNERS.md 20:50:53 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 1 20:41 README.md 20:50:53 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 20:39 VERSION 20:50:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:41 bin 20:50:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:41 cmd 20:50:53 -rw-r--r-- 1 jenkins jenkins 18506 Jul 1 20:49 coverage.out 20:50:53 -rw-rw-r-- 1 jenkins jenkins 7121 Jul 1 20:41 go.mod 20:50:53 -rw-rw-r-- 1 jenkins jenkins 101949 Jul 1 20:41 go.sum 20:50:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 20:41 internal 20:50:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 20:41 mock 20:50:53 -rw-rw-r-- 1 jenkins jenkins 227 Jul 1 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:54 + 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=ce71274c74d254ccf2a9e55b902c93e797fc9851 --label arch=arm64 --label version=0.0.0 . 20:50:54 Sending build context to Docker daemon 10.64MB 20:50:54 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:50:54 Step 2/25 : FROM ${BASE} AS builder 20:50:54 ---> 914489ed0990 20:50:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:50:55 ---> Running in 866304148ff7 20:50:55 Removing intermediate container 866304148ff7 20:50:55 ---> 99835edb10e6 20:50:55 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:50:55 ---> Running in b1e70c4ac86a 20:50:55 Removing intermediate container b1e70c4ac86a 20:50:55 ---> 408ac494e92d 20:50:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:50:55 ---> Running in 18f4221e97b0 20:50:56 Removing intermediate container 18f4221e97b0 20:50:56 ---> e82b6a2bee6b 20:50:56 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:50:56 ---> Running in da07a28a91c6 20:50:57 Removing intermediate container da07a28a91c6 20:50:57 ---> 6f6f08d99d9e 20:50:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:57 ---> Running in 2f77e0abfe3d 20:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:50:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:51:01 OK: 271 MiB in 56 packages 20:51:02 Removing intermediate container 2f77e0abfe3d 20:51:02 ---> 1dcc62f63738 20:51:02 Step 8/25 : WORKDIR /device-mqtt-go 20:51:02 ---> Running in bcdb11cdd430 20:51:02 Removing intermediate container bcdb11cdd430 20:51:02 ---> c9c49b42bc45 20:51:02 Step 9/25 : COPY go.mod vendor* ./ 20:51:03 ---> f9d55ddf4f08 20:51:03 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:03 ---> Running in d4244e4c31d2 20:51:07 Removing intermediate container d4244e4c31d2 20:51:07 ---> 76b3ad95f077 20:51:07 Step 11/25 : COPY . . 20:51:08 ---> 5cd5c7fcc266 20:51:08 Step 12/25 : RUN $MAKE 20:51:08 ---> Running in c8f249e06f30 20:51:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.18" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 20:56:01 Removing intermediate container c8f249e06f30 20:56:01 ---> 9ec22b4f25b2 20:56:01 Step 13/25 : FROM alpine:3.18 20:56:01 3.18: Pulling from library/alpine 20:56:01 5c905c7ebe2f: Pulling fs layer 20:56:01 5c905c7ebe2f: Verifying Checksum 20:56:01 5c905c7ebe2f: Download complete 20:56:01 5c905c7ebe2f: Pull complete 20:56:01 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 20:56:01 Status: Downloaded newer image for alpine:3.18 20:56:01 ---> dec292d02e07 20:56:01 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:56:01 ---> Running in 0dcfdac394fc 20:56:01 Removing intermediate container 0dcfdac394fc 20:56:01 ---> efa1422549e5 20:56:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 20:56:01 ---> Running in c52ba85ead66 20:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:01 (1/1) Installing dumb-init (1.2.5-r2) 20:56:01 Executing busybox-1.36.1-r7.trigger 20:56:01 OK: 8 MiB in 16 packages 20:56:01 Removing intermediate container c52ba85ead66 20:56:01 ---> 84150f126394 20:56:01 Step 16/25 : RUN apk --no-cache upgrade 20:56:01 ---> Running in 4f0e4831325b 20:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:02 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 20:56:02 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 20:56:02 OK: 8 MiB in 16 packages 20:56:03 Removing intermediate container 4f0e4831325b 20:56:03 ---> 5a99602812c8 20:56:03 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 20:56:05 ---> 2e88b909d4d7 20:56:05 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 20:56:06 ---> 424da123534f 20:56:06 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:56:07 ---> 65597f576557 20:56:07 Step 20/25 : EXPOSE 59982 20:56:07 ---> Running in 4464d017db85 20:56:07 Removing intermediate container 4464d017db85 20:56:07 ---> 73ae1aabffaf 20:56:07 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 20:56:07 ---> Running in 56f473dedf70 20:56:08 Removing intermediate container 56f473dedf70 20:56:08 ---> e94cd058b197 20:56:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:56:08 ---> Running in 2b6fc2568a39 20:56:08 Removing intermediate container 2b6fc2568a39 20:56:08 ---> d9596a870d23 20:56:08 Step 23/25 : LABEL arch=arm64 20:56:08 ---> Running in 7081e14c102a 20:56:08 Removing intermediate container 7081e14c102a 20:56:08 ---> 6ef6221195a4 20:56:08 Step 24/25 : LABEL git_sha=ce71274c74d254ccf2a9e55b902c93e797fc9851 20:56:08 ---> Running in dffad8bc9791 20:56:09 Removing intermediate container dffad8bc9791 20:56:09 ---> b7162914f9d8 20:56:09 Step 25/25 : LABEL version=0.0.0 20:56:09 ---> Running in 7bba7a6efa51 20:56:09 Removing intermediate container 7bba7a6efa51 20:56:09 ---> 3a4488c91db6 20:56:09 [Warning] One or more build-args [ARCH] were not consumed 20:56:09 Successfully built 3a4488c91db6 20:56:10 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:11 20:56:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:11 arm64: Pulling from edgex-lftools-log-publisher 20:56:11 8998bd30e6a1: Pulling fs layer 20:56:11 04944245beec: Pulling fs layer 20:56:11 699f458cf7ca: Pulling fs layer 20:56:11 765212b225bb: Pulling fs layer 20:56:11 f23df028b6ca: Pulling fs layer 20:56:11 d65c8cfc05b1: Pulling fs layer 20:56:11 2437ff75d9bd: Pulling fs layer 20:56:11 765212b225bb: Waiting 20:56:11 f23df028b6ca: Waiting 20:56:11 d65c8cfc05b1: Waiting 20:56:11 2437ff75d9bd: Waiting 20:56:11 04944245beec: Verifying Checksum 20:56:11 04944245beec: Download complete 20:56:11 765212b225bb: Verifying Checksum 20:56:11 765212b225bb: Download complete 20:56:11 f23df028b6ca: Verifying Checksum 20:56:11 f23df028b6ca: Download complete 20:56:12 d65c8cfc05b1: Verifying Checksum 20:56:12 d65c8cfc05b1: Download complete 20:56:12 699f458cf7ca: Verifying Checksum 20:56:12 699f458cf7ca: Download complete 20:56:12 8998bd30e6a1: Verifying Checksum 20:56:12 8998bd30e6a1: Download complete 20:56:15 2437ff75d9bd: Verifying Checksum 20:56:15 2437ff75d9bd: Download complete 20:56:18 8998bd30e6a1: Pull complete 20:56:18 04944245beec: Pull complete 20:56:20 699f458cf7ca: Pull complete 20:56:20 765212b225bb: Pull complete 20:56:21 f23df028b6ca: Pull complete 20:56:22 d65c8cfc05b1: Pull complete 20:56:44 2437ff75d9bd: Pull complete 20:56:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:44 prd-ubuntu20.04-docker-arm64-4c-16g-4709 does not seem to be running inside a container 20:56:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:56:48 $ docker top f88ee3d6256e5f7e1901151daf38b0d672287028913c97b0fa045165d3c8648b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:49 ---> job-cost.sh 20:56:49 lf-activate-venv: SKIPPING 20:56:49 INFO: No Stack... 20:56:49 INFO: Retrieving Pricing Info for: v3-standard-4 20:56:50 INFO: Archiving Costs [Pipeline] sh 20:56:51 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 20:56:51 + cut -d, -f6 [Pipeline] lock 20:56:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-1-stack-cost] 20:56:51 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-677-1-stack-cost] did not exist. Created. 20:56:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:52 /w/workspace/device-mqtt-go/1@tmp/durable-721aea5f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:56:53 + echo total: 0.10999999940395355 [Pipeline] stash 20:56:53 Warning: overwriting stash ‘stack-cost’ 20:56:53 Stashed 1 file(s) [Pipeline] } 20:56:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:53 $ docker stop --time=1 f88ee3d6256e5f7e1901151daf38b0d672287028913c97b0fa045165d3c8648b 20:56:55 $ docker rm -f --volumes f88ee3d6256e5f7e1901151daf38b0d672287028913c97b0fa045165d3c8648b [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 20:56:56 provisioning config files... 20:56:56 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/config6964341237839584119tmp [Pipeline] { [Pipeline] sh 20:56:56 + set +x 20:56:56 + curl -s https://codecov.io/bash 20:56:56 + bash -s -- 20:56:56 20:56:56 _____ _ 20:56:56 / ____| | | 20:56:56 | | ___ __| | ___ ___ _____ __ 20:56:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:56:56 | |___| (_) | (_| | __/ (_| (_) \ V / 20:56:56 \_____\___/ \__,_|\___|\___\___/ \_/ 20:56:56 Bash-1.0.6 20:56:56 20:56:56 20:56:56 ==> git version 2.25.1 found 20:56:56 ==> 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 20:56:56 Release-Date: 2020-01-08 20:56:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:56:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:56:56 ==> Jenkins CI detected. 20:56:56 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-677 20:56:56 project root: . 20:56:56 --> token set from env 20:56:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:56:56 ==> Running gcov in . (disable via -X gcov) 20:56:56 ==> Python coveragepy not found 20:56:56 ==> Searching for coverage reports in: 20:56:56 + . 20:56:56 -> Found 1 reports 20:56:56 ==> Detecting git/mercurial file structure 20:56:56 ==> Reading reports 20:56:56 + ./coverage.out bytes=18506 20:56:56 ==> Appending adjustments 20:56:56 https://docs.codecov.io/docs/fixing-reports 20:56:57 + Found adjustments 20:56:57 ==> Gzipping contents 20:56:57 4.0K /tmp/codecov.Uvtvdw.gz 20:56:57 ==> Uploading reports 20:56:57 url: https://codecov.io 20:56:57 query: branch=PR-677&commit=ce71274c74d254ccf2a9e55b902c93e797fc9851&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-677%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=677&job=&cmd_args= 20:56:57 -> Pinging Codecov 20:56:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-677&commit=ce71274c74d254ccf2a9e55b902c93e797fc9851&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-677%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=677&job=&cmd_args= 20:56:57 -> Uploading to 20:56:57 https://storage.googleapis.com/codecov/v4/raw/2024-07-01/7D719EC7BBE17E464838252E33014C33/ce71274c74d254ccf2a9e55b902c93e797fc9851/0fdcc42c-eb13-41ab-8bed-aae1eb839bfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240701%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240701T205656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab1c8d7bca644e0fa9caa8446ed42b94664a629a81f6eed188cb8e87b1aa8039 20:56:57 % Total % Received % Xferd Average Speed Time Time Time Current 20:56:57 Dload Upload Total Spent Left Speed 20:56:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11376 --:--:-- --:--:-- --:--:-- 11334 20:56:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ce71274c74d254ccf2a9e55b902c93e797fc9851 [Pipeline] } 20:56:57 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:56:59 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives ] 20:56:59 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives 20:56:59 total 16 20:56:59 drwxr-xr-x 3 root root 4096 Jul 1 20:42 . 20:56:59 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 20:42 .. 20:56:59 drwxr-xr-x 2 root root 4096 Jul 1 20:42 cost 20:56:59 -rw-r--r-- 1 root root 86 Jul 1 20:42 cost.csv 20:56:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives 20:56:59 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives 20:56:59 total 16 20:56:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 20:42 . 20:56:59 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 20:42 .. 20:56:59 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 20:42 cost 20:56:59 -rw-r--r-- 1 jenkins jenkins 86 Jul 1 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:57:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:57:00 ---> package-listing.sh 20:57:00 ++ facter osfamily 20:57:00 ++ tr '[:upper:]' '[:lower:]' 20:57:01 + OS_FAMILY=debian 20:57:01 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-677 20:57:01 + START_PACKAGES=/tmp/packages_start.txt 20:57:01 + END_PACKAGES=/tmp/packages_end.txt 20:57:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:57:01 + PACKAGES=/tmp/packages_start.txt 20:57:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-677 ']' 20:57:01 + PACKAGES=/tmp/packages_end.txt 20:57:01 + case "${OS_FAMILY}" in 20:57:01 + dpkg -l 20:57:01 + grep '^ii' 20:57:01 + '[' -f /tmp/packages_start.txt ']' 20:57:01 + '[' -f /tmp/packages_end.txt ']' 20:57:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:57:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-677 ']' 20:57:01 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives/ 20:57:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives/ [Pipeline] echo 20:57:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-677/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:57:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:57:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:02 prd-ubuntu20.04-docker-8c-8g-4701 does not seem to be running inside a container 20:57:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-677/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-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@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-lftools-log-publisher:latest cat 20:57:02 $ docker top b607e438bafe6b756c43b61e47943cad44d3250e55b1990689e8bb904f006e01 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:03 + touch /tmp/pre-build-complete [Pipeline] sh 20:57:03 + mkdir -p /var/log/sysstat [Pipeline] sh 20:57:03 + ls /var/log/sa-host 20:57:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:04 provisioning config files... 20:57:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/config8314862835702971536tmp [Pipeline] { [Pipeline] echo 20:57:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:57:04 ---> create-netrc.sh [Pipeline] } 20:57:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:57:05 ---> python-tools-install.sh [Pipeline] echo 20:57:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:57:05 ---> sudo-logs.sh 20:57:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:57:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:57:05 ---> job-cost.sh 20:57:05 lf-activate-venv: SKIPPING 20:57:05 DEBUG: total: 0.2199999988079071 20:57:05 INFO: Retrieving Stack Cost... 20:57:06 INFO: Retrieving Pricing Info for: v3-standard-8 20:57:06 INFO: Archiving Costs [Pipeline] echo 20:57:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:57:07 ---> logs-deploy.sh 20:57:07 lf-activate-venv: SKIPPING 20:57:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-677/1 20:57:07 INFO: archiving workspace using pattern(s): 20:57:07 Archives upload complete. 20:57:07 INFO: archiving logs to Nexus