Pull request #683 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cfdab52b8556a3954363da60d9de38ceffa5077a+451ce87ac5af399cf23a8dbe18d868ad027d5dd8 (c9d2bd48572802e49cdf7a04efc0c9e16a200efc) 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-ssh3542344070813464353.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-ssh16276524793927887993.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-683/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-683/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13222548515998222030.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-683/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh942578682586544496.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-ssh5698975221291505276.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-683/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-683/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13371100129705786494.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-6371 in /w/workspace/gexfoundry_device-mqtt-go_PR-683 [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-683 # 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 Merging remotes/origin/main commit 451ce87ac5af399cf23a8dbe18d868ad027d5dd8 into PR head commit cfdab52b8556a3954363da60d9de38ceffa5077a Merge succeeded, producing cfdab52b8556a3954363da60d9de38ceffa5077a Checking out Revision cfdab52b8556a3954363da60d9de38ceffa5077a (PR-683) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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/683/head:refs/remotes/origin/PR-683 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfdab52b8556a3954363da60d9de38ceffa5077a # 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 451ce87ac5af399cf23a8dbe18d868ad027d5dd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfdab52b8556a3954363da60d9de38ceffa5077a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:25:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:25:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:25:18 ========================================================= 01:25:18 EdgeX Global Pipelines Version Info 01:25:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:25:18 ------------------- 01:25:18 stable info: 01:25:18 ------------------- 01:25:18 Commited By: Ginny Guan ginny@iotechsys.com 01:25:18 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:25:18 Message: update stable to v1.0.260 01:25:19 ------------------- 01:25:19 experimental info: 01:25:19 ------------------- 01:25:19 Commited By: Ginny Guan ginny@iotechsys.com 01:25:19 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:25:19 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:25:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:25:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-683 [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-683 [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-683 [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cfdab52b8556a3954363da60d9de38ceffa5077a [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cfdab52 [Pipeline] echo 01:25:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:21 provisioning config files... 01:25:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp/config13132188422340485758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:22 ---> ****-login.sh 01:25:22 nexus3.edgexfoundry.org:10001 01:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:22 Configure a credential helper to remove this warning. See 01:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:22 01:25:22 Login Succeeded 01:25:22 nexus3.edgexfoundry.org:10002 01:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:22 Configure a credential helper to remove this warning. See 01:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:22 01:25:22 Login Succeeded 01:25:22 nexus3.edgexfoundry.org:10003 01:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:22 Configure a credential helper to remove this warning. See 01:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:22 01:25:22 Login Succeeded 01:25:22 nexus3.edgexfoundry.org:10004 01:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:22 Configure a credential helper to remove this warning. See 01:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:22 01:25:22 Login Succeeded 01:25:22 ****.io 01:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:23 Configure a credential helper to remove this warning. See 01:25:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:23 01:25:23 Login Succeeded 01:25:23 ---> ****-login.sh ends [Pipeline] } 01:25:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:25:23 + git rev-list -1 --merges cfdab52b8556a3954363da60d9de38ceffa5077a~1..cfdab52b8556a3954363da60d9de38ceffa5077a [Pipeline] echo 01:25:23 -----------> git rev-list -1 --merges cfdab52b8556a3954363da60d9de38ceffa5077a~1..cfdab52b8556a3954363da60d9de38ceffa5077a cfdab52b8556a3954363da60d9de38ceffa5077a [false] [Pipeline] sh 01:25:24 + git log --format=format:%s -1 cfdab52b8556a3954363da60d9de38ceffa5077a [Pipeline] echo 01:25:24 ========================================================= 01:25:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:25:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:25:24 + git log --format=format:%s -1 cfdab52b8556a3954363da60d9de38ceffa5077a [Pipeline] echo 01:25:24 [semverPrep] GIT_COMMIT: cfdab52b8556a3954363da60d9de38ceffa5077a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:25:24 [semverPrep] This is not a build commit. [Pipeline] sh 01:25:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:25:25 + grep -v github /etc/ssh/ssh_known_hosts 01:25:25 + [ -e /tmp/ssh_known_hosts ] 01:25:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:25:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:25:25 + sudo tee -a /etc/ssh/ssh_known_hosts 01:25:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:25 01:25:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:26 0.1.4: Pulling from edgex-devops/py-git-semver 01:25:26 b85a868b505f: Pulling fs layer 01:25:26 e2be974225ed: Pulling fs layer 01:25:26 339a4e72a1f5: Pulling fs layer 01:25:26 988bab9f4d93: Pulling fs layer 01:25:26 1469e6f7b9e6: Pulling fs layer 01:25:26 eaf3925da568: Pulling fs layer 01:25:26 bab4dde63d76: Pulling fs layer 01:25:26 bde34c3a00c8: Pulling fs layer 01:25:26 b352a97aabf1: Pulling fs layer 01:25:26 4872d77fe225: Pulling fs layer 01:25:26 5851b861e8e6: Pulling fs layer 01:25:26 988bab9f4d93: Waiting 01:25:26 b352a97aabf1: Waiting 01:25:26 1469e6f7b9e6: Waiting 01:25:26 4872d77fe225: Waiting 01:25:26 bab4dde63d76: Waiting 01:25:26 bde34c3a00c8: Waiting 01:25:26 eaf3925da568: Waiting 01:25:26 e2be974225ed: Download complete 01:25:26 988bab9f4d93: Verifying Checksum 01:25:26 988bab9f4d93: Download complete 01:25:26 339a4e72a1f5: Verifying Checksum 01:25:26 339a4e72a1f5: Download complete 01:25:26 1469e6f7b9e6: Verifying Checksum 01:25:26 1469e6f7b9e6: Download complete 01:25:26 eaf3925da568: Download complete 01:25:26 bde34c3a00c8: Verifying Checksum 01:25:26 bde34c3a00c8: Download complete 01:25:26 b352a97aabf1: Download complete 01:25:26 4872d77fe225: Download complete 01:25:26 5851b861e8e6: Download complete 01:25:26 b85a868b505f: Verifying Checksum 01:25:26 b85a868b505f: Download complete 01:25:26 bab4dde63d76: Verifying Checksum 01:25:26 bab4dde63d76: Download complete 01:25:27 b85a868b505f: Pull complete 01:25:28 e2be974225ed: Pull complete 01:25:28 339a4e72a1f5: Pull complete 01:25:28 988bab9f4d93: Pull complete 01:25:28 1469e6f7b9e6: Pull complete 01:25:28 eaf3925da568: Pull complete 01:25:30 bab4dde63d76: Pull complete 01:25:30 bde34c3a00c8: Pull complete 01:25:30 b352a97aabf1: Pull complete 01:25:30 4872d77fe225: Pull complete 01:25:30 5851b861e8e6: Pull complete 01:25:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:25:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:31 prd-ubuntu20.04-docker-8c-8g-6371 does not seem to be running inside a container 01:25:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-683 -v /w/workspace/gexfoundry_device-mqtt-go_PR-683:/w/workspace/gexfoundry_device-mqtt-go_PR-683:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-683@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 01:25:34 $ docker top b3dc37c681a21953d53713e5c82385b5b019c99233b2c7578babcc7736d57345 -eo pid,comm 01:25:34 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). 01:25:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:25:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:34 [ssh-agent] Looking for ssh-agent implementation... 01:25:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:34 $ docker exec b3dc37c681a21953d53713e5c82385b5b019c99233b2c7578babcc7736d57345 ssh-agent 01:25:34 SSH_AUTH_SOCK=/tmp/ssh-7tw0OjKIYEWv/agent.33 01:25:34 SSH_AGENT_PID=39 01:25:34 Running ssh-add (command line suppressed) 01:25:34 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp/private_key_1131959259529494436.key (/w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp/private_key_1131959259529494436.key) 01:25:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:35 + git tag --points-at HEAD [Pipeline] } 01:25:35 $ docker exec --env ******** --env ******** b3dc37c681a21953d53713e5c82385b5b019c99233b2c7578babcc7736d57345 ssh-agent -k 01:25:35 unset SSH_AUTH_SOCK; 01:25:35 unset SSH_AGENT_PID; 01:25:35 echo Agent pid 39 killed; 01:25:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:25:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:35 [ssh-agent] Looking for ssh-agent implementation... 01:25:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:35 $ docker exec b3dc37c681a21953d53713e5c82385b5b019c99233b2c7578babcc7736d57345 ssh-agent 01:25:35 SSH_AUTH_SOCK=/tmp/ssh-8H912UuX0EGJ/agent.72 01:25:35 SSH_AGENT_PID=78 01:25:35 Running ssh-add (command line suppressed) 01:25:35 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp/private_key_6705254508951111198.key (/w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp/private_key_6705254508951111198.key) 01:25:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:36 + git semver init 01:25:36 2024-07-25 01:25:36,471 [run_init] DEBUG init version:0.0.0 force:False 01:25:36 2024-07-25 01:25:36,472 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-683/.semver 01:25:36 2024-07-25 01:25:36,472 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-683/.semver 01:25:36 2024-07-25 01:25:36,473 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-683/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-683, universal_newlines=False, shell=None, istream=None) 01:25:38 2024-07-25 01:25:38,069 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-683/.git/info/exclude 01:25:38 2024-07-25 01:25:38,069 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-683/.semver/PR-683 with force:False 01:25:38 2024-07-25 01:25:38,070 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-683/.semver/PR-683 01:25:38 2024-07-25 01:25:38,072 [execute] INFO git cat-file --batch-check 01:25:38 2024-07-25 01:25:38,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-683/.semver, universal_newlines=False, shell=None, istream=) 01:25:38 2024-07-25 01:25:38,077 [execute] INFO git cat-file --batch 01:25:38 2024-07-25 01:25:38,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-683/.semver, universal_newlines=False, shell=None, istream=) 01:25:38 2024-07-25 01:25:38,082 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-683/.semver/PR-683 01:25:38 0.0.0 [Pipeline] } 01:25:38 $ docker exec --env ******** --env ******** b3dc37c681a21953d53713e5c82385b5b019c99233b2c7578babcc7736d57345 ssh-agent -k 01:25:38 unset SSH_AUTH_SOCK; 01:25:38 unset SSH_AGENT_PID; 01:25:38 echo Agent pid 78 killed; 01:25:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:25:39 + git semver [Pipeline] } 01:25:39 $ docker stop --time=1 b3dc37c681a21953d53713e5c82385b5b019c99233b2c7578babcc7736d57345 01:25:40 $ docker rm -f --volumes b3dc37c681a21953d53713e5c82385b5b019c99233b2c7578babcc7736d57345 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:25:41 Stashed 1 file(s) [Pipeline] echo 01:25:41 [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 01:25:56 provisioning config files... 01:25:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp/config9416491989955352374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:56 ---> ****-login.sh 01:25:56 nexus3.edgexfoundry.org:10001 01:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:56 Configure a credential helper to remove this warning. See 01:25:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:56 01:25:56 Login Succeeded 01:25:56 nexus3.edgexfoundry.org:10002 01:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:56 Configure a credential helper to remove this warning. See 01:25:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:56 01:25:56 Login Succeeded 01:25:56 nexus3.edgexfoundry.org:10003 01:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:56 Configure a credential helper to remove this warning. See 01:25:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:56 01:25:56 Login Succeeded 01:25:56 nexus3.edgexfoundry.org:10004 01:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:56 Configure a credential helper to remove this warning. See 01:25:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:56 01:25:56 Login Succeeded 01:25:56 ****.io 01:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:25:57 Configure a credential helper to remove this warning. See 01:25:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:25:57 01:25:57 Login Succeeded 01:25:57 ---> ****-login.sh ends [Pipeline] } 01:25:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:25:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:25:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:25:57 ========================================================= 01:25:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:25:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:58 + 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 . 01:25:58 Sending build context to Docker daemon 20.81MB 01:25:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:25:58 Step 2/12 : FROM ${BASE} AS builder 01:25:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:25:58 619be1103602: Pulling fs layer 01:25:58 7862e08f4a3e: Pulling fs layer 01:25:58 5df492c9dc93: Pulling fs layer 01:25:58 7629e6793208: Pulling fs layer 01:25:58 4f4fb700ef54: Pulling fs layer 01:25:58 fb5054dd5b73: Pulling fs layer 01:25:58 eeca6798cff9: Pulling fs layer 01:25:58 aa269ceb94a6: Pulling fs layer 01:25:58 ada007ff1a6a: Pulling fs layer 01:25:58 4f4fb700ef54: Waiting 01:25:58 fb5054dd5b73: Waiting 01:25:58 aa269ceb94a6: Waiting 01:25:58 7629e6793208: Waiting 01:25:58 ada007ff1a6a: Waiting 01:25:58 eeca6798cff9: Waiting 01:25:58 7862e08f4a3e: Download complete 01:25:58 7629e6793208: Verifying Checksum 01:25:58 7629e6793208: Download complete 01:25:58 4f4fb700ef54: Verifying Checksum 01:25:58 4f4fb700ef54: Download complete 01:25:58 fb5054dd5b73: Verifying Checksum 01:25:58 fb5054dd5b73: Download complete 01:25:58 619be1103602: Verifying Checksum 01:25:58 619be1103602: Download complete 01:25:58 eeca6798cff9: Verifying Checksum 01:25:58 eeca6798cff9: Download complete 01:25:58 619be1103602: Pull complete 01:25:58 ada007ff1a6a: Verifying Checksum 01:25:58 ada007ff1a6a: Download complete 01:25:58 7862e08f4a3e: Pull complete 01:25:58 5df492c9dc93: Verifying Checksum 01:25:58 5df492c9dc93: Download complete 01:25:59 aa269ceb94a6: Verifying Checksum 01:25:59 aa269ceb94a6: Download complete 01:26:01 5df492c9dc93: Pull complete 01:26:01 7629e6793208: Pull complete 01:26:01 4f4fb700ef54: Pull complete 01:26:01 fb5054dd5b73: Pull complete 01:26:01 eeca6798cff9: Pull complete 01:26:04 aa269ceb94a6: Pull complete 01:26:04 ada007ff1a6a: Pull complete 01:26:04 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:26:04 ---> f489d0715acc 01:26:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:26:08 ---> Running in 17935177e1a3 01:26:08 Removing intermediate container 17935177e1a3 01:26:08 ---> 21b1863762e9 01:26:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:26:08 ---> Running in c7a294ee46b5 01:26:08 Removing intermediate container c7a294ee46b5 01:26:08 ---> 79eaf471ddcf 01:26:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:26:08 ---> Running in 6f88ecb817ea 01:26:08 Removing intermediate container 6f88ecb817ea 01:26:08 ---> 1e015586536a 01:26:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:26:08 ---> Running in b221a6bd06e0 01:26:08 Removing intermediate container b221a6bd06e0 01:26:08 ---> df8b7056ab52 01:26:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:08 ---> Running in 82a5d9da27f9 01:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:26:09 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:26:09 (2/4) Installing libedit (20221030.3.1-r1) 01:26:09 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:26:09 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:26:09 Executing busybox-1.36.1-r5.trigger 01:26:09 OK: 268 MiB in 56 packages 01:26:10 Removing intermediate container 82a5d9da27f9 01:26:10 ---> 89eb780e867f 01:26:10 Step 8/12 : WORKDIR /device-mqtt-go 01:26:10 ---> Running in e435c69464c3 01:26:10 Removing intermediate container e435c69464c3 01:26:10 ---> 676cd9a1479f 01:26:10 Step 9/12 : COPY go.mod vendor* ./ 01:26:10 ---> 1086162bea9e 01:26:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:10 ---> Running in 216fa0e60d68 01:26:11 Still waiting to schedule task 01:26:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 01:27:06 Removing intermediate container 216fa0e60d68 01:27:06 ---> 071344c7a898 01:27:06 Step 11/12 : COPY . . 01:27:06 ---> e81386af4d59 01:27:06 Step 12/12 : RUN $MAKE 01:27:06 ---> Running in 9f7c4bc71d89 01:27:06 noop 01:27:06 Removing intermediate container 9f7c4bc71d89 01:27:06 ---> c55f8e20f25b 01:27:06 Successfully built c55f8e20f25b 01:27:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:06 + docker inspect -f . ci-base-image-x86_64 01:27:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:07 prd-ubuntu20.04-docker-8c-8g-6371 does not seem to be running inside a container 01:27:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-683 -v /w/workspace/gexfoundry_device-mqtt-go_PR-683:/w/workspace/gexfoundry_device-mqtt-go_PR-683:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-683@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 01:27:07 $ docker top b32db7235fd039592b2ece03733a21e1c25c7a969013a21ec39379986f5e7a74 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:07 + go version 01:27:07 go version go1.21.9 linux/amd64 [Pipeline] } 01:27:07 $ docker stop --time=1 b32db7235fd039592b2ece03733a21e1c25c7a969013a21ec39379986f5e7a74 01:27:09 $ docker rm -f --volumes b32db7235fd039592b2ece03733a21e1c25c7a969013a21ec39379986f5e7a74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:09 + docker inspect -f . ci-base-image-x86_64 01:27:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:10 prd-ubuntu20.04-docker-8c-8g-6371 does not seem to be running inside a container 01:27:10 $ 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-683 -v /w/workspace/gexfoundry_device-mqtt-go_PR-683:/w/workspace/gexfoundry_device-mqtt-go_PR-683:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-683@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 01:27:10 $ docker top 7e815a233a764ca7b0b5365dabf23631ea9dd5e019f493f2f569304a6c5f3a26 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-683 [Pipeline] fileExists [Pipeline] sh 01:27:11 + make test 01:27:11 go test ./... -coverprofile=coverage.out ./... 01:27:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:27:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:27:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:27:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 01:27:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6372 in /w/workspace/gexfoundry_device-mqtt-go_PR-683 [Pipeline] { [Pipeline] ws 01:27:43 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:27:43 go vet ./... 01:27:46 The recommended git tool is: git 01:27:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:47 ./bin/test-attribution-txt.sh 01:27:47 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:27:47 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:27:47 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:27:47 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:27:47 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:27:47 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:27:47 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:27:47 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:27:47 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:27:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:27:47 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:27:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:27:47 $ docker stop --time=1 7e815a233a764ca7b0b5365dabf23631ea9dd5e019f493f2f569304a6c5f3a26 01:27:50 using credential edgex-jenkins-ssh 01:27:50 Cloning the remote Git repository 01:27:50 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:27:50 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:27:51 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:27:51 > git --version # timeout=10 01:27:51 > git --version # 'git version 2.25.1' 01:27:51 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:27:51 $ docker rm -f --volumes 7e815a233a764ca7b0b5365dabf23631ea9dd5e019f493f2f569304a6c5f3a26 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:27:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:53 + ls -al . 01:27:53 total 252 01:27:53 drwxrwxr-x 9 jenkins jenkins 4096 Jul 25 01:27 . 01:27:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 01:25 .. 01:27:53 -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 01:25 .dockerignore 01:27:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 01:27 .git 01:27:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 01:25 .github 01:27:53 -rw-rw-r-- 1 jenkins jenkins 264 Jul 25 01:25 .gitignore 01:27:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 01:25 .golangci.yml 01:27:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 01:25 .semver 01:27:53 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 25 01:25 Attribution.txt 01:27:53 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 25 01:25 CHANGELOG.md 01:27:53 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 25 01:25 Dockerfile 01:27:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 01:25 GOVERNANCE.md 01:27:53 -rw-rw-r-- 1 jenkins jenkins 657 Jul 25 01:25 Jenkinsfile 01:27:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 01:25 LICENSE 01:27:53 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 25 01:25 Makefile 01:27:53 -rw-rw-r-- 1 jenkins jenkins 620 Jul 25 01:25 OWNERS.md 01:27:53 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 25 01:25 README.md 01:27:53 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 01:25 VERSION 01:27:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 01:25 bin 01:27:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 01:25 cmd 01:27:53 -rw-r--r-- 1 jenkins jenkins 18506 Jul 25 01:27 coverage.out 01:27:53 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 25 01:25 go.mod 01:27:53 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 25 01:25 go.sum 01:27:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 01:25 internal 01:27:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 01:25 mock 01:27:53 -rw-rw-r-- 1 jenkins jenkins 227 Jul 25 01:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:53 + 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=cfdab52b8556a3954363da60d9de38ceffa5077a --label arch=amd64 --label version=0.0.0 . 01:27:53 Sending build context to Docker daemon 20.83MB 01:27:53 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:27:53 Step 2/25 : FROM ${BASE} AS builder 01:27:53 ---> c55f8e20f25b 01:27:53 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:27:53 ---> Running in 55a732473109 01:27:54 Removing intermediate container 55a732473109 01:27:54 ---> ad4f6c1b84aa 01:27:54 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:27:54 ---> Running in 4fe8fae3b576 01:27:54 Removing intermediate container 4fe8fae3b576 01:27:54 ---> 1fdd6b4e9cb5 01:27:54 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:27:54 ---> Running in 9b548cb7aed1 01:27:54 Removing intermediate container 9b548cb7aed1 01:27:54 ---> 26174c779863 01:27:54 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:27:54 ---> Running in 65aec169d8c7 01:27:54 Removing intermediate container 65aec169d8c7 01:27:54 ---> aeb41d08e132 01:27:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:54 ---> Running in 57d0ab2f94b7 01:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:27:53 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:27:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:27:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:27:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:27:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/683/head:refs/remotes/origin/PR-683 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:27:55 OK: 268 MiB in 56 packages 01:27:55 Merging remotes/origin/main commit 451ce87ac5af399cf23a8dbe18d868ad027d5dd8 into PR head commit cfdab52b8556a3954363da60d9de38ceffa5077a 01:27:55 Removing intermediate container 57d0ab2f94b7 01:27:55 ---> c468c2456b79 01:27:55 Step 8/25 : WORKDIR /device-mqtt-go 01:27:55 ---> Running in 960521ca300e 01:27:55 Removing intermediate container 960521ca300e 01:27:55 ---> 1099f4c52ea6 01:27:55 Step 9/25 : COPY go.mod vendor* ./ 01:27:55 Merge succeeded, producing cfdab52b8556a3954363da60d9de38ceffa5077a 01:27:55 Checking out Revision cfdab52b8556a3954363da60d9de38ceffa5077a (PR-683) 01:27:55 ---> 814e86fb8b5d 01:27:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:55 ---> Running in e728615314e8 01:27:55 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:27:56 > git --version # timeout=10 01:27:56 > git --version # 'git version 2.25.1' 01:27:56 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 01:27:56 Removing intermediate container e728615314e8 01:27:56 ---> e1fc99a5f11b 01:27:56 Step 11/25 : COPY . . 01:27:55 > git config core.sparsecheckout # timeout=10 01:27:55 > git checkout -f cfdab52b8556a3954363da60d9de38ceffa5077a # timeout=10 01:27:55 > git remote # timeout=10 01:27:55 > git config --get remote.origin.url # timeout=10 01:27:55 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:55 > git merge 451ce87ac5af399cf23a8dbe18d868ad027d5dd8 # timeout=10 01:27:55 > git rev-parse HEAD^{commit} # timeout=10 01:27:55 > git config core.sparsecheckout # timeout=10 01:27:55 > git checkout -f cfdab52b8556a3954363da60d9de38ceffa5077a # timeout=10 01:27:56 ---> 1bc70a7234bb 01:27:56 Step 12/25 : RUN $MAKE 01:27:57 ---> Running in 29d7ad49aaab 01:27:57 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.26" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:28:00 % Total % Received % Xferd Average Speed Time Time Time Current 01:28:00 Dload Upload Total Spent Left Speed 01:28:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 01:28:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:28:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:28:01 + sudo tee /etc/docker/daemon.new 01:28:01 { 01:28:01 "registry-mirrors": [ 01:28:01 "https://nexus3.edgexfoundry.org:10001" 01:28:01 ], 01:28:01 "bip": "10.250.0.254/24", 01:28:01 "hosts": [ 01:28:01 "tcp://0.0.0.0:5555", 01:28:01 "unix:///var/run/docker.sock" 01:28:01 ], 01:28:01 "mtu": 1458, 01:28:01 "selinux-enabled": true, 01:28:01 "seccomp-profile": "/etc/docker/seccomp.json" 01:28:01 } [Pipeline] sh 01:28:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:28:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:20 provisioning config files... 01:28:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5123601994552461664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:21 ---> ****-login.sh 01:28:21 nexus3.edgexfoundry.org:10001 01:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:21 Configure a credential helper to remove this warning. See 01:28:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:21 01:28:21 Login Succeeded 01:28:21 nexus3.edgexfoundry.org:10002 01:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:21 Configure a credential helper to remove this warning. See 01:28:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:21 01:28:22 Login Succeeded 01:28:22 nexus3.edgexfoundry.org:10003 01:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:22 Configure a credential helper to remove this warning. See 01:28:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:22 01:28:22 Login Succeeded 01:28:22 nexus3.edgexfoundry.org:10004 01:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:22 Configure a credential helper to remove this warning. See 01:28:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:22 01:28:22 Login Succeeded 01:28:22 ****.io 01:28:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:23 Configure a credential helper to remove this warning. See 01:28:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:23 01:28:23 Login Succeeded 01:28:23 ---> ****-login.sh ends [Pipeline] } 01:28:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:28:23 ========================================================= 01:28:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:28:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:24 + 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 . 01:28:24 Sending build context to Docker daemon 10.52MB 01:28:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:28:24 Step 2/12 : FROM ${BASE} AS builder 01:28:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:28:24 c6b39de5b339: Pulling fs layer 01:28:24 a69c41024577: Pulling fs layer 01:28:24 d6de4b400683: Pulling fs layer 01:28:24 35cb2a7552d0: Pulling fs layer 01:28:24 4f4fb700ef54: Pulling fs layer 01:28:24 464afbd9ba4c: Pulling fs layer 01:28:24 00f215d4a9da: Pulling fs layer 01:28:24 d496ad576159: Pulling fs layer 01:28:24 35cb2a7552d0: Waiting 01:28:24 4f4fb700ef54: Waiting 01:28:24 464afbd9ba4c: Waiting 01:28:24 00f215d4a9da: Waiting 01:28:24 d496ad576159: Waiting 01:28:24 a69c41024577: Verifying Checksum 01:28:24 a69c41024577: Download complete 01:28:24 35cb2a7552d0: Download complete 01:28:24 4f4fb700ef54: Verifying Checksum 01:28:24 4f4fb700ef54: Download complete 01:28:25 464afbd9ba4c: Verifying Checksum 01:28:25 464afbd9ba4c: Download complete 01:28:25 c6b39de5b339: Verifying Checksum 01:28:25 c6b39de5b339: Download complete 01:28:25 d496ad576159: Verifying Checksum 01:28:25 d496ad576159: Download complete 01:28:26 c6b39de5b339: Pull complete 01:28:26 a69c41024577: Pull complete 01:28:26 d6de4b400683: Verifying Checksum 01:28:26 d6de4b400683: Download complete 01:28:27 00f215d4a9da: Verifying Checksum 01:28:27 00f215d4a9da: Download complete 01:28:36 Removing intermediate container 29d7ad49aaab 01:28:36 ---> 323fc0fae832 01:28:36 Step 13/25 : FROM alpine:3.18 01:28:36 3.18: Pulling from library/alpine 01:28:36 930bdd4d222e: Pulling fs layer 01:28:36 930bdd4d222e: Verifying Checksum 01:28:36 930bdd4d222e: Download complete 01:28:36 930bdd4d222e: Pull complete 01:28:36 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:28:36 Status: Downloaded newer image for alpine:3.18 01:28:36 ---> 18f865063206 01:28:36 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:28:36 ---> Running in 4d6304d9e776 01:28:36 Removing intermediate container 4d6304d9e776 01:28:36 ---> 914848ad8c6e 01:28:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:28:36 ---> Running in a47bf251649b 01:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:28:36 (1/1) Installing dumb-init (1.2.5-r2) 01:28:36 Executing busybox-1.36.1-r7.trigger 01:28:36 OK: 7 MiB in 16 packages 01:28:36 Removing intermediate container a47bf251649b 01:28:36 ---> 63fce448b28d 01:28:36 Step 16/25 : RUN apk --no-cache upgrade 01:28:36 ---> Running in e39ee3ab423a 01:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:28:36 OK: 7 MiB in 16 packages 01:28:36 Removing intermediate container e39ee3ab423a 01:28:36 ---> 6bceac9ff07e 01:28:36 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:28:36 ---> 90716790fdc6 01:28:36 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:28:36 ---> 705ce4ba6afb 01:28:36 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:28:36 ---> 2747351d2e9b 01:28:36 Step 20/25 : EXPOSE 59982 01:28:36 ---> Running in 03e0267aeb22 01:28:36 Removing intermediate container 03e0267aeb22 01:28:36 ---> 9683367b8020 01:28:36 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:28:36 ---> Running in f7468c6a217c 01:28:36 Removing intermediate container f7468c6a217c 01:28:36 ---> ce5f483c45f4 01:28:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:28:36 ---> Running in d156212418a1 01:28:36 Removing intermediate container d156212418a1 01:28:36 ---> 1cc3cafdcc1e 01:28:36 Step 23/25 : LABEL arch=amd64 01:28:36 ---> Running in 888bd64ad613 01:28:36 Removing intermediate container 888bd64ad613 01:28:36 ---> a9c8c8ec462f 01:28:36 Step 24/25 : LABEL git_sha=cfdab52b8556a3954363da60d9de38ceffa5077a 01:28:36 ---> Running in f99d46e2083a 01:28:36 Removing intermediate container f99d46e2083a 01:28:36 ---> 9dd11ba96608 01:28:36 Step 25/25 : LABEL version=0.0.0 01:28:36 ---> Running in 61a675030949 01:28:36 Removing intermediate container 61a675030949 01:28:36 ---> 09c407f18ec5 01:28:36 [Warning] One or more build-args [ARCH] were not consumed 01:28:36 Successfully built 09c407f18ec5 01:28:36 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:37 01:28:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:37 latest: Pulling from edgex-lftools-log-publisher 01:28:37 5eb5b503b376: Pulling fs layer 01:28:37 5c69ac0246d0: Pulling fs layer 01:28:37 ec43610c2a17: Pulling fs layer 01:28:37 3a2ae6a8a46f: Pulling fs layer 01:28:37 33b1e0a273af: Pulling fs layer 01:28:37 5d3b04190fa2: Pulling fs layer 01:28:37 2f39f015ded8: Pulling fs layer 01:28:37 5d3b04190fa2: Waiting 01:28:37 33b1e0a273af: Waiting 01:28:37 2f39f015ded8: Waiting 01:28:37 3a2ae6a8a46f: Waiting 01:28:37 5c69ac0246d0: Download complete 01:28:37 3a2ae6a8a46f: Verifying Checksum 01:28:37 3a2ae6a8a46f: Download complete 01:28:37 33b1e0a273af: Verifying Checksum 01:28:37 33b1e0a273af: Download complete 01:28:37 5d3b04190fa2: Verifying Checksum 01:28:37 5d3b04190fa2: Download complete 01:28:37 ec43610c2a17: Verifying Checksum 01:28:37 ec43610c2a17: Download complete 01:28:37 5eb5b503b376: Verifying Checksum 01:28:37 5eb5b503b376: Download complete 01:28:38 2f39f015ded8: Download complete 01:28:38 5eb5b503b376: Pull complete 01:28:39 5c69ac0246d0: Pull complete 01:28:39 ec43610c2a17: Pull complete 01:28:39 3a2ae6a8a46f: Pull complete 01:28:39 33b1e0a273af: Pull complete 01:28:40 5d3b04190fa2: Pull complete 01:28:40 d6de4b400683: Pull complete 01:28:40 35cb2a7552d0: Pull complete 01:28:40 4f4fb700ef54: Pull complete 01:28:40 464afbd9ba4c: Pull complete 01:28:44 2f39f015ded8: Pull complete 01:28:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:28:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:44 prd-ubuntu20.04-docker-8c-8g-6371 does not seem to be running inside a container 01:28: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/gexfoundry_device-mqtt-go_PR-683 -v /w/workspace/gexfoundry_device-mqtt-go_PR-683:/w/workspace/gexfoundry_device-mqtt-go_PR-683:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-683@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 01:28:49 $ docker top 7f225ec12daffa9babe2861f1df9dbe9c3597a2c6e30d6a9232a9402ae8eb3f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:49 ---> job-cost.sh 01:28:49 lf-activate-venv: SKIPPING 01:28:49 INFO: No Stack... 01:28:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:28:50 INFO: Archiving Costs 01:28:50 00f215d4a9da: Pull complete [Pipeline] sh 01:28:50 d496ad576159: Pull complete 01:28:50 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:28:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:28:50 ---> f246e2811388 01:28:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:28:50 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-683/archives/cost.csv 01:28:50 + cut -d, -f6 [Pipeline] lock 01:28:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-683-1-stack-cost] 01:28:51 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-683-1-stack-cost] did not exist. Created. 01:28:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-683-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:28:51 + echo total: 0.2199999988079071 [Pipeline] stash 01:28:51 Stashed 1 file(s) [Pipeline] } 01:28:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-683-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:28:51 $ docker stop --time=1 7f225ec12daffa9babe2861f1df9dbe9c3597a2c6e30d6a9232a9402ae8eb3f4 01:28:52 ---> Running in 998fe592a23a 01:28:52 $ docker rm -f --volumes 7f225ec12daffa9babe2861f1df9dbe9c3597a2c6e30d6a9232a9402ae8eb3f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 01:28:53 Removing intermediate container 998fe592a23a 01:28:53 ---> 5f3bbbc2d4eb 01:28:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:28:53 ---> Running in c9dda1b19a66 [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:28:53 Removing intermediate container c9dda1b19a66 01:28:53 ---> 2270295690d3 01:28:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:28:53 ---> Running in a392b4ca3260 01:28:53 Removing intermediate container a392b4ca3260 01:28:53 ---> 51ba3cb137a0 01:28:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:28:53 ---> Running in 58b10205bb18 01:28:54 Removing intermediate container 58b10205bb18 01:28:54 ---> f2f9fd79a45e 01:28:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:54 ---> Running in 3500779b64d1 01:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:28:56 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:28:56 (2/4) Installing libedit (20221030.3.1-r1) 01:28:56 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:28:56 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:28:56 Executing busybox-1.36.1-r5.trigger 01:28:56 OK: 271 MiB in 56 packages 01:28:58 Removing intermediate container 3500779b64d1 01:28:58 ---> 26a8fb536dbe 01:28:58 Step 8/12 : WORKDIR /device-mqtt-go 01:28:58 ---> Running in 1bfa044f2506 01:28:58 Removing intermediate container 1bfa044f2506 01:28:58 ---> fed51a9fd6ce 01:28:58 Step 9/12 : COPY go.mod vendor* ./ 01:28:59 ---> 3f246476efa4 01:28:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:59 ---> Running in 651de8faba93 01:30:50 Removing intermediate container 651de8faba93 01:30:50 ---> 8a7f8c965571 01:30:50 Step 11/12 : COPY . . 01:30:50 ---> 464fbdfa98f1 01:30:50 Step 12/12 : RUN $MAKE 01:30:50 ---> Running in 2b0c686e57a4 01:30:50 noop 01:30:50 Removing intermediate container 2b0c686e57a4 01:30:50 ---> 4427de131c1e 01:30:50 Successfully built 4427de131c1e 01:30:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:51 + docker inspect -f . ci-base-image-arm64 01:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:51 prd-ubuntu20.04-docker-arm64-4c-16g-6372 does not seem to be running inside a container 01:30:51 $ 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 01:30:52 $ docker top 208c98ba5b1bb09d3928acca2ca382df4197b9c525d073a0ab0f2ef19de5ce92 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:53 + go version 01:30:53 go version go1.21.9 linux/arm64 [Pipeline] } 01:30:53 $ docker stop --time=1 208c98ba5b1bb09d3928acca2ca382df4197b9c525d073a0ab0f2ef19de5ce92 01:30:55 $ docker rm -f --volumes 208c98ba5b1bb09d3928acca2ca382df4197b9c525d073a0ab0f2ef19de5ce92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:56 + docker inspect -f . ci-base-image-arm64 01:30:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:56 prd-ubuntu20.04-docker-arm64-4c-16g-6372 does not seem to be running inside a container 01:30:56 $ 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 01:30:57 $ docker top bab44c0c547db7db4a1c0a9be4536862bf8687cf4645a4e7645500c2b6f19eb5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:58 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:30:59 + make test 01:30:59 go test ./... -coverprofile=coverage.out ./... 01:31:05 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:34:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:34:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:34:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.047s coverage: 22.8% of statements 01:34:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:34:57 go vet ./... 01:35:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:35:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:35:36 ./bin/test-attribution-txt.sh 01:35:36 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:35:36 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:35:37 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:35:37 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:35:37 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:35:37 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:35:37 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:35:37 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:35:37 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:35:37 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:35:37 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:35:37 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:35:37 $ docker stop --time=1 bab44c0c547db7db4a1c0a9be4536862bf8687cf4645a4e7645500c2b6f19eb5 01:35:39 $ docker rm -f --volumes bab44c0c547db7db4a1c0a9be4536862bf8687cf4645a4e7645500c2b6f19eb5 [Pipeline] // withDockerContainer [Pipeline] sh 01:35:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:35:41 Warning: overwriting stash ‘coverage-report’ 01:35:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:35:42 + ls -al . 01:35:42 total 248 01:35:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 01:31 . 01:35:42 drwxrwxr-x 4 jenkins jenkins 4096 Jul 25 01:27 .. 01:35:42 -rw-rw-r-- 1 jenkins jenkins 140 Jul 25 01:27 .dockerignore 01:35:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 25 01:27 .git 01:35:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 01:27 .github 01:35:42 -rw-rw-r-- 1 jenkins jenkins 264 Jul 25 01:27 .gitignore 01:35:42 -rw-rw-r-- 1 jenkins jenkins 41 Jul 25 01:27 .golangci.yml 01:35:42 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 25 01:27 Attribution.txt 01:35:42 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 25 01:27 CHANGELOG.md 01:35:42 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 25 01:27 Dockerfile 01:35:42 -rw-rw-r-- 1 jenkins jenkins 677 Jul 25 01:27 GOVERNANCE.md 01:35:42 -rw-rw-r-- 1 jenkins jenkins 657 Jul 25 01:27 Jenkinsfile 01:35:42 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 25 01:27 LICENSE 01:35:42 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 25 01:27 Makefile 01:35:42 -rw-rw-r-- 1 jenkins jenkins 620 Jul 25 01:27 OWNERS.md 01:35:42 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 25 01:27 README.md 01:35:42 -rw-rw-r-- 1 jenkins jenkins 5 Jul 25 01:25 VERSION 01:35:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 01:27 bin 01:35:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 01:27 cmd 01:35:42 -rw-r--r-- 1 jenkins jenkins 18506 Jul 25 01:34 coverage.out 01:35:42 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 25 01:27 go.mod 01:35:42 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 25 01:27 go.sum 01:35:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 25 01:27 internal 01:35:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 25 01:27 mock 01:35:42 -rw-rw-r-- 1 jenkins jenkins 227 Jul 25 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:43 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cfdab52b8556a3954363da60d9de38ceffa5077a --label arch=arm64 --label version=0.0.0 . 01:35:43 Sending build context to Docker daemon 10.53MB 01:35:43 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:35:43 Step 2/25 : FROM ${BASE} AS builder 01:35:43 ---> 4427de131c1e 01:35:43 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:35:43 ---> Running in 7249e88e2ecc 01:35:43 Removing intermediate container 7249e88e2ecc 01:35:43 ---> b6dae8677ff8 01:35:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:35:44 ---> Running in 37f862e7fcd1 01:35:44 Removing intermediate container 37f862e7fcd1 01:35:44 ---> 422553eddecb 01:35:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:35:44 ---> Running in be748c030515 01:35:44 Removing intermediate container be748c030515 01:35:44 ---> 71fb7f4688a2 01:35:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:35:44 ---> Running in 287bc3bae3a1 01:35:44 Removing intermediate container 287bc3bae3a1 01:35:44 ---> 37ca6e410edc 01:35:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:45 ---> Running in d7fb41ce6b2f 01:35:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:35:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:35:47 OK: 271 MiB in 56 packages 01:35:48 Removing intermediate container d7fb41ce6b2f 01:35:48 ---> aa48a79e1283 01:35:48 Step 8/25 : WORKDIR /device-mqtt-go 01:35:48 ---> Running in 8aac67fd1336 01:35:48 Removing intermediate container 8aac67fd1336 01:35:48 ---> b1b83e205d85 01:35:48 Step 9/25 : COPY go.mod vendor* ./ 01:35:49 ---> e7b791a04f75 01:35:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:49 ---> Running in a09a16542440 01:35:51 Removing intermediate container a09a16542440 01:35:51 ---> 83e8fb9124c0 01:35:51 Step 11/25 : COPY . . 01:35:52 ---> aa21dc79978c 01:35:52 Step 12/25 : RUN $MAKE 01:35:52 ---> Running in 6a13be0354b7 01:35:53 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.26" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:39:30 Removing intermediate container 6a13be0354b7 01:39:30 ---> 76b78190cf08 01:39:30 Step 13/25 : FROM alpine:3.18 01:39:30 3.18: Pulling from library/alpine 01:39:30 4983c3fe2029: Pulling fs layer 01:39:30 4983c3fe2029: Verifying Checksum 01:39:30 4983c3fe2029: Download complete 01:39:30 4983c3fe2029: Pull complete 01:39:30 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:39:30 Status: Downloaded newer image for alpine:3.18 01:39:30 ---> a0237000ae83 01:39:30 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:39:30 ---> Running in 8915ae9bad6f 01:39:30 Removing intermediate container 8915ae9bad6f 01:39:30 ---> fce7857a7346 01:39:30 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:39:30 ---> Running in 5d8b56d52f9a 01:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:39:30 (1/1) Installing dumb-init (1.2.5-r2) 01:39:30 Executing busybox-1.36.1-r7.trigger 01:39:30 OK: 8 MiB in 16 packages 01:39:30 Removing intermediate container 5d8b56d52f9a 01:39:30 ---> 400c51a12a31 01:39:30 Step 16/25 : RUN apk --no-cache upgrade 01:39:30 ---> Running in 506dc19dd605 01:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:39:30 OK: 8 MiB in 16 packages 01:39:30 Removing intermediate container 506dc19dd605 01:39:30 ---> 15ab265257f7 01:39:30 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:39:30 ---> b7f250a83701 01:39:30 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:39:30 ---> 6a6d6ccf5355 01:39:30 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:39:30 ---> 129bc07108e1 01:39:30 Step 20/25 : EXPOSE 59982 01:39:30 ---> Running in afab2843681d 01:39:30 Removing intermediate container afab2843681d 01:39:30 ---> 97105347aa3a 01:39:30 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:39:30 ---> Running in 8418e19963c7 01:39:30 Removing intermediate container 8418e19963c7 01:39:30 ---> 7989fcad5f2e 01:39:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:39:30 ---> Running in c560f99f2b4b 01:39:30 Removing intermediate container c560f99f2b4b 01:39:30 ---> 91f1debc0c95 01:39:30 Step 23/25 : LABEL arch=arm64 01:39:30 ---> Running in c47e0c847798 01:39:30 Removing intermediate container c47e0c847798 01:39:30 ---> 8a4e555a0b24 01:39:30 Step 24/25 : LABEL git_sha=cfdab52b8556a3954363da60d9de38ceffa5077a 01:39:30 ---> Running in 6c4c6c413f90 01:39:30 Removing intermediate container 6c4c6c413f90 01:39:30 ---> b7e7b874aa1a 01:39:30 Step 25/25 : LABEL version=0.0.0 01:39:30 ---> Running in 18136a6d39a0 01:39:30 Removing intermediate container 18136a6d39a0 01:39:30 ---> 32bda4df9ed8 01:39:30 [Warning] One or more build-args [ARCH] were not consumed 01:39:30 Successfully built 32bda4df9ed8 01:39:30 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 01:39:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:31 01:39:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:31 arm64: Pulling from edgex-lftools-log-publisher 01:39:31 8998bd30e6a1: Pulling fs layer 01:39:31 04944245beec: Pulling fs layer 01:39:31 699f458cf7ca: Pulling fs layer 01:39:31 765212b225bb: Pulling fs layer 01:39:31 f23df028b6ca: Pulling fs layer 01:39:31 d65c8cfc05b1: Pulling fs layer 01:39:31 2437ff75d9bd: Pulling fs layer 01:39:31 765212b225bb: Waiting 01:39:31 d65c8cfc05b1: Waiting 01:39:31 f23df028b6ca: Waiting 01:39:31 2437ff75d9bd: Waiting 01:39:32 04944245beec: Verifying Checksum 01:39:32 04944245beec: Download complete 01:39:32 765212b225bb: Verifying Checksum 01:39:32 765212b225bb: Download complete 01:39:32 f23df028b6ca: Verifying Checksum 01:39:32 f23df028b6ca: Download complete 01:39:32 d65c8cfc05b1: Verifying Checksum 01:39:32 d65c8cfc05b1: Download complete 01:39:32 699f458cf7ca: Verifying Checksum 01:39:32 699f458cf7ca: Download complete 01:39:32 8998bd30e6a1: Verifying Checksum 01:39:32 8998bd30e6a1: Download complete 01:39:35 2437ff75d9bd: Verifying Checksum 01:39:35 2437ff75d9bd: Download complete 01:39:37 8998bd30e6a1: Pull complete 01:39:37 04944245beec: Pull complete 01:39:39 699f458cf7ca: Pull complete 01:39:39 765212b225bb: Pull complete 01:39:40 f23df028b6ca: Pull complete 01:39:40 d65c8cfc05b1: Pull complete 01:39:58 2437ff75d9bd: Pull complete 01:39:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:39:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:59 prd-ubuntu20.04-docker-arm64-4c-16g-6372 does not seem to be running inside a container 01:39:59 $ 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 01:40:01 $ docker top 9ed36a226f378cb43bb56c3d1adabf414ef1e5d590dfc784b842e47bc022dae3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:02 ---> job-cost.sh 01:40:02 lf-activate-venv: SKIPPING 01:40:02 INFO: No Stack... 01:40:03 INFO: Retrieving Pricing Info for: v3-standard-4 01:40:04 INFO: Archiving Costs [Pipeline] sh 01:40:05 + cut -d, -f6 01:40:05 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 01:40:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-683-1-stack-cost] 01:40:05 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-683-1-stack-cost] did not exist. Created. 01:40:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-683-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:40:05 /w/workspace/device-mqtt-go/1@tmp/durable-1d9c2e34/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:40:06 + echo total: 0.10999999940395355 [Pipeline] stash 01:40:06 Warning: overwriting stash ‘stack-cost’ 01:40:06 Stashed 1 file(s) [Pipeline] } 01:40:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-683-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:40:06 $ docker stop --time=1 9ed36a226f378cb43bb56c3d1adabf414ef1e5d590dfc784b842e47bc022dae3 01:40:08 $ docker rm -f --volumes 9ed36a226f378cb43bb56c3d1adabf414ef1e5d590dfc784b842e47bc022dae3 [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 01:40:09 provisioning config files... 01:40:09 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp/config2785322152295576383tmp [Pipeline] { [Pipeline] sh 01:40:09 + set +x 01:40:09 + curl -s https://codecov.io/bash 01:40:09 + bash -s -- 01:40:10 01:40:10 _____ _ 01:40:10 / ____| | | 01:40:10 | | ___ __| | ___ ___ _____ __ 01:40:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:40:10 | |___| (_) | (_| | __/ (_| (_) \ V / 01:40:10 \_____\___/ \__,_|\___|\___\___/ \_/ 01:40:10 Bash-1.0.6 01:40:10 01:40:10 01:40:10 ==> git version 2.25.1 found 01:40:10 ==> 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 01:40:10 Release-Date: 2020-01-08 01:40:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:40:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:40:10 ==> Jenkins CI detected. 01:40:10 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-683 01:40:10 project root: . 01:40:10 --> token set from env 01:40:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:40:10 ==> Running gcov in . (disable via -X gcov) 01:40:10 ==> Python coveragepy not found 01:40:10 ==> Searching for coverage reports in: 01:40:10 + . 01:40:10 -> Found 1 reports 01:40:10 ==> Detecting git/mercurial file structure 01:40:10 ==> Reading reports 01:40:10 + ./coverage.out bytes=18506 01:40:10 ==> Appending adjustments 01:40:10 https://docs.codecov.io/docs/fixing-reports 01:40:10 + Found adjustments 01:40:10 ==> Gzipping contents 01:40:10 4.0K /tmp/codecov.FPSVLI.gz 01:40:10 ==> Uploading reports 01:40:10 url: https://codecov.io 01:40:10 query: branch=PR-683&commit=cfdab52b8556a3954363da60d9de38ceffa5077a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-683%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=683&job=&cmd_args= 01:40:10 -> Pinging Codecov 01:40:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-683&commit=cfdab52b8556a3954363da60d9de38ceffa5077a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-683%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=683&job=&cmd_args= 01:40:10 -> Uploading to 01:40:10 https://storage.googleapis.com/codecov/v4/raw/2024-07-25/7D719EC7BBE17E464838252E33014C33/cfdab52b8556a3954363da60d9de38ceffa5077a/c957aa8a-dad5-4a23-a182-c88ae926308c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T014010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ebab1d2ed3d79e854aa4c55863b56148a5cb7cdbc9c840784323f2421e820f19 01:40:10 % Total % Received % Xferd Average Speed Time Time Time Current 01:40:10 Dload Upload Total Spent Left Speed 01:40:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11910 --:--:-- --:--:-- --:--:-- 11910 01:40:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/cfdab52b8556a3954363da60d9de38ceffa5077a [Pipeline] } 01:40:10 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 01:40:13 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-683/archives ] 01:40:13 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-683/archives 01:40:13 total 16 01:40:13 drwxr-xr-x 3 root root 4096 Jul 25 01:28 . 01:40:13 drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 01:28 .. 01:40:13 drwxr-xr-x 2 root root 4096 Jul 25 01:28 cost 01:40:13 -rw-r--r-- 1 root root 86 Jul 25 01:28 cost.csv 01:40:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-683/archives 01:40:13 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-683/archives 01:40:13 total 16 01:40:13 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 01:28 . 01:40:13 drwxrwxr-x 10 jenkins jenkins 4096 Jul 25 01:28 .. 01:40:13 drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 01:28 cost 01:40:13 -rw-r--r-- 1 jenkins jenkins 86 Jul 25 01:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:40:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:40:15 ---> package-listing.sh 01:40:15 ++ facter osfamily 01:40:15 ++ tr '[:upper:]' '[:lower:]' 01:40:15 + OS_FAMILY=debian 01:40:15 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-683 01:40:15 + START_PACKAGES=/tmp/packages_start.txt 01:40:15 + END_PACKAGES=/tmp/packages_end.txt 01:40:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:40:15 + PACKAGES=/tmp/packages_start.txt 01:40:15 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-683 ']' 01:40:15 + PACKAGES=/tmp/packages_end.txt 01:40:15 + case "${OS_FAMILY}" in 01:40:15 + dpkg -l 01:40:15 + grep '^ii' 01:40:15 + '[' -f /tmp/packages_start.txt ']' 01:40:15 + '[' -f /tmp/packages_end.txt ']' 01:40:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:40:15 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-683 ']' 01:40:15 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-683/archives/ 01:40:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-683/archives/ [Pipeline] echo 01:40:16 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-683/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:40:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:17 prd-ubuntu20.04-docker-8c-8g-6371 does not seem to be running inside a container 01:40:17 $ 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-683/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-683 -v /w/workspace/gexfoundry_device-mqtt-go_PR-683:/w/workspace/gexfoundry_device-mqtt-go_PR-683:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-683@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 01:40:17 $ docker top 4133aad275cf1b763e8496e01a57faf0c919c2c1ba9136b0879e2bcc028a13eb -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:17 + touch /tmp/pre-build-complete [Pipeline] sh 01:40:18 + mkdir -p /var/log/sysstat [Pipeline] sh 01:40:18 + ls /var/log/sa-host 01:40:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:18 provisioning config files... 01:40:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-683@tmp/config5489649438246060963tmp [Pipeline] { [Pipeline] echo 01:40:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:40:19 ---> create-netrc.sh [Pipeline] } 01:40:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:40:19 ---> python-tools-install.sh [Pipeline] echo 01:40:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:40:20 ---> sudo-logs.sh 01:40:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:40:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:40:20 ---> job-cost.sh 01:40:20 lf-activate-venv: SKIPPING 01:40:20 DEBUG: total: 0.2199999988079071 01:40:20 INFO: Retrieving Stack Cost... 01:40:21 INFO: Retrieving Pricing Info for: v3-standard-8 01:40:21 INFO: Archiving Costs [Pipeline] echo 01:40:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:40:22 ---> logs-deploy.sh 01:40:22 lf-activate-venv: SKIPPING 01:40:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-683/1 01:40:22 INFO: archiving workspace using pattern(s): 01:40:23 Archives upload complete. 01:40:23 INFO: archiving logs to Nexus 01:40:23 ---> uname -a: 01:40:23 Linux prd-ubuntu20-04-docker-8c-8g-6371 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:40:23 01:40:23 01:40:23 ---> lscpu: 01:40:23 Architecture: x86_64 01:40:23 CPU op-mode(s): 32-bit, 64-bit 01:40:23 Byte Order: Little Endian 01:40:23 Address sizes: 40 bits physical, 48 bits virtual 01:40:23 CPU(s): 8 01:40:23 On-line CPU(s) list: 0-7 01:40:23 Thread(s) per core: 1 01:40:23 Core(s) per socket: 1 01:40:23 Socket(s): 8 01:40:23 NUMA node(s): 1 01:40:23 Vendor ID: AuthenticAMD 01:40:23 CPU family: 23 01:40:23 Model: 49 01:40:23 Model name: AMD EPYC-Rome Processor 01:40:23 Stepping: 0 01:40:23 CPU MHz: 2800.000 01:40:23 BogoMIPS: 5600.00 01:40:23 Virtualization: AMD-V 01:40:23 Hypervisor vendor: KVM 01:40:23 Virtualization type: full 01:40:23 L1d cache: 256 KiB 01:40:23 L1i cache: 256 KiB 01:40:23 L2 cache: 4 MiB 01:40:23 L3 cache: 128 MiB 01:40:23 NUMA node0 CPU(s): 0-7 01:40:23 Vulnerability Itlb multihit: Not affected 01:40:23 Vulnerability L1tf: Not affected 01:40:23 Vulnerability Mds: Not affected 01:40:23 Vulnerability Meltdown: Not affected 01:40:23 Vulnerability Mmio stale data: Not affected 01:40:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:40:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:40:23 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:40:23 Vulnerability Srbds: Not affected 01:40:23 Vulnerability Tsx async abort: Not affected 01:40:23 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 01:40:23 01:40:23 01:40:23 ---> nproc: 01:40:23 8 01:40:23 01:40:23 01:40:23 ---> df -h: 01:40:23 Filesystem Size Used Avail Use% Mounted on 01:40:23 overlay 155G 12G 143G 8% / 01:40:23 tmpfs 64M 0 64M 0% /dev 01:40:23 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:40:23 shm 64M 0 64M 0% /dev/shm 01:40:23 /dev/vda1 155G 12G 143G 8% /facter-os 01:40:23 01:40:23