Pull request #684 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0561ba6ee73f9f90ab72e028b4faf630360d42a2+451ce87ac5af399cf23a8dbe18d868ad027d5dd8 (dc7d73059535b1bfb2365d05935fceae126397d0) 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-ssh2769911053695684259.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-ssh1205769671333602106.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-684/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-684/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh751695569602314291.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-684/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9477067082630013289.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-ssh1229049937847269405.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-684/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-684/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2316298559064797405.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 ‘prd-ubuntu20.04-docker-8c-8g-6477’ Running on prd-ubuntu20.04-docker-8c-8g-6483 in /w/workspace/gexfoundry_device-mqtt-go_PR-684 [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-684 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/684/head:refs/remotes/origin/PR-684 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 451ce87ac5af399cf23a8dbe18d868ad027d5dd8 into PR head commit 0561ba6ee73f9f90ab72e028b4faf630360d42a2 Merge succeeded, producing 0561ba6ee73f9f90ab72e028b4faf630360d42a2 Checking out Revision 0561ba6ee73f9f90ab72e028b4faf630360d42a2 (PR-684) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 0561ba6ee73f9f90ab72e028b4faf630360d42a2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 451ce87ac5af399cf23a8dbe18d868ad027d5dd8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0561ba6ee73f9f90ab72e028b4faf630360d42a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-26T01:09:53.566Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-26T01:09:53.812Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-26T01:09:53.946Z] ========================================================= [2024-07-26T01:09:53.946Z] EdgeX Global Pipelines Version Info [2024-07-26T01:09:53.946Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:09:54.744Z] ------------------- [2024-07-26T01:09:54.744Z] stable info: [2024-07-26T01:09:54.744Z] ------------------- [2024-07-26T01:09:54.744Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-26T01:09:54.744Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-26T01:09:54.744Z] Message: update stable to v1.0.260 [2024-07-26T01:09:55.318Z] ------------------- [2024-07-26T01:09:55.318Z] experimental info: [2024-07-26T01:09:55.318Z] ------------------- [2024-07-26T01:09:55.318Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-26T01:09:55.318Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-26T01:09:55.318Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-26T01:09:55.588Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-07-26T01:09:55.662Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-07-26T01:09:55.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-26T01:09:55.786Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-26T01:09:55.858Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-26T01:09:55.917Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-26T01:09:55.980Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-26T01:09:56.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-26T01:09:56.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-26T01:09:56.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-26T01:09:56.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-26T01:09:56.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-07-26T01:09:56.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-26T01:09:56.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-26T01:09:56.472Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-26T01:09:56.541Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-26T01:09:56.603Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-26T01:09:56.662Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-26T01:09:56.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-26T01:09:56.775Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-26T01:09:56.837Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-26T01:09:56.912Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-26T01:09:56.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-26T01:09:57.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-26T01:09:57.090Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-26T01:09:57.150Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-26T01:09:57.203Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-26T01:09:57.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-684 [Pipeline] echo [2024-07-26T01:09:57.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-684 [Pipeline] echo [2024-07-26T01:09:57.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-684 [Pipeline] echo [2024-07-26T01:09:57.437Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0561ba6ee73f9f90ab72e028b4faf630360d42a2 [Pipeline] echo [2024-07-26T01:09:57.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0561ba6 [Pipeline] echo [2024-07-26T01:09:57.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-26T01:09:57.715Z] provisioning config files... [2024-07-26T01:09:57.730Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp/config8510180357098387716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:09:58.125Z] ---> ****-login.sh [2024-07-26T01:09:58.126Z] nexus3.edgexfoundry.org:10001 [2024-07-26T01:09:58.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:09:58.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:09:58.392Z] Configure a credential helper to remove this warning. See [2024-07-26T01:09:58.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:09:58.392Z] [2024-07-26T01:09:58.392Z] Login Succeeded [2024-07-26T01:09:58.392Z] nexus3.edgexfoundry.org:10002 [2024-07-26T01:09:58.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:09:58.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:09:58.655Z] Configure a credential helper to remove this warning. See [2024-07-26T01:09:58.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:09:58.655Z] [2024-07-26T01:09:58.655Z] Login Succeeded [2024-07-26T01:09:58.655Z] nexus3.edgexfoundry.org:10003 [2024-07-26T01:09:58.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:09:58.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:09:58.655Z] Configure a credential helper to remove this warning. See [2024-07-26T01:09:58.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:09:58.655Z] [2024-07-26T01:09:58.655Z] Login Succeeded [2024-07-26T01:09:58.655Z] nexus3.edgexfoundry.org:10004 [2024-07-26T01:09:58.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:09:58.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:09:58.920Z] Configure a credential helper to remove this warning. See [2024-07-26T01:09:58.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:09:58.920Z] [2024-07-26T01:09:58.920Z] Login Succeeded [2024-07-26T01:09:58.920Z] ****.io [2024-07-26T01:09:58.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:09:59.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:09:59.183Z] Configure a credential helper to remove this warning. See [2024-07-26T01:09:59.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:09:59.183Z] [2024-07-26T01:09:59.183Z] Login Succeeded [2024-07-26T01:09:59.183Z] ---> ****-login.sh ends [Pipeline] } [2024-07-26T01:09:59.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-26T01:09:59.935Z] + git rev-list -1 --merges 0561ba6ee73f9f90ab72e028b4faf630360d42a2~1..0561ba6ee73f9f90ab72e028b4faf630360d42a2 [Pipeline] echo [2024-07-26T01:09:59.986Z] -----------> git rev-list -1 --merges 0561ba6ee73f9f90ab72e028b4faf630360d42a2~1..0561ba6ee73f9f90ab72e028b4faf630360d42a2 0561ba6ee73f9f90ab72e028b4faf630360d42a2 [false] [Pipeline] sh [2024-07-26T01:10:00.316Z] + git log --format=format:%s -1 0561ba6ee73f9f90ab72e028b4faf630360d42a2 [Pipeline] echo [2024-07-26T01:10:00.366Z] ========================================================= [2024-07-26T01:10:00.366Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-26T01:10:00.366Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-26T01:10:00.835Z] + git log --format=format:%s -1 0561ba6ee73f9f90ab72e028b4faf630360d42a2 [Pipeline] echo [2024-07-26T01:10:00.874Z] [semverPrep] GIT_COMMIT: 0561ba6ee73f9f90ab72e028b4faf630360d42a2, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-26T01:10:00.923Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-26T01:10:01.350Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-26T01:10:01.350Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-26T01:10:01.350Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-26T01:10:01.350Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-26T01:10:01.350Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-26T01:10:01.350Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-26T01:10:01.350Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:10:01.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-26T01:10:01.881Z] [2024-07-26T01:10:01.881Z] 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-26T01:10:02.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-26T01:10:02.270Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-26T01:10:02.270Z] b85a868b505f: Pulling fs layer [2024-07-26T01:10:02.270Z] e2be974225ed: Pulling fs layer [2024-07-26T01:10:02.270Z] 339a4e72a1f5: Pulling fs layer [2024-07-26T01:10:02.270Z] 988bab9f4d93: Pulling fs layer [2024-07-26T01:10:02.270Z] 1469e6f7b9e6: Pulling fs layer [2024-07-26T01:10:02.270Z] eaf3925da568: Pulling fs layer [2024-07-26T01:10:02.270Z] bab4dde63d76: Pulling fs layer [2024-07-26T01:10:02.270Z] bde34c3a00c8: Pulling fs layer [2024-07-26T01:10:02.270Z] b352a97aabf1: Pulling fs layer [2024-07-26T01:10:02.270Z] 4872d77fe225: Pulling fs layer [2024-07-26T01:10:02.270Z] 5851b861e8e6: Pulling fs layer [2024-07-26T01:10:02.270Z] 4872d77fe225: Waiting [2024-07-26T01:10:02.270Z] bde34c3a00c8: Waiting [2024-07-26T01:10:02.270Z] b352a97aabf1: Waiting [2024-07-26T01:10:02.270Z] 988bab9f4d93: Waiting [2024-07-26T01:10:02.270Z] bab4dde63d76: Waiting [2024-07-26T01:10:02.270Z] 5851b861e8e6: Waiting [2024-07-26T01:10:02.270Z] e2be974225ed: Download complete [2024-07-26T01:10:02.270Z] 988bab9f4d93: Download complete [2024-07-26T01:10:02.270Z] 1469e6f7b9e6: Verifying Checksum [2024-07-26T01:10:02.270Z] 1469e6f7b9e6: Download complete [2024-07-26T01:10:02.531Z] eaf3925da568: Download complete [2024-07-26T01:10:02.531Z] 339a4e72a1f5: Verifying Checksum [2024-07-26T01:10:02.531Z] 339a4e72a1f5: Download complete [2024-07-26T01:10:02.531Z] bde34c3a00c8: Download complete [2024-07-26T01:10:02.531Z] b352a97aabf1: Download complete [2024-07-26T01:10:02.531Z] 4872d77fe225: Download complete [2024-07-26T01:10:02.531Z] b85a868b505f: Download complete [2024-07-26T01:10:02.531Z] 5851b861e8e6: Verifying Checksum [2024-07-26T01:10:02.531Z] 5851b861e8e6: Download complete [2024-07-26T01:10:02.792Z] bab4dde63d76: Verifying Checksum [2024-07-26T01:10:02.792Z] bab4dde63d76: Download complete [2024-07-26T01:10:03.731Z] b85a868b505f: Pull complete [2024-07-26T01:10:03.731Z] e2be974225ed: Pull complete [2024-07-26T01:10:04.301Z] 339a4e72a1f5: Pull complete [2024-07-26T01:10:04.301Z] 988bab9f4d93: Pull complete [2024-07-26T01:10:04.561Z] 1469e6f7b9e6: Pull complete [2024-07-26T01:10:04.561Z] eaf3925da568: Pull complete [2024-07-26T01:10:06.473Z] bab4dde63d76: Pull complete [2024-07-26T01:10:06.473Z] bde34c3a00c8: Pull complete [2024-07-26T01:10:06.473Z] b352a97aabf1: Pull complete [2024-07-26T01:10:06.473Z] 4872d77fe225: Pull complete [2024-07-26T01:10:06.473Z] 5851b861e8e6: Pull complete [2024-07-26T01:10:06.473Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-26T01:10:06.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-26T01:10:06.473Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T01:10:07.083Z] prd-ubuntu20.04-docker-8c-8g-6483 does not seem to be running inside a container [2024-07-26T01:10:07.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-684 -v /w/workspace/gexfoundry_device-mqtt-go_PR-684:/w/workspace/gexfoundry_device-mqtt-go_PR-684:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-684@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-26T01:10:08.466Z] $ docker top 1d3821c7491c0490ab74c701c67f7a589d4c2212b6e95f998a4ba7ebdc2d58c6 -eo pid,comm [2024-07-26T01:10:08.521Z] 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-26T01:10:08.521Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-26T01:10:08.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-26T01:10:08.690Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-26T01:10:08.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-26T01:10:08.800Z] $ docker exec 1d3821c7491c0490ab74c701c67f7a589d4c2212b6e95f998a4ba7ebdc2d58c6 ssh-agent [2024-07-26T01:10:08.906Z] SSH_AUTH_SOCK=/tmp/ssh-0NVFD4uNFKMv/agent.33 [2024-07-26T01:10:08.906Z] SSH_AGENT_PID=39 [2024-07-26T01:10:08.913Z] Running ssh-add (command line suppressed) [2024-07-26T01:10:09.009Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp/private_key_5623421902738768587.key (/w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp/private_key_5623421902738768587.key) [2024-07-26T01:10:09.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-26T01:10:09.394Z] + git tag --points-at HEAD [Pipeline] } [2024-07-26T01:10:09.424Z] $ docker exec --env ******** --env ******** 1d3821c7491c0490ab74c701c67f7a589d4c2212b6e95f998a4ba7ebdc2d58c6 ssh-agent -k [2024-07-26T01:10:09.528Z] unset SSH_AUTH_SOCK; [2024-07-26T01:10:09.529Z] unset SSH_AGENT_PID; [2024-07-26T01:10:09.529Z] echo Agent pid 39 killed; [2024-07-26T01:10:09.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-26T01:10:09.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-26T01:10:09.670Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-26T01:10:09.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-26T01:10:09.781Z] $ docker exec 1d3821c7491c0490ab74c701c67f7a589d4c2212b6e95f998a4ba7ebdc2d58c6 ssh-agent [2024-07-26T01:10:09.889Z] SSH_AUTH_SOCK=/tmp/ssh-6TefsFZiFuBu/agent.73 [2024-07-26T01:10:09.889Z] SSH_AGENT_PID=79 [2024-07-26T01:10:09.893Z] Running ssh-add (command line suppressed) [2024-07-26T01:10:09.984Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp/private_key_805825533623204245.key (/w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp/private_key_805825533623204245.key) [2024-07-26T01:10:10.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-26T01:10:10.348Z] + git semver init [2024-07-26T01:10:10.609Z] 2024-07-26 01:10:10,511 [run_init] DEBUG init version:0.0.0 force:False [2024-07-26T01:10:10.609Z] 2024-07-26 01:10:10,512 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-684/.semver [2024-07-26T01:10:10.609Z] 2024-07-26 01:10:10,512 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-684/.semver [2024-07-26T01:10:10.609Z] 2024-07-26 01:10:10,512 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-684/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-684, universal_newlines=False, shell=None, istream=None) [2024-07-26T01:10:12.523Z] 2024-07-26 01:10:12,138 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-684/.git/info/exclude [2024-07-26T01:10:12.523Z] 2024-07-26 01:10:12,139 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-684/.semver/PR-684 with force:False [2024-07-26T01:10:12.523Z] 2024-07-26 01:10:12,139 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-684/.semver/PR-684 [2024-07-26T01:10:12.523Z] 2024-07-26 01:10:12,141 [execute] INFO git cat-file --batch-check [2024-07-26T01:10:12.523Z] 2024-07-26 01:10:12,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-684/.semver, universal_newlines=False, shell=None, istream=) [2024-07-26T01:10:12.523Z] 2024-07-26 01:10:12,145 [execute] INFO git cat-file --batch [2024-07-26T01:10:12.523Z] 2024-07-26 01:10:12,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-684/.semver, universal_newlines=False, shell=None, istream=) [2024-07-26T01:10:12.523Z] 2024-07-26 01:10:12,150 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-684/.semver/PR-684 [2024-07-26T01:10:12.523Z] 0.0.0 [Pipeline] } [2024-07-26T01:10:12.551Z] $ docker exec --env ******** --env ******** 1d3821c7491c0490ab74c701c67f7a589d4c2212b6e95f998a4ba7ebdc2d58c6 ssh-agent -k [2024-07-26T01:10:12.645Z] unset SSH_AUTH_SOCK; [2024-07-26T01:10:12.645Z] unset SSH_AGENT_PID; [2024-07-26T01:10:12.646Z] echo Agent pid 79 killed; [2024-07-26T01:10:12.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-26T01:10:13.117Z] + git semver [Pipeline] } [2024-07-26T01:10:13.406Z] $ docker stop --time=1 1d3821c7491c0490ab74c701c67f7a589d4c2212b6e95f998a4ba7ebdc2d58c6 [2024-07-26T01:10:14.700Z] $ docker rm -f --volumes 1d3821c7491c0490ab74c701c67f7a589d4c2212b6e95f998a4ba7ebdc2d58c6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-26T01:10:15.125Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-26T01:10:15.431Z] Stashed 1 file(s) [Pipeline] echo [2024-07-26T01:10:15.455Z] [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-26T01:10:16.324Z] provisioning config files... [2024-07-26T01:10:16.334Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp/config13177977783418243099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:10:16.697Z] ---> ****-login.sh [2024-07-26T01:10:16.697Z] nexus3.edgexfoundry.org:10001 [2024-07-26T01:10:16.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:10:16.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:10:16.697Z] Configure a credential helper to remove this warning. See [2024-07-26T01:10:16.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:10:16.697Z] [2024-07-26T01:10:16.697Z] Login Succeeded [2024-07-26T01:10:16.697Z] nexus3.edgexfoundry.org:10002 [2024-07-26T01:10:16.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:10:16.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:10:16.697Z] Configure a credential helper to remove this warning. See [2024-07-26T01:10:16.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:10:16.697Z] [2024-07-26T01:10:16.697Z] Login Succeeded [2024-07-26T01:10:16.697Z] nexus3.edgexfoundry.org:10003 [2024-07-26T01:10:16.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:10:16.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:10:16.957Z] Configure a credential helper to remove this warning. See [2024-07-26T01:10:16.957Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:10:16.957Z] [2024-07-26T01:10:16.957Z] Login Succeeded [2024-07-26T01:10:16.957Z] nexus3.edgexfoundry.org:10004 [2024-07-26T01:10:16.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:10:16.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:10:16.957Z] Configure a credential helper to remove this warning. See [2024-07-26T01:10:16.957Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:10:16.957Z] [2024-07-26T01:10:16.957Z] Login Succeeded [2024-07-26T01:10:16.957Z] ****.io [2024-07-26T01:10:16.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:10:17.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:10:17.217Z] Configure a credential helper to remove this warning. See [2024-07-26T01:10:17.217Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:10:17.217Z] [2024-07-26T01:10:17.217Z] Login Succeeded [2024-07-26T01:10:17.217Z] ---> ****-login.sh ends [Pipeline] } [2024-07-26T01:10:17.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-26T01:10:17.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-26T01:10:17.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-26T01:10:17.594Z] ========================================================= [2024-07-26T01:10:17.594Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-26T01:10:17.594Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:10:18.124Z] + 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-26T01:10:18.124Z] Sending build context to Docker daemon 20.81MB [2024-07-26T01:10:18.124Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-26T01:10:18.124Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-26T01:10:18.124Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-26T01:10:18.124Z] 619be1103602: Pulling fs layer [2024-07-26T01:10:18.124Z] 7862e08f4a3e: Pulling fs layer [2024-07-26T01:10:18.124Z] 5df492c9dc93: Pulling fs layer [2024-07-26T01:10:18.124Z] 7629e6793208: Pulling fs layer [2024-07-26T01:10:18.124Z] 4f4fb700ef54: Pulling fs layer [2024-07-26T01:10:18.124Z] 7629e6793208: Waiting [2024-07-26T01:10:18.124Z] fb5054dd5b73: Pulling fs layer [2024-07-26T01:10:18.124Z] eeca6798cff9: Pulling fs layer [2024-07-26T01:10:18.124Z] aa269ceb94a6: Pulling fs layer [2024-07-26T01:10:18.124Z] fb5054dd5b73: Waiting [2024-07-26T01:10:18.124Z] eeca6798cff9: Waiting [2024-07-26T01:10:18.124Z] 4f4fb700ef54: Waiting [2024-07-26T01:10:18.124Z] ada007ff1a6a: Pulling fs layer [2024-07-26T01:10:18.124Z] aa269ceb94a6: Waiting [2024-07-26T01:10:18.124Z] ada007ff1a6a: Waiting [2024-07-26T01:10:18.124Z] 7862e08f4a3e: Verifying Checksum [2024-07-26T01:10:18.124Z] 7862e08f4a3e: Download complete [2024-07-26T01:10:18.385Z] 7629e6793208: Verifying Checksum [2024-07-26T01:10:18.385Z] 7629e6793208: Download complete [2024-07-26T01:10:18.385Z] 4f4fb700ef54: Verifying Checksum [2024-07-26T01:10:18.385Z] 4f4fb700ef54: Download complete [2024-07-26T01:10:18.385Z] fb5054dd5b73: Verifying Checksum [2024-07-26T01:10:18.385Z] fb5054dd5b73: Download complete [2024-07-26T01:10:18.385Z] 619be1103602: Verifying Checksum [2024-07-26T01:10:18.385Z] 619be1103602: Download complete [2024-07-26T01:10:18.385Z] eeca6798cff9: Verifying Checksum [2024-07-26T01:10:18.385Z] eeca6798cff9: Download complete [2024-07-26T01:10:18.385Z] 619be1103602: Pull complete [2024-07-26T01:10:18.647Z] ada007ff1a6a: Verifying Checksum [2024-07-26T01:10:18.647Z] ada007ff1a6a: Download complete [2024-07-26T01:10:18.647Z] 7862e08f4a3e: Pull complete [2024-07-26T01:10:18.647Z] 5df492c9dc93: Verifying Checksum [2024-07-26T01:10:18.647Z] 5df492c9dc93: Download complete [2024-07-26T01:10:18.906Z] aa269ceb94a6: Verifying Checksum [2024-07-26T01:10:18.906Z] aa269ceb94a6: Download complete [2024-07-26T01:10:22.190Z] 5df492c9dc93: Pull complete [2024-07-26T01:10:22.190Z] 7629e6793208: Pull complete [2024-07-26T01:10:22.190Z] 4f4fb700ef54: Pull complete [2024-07-26T01:10:22.190Z] fb5054dd5b73: Pull complete [2024-07-26T01:10:22.190Z] eeca6798cff9: Pull complete [2024-07-26T01:10:24.723Z] aa269ceb94a6: Pull complete [2024-07-26T01:10:24.984Z] ada007ff1a6a: Pull complete [2024-07-26T01:10:24.984Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-26T01:10:24.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-26T01:10:24.984Z] ---> f489d0715acc [2024-07-26T01:10:24.984Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-26T01:10:26.897Z] ---> Running in 68ea1b0ec945 [2024-07-26T01:10:26.897Z] Removing intermediate container 68ea1b0ec945 [2024-07-26T01:10:26.897Z] ---> 2e9dfbfc336c [2024-07-26T01:10:26.897Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-26T01:10:26.897Z] ---> Running in 2d9197bdef7e [2024-07-26T01:10:26.897Z] Removing intermediate container 2d9197bdef7e [2024-07-26T01:10:26.897Z] ---> 3e5811ae4b7d [2024-07-26T01:10:26.897Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-26T01:10:26.897Z] ---> Running in 559013f44a3c [2024-07-26T01:10:26.897Z] Removing intermediate container 559013f44a3c [2024-07-26T01:10:26.897Z] ---> 21a923e6c901 [2024-07-26T01:10:26.897Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-26T01:10:26.897Z] ---> Running in 2e430bb6b403 [2024-07-26T01:10:27.168Z] Removing intermediate container 2e430bb6b403 [2024-07-26T01:10:27.169Z] ---> 578bd6bbc5d8 [2024-07-26T01:10:27.169Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-26T01:10:27.169Z] ---> Running in 97b2cf8bbc96 [2024-07-26T01:10:27.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-26T01:10:27.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-26T01:10:27.688Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-26T01:10:27.688Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-26T01:10:27.688Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-26T01:10:27.953Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-26T01:10:27.953Z] Executing busybox-1.36.1-r5.trigger [2024-07-26T01:10:27.953Z] OK: 268 MiB in 56 packages [2024-07-26T01:10:28.215Z] Removing intermediate container 97b2cf8bbc96 [2024-07-26T01:10:28.215Z] ---> 8ee45b26d111 [2024-07-26T01:10:28.215Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-26T01:10:28.215Z] ---> Running in d7060b989574 [2024-07-26T01:10:28.474Z] Removing intermediate container d7060b989574 [2024-07-26T01:10:28.474Z] ---> 2c9b182ac98b [2024-07-26T01:10:28.474Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-26T01:10:28.474Z] ---> 7e413eb3b07e [2024-07-26T01:10:28.474Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-26T01:10:28.474Z] ---> Running in 5e2d1040c2de [2024-07-26T01:10:31.098Z] Still waiting to schedule task [2024-07-26T01:10:31.098Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6481’ [2024-07-26T01:11:24.733Z] Removing intermediate container 5e2d1040c2de [2024-07-26T01:11:24.733Z] ---> e31013a768af [2024-07-26T01:11:24.733Z] Step 11/12 : COPY . . [2024-07-26T01:11:24.733Z] ---> 69a5d560ec7c [2024-07-26T01:11:24.733Z] Step 12/12 : RUN $MAKE [2024-07-26T01:11:24.733Z] ---> Running in 545a2d142918 [2024-07-26T01:11:24.733Z] noop [2024-07-26T01:11:24.733Z] Removing intermediate container 545a2d142918 [2024-07-26T01:11:24.733Z] ---> 5db2a8f4b363 [2024-07-26T01:11:24.733Z] Successfully built 5db2a8f4b363 [2024-07-26T01:11:24.733Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:11:25.226Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-26T01:11:25.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T01:11:25.404Z] prd-ubuntu20.04-docker-8c-8g-6483 does not seem to be running inside a container [2024-07-26T01:11:25.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-684 -v /w/workspace/gexfoundry_device-mqtt-go_PR-684:/w/workspace/gexfoundry_device-mqtt-go_PR-684:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-684@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-x86_64 cat [2024-07-26T01:11:25.775Z] $ docker top ed2f4bf93824048ec581defda56dea7fcf75795953528960d7c436fd4d747d05 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T01:11:26.190Z] + go version [2024-07-26T01:11:26.190Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-26T01:11:26.227Z] $ docker stop --time=1 ed2f4bf93824048ec581defda56dea7fcf75795953528960d7c436fd4d747d05 [2024-07-26T01:11:27.456Z] $ docker rm -f --volumes ed2f4bf93824048ec581defda56dea7fcf75795953528960d7c436fd4d747d05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:11:28.235Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-26T01:11:28.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T01:11:28.415Z] prd-ubuntu20.04-docker-8c-8g-6483 does not seem to be running inside a container [2024-07-26T01:11:28.446Z] $ 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-684 -v /w/workspace/gexfoundry_device-mqtt-go_PR-684:/w/workspace/gexfoundry_device-mqtt-go_PR-684:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-684@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-x86_64 cat [2024-07-26T01:11:28.749Z] $ docker top bf35e1c87ad8368cfe3763d8ee3ccb1ec6c23bc4b6a62c6d89e778010d26dd85 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T01:11:29.170Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-684 [Pipeline] fileExists [Pipeline] sh [2024-07-26T01:11:29.563Z] + make test [2024-07-26T01:11:29.563Z] go test ./... -coverprofile=coverage.out ./... [2024-07-26T01:11:30.499Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-26T01:11:48.626Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-26T01:11:48.626Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-26T01:11:48.626Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.8% of statements [2024-07-26T01:11:55.190Z] go vet ./... [2024-07-26T01:12:01.344Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-26T01:12:01.344Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-26T01:12:01.344Z] ./bin/test-attribution-txt.sh [2024-07-26T01:12:01.344Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-26T01:12:01.344Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-26T01:12:01.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-26T01:12:01.436Z] $ docker stop --time=1 bf35e1c87ad8368cfe3763d8ee3ccb1ec6c23bc4b6a62c6d89e778010d26dd85 [2024-07-26T01:12:02.790Z] $ docker rm -f --volumes bf35e1c87ad8368cfe3763d8ee3ccb1ec6c23bc4b6a62c6d89e778010d26dd85 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-26T01:12:03.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-26T01:12:03.484Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-26T01:12:04.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-26T01:12:04.715Z] + ls -al . [2024-07-26T01:12:04.715Z] total 252 [2024-07-26T01:12:04.715Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 01:11 . [2024-07-26T01:12:04.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 01:09 .. [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 26 01:09 .dockerignore [2024-07-26T01:12:04.715Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:11 .git [2024-07-26T01:12:04.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:09 .github [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 26 01:09 .gitignore [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 01:09 .golangci.yml [2024-07-26T01:12:04.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 01:10 .semver [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 26 01:09 Attribution.txt [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 26 01:09 CHANGELOG.md [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 26 01:09 Dockerfile [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 01:09 GOVERNANCE.md [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 26 01:09 Jenkinsfile [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 26 01:09 LICENSE [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 26 01:09 Makefile [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 26 01:09 OWNERS.md [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 26 01:09 README.md [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 01:10 VERSION [2024-07-26T01:12:04.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:09 bin [2024-07-26T01:12:04.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:09 cmd [2024-07-26T01:12:04.715Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 26 01:11 coverage.out [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 7065 Jul 26 01:09 go.mod [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 26 01:09 go.sum [2024-07-26T01:12:04.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:09 internal [2024-07-26T01:12:04.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:09 mock [2024-07-26T01:12:04.715Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 26 01:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:12:05.156Z] + 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=0561ba6ee73f9f90ab72e028b4faf630360d42a2 --label arch=amd64 --label version=0.0.0 . [2024-07-26T01:12:05.156Z] Sending build context to Docker daemon 20.83MB [2024-07-26T01:12:05.156Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-26T01:12:05.156Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-26T01:12:05.156Z] ---> 5db2a8f4b363 [2024-07-26T01:12:05.156Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-26T01:12:05.156Z] ---> Running in 87bbf1c022b4 [2024-07-26T01:12:05.417Z] Removing intermediate container 87bbf1c022b4 [2024-07-26T01:12:05.417Z] ---> be10326f8ff9 [2024-07-26T01:12:05.417Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-26T01:12:05.417Z] ---> Running in 22fb13131de3 [2024-07-26T01:12:05.417Z] Removing intermediate container 22fb13131de3 [2024-07-26T01:12:05.417Z] ---> 56dd9749e047 [2024-07-26T01:12:05.417Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-26T01:12:05.417Z] ---> Running in e800039e1cb5 [2024-07-26T01:12:05.417Z] Removing intermediate container e800039e1cb5 [2024-07-26T01:12:05.417Z] ---> d63e441a23a6 [2024-07-26T01:12:05.417Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-26T01:12:05.679Z] ---> Running in eb180e1eeff8 [2024-07-26T01:12:05.679Z] Removing intermediate container eb180e1eeff8 [2024-07-26T01:12:05.679Z] ---> efe1bcd3ecbc [2024-07-26T01:12:05.679Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-26T01:12:05.679Z] ---> Running in 1074e5dbff73 [2024-07-26T01:12:05.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-26T01:12:06.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-26T01:12:06.456Z] OK: 268 MiB in 56 packages [2024-07-26T01:12:06.716Z] Removing intermediate container 1074e5dbff73 [2024-07-26T01:12:06.716Z] ---> 7d789d95b753 [2024-07-26T01:12:06.716Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-26T01:12:06.716Z] ---> Running in d736ce2527b8 [2024-07-26T01:12:06.716Z] Removing intermediate container d736ce2527b8 [2024-07-26T01:12:06.716Z] ---> 925040d969fe [2024-07-26T01:12:06.716Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-26T01:12:06.976Z] ---> 233274114361 [2024-07-26T01:12:06.976Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-26T01:12:06.976Z] ---> Running in 25bf95799bc6 [2024-07-26T01:12:07.543Z] Removing intermediate container 25bf95799bc6 [2024-07-26T01:12:07.543Z] ---> 7d4f6e825e7f [2024-07-26T01:12:07.543Z] Step 11/25 : COPY . . [2024-07-26T01:12:08.111Z] ---> 7a4f4f789bcc [2024-07-26T01:12:08.111Z] Step 12/25 : RUN $MAKE [2024-07-26T01:12:08.111Z] ---> Running in 0b89831d272d [2024-07-26T01:12:08.111Z] 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.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-26T01:12:40.194Z] Removing intermediate container 0b89831d272d [2024-07-26T01:12:40.194Z] ---> 254b54f66607 [2024-07-26T01:12:40.194Z] Step 13/25 : FROM alpine:3.18 [2024-07-26T01:12:40.194Z] 3.18: Pulling from library/alpine [2024-07-26T01:12:40.194Z] 930bdd4d222e: Pulling fs layer [2024-07-26T01:12:40.194Z] 930bdd4d222e: Verifying Checksum [2024-07-26T01:12:40.194Z] 930bdd4d222e: Download complete [2024-07-26T01:12:40.194Z] 930bdd4d222e: Pull complete [2024-07-26T01:12:40.194Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-26T01:12:40.194Z] Status: Downloaded newer image for alpine:3.18 [2024-07-26T01:12:40.194Z] ---> 18f865063206 [2024-07-26T01:12:40.194Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-26T01:12:40.194Z] ---> Running in a7170a72dc5e [2024-07-26T01:12:40.194Z] Removing intermediate container a7170a72dc5e [2024-07-26T01:12:40.194Z] ---> 384aa21475da [2024-07-26T01:12:40.194Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-26T01:12:40.194Z] ---> Running in 79010592e5fa [2024-07-26T01:12:40.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-26T01:12:40.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-26T01:12:40.194Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-26T01:12:40.194Z] Executing busybox-1.36.1-r7.trigger [2024-07-26T01:12:40.194Z] OK: 7 MiB in 16 packages [2024-07-26T01:12:40.195Z] Removing intermediate container 79010592e5fa [2024-07-26T01:12:40.195Z] ---> c69a0d464a69 [2024-07-26T01:12:40.195Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-26T01:12:40.195Z] ---> Running in 2677f12dea08 [2024-07-26T01:12:40.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-26T01:12:40.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-26T01:12:40.195Z] OK: 7 MiB in 16 packages [2024-07-26T01:12:40.195Z] Removing intermediate container 2677f12dea08 [2024-07-26T01:12:40.195Z] ---> 8bb327cfc74a [2024-07-26T01:12:40.195Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-26T01:12:40.195Z] ---> 511f741556df [2024-07-26T01:12:40.195Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-26T01:12:40.195Z] ---> 343feecaa498 [2024-07-26T01:12:40.195Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-26T01:12:40.195Z] ---> 304d278eccf3 [2024-07-26T01:12:40.195Z] Step 20/25 : EXPOSE 59982 [2024-07-26T01:12:40.195Z] ---> Running in c932a8fe2f87 [2024-07-26T01:12:40.195Z] Removing intermediate container c932a8fe2f87 [2024-07-26T01:12:40.195Z] ---> 904825764a96 [2024-07-26T01:12:40.195Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-26T01:12:40.195Z] ---> Running in a2c8d93886d5 [2024-07-26T01:12:40.195Z] Removing intermediate container a2c8d93886d5 [2024-07-26T01:12:40.195Z] ---> 1b4bcbce34ed [2024-07-26T01:12:40.195Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-26T01:12:40.195Z] ---> Running in e4a7902a010d [2024-07-26T01:12:40.195Z] Removing intermediate container e4a7902a010d [2024-07-26T01:12:40.195Z] ---> 279a6aba248f [2024-07-26T01:12:40.195Z] Step 23/25 : LABEL arch=amd64 [2024-07-26T01:12:40.195Z] ---> Running in 73f3021bd2bf [2024-07-26T01:12:40.195Z] Removing intermediate container 73f3021bd2bf [2024-07-26T01:12:40.195Z] ---> e50e390d7073 [2024-07-26T01:12:40.195Z] Step 24/25 : LABEL git_sha=0561ba6ee73f9f90ab72e028b4faf630360d42a2 [2024-07-26T01:12:40.195Z] ---> Running in 81cbff8830e4 [2024-07-26T01:12:40.195Z] Removing intermediate container 81cbff8830e4 [2024-07-26T01:12:40.195Z] ---> dfe62d0f85ca [2024-07-26T01:12:40.195Z] Step 25/25 : LABEL version=0.0.0 [2024-07-26T01:12:40.195Z] ---> Running in 3f0d66c8295f [2024-07-26T01:12:40.195Z] Removing intermediate container 3f0d66c8295f [2024-07-26T01:12:40.195Z] ---> 7f2847996b35 [2024-07-26T01:12:40.195Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-26T01:12:40.195Z] Successfully built 7f2847996b35 [2024-07-26T01:12:40.195Z] 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-26T01:12:41.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-26T01:12:41.268Z] [2024-07-26T01:12:41.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:12:41.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-26T01:12:41.668Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-26T01:12:41.668Z] 5eb5b503b376: Pulling fs layer [2024-07-26T01:12:41.668Z] 5c69ac0246d0: Pulling fs layer [2024-07-26T01:12:41.668Z] ec43610c2a17: Pulling fs layer [2024-07-26T01:12:41.668Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-26T01:12:41.668Z] 33b1e0a273af: Pulling fs layer [2024-07-26T01:12:41.668Z] 5d3b04190fa2: Pulling fs layer [2024-07-26T01:12:41.668Z] 2f39f015ded8: Pulling fs layer [2024-07-26T01:12:41.668Z] 33b1e0a273af: Waiting [2024-07-26T01:12:41.668Z] 3a2ae6a8a46f: Waiting [2024-07-26T01:12:41.668Z] 5d3b04190fa2: Waiting [2024-07-26T01:12:41.668Z] 2f39f015ded8: Waiting [2024-07-26T01:12:41.668Z] 5c69ac0246d0: Verifying Checksum [2024-07-26T01:12:41.668Z] 5c69ac0246d0: Download complete [2024-07-26T01:12:41.668Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-26T01:12:41.668Z] 3a2ae6a8a46f: Download complete [2024-07-26T01:12:41.668Z] 33b1e0a273af: Verifying Checksum [2024-07-26T01:12:41.668Z] 33b1e0a273af: Download complete [2024-07-26T01:12:41.668Z] ec43610c2a17: Verifying Checksum [2024-07-26T01:12:41.668Z] ec43610c2a17: Download complete [2024-07-26T01:12:41.668Z] 5d3b04190fa2: Verifying Checksum [2024-07-26T01:12:41.668Z] 5d3b04190fa2: Download complete [2024-07-26T01:12:41.929Z] 5eb5b503b376: Download complete [2024-07-26T01:12:42.497Z] 2f39f015ded8: Download complete [2024-07-26T01:12:43.065Z] 5eb5b503b376: Pull complete [2024-07-26T01:12:43.065Z] 5c69ac0246d0: Pull complete [2024-07-26T01:12:43.631Z] ec43610c2a17: Pull complete [2024-07-26T01:12:43.631Z] 3a2ae6a8a46f: Pull complete [2024-07-26T01:12:43.889Z] 33b1e0a273af: Pull complete [2024-07-26T01:12:43.889Z] 5d3b04190fa2: Pull complete [2024-07-26T01:12:48.085Z] 2f39f015ded8: Pull complete [2024-07-26T01:12:48.085Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-26T01:12:48.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-26T01:12:48.085Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T01:12:48.344Z] prd-ubuntu20.04-docker-8c-8g-6483 does not seem to be running inside a container [2024-07-26T01:12:48.378Z] $ 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-684 -v /w/workspace/gexfoundry_device-mqtt-go_PR-684:/w/workspace/gexfoundry_device-mqtt-go_PR-684:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-684@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-26T01:12:49.688Z] $ docker top bd693a57b8c74ed0dede4736006ea7bc46d79f6113a31d5acb81c4e40e32f1d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:12:50.191Z] ---> job-cost.sh [2024-07-26T01:12:50.191Z] lf-activate-venv: SKIPPING [2024-07-26T01:12:50.191Z] INFO: No Stack... [2024-07-26T01:12:50.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-26T01:12:51.097Z] INFO: Archiving Costs [Pipeline] sh [2024-07-26T01:12:51.427Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-684/archives/cost.csv [2024-07-26T01:12:51.427Z] + cut -d, -f6 [Pipeline] lock [2024-07-26T01:12:51.479Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-684-1-stack-cost] [2024-07-26T01:12:51.485Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-684-1-stack-cost] did not exist. Created. [2024-07-26T01:12:51.491Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-684-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-26T01:12:51.908Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-26T01:12:51.960Z] Stashed 1 file(s) [Pipeline] } [2024-07-26T01:12:51.996Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-684-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-26T01:12:52.091Z] $ docker stop --time=1 bd693a57b8c74ed0dede4736006ea7bc46d79f6113a31d5acb81c4e40e32f1d2 [2024-07-26T01:12:53.226Z] $ docker rm -f --volumes bd693a57b8c74ed0dede4736006ea7bc46d79f6113a31d5acb81c4e40e32f1d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-26T01:13:55.209Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6484 in /w/workspace/gexfoundry_device-mqtt-go_PR-684 [Pipeline] { [Pipeline] ws [2024-07-26T01:13:55.289Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-07-26T01:13:55.379Z] The recommended git tool is: git [2024-07-26T01:14:00.139Z] using credential edgex-jenkins-ssh [2024-07-26T01:14:00.165Z] Cloning the remote Git repository [2024-07-26T01:14:00.200Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-26T01:14:00.280Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-07-26T01:14:00.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-26T01:14:00.401Z] > git --version # timeout=10 [2024-07-26T01:14:00.430Z] > git --version # 'git version 2.25.1' [2024-07-26T01:14:00.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-26T01:14:01.093Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-26T01:14:03.603Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-26T01:14:03.624Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-26T01:14:04.962Z] Merging remotes/origin/main commit 451ce87ac5af399cf23a8dbe18d868ad027d5dd8 into PR head commit 0561ba6ee73f9f90ab72e028b4faf630360d42a2 [2024-07-26T01:14:05.233Z] Merge succeeded, producing 0561ba6ee73f9f90ab72e028b4faf630360d42a2 [2024-07-26T01:14:05.233Z] Checking out Revision 0561ba6ee73f9f90ab72e028b4faf630360d42a2 (PR-684) [2024-07-26T01:14:04.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-26T01:14:04.472Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-26T01:14:04.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-26T01:14:04.497Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/684/head:refs/remotes/origin/PR-684 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-26T01:14:04.980Z] > git config core.sparsecheckout # timeout=10 [2024-07-26T01:14:05.045Z] > git checkout -f 0561ba6ee73f9f90ab72e028b4faf630360d42a2 # timeout=10 [2024-07-26T01:14:05.130Z] > git remote # timeout=10 [2024-07-26T01:14:05.150Z] > git config --get remote.origin.url # timeout=10 [2024-07-26T01:14:05.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-26T01:14:05.185Z] > git merge 451ce87ac5af399cf23a8dbe18d868ad027d5dd8 # timeout=10 [2024-07-26T01:14:05.216Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-26T01:14:05.237Z] > git config core.sparsecheckout # timeout=10 [2024-07-26T01:14:05.253Z] > git checkout -f 0561ba6ee73f9f90ab72e028b4faf630360d42a2 # timeout=10 [2024-07-26T01:14:05.760Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-26T01:14:05.811Z] > git --version # timeout=10 [2024-07-26T01:14:05.822Z] > git --version # 'git version 2.25.1' [2024-07-26T01:14:05.836Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-26T01:14:10.735Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-26T01:14:10.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-26T01:14:10.735Z] Dload Upload Total Spent Left Speed [2024-07-26T01:14:10.735Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 69717 0 --:--:-- --:--:-- --:--:-- 70098 [Pipeline] sh [2024-07-26T01:14:11.084Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-26T01:14:11.438Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-07-26T01:14:11.438Z] /etc/docker/daemon.json [2024-07-26T01:14:11.438Z] { [2024-07-26T01:14:11.438Z] "registry-mirrors": [ [2024-07-26T01:14:11.438Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-26T01:14:11.438Z] ], [2024-07-26T01:14:11.438Z] "bip": "10.250.0.254/24", [2024-07-26T01:14:11.438Z] "hosts": [ [2024-07-26T01:14:11.438Z] "tcp://0.0.0.0:5555", [2024-07-26T01:14:11.438Z] "unix:///var/run/docker.sock" [2024-07-26T01:14:11.438Z] ], [2024-07-26T01:14:11.438Z] "mtu": 1458, [2024-07-26T01:14:11.438Z] "selinux-enabled": true, [2024-07-26T01:14:11.438Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-26T01:14:11.438Z] } [Pipeline] sh [2024-07-26T01:14:11.787Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-26T01:14:12.137Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-26T01:14:30.469Z] provisioning config files... [2024-07-26T01:14:30.494Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5979123032403648535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:14:30.994Z] ---> ****-login.sh [2024-07-26T01:14:30.994Z] nexus3.edgexfoundry.org:10001 [2024-07-26T01:14:31.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:14:31.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:14:31.534Z] Configure a credential helper to remove this warning. See [2024-07-26T01:14:31.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:14:31.534Z] [2024-07-26T01:14:31.534Z] Login Succeeded [2024-07-26T01:14:31.534Z] nexus3.edgexfoundry.org:10002 [2024-07-26T01:14:31.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:14:32.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:14:32.074Z] Configure a credential helper to remove this warning. See [2024-07-26T01:14:32.074Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:14:32.074Z] [2024-07-26T01:14:32.074Z] Login Succeeded [2024-07-26T01:14:32.074Z] nexus3.edgexfoundry.org:10003 [2024-07-26T01:14:32.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:14:32.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:14:32.345Z] Configure a credential helper to remove this warning. See [2024-07-26T01:14:32.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:14:32.345Z] [2024-07-26T01:14:32.345Z] Login Succeeded [2024-07-26T01:14:32.345Z] nexus3.edgexfoundry.org:10004 [2024-07-26T01:14:32.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:14:32.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:14:32.619Z] Configure a credential helper to remove this warning. See [2024-07-26T01:14:32.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:14:32.619Z] [2024-07-26T01:14:32.619Z] Login Succeeded [2024-07-26T01:14:32.619Z] ****.io [2024-07-26T01:14:32.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T01:14:33.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T01:14:33.158Z] Configure a credential helper to remove this warning. See [2024-07-26T01:14:33.158Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T01:14:33.158Z] [2024-07-26T01:14:33.158Z] Login Succeeded [2024-07-26T01:14:33.158Z] ---> ****-login.sh ends [Pipeline] } [2024-07-26T01:14:33.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-26T01:14:33.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-26T01:14:33.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-26T01:14:33.777Z] ========================================================= [2024-07-26T01:14:33.777Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-26T01:14:33.777Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:14:34.350Z] + 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-26T01:14:34.618Z] Sending build context to Docker daemon 10.52MB [2024-07-26T01:14:34.888Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-26T01:14:34.888Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-26T01:14:34.888Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-26T01:14:34.888Z] c6b39de5b339: Pulling fs layer [2024-07-26T01:14:34.888Z] a69c41024577: Pulling fs layer [2024-07-26T01:14:34.888Z] d6de4b400683: Pulling fs layer [2024-07-26T01:14:34.888Z] 35cb2a7552d0: Pulling fs layer [2024-07-26T01:14:34.888Z] 35cb2a7552d0: Waiting [2024-07-26T01:14:34.888Z] 4f4fb700ef54: Pulling fs layer [2024-07-26T01:14:34.888Z] 464afbd9ba4c: Pulling fs layer [2024-07-26T01:14:34.888Z] 4f4fb700ef54: Waiting [2024-07-26T01:14:34.888Z] 00f215d4a9da: Pulling fs layer [2024-07-26T01:14:34.888Z] d496ad576159: Pulling fs layer [2024-07-26T01:14:34.888Z] 464afbd9ba4c: Waiting [2024-07-26T01:14:34.888Z] 00f215d4a9da: Waiting [2024-07-26T01:14:34.888Z] d496ad576159: Waiting [2024-07-26T01:14:34.888Z] a69c41024577: Download complete [2024-07-26T01:14:34.888Z] 35cb2a7552d0: Verifying Checksum [2024-07-26T01:14:34.888Z] 35cb2a7552d0: Download complete [2024-07-26T01:14:34.888Z] 4f4fb700ef54: Verifying Checksum [2024-07-26T01:14:34.888Z] 4f4fb700ef54: Download complete [2024-07-26T01:14:35.154Z] c6b39de5b339: Verifying Checksum [2024-07-26T01:14:35.154Z] c6b39de5b339: Download complete [2024-07-26T01:14:35.154Z] 464afbd9ba4c: Verifying Checksum [2024-07-26T01:14:35.154Z] 464afbd9ba4c: Download complete [2024-07-26T01:14:35.424Z] d496ad576159: Download complete [2024-07-26T01:14:36.006Z] c6b39de5b339: Pull complete [2024-07-26T01:14:36.587Z] a69c41024577: Pull complete [2024-07-26T01:14:36.853Z] d6de4b400683: Verifying Checksum [2024-07-26T01:14:36.853Z] d6de4b400683: Download complete [2024-07-26T01:14:37.810Z] 00f215d4a9da: Verifying Checksum [2024-07-26T01:14:37.810Z] 00f215d4a9da: Download complete [2024-07-26T01:14:50.124Z] d6de4b400683: Pull complete [2024-07-26T01:14:50.124Z] 35cb2a7552d0: Pull complete [2024-07-26T01:14:50.124Z] 4f4fb700ef54: Pull complete [2024-07-26T01:14:50.124Z] 464afbd9ba4c: Pull complete [2024-07-26T01:14:58.338Z] 00f215d4a9da: Pull complete [2024-07-26T01:14:59.778Z] d496ad576159: Pull complete [2024-07-26T01:14:59.778Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-26T01:14:59.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-26T01:14:59.778Z] ---> f246e2811388 [2024-07-26T01:14:59.778Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-26T01:15:01.740Z] ---> Running in 0f13c75e71f4 [2024-07-26T01:15:01.740Z] Removing intermediate container 0f13c75e71f4 [2024-07-26T01:15:01.740Z] ---> c073f4d6b06e [2024-07-26T01:15:01.740Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-26T01:15:02.007Z] ---> Running in fea9d58b1fee [2024-07-26T01:15:02.274Z] Removing intermediate container fea9d58b1fee [2024-07-26T01:15:02.274Z] ---> 875c843943c3 [2024-07-26T01:15:02.274Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-26T01:15:02.274Z] ---> Running in c0f5e43fe23d [2024-07-26T01:15:02.545Z] Removing intermediate container c0f5e43fe23d [2024-07-26T01:15:02.545Z] ---> 5dbe4f96b20f [2024-07-26T01:15:02.545Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-26T01:15:02.812Z] ---> Running in ca235e7d8438 [2024-07-26T01:15:03.079Z] Removing intermediate container ca235e7d8438 [2024-07-26T01:15:03.079Z] ---> 03e095f3af46 [2024-07-26T01:15:03.079Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-26T01:15:03.079Z] ---> Running in 37ce271c211e [2024-07-26T01:15:04.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-26T01:15:04.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-26T01:15:05.587Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-26T01:15:05.587Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-26T01:15:05.587Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-26T01:15:05.587Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-26T01:15:05.587Z] Executing busybox-1.36.1-r5.trigger [2024-07-26T01:15:05.587Z] OK: 271 MiB in 56 packages [2024-07-26T01:15:06.552Z] Removing intermediate container 37ce271c211e [2024-07-26T01:15:06.552Z] ---> 4ba1351b9158 [2024-07-26T01:15:06.552Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-26T01:15:06.552Z] ---> Running in 4aad9bba27fc [2024-07-26T01:15:06.820Z] Removing intermediate container 4aad9bba27fc [2024-07-26T01:15:06.820Z] ---> d4f03bb88c72 [2024-07-26T01:15:06.820Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-26T01:15:07.403Z] ---> 5c7214916769 [2024-07-26T01:15:07.403Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-26T01:15:07.403Z] ---> Running in 720afa596766 [2024-07-26T01:16:59.069Z] Removing intermediate container 720afa596766 [2024-07-26T01:16:59.069Z] ---> 6190238ba94b [2024-07-26T01:16:59.069Z] Step 11/12 : COPY . . [2024-07-26T01:16:59.069Z] ---> 4994174c08cc [2024-07-26T01:16:59.069Z] Step 12/12 : RUN $MAKE [2024-07-26T01:16:59.069Z] ---> Running in 2cc8e2cf2872 [2024-07-26T01:16:59.069Z] noop [2024-07-26T01:16:59.069Z] Removing intermediate container 2cc8e2cf2872 [2024-07-26T01:16:59.069Z] ---> 96a734533eca [2024-07-26T01:16:59.069Z] Successfully built 96a734533eca [2024-07-26T01:16:59.069Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:16:59.606Z] + docker inspect -f . ci-base-image-arm64 [2024-07-26T01:16:59.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T01:16:59.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-6484 does not seem to be running inside a container [2024-07-26T01:17:00.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-26T01:17:01.198Z] $ docker top 42568f24ed4fbf5a1b7be6df00322018df16a1fb640ab52c09605795b96b7ab1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T01:17:02.129Z] + go version [2024-07-26T01:17:02.129Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-26T01:17:02.171Z] $ docker stop --time=1 42568f24ed4fbf5a1b7be6df00322018df16a1fb640ab52c09605795b96b7ab1 [2024-07-26T01:17:03.752Z] $ docker rm -f --volumes 42568f24ed4fbf5a1b7be6df00322018df16a1fb640ab52c09605795b96b7ab1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:17:04.717Z] + docker inspect -f . ci-base-image-arm64 [2024-07-26T01:17:04.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T01:17:04.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-6484 does not seem to be running inside a container [2024-07-26T01:17:05.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-26T01:17:06.140Z] $ docker top b16441c169ae16531b2929256511698e9deecd8cde8fbb13bc92449c55a6ea75 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T01:17:06.725Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-26T01:17:07.708Z] + make test [2024-07-26T01:17:07.708Z] go test ./... -coverprofile=coverage.out ./... [2024-07-26T01:17:13.035Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-26T01:20:49.807Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-26T01:20:49.807Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-26T01:20:49.807Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.046s coverage: 22.8% of statements [2024-07-26T01:20:49.807Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-26T01:20:49.807Z] go vet ./... [2024-07-26T01:21:36.654Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-26T01:21:36.654Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-26T01:21:36.654Z] ./bin/test-attribution-txt.sh [2024-07-26T01:21:36.654Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-26T01:21:36.654Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-26T01:21:36.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-26T01:21:36.818Z] $ docker stop --time=1 b16441c169ae16531b2929256511698e9deecd8cde8fbb13bc92449c55a6ea75 [2024-07-26T01:21:38.615Z] $ docker rm -f --volumes b16441c169ae16531b2929256511698e9deecd8cde8fbb13bc92449c55a6ea75 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-26T01:21:40.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-26T01:21:40.151Z] Warning: overwriting stash ‘coverage-report’ [2024-07-26T01:21:40.565Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-26T01:21:41.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-26T01:21:41.551Z] + ls -al . [2024-07-26T01:21:41.551Z] total 248 [2024-07-26T01:21:41.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:17 . [2024-07-26T01:21:41.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 01:14 .. [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 26 01:14 .dockerignore [2024-07-26T01:21:41.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 01:14 .git [2024-07-26T01:21:41.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:14 .github [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 26 01:14 .gitignore [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 01:14 .golangci.yml [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 26 01:14 Attribution.txt [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 26 01:14 CHANGELOG.md [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 26 01:14 Dockerfile [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 01:14 GOVERNANCE.md [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 26 01:14 Jenkinsfile [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 26 01:14 LICENSE [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 26 01:14 Makefile [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 26 01:14 OWNERS.md [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 26 01:14 README.md [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 01:10 VERSION [2024-07-26T01:21:41.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:14 bin [2024-07-26T01:21:41.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:14 cmd [2024-07-26T01:21:41.551Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 26 01:20 coverage.out [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 7065 Jul 26 01:14 go.mod [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 26 01:14 go.sum [2024-07-26T01:21:41.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 01:14 internal [2024-07-26T01:21:41.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 01:14 mock [2024-07-26T01:21:41.551Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 26 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:21:41.996Z] + 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=0561ba6ee73f9f90ab72e028b4faf630360d42a2 --label arch=arm64 --label version=0.0.0 . [2024-07-26T01:21:42.266Z] Sending build context to Docker daemon 10.53MB [2024-07-26T01:21:42.530Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-26T01:21:42.530Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-26T01:21:42.530Z] ---> 96a734533eca [2024-07-26T01:21:42.530Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-26T01:21:42.530Z] ---> Running in 24d4476ff57b [2024-07-26T01:21:42.795Z] Removing intermediate container 24d4476ff57b [2024-07-26T01:21:42.795Z] ---> cb36b8325926 [2024-07-26T01:21:42.795Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-26T01:21:42.795Z] ---> Running in d19d3e90f5f2 [2024-07-26T01:21:43.076Z] Removing intermediate container d19d3e90f5f2 [2024-07-26T01:21:43.076Z] ---> 06488326d76b [2024-07-26T01:21:43.076Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-26T01:21:43.343Z] ---> Running in 4679e3e320d6 [2024-07-26T01:21:43.609Z] Removing intermediate container 4679e3e320d6 [2024-07-26T01:21:43.609Z] ---> 15311a1794df [2024-07-26T01:21:43.609Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-26T01:21:43.609Z] ---> Running in b55959e3b290 [2024-07-26T01:21:43.874Z] Removing intermediate container b55959e3b290 [2024-07-26T01:21:43.874Z] ---> 6df8655d7000 [2024-07-26T01:21:43.874Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-26T01:21:43.874Z] ---> Running in c8518e6b7a62 [2024-07-26T01:21:44.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-26T01:21:45.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-26T01:21:46.369Z] OK: 271 MiB in 56 packages [2024-07-26T01:21:46.950Z] Removing intermediate container c8518e6b7a62 [2024-07-26T01:21:46.950Z] ---> 4ad3ea2959a2 [2024-07-26T01:21:46.950Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-26T01:21:47.215Z] ---> Running in 9193e537b5dc [2024-07-26T01:21:47.480Z] Removing intermediate container 9193e537b5dc [2024-07-26T01:21:47.480Z] ---> 63523da93cd3 [2024-07-26T01:21:47.480Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-26T01:21:47.752Z] ---> f914172217f5 [2024-07-26T01:21:47.752Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-26T01:21:48.023Z] ---> Running in d6fbf8d6c384 [2024-07-26T01:21:49.958Z] Removing intermediate container d6fbf8d6c384 [2024-07-26T01:21:49.958Z] ---> 4f7347273389 [2024-07-26T01:21:49.958Z] Step 11/25 : COPY . . [2024-07-26T01:21:51.368Z] ---> 9f2b6cd45e6e [2024-07-26T01:21:51.368Z] Step 12/25 : RUN $MAKE [2024-07-26T01:21:51.368Z] ---> Running in 5d906c8e6010 [2024-07-26T01:21:52.322Z] 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.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-26T01:25:14.081Z] Removing intermediate container 5d906c8e6010 [2024-07-26T01:25:14.081Z] ---> 011b14a1b7f1 [2024-07-26T01:25:14.081Z] Step 13/25 : FROM alpine:3.18 [2024-07-26T01:25:14.081Z] 3.18: Pulling from library/alpine [2024-07-26T01:25:14.081Z] 4983c3fe2029: Pulling fs layer [2024-07-26T01:25:14.081Z] 4983c3fe2029: Verifying Checksum [2024-07-26T01:25:14.081Z] 4983c3fe2029: Download complete [2024-07-26T01:25:14.081Z] 4983c3fe2029: Pull complete [2024-07-26T01:25:14.081Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-26T01:25:14.081Z] Status: Downloaded newer image for alpine:3.18 [2024-07-26T01:25:14.081Z] ---> a0237000ae83 [2024-07-26T01:25:14.081Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-26T01:25:14.081Z] ---> Running in c65967ed9faf [2024-07-26T01:25:14.081Z] Removing intermediate container c65967ed9faf [2024-07-26T01:25:14.081Z] ---> bafd8e1934b4 [2024-07-26T01:25:14.081Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-26T01:25:14.081Z] ---> Running in cfe02cc614fe [2024-07-26T01:25:14.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-26T01:25:14.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-26T01:25:14.081Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-26T01:25:14.081Z] Executing busybox-1.36.1-r7.trigger [2024-07-26T01:25:14.081Z] OK: 8 MiB in 16 packages [2024-07-26T01:25:14.081Z] Removing intermediate container cfe02cc614fe [2024-07-26T01:25:14.081Z] ---> cd2932bbe9a5 [2024-07-26T01:25:14.081Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-26T01:25:14.081Z] ---> Running in cf01c163c952 [2024-07-26T01:25:15.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-26T01:25:15.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-26T01:25:16.015Z] OK: 8 MiB in 16 packages [2024-07-26T01:25:16.975Z] Removing intermediate container cf01c163c952 [2024-07-26T01:25:16.975Z] ---> daeb86da18d4 [2024-07-26T01:25:16.975Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-26T01:25:18.915Z] ---> 755160e0e710 [2024-07-26T01:25:18.915Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-26T01:25:19.495Z] ---> d4ac371522ea [2024-07-26T01:25:19.495Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-26T01:25:20.076Z] ---> 11798677429f [2024-07-26T01:25:20.076Z] Step 20/25 : EXPOSE 59982 [2024-07-26T01:25:20.076Z] ---> Running in 77e6fca4dd58 [2024-07-26T01:25:20.342Z] Removing intermediate container 77e6fca4dd58 [2024-07-26T01:25:20.342Z] ---> c7f3de57c67e [2024-07-26T01:25:20.342Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-26T01:25:20.342Z] ---> Running in a6a55c28a6f3 [2024-07-26T01:25:20.609Z] Removing intermediate container a6a55c28a6f3 [2024-07-26T01:25:20.609Z] ---> 9fd55a1fb2b1 [2024-07-26T01:25:20.609Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-26T01:25:20.609Z] ---> Running in d0b80457b785 [2024-07-26T01:25:20.876Z] Removing intermediate container d0b80457b785 [2024-07-26T01:25:20.876Z] ---> 7ff718e9d251 [2024-07-26T01:25:20.876Z] Step 23/25 : LABEL arch=arm64 [2024-07-26T01:25:21.144Z] ---> Running in df420769fa60 [2024-07-26T01:25:21.409Z] Removing intermediate container df420769fa60 [2024-07-26T01:25:21.409Z] ---> fa75aff5369d [2024-07-26T01:25:21.409Z] Step 24/25 : LABEL git_sha=0561ba6ee73f9f90ab72e028b4faf630360d42a2 [2024-07-26T01:25:21.409Z] ---> Running in 6489a50a4bc4 [2024-07-26T01:25:21.676Z] Removing intermediate container 6489a50a4bc4 [2024-07-26T01:25:21.676Z] ---> a9d01cbc6791 [2024-07-26T01:25:21.676Z] Step 25/25 : LABEL version=0.0.0 [2024-07-26T01:25:21.676Z] ---> Running in 781eaf759f96 [2024-07-26T01:25:21.944Z] Removing intermediate container 781eaf759f96 [2024-07-26T01:25:21.944Z] ---> 82cde2726557 [2024-07-26T01:25:21.944Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-26T01:25:21.944Z] Successfully built 82cde2726557 [2024-07-26T01:25:22.212Z] 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-26T01:25:23.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-26T01:25:23.152Z] [2024-07-26T01:25:23.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:25:23.577Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-26T01:25:23.577Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-26T01:25:23.577Z] 8998bd30e6a1: Pulling fs layer [2024-07-26T01:25:23.577Z] 04944245beec: Pulling fs layer [2024-07-26T01:25:23.577Z] 699f458cf7ca: Pulling fs layer [2024-07-26T01:25:23.577Z] 765212b225bb: Pulling fs layer [2024-07-26T01:25:23.577Z] f23df028b6ca: Pulling fs layer [2024-07-26T01:25:23.577Z] d65c8cfc05b1: Pulling fs layer [2024-07-26T01:25:23.577Z] 2437ff75d9bd: Pulling fs layer [2024-07-26T01:25:23.577Z] 765212b225bb: Waiting [2024-07-26T01:25:23.577Z] f23df028b6ca: Waiting [2024-07-26T01:25:23.577Z] d65c8cfc05b1: Waiting [2024-07-26T01:25:23.577Z] 2437ff75d9bd: Waiting [2024-07-26T01:25:23.850Z] 04944245beec: Verifying Checksum [2024-07-26T01:25:23.850Z] 04944245beec: Download complete [2024-07-26T01:25:23.850Z] 765212b225bb: Verifying Checksum [2024-07-26T01:25:23.850Z] 765212b225bb: Download complete [2024-07-26T01:25:23.850Z] f23df028b6ca: Download complete [2024-07-26T01:25:23.850Z] d65c8cfc05b1: Verifying Checksum [2024-07-26T01:25:23.850Z] d65c8cfc05b1: Download complete [2024-07-26T01:25:23.851Z] 699f458cf7ca: Verifying Checksum [2024-07-26T01:25:23.851Z] 699f458cf7ca: Download complete [2024-07-26T01:25:24.433Z] 8998bd30e6a1: Verifying Checksum [2024-07-26T01:25:24.433Z] 8998bd30e6a1: Download complete [2024-07-26T01:25:27.022Z] 2437ff75d9bd: Verifying Checksum [2024-07-26T01:25:27.022Z] 2437ff75d9bd: Download complete [2024-07-26T01:25:28.964Z] 8998bd30e6a1: Pull complete [2024-07-26T01:25:29.545Z] 04944245beec: Pull complete [2024-07-26T01:25:30.954Z] 699f458cf7ca: Pull complete [2024-07-26T01:25:31.220Z] 765212b225bb: Pull complete [2024-07-26T01:25:32.178Z] f23df028b6ca: Pull complete [2024-07-26T01:25:32.447Z] d65c8cfc05b1: Pull complete [2024-07-26T01:25:50.730Z] 2437ff75d9bd: Pull complete [2024-07-26T01:25:50.730Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-26T01:25:50.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-26T01:25:50.730Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T01:25:51.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-6484 does not seem to be running inside a container [2024-07-26T01:25:51.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-26T01:25:53.816Z] $ docker top 341ff2a65098b85cc3c482f7df59362ef7be729ffc99d263c0ec874c9e039cfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:25:54.736Z] ---> job-cost.sh [2024-07-26T01:25:54.736Z] lf-activate-venv: SKIPPING [2024-07-26T01:25:54.736Z] INFO: No Stack... [2024-07-26T01:25:55.000Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-26T01:25:55.949Z] INFO: Archiving Costs [Pipeline] sh [2024-07-26T01:25:56.728Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-07-26T01:25:56.728Z] + cut -d, -f6 [Pipeline] lock [2024-07-26T01:25:56.828Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-684-1-stack-cost] [2024-07-26T01:25:56.834Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-684-1-stack-cost] did not exist. Created. [2024-07-26T01:25:56.841Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-684-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-26T01:25:57.617Z] /w/workspace/device-mqtt-go/1@tmp/durable-ae2f4264/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-26T01:25:58.306Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-26T01:25:58.356Z] Warning: overwriting stash ‘stack-cost’ [2024-07-26T01:25:58.400Z] Stashed 1 file(s) [Pipeline] } [2024-07-26T01:25:58.422Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-684-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-26T01:25:58.508Z] $ docker stop --time=1 341ff2a65098b85cc3c482f7df59362ef7be729ffc99d263c0ec874c9e039cfd [2024-07-26T01:25:59.997Z] $ docker rm -f --volumes 341ff2a65098b85cc3c482f7df59362ef7be729ffc99d263c0ec874c9e039cfd [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-26T01:26:01.252Z] provisioning config files... [2024-07-26T01:26:01.260Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp/config5297650429119135379tmp [Pipeline] { [Pipeline] sh [2024-07-26T01:26:01.617Z] + set +x [2024-07-26T01:26:01.617Z] + bash -s -- [2024-07-26T01:26:01.617Z] + curl -s https://codecov.io/bash [2024-07-26T01:26:01.617Z] [2024-07-26T01:26:01.617Z] _____ _ [2024-07-26T01:26:01.617Z] / ____| | | [2024-07-26T01:26:01.617Z] | | ___ __| | ___ ___ _____ __ [2024-07-26T01:26:01.617Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-26T01:26:01.617Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-26T01:26:01.617Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-26T01:26:01.617Z] Bash-1.0.6 [2024-07-26T01:26:01.617Z] [2024-07-26T01:26:01.617Z] [2024-07-26T01:26:01.617Z] ==> git version 2.25.1 found [2024-07-26T01:26:01.617Z] ==> 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-26T01:26:01.617Z] Release-Date: 2020-01-08 [2024-07-26T01:26:01.617Z] 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-26T01:26:01.617Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-26T01:26:01.617Z] ==> Jenkins CI detected. [2024-07-26T01:26:01.617Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-684 [2024-07-26T01:26:01.617Z] project root: . [2024-07-26T01:26:01.617Z] --> token set from env [2024-07-26T01:26:01.617Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-26T01:26:01.879Z] ==> Running gcov in . (disable via -X gcov) [2024-07-26T01:26:01.879Z] ==> Python coveragepy not found [2024-07-26T01:26:01.879Z] ==> Searching for coverage reports in: [2024-07-26T01:26:01.879Z] + . [2024-07-26T01:26:01.879Z] -> Found 1 reports [2024-07-26T01:26:01.879Z] ==> Detecting git/mercurial file structure [2024-07-26T01:26:01.879Z] ==> Reading reports [2024-07-26T01:26:01.879Z] + ./coverage.out bytes=18506 [2024-07-26T01:26:01.879Z] ==> Appending adjustments [2024-07-26T01:26:01.879Z] https://docs.codecov.io/docs/fixing-reports [2024-07-26T01:26:01.879Z] + Found adjustments [2024-07-26T01:26:01.879Z] ==> Gzipping contents [2024-07-26T01:26:01.879Z] 4.0K /tmp/codecov.Kta1gD.gz [2024-07-26T01:26:01.879Z] ==> Uploading reports [2024-07-26T01:26:01.879Z] url: https://codecov.io [2024-07-26T01:26:01.879Z] query: branch=PR-684&commit=0561ba6ee73f9f90ab72e028b4faf630360d42a2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-684%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=684&job=&cmd_args= [2024-07-26T01:26:01.879Z] -> Pinging Codecov [2024-07-26T01:26:01.879Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-684&commit=0561ba6ee73f9f90ab72e028b4faf630360d42a2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-684%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=684&job=&cmd_args= [2024-07-26T01:26:01.879Z] -> Uploading to [2024-07-26T01:26:01.879Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-26/7D719EC7BBE17E464838252E33014C33/0561ba6ee73f9f90ab72e028b4faf630360d42a2/5fc90a64-c1b6-49fb-9005-6ff91ac9a348.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240726%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240726T012601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=451af2c9900c3bde0c1fe7d6d8b489960b0516768ff87016a857d815ef56d719 [2024-07-26T01:26:02.138Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-26T01:26:02.138Z] Dload Upload Total Spent Left Speed [2024-07-26T01:26:02.138Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12547 --:--:-- --:--:-- --:--:-- 12547 [2024-07-26T01:26:02.138Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0561ba6ee73f9f90ab72e028b4faf630360d42a2 [Pipeline] } [2024-07-26T01:26:02.176Z] 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-26T01:26:04.527Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-684/archives ] [2024-07-26T01:26:04.527Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-684/archives [2024-07-26T01:26:04.527Z] total 16 [2024-07-26T01:26:04.527Z] drwxr-xr-x 3 root root 4096 Jul 26 01:12 . [2024-07-26T01:26:04.527Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 01:12 .. [2024-07-26T01:26:04.527Z] drwxr-xr-x 2 root root 4096 Jul 26 01:12 cost [2024-07-26T01:26:04.527Z] -rw-r--r-- 1 root root 86 Jul 26 01:12 cost.csv [2024-07-26T01:26:04.527Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-684/archives [2024-07-26T01:26:04.527Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-684/archives [2024-07-26T01:26:04.527Z] total 16 [2024-07-26T01:26:04.527Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 01:12 . [2024-07-26T01:26:04.527Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 01:12 .. [2024-07-26T01:26:04.527Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 01:12 cost [2024-07-26T01:26:04.527Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 26 01:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:26:04.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:26:05.772Z] ---> package-listing.sh [2024-07-26T01:26:05.773Z] ++ facter osfamily [2024-07-26T01:26:05.773Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-26T01:26:06.032Z] + OS_FAMILY=debian [2024-07-26T01:26:06.032Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-684 [2024-07-26T01:26:06.032Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-26T01:26:06.032Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-26T01:26:06.032Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-26T01:26:06.032Z] + PACKAGES=/tmp/packages_start.txt [2024-07-26T01:26:06.032Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-684 ']' [2024-07-26T01:26:06.032Z] + PACKAGES=/tmp/packages_end.txt [2024-07-26T01:26:06.032Z] + case "${OS_FAMILY}" in [2024-07-26T01:26:06.032Z] + dpkg -l [2024-07-26T01:26:06.032Z] + grep '^ii' [2024-07-26T01:26:06.032Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-26T01:26:06.032Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-26T01:26:06.032Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-26T01:26:06.032Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-684 ']' [2024-07-26T01:26:06.032Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-684/archives/ [2024-07-26T01:26:06.032Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-684/archives/ [Pipeline] echo [2024-07-26T01:26:06.077Z] 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-684/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-26T01:26:06.381Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T01:26:07.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-26T01:26:07.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T01:26:07.290Z] prd-ubuntu20.04-docker-8c-8g-6483 does not seem to be running inside a container [2024-07-26T01:26:07.347Z] $ 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-684/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-684 -v /w/workspace/gexfoundry_device-mqtt-go_PR-684:/w/workspace/gexfoundry_device-mqtt-go_PR-684:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-26T01:26:07.532Z] $ docker top 9dd137f361ca013136f40e1337aa6f707bb8f1f899b83da8e38fc25f115f4048 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T01:26:07.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-26T01:26:08.275Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-26T01:26:08.583Z] + ls /var/log/sa-host [2024-07-26T01:26:08.583Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-26T01:26:08.816Z] provisioning config files... [2024-07-26T01:26:08.825Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-684@tmp/config15637701532298840383tmp [Pipeline] { [Pipeline] echo [2024-07-26T01:26:08.907Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:26:09.222Z] ---> create-netrc.sh [Pipeline] } [2024-07-26T01:26:09.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:26:09.684Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-26T01:26:09.719Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:26:10.040Z] ---> sudo-logs.sh [2024-07-26T01:26:10.040Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-26T01:26:10.137Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:26:10.457Z] ---> job-cost.sh [2024-07-26T01:26:10.457Z] lf-activate-venv: SKIPPING [2024-07-26T01:26:10.457Z] DEBUG: total: 0.2199999988079071 [2024-07-26T01:26:10.457Z] INFO: Retrieving Stack Cost... [2024-07-26T01:26:10.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-26T01:26:10.975Z] INFO: Archiving Costs [Pipeline] echo [2024-07-26T01:26:11.017Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T01:26:11.373Z] ---> logs-deploy.sh [2024-07-26T01:26:11.373Z] lf-activate-venv: SKIPPING [2024-07-26T01:26:11.373Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-684/1 [2024-07-26T01:26:11.373Z] INFO: archiving workspace using pattern(s): [2024-07-26T01:26:12.311Z] Archives upload complete. [2024-07-26T01:26:12.311Z] INFO: archiving logs to Nexus