Pull request #682 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3c0c1f44ccde187048325c4457833014a4ed8d64+3641da765e3ecf514711d982b07869362341dd3b (c9ab76a5d1954746bb1ee6ef5437189bf75f98bb) 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-ssh7292305085896187623.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-ssh9905312538920802168.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-682/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-682/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2899963072806881262.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-682/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16720518267164267182.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-ssh13142026742500260783.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-682/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-682/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5109094937226189191.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6081 in /w/workspace/gexfoundry_device-mqtt-go_PR-682 [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-682 # 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 3641da765e3ecf514711d982b07869362341dd3b into PR head commit 3c0c1f44ccde187048325c4457833014a4ed8d64 Merge succeeded, producing 3c0c1f44ccde187048325c4457833014a4ed8d64 Checking out Revision 3c0c1f44ccde187048325c4457833014a4ed8d64 (PR-682) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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/682/head:refs/remotes/origin/PR-682 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c0c1f44ccde187048325c4457833014a4ed8d64 # 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 3641da765e3ecf514711d982b07869362341dd3b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c0c1f44ccde187048325c4457833014a4ed8d64 # timeout=10 > 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 [2024-07-22T01:36:05.162Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-22T01:36:05.389Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-22T01:36:05.523Z] ========================================================= [2024-07-22T01:36:05.523Z] EdgeX Global Pipelines Version Info [2024-07-22T01:36:05.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-22T01:36:06.342Z] ------------------- [2024-07-22T01:36:06.342Z] stable info: [2024-07-22T01:36:06.342Z] ------------------- [2024-07-22T01:36:06.342Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-22T01:36:06.342Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-22T01:36:06.342Z] Message: update stable to v1.0.260 [2024-07-22T01:36:06.917Z] ------------------- [2024-07-22T01:36:06.917Z] experimental info: [2024-07-22T01:36:06.917Z] ------------------- [2024-07-22T01:36:06.917Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-22T01:36:06.917Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-22T01:36:06.917Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-22T01:36:07.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-07-22T01:36:07.217Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-07-22T01:36:07.278Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-22T01:36:07.345Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-22T01:36:07.406Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-22T01:36:07.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-22T01:36:07.533Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-22T01:36:07.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-22T01:36:07.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-22T01:36:07.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-22T01:36:07.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-22T01:36:07.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-07-22T01:36:07.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-22T01:36:07.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-22T01:36:08.044Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-22T01:36:08.108Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-22T01:36:08.179Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-22T01:36:08.243Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-22T01:36:08.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-22T01:36:08.375Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-22T01:36:08.439Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-22T01:36:08.504Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-22T01:36:08.568Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-22T01:36:08.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-22T01:36:08.700Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-22T01:36:08.781Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-22T01:36:08.858Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-22T01:36:08.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-682 [Pipeline] echo [2024-07-22T01:36:08.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-682 [Pipeline] echo [2024-07-22T01:36:09.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-682 [Pipeline] echo [2024-07-22T01:36:09.115Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] echo [2024-07-22T01:36:09.183Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c0c1f4 [Pipeline] echo [2024-07-22T01:36:09.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-22T01:36:09.422Z] provisioning config files... [2024-07-22T01:36:09.438Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/config8071023045125179400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-22T01:36:09.848Z] ---> ****-login.sh [2024-07-22T01:36:09.848Z] nexus3.edgexfoundry.org:10001 [2024-07-22T01:36:10.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:10.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:10.108Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:10.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:10.108Z] [2024-07-22T01:36:10.108Z] Login Succeeded [2024-07-22T01:36:10.108Z] nexus3.edgexfoundry.org:10002 [2024-07-22T01:36:10.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:10.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:10.368Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:10.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:10.368Z] [2024-07-22T01:36:10.368Z] Login Succeeded [2024-07-22T01:36:10.368Z] nexus3.edgexfoundry.org:10003 [2024-07-22T01:36:10.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:10.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:10.368Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:10.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:10.368Z] [2024-07-22T01:36:10.368Z] Login Succeeded [2024-07-22T01:36:10.368Z] nexus3.edgexfoundry.org:10004 [2024-07-22T01:36:10.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:10.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:10.629Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:10.629Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:10.629Z] [2024-07-22T01:36:10.629Z] Login Succeeded [2024-07-22T01:36:10.629Z] ****.io [2024-07-22T01:36:10.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:10.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:10.889Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:10.889Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:10.889Z] [2024-07-22T01:36:10.889Z] Login Succeeded [2024-07-22T01:36:10.889Z] ---> ****-login.sh ends [Pipeline] } [2024-07-22T01:36:10.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-22T01:36:11.632Z] + git rev-list -1 --merges 3c0c1f44ccde187048325c4457833014a4ed8d64~1..3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] echo [2024-07-22T01:36:11.683Z] -----------> git rev-list -1 --merges 3c0c1f44ccde187048325c4457833014a4ed8d64~1..3c0c1f44ccde187048325c4457833014a4ed8d64 3c0c1f44ccde187048325c4457833014a4ed8d64 [false] [Pipeline] sh [2024-07-22T01:36:12.015Z] + git log --format=format:%s -1 3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] echo [2024-07-22T01:36:12.068Z] ========================================================= [2024-07-22T01:36:12.069Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-22T01:36:12.069Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-22T01:36:12.592Z] + git log --format=format:%s -1 3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] echo [2024-07-22T01:36:12.635Z] [semverPrep] GIT_COMMIT: 3c0c1f44ccde187048325c4457833014a4ed8d64, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-22T01:36:12.679Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-22T01:36:13.223Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-22T01:36:13.223Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-22T01:36:13.223Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-22T01:36:13.223Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-22T01:36:13.223Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-22T01:36:13.223Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-22T01:36:13.223Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:36:13.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-22T01:36:13.792Z] [2024-07-22T01:36:13.792Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:36:14.203Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-22T01:36:14.203Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-22T01:36:14.203Z] b85a868b505f: Pulling fs layer [2024-07-22T01:36:14.203Z] e2be974225ed: Pulling fs layer [2024-07-22T01:36:14.203Z] 339a4e72a1f5: Pulling fs layer [2024-07-22T01:36:14.203Z] 988bab9f4d93: Pulling fs layer [2024-07-22T01:36:14.203Z] 1469e6f7b9e6: Pulling fs layer [2024-07-22T01:36:14.203Z] eaf3925da568: Pulling fs layer [2024-07-22T01:36:14.203Z] 988bab9f4d93: Waiting [2024-07-22T01:36:14.203Z] bab4dde63d76: Pulling fs layer [2024-07-22T01:36:14.203Z] bde34c3a00c8: Pulling fs layer [2024-07-22T01:36:14.203Z] eaf3925da568: Waiting [2024-07-22T01:36:14.203Z] b352a97aabf1: Pulling fs layer [2024-07-22T01:36:14.203Z] 1469e6f7b9e6: Waiting [2024-07-22T01:36:14.203Z] bab4dde63d76: Waiting [2024-07-22T01:36:14.203Z] 4872d77fe225: Pulling fs layer [2024-07-22T01:36:14.203Z] 5851b861e8e6: Pulling fs layer [2024-07-22T01:36:14.203Z] bde34c3a00c8: Waiting [2024-07-22T01:36:14.203Z] b352a97aabf1: Waiting [2024-07-22T01:36:14.203Z] 4872d77fe225: Waiting [2024-07-22T01:36:14.203Z] 5851b861e8e6: Waiting [2024-07-22T01:36:14.203Z] e2be974225ed: Verifying Checksum [2024-07-22T01:36:14.203Z] e2be974225ed: Download complete [2024-07-22T01:36:14.203Z] 988bab9f4d93: Verifying Checksum [2024-07-22T01:36:14.203Z] 988bab9f4d93: Download complete [2024-07-22T01:36:14.470Z] 339a4e72a1f5: Verifying Checksum [2024-07-22T01:36:14.470Z] 339a4e72a1f5: Download complete [2024-07-22T01:36:14.470Z] 1469e6f7b9e6: Verifying Checksum [2024-07-22T01:36:14.470Z] 1469e6f7b9e6: Download complete [2024-07-22T01:36:14.470Z] eaf3925da568: Download complete [2024-07-22T01:36:14.470Z] bde34c3a00c8: Download complete [2024-07-22T01:36:14.470Z] b352a97aabf1: Download complete [2024-07-22T01:36:14.470Z] 4872d77fe225: Verifying Checksum [2024-07-22T01:36:14.470Z] 4872d77fe225: Download complete [2024-07-22T01:36:14.470Z] b85a868b505f: Verifying Checksum [2024-07-22T01:36:14.470Z] b85a868b505f: Download complete [2024-07-22T01:36:14.470Z] 5851b861e8e6: Verifying Checksum [2024-07-22T01:36:14.470Z] 5851b861e8e6: Download complete [2024-07-22T01:36:14.732Z] bab4dde63d76: Verifying Checksum [2024-07-22T01:36:14.732Z] bab4dde63d76: Download complete [2024-07-22T01:36:15.671Z] b85a868b505f: Pull complete [2024-07-22T01:36:15.929Z] e2be974225ed: Pull complete [2024-07-22T01:36:16.502Z] 339a4e72a1f5: Pull complete [2024-07-22T01:36:16.502Z] 988bab9f4d93: Pull complete [2024-07-22T01:36:16.762Z] 1469e6f7b9e6: Pull complete [2024-07-22T01:36:16.762Z] eaf3925da568: Pull complete [2024-07-22T01:36:18.669Z] bab4dde63d76: Pull complete [2024-07-22T01:36:18.669Z] bde34c3a00c8: Pull complete [2024-07-22T01:36:18.930Z] b352a97aabf1: Pull complete [2024-07-22T01:36:18.930Z] 4872d77fe225: Pull complete [2024-07-22T01:36:19.191Z] 5851b861e8e6: Pull complete [2024-07-22T01:36:19.191Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-22T01:36:19.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-22T01:36:19.191Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-22T01:36:19.487Z] prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container [2024-07-22T01:36:19.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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 [2024-07-22T01:36:21.730Z] $ docker top 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 -eo pid,comm [2024-07-22T01:36:21.794Z] 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). [2024-07-22T01:36:21.794Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-22T01:36:21.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-22T01:36:21.990Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-22T01:36:22.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-22T01:36:22.108Z] $ docker exec 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 ssh-agent [2024-07-22T01:36:22.228Z] SSH_AUTH_SOCK=/tmp/ssh-okS2xBUbv6Bt/agent.32 [2024-07-22T01:36:22.228Z] SSH_AGENT_PID=38 [2024-07-22T01:36:22.234Z] Running ssh-add (command line suppressed) [2024-07-22T01:36:22.325Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/private_key_11836933493720939291.key (/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/private_key_11836933493720939291.key) [2024-07-22T01:36:22.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-22T01:36:22.707Z] + git tag --points-at HEAD [Pipeline] } [2024-07-22T01:36:22.732Z] $ docker exec --env ******** --env ******** 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 ssh-agent -k [2024-07-22T01:36:22.833Z] unset SSH_AUTH_SOCK; [2024-07-22T01:36:22.834Z] unset SSH_AGENT_PID; [2024-07-22T01:36:22.834Z] echo Agent pid 38 killed; [2024-07-22T01:36:22.849Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-22T01:36:22.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-22T01:36:22.978Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-22T01:36:23.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-22T01:36:23.086Z] $ docker exec 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 ssh-agent [2024-07-22T01:36:23.204Z] SSH_AUTH_SOCK=/tmp/ssh-HC3EtxS3fSCw/agent.71 [2024-07-22T01:36:23.204Z] SSH_AGENT_PID=77 [2024-07-22T01:36:23.209Z] Running ssh-add (command line suppressed) [2024-07-22T01:36:23.306Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/private_key_8359311285524678814.key (/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/private_key_8359311285524678814.key) [2024-07-22T01:36:23.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-22T01:36:23.675Z] + git semver init [2024-07-22T01:36:23.938Z] 2024-07-22 01:36:23,855 [run_init] DEBUG init version:0.0.0 force:False [2024-07-22T01:36:23.938Z] 2024-07-22 01:36:23,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver [2024-07-22T01:36:23.938Z] 2024-07-22 01:36:23,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver [2024-07-22T01:36:23.938Z] 2024-07-22 01:36:23,856 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-682, universal_newlines=False, shell=None, istream=None) [2024-07-22T01:36:25.848Z] 2024-07-22 01:36:25,466 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682/.git/info/exclude [2024-07-22T01:36:25.848Z] 2024-07-22 01:36:25,467 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver/PR-682 with force:False [2024-07-22T01:36:25.848Z] 2024-07-22 01:36:25,467 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver/PR-682 [2024-07-22T01:36:25.848Z] 2024-07-22 01:36:25,472 [execute] INFO git cat-file --batch-check [2024-07-22T01:36:25.848Z] 2024-07-22 01:36:25,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver, universal_newlines=False, shell=None, istream=) [2024-07-22T01:36:25.848Z] 2024-07-22 01:36:25,478 [execute] INFO git cat-file --batch [2024-07-22T01:36:25.848Z] 2024-07-22 01:36:25,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver, universal_newlines=False, shell=None, istream=) [2024-07-22T01:36:25.848Z] 2024-07-22 01:36:25,484 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver/PR-682 [2024-07-22T01:36:25.848Z] 0.0.0 [Pipeline] } [2024-07-22T01:36:25.871Z] $ docker exec --env ******** --env ******** 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 ssh-agent -k [2024-07-22T01:36:25.976Z] unset SSH_AUTH_SOCK; [2024-07-22T01:36:25.976Z] unset SSH_AGENT_PID; [2024-07-22T01:36:25.978Z] echo Agent pid 77 killed; [2024-07-22T01:36:25.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-22T01:36:26.467Z] + git semver [Pipeline] } [2024-07-22T01:36:26.753Z] $ docker stop --time=1 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 [2024-07-22T01:36:28.019Z] $ docker rm -f --volumes 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-22T01:36:28.475Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-22T01:36:28.813Z] Stashed 1 file(s) [Pipeline] echo [2024-07-22T01:36:28.839Z] [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 [2024-07-22T01:36:29.623Z] provisioning config files... [2024-07-22T01:36:29.633Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/config6280629398136862311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-22T01:36:30.019Z] ---> ****-login.sh [2024-07-22T01:36:30.019Z] nexus3.edgexfoundry.org:10001 [2024-07-22T01:36:30.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:30.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:30.019Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:30.019Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:30.019Z] [2024-07-22T01:36:30.019Z] Login Succeeded [2024-07-22T01:36:30.019Z] nexus3.edgexfoundry.org:10002 [2024-07-22T01:36:30.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:30.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:30.019Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:30.019Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:30.019Z] [2024-07-22T01:36:30.019Z] Login Succeeded [2024-07-22T01:36:30.019Z] nexus3.edgexfoundry.org:10003 [2024-07-22T01:36:30.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:30.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:30.280Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:30.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:30.280Z] [2024-07-22T01:36:30.280Z] Login Succeeded [2024-07-22T01:36:30.280Z] nexus3.edgexfoundry.org:10004 [2024-07-22T01:36:30.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:30.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:30.280Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:30.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:30.280Z] [2024-07-22T01:36:30.280Z] Login Succeeded [2024-07-22T01:36:30.280Z] ****.io [2024-07-22T01:36:30.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:36:30.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:36:30.543Z] Configure a credential helper to remove this warning. See [2024-07-22T01:36:30.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:36:30.543Z] [2024-07-22T01:36:30.543Z] Login Succeeded [2024-07-22T01:36:30.543Z] ---> ****-login.sh ends [Pipeline] } [2024-07-22T01:36:30.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-22T01:36:30.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-22T01:36:30.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-22T01:36:30.937Z] ========================================================= [2024-07-22T01:36:30.938Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-22T01:36:30.938Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:36:31.498Z] + 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 . [2024-07-22T01:36:31.498Z] Sending build context to Docker daemon 20.8MB [2024-07-22T01:36:31.498Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-22T01:36:31.498Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-22T01:36:31.498Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-22T01:36:31.498Z] 619be1103602: Pulling fs layer [2024-07-22T01:36:31.498Z] 7862e08f4a3e: Pulling fs layer [2024-07-22T01:36:31.498Z] 5df492c9dc93: Pulling fs layer [2024-07-22T01:36:31.498Z] 7629e6793208: Pulling fs layer [2024-07-22T01:36:31.498Z] 4f4fb700ef54: Pulling fs layer [2024-07-22T01:36:31.498Z] fb5054dd5b73: Pulling fs layer [2024-07-22T01:36:31.498Z] eeca6798cff9: Pulling fs layer [2024-07-22T01:36:31.498Z] aa269ceb94a6: Pulling fs layer [2024-07-22T01:36:31.498Z] ada007ff1a6a: Pulling fs layer [2024-07-22T01:36:31.498Z] 7629e6793208: Waiting [2024-07-22T01:36:31.498Z] 4f4fb700ef54: Waiting [2024-07-22T01:36:31.498Z] fb5054dd5b73: Waiting [2024-07-22T01:36:31.498Z] eeca6798cff9: Waiting [2024-07-22T01:36:31.498Z] aa269ceb94a6: Waiting [2024-07-22T01:36:31.498Z] ada007ff1a6a: Waiting [2024-07-22T01:36:31.760Z] 7862e08f4a3e: Verifying Checksum [2024-07-22T01:36:31.760Z] 7862e08f4a3e: Download complete [2024-07-22T01:36:31.760Z] 7629e6793208: Download complete [2024-07-22T01:36:31.760Z] 4f4fb700ef54: Verifying Checksum [2024-07-22T01:36:31.760Z] 4f4fb700ef54: Download complete [2024-07-22T01:36:31.760Z] 619be1103602: Verifying Checksum [2024-07-22T01:36:31.760Z] 619be1103602: Download complete [2024-07-22T01:36:31.760Z] fb5054dd5b73: Verifying Checksum [2024-07-22T01:36:31.760Z] fb5054dd5b73: Download complete [2024-07-22T01:36:31.760Z] eeca6798cff9: Verifying Checksum [2024-07-22T01:36:31.760Z] eeca6798cff9: Download complete [2024-07-22T01:36:31.760Z] 619be1103602: Pull complete [2024-07-22T01:36:32.020Z] ada007ff1a6a: Download complete [2024-07-22T01:36:32.020Z] 7862e08f4a3e: Pull complete [2024-07-22T01:36:32.020Z] 5df492c9dc93: Verifying Checksum [2024-07-22T01:36:32.020Z] 5df492c9dc93: Download complete [2024-07-22T01:36:32.587Z] aa269ceb94a6: Verifying Checksum [2024-07-22T01:36:32.587Z] aa269ceb94a6: Download complete [2024-07-22T01:36:35.877Z] 5df492c9dc93: Pull complete [2024-07-22T01:36:35.877Z] 7629e6793208: Pull complete [2024-07-22T01:36:35.877Z] 4f4fb700ef54: Pull complete [2024-07-22T01:36:35.877Z] fb5054dd5b73: Pull complete [2024-07-22T01:36:35.877Z] eeca6798cff9: Pull complete [2024-07-22T01:36:38.428Z] aa269ceb94a6: Pull complete [2024-07-22T01:36:38.994Z] ada007ff1a6a: Pull complete [2024-07-22T01:36:38.994Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-22T01:36:38.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-22T01:36:38.994Z] ---> f489d0715acc [2024-07-22T01:36:38.994Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-22T01:36:41.554Z] ---> Running in a60c73c34752 [2024-07-22T01:36:41.554Z] Removing intermediate container a60c73c34752 [2024-07-22T01:36:41.554Z] ---> 5e9dd56fad0b [2024-07-22T01:36:41.554Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-22T01:36:41.554Z] ---> Running in 159bf5dbce66 [2024-07-22T01:36:41.554Z] Removing intermediate container 159bf5dbce66 [2024-07-22T01:36:41.554Z] ---> 4da373ae16a0 [2024-07-22T01:36:41.554Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-22T01:36:41.554Z] ---> Running in de43ea61f43d [2024-07-22T01:36:41.554Z] Removing intermediate container de43ea61f43d [2024-07-22T01:36:41.554Z] ---> 01462496282c [2024-07-22T01:36:41.554Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-22T01:36:41.813Z] ---> Running in cf4819d1726d [2024-07-22T01:36:41.813Z] Removing intermediate container cf4819d1726d [2024-07-22T01:36:41.813Z] ---> 968e5ff77348 [2024-07-22T01:36:41.813Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-22T01:36:41.813Z] ---> Running in 101b3f8558a3 [2024-07-22T01:36:42.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-22T01:36:42.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-22T01:36:42.594Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-22T01:36:42.594Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-22T01:36:42.594Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-22T01:36:42.594Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-22T01:36:42.594Z] Executing busybox-1.36.1-r5.trigger [2024-07-22T01:36:42.594Z] OK: 268 MiB in 56 packages [2024-07-22T01:36:43.166Z] Removing intermediate container 101b3f8558a3 [2024-07-22T01:36:43.166Z] ---> 4dd08362fb11 [2024-07-22T01:36:43.166Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-22T01:36:43.166Z] ---> Running in d910b0e2afe3 [2024-07-22T01:36:43.166Z] Removing intermediate container d910b0e2afe3 [2024-07-22T01:36:43.166Z] ---> 0f5645ad8455 [2024-07-22T01:36:43.166Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-22T01:36:43.426Z] ---> 92b8a00e9935 [2024-07-22T01:36:43.426Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-22T01:36:43.426Z] ---> Running in 30aa80eee4b4 [2024-07-22T01:36:44.386Z] Still waiting to schedule task [2024-07-22T01:36:44.387Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6079’ [2024-07-22T01:37:39.680Z] Removing intermediate container 30aa80eee4b4 [2024-07-22T01:37:39.680Z] ---> 977cd159507c [2024-07-22T01:37:39.680Z] Step 11/12 : COPY . . [2024-07-22T01:37:39.680Z] ---> 0256874c1eef [2024-07-22T01:37:39.680Z] Step 12/12 : RUN $MAKE [2024-07-22T01:37:39.680Z] ---> Running in d63e647674a5 [2024-07-22T01:37:39.680Z] noop [2024-07-22T01:37:39.680Z] Removing intermediate container d63e647674a5 [2024-07-22T01:37:39.680Z] ---> 0366b9662612 [2024-07-22T01:37:39.680Z] Successfully built 0366b9662612 [2024-07-22T01:37:39.680Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:37:40.201Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-22T01:37:40.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-22T01:37:40.382Z] prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container [2024-07-22T01:37:40.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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 [2024-07-22T01:37:40.785Z] $ docker top 679b70dc74ab927968d9d9e1526a5bf4b67a625ce614fa71a77d337b284726d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-22T01:37:41.200Z] + go version [2024-07-22T01:37:41.200Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-22T01:37:41.241Z] $ docker stop --time=1 679b70dc74ab927968d9d9e1526a5bf4b67a625ce614fa71a77d337b284726d7 [2024-07-22T01:37:42.544Z] $ docker rm -f --volumes 679b70dc74ab927968d9d9e1526a5bf4b67a625ce614fa71a77d337b284726d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:37:43.373Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-22T01:37:43.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-22T01:37:43.560Z] prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container [2024-07-22T01:37:43.591Z] $ 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-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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 [2024-07-22T01:37:43.938Z] $ docker top 0639618f5783991aa689171ac3da7485cb33b8ce0a7a7bcf91d8068e96ea5075 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-22T01:37:44.362Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-682 [Pipeline] fileExists [Pipeline] sh [2024-07-22T01:37:44.748Z] + make test [2024-07-22T01:37:44.748Z] go test ./... -coverprofile=coverage.out ./... [2024-07-22T01:37:46.126Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-22T01:38:08.051Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-22T01:38:08.051Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-22T01:38:08.051Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements [2024-07-22T01:38:18.023Z] go vet ./... [2024-07-22T01:38:23.289Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-22T01:38:23.289Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-22T01:38:23.289Z] ./bin/test-attribution-txt.sh [2024-07-22T01:38:23.289Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-22T01:38:23.289Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-22T01:38:23.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-22T01:38:23.387Z] $ docker stop --time=1 0639618f5783991aa689171ac3da7485cb33b8ce0a7a7bcf91d8068e96ea5075 [2024-07-22T01:38:27.211Z] $ docker rm -f --volumes 0639618f5783991aa689171ac3da7485cb33b8ce0a7a7bcf91d8068e96ea5075 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-22T01:38:27.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-22T01:38:27.946Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-22T01:38:28.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-22T01:38:29.020Z] + ls -al . [2024-07-22T01:38:29.020Z] total 252 [2024-07-22T01:38:29.020Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 01:37 . [2024-07-22T01:38:29.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:35 .. [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 22 01:36 .dockerignore [2024-07-22T01:38:29.020Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:38 .git [2024-07-22T01:38:29.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:36 .github [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 22 01:36 .gitignore [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 22 01:36 .golangci.yml [2024-07-22T01:38:29.020Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:36 .semver [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 22 01:36 Attribution.txt [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 22 01:36 CHANGELOG.md [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 22 01:36 Dockerfile [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:36 GOVERNANCE.md [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 22 01:36 Jenkinsfile [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 01:36 LICENSE [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 22 01:36 Makefile [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 22 01:36 OWNERS.md [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 22 01:36 README.md [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 01:36 VERSION [2024-07-22T01:38:29.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:36 bin [2024-07-22T01:38:29.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:36 cmd [2024-07-22T01:38:29.020Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 22 01:38 coverage.out [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 7064 Jul 22 01:36 go.mod [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 101671 Jul 22 01:36 go.sum [2024-07-22T01:38:29.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:36 internal [2024-07-22T01:38:29.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:36 mock [2024-07-22T01:38:29.020Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 22 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:38:29.490Z] + 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=3c0c1f44ccde187048325c4457833014a4ed8d64 --label arch=amd64 --label version=0.0.0 . [2024-07-22T01:38:29.490Z] Sending build context to Docker daemon 20.82MB [2024-07-22T01:38:29.490Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-22T01:38:29.490Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-22T01:38:29.490Z] ---> 0366b9662612 [2024-07-22T01:38:29.490Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-22T01:38:29.750Z] ---> Running in 59be9c3a8de4 [2024-07-22T01:38:30.009Z] Removing intermediate container 59be9c3a8de4 [2024-07-22T01:38:30.009Z] ---> b9ae389fd790 [2024-07-22T01:38:30.009Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-22T01:38:30.009Z] ---> Running in b2ab3643d8f9 [2024-07-22T01:38:30.009Z] Removing intermediate container b2ab3643d8f9 [2024-07-22T01:38:30.009Z] ---> ff3ce797f5e2 [2024-07-22T01:38:30.009Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-22T01:38:30.009Z] ---> Running in e75831670bc3 [2024-07-22T01:38:30.009Z] Removing intermediate container e75831670bc3 [2024-07-22T01:38:30.009Z] ---> 86f866316332 [2024-07-22T01:38:30.009Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-22T01:38:30.009Z] ---> Running in 585afa57f619 [2024-07-22T01:38:30.267Z] Removing intermediate container 585afa57f619 [2024-07-22T01:38:30.267Z] ---> 5b1346727afa [2024-07-22T01:38:30.267Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-22T01:38:30.267Z] ---> Running in ef933949c69d [2024-07-22T01:38:30.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-22T01:38:30.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-22T01:38:31.046Z] OK: 268 MiB in 56 packages [2024-07-22T01:38:31.305Z] Removing intermediate container ef933949c69d [2024-07-22T01:38:31.305Z] ---> 29735524d7b5 [2024-07-22T01:38:31.305Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-22T01:38:31.305Z] ---> Running in 3641a2d2b5c2 [2024-07-22T01:38:31.305Z] Removing intermediate container 3641a2d2b5c2 [2024-07-22T01:38:31.305Z] ---> 176c7b6cda32 [2024-07-22T01:38:31.305Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-22T01:38:31.565Z] ---> ed652f54920b [2024-07-22T01:38:31.565Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-22T01:38:31.565Z] ---> Running in 8abf849e7167 [2024-07-22T01:38:32.502Z] Removing intermediate container 8abf849e7167 [2024-07-22T01:38:32.502Z] ---> 7735354ecf33 [2024-07-22T01:38:32.502Z] Step 11/25 : COPY . . [2024-07-22T01:38:33.070Z] ---> 7edba06a65c6 [2024-07-22T01:38:33.070Z] Step 12/25 : RUN $MAKE [2024-07-22T01:38:33.070Z] ---> Running in b55e905e8a98 [2024-07-22T01:38:33.329Z] 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.25" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-22T01:39:12.078Z] Removing intermediate container b55e905e8a98 [2024-07-22T01:39:12.078Z] ---> 713c8506276e [2024-07-22T01:39:12.078Z] Step 13/25 : FROM alpine:3.18 [2024-07-22T01:39:12.078Z] 3.18: Pulling from library/alpine [2024-07-22T01:39:12.078Z] 73baa7ef167e: Pulling fs layer [2024-07-22T01:39:12.078Z] 73baa7ef167e: Verifying Checksum [2024-07-22T01:39:12.078Z] 73baa7ef167e: Download complete [2024-07-22T01:39:12.078Z] 73baa7ef167e: Pull complete [2024-07-22T01:39:12.078Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-22T01:39:12.078Z] Status: Downloaded newer image for alpine:3.18 [2024-07-22T01:39:12.078Z] ---> 8fd7cac70a4a [2024-07-22T01:39:12.078Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-22T01:39:12.078Z] ---> Running in 61036375fe77 [2024-07-22T01:39:12.078Z] Removing intermediate container 61036375fe77 [2024-07-22T01:39:12.078Z] ---> aa0323a4adf0 [2024-07-22T01:39:12.078Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-22T01:39:12.078Z] ---> Running in 4998e1ea97fb [2024-07-22T01:39:12.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-22T01:39:12.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-22T01:39:12.078Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-22T01:39:12.078Z] Executing busybox-1.36.1-r7.trigger [2024-07-22T01:39:12.078Z] OK: 7 MiB in 16 packages [2024-07-22T01:39:12.078Z] Removing intermediate container 4998e1ea97fb [2024-07-22T01:39:12.078Z] ---> 050a8417e673 [2024-07-22T01:39:12.078Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-22T01:39:12.078Z] ---> Running in d04b604cbcd7 [2024-07-22T01:39:12.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-22T01:39:12.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-22T01:39:12.078Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-22T01:39:12.078Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-22T01:39:12.078Z] OK: 7 MiB in 16 packages [2024-07-22T01:39:12.078Z] Removing intermediate container d04b604cbcd7 [2024-07-22T01:39:12.078Z] ---> 1027d6c5e7b0 [2024-07-22T01:39:12.078Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-22T01:39:12.340Z] ---> 1babb7b54080 [2024-07-22T01:39:12.340Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-22T01:39:12.340Z] ---> 074e15f649ae [2024-07-22T01:39:12.340Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-22T01:39:12.599Z] ---> 8da31a0c5a78 [2024-07-22T01:39:12.599Z] Step 20/25 : EXPOSE 59982 [2024-07-22T01:39:12.599Z] ---> Running in aa3784680d9c [2024-07-22T01:39:12.599Z] Removing intermediate container aa3784680d9c [2024-07-22T01:39:12.599Z] ---> 020c757b141b [2024-07-22T01:39:12.599Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-22T01:39:12.599Z] ---> Running in a0e3674460ee [2024-07-22T01:39:12.860Z] Removing intermediate container a0e3674460ee [2024-07-22T01:39:12.860Z] ---> a55c7312d70c [2024-07-22T01:39:12.860Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-22T01:39:12.860Z] ---> Running in ac5cc9492c10 [2024-07-22T01:39:12.860Z] Removing intermediate container ac5cc9492c10 [2024-07-22T01:39:12.860Z] ---> eba797a23604 [2024-07-22T01:39:12.860Z] Step 23/25 : LABEL arch=amd64 [2024-07-22T01:39:12.860Z] ---> Running in 08ccc9fa9388 [2024-07-22T01:39:13.121Z] Removing intermediate container 08ccc9fa9388 [2024-07-22T01:39:13.121Z] ---> 0199d6395439 [2024-07-22T01:39:13.121Z] Step 24/25 : LABEL git_sha=3c0c1f44ccde187048325c4457833014a4ed8d64 [2024-07-22T01:39:13.121Z] ---> Running in 8a54c8b013f6 [2024-07-22T01:39:13.121Z] Removing intermediate container 8a54c8b013f6 [2024-07-22T01:39:13.121Z] ---> 5bcc417d431d [2024-07-22T01:39:13.121Z] Step 25/25 : LABEL version=0.0.0 [2024-07-22T01:39:13.121Z] ---> Running in 3bf307a0b2e8 [2024-07-22T01:39:13.121Z] Removing intermediate container 3bf307a0b2e8 [2024-07-22T01:39:13.121Z] ---> fb2572017364 [2024-07-22T01:39:13.121Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-22T01:39:13.121Z] Successfully built fb2572017364 [2024-07-22T01:39:13.121Z] 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 [2024-07-22T01:39:14.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-22T01:39:14.189Z] [2024-07-22T01:39:14.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:39:14.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-22T01:39:14.594Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-22T01:39:14.594Z] 5eb5b503b376: Pulling fs layer [2024-07-22T01:39:14.594Z] 5c69ac0246d0: Pulling fs layer [2024-07-22T01:39:14.594Z] ec43610c2a17: Pulling fs layer [2024-07-22T01:39:14.594Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-22T01:39:14.594Z] 3a2ae6a8a46f: Waiting [2024-07-22T01:39:14.594Z] 33b1e0a273af: Pulling fs layer [2024-07-22T01:39:14.594Z] 5d3b04190fa2: Pulling fs layer [2024-07-22T01:39:14.594Z] 2f39f015ded8: Pulling fs layer [2024-07-22T01:39:14.594Z] 33b1e0a273af: Waiting [2024-07-22T01:39:14.594Z] 5d3b04190fa2: Waiting [2024-07-22T01:39:14.594Z] 2f39f015ded8: Waiting [2024-07-22T01:39:14.594Z] 5c69ac0246d0: Verifying Checksum [2024-07-22T01:39:14.594Z] 5c69ac0246d0: Download complete [2024-07-22T01:39:14.594Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-22T01:39:14.594Z] 3a2ae6a8a46f: Download complete [2024-07-22T01:39:14.594Z] 33b1e0a273af: Verifying Checksum [2024-07-22T01:39:14.594Z] 33b1e0a273af: Download complete [2024-07-22T01:39:14.594Z] ec43610c2a17: Verifying Checksum [2024-07-22T01:39:14.594Z] ec43610c2a17: Download complete [2024-07-22T01:39:14.594Z] 5d3b04190fa2: Verifying Checksum [2024-07-22T01:39:14.594Z] 5d3b04190fa2: Download complete [2024-07-22T01:39:14.855Z] 5eb5b503b376: Verifying Checksum [2024-07-22T01:39:14.855Z] 5eb5b503b376: Download complete [2024-07-22T01:39:15.427Z] 2f39f015ded8: Download complete [2024-07-22T01:39:16.370Z] 5eb5b503b376: Pull complete [2024-07-22T01:39:16.370Z] 5c69ac0246d0: Pull complete [2024-07-22T01:39:16.943Z] ec43610c2a17: Pull complete [2024-07-22T01:39:17.203Z] 3a2ae6a8a46f: Pull complete [2024-07-22T01:39:17.775Z] 33b1e0a273af: Pull complete [2024-07-22T01:39:17.775Z] 5d3b04190fa2: Pull complete [2024-07-22T01:39:23.046Z] 2f39f015ded8: Pull complete [2024-07-22T01:39:23.046Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-22T01:39:23.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-22T01:39:23.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-22T01:39:23.350Z] prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container [2024-07-22T01:39:23.406Z] $ 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-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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 [2024-07-22T01:39:33.494Z] $ docker top 8e56a1f00bb021194c2dd8722cd825ba00ba3c304f0c22529b5f4849fc365308 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-22T01:39:34.023Z] ---> job-cost.sh [2024-07-22T01:39:34.023Z] lf-activate-venv: SKIPPING [2024-07-22T01:39:34.023Z] INFO: No Stack... [2024-07-22T01:39:34.285Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-22T01:39:34.549Z] INFO: Archiving Costs [Pipeline] sh [2024-07-22T01:39:34.879Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives/cost.csv [2024-07-22T01:39:34.879Z] + cut -d, -f6 [Pipeline] lock [2024-07-22T01:39:34.929Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [2024-07-22T01:39:34.936Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] did not exist. Created. [2024-07-22T01:39:34.951Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-22T01:39:35.379Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-22T01:39:35.446Z] Stashed 1 file(s) [Pipeline] } [2024-07-22T01:39:35.491Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-22T01:39:35.602Z] $ docker stop --time=1 8e56a1f00bb021194c2dd8722cd825ba00ba3c304f0c22529b5f4849fc365308 [2024-07-22T01:39:36.957Z] $ docker rm -f --volumes 8e56a1f00bb021194c2dd8722cd825ba00ba3c304f0c22529b5f4849fc365308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-22T01:47:28.319Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6083 in /w/workspace/gexfoundry_device-mqtt-go_PR-682 [Pipeline] { [Pipeline] ws [2024-07-22T01:47:28.397Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-07-22T01:47:28.501Z] The recommended git tool is: git [2024-07-22T01:47:33.324Z] using credential edgex-jenkins-ssh [2024-07-22T01:47:33.343Z] Cloning the remote Git repository [2024-07-22T01:47:33.382Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-22T01:47:33.474Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-07-22T01:47:33.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-22T01:47:33.635Z] > git --version # timeout=10 [2024-07-22T01:47:33.660Z] > git --version # 'git version 2.25.1' [2024-07-22T01:47:33.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-22T01:47:33.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-22T01:47:36.446Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-22T01:47:36.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-22T01:47:37.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-22T01:47:37.382Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-22T01:47:37.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-22T01:47:37.411Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/682/head:refs/remotes/origin/PR-682 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-22T01:47:37.927Z] Merging remotes/origin/main commit 3641da765e3ecf514711d982b07869362341dd3b into PR head commit 3c0c1f44ccde187048325c4457833014a4ed8d64 [2024-07-22T01:47:38.204Z] Merge succeeded, producing 3c0c1f44ccde187048325c4457833014a4ed8d64 [2024-07-22T01:47:38.204Z] Checking out Revision 3c0c1f44ccde187048325c4457833014a4ed8d64 (PR-682) [2024-07-22T01:47:38.712Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-22T01:47:38.763Z] > git --version # timeout=10 [2024-07-22T01:47:38.774Z] > git --version # 'git version 2.25.1' [2024-07-22T01:47:38.797Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-22T01:47:37.943Z] > git config core.sparsecheckout # timeout=10 [2024-07-22T01:47:38.005Z] > git checkout -f 3c0c1f44ccde187048325c4457833014a4ed8d64 # timeout=10 [2024-07-22T01:47:38.091Z] > git remote # timeout=10 [2024-07-22T01:47:38.108Z] > git config --get remote.origin.url # timeout=10 [2024-07-22T01:47:38.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-22T01:47:38.155Z] > git merge 3641da765e3ecf514711d982b07869362341dd3b # timeout=10 [2024-07-22T01:47:38.180Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-22T01:47:38.208Z] > git config core.sparsecheckout # timeout=10 [2024-07-22T01:47:38.220Z] > git checkout -f 3c0c1f44ccde187048325c4457833014a4ed8d64 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-22T01:47:43.730Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-22T01:47:43.730Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-22T01:47:43.730Z] Dload Upload Total Spent Left Speed [2024-07-22T01:47:43.730Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-07-22T01:47:44.092Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-22T01:47:44.435Z] + sudo tee /etc/docker/daemon.new [2024-07-22T01:47:44.435Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-22T01:47:44.435Z] { [2024-07-22T01:47:44.435Z] "registry-mirrors": [ [2024-07-22T01:47:44.435Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-22T01:47:44.435Z] ], [2024-07-22T01:47:44.435Z] "bip": "10.250.0.254/24", [2024-07-22T01:47:44.435Z] "hosts": [ [2024-07-22T01:47:44.435Z] "tcp://0.0.0.0:5555", [2024-07-22T01:47:44.435Z] "unix:///var/run/docker.sock" [2024-07-22T01:47:44.435Z] ], [2024-07-22T01:47:44.435Z] "mtu": 1458, [2024-07-22T01:47:44.435Z] "selinux-enabled": true, [2024-07-22T01:47:44.435Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-22T01:47:44.435Z] } [Pipeline] sh [2024-07-22T01:47:44.788Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-22T01:47:45.143Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-22T01:48:03.519Z] provisioning config files... [2024-07-22T01:48:03.551Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6113095000578595339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-22T01:48:04.060Z] ---> ****-login.sh [2024-07-22T01:48:04.060Z] nexus3.edgexfoundry.org:10001 [2024-07-22T01:48:04.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:48:04.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:48:04.602Z] Configure a credential helper to remove this warning. See [2024-07-22T01:48:04.602Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:48:04.602Z] [2024-07-22T01:48:04.602Z] Login Succeeded [2024-07-22T01:48:04.602Z] nexus3.edgexfoundry.org:10002 [2024-07-22T01:48:04.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:48:05.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:48:05.139Z] Configure a credential helper to remove this warning. See [2024-07-22T01:48:05.139Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:48:05.139Z] [2024-07-22T01:48:05.139Z] Login Succeeded [2024-07-22T01:48:05.139Z] nexus3.edgexfoundry.org:10003 [2024-07-22T01:48:05.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:48:05.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:48:05.410Z] Configure a credential helper to remove this warning. See [2024-07-22T01:48:05.410Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:48:05.410Z] [2024-07-22T01:48:05.410Z] Login Succeeded [2024-07-22T01:48:05.410Z] nexus3.edgexfoundry.org:10004 [2024-07-22T01:48:05.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:48:05.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:48:05.678Z] Configure a credential helper to remove this warning. See [2024-07-22T01:48:05.678Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:48:05.678Z] [2024-07-22T01:48:05.678Z] Login Succeeded [2024-07-22T01:48:05.946Z] ****.io [2024-07-22T01:48:05.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-22T01:48:06.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-22T01:48:06.221Z] Configure a credential helper to remove this warning. See [2024-07-22T01:48:06.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-22T01:48:06.221Z] [2024-07-22T01:48:06.221Z] Login Succeeded [2024-07-22T01:48:06.221Z] ---> ****-login.sh ends [Pipeline] } [2024-07-22T01:48:06.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-22T01:48:06.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-22T01:48:06.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-22T01:48:06.840Z] ========================================================= [2024-07-22T01:48:06.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-22T01:48:06.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:48:07.419Z] + 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 . [2024-07-22T01:48:07.687Z] Sending build context to Docker daemon 10.51MB [2024-07-22T01:48:07.957Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-22T01:48:07.957Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-22T01:48:07.957Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-22T01:48:07.957Z] c6b39de5b339: Pulling fs layer [2024-07-22T01:48:07.957Z] a69c41024577: Pulling fs layer [2024-07-22T01:48:07.957Z] d6de4b400683: Pulling fs layer [2024-07-22T01:48:07.957Z] 35cb2a7552d0: Pulling fs layer [2024-07-22T01:48:07.957Z] 4f4fb700ef54: Pulling fs layer [2024-07-22T01:48:07.957Z] 464afbd9ba4c: Pulling fs layer [2024-07-22T01:48:07.957Z] 00f215d4a9da: Pulling fs layer [2024-07-22T01:48:07.957Z] 35cb2a7552d0: Waiting [2024-07-22T01:48:07.957Z] 4f4fb700ef54: Waiting [2024-07-22T01:48:07.957Z] 464afbd9ba4c: Waiting [2024-07-22T01:48:07.957Z] 00f215d4a9da: Waiting [2024-07-22T01:48:07.957Z] d496ad576159: Pulling fs layer [2024-07-22T01:48:07.957Z] a69c41024577: Verifying Checksum [2024-07-22T01:48:07.957Z] a69c41024577: Download complete [2024-07-22T01:48:07.957Z] 35cb2a7552d0: Verifying Checksum [2024-07-22T01:48:07.957Z] 35cb2a7552d0: Download complete [2024-07-22T01:48:08.234Z] 4f4fb700ef54: Verifying Checksum [2024-07-22T01:48:08.234Z] 4f4fb700ef54: Download complete [2024-07-22T01:48:08.234Z] 464afbd9ba4c: Verifying Checksum [2024-07-22T01:48:08.234Z] 464afbd9ba4c: Download complete [2024-07-22T01:48:08.234Z] c6b39de5b339: Verifying Checksum [2024-07-22T01:48:08.234Z] c6b39de5b339: Download complete [2024-07-22T01:48:08.520Z] d496ad576159: Verifying Checksum [2024-07-22T01:48:08.520Z] d496ad576159: Download complete [2024-07-22T01:48:09.497Z] c6b39de5b339: Pull complete [2024-07-22T01:48:09.766Z] a69c41024577: Pull complete [2024-07-22T01:48:10.034Z] d6de4b400683: Verifying Checksum [2024-07-22T01:48:10.034Z] d6de4b400683: Download complete [2024-07-22T01:48:11.011Z] 00f215d4a9da: Verifying Checksum [2024-07-22T01:48:11.011Z] 00f215d4a9da: Download complete [2024-07-22T01:48:23.342Z] d6de4b400683: Pull complete [2024-07-22T01:48:23.342Z] 35cb2a7552d0: Pull complete [2024-07-22T01:48:23.342Z] 4f4fb700ef54: Pull complete [2024-07-22T01:48:23.611Z] 464afbd9ba4c: Pull complete [2024-07-22T01:48:33.681Z] 00f215d4a9da: Pull complete [2024-07-22T01:48:34.263Z] d496ad576159: Pull complete [2024-07-22T01:48:34.263Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-22T01:48:34.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-22T01:48:34.531Z] ---> f246e2811388 [2024-07-22T01:48:34.531Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-22T01:48:35.119Z] ---> Running in 4a9b3a3315e5 [2024-07-22T01:48:35.388Z] Removing intermediate container 4a9b3a3315e5 [2024-07-22T01:48:35.388Z] ---> b2c9b3852a77 [2024-07-22T01:48:35.388Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-22T01:48:35.388Z] ---> Running in 18f5b0d7c24d [2024-07-22T01:48:35.975Z] Removing intermediate container 18f5b0d7c24d [2024-07-22T01:48:35.975Z] ---> fe60861aa22c [2024-07-22T01:48:35.975Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-22T01:48:35.975Z] ---> Running in 656055d03ed1 [2024-07-22T01:48:36.248Z] Removing intermediate container 656055d03ed1 [2024-07-22T01:48:36.249Z] ---> 6c770e3936ac [2024-07-22T01:48:36.249Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-22T01:48:36.249Z] ---> Running in 3378c378a964 [2024-07-22T01:48:36.832Z] Removing intermediate container 3378c378a964 [2024-07-22T01:48:36.832Z] ---> 80a641f1ed1e [2024-07-22T01:48:36.832Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-22T01:48:36.832Z] ---> Running in 4553d275ef3c [2024-07-22T01:48:37.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-22T01:48:38.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-22T01:48:39.339Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-22T01:48:39.339Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-22T01:48:39.339Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-22T01:48:39.339Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-22T01:48:39.617Z] Executing busybox-1.36.1-r5.trigger [2024-07-22T01:48:39.617Z] OK: 271 MiB in 56 packages [2024-07-22T01:48:40.576Z] Removing intermediate container 4553d275ef3c [2024-07-22T01:48:40.576Z] ---> 8b6f4cd70866 [2024-07-22T01:48:40.576Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-22T01:48:40.846Z] ---> Running in 41fb8e9cd228 [2024-07-22T01:48:41.117Z] Removing intermediate container 41fb8e9cd228 [2024-07-22T01:48:41.117Z] ---> 53c5bed9a51c [2024-07-22T01:48:41.117Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-22T01:48:41.702Z] ---> b1b6b9e394b7 [2024-07-22T01:48:41.702Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-22T01:48:41.702Z] ---> Running in 9b170775ce1f [2024-07-22T01:50:48.768Z] Removing intermediate container 9b170775ce1f [2024-07-22T01:50:48.768Z] ---> 970871cee679 [2024-07-22T01:50:48.768Z] Step 11/12 : COPY . . [2024-07-22T01:50:48.768Z] ---> c78b37cbd50d [2024-07-22T01:50:48.768Z] Step 12/12 : RUN $MAKE [2024-07-22T01:50:48.768Z] ---> Running in 7751b7608b2a [2024-07-22T01:50:48.768Z] noop [2024-07-22T01:50:48.768Z] Removing intermediate container 7751b7608b2a [2024-07-22T01:50:48.768Z] ---> d1588290fd4b [2024-07-22T01:50:48.768Z] Successfully built d1588290fd4b [2024-07-22T01:50:48.768Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:50:49.345Z] + docker inspect -f . ci-base-image-arm64 [2024-07-22T01:50:49.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-22T01:50:49.614Z] prd-ubuntu20.04-docker-arm64-4c-16g-6083 does not seem to be running inside a container [2024-07-22T01:50:49.670Z] $ 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 ******** ci-base-image-arm64 cat [2024-07-22T01:50:50.759Z] $ docker top 0e0e4ffcffc45586edbb5e6231d946f6f77820772ca94e4f2a13fb5cad7ded99 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-22T01:50:51.752Z] + go version [2024-07-22T01:50:51.752Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-22T01:50:51.794Z] $ docker stop --time=1 0e0e4ffcffc45586edbb5e6231d946f6f77820772ca94e4f2a13fb5cad7ded99 [2024-07-22T01:50:53.396Z] $ docker rm -f --volumes 0e0e4ffcffc45586edbb5e6231d946f6f77820772ca94e4f2a13fb5cad7ded99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:50:54.335Z] + docker inspect -f . ci-base-image-arm64 [2024-07-22T01:50:54.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-22T01:50:54.611Z] prd-ubuntu20.04-docker-arm64-4c-16g-6083 does not seem to be running inside a container [2024-07-22T01:50:54.684Z] $ 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 ******** ci-base-image-arm64 cat [2024-07-22T01:50:55.778Z] $ docker top 52a7d3cb577385349b50eecfa2b949050d018802114eb700285f909e126aeeba -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-22T01:50:56.341Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-22T01:50:56.749Z] + make test [2024-07-22T01:50:56.749Z] go test ./... -coverprofile=coverage.out ./... [2024-07-22T01:51:03.399Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-22T01:54:40.242Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-22T01:54:40.242Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-22T01:54:40.242Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.048s coverage: 22.8% of statements [2024-07-22T01:54:40.511Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-22T01:54:40.511Z] go vet ./... [2024-07-22T01:55:27.354Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-22T01:55:27.354Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-22T01:55:27.354Z] ./bin/test-attribution-txt.sh [2024-07-22T01:55:27.354Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-22T01:55:27.354Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-22T01:55:27.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-22T01:55:27.439Z] $ docker stop --time=1 52a7d3cb577385349b50eecfa2b949050d018802114eb700285f909e126aeeba [2024-07-22T01:55:29.247Z] $ docker rm -f --volumes 52a7d3cb577385349b50eecfa2b949050d018802114eb700285f909e126aeeba [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-22T01:55:30.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-22T01:55:30.954Z] Warning: overwriting stash ‘coverage-report’ [2024-07-22T01:55:31.394Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-22T01:55:32.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-22T01:55:32.370Z] + ls -al . [2024-07-22T01:55:32.371Z] total 248 [2024-07-22T01:55:32.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:51 . [2024-07-22T01:55:32.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:47 .. [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 22 01:47 .dockerignore [2024-07-22T01:55:32.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:47 .git [2024-07-22T01:55:32.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:47 .github [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 22 01:47 .gitignore [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 22 01:47 .golangci.yml [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 22 01:47 Attribution.txt [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 22 01:47 CHANGELOG.md [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 22 01:47 Dockerfile [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:47 GOVERNANCE.md [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 22 01:47 Jenkinsfile [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 01:47 LICENSE [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 22 01:47 Makefile [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 22 01:47 OWNERS.md [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 22 01:47 README.md [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 01:36 VERSION [2024-07-22T01:55:32.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:47 bin [2024-07-22T01:55:32.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:47 cmd [2024-07-22T01:55:32.371Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 22 01:54 coverage.out [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 7064 Jul 22 01:47 go.mod [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 101671 Jul 22 01:47 go.sum [2024-07-22T01:55:32.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:47 internal [2024-07-22T01:55:32.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:47 mock [2024-07-22T01:55:32.371Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 22 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:55:32.825Z] + 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=3c0c1f44ccde187048325c4457833014a4ed8d64 --label arch=arm64 --label version=0.0.0 . [2024-07-22T01:55:33.408Z] Sending build context to Docker daemon 10.53MB [2024-07-22T01:55:33.409Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-22T01:55:33.409Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-22T01:55:33.409Z] ---> d1588290fd4b [2024-07-22T01:55:33.409Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-22T01:55:33.409Z] ---> Running in f11509f0369d [2024-07-22T01:55:33.677Z] Removing intermediate container f11509f0369d [2024-07-22T01:55:33.677Z] ---> 3220521dbe4e [2024-07-22T01:55:33.677Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-22T01:55:33.945Z] ---> Running in bd15c858c57c [2024-07-22T01:55:34.213Z] Removing intermediate container bd15c858c57c [2024-07-22T01:55:34.213Z] ---> c93a009e73df [2024-07-22T01:55:34.213Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-22T01:55:34.213Z] ---> Running in 1e36fb22af3c [2024-07-22T01:55:34.480Z] Removing intermediate container 1e36fb22af3c [2024-07-22T01:55:34.480Z] ---> 1a3a7eebf1af [2024-07-22T01:55:34.480Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-22T01:55:34.480Z] ---> Running in aa5ece31ad43 [2024-07-22T01:55:34.747Z] Removing intermediate container aa5ece31ad43 [2024-07-22T01:55:34.747Z] ---> 0b2b875a50e7 [2024-07-22T01:55:34.747Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-22T01:55:35.015Z] ---> Running in 2ac639004acb [2024-07-22T01:55:35.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-22T01:55:36.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-22T01:55:37.525Z] OK: 271 MiB in 56 packages [2024-07-22T01:55:38.111Z] Removing intermediate container 2ac639004acb [2024-07-22T01:55:38.111Z] ---> 5c36668223ec [2024-07-22T01:55:38.111Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-22T01:55:38.377Z] ---> Running in dd7fcf083130 [2024-07-22T01:55:38.655Z] Removing intermediate container dd7fcf083130 [2024-07-22T01:55:38.655Z] ---> f8af6542722a [2024-07-22T01:55:38.655Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-22T01:55:39.238Z] ---> f1d3d5118596 [2024-07-22T01:55:39.238Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-22T01:55:39.238Z] ---> Running in 0954001e3538 [2024-07-22T01:55:41.817Z] Removing intermediate container 0954001e3538 [2024-07-22T01:55:41.817Z] ---> edd4d92af146 [2024-07-22T01:55:41.817Z] Step 11/25 : COPY . . [2024-07-22T01:55:42.779Z] ---> 751c2f2cc7c3 [2024-07-22T01:55:42.779Z] Step 12/25 : RUN $MAKE [2024-07-22T01:55:42.779Z] ---> Running in 3f27fbd4b0d6 [2024-07-22T01:55:43.739Z] 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.25" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-22T01:59:21.201Z] Removing intermediate container 3f27fbd4b0d6 [2024-07-22T01:59:21.201Z] ---> f17163d792b1 [2024-07-22T01:59:21.201Z] Step 13/25 : FROM alpine:3.18 [2024-07-22T01:59:21.201Z] 3.18: Pulling from library/alpine [2024-07-22T01:59:21.201Z] 5c905c7ebe2f: Pulling fs layer [2024-07-22T01:59:21.201Z] 5c905c7ebe2f: Verifying Checksum [2024-07-22T01:59:21.201Z] 5c905c7ebe2f: Download complete [2024-07-22T01:59:21.201Z] 5c905c7ebe2f: Pull complete [2024-07-22T01:59:21.201Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-22T01:59:21.201Z] Status: Downloaded newer image for alpine:3.18 [2024-07-22T01:59:21.201Z] ---> dec292d02e07 [2024-07-22T01:59:21.201Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-22T01:59:21.201Z] ---> Running in 81a81fb961a9 [2024-07-22T01:59:21.472Z] Removing intermediate container 81a81fb961a9 [2024-07-22T01:59:21.472Z] ---> f54951144700 [2024-07-22T01:59:21.472Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-22T01:59:21.472Z] ---> Running in 007ef7dc87a4 [2024-07-22T01:59:22.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-22T01:59:23.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-22T01:59:24.123Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-22T01:59:24.392Z] Executing busybox-1.36.1-r7.trigger [2024-07-22T01:59:24.392Z] OK: 8 MiB in 16 packages [2024-07-22T01:59:25.358Z] Removing intermediate container 007ef7dc87a4 [2024-07-22T01:59:25.358Z] ---> 850e2099c6ee [2024-07-22T01:59:25.358Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-22T01:59:25.358Z] ---> Running in 03c5d22430e6 [2024-07-22T01:59:26.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-22T01:59:26.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-22T01:59:28.198Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-22T01:59:28.198Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-22T01:59:28.198Z] OK: 8 MiB in 16 packages [2024-07-22T01:59:29.174Z] Removing intermediate container 03c5d22430e6 [2024-07-22T01:59:29.174Z] ---> d742a36d19a9 [2024-07-22T01:59:29.174Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-22T01:59:31.758Z] ---> 141c633f45f3 [2024-07-22T01:59:31.758Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-22T01:59:32.343Z] ---> c15f95ef6c01 [2024-07-22T01:59:32.343Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-22T01:59:32.929Z] ---> d842a8506a78 [2024-07-22T01:59:32.929Z] Step 20/25 : EXPOSE 59982 [2024-07-22T01:59:32.929Z] ---> Running in 6d68a2adf205 [2024-07-22T01:59:33.510Z] Removing intermediate container 6d68a2adf205 [2024-07-22T01:59:33.510Z] ---> 427f4a41078b [2024-07-22T01:59:33.510Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-22T01:59:33.510Z] ---> Running in 2ff9c23d7060 [2024-07-22T01:59:33.782Z] Removing intermediate container 2ff9c23d7060 [2024-07-22T01:59:33.782Z] ---> 188a59161644 [2024-07-22T01:59:33.782Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-22T01:59:33.782Z] ---> Running in bfb6eb50166b [2024-07-22T01:59:34.370Z] Removing intermediate container bfb6eb50166b [2024-07-22T01:59:34.370Z] ---> e46f4dc4a9f2 [2024-07-22T01:59:34.370Z] Step 23/25 : LABEL arch=arm64 [2024-07-22T01:59:34.370Z] ---> Running in 79a82cefdcf2 [2024-07-22T01:59:34.639Z] Removing intermediate container 79a82cefdcf2 [2024-07-22T01:59:34.639Z] ---> 2dbbf8d6d930 [2024-07-22T01:59:34.639Z] Step 24/25 : LABEL git_sha=3c0c1f44ccde187048325c4457833014a4ed8d64 [2024-07-22T01:59:34.639Z] ---> Running in eb22ea92d3d1 [2024-07-22T01:59:34.911Z] Removing intermediate container eb22ea92d3d1 [2024-07-22T01:59:34.911Z] ---> 2fc2c0ae7ad3 [2024-07-22T01:59:34.911Z] Step 25/25 : LABEL version=0.0.0 [2024-07-22T01:59:35.179Z] ---> Running in 01d0b420419f [2024-07-22T01:59:35.445Z] Removing intermediate container 01d0b420419f [2024-07-22T01:59:35.445Z] ---> 6416b1536e20 [2024-07-22T01:59:35.445Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-22T01:59:35.445Z] Successfully built 6416b1536e20 [2024-07-22T01:59:35.445Z] 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 [2024-07-22T01:59:36.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-22T01:59:36.398Z] [2024-07-22T01:59:36.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T01:59:36.843Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-22T01:59:37.112Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-22T01:59:37.112Z] 8998bd30e6a1: Pulling fs layer [2024-07-22T01:59:37.112Z] 04944245beec: Pulling fs layer [2024-07-22T01:59:37.112Z] 699f458cf7ca: Pulling fs layer [2024-07-22T01:59:37.112Z] 765212b225bb: Pulling fs layer [2024-07-22T01:59:37.112Z] f23df028b6ca: Pulling fs layer [2024-07-22T01:59:37.112Z] d65c8cfc05b1: Pulling fs layer [2024-07-22T01:59:37.112Z] 2437ff75d9bd: Pulling fs layer [2024-07-22T01:59:37.112Z] f23df028b6ca: Waiting [2024-07-22T01:59:37.112Z] 765212b225bb: Waiting [2024-07-22T01:59:37.112Z] d65c8cfc05b1: Waiting [2024-07-22T01:59:37.112Z] 2437ff75d9bd: Waiting [2024-07-22T01:59:37.112Z] 04944245beec: Verifying Checksum [2024-07-22T01:59:37.112Z] 04944245beec: Download complete [2024-07-22T01:59:37.112Z] 765212b225bb: Verifying Checksum [2024-07-22T01:59:37.112Z] 765212b225bb: Download complete [2024-07-22T01:59:37.112Z] f23df028b6ca: Verifying Checksum [2024-07-22T01:59:37.112Z] f23df028b6ca: Download complete [2024-07-22T01:59:37.112Z] d65c8cfc05b1: Verifying Checksum [2024-07-22T01:59:37.112Z] d65c8cfc05b1: Download complete [2024-07-22T01:59:37.380Z] 699f458cf7ca: Verifying Checksum [2024-07-22T01:59:37.380Z] 699f458cf7ca: Download complete [2024-07-22T01:59:37.647Z] 8998bd30e6a1: Verifying Checksum [2024-07-22T01:59:37.648Z] 8998bd30e6a1: Download complete [2024-07-22T01:59:40.229Z] 2437ff75d9bd: Verifying Checksum [2024-07-22T01:59:40.229Z] 2437ff75d9bd: Download complete [2024-07-22T01:59:42.172Z] 8998bd30e6a1: Pull complete [2024-07-22T01:59:42.757Z] 04944245beec: Pull complete [2024-07-22T01:59:44.699Z] 699f458cf7ca: Pull complete [2024-07-22T01:59:44.699Z] 765212b225bb: Pull complete [2024-07-22T01:59:45.659Z] f23df028b6ca: Pull complete [2024-07-22T01:59:45.659Z] d65c8cfc05b1: Pull complete [2024-07-22T02:00:02.049Z] 2437ff75d9bd: Pull complete [2024-07-22T02:00:02.319Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-22T02:00:02.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-22T02:00:02.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-22T02:00:02.656Z] prd-ubuntu20.04-docker-arm64-4c-16g-6083 does not seem to be running inside a container [2024-07-22T02:00:02.721Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-22T02:00:05.593Z] $ docker top 3cefa113415df35fb792358c2263eee6feaf01b0235a6a13e23fd31933ad6f7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-22T02:00:06.196Z] ---> job-cost.sh [2024-07-22T02:00:06.459Z] lf-activate-venv: SKIPPING [2024-07-22T02:00:06.459Z] INFO: No Stack... [2024-07-22T02:00:06.723Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-22T02:00:07.674Z] INFO: Archiving Costs [Pipeline] sh [2024-07-22T02:00:08.022Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-07-22T02:00:08.287Z] + cut -d, -f6 [Pipeline] lock [2024-07-22T02:00:08.351Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [2024-07-22T02:00:08.366Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] did not exist. Created. [2024-07-22T02:00:08.374Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-22T02:00:09.125Z] /w/workspace/device-mqtt-go/1@tmp/durable-a70d11be/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-22T02:00:09.483Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-22T02:00:09.525Z] Warning: overwriting stash ‘stack-cost’ [2024-07-22T02:00:09.572Z] Stashed 1 file(s) [Pipeline] } [2024-07-22T02:00:09.595Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-22T02:00:09.700Z] $ docker stop --time=1 3cefa113415df35fb792358c2263eee6feaf01b0235a6a13e23fd31933ad6f7b [2024-07-22T02:00:11.194Z] $ docker rm -f --volumes 3cefa113415df35fb792358c2263eee6feaf01b0235a6a13e23fd31933ad6f7b [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 [2024-07-22T02:00:12.622Z] provisioning config files... [2024-07-22T02:00:12.632Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/config7746878234178651203tmp [Pipeline] { [Pipeline] sh [2024-07-22T02:00:12.981Z] + set +x [2024-07-22T02:00:12.981Z] + curl -s https://codecov.io/bash [2024-07-22T02:00:12.981Z] + bash -s -- [2024-07-22T02:00:12.981Z] [2024-07-22T02:00:12.981Z] _____ _ [2024-07-22T02:00:12.981Z] / ____| | | [2024-07-22T02:00:12.981Z] | | ___ __| | ___ ___ _____ __ [2024-07-22T02:00:12.981Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-22T02:00:12.981Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-22T02:00:12.981Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-22T02:00:12.981Z] Bash-1.0.6 [2024-07-22T02:00:12.981Z] [2024-07-22T02:00:12.981Z] [2024-07-22T02:00:12.981Z] ==> git version 2.25.1 found [2024-07-22T02:00:12.981Z] ==> 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 [2024-07-22T02:00:12.981Z] Release-Date: 2020-01-08 [2024-07-22T02:00:12.981Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-22T02:00:12.981Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-22T02:00:12.981Z] ==> Jenkins CI detected. [2024-07-22T02:00:12.982Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-682 [2024-07-22T02:00:12.982Z] project root: . [2024-07-22T02:00:12.982Z] --> token set from env [2024-07-22T02:00:12.982Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-22T02:00:12.982Z] ==> Running gcov in . (disable via -X gcov) [2024-07-22T02:00:12.982Z] ==> Python coveragepy not found [2024-07-22T02:00:12.982Z] ==> Searching for coverage reports in: [2024-07-22T02:00:12.982Z] + . [2024-07-22T02:00:12.982Z] -> Found 1 reports [2024-07-22T02:00:12.982Z] ==> Detecting git/mercurial file structure [2024-07-22T02:00:13.240Z] ==> Reading reports [2024-07-22T02:00:13.240Z] + ./coverage.out bytes=18506 [2024-07-22T02:00:13.240Z] ==> Appending adjustments [2024-07-22T02:00:13.240Z] https://docs.codecov.io/docs/fixing-reports [2024-07-22T02:00:13.240Z] + Found adjustments [2024-07-22T02:00:13.240Z] ==> Gzipping contents [2024-07-22T02:00:13.240Z] 4.0K /tmp/codecov.ohI0tk.gz [2024-07-22T02:00:13.240Z] ==> Uploading reports [2024-07-22T02:00:13.240Z] url: https://codecov.io [2024-07-22T02:00:13.240Z] query: branch=PR-682&commit=3c0c1f44ccde187048325c4457833014a4ed8d64&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-682%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=682&job=&cmd_args= [2024-07-22T02:00:13.240Z] -> Pinging Codecov [2024-07-22T02:00:13.240Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-682&commit=3c0c1f44ccde187048325c4457833014a4ed8d64&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-682%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=682&job=&cmd_args= [2024-07-22T02:00:13.240Z] -> Uploading to [2024-07-22T02:00:13.240Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-22/7D719EC7BBE17E464838252E33014C33/3c0c1f44ccde187048325c4457833014a4ed8d64/1f26ebcc-da4d-4322-a06e-1ecba0da4fa9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240722%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240722T020013Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0da15d8f3d9c47fd7dfec2ff53808bc4ade14a0414b5ecf88dc336182db229c0 [2024-07-22T02:00:13.240Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-22T02:00:13.240Z] Dload Upload Total Spent Left Speed [2024-07-22T02:00:13.500Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11334 --:--:-- --:--:-- --:--:-- 11292 100 3049 0 0 100 3049 0 11334 --:--:-- --:--:-- --:--:-- 11292 [2024-07-22T02:00:13.759Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] } [2024-07-22T02:00:13.792Z] 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 [2024-07-22T02:00:16.279Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives ] [2024-07-22T02:00:16.279Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives [2024-07-22T02:00:16.279Z] total 16 [2024-07-22T02:00:16.279Z] drwxr-xr-x 3 root root 4096 Jul 22 01:39 . [2024-07-22T02:00:16.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 01:39 .. [2024-07-22T02:00:16.279Z] drwxr-xr-x 2 root root 4096 Jul 22 01:39 cost [2024-07-22T02:00:16.279Z] -rw-r--r-- 1 root root 86 Jul 22 01:39 cost.csv [2024-07-22T02:00:16.279Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives [2024-07-22T02:00:16.279Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives [2024-07-22T02:00:16.279Z] total 16 [2024-07-22T02:00:16.279Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:39 . [2024-07-22T02:00:16.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 01:39 .. [2024-07-22T02:00:16.279Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 01:39 cost [2024-07-22T02:00:16.279Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 22 01:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-22T02:00:16.629Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-22T02:00:17.540Z] ---> package-listing.sh [2024-07-22T02:00:17.540Z] ++ facter osfamily [2024-07-22T02:00:17.540Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-22T02:00:17.799Z] + OS_FAMILY=debian [2024-07-22T02:00:17.799Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-682 [2024-07-22T02:00:17.799Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-22T02:00:17.799Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-22T02:00:17.799Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-22T02:00:17.799Z] + PACKAGES=/tmp/packages_start.txt [2024-07-22T02:00:17.799Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-682 ']' [2024-07-22T02:00:17.799Z] + PACKAGES=/tmp/packages_end.txt [2024-07-22T02:00:17.799Z] + case "${OS_FAMILY}" in [2024-07-22T02:00:17.799Z] + dpkg -l [2024-07-22T02:00:17.799Z] + grep '^ii' [2024-07-22T02:00:17.799Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-22T02:00:17.799Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-22T02:00:17.799Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-22T02:00:17.799Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-682 ']' [2024-07-22T02:00:17.799Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives/ [2024-07-22T02:00:17.799Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives/ [Pipeline] echo [2024-07-22T02:00:17.850Z] 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-682/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-22T02:00:18.160Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-22T02:00:18.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-22T02:00:18.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-22T02:00:19.006Z] prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container [2024-07-22T02:00:19.047Z] $ 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-682/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-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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 [2024-07-22T02:00:19.238Z] $ docker top 9f0ffbefebb77ba3e4d9af2f805d8110f31834f1f1e7c262ecbd33e8c32d6962 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-22T02:00:19.631Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-22T02:00:20.035Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-22T02:00:20.414Z] + ls /var/log/sa-host [2024-07-22T02:00:20.414Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-22T02:00:20.675Z] provisioning config files... [2024-07-22T02:00:20.701Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/config7345811219893445994tmp [Pipeline] { [Pipeline] echo [2024-07-22T02:00:20.754Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-22T02:00:21.092Z] ---> create-netrc.sh [Pipeline] } [2024-07-22T02:00:21.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-22T02:00:21.555Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-22T02:00:21.594Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-22T02:00:21.921Z] ---> sudo-logs.sh [2024-07-22T02:00:21.921Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-22T02:00:22.023Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-22T02:00:22.353Z] ---> job-cost.sh [2024-07-22T02:00:22.353Z] lf-activate-venv: SKIPPING [2024-07-22T02:00:22.353Z] DEBUG: total: 0.2199999988079071 [2024-07-22T02:00:22.353Z] INFO: Retrieving Stack Cost... [2024-07-22T02:00:22.613Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-22T02:00:23.183Z] INFO: Archiving Costs [Pipeline] echo [2024-07-22T02:00:23.229Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-22T02:00:23.564Z] ---> logs-deploy.sh [2024-07-22T02:00:23.564Z] lf-activate-venv: SKIPPING [2024-07-22T02:00:23.564Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-682/1 [2024-07-22T02:00:23.564Z] INFO: archiving workspace using pattern(s): [2024-07-22T02:00:24.505Z] Archives upload complete. [2024-07-22T02:00:24.505Z] INFO: archiving logs to Nexus