Pull request #702 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f92e15eb295c3557e8ddca3056f6f70ec23e17a+2822fc24b8134fd9bdcc7ab00c9256dba2bd7cb9 (e18713bfdc77a4766fe055cfa44316d035451ded) 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-ssh12944116431763759709.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-ssh16741409243458235225.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-702/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-702/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5576218558123196639.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-702/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14178945958682844758.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-ssh8526931178263904736.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-702/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-702/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13169714437846873897.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 ‘prd-ubuntu20.04-docker-8c-8g-22809’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22817 in /w/workspace/gexfoundry_device-mqtt-go_PR-702 [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-702 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2822fc24b8134fd9bdcc7ab00c9256dba2bd7cb9 into PR head commit 4f92e15eb295c3557e8ddca3056f6f70ec23e17a Merge succeeded, producing 4f92e15eb295c3557e8ddca3056f6f70ec23e17a Checking out Revision 4f92e15eb295c3557e8ddca3056f6f70ec23e17a (PR-702) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f92e15eb295c3557e8ddca3056f6f70ec23e17a # 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 2822fc24b8134fd9bdcc7ab00c9256dba2bd7cb9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f92e15eb295c3557e8ddca3056f6f70ec23e17a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-15T01:21:17.313Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-15T01:21:17.514Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-15T01:21:17.656Z] ========================================================= [2024-10-15T01:21:17.656Z] EdgeX Global Pipelines Version Info [2024-10-15T01:21:17.656Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:21:18.447Z] ------------------- [2024-10-15T01:21:18.447Z] stable info: [2024-10-15T01:21:18.447Z] ------------------- [2024-10-15T01:21:18.447Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-15T01:21:18.447Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-15T01:21:18.447Z] Message: update stable to v1.0.265 [2024-10-15T01:21:19.024Z] ------------------- [2024-10-15T01:21:19.024Z] experimental info: [2024-10-15T01:21:19.024Z] ------------------- [2024-10-15T01:21:19.024Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-15T01:21:19.024Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-15T01:21:19.024Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-15T01:21:19.251Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-10-15T01:21:19.315Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-10-15T01:21:19.372Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-15T01:21:19.431Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-15T01:21:19.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-15T01:21:19.538Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-15T01:21:19.592Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-15T01:21:19.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-15T01:21:19.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-15T01:21:19.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-15T01:21:19.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-15T01:21:19.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-10-15T01:21:19.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-15T01:21:20.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-15T01:21:20.065Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-15T01:21:20.123Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-15T01:21:20.186Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-15T01:21:20.240Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-15T01:21:20.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-15T01:21:20.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-15T01:21:20.492Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-15T01:21:20.553Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-15T01:21:20.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-15T01:21:20.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-15T01:21:20.720Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-15T01:21:20.781Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-15T01:21:20.842Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-15T01:21:20.905Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-702 [Pipeline] echo [2024-10-15T01:21:20.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-702 [Pipeline] echo [2024-10-15T01:21:21.027Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-702 [Pipeline] echo [2024-10-15T01:21:21.086Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f92e15eb295c3557e8ddca3056f6f70ec23e17a [Pipeline] echo [2024-10-15T01:21:21.150Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f92e15 [Pipeline] echo [2024-10-15T01:21:21.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-15T01:21:21.358Z] provisioning config files... [2024-10-15T01:21:21.374Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp/config11393410989058858984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:21:21.775Z] ---> ****-login.sh [2024-10-15T01:21:21.775Z] nexus3.edgexfoundry.org:10001 [2024-10-15T01:21:22.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:22.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:22.980Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:22.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:22.980Z] [2024-10-15T01:21:22.980Z] Login Succeeded [2024-10-15T01:21:22.980Z] nexus3.edgexfoundry.org:10002 [2024-10-15T01:21:23.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:23.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:23.240Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:23.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:23.240Z] [2024-10-15T01:21:23.240Z] Login Succeeded [2024-10-15T01:21:23.241Z] nexus3.edgexfoundry.org:10003 [2024-10-15T01:21:23.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:23.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:23.241Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:23.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:23.241Z] [2024-10-15T01:21:23.241Z] Login Succeeded [2024-10-15T01:21:23.241Z] nexus3.edgexfoundry.org:10004 [2024-10-15T01:21:23.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:23.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:23.502Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:23.502Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:23.502Z] [2024-10-15T01:21:23.502Z] Login Succeeded [2024-10-15T01:21:23.502Z] ****.io [2024-10-15T01:21:23.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:23.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:23.763Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:23.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:23.763Z] [2024-10-15T01:21:23.763Z] Login Succeeded [2024-10-15T01:21:23.763Z] ---> ****-login.sh ends [Pipeline] } [2024-10-15T01:21:23.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-15T01:21:24.527Z] + git rev-list -1 --merges 4f92e15eb295c3557e8ddca3056f6f70ec23e17a~1..4f92e15eb295c3557e8ddca3056f6f70ec23e17a [Pipeline] echo [2024-10-15T01:21:24.576Z] -----------> git rev-list -1 --merges 4f92e15eb295c3557e8ddca3056f6f70ec23e17a~1..4f92e15eb295c3557e8ddca3056f6f70ec23e17a 4f92e15eb295c3557e8ddca3056f6f70ec23e17a [false] [Pipeline] sh [2024-10-15T01:21:24.899Z] + git log --format=format:%s -1 4f92e15eb295c3557e8ddca3056f6f70ec23e17a [Pipeline] echo [2024-10-15T01:21:24.941Z] ========================================================= [2024-10-15T01:21:24.941Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-15T01:21:24.941Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-15T01:21:25.402Z] + git log --format=format:%s -1 4f92e15eb295c3557e8ddca3056f6f70ec23e17a [Pipeline] echo [2024-10-15T01:21:25.441Z] [semverPrep] GIT_COMMIT: 4f92e15eb295c3557e8ddca3056f6f70ec23e17a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-15T01:21:25.480Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-15T01:21:25.897Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-15T01:21:25.897Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-15T01:21:25.897Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-15T01:21:25.897Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-15T01:21:25.897Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2024-10-15T01:21:25.897Z] tee -a /etc/ssh/ssh_known_hosts [2024-10-15T01:21:25.897Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:21:26.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-15T01:21:26.424Z] [2024-10-15T01:21:26.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:21:26.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-15T01:21:26.817Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-15T01:21:26.817Z] b85a868b505f: Pulling fs layer [2024-10-15T01:21:26.817Z] e2be974225ed: Pulling fs layer [2024-10-15T01:21:26.817Z] 339a4e72a1f5: Pulling fs layer [2024-10-15T01:21:26.817Z] 988bab9f4d93: Pulling fs layer [2024-10-15T01:21:26.817Z] 1469e6f7b9e6: Pulling fs layer [2024-10-15T01:21:26.817Z] eaf3925da568: Pulling fs layer [2024-10-15T01:21:26.817Z] bab4dde63d76: Pulling fs layer [2024-10-15T01:21:26.817Z] bde34c3a00c8: Pulling fs layer [2024-10-15T01:21:26.817Z] b352a97aabf1: Pulling fs layer [2024-10-15T01:21:26.817Z] 4872d77fe225: Pulling fs layer [2024-10-15T01:21:26.817Z] 5851b861e8e6: Pulling fs layer [2024-10-15T01:21:26.817Z] bde34c3a00c8: Waiting [2024-10-15T01:21:26.817Z] bab4dde63d76: Waiting [2024-10-15T01:21:26.817Z] 4872d77fe225: Waiting [2024-10-15T01:21:26.817Z] 5851b861e8e6: Waiting [2024-10-15T01:21:26.817Z] eaf3925da568: Waiting [2024-10-15T01:21:26.817Z] 1469e6f7b9e6: Waiting [2024-10-15T01:21:26.817Z] b352a97aabf1: Waiting [2024-10-15T01:21:26.817Z] 988bab9f4d93: Waiting [2024-10-15T01:21:26.817Z] e2be974225ed: Verifying Checksum [2024-10-15T01:21:26.817Z] e2be974225ed: Download complete [2024-10-15T01:21:26.817Z] 988bab9f4d93: Verifying Checksum [2024-10-15T01:21:26.817Z] 988bab9f4d93: Download complete [2024-10-15T01:21:26.817Z] 1469e6f7b9e6: Verifying Checksum [2024-10-15T01:21:26.817Z] 1469e6f7b9e6: Download complete [2024-10-15T01:21:26.817Z] eaf3925da568: Verifying Checksum [2024-10-15T01:21:26.817Z] eaf3925da568: Download complete [2024-10-15T01:21:27.077Z] 339a4e72a1f5: Verifying Checksum [2024-10-15T01:21:27.077Z] 339a4e72a1f5: Download complete [2024-10-15T01:21:27.077Z] bde34c3a00c8: Verifying Checksum [2024-10-15T01:21:27.077Z] bde34c3a00c8: Download complete [2024-10-15T01:21:27.077Z] b352a97aabf1: Verifying Checksum [2024-10-15T01:21:27.077Z] b352a97aabf1: Download complete [2024-10-15T01:21:27.077Z] 4872d77fe225: Verifying Checksum [2024-10-15T01:21:27.077Z] 4872d77fe225: Download complete [2024-10-15T01:21:27.077Z] 5851b861e8e6: Verifying Checksum [2024-10-15T01:21:27.077Z] 5851b861e8e6: Download complete [2024-10-15T01:21:27.077Z] b85a868b505f: Download complete [2024-10-15T01:21:27.337Z] bab4dde63d76: Verifying Checksum [2024-10-15T01:21:27.337Z] bab4dde63d76: Download complete [2024-10-15T01:21:28.274Z] b85a868b505f: Pull complete [2024-10-15T01:21:28.532Z] e2be974225ed: Pull complete [2024-10-15T01:21:29.103Z] 339a4e72a1f5: Pull complete [2024-10-15T01:21:29.103Z] 988bab9f4d93: Pull complete [2024-10-15T01:21:29.363Z] 1469e6f7b9e6: Pull complete [2024-10-15T01:21:29.624Z] eaf3925da568: Pull complete [2024-10-15T01:21:31.533Z] bab4dde63d76: Pull complete [2024-10-15T01:21:31.533Z] bde34c3a00c8: Pull complete [2024-10-15T01:21:31.533Z] b352a97aabf1: Pull complete [2024-10-15T01:21:31.793Z] 4872d77fe225: Pull complete [2024-10-15T01:21:31.793Z] 5851b861e8e6: Pull complete [2024-10-15T01:21:31.793Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-15T01:21:31.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-15T01:21:31.793Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:21:32.087Z] prd-ubuntu20.04-docker-8c-8g-22817 does not seem to be running inside a container [2024-10-15T01:21:32.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-702 -v /w/workspace/gexfoundry_device-mqtt-go_PR-702:/w/workspace/gexfoundry_device-mqtt-go_PR-702:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-15T01:21:35.185Z] $ docker top a9c006ad11d4fe75ab13002649c7fc93f9ccb9db39c1b670534c9357a1bf450d -eo pid,comm [2024-10-15T01:21:35.255Z] 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-10-15T01:21:35.255Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-15T01:21:35.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-15T01:21:35.420Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-15T01:21:35.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-15T01:21:35.535Z] $ docker exec a9c006ad11d4fe75ab13002649c7fc93f9ccb9db39c1b670534c9357a1bf450d ssh-agent [2024-10-15T01:21:35.648Z] SSH_AUTH_SOCK=/tmp/ssh-IgbW6g5KYbY7/agent.31 [2024-10-15T01:21:35.648Z] SSH_AGENT_PID=38 [2024-10-15T01:21:35.657Z] Running ssh-add (command line suppressed) [2024-10-15T01:21:35.773Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp/private_key_4392710613373639931.key (/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp/private_key_4392710613373639931.key) [2024-10-15T01:21:35.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-15T01:21:36.138Z] + git tag --points-at HEAD [Pipeline] } [2024-10-15T01:21:36.163Z] $ docker exec --env ******** --env ******** a9c006ad11d4fe75ab13002649c7fc93f9ccb9db39c1b670534c9357a1bf450d ssh-agent -k [2024-10-15T01:21:36.258Z] unset SSH_AUTH_SOCK; [2024-10-15T01:21:36.259Z] unset SSH_AGENT_PID; [2024-10-15T01:21:36.259Z] echo Agent pid 38 killed; [2024-10-15T01:21:36.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-15T01:21:36.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-15T01:21:36.381Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-15T01:21:36.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-15T01:21:36.507Z] $ docker exec a9c006ad11d4fe75ab13002649c7fc93f9ccb9db39c1b670534c9357a1bf450d ssh-agent [2024-10-15T01:21:36.628Z] SSH_AUTH_SOCK=/tmp/ssh-x3b0nw7tl7cR/agent.71 [2024-10-15T01:21:36.628Z] SSH_AGENT_PID=78 [2024-10-15T01:21:36.633Z] Running ssh-add (command line suppressed) [2024-10-15T01:21:36.730Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp/private_key_11212590200154967642.key (/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp/private_key_11212590200154967642.key) [2024-10-15T01:21:36.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-15T01:21:37.106Z] + git semver init [2024-10-15T01:21:37.366Z] 2024-10-15 01:21:37,284 [run_init] DEBUG init version:0.0.0 force:False [2024-10-15T01:21:37.366Z] 2024-10-15 01:21:37,285 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-702/.semver [2024-10-15T01:21:37.366Z] 2024-10-15 01:21:37,285 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-702/.semver [2024-10-15T01:21:37.366Z] 2024-10-15 01:21:37,286 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-702/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-702, universal_newlines=False, shell=None, istream=None) [2024-10-15T01:21:39.277Z] 2024-10-15 01:21:38,954 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-702/.git/info/exclude [2024-10-15T01:21:39.277Z] 2024-10-15 01:21:38,955 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-702/.semver/PR-702 with force:False [2024-10-15T01:21:39.277Z] 2024-10-15 01:21:38,955 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-702/.semver/PR-702 [2024-10-15T01:21:39.277Z] 2024-10-15 01:21:38,959 [execute] INFO git cat-file --batch-check [2024-10-15T01:21:39.277Z] 2024-10-15 01:21:38,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-702/.semver, universal_newlines=False, shell=None, istream=) [2024-10-15T01:21:39.277Z] 2024-10-15 01:21:38,965 [execute] INFO git cat-file --batch [2024-10-15T01:21:39.277Z] 2024-10-15 01:21:38,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-702/.semver, universal_newlines=False, shell=None, istream=) [2024-10-15T01:21:39.277Z] 2024-10-15 01:21:38,970 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-702/.semver/PR-702 [2024-10-15T01:21:39.277Z] 0.0.0 [Pipeline] } [2024-10-15T01:21:39.304Z] $ docker exec --env ******** --env ******** a9c006ad11d4fe75ab13002649c7fc93f9ccb9db39c1b670534c9357a1bf450d ssh-agent -k [2024-10-15T01:21:39.397Z] unset SSH_AUTH_SOCK; [2024-10-15T01:21:39.398Z] unset SSH_AGENT_PID; [2024-10-15T01:21:39.398Z] echo Agent pid 78 killed; [2024-10-15T01:21:39.411Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-15T01:21:39.872Z] + git semver [Pipeline] } [2024-10-15T01:21:40.158Z] $ docker stop --time=1 a9c006ad11d4fe75ab13002649c7fc93f9ccb9db39c1b670534c9357a1bf450d [2024-10-15T01:21:41.462Z] $ docker rm -f --volumes a9c006ad11d4fe75ab13002649c7fc93f9ccb9db39c1b670534c9357a1bf450d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-15T01:21:41.903Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-15T01:21:42.227Z] Stashed 1 file(s) [Pipeline] echo [2024-10-15T01:21:42.250Z] [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-10-15T01:21:42.958Z] provisioning config files... [2024-10-15T01:21:42.969Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp/config17114907827266494682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:21:43.345Z] ---> ****-login.sh [2024-10-15T01:21:43.345Z] nexus3.edgexfoundry.org:10001 [2024-10-15T01:21:43.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:43.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:43.346Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:43.346Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:43.346Z] [2024-10-15T01:21:43.346Z] Login Succeeded [2024-10-15T01:21:43.346Z] nexus3.edgexfoundry.org:10002 [2024-10-15T01:21:43.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:43.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:43.346Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:43.346Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:43.346Z] [2024-10-15T01:21:43.346Z] Login Succeeded [2024-10-15T01:21:43.346Z] nexus3.edgexfoundry.org:10003 [2024-10-15T01:21:43.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:43.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:43.607Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:43.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:43.607Z] [2024-10-15T01:21:43.607Z] Login Succeeded [2024-10-15T01:21:43.607Z] nexus3.edgexfoundry.org:10004 [2024-10-15T01:21:43.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:43.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:43.607Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:43.608Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:43.608Z] [2024-10-15T01:21:43.608Z] Login Succeeded [2024-10-15T01:21:43.608Z] ****.io [2024-10-15T01:21:43.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:21:43.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:21:43.867Z] Configure a credential helper to remove this warning. See [2024-10-15T01:21:43.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:21:43.867Z] [2024-10-15T01:21:43.867Z] Login Succeeded [2024-10-15T01:21:43.867Z] ---> ****-login.sh ends [Pipeline] } [2024-10-15T01:21:43.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-15T01:21:44.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-15T01:21:44.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-15T01:21:44.227Z] ========================================================= [2024-10-15T01:21:44.227Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-15T01:21:44.227Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:21:44.744Z] + 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-10-15T01:21:44.744Z] Sending build context to Docker daemon 20.91MB [2024-10-15T01:21:44.744Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-15T01:21:44.744Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-15T01:21:45.003Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-15T01:21:45.003Z] 43c4264eed91: Pulling fs layer [2024-10-15T01:21:45.003Z] 4cc291be95ef: Pulling fs layer [2024-10-15T01:21:45.003Z] 2ac1f1163629: Pulling fs layer [2024-10-15T01:21:45.003Z] 5c3c966382ef: Pulling fs layer [2024-10-15T01:21:45.003Z] 4f4fb700ef54: Pulling fs layer [2024-10-15T01:21:45.003Z] 5d5c8e513c77: Pulling fs layer [2024-10-15T01:21:45.003Z] 9f66e0745190: Pulling fs layer [2024-10-15T01:21:45.003Z] f49a43e4bbc0: Pulling fs layer [2024-10-15T01:21:45.003Z] 561ebcabdf7f: Pulling fs layer [2024-10-15T01:21:45.004Z] f49a43e4bbc0: Waiting [2024-10-15T01:21:45.004Z] 561ebcabdf7f: Waiting [2024-10-15T01:21:45.004Z] 4f4fb700ef54: Waiting [2024-10-15T01:21:45.004Z] 9f66e0745190: Waiting [2024-10-15T01:21:45.004Z] 5d5c8e513c77: Waiting [2024-10-15T01:21:45.004Z] 4cc291be95ef: Verifying Checksum [2024-10-15T01:21:45.004Z] 4cc291be95ef: Download complete [2024-10-15T01:21:45.004Z] 5c3c966382ef: Verifying Checksum [2024-10-15T01:21:45.004Z] 5c3c966382ef: Download complete [2024-10-15T01:21:45.004Z] 4f4fb700ef54: Verifying Checksum [2024-10-15T01:21:45.004Z] 4f4fb700ef54: Download complete [2024-10-15T01:21:45.004Z] 5d5c8e513c77: Verifying Checksum [2024-10-15T01:21:45.004Z] 5d5c8e513c77: Download complete [2024-10-15T01:21:45.004Z] 43c4264eed91: Download complete [2024-10-15T01:21:45.004Z] 9f66e0745190: Verifying Checksum [2024-10-15T01:21:45.004Z] 9f66e0745190: Download complete [2024-10-15T01:21:45.264Z] 43c4264eed91: Pull complete [2024-10-15T01:21:45.264Z] 561ebcabdf7f: Download complete [2024-10-15T01:21:45.264Z] 4cc291be95ef: Pull complete [2024-10-15T01:21:45.522Z] 2ac1f1163629: Verifying Checksum [2024-10-15T01:21:45.522Z] 2ac1f1163629: Download complete [2024-10-15T01:21:45.781Z] f49a43e4bbc0: Download complete [2024-10-15T01:21:49.069Z] 2ac1f1163629: Pull complete [2024-10-15T01:21:49.069Z] 5c3c966382ef: Pull complete [2024-10-15T01:21:49.329Z] 4f4fb700ef54: Pull complete [2024-10-15T01:21:49.329Z] 5d5c8e513c77: Pull complete [2024-10-15T01:21:49.329Z] 9f66e0745190: Pull complete [2024-10-15T01:21:51.874Z] f49a43e4bbc0: Pull complete [2024-10-15T01:21:52.462Z] 561ebcabdf7f: Pull complete [2024-10-15T01:21:52.462Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-15T01:21:52.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-15T01:21:52.462Z] ---> 3a752c3f9dda [2024-10-15T01:21:52.462Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-15T01:21:56.739Z] ---> Running in 7d2ba01973a4 [2024-10-15T01:21:57.000Z] Removing intermediate container 7d2ba01973a4 [2024-10-15T01:21:57.000Z] ---> 0e4b31df55cd [2024-10-15T01:21:57.000Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-15T01:21:57.000Z] ---> Running in 5aec0977a69c [2024-10-15T01:21:57.000Z] Removing intermediate container 5aec0977a69c [2024-10-15T01:21:57.000Z] ---> efb68bbcf072 [2024-10-15T01:21:57.000Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-15T01:21:57.000Z] ---> Running in eee3406843b9 [2024-10-15T01:21:57.260Z] Removing intermediate container eee3406843b9 [2024-10-15T01:21:57.260Z] ---> a544c60323f2 [2024-10-15T01:21:57.260Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-15T01:21:57.260Z] ---> Running in 98dcf3c6c31e [2024-10-15T01:21:57.260Z] Removing intermediate container 98dcf3c6c31e [2024-10-15T01:21:57.260Z] ---> 57b9f8243443 [2024-10-15T01:21:57.260Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-15T01:21:57.260Z] ---> Running in 69050beaaaef [2024-10-15T01:21:57.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T01:21:57.738Z] Still waiting to schedule task [2024-10-15T01:21:57.738Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-15T01:21:57.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T01:21:58.041Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-15T01:21:58.041Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-15T01:21:58.041Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-15T01:21:58.041Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-15T01:21:58.041Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T01:21:58.041Z] OK: 250 MiB in 58 packages [2024-10-15T01:21:58.612Z] Removing intermediate container 69050beaaaef [2024-10-15T01:21:58.612Z] ---> b152e0c4b3db [2024-10-15T01:21:58.612Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-15T01:21:58.612Z] ---> Running in 8f88bbf5566b [2024-10-15T01:21:58.612Z] Removing intermediate container 8f88bbf5566b [2024-10-15T01:21:58.612Z] ---> c9df299f19cd [2024-10-15T01:21:58.612Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-15T01:21:58.871Z] ---> 24965faae859 [2024-10-15T01:21:58.871Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-15T01:21:58.871Z] ---> Running in 95e09c9be502 [2024-10-15T01:23:12.805Z] Removing intermediate container 95e09c9be502 [2024-10-15T01:23:12.805Z] ---> f132d9afd330 [2024-10-15T01:23:12.805Z] Step 11/12 : COPY . . [2024-10-15T01:23:12.805Z] ---> b38d4a3faa61 [2024-10-15T01:23:12.805Z] Step 12/12 : RUN $MAKE [2024-10-15T01:23:12.805Z] ---> Running in 3d514b51fd3b [2024-10-15T01:23:12.805Z] noop [2024-10-15T01:23:12.805Z] Removing intermediate container 3d514b51fd3b [2024-10-15T01:23:12.805Z] ---> 577a8e0ca44a [2024-10-15T01:23:12.805Z] Successfully built 577a8e0ca44a [2024-10-15T01:23:12.805Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:23:13.306Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-15T01:23:13.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:23:13.476Z] prd-ubuntu20.04-docker-8c-8g-22817 does not seem to be running inside a container [2024-10-15T01:23:13.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-702 -v /w/workspace/gexfoundry_device-mqtt-go_PR-702:/w/workspace/gexfoundry_device-mqtt-go_PR-702:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-15T01:23:13.869Z] $ docker top 987e0427bcb8b24baf03d4b35ed15a65204cb587a21139ce7b1a597acf9a04b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T01:23:14.289Z] + go version [2024-10-15T01:23:14.289Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-15T01:23:14.322Z] $ docker stop --time=1 987e0427bcb8b24baf03d4b35ed15a65204cb587a21139ce7b1a597acf9a04b8 [2024-10-15T01:23:15.613Z] $ docker rm -f --volumes 987e0427bcb8b24baf03d4b35ed15a65204cb587a21139ce7b1a597acf9a04b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:23:16.398Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-15T01:23:16.398Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:23:16.571Z] prd-ubuntu20.04-docker-8c-8g-22817 does not seem to be running inside a container [2024-10-15T01:23:16.605Z] $ 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-702 -v /w/workspace/gexfoundry_device-mqtt-go_PR-702:/w/workspace/gexfoundry_device-mqtt-go_PR-702:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-15T01:23:16.940Z] $ docker top 512b81d786227bbbe63a6b86381884718d9c6dca43bcc3bb4d121391b481853f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T01:23:17.356Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-702 [Pipeline] fileExists [Pipeline] sh [2024-10-15T01:23:17.732Z] + make test [2024-10-15T01:23:17.732Z] go test ./... -coverprofile=coverage.out ./... [2024-10-15T01:23:19.637Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-15T01:23:24.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22818 in /w/workspace/gexfoundry_device-mqtt-go_PR-702 [Pipeline] { [Pipeline] ws [2024-10-15T01:23:24.672Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-10-15T01:23:27.775Z] The recommended git tool is: git [2024-10-15T01:23:32.662Z] using credential edgex-jenkins-ssh [2024-10-15T01:23:32.687Z] Cloning the remote Git repository [2024-10-15T01:23:32.733Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-15T01:23:32.840Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-10-15T01:23:32.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-15T01:23:33.001Z] > git --version # timeout=10 [2024-10-15T01:23:33.023Z] > git --version # 'git version 2.25.1' [2024-10-15T01:23:33.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-15T01:23:33.172Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-15T01:23:35.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-15T01:23:35.749Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-15T01:23:37.110Z] Merging remotes/origin/main commit 2822fc24b8134fd9bdcc7ab00c9256dba2bd7cb9 into PR head commit 4f92e15eb295c3557e8ddca3056f6f70ec23e17a [2024-10-15T01:23:37.364Z] Merge succeeded, producing 4f92e15eb295c3557e8ddca3056f6f70ec23e17a [2024-10-15T01:23:37.364Z] Checking out Revision 4f92e15eb295c3557e8ddca3056f6f70ec23e17a (PR-702) [2024-10-15T01:23:37.852Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-15T01:23:36.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-15T01:23:36.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-15T01:23:36.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-15T01:23:36.617Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-15T01:23:37.123Z] > git config core.sparsecheckout # timeout=10 [2024-10-15T01:23:37.176Z] > git checkout -f 4f92e15eb295c3557e8ddca3056f6f70ec23e17a # timeout=10 [2024-10-15T01:23:37.263Z] > git remote # timeout=10 [2024-10-15T01:23:37.281Z] > git config --get remote.origin.url # timeout=10 [2024-10-15T01:23:37.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-15T01:23:37.318Z] > git merge 2822fc24b8134fd9bdcc7ab00c9256dba2bd7cb9 # timeout=10 [2024-10-15T01:23:37.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-15T01:23:37.367Z] > git config core.sparsecheckout # timeout=10 [2024-10-15T01:23:37.390Z] > git checkout -f 4f92e15eb295c3557e8ddca3056f6f70ec23e17a # timeout=10 [2024-10-15T01:23:37.892Z] > git --version # timeout=10 [2024-10-15T01:23:37.904Z] > git --version # 'git version 2.25.1' [2024-10-15T01:23:37.923Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-15T01:23:41.569Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-15T01:23:41.569Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-15T01:23:41.569Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-15T01:23:42.719Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-15T01:23:42.719Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-15T01:23:42.719Z] Dload Upload Total Spent Left Speed [2024-10-15T01:23:42.719Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh [2024-10-15T01:23:43.063Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-15T01:23:43.409Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-15T01:23:43.409Z] /etc/docker/daemon.json [2024-10-15T01:23:43.409Z] { [2024-10-15T01:23:43.409Z] "registry-mirrors": [ [2024-10-15T01:23:43.409Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-15T01:23:43.409Z] ], [2024-10-15T01:23:43.409Z] "bip": "10.250.0.254/24", [2024-10-15T01:23:43.409Z] "hosts": [ [2024-10-15T01:23:43.409Z] "tcp://0.0.0.0:5555", [2024-10-15T01:23:43.409Z] "unix:///var/run/docker.sock" [2024-10-15T01:23:43.409Z] ], [2024-10-15T01:23:43.409Z] "mtu": 1458, [2024-10-15T01:23:43.409Z] "selinux-enabled": true, [2024-10-15T01:23:43.409Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-15T01:23:43.409Z] } [Pipeline] sh [2024-10-15T01:23:43.763Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-15T01:23:44.110Z] + sudo service docker restart [2024-10-15T01:23:53.807Z] go vet ./... [2024-10-15T01:23:59.082Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-15T01:23:59.082Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-15T01:23:59.082Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-15T01:23:59.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-15T01:23:59.181Z] $ docker stop --time=1 512b81d786227bbbe63a6b86381884718d9c6dca43bcc3bb4d121391b481853f [2024-10-15T01:24:00.952Z] $ docker rm -f --volumes 512b81d786227bbbe63a6b86381884718d9c6dca43bcc3bb4d121391b481853f [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-15T01:24:01.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-15T01:24:01.689Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-15T01:24:02.453Z] provisioning config files... [2024-10-15T01:24:02.471Z] + sudo chown -R jenkins:jenkins . [2024-10-15T01:24:02.485Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10947941107283763796tmp [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:24:02.800Z] + ls -al . [2024-10-15T01:24:02.800Z] total 264 [2024-10-15T01:24:02.800Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 15 01:23 . [2024-10-15T01:24:02.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 01:21 .. [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 01:21 .dockerignore [2024-10-15T01:24:02.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 01:23 .git [2024-10-15T01:24:02.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 01:21 .github [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 15 01:21 .gitignore [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 15 01:21 .golangci.yml [2024-10-15T01:24:02.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 15 01:21 .semver [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 15 01:21 Attribution.txt [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 15 01:21 CHANGELOG.md [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 15 01:21 Dockerfile [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 15 01:21 GOVERNANCE.md [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 15 01:21 Jenkinsfile [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 15 01:21 LICENSE [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 2500 Oct 15 01:21 Makefile [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 15 01:21 OWNERS.md [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 15 01:21 README.md [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 01:21 VERSION [2024-10-15T01:24:02.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 01:21 bin [2024-10-15T01:24:02.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 01:21 cmd [2024-10-15T01:24:02.800Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 15 01:23 coverage.out [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 15 01:21 go.mod [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 15 01:21 go.sum [2024-10-15T01:24:02.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 01:21 internal [2024-10-15T01:24:02.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 01:21 mock [2024-10-15T01:24:02.800Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 15 01:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:24:03.031Z] ---> ****-login.sh [2024-10-15T01:24:03.031Z] nexus3.edgexfoundry.org:10001 [2024-10-15T01:24:03.232Z] + 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=4f92e15eb295c3557e8ddca3056f6f70ec23e17a --label arch=amd64 --label version=0.0.0 . [2024-10-15T01:24:03.232Z] Sending build context to Docker daemon 20.93MB [2024-10-15T01:24:03.232Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-15T01:24:03.232Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-15T01:24:03.232Z] ---> 577a8e0ca44a [2024-10-15T01:24:03.232Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-15T01:24:03.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:24:03.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:24:03.621Z] Configure a credential helper to remove this warning. See [2024-10-15T01:24:03.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:24:03.621Z] [2024-10-15T01:24:03.621Z] Login Succeeded [2024-10-15T01:24:03.621Z] nexus3.edgexfoundry.org:10002 [2024-10-15T01:24:03.803Z] ---> Running in 0798b82a2ffb [2024-10-15T01:24:03.803Z] Removing intermediate container 0798b82a2ffb [2024-10-15T01:24:03.803Z] ---> e14b58ee5f70 [2024-10-15T01:24:03.803Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-15T01:24:03.803Z] ---> Running in b61b31d0238d [2024-10-15T01:24:03.803Z] Removing intermediate container b61b31d0238d [2024-10-15T01:24:03.803Z] ---> 7a7865223125 [2024-10-15T01:24:03.803Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-15T01:24:03.803Z] ---> Running in 7eaa36b37936 [2024-10-15T01:24:03.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:24:04.064Z] Removing intermediate container 7eaa36b37936 [2024-10-15T01:24:04.064Z] ---> 2aa3b11c398b [2024-10-15T01:24:04.064Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-15T01:24:04.064Z] ---> Running in abd38b99c382 [2024-10-15T01:24:04.064Z] Removing intermediate container abd38b99c382 [2024-10-15T01:24:04.064Z] ---> ac225540d469 [2024-10-15T01:24:04.064Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-15T01:24:04.064Z] ---> Running in f477ed2a53c9 [2024-10-15T01:24:04.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:24:04.161Z] Configure a credential helper to remove this warning. See [2024-10-15T01:24:04.161Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:24:04.161Z] [2024-10-15T01:24:04.161Z] Login Succeeded [2024-10-15T01:24:04.161Z] nexus3.edgexfoundry.org:10003 [2024-10-15T01:24:04.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T01:24:04.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T01:24:04.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:24:04.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:24:04.436Z] Configure a credential helper to remove this warning. See [2024-10-15T01:24:04.436Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:24:04.436Z] [2024-10-15T01:24:04.436Z] Login Succeeded [2024-10-15T01:24:04.436Z] nexus3.edgexfoundry.org:10004 [2024-10-15T01:24:04.584Z] OK: 250 MiB in 58 packages [2024-10-15T01:24:04.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:24:04.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:24:04.713Z] Configure a credential helper to remove this warning. See [2024-10-15T01:24:04.713Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:24:04.713Z] [2024-10-15T01:24:04.713Z] Login Succeeded [2024-10-15T01:24:04.713Z] ****.io [2024-10-15T01:24:04.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-15T01:24:05.156Z] Removing intermediate container f477ed2a53c9 [2024-10-15T01:24:05.156Z] ---> fd284e09c62a [2024-10-15T01:24:05.156Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-15T01:24:05.156Z] ---> Running in 8e777a2ad9ae [2024-10-15T01:24:05.156Z] Removing intermediate container 8e777a2ad9ae [2024-10-15T01:24:05.156Z] ---> c32431f82305 [2024-10-15T01:24:05.156Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-15T01:24:05.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-15T01:24:05.257Z] Configure a credential helper to remove this warning. See [2024-10-15T01:24:05.257Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-15T01:24:05.257Z] [2024-10-15T01:24:05.257Z] Login Succeeded [2024-10-15T01:24:05.257Z] ---> ****-login.sh ends [Pipeline] } [2024-10-15T01:24:05.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2024-10-15T01:24:05.416Z] ---> a1e50182c715 [2024-10-15T01:24:05.416Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-15T01:24:05.416Z] ---> Running in cf3764aad6d0 [Pipeline] unstash [Pipeline] echo [2024-10-15T01:24:05.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-15T01:24:05.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-15T01:24:05.943Z] ========================================================= [2024-10-15T01:24:05.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-15T01:24:05.943Z] ========================================================= [Pipeline] fileExists [2024-10-15T01:24:05.990Z] Removing intermediate container cf3764aad6d0 [2024-10-15T01:24:05.990Z] ---> 09b526733d3a [2024-10-15T01:24:05.990Z] Step 11/25 : COPY . . [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:24:06.534Z] + 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-10-15T01:24:06.805Z] Sending build context to Docker daemon 10.57MB [2024-10-15T01:24:06.932Z] ---> 7fd5dc680675 [2024-10-15T01:24:06.932Z] Step 12/25 : RUN $MAKE [2024-10-15T01:24:06.932Z] ---> Running in e01e1c88c741 [2024-10-15T01:24:07.075Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-15T01:24:07.075Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-15T01:24:07.199Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [2024-10-15T01:24:07.665Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-15T01:24:07.665Z] cf04c63912e1: Pulling fs layer [2024-10-15T01:24:07.665Z] 55b35a11ae5e: Pulling fs layer [2024-10-15T01:24:07.665Z] a37a00ec5f00: Pulling fs layer [2024-10-15T01:24:07.665Z] 50b3750afda1: Pulling fs layer [2024-10-15T01:24:07.665Z] 4f4fb700ef54: Pulling fs layer [2024-10-15T01:24:07.665Z] 80978eb59214: Pulling fs layer [2024-10-15T01:24:07.665Z] c9f46d7d2bd2: Pulling fs layer [2024-10-15T01:24:07.665Z] c5a475d317c9: Pulling fs layer [2024-10-15T01:24:07.665Z] 4f4fb700ef54: Waiting [2024-10-15T01:24:07.665Z] 80978eb59214: Waiting [2024-10-15T01:24:07.665Z] c9f46d7d2bd2: Waiting [2024-10-15T01:24:07.665Z] c5a475d317c9: Waiting [2024-10-15T01:24:07.665Z] 50b3750afda1: Waiting [2024-10-15T01:24:07.665Z] 55b35a11ae5e: Verifying Checksum [2024-10-15T01:24:07.665Z] 55b35a11ae5e: Download complete [2024-10-15T01:24:07.665Z] 50b3750afda1: Download complete [2024-10-15T01:24:07.665Z] 4f4fb700ef54: Verifying Checksum [2024-10-15T01:24:07.665Z] 4f4fb700ef54: Download complete [2024-10-15T01:24:07.665Z] 80978eb59214: Verifying Checksum [2024-10-15T01:24:07.665Z] 80978eb59214: Download complete [2024-10-15T01:24:07.665Z] cf04c63912e1: Verifying Checksum [2024-10-15T01:24:07.665Z] cf04c63912e1: Download complete [2024-10-15T01:24:08.255Z] c5a475d317c9: Verifying Checksum [2024-10-15T01:24:08.255Z] c5a475d317c9: Download complete [2024-10-15T01:24:08.850Z] cf04c63912e1: Pull complete [2024-10-15T01:24:09.437Z] 55b35a11ae5e: Pull complete [2024-10-15T01:24:09.708Z] a37a00ec5f00: Verifying Checksum [2024-10-15T01:24:09.708Z] a37a00ec5f00: Download complete [2024-10-15T01:24:10.295Z] c9f46d7d2bd2: Verifying Checksum [2024-10-15T01:24:10.295Z] c9f46d7d2bd2: Download complete [2024-10-15T01:24:25.312Z] a37a00ec5f00: Pull complete [2024-10-15T01:24:25.312Z] 50b3750afda1: Pull complete [2024-10-15T01:24:25.312Z] 4f4fb700ef54: Pull complete [2024-10-15T01:24:25.312Z] 80978eb59214: Pull complete [2024-10-15T01:24:31.972Z] c9f46d7d2bd2: Pull complete [2024-10-15T01:24:33.390Z] c5a475d317c9: Pull complete [2024-10-15T01:24:33.390Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-15T01:24:33.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-15T01:24:33.390Z] ---> be29e6b0f0d4 [2024-10-15T01:24:33.390Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-15T01:24:33.974Z] ---> Running in 5801313f12ec [2024-10-15T01:24:34.245Z] Removing intermediate container 5801313f12ec [2024-10-15T01:24:34.245Z] ---> 82e92ab3540f [2024-10-15T01:24:34.245Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-15T01:24:34.518Z] ---> Running in 163711e9d312 [2024-10-15T01:24:34.783Z] Removing intermediate container 163711e9d312 [2024-10-15T01:24:34.783Z] ---> 155daac5417a [2024-10-15T01:24:34.783Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-15T01:24:34.783Z] ---> Running in adcebad73889 [2024-10-15T01:24:35.049Z] Removing intermediate container adcebad73889 [2024-10-15T01:24:35.049Z] ---> a2799e809dd4 [2024-10-15T01:24:35.049Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-15T01:24:35.049Z] ---> Running in 56f5b1619cd0 [2024-10-15T01:24:35.629Z] Removing intermediate container 56f5b1619cd0 [2024-10-15T01:24:35.630Z] ---> 2dcecfedf3c7 [2024-10-15T01:24:35.630Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-15T01:24:35.630Z] ---> Running in bc840836ec94 [2024-10-15T01:24:36.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:24:36.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:24:38.275Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-15T01:24:38.275Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-15T01:24:38.275Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-15T01:24:38.275Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-15T01:24:38.275Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T01:24:38.275Z] OK: 242 MiB in 58 packages [2024-10-15T01:24:39.680Z] Removing intermediate container bc840836ec94 [2024-10-15T01:24:39.680Z] ---> 306c4fbe6509 [2024-10-15T01:24:39.680Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-15T01:24:39.680Z] ---> Running in 0b68d92c1634 [2024-10-15T01:24:39.680Z] Removing intermediate container 0b68d92c1634 [2024-10-15T01:24:39.680Z] ---> ad41b81e2ab1 [2024-10-15T01:24:39.680Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-15T01:24:40.271Z] ---> f0fa9a732c8c [2024-10-15T01:24:40.271Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-15T01:24:40.271Z] ---> Running in ae19ba001691 [2024-10-15T01:24:45.943Z] Removing intermediate container e01e1c88c741 [2024-10-15T01:24:45.943Z] ---> 4ed48ebcc252 [2024-10-15T01:24:45.943Z] Step 13/25 : FROM alpine:3.20 [2024-10-15T01:24:45.943Z] 3.20: Pulling from library/alpine [2024-10-15T01:24:45.943Z] 43c4264eed91: Already exists [2024-10-15T01:24:45.943Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-15T01:24:45.943Z] Status: Downloaded newer image for alpine:3.20 [2024-10-15T01:24:45.943Z] ---> 91ef0af61f39 [2024-10-15T01:24:45.943Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-15T01:24:45.943Z] ---> Running in 887ab5e596e1 [2024-10-15T01:24:45.943Z] Removing intermediate container 887ab5e596e1 [2024-10-15T01:24:45.943Z] ---> 5ad2eb0ef894 [2024-10-15T01:24:45.943Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-15T01:24:45.943Z] ---> Running in 95f4a08f6b60 [2024-10-15T01:24:45.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T01:24:45.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T01:24:45.943Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-15T01:24:45.943Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T01:24:45.943Z] OK: 8 MiB in 15 packages [2024-10-15T01:24:45.943Z] Removing intermediate container 95f4a08f6b60 [2024-10-15T01:24:45.943Z] ---> a27b42bb9c61 [2024-10-15T01:24:45.943Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-15T01:24:45.943Z] ---> Running in 3bcbeeaf1123 [2024-10-15T01:24:45.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T01:24:45.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T01:24:45.943Z] Upgrading critical system libraries and apk-tools: [2024-10-15T01:24:45.943Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-15T01:24:45.943Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T01:24:45.943Z] Continuing the upgrade transaction with new apk-tools: [2024-10-15T01:24:45.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-15T01:24:45.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-15T01:24:45.943Z] OK: 8 MiB in 15 packages [2024-10-15T01:24:45.943Z] Removing intermediate container 3bcbeeaf1123 [2024-10-15T01:24:45.943Z] ---> 320d2634c6d9 [2024-10-15T01:24:45.943Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-15T01:24:47.319Z] ---> df0c1ce6b0eb [2024-10-15T01:24:47.320Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-15T01:24:47.320Z] ---> 5ade7ca3c1ba [2024-10-15T01:24:47.320Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-15T01:24:47.320Z] ---> 7c23707bf951 [2024-10-15T01:24:47.320Z] Step 20/25 : EXPOSE 59982 [2024-10-15T01:24:47.320Z] ---> Running in 7c64746f5c3f [2024-10-15T01:24:47.579Z] Removing intermediate container 7c64746f5c3f [2024-10-15T01:24:47.579Z] ---> 0bf3e43de8fc [2024-10-15T01:24:47.579Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-15T01:24:47.579Z] ---> Running in 79e5f9fe8ea8 [2024-10-15T01:24:47.579Z] Removing intermediate container 79e5f9fe8ea8 [2024-10-15T01:24:47.579Z] ---> 7b3f950ed867 [2024-10-15T01:24:47.579Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-15T01:24:47.579Z] ---> Running in fad213d2dbfa [2024-10-15T01:24:47.579Z] Removing intermediate container fad213d2dbfa [2024-10-15T01:24:47.579Z] ---> 209f93ede59e [2024-10-15T01:24:47.579Z] Step 23/25 : LABEL arch=amd64 [2024-10-15T01:24:47.579Z] ---> Running in 627c8f97bbb3 [2024-10-15T01:24:47.838Z] Removing intermediate container 627c8f97bbb3 [2024-10-15T01:24:47.838Z] ---> 71e32faecc8b [2024-10-15T01:24:47.838Z] Step 24/25 : LABEL git_sha=4f92e15eb295c3557e8ddca3056f6f70ec23e17a [2024-10-15T01:24:47.838Z] ---> Running in f28331c0fd6a [2024-10-15T01:24:47.838Z] Removing intermediate container f28331c0fd6a [2024-10-15T01:24:47.838Z] ---> 5f0dfa081942 [2024-10-15T01:24:47.838Z] Step 25/25 : LABEL version=0.0.0 [2024-10-15T01:24:47.838Z] ---> Running in 6420543fa01f [2024-10-15T01:24:47.838Z] Removing intermediate container 6420543fa01f [2024-10-15T01:24:47.838Z] ---> 05818821de16 [2024-10-15T01:24:47.838Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-15T01:24:47.838Z] Successfully built 05818821de16 [2024-10-15T01:24:47.838Z] 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-10-15T01:24:48.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-15T01:24:48.888Z] [2024-10-15T01:24:48.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:24:49.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-15T01:24:49.290Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-15T01:24:49.290Z] 5eb5b503b376: Pulling fs layer [2024-10-15T01:24:49.290Z] 5c69ac0246d0: Pulling fs layer [2024-10-15T01:24:49.290Z] ec43610c2a17: Pulling fs layer [2024-10-15T01:24:49.290Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-15T01:24:49.290Z] 33b1e0a273af: Pulling fs layer [2024-10-15T01:24:49.290Z] 5d3b04190fa2: Pulling fs layer [2024-10-15T01:24:49.290Z] 2f39f015ded8: Pulling fs layer [2024-10-15T01:24:49.290Z] 3a2ae6a8a46f: Waiting [2024-10-15T01:24:49.290Z] 5d3b04190fa2: Waiting [2024-10-15T01:24:49.290Z] 2f39f015ded8: Waiting [2024-10-15T01:24:49.290Z] 33b1e0a273af: Waiting [2024-10-15T01:24:49.290Z] 5c69ac0246d0: Download complete [2024-10-15T01:24:49.290Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-15T01:24:49.290Z] 3a2ae6a8a46f: Download complete [2024-10-15T01:24:49.290Z] 33b1e0a273af: Verifying Checksum [2024-10-15T01:24:49.290Z] 33b1e0a273af: Download complete [2024-10-15T01:24:49.290Z] 5d3b04190fa2: Verifying Checksum [2024-10-15T01:24:49.290Z] 5d3b04190fa2: Download complete [2024-10-15T01:24:49.290Z] ec43610c2a17: Verifying Checksum [2024-10-15T01:24:49.290Z] ec43610c2a17: Download complete [2024-10-15T01:24:49.551Z] 5eb5b503b376: Verifying Checksum [2024-10-15T01:24:49.551Z] 5eb5b503b376: Download complete [2024-10-15T01:24:50.122Z] 2f39f015ded8: Download complete [2024-10-15T01:24:50.692Z] 5eb5b503b376: Pull complete [2024-10-15T01:24:50.952Z] 5c69ac0246d0: Pull complete [2024-10-15T01:24:51.212Z] ec43610c2a17: Pull complete [2024-10-15T01:24:51.471Z] 3a2ae6a8a46f: Pull complete [2024-10-15T01:24:51.731Z] 33b1e0a273af: Pull complete [2024-10-15T01:24:51.731Z] 5d3b04190fa2: Pull complete [2024-10-15T01:24:55.921Z] 2f39f015ded8: Pull complete [2024-10-15T01:24:55.922Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-15T01:24:55.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-15T01:24:55.922Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:24:56.207Z] prd-ubuntu20.04-docker-8c-8g-22817 does not seem to be running inside a container [2024-10-15T01:24:56.239Z] $ 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-702 -v /w/workspace/gexfoundry_device-mqtt-go_PR-702:/w/workspace/gexfoundry_device-mqtt-go_PR-702:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-702@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-10-15T01:25:01.372Z] $ docker top 7bb736f684f75032893bf13c58fb3ac9ab74664fececca545354b0093f05b28c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:25:01.879Z] ---> job-cost.sh [2024-10-15T01:25:01.879Z] lf-activate-venv: SKIPPING [2024-10-15T01:25:01.879Z] INFO: No Stack... [2024-10-15T01:25:02.139Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-15T01:25:02.709Z] INFO: Archiving Costs [Pipeline] sh [2024-10-15T01:25:03.079Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-702/archives/cost.csv [2024-10-15T01:25:03.079Z] + cut -d, -f6 [Pipeline] lock [2024-10-15T01:25:03.127Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-702-1-stack-cost] [2024-10-15T01:25:03.133Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-702-1-stack-cost] did not exist. Created. [2024-10-15T01:25:03.140Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-702-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-15T01:25:03.561Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-15T01:25:03.618Z] Stashed 1 file(s) [Pipeline] } [2024-10-15T01:25:03.659Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-702-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-15T01:25:03.765Z] $ docker stop --time=1 7bb736f684f75032893bf13c58fb3ac9ab74664fececca545354b0093f05b28c [2024-10-15T01:25:04.924Z] $ docker rm -f --volumes 7bb736f684f75032893bf13c58fb3ac9ab74664fececca545354b0093f05b28c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-15T01:26:46.940Z] Removing intermediate container ae19ba001691 [2024-10-15T01:26:46.940Z] ---> f7f6a28bf04c [2024-10-15T01:26:46.940Z] Step 11/12 : COPY . . [2024-10-15T01:26:46.940Z] ---> 0facf8492c31 [2024-10-15T01:26:46.940Z] Step 12/12 : RUN $MAKE [2024-10-15T01:26:46.940Z] ---> Running in 5dff4113016a [2024-10-15T01:26:46.940Z] noop [2024-10-15T01:26:46.940Z] Removing intermediate container 5dff4113016a [2024-10-15T01:26:46.940Z] ---> 69ad7ec9def5 [2024-10-15T01:26:46.940Z] Successfully built 69ad7ec9def5 [2024-10-15T01:26:46.940Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:26:47.482Z] + docker inspect -f . ci-base-image-arm64 [2024-10-15T01:26:47.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:26:47.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-22818 does not seem to be running inside a container [2024-10-15T01:26:47.847Z] $ 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-10-15T01:26:48.983Z] $ docker top b2929012ce825c02b14a95a4f0647eaf56ddf906ef064b909017695b91a6f864 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T01:26:49.875Z] + go version [2024-10-15T01:26:49.875Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-15T01:26:49.914Z] $ docker stop --time=1 b2929012ce825c02b14a95a4f0647eaf56ddf906ef064b909017695b91a6f864 [2024-10-15T01:26:51.468Z] $ docker rm -f --volumes b2929012ce825c02b14a95a4f0647eaf56ddf906ef064b909017695b91a6f864 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:26:52.444Z] + docker inspect -f . ci-base-image-arm64 [2024-10-15T01:26:52.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:26:52.735Z] prd-ubuntu20.04-docker-arm64-4c-16g-22818 does not seem to be running inside a container [2024-10-15T01:26:52.795Z] $ 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-10-15T01:26:54.014Z] $ docker top 4c3f2d5d70afd3ba395e8c1f89d9ba54c10e57a257ddf31b243c52cec7d47a42 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T01:26:54.629Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-15T01:26:55.358Z] + make test [2024-10-15T01:26:55.358Z] go test ./... -coverprofile=coverage.out ./... [2024-10-15T01:27:01.090Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-15T01:30:37.848Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-15T01:30:43.183Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-15T01:30:43.183Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.8% of statements [2024-10-15T01:30:43.451Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-15T01:30:43.451Z] go vet ./... [2024-10-15T01:31:39.858Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-15T01:31:39.858Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-15T01:31:39.858Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-15T01:31:39.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-15T01:31:39.958Z] $ docker stop --time=1 4c3f2d5d70afd3ba395e8c1f89d9ba54c10e57a257ddf31b243c52cec7d47a42 [2024-10-15T01:31:41.956Z] $ docker rm -f --volumes 4c3f2d5d70afd3ba395e8c1f89d9ba54c10e57a257ddf31b243c52cec7d47a42 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-15T01:31:43.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-15T01:31:43.756Z] Warning: overwriting stash ‘coverage-report’ [2024-10-15T01:31:44.205Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-15T01:31:44.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-15T01:31:45.207Z] + ls -al . [2024-10-15T01:31:45.207Z] total 260 [2024-10-15T01:31:45.207Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 01:26 . [2024-10-15T01:31:45.207Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 01:23 .. [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 01:23 .dockerignore [2024-10-15T01:31:45.207Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 01:23 .git [2024-10-15T01:31:45.207Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 01:23 .github [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 15 01:23 .gitignore [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 15 01:23 .golangci.yml [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 15 01:23 Attribution.txt [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 15 01:23 CHANGELOG.md [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 15 01:23 Dockerfile [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 15 01:23 GOVERNANCE.md [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 15 01:23 Jenkinsfile [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 15 01:23 LICENSE [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 2500 Oct 15 01:23 Makefile [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 15 01:23 OWNERS.md [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 15 01:23 README.md [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 01:21 VERSION [2024-10-15T01:31:45.207Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 01:23 bin [2024-10-15T01:31:45.207Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 01:23 cmd [2024-10-15T01:31:45.207Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 15 01:30 coverage.out [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 15 01:23 go.mod [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 15 01:23 go.sum [2024-10-15T01:31:45.207Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 01:23 internal [2024-10-15T01:31:45.207Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 01:23 mock [2024-10-15T01:31:45.207Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 15 01:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:31:45.671Z] + 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=4f92e15eb295c3557e8ddca3056f6f70ec23e17a --label arch=arm64 --label version=0.0.0 . [2024-10-15T01:31:46.262Z] Sending build context to Docker daemon 10.59MB [2024-10-15T01:31:46.262Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-15T01:31:46.262Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-15T01:31:46.262Z] ---> 69ad7ec9def5 [2024-10-15T01:31:46.262Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-15T01:31:46.262Z] ---> Running in 3886e1de122c [2024-10-15T01:31:46.876Z] Removing intermediate container 3886e1de122c [2024-10-15T01:31:46.876Z] ---> f877e46642dd [2024-10-15T01:31:46.876Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-15T01:31:46.876Z] ---> Running in 4f446dd0a242 [2024-10-15T01:31:47.144Z] Removing intermediate container 4f446dd0a242 [2024-10-15T01:31:47.144Z] ---> e5a5d2904475 [2024-10-15T01:31:47.144Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-15T01:31:47.144Z] ---> Running in 14a8936f2d0e [2024-10-15T01:31:47.412Z] Removing intermediate container 14a8936f2d0e [2024-10-15T01:31:47.412Z] ---> c74641d8a944 [2024-10-15T01:31:47.412Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-15T01:31:47.685Z] ---> Running in 46edb0854d7d [2024-10-15T01:31:47.952Z] Removing intermediate container 46edb0854d7d [2024-10-15T01:31:47.952Z] ---> 42cad16f85d4 [2024-10-15T01:31:47.952Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-15T01:31:47.952Z] ---> Running in 206232a70762 [2024-10-15T01:31:49.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:31:49.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:31:51.312Z] OK: 242 MiB in 58 packages [2024-10-15T01:31:51.902Z] Removing intermediate container 206232a70762 [2024-10-15T01:31:51.902Z] ---> a33d2da0b274 [2024-10-15T01:31:51.902Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-15T01:31:52.171Z] ---> Running in e4c7bb0f1eec [2024-10-15T01:31:52.440Z] Removing intermediate container e4c7bb0f1eec [2024-10-15T01:31:52.440Z] ---> 3e0380b7e5e8 [2024-10-15T01:31:52.440Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-15T01:31:53.027Z] ---> 67245860bb0d [2024-10-15T01:31:53.027Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-15T01:31:53.027Z] ---> Running in 3f3f6100996e [2024-10-15T01:31:55.624Z] Removing intermediate container 3f3f6100996e [2024-10-15T01:31:55.624Z] ---> dfa10a1885f5 [2024-10-15T01:31:55.624Z] Step 11/25 : COPY . . [2024-10-15T01:31:57.033Z] ---> 9c3225ec8b63 [2024-10-15T01:31:57.033Z] Step 12/25 : RUN $MAKE [2024-10-15T01:31:57.033Z] ---> Running in c4c6e4fbae51 [2024-10-15T01:31:57.994Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [2024-10-15T01:35:52.701Z] Removing intermediate container c4c6e4fbae51 [2024-10-15T01:35:52.701Z] ---> 755268e57a1b [2024-10-15T01:35:52.701Z] Step 13/25 : FROM alpine:3.20 [2024-10-15T01:35:52.701Z] 3.20: Pulling from library/alpine [2024-10-15T01:35:52.701Z] cf04c63912e1: Already exists [2024-10-15T01:35:52.701Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-15T01:35:52.701Z] Status: Downloaded newer image for alpine:3.20 [2024-10-15T01:35:52.701Z] ---> c157a85ed455 [2024-10-15T01:35:52.701Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-15T01:35:52.701Z] ---> Running in 16226a666dc0 [2024-10-15T01:35:52.701Z] Removing intermediate container 16226a666dc0 [2024-10-15T01:35:52.701Z] ---> dc7502b41383 [2024-10-15T01:35:52.701Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-15T01:35:52.701Z] ---> Running in 405a2d05ebfd [2024-10-15T01:35:52.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:35:52.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:35:52.701Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-15T01:35:52.701Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T01:35:52.701Z] OK: 9 MiB in 15 packages [2024-10-15T01:35:52.701Z] Removing intermediate container 405a2d05ebfd [2024-10-15T01:35:52.701Z] ---> cb124ea15372 [2024-10-15T01:35:52.701Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-15T01:35:52.701Z] ---> Running in fee4b62afce7 [2024-10-15T01:35:53.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:35:53.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:35:55.335Z] Upgrading critical system libraries and apk-tools: [2024-10-15T01:35:55.335Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-15T01:35:55.335Z] Executing busybox-1.36.1-r29.trigger [2024-10-15T01:35:55.603Z] Continuing the upgrade transaction with new apk-tools: [2024-10-15T01:35:55.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-15T01:35:56.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-15T01:35:58.136Z] OK: 9 MiB in 15 packages [2024-10-15T01:35:59.100Z] Removing intermediate container fee4b62afce7 [2024-10-15T01:35:59.100Z] ---> 8f0c600df0ce [2024-10-15T01:35:59.100Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-15T01:36:01.682Z] ---> 71e5c2c41bc8 [2024-10-15T01:36:01.683Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-15T01:36:01.952Z] ---> 980f9ebffae4 [2024-10-15T01:36:01.952Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-15T01:36:02.534Z] ---> 09fea845fae5 [2024-10-15T01:36:02.534Z] Step 20/25 : EXPOSE 59982 [2024-10-15T01:36:02.534Z] ---> Running in 162be3407765 [2024-10-15T01:36:02.801Z] Removing intermediate container 162be3407765 [2024-10-15T01:36:02.801Z] ---> 99beda13ab92 [2024-10-15T01:36:02.801Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-15T01:36:02.801Z] ---> Running in d2b5c825f125 [2024-10-15T01:36:03.072Z] Removing intermediate container d2b5c825f125 [2024-10-15T01:36:03.072Z] ---> 39057b02e89e [2024-10-15T01:36:03.072Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-15T01:36:03.339Z] ---> Running in 46e8c86b1efd [2024-10-15T01:36:03.607Z] Removing intermediate container 46e8c86b1efd [2024-10-15T01:36:03.607Z] ---> 1f0cb44ac845 [2024-10-15T01:36:03.607Z] Step 23/25 : LABEL arch=arm64 [2024-10-15T01:36:03.607Z] ---> Running in eb05a2171c41 [2024-10-15T01:36:03.876Z] Removing intermediate container eb05a2171c41 [2024-10-15T01:36:03.876Z] ---> f4b71b96a17e [2024-10-15T01:36:03.876Z] Step 24/25 : LABEL git_sha=4f92e15eb295c3557e8ddca3056f6f70ec23e17a [2024-10-15T01:36:04.143Z] ---> Running in 0f04e0e8bc42 [2024-10-15T01:36:04.411Z] Removing intermediate container 0f04e0e8bc42 [2024-10-15T01:36:04.411Z] ---> 2efdb3639f07 [2024-10-15T01:36:04.411Z] Step 25/25 : LABEL version=0.0.0 [2024-10-15T01:36:04.411Z] ---> Running in 26b877bd342c [2024-10-15T01:36:04.677Z] Removing intermediate container 26b877bd342c [2024-10-15T01:36:04.677Z] ---> f40d5810e3e7 [2024-10-15T01:36:04.677Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-15T01:36:04.677Z] Successfully built f40d5810e3e7 [2024-10-15T01:36:04.677Z] 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-10-15T01:36:05.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-15T01:36:05.902Z] [2024-10-15T01:36:05.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:36:06.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-15T01:36:06.612Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-15T01:36:06.612Z] 8998bd30e6a1: Pulling fs layer [2024-10-15T01:36:06.612Z] 04944245beec: Pulling fs layer [2024-10-15T01:36:06.612Z] 699f458cf7ca: Pulling fs layer [2024-10-15T01:36:06.612Z] 765212b225bb: Pulling fs layer [2024-10-15T01:36:06.612Z] f23df028b6ca: Pulling fs layer [2024-10-15T01:36:06.612Z] d65c8cfc05b1: Pulling fs layer [2024-10-15T01:36:06.612Z] 2437ff75d9bd: Pulling fs layer [2024-10-15T01:36:06.612Z] f23df028b6ca: Waiting [2024-10-15T01:36:06.612Z] d65c8cfc05b1: Waiting [2024-10-15T01:36:06.612Z] 2437ff75d9bd: Waiting [2024-10-15T01:36:06.612Z] 04944245beec: Verifying Checksum [2024-10-15T01:36:06.612Z] 04944245beec: Download complete [2024-10-15T01:36:06.612Z] 765212b225bb: Verifying Checksum [2024-10-15T01:36:06.612Z] 765212b225bb: Download complete [2024-10-15T01:36:06.612Z] f23df028b6ca: Verifying Checksum [2024-10-15T01:36:06.612Z] f23df028b6ca: Download complete [2024-10-15T01:36:06.612Z] d65c8cfc05b1: Verifying Checksum [2024-10-15T01:36:06.612Z] d65c8cfc05b1: Download complete [2024-10-15T01:36:06.881Z] 699f458cf7ca: Download complete [2024-10-15T01:36:07.466Z] 8998bd30e6a1: Verifying Checksum [2024-10-15T01:36:07.466Z] 8998bd30e6a1: Download complete [2024-10-15T01:36:10.044Z] 2437ff75d9bd: Verifying Checksum [2024-10-15T01:36:10.044Z] 2437ff75d9bd: Download complete [2024-10-15T01:36:11.983Z] 8998bd30e6a1: Pull complete [2024-10-15T01:36:12.941Z] 04944245beec: Pull complete [2024-10-15T01:36:14.349Z] 699f458cf7ca: Pull complete [2024-10-15T01:36:14.619Z] 765212b225bb: Pull complete [2024-10-15T01:36:15.580Z] f23df028b6ca: Pull complete [2024-10-15T01:36:15.580Z] d65c8cfc05b1: Pull complete [2024-10-15T01:36:33.794Z] 2437ff75d9bd: Pull complete [2024-10-15T01:36:33.794Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-15T01:36:33.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-15T01:36:33.794Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:36:34.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-22818 does not seem to be running inside a container [2024-10-15T01:36:34.269Z] $ 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-10-15T01:36:37.051Z] $ docker top 3a8ad3fe7769f85ad1491515b848433ad78d2b6c88932d46453274421348a395 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:36:37.970Z] ---> job-cost.sh [2024-10-15T01:36:37.970Z] lf-activate-venv: SKIPPING [2024-10-15T01:36:37.970Z] INFO: No Stack... [2024-10-15T01:36:38.235Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-15T01:36:39.192Z] INFO: Archiving Costs [Pipeline] sh [2024-10-15T01:36:39.864Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-10-15T01:36:39.864Z] + cut -d, -f6 [Pipeline] lock [2024-10-15T01:36:39.951Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-702-1-stack-cost] [2024-10-15T01:36:39.957Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-702-1-stack-cost] did not exist. Created. [2024-10-15T01:36:39.964Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-702-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-15T01:36:40.708Z] /w/workspace/device-mqtt-go/1@tmp/durable-8602e727/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-15T01:36:41.375Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-15T01:36:41.422Z] Warning: overwriting stash ‘stack-cost’ [2024-10-15T01:36:41.609Z] Stashed 1 file(s) [Pipeline] } [2024-10-15T01:36:41.633Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-702-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-15T01:36:41.724Z] $ docker stop --time=1 3a8ad3fe7769f85ad1491515b848433ad78d2b6c88932d46453274421348a395 [2024-10-15T01:36:43.266Z] $ docker rm -f --volumes 3a8ad3fe7769f85ad1491515b848433ad78d2b6c88932d46453274421348a395 [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-10-15T01:36:44.424Z] provisioning config files... [2024-10-15T01:36:44.433Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp/config7478154416967394904tmp [Pipeline] { [Pipeline] sh [2024-10-15T01:36:44.793Z] + set +x [2024-10-15T01:36:44.793Z] + curl -s https://codecov.io/bash [2024-10-15T01:36:44.793Z] + bash -s -- [2024-10-15T01:36:45.057Z] [2024-10-15T01:36:45.057Z] _____ _ [2024-10-15T01:36:45.057Z] / ____| | | [2024-10-15T01:36:45.057Z] | | ___ __| | ___ ___ _____ __ [2024-10-15T01:36:45.057Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-15T01:36:45.057Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-15T01:36:45.057Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-15T01:36:45.057Z] Bash-1.0.6 [2024-10-15T01:36:45.057Z] [2024-10-15T01:36:45.057Z] [2024-10-15T01:36:45.057Z] ==> git version 2.25.1 found [2024-10-15T01:36:45.057Z] ==> 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-10-15T01:36:45.057Z] Release-Date: 2020-01-08 [2024-10-15T01:36:45.057Z] 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-10-15T01:36:45.057Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-15T01:36:45.057Z] ==> Jenkins CI detected. [2024-10-15T01:36:45.057Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-702 [2024-10-15T01:36:45.057Z] project root: . [2024-10-15T01:36:45.057Z] --> token set from env [2024-10-15T01:36:45.057Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-15T01:36:45.057Z] ==> Running gcov in . (disable via -X gcov) [2024-10-15T01:36:45.057Z] ==> Python coveragepy not found [2024-10-15T01:36:45.057Z] ==> Searching for coverage reports in: [2024-10-15T01:36:45.057Z] + . [2024-10-15T01:36:45.057Z] -> Found 1 reports [2024-10-15T01:36:45.057Z] ==> Detecting git/mercurial file structure [2024-10-15T01:36:45.057Z] ==> Reading reports [2024-10-15T01:36:45.057Z] + ./coverage.out bytes=21039 [2024-10-15T01:36:45.057Z] ==> Appending adjustments [2024-10-15T01:36:45.057Z] https://docs.codecov.io/docs/fixing-reports [2024-10-15T01:36:45.317Z] + Found adjustments [2024-10-15T01:36:45.317Z] ==> Gzipping contents [2024-10-15T01:36:45.317Z] 4.0K /tmp/codecov.5rgRzj.gz [2024-10-15T01:36:45.317Z] ==> Uploading reports [2024-10-15T01:36:45.317Z] url: https://codecov.io [2024-10-15T01:36:45.317Z] query: branch=PR-702&commit=4f92e15eb295c3557e8ddca3056f6f70ec23e17a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-702%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=702&job=&cmd_args= [2024-10-15T01:36:45.317Z] -> Pinging Codecov [2024-10-15T01:36:45.317Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-702&commit=4f92e15eb295c3557e8ddca3056f6f70ec23e17a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-702%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=702&job=&cmd_args= [2024-10-15T01:36:45.317Z] -> Uploading to [2024-10-15T01:36:45.317Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/4f92e15eb295c3557e8ddca3056f6f70ec23e17a/3c8cb4eb-990f-4998-88ca-e650c850adba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241015%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241015T013645Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=c5a537e989a6b52616d67edc5f06a4ca981e06bc880ebc70a1d6a22e1f8ba76a [2024-10-15T01:36:45.317Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-15T01:36:45.317Z] Dload Upload Total Spent Left Speed [2024-10-15T01:36:45.578Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14740 --:--:-- --:--:-- --:--:-- 14675 100 3346 0 0 100 3346 0 13173 --:--:-- --:--:-- --:--:-- 13173 [2024-10-15T01:36:45.578Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4f92e15eb295c3557e8ddca3056f6f70ec23e17a [Pipeline] } [2024-10-15T01:36:45.610Z] 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-10-15T01:36:47.832Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-702/archives ] [2024-10-15T01:36:47.833Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-702/archives [2024-10-15T01:36:47.833Z] total 16 [2024-10-15T01:36:47.833Z] drwxr-xr-x 3 root root 4096 Oct 15 01:25 . [2024-10-15T01:36:47.833Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 01:25 .. [2024-10-15T01:36:47.833Z] drwxr-xr-x 2 root root 4096 Oct 15 01:25 cost [2024-10-15T01:36:47.833Z] -rw-r--r-- 1 root root 86 Oct 15 01:25 cost.csv [2024-10-15T01:36:47.833Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-702/archives [2024-10-15T01:36:47.833Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-702/archives [2024-10-15T01:36:47.833Z] total 16 [2024-10-15T01:36:47.833Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 15 01:25 . [2024-10-15T01:36:47.833Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 01:25 .. [2024-10-15T01:36:47.833Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 15 01:25 cost [2024-10-15T01:36:47.833Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 15 01:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:36:48.199Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:36:49.105Z] ---> package-listing.sh [2024-10-15T01:36:49.105Z] ++ facter osfamily [2024-10-15T01:36:49.105Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-15T01:36:49.365Z] + OS_FAMILY=debian [2024-10-15T01:36:49.365Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-702 [2024-10-15T01:36:49.365Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-15T01:36:49.365Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-15T01:36:49.365Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-15T01:36:49.365Z] + PACKAGES=/tmp/packages_start.txt [2024-10-15T01:36:49.365Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-702 ']' [2024-10-15T01:36:49.365Z] + PACKAGES=/tmp/packages_end.txt [2024-10-15T01:36:49.365Z] + case "${OS_FAMILY}" in [2024-10-15T01:36:49.365Z] + dpkg -l [2024-10-15T01:36:49.365Z] + grep '^ii' [2024-10-15T01:36:49.365Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-15T01:36:49.365Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-15T01:36:49.365Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-15T01:36:49.365Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-702 ']' [2024-10-15T01:36:49.365Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-702/archives/ [2024-10-15T01:36:49.365Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-702/archives/ [Pipeline] echo [2024-10-15T01:36:49.409Z] 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-702/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-15T01:36:57.498Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-15T01:36:58.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-15T01:36:58.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-15T01:36:58.348Z] prd-ubuntu20.04-docker-8c-8g-22817 does not seem to be running inside a container [2024-10-15T01:36:58.399Z] $ 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-702/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-702 -v /w/workspace/gexfoundry_device-mqtt-go_PR-702:/w/workspace/gexfoundry_device-mqtt-go_PR-702:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-15T01:36:58.575Z] $ docker top 8d82f4509f41a4351bb927fcf03c292b0e751f0ea70b1d8f54891a6f90495ae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-15T01:36:59.064Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-15T01:36:59.455Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-15T01:36:59.788Z] + ls /var/log/sa-host [2024-10-15T01:36:59.788Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-15T01:37:00.030Z] provisioning config files... [2024-10-15T01:37:00.041Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-702@tmp/config3556493507772754996tmp [Pipeline] { [Pipeline] echo [2024-10-15T01:37:00.100Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:37:00.432Z] ---> create-netrc.sh [Pipeline] } [2024-10-15T01:37:00.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:37:00.901Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-15T01:37:00.940Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:37:01.283Z] ---> sudo-logs.sh [2024-10-15T01:37:01.283Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-15T01:37:01.392Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:37:01.726Z] ---> job-cost.sh [2024-10-15T01:37:01.726Z] lf-activate-venv: SKIPPING [2024-10-15T01:37:01.726Z] DEBUG: total: 0.2199999988079071 [2024-10-15T01:37:01.726Z] INFO: Retrieving Stack Cost... [2024-10-15T01:37:01.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-15T01:37:02.555Z] INFO: Archiving Costs [Pipeline] echo [2024-10-15T01:37:02.600Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-15T01:37:02.930Z] ---> logs-deploy.sh [2024-10-15T01:37:02.930Z] lf-activate-venv: SKIPPING [2024-10-15T01:37:02.930Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-702/1 [2024-10-15T01:37:02.930Z] INFO: archiving workspace using pattern(s): [2024-10-15T01:37:03.877Z] Archives upload complete. [2024-10-15T01:37:03.877Z] INFO: archiving logs to Nexus