Pull request #707 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f+6320066227888112c6c0a181794f3c9cc54daea1 (1bbe17ee65e7d61290ec8255b016d6ee45059d2e) 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-ssh826351203518290580.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-ssh11938786012160414505.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-707/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-707/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh943595138799861504.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-707/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4274637489764962888.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-ssh14058525175060030838.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-707/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-707/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3690699079492095613.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-24450’ Running on prd-ubuntu20.04-docker-8c-8g-24456 in /w/workspace/gexfoundry_device-mqtt-go_PR-707 [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-707 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6320066227888112c6c0a181794f3c9cc54daea1 into PR head commit 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f Merge succeeded, producing 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f Checking out Revision 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f (PR-707) 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 > 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/707/head:refs/remotes/origin/PR-707 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f # 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 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-04T01:17:34.913Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-04T01:17:35.123Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-04T01:17:35.250Z] ========================================================= [2024-11-04T01:17:35.250Z] EdgeX Global Pipelines Version Info [2024-11-04T01:17:35.250Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:17:36.014Z] ------------------- [2024-11-04T01:17:36.014Z] stable info: [2024-11-04T01:17:36.014Z] ------------------- [2024-11-04T01:17:36.014Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-04T01:17:36.014Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-04T01:17:36.014Z] Message: update stable to v1.0.265 [2024-11-04T01:17:36.585Z] ------------------- [2024-11-04T01:17:36.585Z] experimental info: [2024-11-04T01:17:36.585Z] ------------------- [2024-11-04T01:17:36.585Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-04T01:17:36.585Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-04T01:17:36.585Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-04T01:17:36.793Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-11-04T01:17:36.847Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-11-04T01:17:36.914Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-04T01:17:36.981Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-04T01:17:37.041Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-04T01:17:37.099Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-04T01:17:37.152Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-04T01:17:37.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-04T01:17:37.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-04T01:17:37.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-04T01:17:37.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-04T01:17:37.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-11-04T01:17:37.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-04T01:17:37.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-04T01:17:37.604Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-04T01:17:37.656Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-04T01:17:37.725Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-04T01:17:37.773Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-04T01:17:37.822Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-04T01:17:37.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-04T01:17:37.936Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-04T01:17:37.992Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-04T01:17:38.050Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-04T01:17:38.106Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-04T01:17:38.164Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-04T01:17:38.221Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-04T01:17:38.277Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-04T01:17:38.332Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-707 [Pipeline] echo [2024-11-04T01:17:38.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-707 [Pipeline] echo [2024-11-04T01:17:38.451Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-707 [Pipeline] echo [2024-11-04T01:17:38.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [Pipeline] echo [2024-11-04T01:17:38.562Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 705a22a [Pipeline] echo [2024-11-04T01:17:38.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T01:17:38.747Z] provisioning config files... [2024-11-04T01:17:38.761Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/config2287605363810098929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:17:39.163Z] ---> ****-login.sh [2024-11-04T01:17:39.163Z] nexus3.edgexfoundry.org:10001 [2024-11-04T01:17:39.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:17:39.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:17:39.426Z] Configure a credential helper to remove this warning. See [2024-11-04T01:17:39.426Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:17:39.426Z] [2024-11-04T01:17:39.426Z] Login Succeeded [2024-11-04T01:17:39.426Z] nexus3.edgexfoundry.org:10002 [2024-11-04T01:17:39.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:17:39.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:17:39.426Z] Configure a credential helper to remove this warning. See [2024-11-04T01:17:39.426Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:17:39.426Z] [2024-11-04T01:17:39.426Z] Login Succeeded [2024-11-04T01:17:39.426Z] nexus3.edgexfoundry.org:10003 [2024-11-04T01:17:39.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:17:39.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:17:39.687Z] Configure a credential helper to remove this warning. See [2024-11-04T01:17:39.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:17:39.687Z] [2024-11-04T01:17:39.687Z] Login Succeeded [2024-11-04T01:17:39.687Z] nexus3.edgexfoundry.org:10004 [2024-11-04T01:17:39.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:17:39.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:17:39.688Z] Configure a credential helper to remove this warning. See [2024-11-04T01:17:39.688Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:17:39.688Z] [2024-11-04T01:17:39.688Z] Login Succeeded [2024-11-04T01:17:39.688Z] ****.io [2024-11-04T01:17:39.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:17:39.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:17:39.948Z] Configure a credential helper to remove this warning. See [2024-11-04T01:17:39.948Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:17:39.948Z] [2024-11-04T01:17:39.948Z] Login Succeeded [2024-11-04T01:17:39.948Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T01:17:39.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-04T01:17:40.632Z] + git rev-list -1 --merges 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f~1..705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [Pipeline] echo [2024-11-04T01:17:40.689Z] -----------> git rev-list -1 --merges 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f~1..705a22a4a64b64b4c53c11d1dbba5b9274b17c5f 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [false] [Pipeline] sh [2024-11-04T01:17:41.017Z] + git log --format=format:%s -1 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [Pipeline] echo [2024-11-04T01:17:41.070Z] ========================================================= [2024-11-04T01:17:41.070Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-04T01:17:41.070Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T01:17:41.527Z] + git log --format=format:%s -1 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [Pipeline] echo [2024-11-04T01:17:41.565Z] [semverPrep] GIT_COMMIT: 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-04T01:17:41.609Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-04T01:17:42.026Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-04T01:17:42.026Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-04T01:17:42.026Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-04T01:17:42.026Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-04T01:17:42.026Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-04T01:17:42.026Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-04T01:17:42.026Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:17:42.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T01:17:42.549Z] [2024-11-04T01:17:42.549Z] 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-04T01:17:42.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T01:17:42.951Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-04T01:17:42.951Z] b85a868b505f: Pulling fs layer [2024-11-04T01:17:42.951Z] e2be974225ed: Pulling fs layer [2024-11-04T01:17:42.951Z] 339a4e72a1f5: Pulling fs layer [2024-11-04T01:17:42.951Z] 988bab9f4d93: Pulling fs layer [2024-11-04T01:17:42.951Z] 1469e6f7b9e6: Pulling fs layer [2024-11-04T01:17:42.951Z] eaf3925da568: Pulling fs layer [2024-11-04T01:17:42.951Z] bab4dde63d76: Pulling fs layer [2024-11-04T01:17:42.951Z] bde34c3a00c8: Pulling fs layer [2024-11-04T01:17:42.951Z] b352a97aabf1: Pulling fs layer [2024-11-04T01:17:42.951Z] 4872d77fe225: Pulling fs layer [2024-11-04T01:17:42.951Z] 5851b861e8e6: Pulling fs layer [2024-11-04T01:17:42.951Z] eaf3925da568: Waiting [2024-11-04T01:17:42.951Z] 4872d77fe225: Waiting [2024-11-04T01:17:42.951Z] b352a97aabf1: Waiting [2024-11-04T01:17:42.951Z] 5851b861e8e6: Waiting [2024-11-04T01:17:42.951Z] bab4dde63d76: Waiting [2024-11-04T01:17:42.951Z] bde34c3a00c8: Waiting [2024-11-04T01:17:42.951Z] 988bab9f4d93: Waiting [2024-11-04T01:17:42.951Z] 1469e6f7b9e6: Waiting [2024-11-04T01:17:42.951Z] e2be974225ed: Verifying Checksum [2024-11-04T01:17:42.951Z] e2be974225ed: Download complete [2024-11-04T01:17:42.951Z] 988bab9f4d93: Verifying Checksum [2024-11-04T01:17:42.951Z] 988bab9f4d93: Download complete [2024-11-04T01:17:42.951Z] 1469e6f7b9e6: Verifying Checksum [2024-11-04T01:17:42.951Z] 1469e6f7b9e6: Download complete [2024-11-04T01:17:43.211Z] eaf3925da568: Verifying Checksum [2024-11-04T01:17:43.211Z] eaf3925da568: Download complete [2024-11-04T01:17:43.211Z] 339a4e72a1f5: Verifying Checksum [2024-11-04T01:17:43.211Z] 339a4e72a1f5: Download complete [2024-11-04T01:17:43.211Z] bde34c3a00c8: Verifying Checksum [2024-11-04T01:17:43.211Z] bde34c3a00c8: Download complete [2024-11-04T01:17:43.211Z] b352a97aabf1: Verifying Checksum [2024-11-04T01:17:43.211Z] b352a97aabf1: Download complete [2024-11-04T01:17:43.211Z] 4872d77fe225: Verifying Checksum [2024-11-04T01:17:43.211Z] 4872d77fe225: Download complete [2024-11-04T01:17:43.211Z] 5851b861e8e6: Verifying Checksum [2024-11-04T01:17:43.211Z] 5851b861e8e6: Download complete [2024-11-04T01:17:43.211Z] b85a868b505f: Verifying Checksum [2024-11-04T01:17:43.211Z] b85a868b505f: Download complete [2024-11-04T01:17:43.471Z] bab4dde63d76: Verifying Checksum [2024-11-04T01:17:43.471Z] bab4dde63d76: Download complete [2024-11-04T01:17:44.854Z] b85a868b505f: Pull complete [2024-11-04T01:17:44.854Z] e2be974225ed: Pull complete [2024-11-04T01:17:45.115Z] 339a4e72a1f5: Pull complete [2024-11-04T01:17:45.115Z] 988bab9f4d93: Pull complete [2024-11-04T01:17:45.685Z] 1469e6f7b9e6: Pull complete [2024-11-04T01:17:45.685Z] eaf3925da568: Pull complete [2024-11-04T01:17:47.605Z] bab4dde63d76: Pull complete [2024-11-04T01:17:47.605Z] bde34c3a00c8: Pull complete [2024-11-04T01:17:47.605Z] b352a97aabf1: Pull complete [2024-11-04T01:17:47.605Z] 4872d77fe225: Pull complete [2024-11-04T01:17:47.867Z] 5851b861e8e6: Pull complete [2024-11-04T01:17:47.867Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-04T01:17:47.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T01:17:47.867Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T01:17:48.167Z] prd-ubuntu20.04-docker-8c-8g-24456 does not seem to be running inside a container [2024-11-04T01:17:48.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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-04T01:17:52.549Z] $ docker top b3b5d6ed0afcf5d282405f3dd3f420db37d7e2684961545bb6d50dd1cdae247c -eo pid,comm [2024-11-04T01:17:52.611Z] 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-04T01:17:52.611Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-04T01:17:52.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-04T01:17:52.799Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-04T01:17:52.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-04T01:17:52.933Z] $ docker exec b3b5d6ed0afcf5d282405f3dd3f420db37d7e2684961545bb6d50dd1cdae247c ssh-agent [2024-11-04T01:17:53.050Z] SSH_AUTH_SOCK=/tmp/ssh-zh9DcFjVC2mm/agent.32 [2024-11-04T01:17:53.050Z] SSH_AGENT_PID=38 [2024-11-04T01:17:53.059Z] Running ssh-add (command line suppressed) [2024-11-04T01:17:53.157Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/private_key_13508480842625962501.key (/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/private_key_13508480842625962501.key) [2024-11-04T01:17:53.176Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-04T01:17:53.528Z] + git tag --points-at HEAD [Pipeline] } [2024-11-04T01:17:53.553Z] $ docker exec --env ******** --env ******** b3b5d6ed0afcf5d282405f3dd3f420db37d7e2684961545bb6d50dd1cdae247c ssh-agent -k [2024-11-04T01:17:53.659Z] unset SSH_AUTH_SOCK; [2024-11-04T01:17:53.660Z] unset SSH_AGENT_PID; [2024-11-04T01:17:53.660Z] echo Agent pid 38 killed; [2024-11-04T01:17:53.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-04T01:17:53.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-04T01:17:53.798Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-04T01:17:53.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-04T01:17:53.914Z] $ docker exec b3b5d6ed0afcf5d282405f3dd3f420db37d7e2684961545bb6d50dd1cdae247c ssh-agent [2024-11-04T01:17:54.023Z] SSH_AUTH_SOCK=/tmp/ssh-ezJpY6mpCbsJ/agent.72 [2024-11-04T01:17:54.023Z] SSH_AGENT_PID=78 [2024-11-04T01:17:54.027Z] Running ssh-add (command line suppressed) [2024-11-04T01:17:54.129Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/private_key_8173779382827194874.key (/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/private_key_8173779382827194874.key) [2024-11-04T01:17:54.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-04T01:17:54.496Z] + git semver init [2024-11-04T01:17:54.853Z] 2024-11-04 01:17:54,682 [run_init] DEBUG init version:0.0.0 force:False [2024-11-04T01:17:54.853Z] 2024-11-04 01:17:54,683 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver [2024-11-04T01:17:54.853Z] 2024-11-04 01:17:54,683 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver [2024-11-04T01:17:54.853Z] 2024-11-04 01:17:54,684 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-707, universal_newlines=False, shell=None, istream=None) [2024-11-04T01:17:56.763Z] 2024-11-04 01:17:56,261 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707/.git/info/exclude [2024-11-04T01:17:56.763Z] 2024-11-04 01:17:56,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver/PR-707 with force:False [2024-11-04T01:17:56.763Z] 2024-11-04 01:17:56,262 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver/PR-707 [2024-11-04T01:17:56.763Z] 2024-11-04 01:17:56,266 [execute] INFO git cat-file --batch-check [2024-11-04T01:17:56.763Z] 2024-11-04 01:17:56,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver, universal_newlines=False, shell=None, istream=) [2024-11-04T01:17:56.763Z] 2024-11-04 01:17:56,271 [execute] INFO git cat-file --batch [2024-11-04T01:17:56.763Z] 2024-11-04 01:17:56,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver, universal_newlines=False, shell=None, istream=) [2024-11-04T01:17:56.763Z] 2024-11-04 01:17:56,277 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-707/.semver/PR-707 [2024-11-04T01:17:56.763Z] 0.0.0 [Pipeline] } [2024-11-04T01:17:56.793Z] $ docker exec --env ******** --env ******** b3b5d6ed0afcf5d282405f3dd3f420db37d7e2684961545bb6d50dd1cdae247c ssh-agent -k [2024-11-04T01:17:56.892Z] unset SSH_AUTH_SOCK; [2024-11-04T01:17:56.893Z] unset SSH_AGENT_PID; [2024-11-04T01:17:56.893Z] echo Agent pid 78 killed; [2024-11-04T01:17:56.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-04T01:17:57.433Z] + git semver [Pipeline] } [2024-11-04T01:17:57.721Z] $ docker stop --time=1 b3b5d6ed0afcf5d282405f3dd3f420db37d7e2684961545bb6d50dd1cdae247c [2024-11-04T01:17:59.016Z] $ docker rm -f --volumes b3b5d6ed0afcf5d282405f3dd3f420db37d7e2684961545bb6d50dd1cdae247c [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T01:17:59.440Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-04T01:17:59.734Z] Stashed 1 file(s) [Pipeline] echo [2024-11-04T01:17:59.762Z] [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-04T01:18:00.527Z] provisioning config files... [2024-11-04T01:18:00.538Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/config6721491030603804163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:18:00.915Z] ---> ****-login.sh [2024-11-04T01:18:00.915Z] nexus3.edgexfoundry.org:10001 [2024-11-04T01:18:00.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:18:00.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:18:00.915Z] Configure a credential helper to remove this warning. See [2024-11-04T01:18:00.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:18:00.915Z] [2024-11-04T01:18:00.915Z] Login Succeeded [2024-11-04T01:18:00.915Z] nexus3.edgexfoundry.org:10002 [2024-11-04T01:18:01.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:18:01.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:18:01.175Z] Configure a credential helper to remove this warning. See [2024-11-04T01:18:01.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:18:01.175Z] [2024-11-04T01:18:01.175Z] Login Succeeded [2024-11-04T01:18:01.175Z] nexus3.edgexfoundry.org:10003 [2024-11-04T01:18:01.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:18:01.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:18:01.175Z] Configure a credential helper to remove this warning. See [2024-11-04T01:18:01.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:18:01.175Z] [2024-11-04T01:18:01.175Z] Login Succeeded [2024-11-04T01:18:01.175Z] nexus3.edgexfoundry.org:10004 [2024-11-04T01:18:01.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:18:01.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:18:01.438Z] Configure a credential helper to remove this warning. See [2024-11-04T01:18:01.438Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:18:01.438Z] [2024-11-04T01:18:01.438Z] Login Succeeded [2024-11-04T01:18:01.438Z] ****.io [2024-11-04T01:18:01.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:18:01.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:18:01.699Z] Configure a credential helper to remove this warning. See [2024-11-04T01:18:01.699Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:18:01.699Z] [2024-11-04T01:18:01.699Z] Login Succeeded [2024-11-04T01:18:01.699Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T01:18:01.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-04T01:18:01.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T01:18:02.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T01:18:02.070Z] ========================================================= [2024-11-04T01:18:02.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-04T01:18:02.070Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:18:02.565Z] + 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-04T01:18:02.565Z] Sending build context to Docker daemon 20.97MB [2024-11-04T01:18:02.565Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T01:18:02.565Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-04T01:18:02.829Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-04T01:18:02.829Z] 43c4264eed91: Pulling fs layer [2024-11-04T01:18:02.829Z] 4cc291be95ef: Pulling fs layer [2024-11-04T01:18:02.829Z] 2ac1f1163629: Pulling fs layer [2024-11-04T01:18:02.829Z] 5c3c966382ef: Pulling fs layer [2024-11-04T01:18:02.829Z] 4f4fb700ef54: Pulling fs layer [2024-11-04T01:18:02.829Z] 5d5c8e513c77: Pulling fs layer [2024-11-04T01:18:02.829Z] 9f66e0745190: Pulling fs layer [2024-11-04T01:18:02.829Z] f49a43e4bbc0: Pulling fs layer [2024-11-04T01:18:02.829Z] 561ebcabdf7f: Pulling fs layer [2024-11-04T01:18:02.829Z] 5d5c8e513c77: Waiting [2024-11-04T01:18:02.829Z] 5c3c966382ef: Waiting [2024-11-04T01:18:02.829Z] 9f66e0745190: Waiting [2024-11-04T01:18:02.829Z] 4f4fb700ef54: Waiting [2024-11-04T01:18:02.829Z] 561ebcabdf7f: Waiting [2024-11-04T01:18:02.829Z] 4cc291be95ef: Download complete [2024-11-04T01:18:02.829Z] 5c3c966382ef: Download complete [2024-11-04T01:18:02.829Z] 4f4fb700ef54: Download complete [2024-11-04T01:18:02.829Z] 5d5c8e513c77: Verifying Checksum [2024-11-04T01:18:02.829Z] 5d5c8e513c77: Download complete [2024-11-04T01:18:02.829Z] 43c4264eed91: Verifying Checksum [2024-11-04T01:18:02.829Z] 43c4264eed91: Download complete [2024-11-04T01:18:02.829Z] 9f66e0745190: Verifying Checksum [2024-11-04T01:18:02.829Z] 9f66e0745190: Download complete [2024-11-04T01:18:03.087Z] 561ebcabdf7f: Download complete [2024-11-04T01:18:03.087Z] 43c4264eed91: Pull complete [2024-11-04T01:18:03.087Z] 4cc291be95ef: Pull complete [2024-11-04T01:18:03.345Z] 2ac1f1163629: Download complete [2024-11-04T01:18:03.603Z] f49a43e4bbc0: Verifying Checksum [2024-11-04T01:18:03.603Z] f49a43e4bbc0: Download complete [2024-11-04T01:18:06.902Z] 2ac1f1163629: Pull complete [2024-11-04T01:18:06.902Z] 5c3c966382ef: Pull complete [2024-11-04T01:18:06.902Z] 4f4fb700ef54: Pull complete [2024-11-04T01:18:07.165Z] 5d5c8e513c77: Pull complete [2024-11-04T01:18:07.165Z] 9f66e0745190: Pull complete [2024-11-04T01:18:09.695Z] f49a43e4bbc0: Pull complete [2024-11-04T01:18:09.954Z] 561ebcabdf7f: Pull complete [2024-11-04T01:18:09.954Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-04T01:18:09.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-04T01:18:09.954Z] ---> 3a752c3f9dda [2024-11-04T01:18:09.954Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-04T01:18:14.175Z] ---> Running in 2a414bc2ced8 [2024-11-04T01:18:14.435Z] Removing intermediate container 2a414bc2ced8 [2024-11-04T01:18:14.435Z] ---> 5f0421f9810c [2024-11-04T01:18:14.435Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T01:18:14.435Z] ---> Running in 90dcf8c97dca [2024-11-04T01:18:14.435Z] Removing intermediate container 90dcf8c97dca [2024-11-04T01:18:14.436Z] ---> f364e9212bcc [2024-11-04T01:18:14.436Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-04T01:18:14.436Z] ---> Running in b8194feea7f7 [2024-11-04T01:18:14.436Z] Removing intermediate container b8194feea7f7 [2024-11-04T01:18:14.436Z] ---> 760158de8293 [2024-11-04T01:18:14.436Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-04T01:18:14.436Z] ---> Running in 5984281de4a9 [2024-11-04T01:18:14.695Z] Removing intermediate container 5984281de4a9 [2024-11-04T01:18:14.695Z] ---> 9d3af491b4f4 [2024-11-04T01:18:14.695Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-04T01:18:14.695Z] ---> Running in 0d7de00fd3cb [2024-11-04T01:18:14.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T01:18:15.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T01:18:15.305Z] Still waiting to schedule task [2024-11-04T01:18:15.305Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24453’ is offline [2024-11-04T01:18:15.475Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-04T01:18:15.475Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-04T01:18:15.475Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-04T01:18:15.475Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-04T01:18:15.475Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T01:18:15.475Z] OK: 250 MiB in 58 packages [2024-11-04T01:18:16.044Z] Removing intermediate container 0d7de00fd3cb [2024-11-04T01:18:16.044Z] ---> d6fbbe1cb95a [2024-11-04T01:18:16.044Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-04T01:18:16.044Z] ---> Running in 77ef910b2bb0 [2024-11-04T01:18:16.044Z] Removing intermediate container 77ef910b2bb0 [2024-11-04T01:18:16.044Z] ---> 9ff0dc72202a [2024-11-04T01:18:16.044Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-04T01:18:16.302Z] ---> 64e28b237ad2 [2024-11-04T01:18:16.302Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T01:18:16.302Z] ---> Running in 2c175b05a40b [2024-11-04T01:19:12.625Z] Removing intermediate container 2c175b05a40b [2024-11-04T01:19:12.625Z] ---> 589405fa3101 [2024-11-04T01:19:12.625Z] Step 11/12 : COPY . . [2024-11-04T01:19:12.625Z] ---> a47154d67b58 [2024-11-04T01:19:12.625Z] Step 12/12 : RUN $MAKE [2024-11-04T01:19:12.625Z] ---> Running in 2d07e4b1607b [2024-11-04T01:19:12.625Z] noop [2024-11-04T01:19:12.625Z] Removing intermediate container 2d07e4b1607b [2024-11-04T01:19:12.625Z] ---> 7e9a0acf21e3 [2024-11-04T01:19:12.625Z] Successfully built 7e9a0acf21e3 [2024-11-04T01:19:12.625Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:19:13.120Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-04T01:19:13.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T01:19:13.308Z] prd-ubuntu20.04-docker-8c-8g-24456 does not seem to be running inside a container [2024-11-04T01:19:13.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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-04T01:19:13.714Z] $ docker top 2e163a425955649b30162f6c51dbfd0c1cc3d74714c38b6f705020b51bc83d34 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T01:19:14.130Z] + go version [2024-11-04T01:19:14.130Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-04T01:19:14.162Z] $ docker stop --time=1 2e163a425955649b30162f6c51dbfd0c1cc3d74714c38b6f705020b51bc83d34 [2024-11-04T01:19:15.437Z] $ docker rm -f --volumes 2e163a425955649b30162f6c51dbfd0c1cc3d74714c38b6f705020b51bc83d34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:19:16.239Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-04T01:19:16.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T01:19:16.424Z] prd-ubuntu20.04-docker-8c-8g-24456 does not seem to be running inside a container [2024-11-04T01:19:16.450Z] $ 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-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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-04T01:19:16.791Z] $ docker top 6dfd8df3583a7d3bd6aad2d078f42fd34960cb6c8b73056db1fb7ee2273824f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T01:19:17.203Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-707 [Pipeline] fileExists [Pipeline] sh [2024-11-04T01:19:17.589Z] + make test [2024-11-04T01:19:17.590Z] go test ./... -coverprofile=coverage.out ./... [2024-11-04T01:19:19.494Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-04T01:19:37.577Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-04T01:19:37.577Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-04T01:19:37.577Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements [2024-11-04T01:19:47.548Z] go vet ./... [2024-11-04T01:19:47.764Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24457 in /w/workspace/gexfoundry_device-mqtt-go_PR-707 [Pipeline] { [Pipeline] ws [2024-11-04T01:19:47.839Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-11-04T01:19:50.962Z] The recommended git tool is: git [2024-11-04T01:19:51.737Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-04T01:19:51.737Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-04T01:19:51.737Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-04T01:19:51.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-04T01:19:51.824Z] $ docker stop --time=1 6dfd8df3583a7d3bd6aad2d078f42fd34960cb6c8b73056db1fb7ee2273824f3 [2024-11-04T01:19:55.577Z] using credential edgex-jenkins-ssh [2024-11-04T01:19:55.603Z] Cloning the remote Git repository [2024-11-04T01:19:55.640Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-04T01:19:55.730Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-11-04T01:19:55.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-04T01:19:55.860Z] > git --version # timeout=10 [2024-11-04T01:19:55.878Z] > git --version # 'git version 2.25.1' [2024-11-04T01:19:55.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T01:19:56.016Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-04T01:19:57.481Z] $ docker rm -f --volumes 6dfd8df3583a7d3bd6aad2d078f42fd34960cb6c8b73056db1fb7ee2273824f3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T01:19:58.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-04T01:19:58.197Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-04T01:19:58.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-04T01:19:59.242Z] + ls -al . [2024-11-04T01:19:59.242Z] total 252 [2024-11-04T01:19:59.242Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 4 01:19 . [2024-11-04T01:19:59.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 01:17 .. [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 4 01:17 .dockerignore [2024-11-04T01:19:59.242Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 01:19 .git [2024-11-04T01:19:59.242Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 01:17 .github [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 4 01:17 .gitignore [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 4 01:17 .golangci.yml [2024-11-04T01:19:59.242Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 01:17 .semver [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 4 01:17 Attribution.txt [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 4 01:17 CHANGELOG.md [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 4 01:17 Dockerfile [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 4 01:17 GOVERNANCE.md [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 4 01:17 Jenkinsfile [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 4 01:17 LICENSE [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 2500 Nov 4 01:17 Makefile [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 4 01:17 OWNERS.md [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 4 01:17 README.md [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 01:17 VERSION [2024-11-04T01:19:59.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 01:17 bin [2024-11-04T01:19:59.242Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 01:17 cmd [2024-11-04T01:19:59.242Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 4 01:19 coverage.out [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 4 01:17 go.mod [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 4 01:17 go.sum [2024-11-04T01:19:59.242Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 01:17 internal [2024-11-04T01:19:59.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 01:17 mock [2024-11-04T01:19:59.242Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 4 01:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:19:59.657Z] + 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=705a22a4a64b64b4c53c11d1dbba5b9274b17c5f --label arch=amd64 --label version=0.0.0 . [2024-11-04T01:19:59.657Z] Sending build context to Docker daemon 20.99MB [2024-11-04T01:19:59.657Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T01:19:59.657Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-04T01:19:59.657Z] ---> 7e9a0acf21e3 [2024-11-04T01:19:59.657Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-04T01:19:58.628Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-04T01:19:58.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-04T01:19:59.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-04T01:19:59.479Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-04T01:19:59.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T01:19:59.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-04T01:20:00.030Z] Merging remotes/origin/main commit 6320066227888112c6c0a181794f3c9cc54daea1 into PR head commit 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [2024-11-04T01:20:00.228Z] ---> Running in 384212a58d95 [2024-11-04T01:20:00.228Z] Removing intermediate container 384212a58d95 [2024-11-04T01:20:00.228Z] ---> 88ea7385b25e [2024-11-04T01:20:00.228Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T01:20:00.228Z] ---> Running in c11ff0b42133 [2024-11-04T01:20:00.228Z] Removing intermediate container c11ff0b42133 [2024-11-04T01:20:00.228Z] ---> cbbc31e39c0a [2024-11-04T01:20:00.228Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-04T01:20:00.228Z] ---> Running in 6a22702d436e [2024-11-04T01:20:00.302Z] Merge succeeded, producing 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [2024-11-04T01:20:00.303Z] Checking out Revision 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f (PR-707) [2024-11-04T01:20:00.487Z] Removing intermediate container 6a22702d436e [2024-11-04T01:20:00.487Z] ---> 783f95e8db92 [2024-11-04T01:20:00.487Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-04T01:20:00.487Z] ---> Running in 77871edaec1a [2024-11-04T01:20:00.487Z] Removing intermediate container 77871edaec1a [2024-11-04T01:20:00.487Z] ---> e2d921b44b60 [2024-11-04T01:20:00.487Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-04T01:20:00.487Z] ---> Running in 601d00b4b943 [2024-11-04T01:20:00.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T01:20:00.818Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-04T01:20:00.858Z] > git --version # timeout=10 [2024-11-04T01:20:00.871Z] > git --version # 'git version 2.25.1' [2024-11-04T01:20:00.881Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-04T01:20:01.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T01:20:00.046Z] > git config core.sparsecheckout # timeout=10 [2024-11-04T01:20:00.109Z] > git checkout -f 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f # timeout=10 [2024-11-04T01:20:00.198Z] > git remote # timeout=10 [2024-11-04T01:20:00.213Z] > git config --get remote.origin.url # timeout=10 [2024-11-04T01:20:00.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T01:20:00.256Z] > git merge 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 [2024-11-04T01:20:00.286Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-04T01:20:00.304Z] > git config core.sparsecheckout # timeout=10 [2024-11-04T01:20:00.317Z] > git checkout -f 705a22a4a64b64b4c53c11d1dbba5b9274b17c5f # timeout=10 [2024-11-04T01:20:01.263Z] OK: 250 MiB in 58 packages [2024-11-04T01:20:01.523Z] Removing intermediate container 601d00b4b943 [2024-11-04T01:20:01.523Z] ---> 4b8c8fc4a3d2 [2024-11-04T01:20:01.523Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-04T01:20:01.523Z] ---> Running in ba39b202d9fe [2024-11-04T01:20:01.785Z] Removing intermediate container ba39b202d9fe [2024-11-04T01:20:01.785Z] ---> 759c7c7ef321 [2024-11-04T01:20:01.785Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-04T01:20:01.785Z] ---> df7ec525b4f7 [2024-11-04T01:20:01.785Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T01:20:01.785Z] ---> Running in be04635fc31d [2024-11-04T01:20:02.722Z] Removing intermediate container be04635fc31d [2024-11-04T01:20:02.722Z] ---> 176a536d353e [2024-11-04T01:20:02.722Z] Step 11/25 : COPY . . [2024-11-04T01:20:03.290Z] ---> 0607d47f62b2 [2024-11-04T01:20:03.290Z] Step 12/25 : RUN $MAKE [2024-11-04T01:20:03.290Z] ---> Running in 58c4e0db853d [2024-11-04T01:20:03.290Z] 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.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T01:20:05.954Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-04T01:20:05.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-04T01:20:05.954Z] Dload Upload Total Spent Left Speed [2024-11-04T01:20:05.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 77745 0 --:--:-- --:--:-- --:--:-- 77277 100 12828 100 12828 0 0 77277 0 --:--:-- --:--:-- --:--:-- 76814 [Pipeline] sh [2024-11-04T01:20:06.301Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-04T01:20:06.647Z] + sudo tee /etc/docker/daemon.new [2024-11-04T01:20:06.648Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-04T01:20:06.648Z] { [2024-11-04T01:20:06.648Z] "registry-mirrors": [ [2024-11-04T01:20:06.648Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-04T01:20:06.648Z] ], [2024-11-04T01:20:06.648Z] "bip": "10.250.0.254/24", [2024-11-04T01:20:06.648Z] "hosts": [ [2024-11-04T01:20:06.648Z] "tcp://0.0.0.0:5555", [2024-11-04T01:20:06.648Z] "unix:///var/run/docker.sock" [2024-11-04T01:20:06.648Z] ], [2024-11-04T01:20:06.648Z] "mtu": 1458, [2024-11-04T01:20:06.648Z] "selinux-enabled": true, [2024-11-04T01:20:06.648Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-04T01:20:06.648Z] } [Pipeline] sh [2024-11-04T01:20:06.992Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-04T01:20:07.347Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T01:20:25.674Z] provisioning config files... [2024-11-04T01:20:25.707Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15079925549889520375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:20:26.233Z] ---> ****-login.sh [2024-11-04T01:20:26.233Z] nexus3.edgexfoundry.org:10001 [2024-11-04T01:20:26.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:20:27.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:20:27.109Z] Configure a credential helper to remove this warning. See [2024-11-04T01:20:27.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:20:27.109Z] [2024-11-04T01:20:27.109Z] Login Succeeded [2024-11-04T01:20:27.109Z] nexus3.edgexfoundry.org:10002 [2024-11-04T01:20:27.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:20:27.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:20:27.378Z] Configure a credential helper to remove this warning. See [2024-11-04T01:20:27.378Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:20:27.378Z] [2024-11-04T01:20:27.378Z] Login Succeeded [2024-11-04T01:20:27.378Z] nexus3.edgexfoundry.org:10003 [2024-11-04T01:20:27.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:20:27.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:20:27.649Z] Configure a credential helper to remove this warning. See [2024-11-04T01:20:27.649Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:20:27.649Z] [2024-11-04T01:20:27.649Z] Login Succeeded [2024-11-04T01:20:27.649Z] nexus3.edgexfoundry.org:10004 [2024-11-04T01:20:27.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:20:28.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:20:28.191Z] Configure a credential helper to remove this warning. See [2024-11-04T01:20:28.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:20:28.191Z] [2024-11-04T01:20:28.191Z] Login Succeeded [2024-11-04T01:20:28.191Z] ****.io [2024-11-04T01:20:28.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T01:20:28.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T01:20:28.728Z] Configure a credential helper to remove this warning. See [2024-11-04T01:20:28.728Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T01:20:28.728Z] [2024-11-04T01:20:28.728Z] Login Succeeded [2024-11-04T01:20:28.728Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T01:20:28.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-04T01:20:29.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T01:20:29.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T01:20:29.328Z] ========================================================= [2024-11-04T01:20:29.328Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-04T01:20:29.328Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:20:29.891Z] + 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-04T01:20:30.166Z] Sending build context to Docker daemon 10.6MB [2024-11-04T01:20:30.439Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T01:20:30.439Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-04T01:20:30.439Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-04T01:20:30.439Z] cf04c63912e1: Pulling fs layer [2024-11-04T01:20:30.439Z] 55b35a11ae5e: Pulling fs layer [2024-11-04T01:20:30.439Z] a37a00ec5f00: Pulling fs layer [2024-11-04T01:20:30.439Z] 50b3750afda1: Pulling fs layer [2024-11-04T01:20:30.439Z] 4f4fb700ef54: Pulling fs layer [2024-11-04T01:20:30.439Z] 80978eb59214: Pulling fs layer [2024-11-04T01:20:30.439Z] c9f46d7d2bd2: Pulling fs layer [2024-11-04T01:20:30.439Z] c5a475d317c9: Pulling fs layer [2024-11-04T01:20:30.439Z] 50b3750afda1: Waiting [2024-11-04T01:20:30.439Z] 4f4fb700ef54: Waiting [2024-11-04T01:20:30.439Z] c5a475d317c9: Waiting [2024-11-04T01:20:30.439Z] 80978eb59214: Waiting [2024-11-04T01:20:30.439Z] c9f46d7d2bd2: Waiting [2024-11-04T01:20:30.439Z] 55b35a11ae5e: Download complete [2024-11-04T01:20:30.439Z] 50b3750afda1: Verifying Checksum [2024-11-04T01:20:30.439Z] 50b3750afda1: Download complete [2024-11-04T01:20:30.710Z] 4f4fb700ef54: Download complete [2024-11-04T01:20:30.710Z] 80978eb59214: Verifying Checksum [2024-11-04T01:20:30.710Z] 80978eb59214: Download complete [2024-11-04T01:20:30.710Z] cf04c63912e1: Verifying Checksum [2024-11-04T01:20:30.710Z] cf04c63912e1: Download complete [2024-11-04T01:20:30.982Z] c5a475d317c9: Verifying Checksum [2024-11-04T01:20:30.982Z] c5a475d317c9: Download complete [2024-11-04T01:20:31.577Z] cf04c63912e1: Pull complete [2024-11-04T01:20:32.169Z] 55b35a11ae5e: Pull complete [2024-11-04T01:20:32.440Z] a37a00ec5f00: Verifying Checksum [2024-11-04T01:20:32.440Z] a37a00ec5f00: Download complete [2024-11-04T01:20:33.412Z] c9f46d7d2bd2: Verifying Checksum [2024-11-04T01:20:33.412Z] c9f46d7d2bd2: Download complete [2024-11-04T01:20:35.378Z] Removing intermediate container 58c4e0db853d [2024-11-04T01:20:35.378Z] ---> 372df8f986da [2024-11-04T01:20:35.378Z] Step 13/25 : FROM alpine:3.20 [2024-11-04T01:20:35.947Z] 3.20: Pulling from library/alpine [2024-11-04T01:20:35.947Z] 43c4264eed91: Already exists [2024-11-04T01:20:36.206Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-04T01:20:36.206Z] Status: Downloaded newer image for alpine:3.20 [2024-11-04T01:20:36.206Z] ---> 91ef0af61f39 [2024-11-04T01:20:36.206Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-04T01:20:36.206Z] ---> Running in fb5fcffff2fd [2024-11-04T01:20:36.206Z] Removing intermediate container fb5fcffff2fd [2024-11-04T01:20:36.206Z] ---> 5d66afee5597 [2024-11-04T01:20:36.206Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-04T01:20:36.206Z] ---> Running in 4d7b4c65be3d [2024-11-04T01:20:36.465Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T01:20:36.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T01:20:36.987Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-04T01:20:36.988Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T01:20:36.988Z] OK: 8 MiB in 15 packages [2024-11-04T01:20:37.248Z] Removing intermediate container 4d7b4c65be3d [2024-11-04T01:20:37.248Z] ---> b9b3f068dfe4 [2024-11-04T01:20:37.248Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-04T01:20:37.248Z] ---> Running in 8e270552c0c1 [2024-11-04T01:20:37.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T01:20:37.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T01:20:38.076Z] Upgrading critical system libraries and apk-tools: [2024-11-04T01:20:38.076Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-04T01:20:38.076Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T01:20:38.076Z] Continuing the upgrade transaction with new apk-tools: [2024-11-04T01:20:38.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T01:20:38.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T01:20:38.336Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T01:20:38.336Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T01:20:38.336Z] OK: 8 MiB in 15 packages [2024-11-04T01:20:38.905Z] Removing intermediate container 8e270552c0c1 [2024-11-04T01:20:38.905Z] ---> be748990f9f7 [2024-11-04T01:20:38.905Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-04T01:20:40.284Z] ---> 23439d099717 [2024-11-04T01:20:40.284Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-04T01:20:40.284Z] ---> d154c5438847 [2024-11-04T01:20:40.284Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-04T01:20:40.544Z] ---> 3d5999d1f8ec [2024-11-04T01:20:40.544Z] Step 20/25 : EXPOSE 59982 [2024-11-04T01:20:40.544Z] ---> Running in 3b0e4eda2a66 [2024-11-04T01:20:40.544Z] Removing intermediate container 3b0e4eda2a66 [2024-11-04T01:20:40.544Z] ---> 0e36f31e66ab [2024-11-04T01:20:40.544Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-04T01:20:40.544Z] ---> Running in 632689c961d7 [2024-11-04T01:20:40.544Z] Removing intermediate container 632689c961d7 [2024-11-04T01:20:40.544Z] ---> 1d82876c2d7f [2024-11-04T01:20:40.544Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-04T01:20:40.544Z] ---> Running in fcda93c3aebe [2024-11-04T01:20:40.804Z] Removing intermediate container fcda93c3aebe [2024-11-04T01:20:40.804Z] ---> e8942185d424 [2024-11-04T01:20:40.804Z] Step 23/25 : LABEL arch=amd64 [2024-11-04T01:20:40.804Z] ---> Running in 6e93b146211b [2024-11-04T01:20:40.804Z] Removing intermediate container 6e93b146211b [2024-11-04T01:20:40.804Z] ---> cbb2267e47ff [2024-11-04T01:20:40.804Z] Step 24/25 : LABEL git_sha=705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [2024-11-04T01:20:40.804Z] ---> Running in 7d5d5e6729c8 [2024-11-04T01:20:40.804Z] Removing intermediate container 7d5d5e6729c8 [2024-11-04T01:20:40.804Z] ---> 66049ada08bd [2024-11-04T01:20:40.804Z] Step 25/25 : LABEL version=0.0.0 [2024-11-04T01:20:41.064Z] ---> Running in 39825d974743 [2024-11-04T01:20:41.064Z] Removing intermediate container 39825d974743 [2024-11-04T01:20:41.064Z] ---> c74007b8db88 [2024-11-04T01:20:41.064Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-04T01:20:41.064Z] Successfully built c74007b8db88 [2024-11-04T01:20:41.064Z] 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-04T01:20:42.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T01:20:42.087Z] [2024-11-04T01:20:42.087Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:20:42.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T01:20:42.479Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-04T01:20:42.479Z] 5eb5b503b376: Pulling fs layer [2024-11-04T01:20:42.479Z] 5c69ac0246d0: Pulling fs layer [2024-11-04T01:20:42.479Z] ec43610c2a17: Pulling fs layer [2024-11-04T01:20:42.479Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-04T01:20:42.479Z] 33b1e0a273af: Pulling fs layer [2024-11-04T01:20:42.479Z] 5d3b04190fa2: Pulling fs layer [2024-11-04T01:20:42.479Z] 2f39f015ded8: Pulling fs layer [2024-11-04T01:20:42.479Z] 3a2ae6a8a46f: Waiting [2024-11-04T01:20:42.479Z] 33b1e0a273af: Waiting [2024-11-04T01:20:42.479Z] 5d3b04190fa2: Waiting [2024-11-04T01:20:42.479Z] 2f39f015ded8: Waiting [2024-11-04T01:20:42.479Z] 5c69ac0246d0: Verifying Checksum [2024-11-04T01:20:42.479Z] 5c69ac0246d0: Download complete [2024-11-04T01:20:42.479Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-04T01:20:42.479Z] 33b1e0a273af: Verifying Checksum [2024-11-04T01:20:42.479Z] 33b1e0a273af: Download complete [2024-11-04T01:20:42.479Z] ec43610c2a17: Verifying Checksum [2024-11-04T01:20:42.479Z] ec43610c2a17: Download complete [2024-11-04T01:20:42.479Z] 5d3b04190fa2: Verifying Checksum [2024-11-04T01:20:42.479Z] 5d3b04190fa2: Download complete [2024-11-04T01:20:42.740Z] 5eb5b503b376: Download complete [2024-11-04T01:20:43.307Z] 2f39f015ded8: Verifying Checksum [2024-11-04T01:20:43.307Z] 2f39f015ded8: Download complete [2024-11-04T01:20:43.874Z] 5eb5b503b376: Pull complete [2024-11-04T01:20:43.874Z] 5c69ac0246d0: Pull complete [2024-11-04T01:20:44.443Z] ec43610c2a17: Pull complete [2024-11-04T01:20:44.443Z] 3a2ae6a8a46f: Pull complete [2024-11-04T01:20:44.702Z] 33b1e0a273af: Pull complete [2024-11-04T01:20:44.702Z] 5d3b04190fa2: Pull complete [2024-11-04T01:20:48.430Z] a37a00ec5f00: Pull complete [2024-11-04T01:20:48.430Z] 50b3750afda1: Pull complete [2024-11-04T01:20:48.430Z] 4f4fb700ef54: Pull complete [2024-11-04T01:20:48.430Z] 80978eb59214: Pull complete [2024-11-04T01:20:48.896Z] 2f39f015ded8: Pull complete [2024-11-04T01:20:48.896Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-04T01:20:48.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T01:20:48.896Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T01:20:49.160Z] prd-ubuntu20.04-docker-8c-8g-24456 does not seem to be running inside a container [2024-11-04T01:20:49.181Z] $ 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-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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-04T01:20:53.698Z] $ docker top 8610eb8a4200813dc1eea930b3a9cbaa371bb9031c49942b41d2df040a8728d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:20:54.174Z] ---> job-cost.sh [2024-11-04T01:20:54.174Z] lf-activate-venv: SKIPPING [2024-11-04T01:20:54.174Z] INFO: No Stack... [2024-11-04T01:20:54.433Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-04T01:20:54.692Z] INFO: Archiving Costs [Pipeline] sh [2024-11-04T01:20:55.019Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives/cost.csv [2024-11-04T01:20:55.019Z] + cut -d, -f6 [Pipeline] lock [2024-11-04T01:20:55.068Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-1-stack-cost] [2024-11-04T01:20:55.075Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-707-1-stack-cost] did not exist. Created. [2024-11-04T01:20:55.083Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-1-stack-cost] [Pipeline] { [2024-11-04T01:20:55.104Z] c9f46d7d2bd2: Pull complete [Pipeline] unstash [Pipeline] sh [2024-11-04T01:20:55.533Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-04T01:20:55.588Z] Stashed 1 file(s) [Pipeline] } [2024-11-04T01:20:55.631Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-04T01:20:55.720Z] $ docker stop --time=1 8610eb8a4200813dc1eea930b3a9cbaa371bb9031c49942b41d2df040a8728d7 [2024-11-04T01:20:56.064Z] c5a475d317c9: Pull complete [2024-11-04T01:20:56.064Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-04T01:20:56.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-04T01:20:56.064Z] ---> be29e6b0f0d4 [2024-11-04T01:20:56.064Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-04T01:20:56.644Z] ---> Running in b04f676d5dd0 [2024-11-04T01:20:56.871Z] $ docker rm -f --volumes 8610eb8a4200813dc1eea930b3a9cbaa371bb9031c49942b41d2df040a8728d7 [2024-11-04T01:20:56.931Z] Removing intermediate container b04f676d5dd0 [2024-11-04T01:20:56.931Z] ---> ce7a5089c413 [2024-11-04T01:20:56.931Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [2024-11-04T01:20:57.197Z] ---> Running in 8e932aa842b9 [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-04T01:20:57.463Z] Removing intermediate container 8e932aa842b9 [2024-11-04T01:20:57.463Z] ---> 79f972d8d684 [2024-11-04T01:20:57.463Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-04T01:20:57.463Z] ---> Running in 6296bf5234d0 [2024-11-04T01:20:57.728Z] Removing intermediate container 6296bf5234d0 [2024-11-04T01:20:57.728Z] ---> ace5f0a3ebe5 [2024-11-04T01:20:57.728Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-04T01:20:57.728Z] ---> Running in 82183d44cf58 [2024-11-04T01:20:57.998Z] Removing intermediate container 82183d44cf58 [2024-11-04T01:20:57.998Z] ---> 4da2b025088c [2024-11-04T01:20:57.998Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-04T01:20:57.998Z] ---> Running in aa19248ddf53 [2024-11-04T01:20:58.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T01:20:59.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T01:21:00.509Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-04T01:21:00.509Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-04T01:21:00.509Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-04T01:21:00.774Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-04T01:21:00.775Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T01:21:00.775Z] OK: 242 MiB in 58 packages [2024-11-04T01:21:01.734Z] Removing intermediate container aa19248ddf53 [2024-11-04T01:21:01.734Z] ---> fd50ebebd255 [2024-11-04T01:21:01.734Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-04T01:21:01.734Z] ---> Running in f2a9c20f8cff [2024-11-04T01:21:01.999Z] Removing intermediate container f2a9c20f8cff [2024-11-04T01:21:01.999Z] ---> 9a7d3be07597 [2024-11-04T01:21:01.999Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-04T01:21:02.582Z] ---> 721ee142f022 [2024-11-04T01:21:02.582Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T01:21:02.582Z] ---> Running in c184cfd34b4e [2024-11-04T01:22:54.232Z] Removing intermediate container c184cfd34b4e [2024-11-04T01:22:54.232Z] ---> aee00e6031ac [2024-11-04T01:22:54.232Z] Step 11/12 : COPY . . [2024-11-04T01:22:54.232Z] ---> 007de0d62359 [2024-11-04T01:22:54.232Z] Step 12/12 : RUN $MAKE [2024-11-04T01:22:54.232Z] ---> Running in fbd19ed503d5 [2024-11-04T01:22:54.232Z] noop [2024-11-04T01:22:54.232Z] Removing intermediate container fbd19ed503d5 [2024-11-04T01:22:54.232Z] ---> 4ab4e37d6c6c [2024-11-04T01:22:54.232Z] Successfully built 4ab4e37d6c6c [2024-11-04T01:22:54.232Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:22:54.755Z] + docker inspect -f . ci-base-image-arm64 [2024-11-04T01:22:54.755Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T01:22:55.083Z] prd-ubuntu20.04-docker-arm64-4c-16g-24457 does not seem to be running inside a container [2024-11-04T01:22:55.149Z] $ 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-04T01:22:56.460Z] $ docker top a739cf8472904bcd958213e1d1288cfddbc0fe352b58eca286639f15b9c0965d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T01:22:57.373Z] + go version [2024-11-04T01:22:57.956Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-04T01:22:57.994Z] $ docker stop --time=1 a739cf8472904bcd958213e1d1288cfddbc0fe352b58eca286639f15b9c0965d [2024-11-04T01:22:59.636Z] $ docker rm -f --volumes a739cf8472904bcd958213e1d1288cfddbc0fe352b58eca286639f15b9c0965d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:23:00.580Z] + docker inspect -f . ci-base-image-arm64 [2024-11-04T01:23:00.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T01:23:00.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-24457 does not seem to be running inside a container [2024-11-04T01:23:00.928Z] $ 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-04T01:23:02.147Z] $ docker top bc4ab470ab69bad2f35a345bbbe1b0d34b02b791a04a3e2047a8a9e36289d8d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T01:23:03.055Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-04T01:23:03.782Z] + make test [2024-11-04T01:23:03.782Z] go test ./... -coverprofile=coverage.out ./... [2024-11-04T01:23:09.169Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-04T01:26:18.273Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-04T01:26:21.638Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-04T01:26:21.638Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.8% of statements [2024-11-04T01:26:22.605Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-04T01:26:22.605Z] go vet ./... [2024-11-04T01:27:09.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-04T01:27:09.839Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-04T01:27:09.839Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-04T01:27:10.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-04T01:27:10.945Z] $ docker stop --time=1 bc4ab470ab69bad2f35a345bbbe1b0d34b02b791a04a3e2047a8a9e36289d8d4 [2024-11-04T01:27:15.000Z] $ docker rm -f --volumes bc4ab470ab69bad2f35a345bbbe1b0d34b02b791a04a3e2047a8a9e36289d8d4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T01:27:22.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-04T01:27:22.571Z] Warning: overwriting stash ‘coverage-report’ [2024-11-04T01:27:23.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T01:27:23.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-04T01:27:24.072Z] + ls -al . [2024-11-04T01:27:24.072Z] total 248 [2024-11-04T01:27:24.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 01:23 . [2024-11-04T01:27:24.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 01:19 .. [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 4 01:20 .dockerignore [2024-11-04T01:27:24.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 01:20 .git [2024-11-04T01:27:24.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 01:20 .github [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 4 01:20 .gitignore [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 4 01:20 .golangci.yml [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 4 01:20 Attribution.txt [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 4 01:20 CHANGELOG.md [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 4 01:20 Dockerfile [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 4 01:20 GOVERNANCE.md [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 4 01:20 Jenkinsfile [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 4 01:20 LICENSE [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 2500 Nov 4 01:20 Makefile [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 4 01:20 OWNERS.md [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 4 01:20 README.md [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 01:17 VERSION [2024-11-04T01:27:24.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 01:20 bin [2024-11-04T01:27:24.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 01:20 cmd [2024-11-04T01:27:24.072Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 4 01:26 coverage.out [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 4 01:20 go.mod [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 4 01:20 go.sum [2024-11-04T01:27:24.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 01:20 internal [2024-11-04T01:27:24.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 01:20 mock [2024-11-04T01:27:24.072Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 4 01:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:27:24.528Z] + 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=705a22a4a64b64b4c53c11d1dbba5b9274b17c5f --label arch=arm64 --label version=0.0.0 . [2024-11-04T01:27:25.114Z] Sending build context to Docker daemon 10.63MB [2024-11-04T01:27:25.114Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T01:27:25.114Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-04T01:27:25.114Z] ---> 4ab4e37d6c6c [2024-11-04T01:27:25.114Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-04T01:27:25.114Z] ---> Running in 388d5031b39c [2024-11-04T01:27:25.381Z] Removing intermediate container 388d5031b39c [2024-11-04T01:27:25.381Z] ---> 4614ef3a6e6d [2024-11-04T01:27:25.381Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T01:27:25.650Z] ---> Running in 0f9b290c5306 [2024-11-04T01:27:25.920Z] Removing intermediate container 0f9b290c5306 [2024-11-04T01:27:25.920Z] ---> 17af471ee6c8 [2024-11-04T01:27:25.920Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-04T01:27:25.920Z] ---> Running in 72a75e5c39dc [2024-11-04T01:27:26.188Z] Removing intermediate container 72a75e5c39dc [2024-11-04T01:27:26.188Z] ---> c9b87090bec6 [2024-11-04T01:27:26.188Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-04T01:27:26.188Z] ---> Running in cb0272ba0438 [2024-11-04T01:27:26.778Z] Removing intermediate container cb0272ba0438 [2024-11-04T01:27:26.779Z] ---> b5cc6b853563 [2024-11-04T01:27:26.779Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-04T01:27:26.779Z] ---> Running in d713638bb711 [2024-11-04T01:27:27.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T01:27:28.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T01:27:29.524Z] OK: 242 MiB in 58 packages [2024-11-04T01:27:30.482Z] Removing intermediate container d713638bb711 [2024-11-04T01:27:30.482Z] ---> 645c4222b6c9 [2024-11-04T01:27:30.482Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-04T01:27:30.482Z] ---> Running in ecdd905d47db [2024-11-04T01:27:30.748Z] Removing intermediate container ecdd905d47db [2024-11-04T01:27:30.748Z] ---> d693e7fe0faa [2024-11-04T01:27:30.748Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-04T01:27:31.478Z] ---> a74b85c3f48d [2024-11-04T01:27:31.478Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T01:27:31.478Z] ---> Running in 76d645a49ffd [2024-11-04T01:27:33.420Z] Removing intermediate container 76d645a49ffd [2024-11-04T01:27:33.420Z] ---> 39e3a5c932be [2024-11-04T01:27:33.420Z] Step 11/25 : COPY . . [2024-11-04T01:27:34.826Z] ---> 17c1f07dcc18 [2024-11-04T01:27:34.827Z] Step 12/25 : RUN $MAKE [2024-11-04T01:27:34.827Z] ---> Running in 6bc25dfee6be [2024-11-04T01:27:35.802Z] 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.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-04T01:30:57.627Z] Removing intermediate container 6bc25dfee6be [2024-11-04T01:30:57.627Z] ---> d654edc2f7dd [2024-11-04T01:30:57.627Z] Step 13/25 : FROM alpine:3.20 [2024-11-04T01:30:57.627Z] 3.20: Pulling from library/alpine [2024-11-04T01:30:57.627Z] cf04c63912e1: Already exists [2024-11-04T01:30:57.627Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-04T01:30:57.627Z] Status: Downloaded newer image for alpine:3.20 [2024-11-04T01:30:57.627Z] ---> c157a85ed455 [2024-11-04T01:30:57.627Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-04T01:30:57.627Z] ---> Running in a1ca0f328ce8 [2024-11-04T01:30:57.627Z] Removing intermediate container a1ca0f328ce8 [2024-11-04T01:30:57.627Z] ---> 55753776e98f [2024-11-04T01:30:57.627Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-04T01:30:57.627Z] ---> Running in 96d0139a23b8 [2024-11-04T01:30:57.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T01:30:57.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T01:30:57.627Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-04T01:30:57.627Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T01:30:57.627Z] OK: 9 MiB in 15 packages [2024-11-04T01:30:57.627Z] Removing intermediate container 96d0139a23b8 [2024-11-04T01:30:57.627Z] ---> 33c6a0d2d158 [2024-11-04T01:30:57.627Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-04T01:30:57.627Z] ---> Running in 94d4aca7fdeb [2024-11-04T01:30:57.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T01:30:57.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T01:30:58.206Z] Upgrading critical system libraries and apk-tools: [2024-11-04T01:30:58.206Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-04T01:30:58.206Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T01:30:58.206Z] Continuing the upgrade transaction with new apk-tools: [2024-11-04T01:30:58.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T01:30:58.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T01:30:59.873Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T01:30:59.873Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T01:30:59.873Z] OK: 9 MiB in 15 packages [2024-11-04T01:31:00.827Z] Removing intermediate container 94d4aca7fdeb [2024-11-04T01:31:00.827Z] ---> 6af00b3a7f14 [2024-11-04T01:31:00.827Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-04T01:31:03.412Z] ---> 703be0a104bc [2024-11-04T01:31:03.412Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-04T01:31:03.412Z] ---> 8bb16ea2e234 [2024-11-04T01:31:03.412Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-04T01:31:03.998Z] ---> ac4d606dd8fd [2024-11-04T01:31:03.998Z] Step 20/25 : EXPOSE 59982 [2024-11-04T01:31:03.998Z] ---> Running in 5f585e385208 [2024-11-04T01:31:04.270Z] Removing intermediate container 5f585e385208 [2024-11-04T01:31:04.270Z] ---> e03bcf12de3b [2024-11-04T01:31:04.270Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-04T01:31:04.539Z] ---> Running in 7c8ff84c3287 [2024-11-04T01:31:04.814Z] Removing intermediate container 7c8ff84c3287 [2024-11-04T01:31:04.814Z] ---> aa0b68b72e58 [2024-11-04T01:31:04.814Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-04T01:31:04.814Z] ---> Running in d1fa5ed2c064 [2024-11-04T01:31:05.081Z] Removing intermediate container d1fa5ed2c064 [2024-11-04T01:31:05.081Z] ---> 48b827c0a87b [2024-11-04T01:31:05.081Z] Step 23/25 : LABEL arch=arm64 [2024-11-04T01:31:05.081Z] ---> Running in 445a735b9adb [2024-11-04T01:31:05.349Z] Removing intermediate container 445a735b9adb [2024-11-04T01:31:05.349Z] ---> 2f94e93db90a [2024-11-04T01:31:05.349Z] Step 24/25 : LABEL git_sha=705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [2024-11-04T01:31:05.618Z] ---> Running in 9882764c9a87 [2024-11-04T01:31:05.886Z] Removing intermediate container 9882764c9a87 [2024-11-04T01:31:05.886Z] ---> 8f64b3672eae [2024-11-04T01:31:05.886Z] Step 25/25 : LABEL version=0.0.0 [2024-11-04T01:31:05.886Z] ---> Running in 33ae6540f7ed [2024-11-04T01:31:06.155Z] Removing intermediate container 33ae6540f7ed [2024-11-04T01:31:06.155Z] ---> a4278757235b [2024-11-04T01:31:06.155Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-04T01:31:06.155Z] Successfully built a4278757235b [2024-11-04T01:31:06.155Z] 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-04T01:31:07.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T01:31:07.223Z] [2024-11-04T01:31:07.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:31:07.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T01:31:07.653Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-04T01:31:07.653Z] 8998bd30e6a1: Pulling fs layer [2024-11-04T01:31:07.653Z] 04944245beec: Pulling fs layer [2024-11-04T01:31:07.653Z] 699f458cf7ca: Pulling fs layer [2024-11-04T01:31:07.654Z] 765212b225bb: Pulling fs layer [2024-11-04T01:31:07.654Z] f23df028b6ca: Pulling fs layer [2024-11-04T01:31:07.654Z] d65c8cfc05b1: Pulling fs layer [2024-11-04T01:31:07.654Z] 2437ff75d9bd: Pulling fs layer [2024-11-04T01:31:07.654Z] 765212b225bb: Waiting [2024-11-04T01:31:07.654Z] f23df028b6ca: Waiting [2024-11-04T01:31:07.654Z] d65c8cfc05b1: Waiting [2024-11-04T01:31:07.654Z] 2437ff75d9bd: Waiting [2024-11-04T01:31:07.921Z] 04944245beec: Verifying Checksum [2024-11-04T01:31:07.921Z] 04944245beec: Download complete [2024-11-04T01:31:07.921Z] 765212b225bb: Verifying Checksum [2024-11-04T01:31:07.921Z] 765212b225bb: Download complete [2024-11-04T01:31:07.921Z] f23df028b6ca: Verifying Checksum [2024-11-04T01:31:07.921Z] f23df028b6ca: Download complete [2024-11-04T01:31:07.921Z] d65c8cfc05b1: Verifying Checksum [2024-11-04T01:31:07.921Z] d65c8cfc05b1: Download complete [2024-11-04T01:31:08.188Z] 699f458cf7ca: Verifying Checksum [2024-11-04T01:31:08.188Z] 699f458cf7ca: Download complete [2024-11-04T01:31:08.455Z] 8998bd30e6a1: Verifying Checksum [2024-11-04T01:31:08.455Z] 8998bd30e6a1: Download complete [2024-11-04T01:31:11.044Z] 2437ff75d9bd: Verifying Checksum [2024-11-04T01:31:11.044Z] 2437ff75d9bd: Download complete [2024-11-04T01:31:12.986Z] 8998bd30e6a1: Pull complete [2024-11-04T01:31:13.570Z] 04944245beec: Pull complete [2024-11-04T01:31:15.525Z] 699f458cf7ca: Pull complete [2024-11-04T01:31:15.525Z] 765212b225bb: Pull complete [2024-11-04T01:31:16.108Z] f23df028b6ca: Pull complete [2024-11-04T01:31:16.374Z] d65c8cfc05b1: Pull complete [2024-11-04T01:31:34.575Z] 2437ff75d9bd: Pull complete [2024-11-04T01:31:34.575Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-04T01:31:34.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T01:31:34.575Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T01:31:34.976Z] prd-ubuntu20.04-docker-arm64-4c-16g-24457 does not seem to be running inside a container [2024-11-04T01:31:35.059Z] $ 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-04T01:31:37.950Z] $ docker top cf928b3d71bc520be99014eaaddfa70e1fd03e3439918b0561d699c5e6fb600a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:31:38.916Z] ---> job-cost.sh [2024-11-04T01:31:38.916Z] lf-activate-venv: SKIPPING [2024-11-04T01:31:38.916Z] INFO: No Stack... [2024-11-04T01:31:39.186Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-04T01:31:40.152Z] INFO: Archiving Costs [Pipeline] sh [2024-11-04T01:31:40.836Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-11-04T01:31:40.836Z] + cut -d, -f6 [Pipeline] lock [2024-11-04T01:31:40.941Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-1-stack-cost] [2024-11-04T01:31:40.948Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-707-1-stack-cost] did not exist. Created. [2024-11-04T01:31:40.955Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-04T01:31:41.734Z] /w/workspace/device-mqtt-go/1@tmp/durable-571e63e0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-04T01:31:42.425Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-04T01:31:42.467Z] Warning: overwriting stash ‘stack-cost’ [2024-11-04T01:31:42.527Z] Stashed 1 file(s) [Pipeline] } [2024-11-04T01:31:42.551Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-707-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-04T01:31:42.640Z] $ docker stop --time=1 cf928b3d71bc520be99014eaaddfa70e1fd03e3439918b0561d699c5e6fb600a [2024-11-04T01:31:44.242Z] $ docker rm -f --volumes cf928b3d71bc520be99014eaaddfa70e1fd03e3439918b0561d699c5e6fb600a [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-04T01:31:45.492Z] provisioning config files... [2024-11-04T01:31:45.500Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/config16079573687199014288tmp [Pipeline] { [Pipeline] sh [2024-11-04T01:31:45.858Z] + set +x [2024-11-04T01:31:45.858Z] + curl -s https://codecov.io/bash [2024-11-04T01:31:45.858Z] + bash -s -- [2024-11-04T01:31:45.858Z] [2024-11-04T01:31:45.858Z] _____ _ [2024-11-04T01:31:45.858Z] / ____| | | [2024-11-04T01:31:45.858Z] | | ___ __| | ___ ___ _____ __ [2024-11-04T01:31:45.858Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-04T01:31:45.858Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-04T01:31:45.858Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-04T01:31:45.858Z] Bash-1.0.6 [2024-11-04T01:31:45.858Z] [2024-11-04T01:31:45.858Z] [2024-11-04T01:31:45.858Z] ==> git version 2.25.1 found [2024-11-04T01:31:45.858Z] ==> 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-04T01:31:45.858Z] Release-Date: 2020-01-08 [2024-11-04T01:31:45.858Z] 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-04T01:31:45.858Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-04T01:31:45.858Z] ==> Jenkins CI detected. [2024-11-04T01:31:45.858Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-707 [2024-11-04T01:31:45.858Z] project root: . [2024-11-04T01:31:45.858Z] --> token set from env [2024-11-04T01:31:45.858Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-04T01:31:45.858Z] ==> Running gcov in . (disable via -X gcov) [2024-11-04T01:31:45.858Z] ==> Python coveragepy not found [2024-11-04T01:31:45.858Z] ==> Searching for coverage reports in: [2024-11-04T01:31:45.858Z] + . [2024-11-04T01:31:45.858Z] -> Found 1 reports [2024-11-04T01:31:45.858Z] ==> Detecting git/mercurial file structure [2024-11-04T01:31:46.118Z] ==> Reading reports [2024-11-04T01:31:46.118Z] + ./coverage.out bytes=21039 [2024-11-04T01:31:46.118Z] ==> Appending adjustments [2024-11-04T01:31:46.118Z] https://docs.codecov.io/docs/fixing-reports [2024-11-04T01:31:46.118Z] + Found adjustments [2024-11-04T01:31:46.118Z] ==> Gzipping contents [2024-11-04T01:31:46.118Z] 4.0K /tmp/codecov.qPA8eo.gz [2024-11-04T01:31:46.118Z] ==> Uploading reports [2024-11-04T01:31:46.118Z] url: https://codecov.io [2024-11-04T01:31:46.118Z] query: branch=PR-707&commit=705a22a4a64b64b4c53c11d1dbba5b9274b17c5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-707%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=707&job=&cmd_args= [2024-11-04T01:31:46.118Z] -> Pinging Codecov [2024-11-04T01:31:46.118Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-707&commit=705a22a4a64b64b4c53c11d1dbba5b9274b17c5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-707%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=707&job=&cmd_args= [2024-11-04T01:31:46.378Z] -> Uploading to [2024-11-04T01:31:46.378Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/705a22a4a64b64b4c53c11d1dbba5b9274b17c5f/81072d2d-d0bd-4bbb-bbf5-bd33535513e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241104%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241104T013146Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=db72027a5407c15247f5eadd336a31b247bf1193cb4422def3ce9b30dfbf9714 [2024-11-04T01:31:46.378Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-04T01:31:46.378Z] Dload Upload Total Spent Left Speed [2024-11-04T01:31:46.638Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 12578 --:--:-- --:--:-- --:--:-- 12578 [2024-11-04T01:31:46.638Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/705a22a4a64b64b4c53c11d1dbba5b9274b17c5f [Pipeline] } [2024-11-04T01:31:46.675Z] 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-04T01:31:48.990Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives ] [2024-11-04T01:31:48.990Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives [2024-11-04T01:31:48.990Z] total 16 [2024-11-04T01:31:48.990Z] drwxr-xr-x 3 root root 4096 Nov 4 01:20 . [2024-11-04T01:31:48.990Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 4 01:20 .. [2024-11-04T01:31:48.990Z] drwxr-xr-x 2 root root 4096 Nov 4 01:20 cost [2024-11-04T01:31:48.990Z] -rw-r--r-- 1 root root 86 Nov 4 01:20 cost.csv [2024-11-04T01:31:48.990Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives [2024-11-04T01:31:48.990Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives [2024-11-04T01:31:48.990Z] total 16 [2024-11-04T01:31:48.990Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 01:20 . [2024-11-04T01:31:48.990Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 4 01:20 .. [2024-11-04T01:31:48.990Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 4 01:20 cost [2024-11-04T01:31:48.990Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 4 01:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:31:49.341Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:31:50.244Z] ---> package-listing.sh [2024-11-04T01:31:50.244Z] ++ facter osfamily [2024-11-04T01:31:50.244Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-04T01:31:50.503Z] + OS_FAMILY=debian [2024-11-04T01:31:50.503Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-707 [2024-11-04T01:31:50.503Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-04T01:31:50.503Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-04T01:31:50.503Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-04T01:31:50.503Z] + PACKAGES=/tmp/packages_start.txt [2024-11-04T01:31:50.503Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-707 ']' [2024-11-04T01:31:50.503Z] + PACKAGES=/tmp/packages_end.txt [2024-11-04T01:31:50.503Z] + case "${OS_FAMILY}" in [2024-11-04T01:31:50.503Z] + dpkg -l [2024-11-04T01:31:50.503Z] + grep '^ii' [2024-11-04T01:31:50.503Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-04T01:31:50.503Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-04T01:31:50.503Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-04T01:31:50.503Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-707 ']' [2024-11-04T01:31:50.503Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives/ [2024-11-04T01:31:50.503Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-707/archives/ [Pipeline] echo [2024-11-04T01:31:50.552Z] 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-707/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-04T01:31:50.855Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T01:31:51.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T01:31:51.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T01:31:51.458Z] prd-ubuntu20.04-docker-8c-8g-24456 does not seem to be running inside a container [2024-11-04T01:31:51.471Z] $ 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-707/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-707 -v /w/workspace/gexfoundry_device-mqtt-go_PR-707:/w/workspace/gexfoundry_device-mqtt-go_PR-707:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-707@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-04T01:31:51.652Z] $ docker top 0877a93cf8f8dd96b90758b2c623f7014354af1b33384cb99a7a08ffce2e43b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T01:31:52.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-04T01:31:52.407Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-04T01:31:52.716Z] + ls /var/log/sa-host [2024-11-04T01:31:52.716Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T01:31:52.873Z] provisioning config files... [2024-11-04T01:31:52.882Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-707@tmp/config10576685796698461878tmp [Pipeline] { [Pipeline] echo [2024-11-04T01:31:52.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:31:53.278Z] ---> create-netrc.sh [Pipeline] } [2024-11-04T01:31:53.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:31:53.755Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-04T01:31:53.794Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:31:54.117Z] ---> sudo-logs.sh [2024-11-04T01:31:54.118Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-04T01:31:54.220Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:31:54.548Z] ---> job-cost.sh [2024-11-04T01:31:54.548Z] lf-activate-venv: SKIPPING [2024-11-04T01:31:54.548Z] DEBUG: total: 0.2199999988079071 [2024-11-04T01:31:54.548Z] INFO: Retrieving Stack Cost... [2024-11-04T01:31:54.808Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-04T01:31:55.377Z] INFO: Archiving Costs [Pipeline] echo [2024-11-04T01:31:55.417Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T01:31:55.745Z] ---> logs-deploy.sh [2024-11-04T01:31:55.745Z] lf-activate-venv: SKIPPING [2024-11-04T01:31:55.745Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-707/1 [2024-11-04T01:31:55.745Z] INFO: archiving workspace using pattern(s): [2024-11-04T01:31:56.683Z] Archives upload complete. [2024-11-04T01:31:56.683Z] INFO: archiving logs to Nexus