Pull request #709 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a4f39084d15e0db485c06518b13d8975952b7d3f+05dffbfea524d4e44629aea546393e9ff3734411 (6e804f438d58fd26658f04bca46430276ccb9529) 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-ssh15750427300765490787.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh15262381549829501441.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-709/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-709/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15839827911442542570.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-709/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12811682188090426860.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh17701204182144108783.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-709/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-709/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh438582677587391673.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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-26069’ Running on prd-ubuntu20.04-docker-8c-8g-26075 in /w/workspace/gexfoundry_device-mqtt-go_PR-709 [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-709 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 05dffbfea524d4e44629aea546393e9ff3734411 into PR head commit a4f39084d15e0db485c06518b13d8975952b7d3f Merge succeeded, producing a4f39084d15e0db485c06518b13d8975952b7d3f Checking out Revision a4f39084d15e0db485c06518b13d8975952b7d3f (PR-709) > 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/709/head:refs/remotes/origin/PR-709 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4f39084d15e0db485c06518b13d8975952b7d3f # 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 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4f39084d15e0db485c06518b13d8975952b7d3f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-11T01:20:11.256Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-11T01:20:11.451Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-11T01:20:11.575Z] ========================================================= [2024-11-11T01:20:11.575Z] EdgeX Global Pipelines Version Info [2024-11-11T01:20:11.575Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:20:12.340Z] ------------------- [2024-11-11T01:20:12.340Z] stable info: [2024-11-11T01:20:12.340Z] ------------------- [2024-11-11T01:20:12.340Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-11T01:20:12.340Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T01:20:12.340Z] Message: update stable to v1.0.265 [2024-11-11T01:20:12.911Z] ------------------- [2024-11-11T01:20:12.911Z] experimental info: [2024-11-11T01:20:12.911Z] ------------------- [2024-11-11T01:20:12.911Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-11T01:20:12.911Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-11T01:20:12.911Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-11T01:20:13.103Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-11-11T01:20:13.159Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-11-11T01:20:13.216Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-11T01:20:13.273Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-11T01:20:13.330Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-11T01:20:13.388Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-11T01:20:13.444Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-11T01:20:13.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-11T01:20:13.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-11T01:20:13.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-11T01:20:13.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-11T01:20:13.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-11-11T01:20:13.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-11T01:20:13.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-11T01:20:13.894Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T01:20:13.951Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T01:20:14.006Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T01:20:14.060Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T01:20:14.114Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-11T01:20:14.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-11T01:20:14.220Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-11T01:20:14.274Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-11T01:20:14.331Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-11T01:20:14.386Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-11T01:20:14.448Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-11T01:20:14.509Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-11T01:20:14.571Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-11T01:20:14.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-709 [Pipeline] echo [2024-11-11T01:20:14.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-709 [Pipeline] echo [2024-11-11T01:20:14.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-709 [Pipeline] echo [2024-11-11T01:20:14.795Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4f39084d15e0db485c06518b13d8975952b7d3f [Pipeline] echo [2024-11-11T01:20:14.849Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4f3908 [Pipeline] echo [2024-11-11T01:20:14.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T01:20:15.055Z] provisioning config files... [2024-11-11T01:20:15.069Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp/config5190568344305291748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:20:15.456Z] ---> ****-login.sh [2024-11-11T01:20:15.456Z] nexus3.edgexfoundry.org:10001 [2024-11-11T01:20:15.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:15.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:15.715Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:15.715Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:15.715Z] [2024-11-11T01:20:15.715Z] Login Succeeded [2024-11-11T01:20:15.715Z] nexus3.edgexfoundry.org:10002 [2024-11-11T01:20:15.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:15.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:15.975Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:15.975Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:15.975Z] [2024-11-11T01:20:15.975Z] Login Succeeded [2024-11-11T01:20:15.975Z] nexus3.edgexfoundry.org:10003 [2024-11-11T01:20:15.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:15.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:15.975Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:15.975Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:15.975Z] [2024-11-11T01:20:15.975Z] Login Succeeded [2024-11-11T01:20:15.975Z] nexus3.edgexfoundry.org:10004 [2024-11-11T01:20:16.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:16.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:16.234Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:16.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:16.234Z] [2024-11-11T01:20:16.234Z] Login Succeeded [2024-11-11T01:20:16.234Z] ****.io [2024-11-11T01:20:16.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:16.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:16.493Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:16.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:16.493Z] [2024-11-11T01:20:16.493Z] Login Succeeded [2024-11-11T01:20:16.493Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T01:20:16.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-11T01:20:17.155Z] + git rev-list -1 --merges a4f39084d15e0db485c06518b13d8975952b7d3f~1..a4f39084d15e0db485c06518b13d8975952b7d3f [Pipeline] echo [2024-11-11T01:20:17.202Z] -----------> git rev-list -1 --merges a4f39084d15e0db485c06518b13d8975952b7d3f~1..a4f39084d15e0db485c06518b13d8975952b7d3f a4f39084d15e0db485c06518b13d8975952b7d3f [false] [Pipeline] sh [2024-11-11T01:20:17.518Z] + git log --format=format:%s -1 a4f39084d15e0db485c06518b13d8975952b7d3f [Pipeline] echo [2024-11-11T01:20:17.565Z] ========================================================= [2024-11-11T01:20:17.565Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-11T01:20:17.565Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T01:20:18.032Z] + git log --format=format:%s -1 a4f39084d15e0db485c06518b13d8975952b7d3f [Pipeline] echo [2024-11-11T01:20:18.071Z] [semverPrep] GIT_COMMIT: a4f39084d15e0db485c06518b13d8975952b7d3f, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-11T01:20:18.114Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-11T01:20:18.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-11T01:20:18.544Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-11T01:20:18.544Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-11T01:20:18.544Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-11T01:20:18.544Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-11T01:20:18.544Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-11T01:20:18.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:20:19.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T01:20:19.051Z] [2024-11-11T01:20:19.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:20:19.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T01:20:19.439Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-11T01:20:19.439Z] b85a868b505f: Pulling fs layer [2024-11-11T01:20:19.439Z] e2be974225ed: Pulling fs layer [2024-11-11T01:20:19.439Z] 339a4e72a1f5: Pulling fs layer [2024-11-11T01:20:19.439Z] 988bab9f4d93: Pulling fs layer [2024-11-11T01:20:19.439Z] 1469e6f7b9e6: Pulling fs layer [2024-11-11T01:20:19.439Z] eaf3925da568: Pulling fs layer [2024-11-11T01:20:19.439Z] bab4dde63d76: Pulling fs layer [2024-11-11T01:20:19.439Z] bde34c3a00c8: Pulling fs layer [2024-11-11T01:20:19.439Z] b352a97aabf1: Pulling fs layer [2024-11-11T01:20:19.439Z] 4872d77fe225: Pulling fs layer [2024-11-11T01:20:19.439Z] 5851b861e8e6: Pulling fs layer [2024-11-11T01:20:19.439Z] 988bab9f4d93: Waiting [2024-11-11T01:20:19.439Z] 1469e6f7b9e6: Waiting [2024-11-11T01:20:19.439Z] eaf3925da568: Waiting [2024-11-11T01:20:19.439Z] bab4dde63d76: Waiting [2024-11-11T01:20:19.439Z] b352a97aabf1: Waiting [2024-11-11T01:20:19.439Z] 4872d77fe225: Waiting [2024-11-11T01:20:19.439Z] bde34c3a00c8: Waiting [2024-11-11T01:20:19.439Z] 5851b861e8e6: Waiting [2024-11-11T01:20:19.439Z] e2be974225ed: Verifying Checksum [2024-11-11T01:20:19.439Z] e2be974225ed: Download complete [2024-11-11T01:20:19.439Z] 988bab9f4d93: Download complete [2024-11-11T01:20:19.439Z] 339a4e72a1f5: Verifying Checksum [2024-11-11T01:20:19.439Z] 339a4e72a1f5: Download complete [2024-11-11T01:20:19.440Z] 1469e6f7b9e6: Verifying Checksum [2024-11-11T01:20:19.440Z] 1469e6f7b9e6: Download complete [2024-11-11T01:20:19.440Z] eaf3925da568: Verifying Checksum [2024-11-11T01:20:19.440Z] eaf3925da568: Download complete [2024-11-11T01:20:19.699Z] bde34c3a00c8: Verifying Checksum [2024-11-11T01:20:19.699Z] bde34c3a00c8: Download complete [2024-11-11T01:20:19.699Z] b352a97aabf1: Verifying Checksum [2024-11-11T01:20:19.699Z] b352a97aabf1: Download complete [2024-11-11T01:20:19.699Z] 4872d77fe225: Verifying Checksum [2024-11-11T01:20:19.699Z] 4872d77fe225: Download complete [2024-11-11T01:20:19.699Z] 5851b861e8e6: Download complete [2024-11-11T01:20:19.699Z] b85a868b505f: Verifying Checksum [2024-11-11T01:20:19.699Z] b85a868b505f: Download complete [2024-11-11T01:20:19.957Z] bab4dde63d76: Verifying Checksum [2024-11-11T01:20:19.957Z] bab4dde63d76: Download complete [2024-11-11T01:20:20.894Z] b85a868b505f: Pull complete [2024-11-11T01:20:20.894Z] e2be974225ed: Pull complete [2024-11-11T01:20:21.461Z] 339a4e72a1f5: Pull complete [2024-11-11T01:20:21.719Z] 988bab9f4d93: Pull complete [2024-11-11T01:20:21.978Z] 1469e6f7b9e6: Pull complete [2024-11-11T01:20:21.978Z] eaf3925da568: Pull complete [2024-11-11T01:20:26.236Z] bab4dde63d76: Pull complete [2024-11-11T01:20:27.617Z] bde34c3a00c8: Pull complete [2024-11-11T01:20:28.618Z] b352a97aabf1: Pull complete [2024-11-11T01:20:29.998Z] 4872d77fe225: Pull complete [2024-11-11T01:20:30.569Z] 5851b861e8e6: Pull complete [2024-11-11T01:20:31.137Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-11T01:20:31.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T01:20:31.396Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T01:20:31.794Z] prd-ubuntu20.04-docker-8c-8g-26075 does not seem to be running inside a container [2024-11-11T01:20:31.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-709 -v /w/workspace/gexfoundry_device-mqtt-go_PR-709:/w/workspace/gexfoundry_device-mqtt-go_PR-709:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-11T01:20:41.262Z] $ docker top 55dd183ca918aa000d1a935f8e5d764cd97b7940a1e4a8b10b301e49f9c14449 -eo pid,comm [2024-11-11T01:20:41.312Z] 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-11-11T01:20:41.312Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-11T01:20:41.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T01:20:41.485Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T01:20:41.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T01:20:41.602Z] $ docker exec 55dd183ca918aa000d1a935f8e5d764cd97b7940a1e4a8b10b301e49f9c14449 ssh-agent [2024-11-11T01:20:41.705Z] SSH_AUTH_SOCK=/tmp/ssh-ktt4OyGS471b/agent.33 [2024-11-11T01:20:41.705Z] SSH_AGENT_PID=38 [2024-11-11T01:20:41.712Z] Running ssh-add (command line suppressed) [2024-11-11T01:20:41.804Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp/private_key_15440311123932697705.key (/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp/private_key_15440311123932697705.key) [2024-11-11T01:20:41.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T01:20:42.159Z] + git tag --points-at HEAD [Pipeline] } [2024-11-11T01:20:42.187Z] $ docker exec --env ******** --env ******** 55dd183ca918aa000d1a935f8e5d764cd97b7940a1e4a8b10b301e49f9c14449 ssh-agent -k [2024-11-11T01:20:42.291Z] unset SSH_AUTH_SOCK; [2024-11-11T01:20:42.291Z] unset SSH_AGENT_PID; [2024-11-11T01:20:42.291Z] echo Agent pid 38 killed; [2024-11-11T01:20:42.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-11T01:20:42.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T01:20:42.413Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T01:20:42.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T01:20:42.519Z] $ docker exec 55dd183ca918aa000d1a935f8e5d764cd97b7940a1e4a8b10b301e49f9c14449 ssh-agent [2024-11-11T01:20:42.621Z] SSH_AUTH_SOCK=/tmp/ssh-sNG1Vnc122lC/agent.71 [2024-11-11T01:20:42.621Z] SSH_AGENT_PID=78 [2024-11-11T01:20:42.626Z] Running ssh-add (command line suppressed) [2024-11-11T01:20:42.716Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp/private_key_12695162820732357746.key (/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp/private_key_12695162820732357746.key) [2024-11-11T01:20:42.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T01:20:43.082Z] + git semver init [2024-11-11T01:20:43.341Z] 2024-11-11 01:20:43,250 [run_init] DEBUG init version:0.0.0 force:False [2024-11-11T01:20:43.341Z] 2024-11-11 01:20:43,251 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-709/.semver [2024-11-11T01:20:43.341Z] 2024-11-11 01:20:43,252 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-709/.semver [2024-11-11T01:20:43.341Z] 2024-11-11 01:20:43,252 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-709/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-709, universal_newlines=False, shell=None, istream=None) [2024-11-11T01:20:45.247Z] 2024-11-11 01:20:45,029 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-709/.git/info/exclude [2024-11-11T01:20:45.247Z] 2024-11-11 01:20:45,030 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-709/.semver/PR-709 with force:False [2024-11-11T01:20:45.247Z] 2024-11-11 01:20:45,030 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-709/.semver/PR-709 [2024-11-11T01:20:45.247Z] 2024-11-11 01:20:45,034 [execute] INFO git cat-file --batch-check [2024-11-11T01:20:45.247Z] 2024-11-11 01:20:45,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-709/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T01:20:45.247Z] 2024-11-11 01:20:45,039 [execute] INFO git cat-file --batch [2024-11-11T01:20:45.247Z] 2024-11-11 01:20:45,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-709/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T01:20:45.247Z] 2024-11-11 01:20:45,045 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-709/.semver/PR-709 [2024-11-11T01:20:45.247Z] 0.0.0 [Pipeline] } [2024-11-11T01:20:45.273Z] $ docker exec --env ******** --env ******** 55dd183ca918aa000d1a935f8e5d764cd97b7940a1e4a8b10b301e49f9c14449 ssh-agent -k [2024-11-11T01:20:45.379Z] unset SSH_AUTH_SOCK; [2024-11-11T01:20:45.379Z] unset SSH_AGENT_PID; [2024-11-11T01:20:45.380Z] echo Agent pid 78 killed; [2024-11-11T01:20:45.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-11T01:20:45.860Z] + git semver [Pipeline] } [2024-11-11T01:20:46.144Z] $ docker stop --time=1 55dd183ca918aa000d1a935f8e5d764cd97b7940a1e4a8b10b301e49f9c14449 [2024-11-11T01:20:47.435Z] $ docker rm -f --volumes 55dd183ca918aa000d1a935f8e5d764cd97b7940a1e4a8b10b301e49f9c14449 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T01:20:47.882Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-11T01:20:48.169Z] Stashed 1 file(s) [Pipeline] echo [2024-11-11T01:20:48.194Z] [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-11-11T01:20:48.913Z] provisioning config files... [2024-11-11T01:20:48.924Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp/config2517470241951254772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:20:49.291Z] ---> ****-login.sh [2024-11-11T01:20:49.291Z] nexus3.edgexfoundry.org:10001 [2024-11-11T01:20:49.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:49.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:49.291Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:49.291Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:49.291Z] [2024-11-11T01:20:49.291Z] Login Succeeded [2024-11-11T01:20:49.291Z] nexus3.edgexfoundry.org:10002 [2024-11-11T01:20:49.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:49.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:49.292Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:49.292Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:49.292Z] [2024-11-11T01:20:49.292Z] Login Succeeded [2024-11-11T01:20:49.292Z] nexus3.edgexfoundry.org:10003 [2024-11-11T01:20:49.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:49.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:49.554Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:49.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:49.554Z] [2024-11-11T01:20:49.554Z] Login Succeeded [2024-11-11T01:20:49.554Z] nexus3.edgexfoundry.org:10004 [2024-11-11T01:20:49.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:49.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:49.555Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:49.555Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:49.555Z] [2024-11-11T01:20:49.555Z] Login Succeeded [2024-11-11T01:20:49.555Z] ****.io [2024-11-11T01:20:49.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:20:49.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:20:49.878Z] Configure a credential helper to remove this warning. See [2024-11-11T01:20:49.878Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:20:49.878Z] [2024-11-11T01:20:49.878Z] Login Succeeded [2024-11-11T01:20:49.878Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T01:20:49.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T01:20:50.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T01:20:50.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T01:20:50.182Z] ========================================================= [2024-11-11T01:20:50.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-11T01:20:50.182Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:20:50.677Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T01:20:50.677Z] Sending build context to Docker daemon 20.98MB [2024-11-11T01:20:50.677Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T01:20:50.677Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-11T01:20:50.937Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-11T01:20:50.937Z] 43c4264eed91: Pulling fs layer [2024-11-11T01:20:50.937Z] 4cc291be95ef: Pulling fs layer [2024-11-11T01:20:50.937Z] 2ac1f1163629: Pulling fs layer [2024-11-11T01:20:50.937Z] 5c3c966382ef: Pulling fs layer [2024-11-11T01:20:50.937Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T01:20:50.937Z] 5d5c8e513c77: Pulling fs layer [2024-11-11T01:20:50.937Z] 9f66e0745190: Pulling fs layer [2024-11-11T01:20:50.937Z] f49a43e4bbc0: Pulling fs layer [2024-11-11T01:20:50.937Z] 561ebcabdf7f: Pulling fs layer [2024-11-11T01:20:50.937Z] 4f4fb700ef54: Waiting [2024-11-11T01:20:50.937Z] 561ebcabdf7f: Waiting [2024-11-11T01:20:50.937Z] 5d5c8e513c77: Waiting [2024-11-11T01:20:50.937Z] 9f66e0745190: Waiting [2024-11-11T01:20:50.937Z] f49a43e4bbc0: Waiting [2024-11-11T01:20:50.937Z] 5c3c966382ef: Waiting [2024-11-11T01:20:50.937Z] 4cc291be95ef: Download complete [2024-11-11T01:20:50.937Z] 5c3c966382ef: Verifying Checksum [2024-11-11T01:20:50.937Z] 5c3c966382ef: Download complete [2024-11-11T01:20:50.937Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T01:20:50.937Z] 4f4fb700ef54: Download complete [2024-11-11T01:20:50.937Z] 5d5c8e513c77: Verifying Checksum [2024-11-11T01:20:50.937Z] 5d5c8e513c77: Download complete [2024-11-11T01:20:50.937Z] 43c4264eed91: Download complete [2024-11-11T01:20:50.937Z] 9f66e0745190: Verifying Checksum [2024-11-11T01:20:50.937Z] 9f66e0745190: Download complete [2024-11-11T01:20:51.196Z] 43c4264eed91: Pull complete [2024-11-11T01:20:51.196Z] 561ebcabdf7f: Download complete [2024-11-11T01:20:51.196Z] 4cc291be95ef: Pull complete [2024-11-11T01:20:51.452Z] 2ac1f1163629: Download complete [2024-11-11T01:20:51.709Z] f49a43e4bbc0: Verifying Checksum [2024-11-11T01:20:51.709Z] f49a43e4bbc0: Download complete [2024-11-11T01:20:54.990Z] 2ac1f1163629: Pull complete [2024-11-11T01:20:54.990Z] 5c3c966382ef: Pull complete [2024-11-11T01:20:54.990Z] 4f4fb700ef54: Pull complete [2024-11-11T01:20:54.990Z] 5d5c8e513c77: Pull complete [2024-11-11T01:20:55.252Z] 9f66e0745190: Pull complete [2024-11-11T01:20:58.533Z] f49a43e4bbc0: Pull complete [2024-11-11T01:20:59.914Z] 561ebcabdf7f: Pull complete [2024-11-11T01:21:00.483Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-11T01:21:00.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-11T01:21:00.742Z] ---> 3a752c3f9dda [2024-11-11T01:21:00.742Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-11T01:21:03.689Z] Still waiting to schedule task [2024-11-11T01:21:03.690Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26073’ [2024-11-11T01:21:19.091Z] ---> Running in 67c7ede8ea7a [2024-11-11T01:21:19.091Z] Removing intermediate container 67c7ede8ea7a [2024-11-11T01:21:19.091Z] ---> 09ee7a220752 [2024-11-11T01:21:19.091Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T01:21:19.091Z] ---> Running in 924b6a7cd07b [2024-11-11T01:21:19.091Z] Removing intermediate container 924b6a7cd07b [2024-11-11T01:21:19.091Z] ---> 3ef597770951 [2024-11-11T01:21:19.091Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T01:21:19.091Z] ---> Running in 50e30a1b374f [2024-11-11T01:21:19.091Z] Removing intermediate container 50e30a1b374f [2024-11-11T01:21:19.091Z] ---> be6e8540824a [2024-11-11T01:21:19.091Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T01:21:19.091Z] ---> Running in 0e36fa536dad [2024-11-11T01:21:19.352Z] Removing intermediate container 0e36fa536dad [2024-11-11T01:21:19.352Z] ---> 03c4ec89513b [2024-11-11T01:21:19.352Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T01:21:19.611Z] ---> Running in faba79238680 [2024-11-11T01:21:20.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T01:21:20.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T01:21:20.440Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-11T01:21:20.440Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-11T01:21:20.440Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-11T01:21:20.440Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-11T01:21:20.440Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T01:21:20.440Z] OK: 250 MiB in 58 packages [2024-11-11T01:21:21.818Z] Removing intermediate container faba79238680 [2024-11-11T01:21:21.818Z] ---> 417650e58b89 [2024-11-11T01:21:21.818Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-11T01:21:22.078Z] ---> Running in 8cc71acff7e5 [2024-11-11T01:21:22.352Z] Removing intermediate container 8cc71acff7e5 [2024-11-11T01:21:22.352Z] ---> 6bd3bb0b9aac [2024-11-11T01:21:22.352Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-11T01:21:22.923Z] ---> adfc42280729 [2024-11-11T01:21:22.923Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T01:21:23.185Z] ---> Running in 56a34e0f4df2 [2024-11-11T01:22:59.707Z] Removing intermediate container 56a34e0f4df2 [2024-11-11T01:22:59.707Z] ---> ecd2451f5cd6 [2024-11-11T01:22:59.707Z] Step 11/12 : COPY . . [2024-11-11T01:22:59.707Z] ---> 94df728611bb [2024-11-11T01:22:59.707Z] Step 12/12 : RUN $MAKE [2024-11-11T01:22:59.707Z] ---> Running in fb9cf93dca12 [2024-11-11T01:22:59.707Z] noop [2024-11-11T01:22:59.707Z] Removing intermediate container fb9cf93dca12 [2024-11-11T01:22:59.707Z] ---> 781142fedb96 [2024-11-11T01:22:59.707Z] Successfully built 781142fedb96 [2024-11-11T01:22:59.707Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:23:00.211Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T01:23:00.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T01:23:00.382Z] prd-ubuntu20.04-docker-8c-8g-26075 does not seem to be running inside a container [2024-11-11T01:23:00.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-709 -v /w/workspace/gexfoundry_device-mqtt-go_PR-709:/w/workspace/gexfoundry_device-mqtt-go_PR-709:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T01:23:01.051Z] $ docker top 658198ffe489bf0124db8f397fa728751bfef22af000f1fa4bec688bcf3179fd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T01:23:01.464Z] + go version [2024-11-11T01:23:01.464Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-11T01:23:01.498Z] $ docker stop --time=1 658198ffe489bf0124db8f397fa728751bfef22af000f1fa4bec688bcf3179fd [2024-11-11T01:23:02.922Z] $ docker rm -f --volumes 658198ffe489bf0124db8f397fa728751bfef22af000f1fa4bec688bcf3179fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:23:03.703Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T01:23:03.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T01:23:03.883Z] prd-ubuntu20.04-docker-8c-8g-26075 does not seem to be running inside a container [2024-11-11T01:23:03.917Z] $ 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-709 -v /w/workspace/gexfoundry_device-mqtt-go_PR-709:/w/workspace/gexfoundry_device-mqtt-go_PR-709:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T01:23:04.229Z] $ docker top d9e51ee634984d81152f3e1d389cbe52bd5b82da67cf42b1ac1db5f56df21d50 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T01:23:04.634Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-709 [Pipeline] fileExists [Pipeline] sh [2024-11-11T01:23:05.024Z] + make test [2024-11-11T01:23:05.024Z] go test ./... -coverprofile=coverage.out ./... [2024-11-11T01:23:06.942Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-11T01:23:28.860Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-11T01:23:28.860Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-11T01:23:28.860Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements [2024-11-11T01:23:36.982Z] go vet ./... [2024-11-11T01:23:42.246Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T01:23:42.246Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T01:23:42.246Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T01:23:42.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T01:23:42.334Z] $ docker stop --time=1 d9e51ee634984d81152f3e1d389cbe52bd5b82da67cf42b1ac1db5f56df21d50 [2024-11-11T01:23:48.911Z] $ docker rm -f --volumes d9e51ee634984d81152f3e1d389cbe52bd5b82da67cf42b1ac1db5f56df21d50 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T01:23:49.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T01:23:49.605Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-11T01:23:50.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T01:23:50.671Z] + ls -al . [2024-11-11T01:23:50.671Z] total 252 [2024-11-11T01:23:50.671Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 01:23 . [2024-11-11T01:23:50.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 01:20 .. [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 01:20 .dockerignore [2024-11-11T01:23:50.671Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 01:23 .git [2024-11-11T01:23:50.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 01:20 .github [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 11 01:20 .gitignore [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 11 01:20 .golangci.yml [2024-11-11T01:23:50.671Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 01:20 .semver [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 11 01:20 Attribution.txt [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 11 01:20 CHANGELOG.md [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 11 01:20 Dockerfile [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 01:20 GOVERNANCE.md [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 11 01:20 Jenkinsfile [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 01:20 LICENSE [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 11 01:20 Makefile [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 01:20 OWNERS.md [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 11 01:20 README.md [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 01:20 VERSION [2024-11-11T01:23:50.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 01:20 bin [2024-11-11T01:23:50.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 01:20 cmd [2024-11-11T01:23:50.671Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 11 01:23 coverage.out [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 11 01:20 go.mod [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 11 01:20 go.sum [2024-11-11T01:23:50.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 01:20 internal [2024-11-11T01:23:50.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 01:20 mock [2024-11-11T01:23:50.671Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 11 01:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:23:51.097Z] + 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=a4f39084d15e0db485c06518b13d8975952b7d3f --label arch=amd64 --label version=0.0.0 . [2024-11-11T01:23:51.097Z] Sending build context to Docker daemon 21MB [2024-11-11T01:23:51.097Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T01:23:51.097Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-11T01:23:51.097Z] ---> 781142fedb96 [2024-11-11T01:23:51.097Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-11T01:23:52.054Z] ---> Running in 41dc6c973342 [2024-11-11T01:23:52.054Z] Removing intermediate container 41dc6c973342 [2024-11-11T01:23:52.054Z] ---> 1a5ab96c5d74 [2024-11-11T01:23:52.054Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T01:23:52.054Z] ---> Running in ce862292b9b5 [2024-11-11T01:23:52.054Z] Removing intermediate container ce862292b9b5 [2024-11-11T01:23:52.054Z] ---> cc1b6258558c [2024-11-11T01:23:52.054Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T01:23:52.054Z] ---> Running in 148a034a9b30 [2024-11-11T01:23:52.054Z] Removing intermediate container 148a034a9b30 [2024-11-11T01:23:52.054Z] ---> 1abdf77f58b1 [2024-11-11T01:23:52.054Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T01:23:52.054Z] ---> Running in 3f7aff0a75ea [2024-11-11T01:23:52.313Z] Removing intermediate container 3f7aff0a75ea [2024-11-11T01:23:52.313Z] ---> e227029c1fba [2024-11-11T01:23:52.313Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T01:23:52.313Z] ---> Running in 896ba33dbd63 [2024-11-11T01:23:52.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T01:23:52.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T01:23:53.140Z] OK: 250 MiB in 58 packages [2024-11-11T01:23:53.399Z] Removing intermediate container 896ba33dbd63 [2024-11-11T01:23:53.399Z] ---> a2ad894aefed [2024-11-11T01:23:53.399Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-11T01:23:53.399Z] ---> Running in 56f9455d6536 [2024-11-11T01:23:53.399Z] Removing intermediate container 56f9455d6536 [2024-11-11T01:23:53.399Z] ---> bb5de82baa86 [2024-11-11T01:23:53.399Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-11T01:23:53.668Z] ---> 09ad1b3a8f6b [2024-11-11T01:23:53.668Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T01:23:53.668Z] ---> Running in f9556725b5d0 [2024-11-11T01:23:54.236Z] Removing intermediate container f9556725b5d0 [2024-11-11T01:23:54.236Z] ---> c461ea02ab1b [2024-11-11T01:23:54.236Z] Step 11/25 : COPY . . [2024-11-11T01:23:55.180Z] ---> 4584a07917ee [2024-11-11T01:23:55.180Z] Step 12/25 : RUN $MAKE [2024-11-11T01:23:55.180Z] ---> Running in f01cfacd1424 [2024-11-11T01:23:55.441Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.4 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-11T01:24:34.166Z] Removing intermediate container f01cfacd1424 [2024-11-11T01:24:34.166Z] ---> b6cf5e6d45dc [2024-11-11T01:24:34.166Z] Step 13/25 : FROM alpine:3.20 [2024-11-11T01:24:34.734Z] 3.20: Pulling from library/alpine [2024-11-11T01:24:34.734Z] 43c4264eed91: Already exists [2024-11-11T01:24:34.993Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T01:24:34.993Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T01:24:34.993Z] ---> 91ef0af61f39 [2024-11-11T01:24:34.993Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-11T01:24:34.993Z] ---> Running in 98eed7fa9ff3 [2024-11-11T01:24:34.993Z] Removing intermediate container 98eed7fa9ff3 [2024-11-11T01:24:34.993Z] ---> a61a8c8e9b31 [2024-11-11T01:24:34.993Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-11T01:24:34.993Z] ---> Running in fdfde09b784a [2024-11-11T01:24:35.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T01:24:35.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T01:24:35.770Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T01:24:35.770Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T01:24:35.770Z] OK: 8 MiB in 15 packages [2024-11-11T01:24:36.337Z] Removing intermediate container fdfde09b784a [2024-11-11T01:24:36.337Z] ---> 0ce160610e40 [2024-11-11T01:24:36.337Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-11T01:24:36.337Z] ---> Running in b22c79088981 [2024-11-11T01:24:36.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T01:24:36.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T01:24:36.856Z] Upgrading critical system libraries and apk-tools: [2024-11-11T01:24:36.856Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T01:24:36.856Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T01:24:36.856Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T01:24:36.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T01:24:37.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T01:24:37.373Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T01:24:37.373Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T01:24:37.373Z] OK: 8 MiB in 15 packages [2024-11-11T01:24:39.335Z] Removing intermediate container b22c79088981 [2024-11-11T01:24:39.335Z] ---> 4acc1640441a [2024-11-11T01:24:39.335Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-11T01:24:39.867Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26076 in /w/workspace/gexfoundry_device-mqtt-go_PR-709 [Pipeline] { [Pipeline] ws [2024-11-11T01:24:39.942Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-11-11T01:24:41.996Z] ---> eb3a54c6a723 [2024-11-11T01:24:41.996Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-11T01:24:42.255Z] ---> 6bb1e1296098 [2024-11-11T01:24:42.256Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-11T01:24:42.514Z] ---> 08462e0aff57 [2024-11-11T01:24:42.514Z] Step 20/25 : EXPOSE 59982 [2024-11-11T01:24:42.514Z] ---> Running in 74d0e0b85cfd [2024-11-11T01:24:42.514Z] Removing intermediate container 74d0e0b85cfd [2024-11-11T01:24:42.514Z] ---> 724a12f2b3c6 [2024-11-11T01:24:42.514Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-11T01:24:42.514Z] ---> Running in b4fc0b554488 [2024-11-11T01:24:42.799Z] Removing intermediate container b4fc0b554488 [2024-11-11T01:24:42.799Z] ---> 93ea4f47a802 [2024-11-11T01:24:42.799Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T01:24:42.799Z] ---> Running in d629c7750407 [2024-11-11T01:24:42.799Z] Removing intermediate container d629c7750407 [2024-11-11T01:24:42.799Z] ---> 884ba1949071 [2024-11-11T01:24:42.799Z] Step 23/25 : LABEL arch=amd64 [2024-11-11T01:24:42.799Z] ---> Running in 829015744f20 [2024-11-11T01:24:43.047Z] The recommended git tool is: git [2024-11-11T01:24:43.058Z] Removing intermediate container 829015744f20 [2024-11-11T01:24:43.058Z] ---> d92c90673bf8 [2024-11-11T01:24:43.058Z] Step 24/25 : LABEL git_sha=a4f39084d15e0db485c06518b13d8975952b7d3f [2024-11-11T01:24:43.058Z] ---> Running in 837c1fa8cb48 [2024-11-11T01:24:43.058Z] Removing intermediate container 837c1fa8cb48 [2024-11-11T01:24:43.058Z] ---> 7dd176e18853 [2024-11-11T01:24:43.058Z] Step 25/25 : LABEL version=0.0.0 [2024-11-11T01:24:43.058Z] ---> Running in db968846cf5a [2024-11-11T01:24:43.058Z] Removing intermediate container db968846cf5a [2024-11-11T01:24:43.058Z] ---> 8097989e90af [2024-11-11T01:24:43.058Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T01:24:43.318Z] Successfully built 8097989e90af [2024-11-11T01:24:43.318Z] 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-11-11T01:24:44.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T01:24:44.385Z] [2024-11-11T01:24:44.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:24:44.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T01:24:45.056Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-11T01:24:45.056Z] 5eb5b503b376: Pulling fs layer [2024-11-11T01:24:45.056Z] 5c69ac0246d0: Pulling fs layer [2024-11-11T01:24:45.056Z] ec43610c2a17: Pulling fs layer [2024-11-11T01:24:45.056Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-11T01:24:45.056Z] 33b1e0a273af: Pulling fs layer [2024-11-11T01:24:45.056Z] 5d3b04190fa2: Pulling fs layer [2024-11-11T01:24:45.056Z] 2f39f015ded8: Pulling fs layer [2024-11-11T01:24:45.056Z] 3a2ae6a8a46f: Waiting [2024-11-11T01:24:45.056Z] 33b1e0a273af: Waiting [2024-11-11T01:24:45.056Z] 5d3b04190fa2: Waiting [2024-11-11T01:24:45.056Z] 2f39f015ded8: Waiting [2024-11-11T01:24:45.056Z] 5c69ac0246d0: Verifying Checksum [2024-11-11T01:24:45.056Z] 5c69ac0246d0: Download complete [2024-11-11T01:24:45.056Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-11T01:24:45.056Z] 3a2ae6a8a46f: Download complete [2024-11-11T01:24:45.056Z] 33b1e0a273af: Verifying Checksum [2024-11-11T01:24:45.056Z] 33b1e0a273af: Download complete [2024-11-11T01:24:45.056Z] 5d3b04190fa2: Verifying Checksum [2024-11-11T01:24:45.056Z] 5d3b04190fa2: Download complete [2024-11-11T01:24:45.056Z] ec43610c2a17: Verifying Checksum [2024-11-11T01:24:45.056Z] ec43610c2a17: Download complete [2024-11-11T01:24:45.321Z] 5eb5b503b376: Verifying Checksum [2024-11-11T01:24:45.321Z] 5eb5b503b376: Download complete [2024-11-11T01:24:46.279Z] 2f39f015ded8: Download complete [2024-11-11T01:24:46.850Z] 5eb5b503b376: Pull complete [2024-11-11T01:24:47.109Z] 5c69ac0246d0: Pull complete [2024-11-11T01:24:47.727Z] ec43610c2a17: Pull complete [2024-11-11T01:24:47.727Z] 3a2ae6a8a46f: Pull complete [2024-11-11T01:24:47.921Z] using credential edgex-jenkins-ssh [2024-11-11T01:24:47.946Z] Cloning the remote Git repository [2024-11-11T01:24:47.985Z] 33b1e0a273af: Pull complete [2024-11-11T01:24:47.985Z] 5d3b04190fa2: Pull complete [2024-11-11T01:24:47.989Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-11T01:24:48.113Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-11-11T01:24:48.283Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-11T01:24:48.284Z] > git --version # timeout=10 [2024-11-11T01:24:48.305Z] > git --version # 'git version 2.25.1' [2024-11-11T01:24:48.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T01:24:48.472Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T01:24:51.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-11T01:24:51.383Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T01:24:52.899Z] Merging remotes/origin/main commit 05dffbfea524d4e44629aea546393e9ff3734411 into PR head commit a4f39084d15e0db485c06518b13d8975952b7d3f [2024-11-11T01:24:53.171Z] Merge succeeded, producing a4f39084d15e0db485c06518b13d8975952b7d3f [2024-11-11T01:24:53.172Z] Checking out Revision a4f39084d15e0db485c06518b13d8975952b7d3f (PR-709) [2024-11-11T01:24:52.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-11T01:24:52.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-11T01:24:52.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T01:24:52.416Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/709/head:refs/remotes/origin/PR-709 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-11T01:24:52.911Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T01:24:52.980Z] > git checkout -f a4f39084d15e0db485c06518b13d8975952b7d3f # timeout=10 [2024-11-11T01:24:53.055Z] > git remote # timeout=10 [2024-11-11T01:24:53.071Z] > git config --get remote.origin.url # timeout=10 [2024-11-11T01:24:53.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T01:24:53.126Z] > git merge 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 [2024-11-11T01:24:53.151Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-11T01:24:53.173Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T01:24:53.186Z] > git checkout -f a4f39084d15e0db485c06518b13d8975952b7d3f # timeout=10 [2024-11-11T01:24:53.718Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-11T01:24:53.762Z] > git --version # timeout=10 [2024-11-11T01:24:53.772Z] > git --version # 'git version 2.25.1' [2024-11-11T01:24:53.790Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T01:24:58.018Z] [2024-11-11T01:24:58.018Z] GitHub has been notified of this commit’s build result [2024-11-11T01:24:58.018Z] [Pipeline] withEnv [Pipeline] { [2024-11-11T01:24:58.091Z] 2f39f015ded8: Pull complete [2024-11-11T01:24:58.091Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-11T01:24:58.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T01:24:58.091Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T01:24:58.320Z] prd-ubuntu20.04-docker-8c-8g-26075 does not seem to be running inside a container [2024-11-11T01:24:58.350Z] $ 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-709 -v /w/workspace/gexfoundry_device-mqtt-go_PR-709:/w/workspace/gexfoundry_device-mqtt-go_PR-709:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T01:24:58.776Z] $ docker top 0412ca0c6ae8b2f4bc30aea599a59b61f5a76d26b69bb58e8c19331c25b28082 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T01:24:59.260Z] ---> job-cost.sh [2024-11-11T01:24:59.260Z] lf-activate-venv: SKIPPING [2024-11-11T01:24:59.260Z] INFO: No Stack... [2024-11-11T01:24:59.752Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-11T01:24:59.752Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T01:24:59.752Z] Dload Upload Total Spent Left Speed [2024-11-11T01:24:59.752Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2024-11-11T01:25:00.110Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-11T01:25:00.479Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2024-11-11T01:25:00.479Z] tee /etc/docker/daemon.new [2024-11-11T01:25:00.479Z] { [2024-11-11T01:25:00.479Z] "registry-mirrors": [ [2024-11-11T01:25:00.479Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-11T01:25:00.479Z] ], [2024-11-11T01:25:00.479Z] "bip": "10.250.0.254/24", [2024-11-11T01:25:00.479Z] "hosts": [ [2024-11-11T01:25:00.479Z] "tcp://0.0.0.0:5555", [2024-11-11T01:25:00.479Z] "unix:///var/run/docker.sock" [2024-11-11T01:25:00.479Z] ], [2024-11-11T01:25:00.479Z] "mtu": 1458, [2024-11-11T01:25:00.479Z] "selinux-enabled": true, [2024-11-11T01:25:00.479Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-11T01:25:00.479Z] } [Pipeline] sh [2024-11-11T01:25:00.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T01:25:00.637Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T01:25:00.833Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-11T01:25:00.963Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-709/archives/cost.csv [2024-11-11T01:25:00.963Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T01:25:01.015Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-709-1-stack-cost] [2024-11-11T01:25:01.021Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-709-1-stack-cost] did not exist. Created. [2024-11-11T01:25:01.028Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-709-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T01:25:01.191Z] + sudo service docker restart [2024-11-11T01:25:01.468Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-11T01:25:01.524Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T01:25:01.563Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-709-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T01:25:01.679Z] $ docker stop --time=1 0412ca0c6ae8b2f4bc30aea599a59b61f5a76d26b69bb58e8c19331c25b28082 [2024-11-11T01:25:02.847Z] $ docker rm -f --volumes 0412ca0c6ae8b2f4bc30aea599a59b61f5a76d26b69bb58e8c19331c25b28082 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T01:25:21.513Z] provisioning config files... [2024-11-11T01:25:21.546Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3808255287620607536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:25:22.073Z] ---> ****-login.sh [2024-11-11T01:25:22.073Z] nexus3.edgexfoundry.org:10001 [2024-11-11T01:25:22.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:25:22.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:25:22.937Z] Configure a credential helper to remove this warning. See [2024-11-11T01:25:22.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:25:22.937Z] [2024-11-11T01:25:22.937Z] Login Succeeded [2024-11-11T01:25:22.937Z] nexus3.edgexfoundry.org:10002 [2024-11-11T01:25:23.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:25:23.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:25:23.208Z] Configure a credential helper to remove this warning. See [2024-11-11T01:25:23.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:25:23.208Z] [2024-11-11T01:25:23.208Z] Login Succeeded [2024-11-11T01:25:23.208Z] nexus3.edgexfoundry.org:10003 [2024-11-11T01:25:23.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:25:23.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:25:23.763Z] Configure a credential helper to remove this warning. See [2024-11-11T01:25:23.764Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:25:23.764Z] [2024-11-11T01:25:23.764Z] Login Succeeded [2024-11-11T01:25:23.764Z] nexus3.edgexfoundry.org:10004 [2024-11-11T01:25:24.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:25:24.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:25:24.032Z] Configure a credential helper to remove this warning. See [2024-11-11T01:25:24.032Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:25:24.032Z] [2024-11-11T01:25:24.032Z] Login Succeeded [2024-11-11T01:25:24.032Z] ****.io [2024-11-11T01:25:24.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T01:25:24.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T01:25:24.567Z] Configure a credential helper to remove this warning. See [2024-11-11T01:25:24.567Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T01:25:24.568Z] [2024-11-11T01:25:24.568Z] Login Succeeded [2024-11-11T01:25:24.568Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T01:25:24.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T01:25:25.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T01:25:25.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T01:25:25.154Z] ========================================================= [2024-11-11T01:25:25.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-11T01:25:25.154Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:25:25.713Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T01:25:25.980Z] Sending build context to Docker daemon 10.61MB [2024-11-11T01:25:26.247Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T01:25:26.248Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-11T01:25:26.248Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-11T01:25:26.248Z] cf04c63912e1: Pulling fs layer [2024-11-11T01:25:26.248Z] 55b35a11ae5e: Pulling fs layer [2024-11-11T01:25:26.248Z] a37a00ec5f00: Pulling fs layer [2024-11-11T01:25:26.248Z] 50b3750afda1: Pulling fs layer [2024-11-11T01:25:26.248Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T01:25:26.248Z] 80978eb59214: Pulling fs layer [2024-11-11T01:25:26.248Z] c9f46d7d2bd2: Pulling fs layer [2024-11-11T01:25:26.248Z] c5a475d317c9: Pulling fs layer [2024-11-11T01:25:26.248Z] 50b3750afda1: Waiting [2024-11-11T01:25:26.248Z] c9f46d7d2bd2: Waiting [2024-11-11T01:25:26.248Z] 4f4fb700ef54: Waiting [2024-11-11T01:25:26.248Z] c5a475d317c9: Waiting [2024-11-11T01:25:26.248Z] 80978eb59214: Waiting [2024-11-11T01:25:26.248Z] 55b35a11ae5e: Verifying Checksum [2024-11-11T01:25:26.248Z] 55b35a11ae5e: Download complete [2024-11-11T01:25:26.248Z] 50b3750afda1: Verifying Checksum [2024-11-11T01:25:26.248Z] 50b3750afda1: Download complete [2024-11-11T01:25:26.516Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T01:25:26.516Z] 4f4fb700ef54: Download complete [2024-11-11T01:25:26.516Z] 80978eb59214: Verifying Checksum [2024-11-11T01:25:26.516Z] 80978eb59214: Download complete [2024-11-11T01:25:26.516Z] cf04c63912e1: Verifying Checksum [2024-11-11T01:25:26.516Z] cf04c63912e1: Download complete [2024-11-11T01:25:27.107Z] c5a475d317c9: Verifying Checksum [2024-11-11T01:25:27.107Z] c5a475d317c9: Download complete [2024-11-11T01:25:27.375Z] cf04c63912e1: Pull complete [2024-11-11T01:25:27.963Z] 55b35a11ae5e: Pull complete [2024-11-11T01:25:28.235Z] a37a00ec5f00: Verifying Checksum [2024-11-11T01:25:28.235Z] a37a00ec5f00: Download complete [2024-11-11T01:25:29.213Z] c9f46d7d2bd2: Verifying Checksum [2024-11-11T01:25:29.213Z] c9f46d7d2bd2: Download complete [2024-11-11T01:25:41.524Z] a37a00ec5f00: Pull complete [2024-11-11T01:25:41.524Z] 50b3750afda1: Pull complete [2024-11-11T01:25:41.524Z] 4f4fb700ef54: Pull complete [2024-11-11T01:25:41.792Z] 80978eb59214: Pull complete [2024-11-11T01:25:50.029Z] c9f46d7d2bd2: Pull complete [2024-11-11T01:25:50.617Z] c5a475d317c9: Pull complete [2024-11-11T01:25:50.617Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-11T01:25:50.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-11T01:25:50.617Z] ---> be29e6b0f0d4 [2024-11-11T01:25:50.617Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-11T01:25:51.578Z] ---> Running in bb25f31f2443 [2024-11-11T01:25:51.847Z] Removing intermediate container bb25f31f2443 [2024-11-11T01:25:51.847Z] ---> d0c72d38b71c [2024-11-11T01:25:51.847Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T01:25:51.847Z] ---> Running in 637bd94ac199 [2024-11-11T01:25:52.434Z] Removing intermediate container 637bd94ac199 [2024-11-11T01:25:52.434Z] ---> 35ae7f483ff5 [2024-11-11T01:25:52.434Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T01:25:52.434Z] ---> Running in 20564aad51bb [2024-11-11T01:25:52.707Z] Removing intermediate container 20564aad51bb [2024-11-11T01:25:52.707Z] ---> bd1bf754f5ef [2024-11-11T01:25:52.707Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T01:25:52.707Z] ---> Running in 7b466a5e53af [2024-11-11T01:25:52.974Z] Removing intermediate container 7b466a5e53af [2024-11-11T01:25:52.974Z] ---> a3bb3bbc2e70 [2024-11-11T01:25:52.974Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T01:25:53.241Z] ---> Running in 768710b5d284 [2024-11-11T01:25:54.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T01:25:54.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T01:25:56.203Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-11T01:25:56.203Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-11T01:25:56.203Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-11T01:25:56.203Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-11T01:25:56.203Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T01:25:56.203Z] OK: 242 MiB in 58 packages [2024-11-11T01:25:57.618Z] Removing intermediate container 768710b5d284 [2024-11-11T01:25:57.618Z] ---> eda73aa17b03 [2024-11-11T01:25:57.618Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-11T01:25:57.618Z] ---> Running in 086cc71e58b8 [2024-11-11T01:25:57.890Z] Removing intermediate container 086cc71e58b8 [2024-11-11T01:25:57.890Z] ---> 470e892352b9 [2024-11-11T01:25:57.890Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-11T01:25:58.482Z] ---> 50b8b52061c5 [2024-11-11T01:25:58.482Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T01:25:58.767Z] ---> Running in ee55b1b67c5f [2024-11-11T01:27:50.514Z] Removing intermediate container ee55b1b67c5f [2024-11-11T01:27:50.514Z] ---> 285ffcde44e8 [2024-11-11T01:27:50.514Z] Step 11/12 : COPY . . [2024-11-11T01:27:50.514Z] ---> 0c40ba077644 [2024-11-11T01:27:50.514Z] Step 12/12 : RUN $MAKE [2024-11-11T01:27:50.514Z] ---> Running in 0b824b55e948 [2024-11-11T01:27:50.514Z] noop [2024-11-11T01:27:50.514Z] Removing intermediate container 0b824b55e948 [2024-11-11T01:27:50.514Z] ---> dc9cdaf4e977 [2024-11-11T01:27:50.514Z] Successfully built dc9cdaf4e977 [2024-11-11T01:27:50.514Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:27:51.056Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T01:27:51.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T01:27:51.365Z] prd-ubuntu20.04-docker-arm64-4c-16g-26076 does not seem to be running inside a container [2024-11-11T01:27:51.440Z] $ 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-11-11T01:27:52.661Z] $ docker top a3f5c56a2479fa5b4f3df0e6b0b7f35cbc5d6117c639d8d21c4d01b37aabd806 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T01:27:53.558Z] + go version [2024-11-11T01:27:53.558Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-11T01:27:53.597Z] $ docker stop --time=1 a3f5c56a2479fa5b4f3df0e6b0b7f35cbc5d6117c639d8d21c4d01b37aabd806 [2024-11-11T01:27:55.285Z] $ docker rm -f --volumes a3f5c56a2479fa5b4f3df0e6b0b7f35cbc5d6117c639d8d21c4d01b37aabd806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:27:56.343Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T01:27:56.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T01:27:56.606Z] prd-ubuntu20.04-docker-arm64-4c-16g-26076 does not seem to be running inside a container [2024-11-11T01:27:56.678Z] $ 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-11-11T01:27:57.959Z] $ docker top 8dff097fc50e7c24de0b5dfa318af67ff6d59da4537f26c2ef6c34ed0d02e2b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T01:27:58.847Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-11T01:27:59.574Z] + make test [2024-11-11T01:27:59.574Z] go test ./... -coverprofile=coverage.out ./... [2024-11-11T01:28:06.238Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-11T01:31:58.411Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-11T01:31:58.411Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-11T01:31:58.411Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 22.8% of statements [2024-11-11T01:31:58.411Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-11T01:31:58.411Z] go vet ./... [2024-11-11T01:32:49.159Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T01:32:49.159Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T01:32:49.159Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T01:32:49.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T01:32:49.270Z] $ docker stop --time=1 8dff097fc50e7c24de0b5dfa318af67ff6d59da4537f26c2ef6c34ed0d02e2b8 [2024-11-11T01:32:51.100Z] $ docker rm -f --volumes 8dff097fc50e7c24de0b5dfa318af67ff6d59da4537f26c2ef6c34ed0d02e2b8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T01:32:52.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T01:32:52.795Z] Warning: overwriting stash ‘coverage-report’ [2024-11-11T01:32:53.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T01:32:53.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T01:32:54.264Z] + ls -al . [2024-11-11T01:32:54.264Z] total 248 [2024-11-11T01:32:54.264Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 01:28 . [2024-11-11T01:32:54.264Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 01:24 .. [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 01:24 .dockerignore [2024-11-11T01:32:54.264Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 01:24 .git [2024-11-11T01:32:54.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 01:24 .github [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 11 01:24 .gitignore [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 11 01:24 .golangci.yml [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 11 01:24 Attribution.txt [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 11 01:24 CHANGELOG.md [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 11 01:24 Dockerfile [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 01:24 GOVERNANCE.md [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 11 01:24 Jenkinsfile [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 01:24 LICENSE [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 11 01:24 Makefile [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 01:24 OWNERS.md [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 11 01:24 README.md [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 01:20 VERSION [2024-11-11T01:32:54.264Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 01:24 bin [2024-11-11T01:32:54.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 01:24 cmd [2024-11-11T01:32:54.264Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 11 01:31 coverage.out [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 11 01:24 go.mod [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 11 01:24 go.sum [2024-11-11T01:32:54.264Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 01:24 internal [2024-11-11T01:32:54.264Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 01:24 mock [2024-11-11T01:32:54.264Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 11 01:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:32:54.744Z] + 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=a4f39084d15e0db485c06518b13d8975952b7d3f --label arch=arm64 --label version=0.0.0 . [2024-11-11T01:32:55.018Z] Sending build context to Docker daemon 10.63MB [2024-11-11T01:32:55.285Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T01:32:55.285Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-11T01:32:55.285Z] ---> dc9cdaf4e977 [2024-11-11T01:32:55.285Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-11T01:32:55.285Z] ---> Running in 389bf4316f9b [2024-11-11T01:32:55.551Z] Removing intermediate container 389bf4316f9b [2024-11-11T01:32:55.551Z] ---> 0bfe11e9b47a [2024-11-11T01:32:55.551Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-11T01:32:55.819Z] ---> Running in 1366d4d7d25b [2024-11-11T01:32:56.095Z] Removing intermediate container 1366d4d7d25b [2024-11-11T01:32:56.095Z] ---> ee30ab6e13aa [2024-11-11T01:32:56.095Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-11T01:32:56.095Z] ---> Running in 7026b9ca8a3c [2024-11-11T01:32:56.367Z] Removing intermediate container 7026b9ca8a3c [2024-11-11T01:32:56.367Z] ---> f0e9cc54dc8c [2024-11-11T01:32:56.367Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-11T01:32:56.634Z] ---> Running in aca2f25ab4eb [2024-11-11T01:32:56.908Z] Removing intermediate container aca2f25ab4eb [2024-11-11T01:32:56.908Z] ---> ae30633ae905 [2024-11-11T01:32:56.908Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-11T01:32:56.908Z] ---> Running in 164a673b5df2 [2024-11-11T01:32:57.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T01:32:58.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T01:32:59.892Z] OK: 242 MiB in 58 packages [2024-11-11T01:33:01.303Z] Removing intermediate container 164a673b5df2 [2024-11-11T01:33:01.303Z] ---> 67faa623dd2c [2024-11-11T01:33:01.303Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-11T01:33:01.303Z] ---> Running in 3d4b94c52160 [2024-11-11T01:33:01.303Z] Removing intermediate container 3d4b94c52160 [2024-11-11T01:33:01.303Z] ---> 40d94e9b91f4 [2024-11-11T01:33:01.303Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-11T01:33:01.893Z] ---> 1d1152f5d4f5 [2024-11-11T01:33:01.893Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T01:33:01.893Z] ---> Running in a1c4cea3b62a [2024-11-11T01:33:04.489Z] Removing intermediate container a1c4cea3b62a [2024-11-11T01:33:04.489Z] ---> eb790a144547 [2024-11-11T01:33:04.489Z] Step 11/25 : COPY . . [2024-11-11T01:33:05.456Z] ---> 794e95bfd5ee [2024-11-11T01:33:05.456Z] Step 12/25 : RUN $MAKE [2024-11-11T01:33:05.726Z] ---> Running in 6f2829357f50 [2024-11-11T01:33:06.688Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.4 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-11T01:36:47.274Z] Removing intermediate container 6f2829357f50 [2024-11-11T01:36:47.274Z] ---> 321a81d95246 [2024-11-11T01:36:47.274Z] Step 13/25 : FROM alpine:3.20 [2024-11-11T01:36:47.274Z] 3.20: Pulling from library/alpine [2024-11-11T01:36:47.274Z] cf04c63912e1: Already exists [2024-11-11T01:36:47.274Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T01:36:47.274Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T01:36:47.274Z] ---> c157a85ed455 [2024-11-11T01:36:47.274Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-11T01:36:47.274Z] ---> Running in c15d500376cd [2024-11-11T01:36:47.861Z] Removing intermediate container c15d500376cd [2024-11-11T01:36:47.861Z] ---> 7d688f053e87 [2024-11-11T01:36:47.861Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-11T01:36:47.861Z] ---> Running in 243040bf732b [2024-11-11T01:36:48.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T01:36:49.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T01:36:50.530Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T01:36:50.530Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T01:36:50.530Z] OK: 9 MiB in 15 packages [2024-11-11T01:36:51.500Z] Removing intermediate container 243040bf732b [2024-11-11T01:36:51.500Z] ---> 7e1fef201f82 [2024-11-11T01:36:51.500Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-11T01:36:51.500Z] ---> Running in d37e0225bf06 [2024-11-11T01:36:52.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T01:36:52.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T01:36:54.121Z] Upgrading critical system libraries and apk-tools: [2024-11-11T01:36:54.121Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T01:36:54.121Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T01:36:54.391Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T01:36:54.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T01:36:54.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T01:36:56.064Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T01:36:56.064Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T01:36:56.064Z] OK: 9 MiB in 15 packages [2024-11-11T01:36:57.023Z] Removing intermediate container d37e0225bf06 [2024-11-11T01:36:57.023Z] ---> 10b91392669c [2024-11-11T01:36:57.023Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-11T01:36:59.600Z] ---> 8b67fdb5fd46 [2024-11-11T01:36:59.600Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-11T01:36:59.867Z] ---> 2b034da3cf9e [2024-11-11T01:36:59.867Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-11T01:37:00.449Z] ---> e52c4ccde70a [2024-11-11T01:37:00.449Z] Step 20/25 : EXPOSE 59982 [2024-11-11T01:37:00.449Z] ---> Running in 60ebd5e4296d [2024-11-11T01:37:00.719Z] Removing intermediate container 60ebd5e4296d [2024-11-11T01:37:00.719Z] ---> 95413e0a6a57 [2024-11-11T01:37:00.719Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-11T01:37:00.986Z] ---> Running in e32846137417 [2024-11-11T01:37:01.252Z] Removing intermediate container e32846137417 [2024-11-11T01:37:01.252Z] ---> acea860d3d98 [2024-11-11T01:37:01.252Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-11T01:37:01.252Z] ---> Running in 6747ce907d92 [2024-11-11T01:37:01.837Z] Removing intermediate container 6747ce907d92 [2024-11-11T01:37:01.837Z] ---> c26a71d42ec8 [2024-11-11T01:37:01.837Z] Step 23/25 : LABEL arch=arm64 [2024-11-11T01:37:01.837Z] ---> Running in 4ca0c0c48a38 [2024-11-11T01:37:02.105Z] Removing intermediate container 4ca0c0c48a38 [2024-11-11T01:37:02.105Z] ---> 045245e917f2 [2024-11-11T01:37:02.105Z] Step 24/25 : LABEL git_sha=a4f39084d15e0db485c06518b13d8975952b7d3f [2024-11-11T01:37:02.105Z] ---> Running in dcbfd26b5a6f [2024-11-11T01:37:02.373Z] Removing intermediate container dcbfd26b5a6f [2024-11-11T01:37:02.373Z] ---> 2cc32f744d63 [2024-11-11T01:37:02.373Z] Step 25/25 : LABEL version=0.0.0 [2024-11-11T01:37:02.638Z] ---> Running in f30c7112b17d [2024-11-11T01:37:02.904Z] Removing intermediate container f30c7112b17d [2024-11-11T01:37:02.904Z] ---> 8fa39f0cd3b2 [2024-11-11T01:37:02.904Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T01:37:02.904Z] Successfully built 8fa39f0cd3b2 [2024-11-11T01:37:02.904Z] 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-11-11T01:37:03.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T01:37:03.845Z] [2024-11-11T01:37:03.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:37:04.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T01:37:04.270Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-11T01:37:04.270Z] 8998bd30e6a1: Pulling fs layer [2024-11-11T01:37:04.270Z] 04944245beec: Pulling fs layer [2024-11-11T01:37:04.270Z] 699f458cf7ca: Pulling fs layer [2024-11-11T01:37:04.270Z] 765212b225bb: Pulling fs layer [2024-11-11T01:37:04.270Z] f23df028b6ca: Pulling fs layer [2024-11-11T01:37:04.270Z] d65c8cfc05b1: Pulling fs layer [2024-11-11T01:37:04.270Z] 2437ff75d9bd: Pulling fs layer [2024-11-11T01:37:04.270Z] f23df028b6ca: Waiting [2024-11-11T01:37:04.270Z] d65c8cfc05b1: Waiting [2024-11-11T01:37:04.270Z] 2437ff75d9bd: Waiting [2024-11-11T01:37:04.270Z] 765212b225bb: Waiting [2024-11-11T01:37:04.539Z] 04944245beec: Verifying Checksum [2024-11-11T01:37:04.539Z] 04944245beec: Download complete [2024-11-11T01:37:04.539Z] 765212b225bb: Download complete [2024-11-11T01:37:04.539Z] f23df028b6ca: Verifying Checksum [2024-11-11T01:37:04.539Z] f23df028b6ca: Download complete [2024-11-11T01:37:04.539Z] d65c8cfc05b1: Verifying Checksum [2024-11-11T01:37:04.539Z] d65c8cfc05b1: Download complete [2024-11-11T01:37:04.805Z] 699f458cf7ca: Verifying Checksum [2024-11-11T01:37:04.805Z] 699f458cf7ca: Download complete [2024-11-11T01:37:05.071Z] 8998bd30e6a1: Verifying Checksum [2024-11-11T01:37:05.071Z] 8998bd30e6a1: Download complete [2024-11-11T01:37:07.651Z] 2437ff75d9bd: Verifying Checksum [2024-11-11T01:37:07.652Z] 2437ff75d9bd: Download complete [2024-11-11T01:37:10.229Z] 8998bd30e6a1: Pull complete [2024-11-11T01:37:10.229Z] 04944245beec: Pull complete [2024-11-11T01:37:12.170Z] 699f458cf7ca: Pull complete [2024-11-11T01:37:12.170Z] 765212b225bb: Pull complete [2024-11-11T01:37:12.753Z] f23df028b6ca: Pull complete [2024-11-11T01:37:13.020Z] d65c8cfc05b1: Pull complete [2024-11-11T01:37:31.208Z] 2437ff75d9bd: Pull complete [2024-11-11T01:37:31.208Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-11T01:37:31.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T01:37:31.208Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T01:37:31.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-26076 does not seem to be running inside a container [2024-11-11T01:37:31.656Z] $ 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-11-11T01:37:34.565Z] $ docker top bbe1412114fa6dff4b90707a770f5b31aaf08834b905080fafec9aa2c454b4cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:37:35.500Z] ---> job-cost.sh [2024-11-11T01:37:35.500Z] lf-activate-venv: SKIPPING [2024-11-11T01:37:35.500Z] INFO: No Stack... [2024-11-11T01:37:35.768Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-11T01:37:36.729Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T01:37:37.411Z] + cut -d, -f6 [2024-11-11T01:37:37.411Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2024-11-11T01:37:37.499Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-709-1-stack-cost] [2024-11-11T01:37:37.506Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-709-1-stack-cost] did not exist. Created. [2024-11-11T01:37:37.515Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-709-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T01:37:38.278Z] /w/workspace/device-mqtt-go/1@tmp/durable-cafb70be/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-11T01:37:38.946Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-11T01:37:38.982Z] Warning: overwriting stash ‘stack-cost’ [2024-11-11T01:37:39.031Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T01:37:39.051Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-709-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T01:37:39.148Z] $ docker stop --time=1 bbe1412114fa6dff4b90707a770f5b31aaf08834b905080fafec9aa2c454b4cb [2024-11-11T01:37:40.647Z] $ docker rm -f --volumes bbe1412114fa6dff4b90707a770f5b31aaf08834b905080fafec9aa2c454b4cb [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-11-11T01:37:41.805Z] provisioning config files... [2024-11-11T01:37:41.814Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp/config9107525102105616319tmp [Pipeline] { [Pipeline] sh [2024-11-11T01:37:42.175Z] + set +x [2024-11-11T01:37:42.175Z] + + curl -s https://codecov.io/bash [2024-11-11T01:37:42.175Z] bash -s -- [2024-11-11T01:37:42.434Z] [2024-11-11T01:37:42.434Z] _____ _ [2024-11-11T01:37:42.434Z] / ____| | | [2024-11-11T01:37:42.434Z] | | ___ __| | ___ ___ _____ __ [2024-11-11T01:37:42.434Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-11T01:37:42.434Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-11T01:37:42.434Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-11T01:37:42.434Z] Bash-1.0.6 [2024-11-11T01:37:42.434Z] [2024-11-11T01:37:42.434Z] [2024-11-11T01:37:42.434Z] ==> git version 2.25.1 found [2024-11-11T01:37:42.434Z] ==> 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-11-11T01:37:42.434Z] Release-Date: 2020-01-08 [2024-11-11T01:37:42.434Z] 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-11-11T01:37:42.434Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-11T01:37:42.434Z] ==> Jenkins CI detected. [2024-11-11T01:37:42.434Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-709 [2024-11-11T01:37:42.434Z] project root: . [2024-11-11T01:37:42.434Z] --> token set from env [2024-11-11T01:37:42.434Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-11T01:37:42.434Z] ==> Running gcov in . (disable via -X gcov) [2024-11-11T01:37:42.434Z] ==> Python coveragepy not found [2024-11-11T01:37:42.434Z] ==> Searching for coverage reports in: [2024-11-11T01:37:42.434Z] + . [2024-11-11T01:37:42.434Z] -> Found 1 reports [2024-11-11T01:37:42.434Z] ==> Detecting git/mercurial file structure [2024-11-11T01:37:42.434Z] ==> Reading reports [2024-11-11T01:37:42.434Z] + ./coverage.out bytes=21039 [2024-11-11T01:37:42.434Z] ==> Appending adjustments [2024-11-11T01:37:42.434Z] https://docs.codecov.io/docs/fixing-reports [2024-11-11T01:37:42.434Z] + Found adjustments [2024-11-11T01:37:42.434Z] ==> Gzipping contents [2024-11-11T01:37:42.434Z] 4.0K /tmp/codecov.B9f07z.gz [2024-11-11T01:37:42.435Z] ==> Uploading reports [2024-11-11T01:37:42.435Z] url: https://codecov.io [2024-11-11T01:37:42.435Z] query: branch=PR-709&commit=a4f39084d15e0db485c06518b13d8975952b7d3f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-709%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=709&job=&cmd_args= [2024-11-11T01:37:42.435Z] -> Pinging Codecov [2024-11-11T01:37:42.435Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-709&commit=a4f39084d15e0db485c06518b13d8975952b7d3f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-709%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=709&job=&cmd_args= [2024-11-11T01:37:42.695Z] -> Uploading to [2024-11-11T01:37:42.695Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/a4f39084d15e0db485c06518b13d8975952b7d3f/f8802a07-253c-43f3-bed7-70768e2055d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T013742Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=285cea9b71d5b0790a44b60949fdcf550c77f32357858f4bb4b074df922e2590 [2024-11-11T01:37:42.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T01:37:42.695Z] Dload Upload Total Spent Left Speed [2024-11-11T01:37:42.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 13657 --:--:-- --:--:-- --:--:-- 13657 [2024-11-11T01:37:42.954Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a4f39084d15e0db485c06518b13d8975952b7d3f [Pipeline] } [2024-11-11T01:37:42.990Z] 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-11-11T01:37:45.279Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-709/archives ] [2024-11-11T01:37:45.279Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-709/archives [2024-11-11T01:37:45.279Z] total 16 [2024-11-11T01:37:45.279Z] drwxr-xr-x 3 root root 4096 Nov 11 01:25 . [2024-11-11T01:37:45.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 01:25 .. [2024-11-11T01:37:45.279Z] drwxr-xr-x 2 root root 4096 Nov 11 01:25 cost [2024-11-11T01:37:45.279Z] -rw-r--r-- 1 root root 86 Nov 11 01:25 cost.csv [2024-11-11T01:37:45.279Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-709/archives [2024-11-11T01:37:45.279Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-709/archives [2024-11-11T01:37:45.279Z] total 16 [2024-11-11T01:37:45.279Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 01:25 . [2024-11-11T01:37:45.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 01:25 .. [2024-11-11T01:37:45.279Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 01:25 cost [2024-11-11T01:37:45.279Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 11 01:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:37:45.628Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:37:46.530Z] ---> package-listing.sh [2024-11-11T01:37:46.530Z] ++ facter osfamily [2024-11-11T01:37:46.530Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-11T01:37:46.788Z] + OS_FAMILY=debian [2024-11-11T01:37:46.788Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-709 [2024-11-11T01:37:46.788Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-11T01:37:46.788Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-11T01:37:46.788Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-11T01:37:46.788Z] + PACKAGES=/tmp/packages_start.txt [2024-11-11T01:37:46.788Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-709 ']' [2024-11-11T01:37:46.788Z] + PACKAGES=/tmp/packages_end.txt [2024-11-11T01:37:46.788Z] + case "${OS_FAMILY}" in [2024-11-11T01:37:46.788Z] + dpkg -l [2024-11-11T01:37:46.788Z] + grep '^ii' [2024-11-11T01:37:46.788Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-11T01:37:46.788Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-11T01:37:46.788Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-11T01:37:46.788Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-709 ']' [2024-11-11T01:37:46.788Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-709/archives/ [2024-11-11T01:37:46.788Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-709/archives/ [Pipeline] echo [2024-11-11T01:37:46.866Z] 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-709/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-11T01:37:47.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T01:37:47.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T01:37:47.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T01:37:48.078Z] prd-ubuntu20.04-docker-8c-8g-26075 does not seem to be running inside a container [2024-11-11T01:37:48.108Z] $ 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-709/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-709 -v /w/workspace/gexfoundry_device-mqtt-go_PR-709:/w/workspace/gexfoundry_device-mqtt-go_PR-709:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-709@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-11-11T01:37:48.302Z] $ docker top 4b2d02c8608eb422f45640f5820dfa8f6726cf6f7b0004325e6dd2c6ee2fc16a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T01:37:48.715Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-11T01:37:49.042Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-11T01:37:49.355Z] + ls /var/log/sa-host [2024-11-11T01:37:49.355Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T01:37:49.610Z] provisioning config files... [2024-11-11T01:37:49.621Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-709@tmp/config1967654330904553038tmp [Pipeline] { [Pipeline] echo [2024-11-11T01:37:49.695Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:37:50.029Z] ---> create-netrc.sh [Pipeline] } [2024-11-11T01:37:50.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:37:50.513Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-11T01:37:50.561Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:37:50.891Z] ---> sudo-logs.sh [2024-11-11T01:37:50.891Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-11T01:37:51.014Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:37:51.347Z] ---> job-cost.sh [2024-11-11T01:37:51.348Z] lf-activate-venv: SKIPPING [2024-11-11T01:37:51.348Z] DEBUG: total: 0.2199999988079071 [2024-11-11T01:37:51.348Z] INFO: Retrieving Stack Cost... [2024-11-11T01:37:51.918Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T01:37:52.179Z] INFO: Archiving Costs [Pipeline] echo [2024-11-11T01:37:52.224Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T01:37:52.555Z] ---> logs-deploy.sh [2024-11-11T01:37:52.555Z] lf-activate-venv: SKIPPING [2024-11-11T01:37:52.555Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-709/1 [2024-11-11T01:37:52.555Z] INFO: archiving workspace using pattern(s): [2024-11-11T01:37:53.495Z] Archives upload complete. [2024-11-11T01:37:53.755Z] INFO: archiving logs to Nexus