Pull request #700 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5fb6e424f32c46c5d5d91bcea903cce5392f14b9+70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed (65046df7c5df9e41ed262085482d6a64bdf5cbb4) 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-ssh14498077267748820713.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-ssh9964050713060819909.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-700/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-700/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16459866419622056266.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-700/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4263632211330382226.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-ssh9933893214194062473.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-700/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-700/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2310651802937037485.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22381 in /w/workspace/gexfoundry_device-mqtt-go_PR-700 [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-700 # 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 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed into PR head commit 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 Merge succeeded, producing 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 Checking out Revision 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 (PR-700) > 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/700/head:refs/remotes/origin/PR-700 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 # 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 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 # 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-10T01:13:27.764Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-10T01:13:28.001Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-10T01:13:28.126Z] ========================================================= [2024-10-10T01:13:28.127Z] EdgeX Global Pipelines Version Info [2024-10-10T01:13:28.127Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:13:28.912Z] ------------------- [2024-10-10T01:13:28.912Z] stable info: [2024-10-10T01:13:28.912Z] ------------------- [2024-10-10T01:13:28.912Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-10T01:13:28.912Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-10T01:13:28.912Z] Message: update stable to v1.0.265 [2024-10-10T01:13:29.493Z] ------------------- [2024-10-10T01:13:29.493Z] experimental info: [2024-10-10T01:13:29.493Z] ------------------- [2024-10-10T01:13:29.493Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-10T01:13:29.493Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-10T01:13:29.493Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-10T01:13:29.751Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-10-10T01:13:29.804Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-10-10T01:13:29.866Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-10T01:13:29.928Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-10T01:13:29.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-10T01:13:30.036Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-10T01:13:30.093Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-10T01:13:30.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-10T01:13:30.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-10T01:13:30.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-10T01:13:30.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-10T01:13:30.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-10-10T01:13:30.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-10T01:13:30.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-10T01:13:30.557Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-10T01:13:30.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-10T01:13:30.673Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-10T01:13:30.729Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-10T01:13:30.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-10T01:13:30.845Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-10T01:13:30.899Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-10T01:13:30.953Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-10T01:13:31.009Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-10T01:13:31.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-10T01:13:31.126Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-10T01:13:31.183Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-10T01:13:31.246Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-10T01:13:31.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-700 [Pipeline] echo [2024-10-10T01:13:31.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-700 [Pipeline] echo [2024-10-10T01:13:31.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-700 [Pipeline] echo [2024-10-10T01:13:31.468Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [Pipeline] echo [2024-10-10T01:13:31.529Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5fb6e42 [Pipeline] echo [2024-10-10T01:13:31.587Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T01:13:31.731Z] provisioning config files... [2024-10-10T01:13:31.744Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp/config2710872858866407195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:13:32.135Z] ---> ****-login.sh [2024-10-10T01:13:32.135Z] nexus3.edgexfoundry.org:10001 [2024-10-10T01:13:32.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:32.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:32.395Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:32.395Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:32.395Z] [2024-10-10T01:13:32.395Z] Login Succeeded [2024-10-10T01:13:32.395Z] nexus3.edgexfoundry.org:10002 [2024-10-10T01:13:32.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:32.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:32.657Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:32.657Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:32.657Z] [2024-10-10T01:13:32.657Z] Login Succeeded [2024-10-10T01:13:32.657Z] nexus3.edgexfoundry.org:10003 [2024-10-10T01:13:32.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:32.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:32.657Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:32.657Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:32.657Z] [2024-10-10T01:13:32.657Z] Login Succeeded [2024-10-10T01:13:32.657Z] nexus3.edgexfoundry.org:10004 [2024-10-10T01:13:32.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:32.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:32.918Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:32.918Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:32.918Z] [2024-10-10T01:13:32.918Z] Login Succeeded [2024-10-10T01:13:32.918Z] ****.io [2024-10-10T01:13:32.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:33.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:33.182Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:33.182Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:33.182Z] [2024-10-10T01:13:33.182Z] Login Succeeded [2024-10-10T01:13:33.182Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T01:13:33.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-10T01:13:33.909Z] + git rev-list -1 --merges 5fb6e424f32c46c5d5d91bcea903cce5392f14b9~1..5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [Pipeline] echo [2024-10-10T01:13:33.962Z] -----------> git rev-list -1 --merges 5fb6e424f32c46c5d5d91bcea903cce5392f14b9~1..5fb6e424f32c46c5d5d91bcea903cce5392f14b9 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [false] [Pipeline] sh [2024-10-10T01:13:34.295Z] + git log --format=format:%s -1 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [Pipeline] echo [2024-10-10T01:13:34.350Z] ========================================================= [2024-10-10T01:13:34.350Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-10T01:13:34.350Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T01:13:34.829Z] + git log --format=format:%s -1 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [Pipeline] echo [2024-10-10T01:13:34.870Z] [semverPrep] GIT_COMMIT: 5fb6e424f32c46c5d5d91bcea903cce5392f14b9, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-10T01:13:34.914Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-10T01:13:35.329Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-10T01:13:35.330Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-10T01:13:35.330Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-10T01:13:35.330Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-10T01:13:35.330Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-10T01:13:35.330Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-10T01:13:35.330Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:13:35.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T01:13:35.843Z] [2024-10-10T01:13:35.843Z] 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-10T01:13:36.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T01:13:36.261Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-10T01:13:36.261Z] b85a868b505f: Pulling fs layer [2024-10-10T01:13:36.261Z] e2be974225ed: Pulling fs layer [2024-10-10T01:13:36.261Z] 339a4e72a1f5: Pulling fs layer [2024-10-10T01:13:36.261Z] 988bab9f4d93: Pulling fs layer [2024-10-10T01:13:36.261Z] 1469e6f7b9e6: Pulling fs layer [2024-10-10T01:13:36.261Z] eaf3925da568: Pulling fs layer [2024-10-10T01:13:36.261Z] bab4dde63d76: Pulling fs layer [2024-10-10T01:13:36.261Z] bde34c3a00c8: Pulling fs layer [2024-10-10T01:13:36.261Z] b352a97aabf1: Pulling fs layer [2024-10-10T01:13:36.261Z] 4872d77fe225: Pulling fs layer [2024-10-10T01:13:36.261Z] 5851b861e8e6: Pulling fs layer [2024-10-10T01:13:36.261Z] 988bab9f4d93: Waiting [2024-10-10T01:13:36.261Z] b352a97aabf1: Waiting [2024-10-10T01:13:36.261Z] 4872d77fe225: Waiting [2024-10-10T01:13:36.261Z] 1469e6f7b9e6: Waiting [2024-10-10T01:13:36.261Z] eaf3925da568: Waiting [2024-10-10T01:13:36.261Z] bde34c3a00c8: Waiting [2024-10-10T01:13:36.261Z] 5851b861e8e6: Waiting [2024-10-10T01:13:36.261Z] bab4dde63d76: Waiting [2024-10-10T01:13:36.261Z] e2be974225ed: Download complete [2024-10-10T01:13:36.261Z] 988bab9f4d93: Download complete [2024-10-10T01:13:36.261Z] 1469e6f7b9e6: Verifying Checksum [2024-10-10T01:13:36.261Z] 1469e6f7b9e6: Download complete [2024-10-10T01:13:36.261Z] eaf3925da568: Verifying Checksum [2024-10-10T01:13:36.261Z] eaf3925da568: Download complete [2024-10-10T01:13:36.521Z] 339a4e72a1f5: Verifying Checksum [2024-10-10T01:13:36.521Z] 339a4e72a1f5: Download complete [2024-10-10T01:13:36.521Z] bde34c3a00c8: Verifying Checksum [2024-10-10T01:13:36.521Z] bde34c3a00c8: Download complete [2024-10-10T01:13:36.521Z] b352a97aabf1: Download complete [2024-10-10T01:13:36.521Z] 4872d77fe225: Verifying Checksum [2024-10-10T01:13:36.521Z] 4872d77fe225: Download complete [2024-10-10T01:13:36.521Z] 5851b861e8e6: Download complete [2024-10-10T01:13:36.781Z] b85a868b505f: Verifying Checksum [2024-10-10T01:13:36.781Z] b85a868b505f: Download complete [2024-10-10T01:13:36.781Z] bab4dde63d76: Verifying Checksum [2024-10-10T01:13:36.781Z] bab4dde63d76: Download complete [2024-10-10T01:13:38.162Z] b85a868b505f: Pull complete [2024-10-10T01:13:38.162Z] e2be974225ed: Pull complete [2024-10-10T01:13:38.737Z] 339a4e72a1f5: Pull complete [2024-10-10T01:13:38.737Z] 988bab9f4d93: Pull complete [2024-10-10T01:13:38.995Z] 1469e6f7b9e6: Pull complete [2024-10-10T01:13:38.995Z] eaf3925da568: Pull complete [2024-10-10T01:13:40.897Z] bab4dde63d76: Pull complete [2024-10-10T01:13:40.897Z] bde34c3a00c8: Pull complete [2024-10-10T01:13:41.161Z] b352a97aabf1: Pull complete [2024-10-10T01:13:41.161Z] 4872d77fe225: Pull complete [2024-10-10T01:13:41.161Z] 5851b861e8e6: Pull complete [2024-10-10T01:13:41.161Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-10T01:13:41.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T01:13:41.161Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T01:13:41.452Z] prd-ubuntu20.04-docker-8c-8g-22381 does not seem to be running inside a container [2024-10-10T01:13:41.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-700 -v /w/workspace/gexfoundry_device-mqtt-go_PR-700:/w/workspace/gexfoundry_device-mqtt-go_PR-700:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-10T01:13:45.458Z] $ docker top 896fc75f1e9536eec4968cb8fceb43a4cbcfd52cfa8ae0d9a63456c9ec71f50d -eo pid,comm [2024-10-10T01:13:45.515Z] 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-10T01:13:45.515Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-10T01:13:45.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-10T01:13:45.685Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-10T01:13:45.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-10T01:13:45.813Z] $ docker exec 896fc75f1e9536eec4968cb8fceb43a4cbcfd52cfa8ae0d9a63456c9ec71f50d ssh-agent [2024-10-10T01:13:45.924Z] SSH_AUTH_SOCK=/tmp/ssh-l1bGLzICGMGT/agent.33 [2024-10-10T01:13:45.925Z] SSH_AGENT_PID=39 [2024-10-10T01:13:45.931Z] Running ssh-add (command line suppressed) [2024-10-10T01:13:46.040Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp/private_key_14845333929746164450.key (/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp/private_key_14845333929746164450.key) [2024-10-10T01:13:46.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-10T01:13:46.401Z] + git tag --points-at HEAD [Pipeline] } [2024-10-10T01:13:46.427Z] $ docker exec --env ******** --env ******** 896fc75f1e9536eec4968cb8fceb43a4cbcfd52cfa8ae0d9a63456c9ec71f50d ssh-agent -k [2024-10-10T01:13:46.523Z] unset SSH_AUTH_SOCK; [2024-10-10T01:13:46.524Z] unset SSH_AGENT_PID; [2024-10-10T01:13:46.524Z] echo Agent pid 39 killed; [2024-10-10T01:13:46.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-10T01:13:46.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-10T01:13:46.659Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-10T01:13:46.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-10T01:13:46.764Z] $ docker exec 896fc75f1e9536eec4968cb8fceb43a4cbcfd52cfa8ae0d9a63456c9ec71f50d ssh-agent [2024-10-10T01:13:46.876Z] SSH_AUTH_SOCK=/tmp/ssh-ayerfj3DPhTY/agent.72 [2024-10-10T01:13:46.876Z] SSH_AGENT_PID=78 [2024-10-10T01:13:46.880Z] Running ssh-add (command line suppressed) [2024-10-10T01:13:46.984Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp/private_key_15130838945452578377.key (/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp/private_key_15130838945452578377.key) [2024-10-10T01:13:46.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-10T01:13:47.348Z] + git semver init [2024-10-10T01:13:47.609Z] 2024-10-10 01:13:47,506 [run_init] DEBUG init version:0.0.0 force:False [2024-10-10T01:13:47.609Z] 2024-10-10 01:13:47,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-700/.semver [2024-10-10T01:13:47.609Z] 2024-10-10 01:13:47,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-700/.semver [2024-10-10T01:13:47.609Z] 2024-10-10 01:13:47,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-700/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-700, universal_newlines=False, shell=None, istream=None) [2024-10-10T01:13:49.520Z] 2024-10-10 01:13:49,367 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-700/.git/info/exclude [2024-10-10T01:13:49.520Z] 2024-10-10 01:13:49,367 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-700/.semver/PR-700 with force:False [2024-10-10T01:13:49.520Z] 2024-10-10 01:13:49,367 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-700/.semver/PR-700 [2024-10-10T01:13:49.520Z] 2024-10-10 01:13:49,371 [execute] INFO git cat-file --batch-check [2024-10-10T01:13:49.520Z] 2024-10-10 01:13:49,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-700/.semver, universal_newlines=False, shell=None, istream=) [2024-10-10T01:13:49.520Z] 2024-10-10 01:13:49,377 [execute] INFO git cat-file --batch [2024-10-10T01:13:49.520Z] 2024-10-10 01:13:49,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-700/.semver, universal_newlines=False, shell=None, istream=) [2024-10-10T01:13:49.520Z] 2024-10-10 01:13:49,381 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-700/.semver/PR-700 [2024-10-10T01:13:49.520Z] 0.0.0 [Pipeline] } [2024-10-10T01:13:49.548Z] $ docker exec --env ******** --env ******** 896fc75f1e9536eec4968cb8fceb43a4cbcfd52cfa8ae0d9a63456c9ec71f50d ssh-agent -k [2024-10-10T01:13:49.648Z] unset SSH_AUTH_SOCK; [2024-10-10T01:13:49.649Z] unset SSH_AGENT_PID; [2024-10-10T01:13:49.649Z] echo Agent pid 78 killed; [2024-10-10T01:13:49.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-10T01:13:50.117Z] + git semver [Pipeline] } [2024-10-10T01:13:50.411Z] $ docker stop --time=1 896fc75f1e9536eec4968cb8fceb43a4cbcfd52cfa8ae0d9a63456c9ec71f50d [2024-10-10T01:13:51.691Z] $ docker rm -f --volumes 896fc75f1e9536eec4968cb8fceb43a4cbcfd52cfa8ae0d9a63456c9ec71f50d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T01:13:52.187Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-10T01:13:52.504Z] Stashed 1 file(s) [Pipeline] echo [2024-10-10T01:13:52.539Z] [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-10T01:13:53.256Z] provisioning config files... [2024-10-10T01:13:53.265Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp/config15370073092476439840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:13:53.637Z] ---> ****-login.sh [2024-10-10T01:13:53.637Z] nexus3.edgexfoundry.org:10001 [2024-10-10T01:13:53.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:53.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:53.638Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:53.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:53.638Z] [2024-10-10T01:13:53.638Z] Login Succeeded [2024-10-10T01:13:53.638Z] nexus3.edgexfoundry.org:10002 [2024-10-10T01:13:53.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:53.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:53.638Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:53.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:53.638Z] [2024-10-10T01:13:53.638Z] Login Succeeded [2024-10-10T01:13:53.638Z] nexus3.edgexfoundry.org:10003 [2024-10-10T01:13:53.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:53.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:53.902Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:53.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:53.902Z] [2024-10-10T01:13:53.902Z] Login Succeeded [2024-10-10T01:13:53.902Z] nexus3.edgexfoundry.org:10004 [2024-10-10T01:13:53.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:53.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:53.902Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:53.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:53.902Z] [2024-10-10T01:13:53.902Z] Login Succeeded [2024-10-10T01:13:53.902Z] ****.io [2024-10-10T01:13:54.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:13:54.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:13:54.159Z] Configure a credential helper to remove this warning. See [2024-10-10T01:13:54.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:13:54.159Z] [2024-10-10T01:13:54.159Z] Login Succeeded [2024-10-10T01:13:54.159Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T01:13:54.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-10T01:13:54.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T01:13:54.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T01:13:54.498Z] ========================================================= [2024-10-10T01:13:54.498Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-10T01:13:54.498Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:13:55.022Z] + 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-10T01:13:55.022Z] Sending build context to Docker daemon 20.89MB [2024-10-10T01:13:55.022Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T01:13:55.022Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-10T01:13:55.280Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-10T01:13:55.280Z] 43c4264eed91: Pulling fs layer [2024-10-10T01:13:55.280Z] 4cc291be95ef: Pulling fs layer [2024-10-10T01:13:55.280Z] 2ac1f1163629: Pulling fs layer [2024-10-10T01:13:55.280Z] 5c3c966382ef: Pulling fs layer [2024-10-10T01:13:55.280Z] 4f4fb700ef54: Pulling fs layer [2024-10-10T01:13:55.280Z] 5d5c8e513c77: Pulling fs layer [2024-10-10T01:13:55.280Z] 9f66e0745190: Pulling fs layer [2024-10-10T01:13:55.280Z] f49a43e4bbc0: Pulling fs layer [2024-10-10T01:13:55.280Z] 561ebcabdf7f: Pulling fs layer [2024-10-10T01:13:55.280Z] f49a43e4bbc0: Waiting [2024-10-10T01:13:55.280Z] 9f66e0745190: Waiting [2024-10-10T01:13:55.280Z] 5c3c966382ef: Waiting [2024-10-10T01:13:55.280Z] 4f4fb700ef54: Waiting [2024-10-10T01:13:55.280Z] 5d5c8e513c77: Waiting [2024-10-10T01:13:55.280Z] 561ebcabdf7f: Waiting [2024-10-10T01:13:55.280Z] 4cc291be95ef: Download complete [2024-10-10T01:13:55.280Z] 5c3c966382ef: Verifying Checksum [2024-10-10T01:13:55.280Z] 5c3c966382ef: Download complete [2024-10-10T01:13:55.280Z] 4f4fb700ef54: Download complete [2024-10-10T01:13:55.280Z] 5d5c8e513c77: Verifying Checksum [2024-10-10T01:13:55.280Z] 5d5c8e513c77: Download complete [2024-10-10T01:13:55.280Z] 43c4264eed91: Download complete [2024-10-10T01:13:55.280Z] 9f66e0745190: Verifying Checksum [2024-10-10T01:13:55.280Z] 9f66e0745190: Download complete [2024-10-10T01:13:55.550Z] 43c4264eed91: Pull complete [2024-10-10T01:13:55.550Z] 561ebcabdf7f: Verifying Checksum [2024-10-10T01:13:55.550Z] 561ebcabdf7f: Download complete [2024-10-10T01:13:55.550Z] 4cc291be95ef: Pull complete [2024-10-10T01:13:55.808Z] 2ac1f1163629: Verifying Checksum [2024-10-10T01:13:55.808Z] 2ac1f1163629: Download complete [2024-10-10T01:13:56.066Z] f49a43e4bbc0: Verifying Checksum [2024-10-10T01:13:56.066Z] f49a43e4bbc0: Download complete [2024-10-10T01:13:59.353Z] 2ac1f1163629: Pull complete [2024-10-10T01:13:59.353Z] 5c3c966382ef: Pull complete [2024-10-10T01:13:59.353Z] 4f4fb700ef54: Pull complete [2024-10-10T01:13:59.612Z] 5d5c8e513c77: Pull complete [2024-10-10T01:13:59.612Z] 9f66e0745190: Pull complete [2024-10-10T01:14:02.139Z] f49a43e4bbc0: Pull complete [2024-10-10T01:14:02.397Z] 561ebcabdf7f: Pull complete [2024-10-10T01:14:02.397Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-10T01:14:02.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-10T01:14:02.397Z] ---> 3a752c3f9dda [2024-10-10T01:14:02.397Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-10T01:14:08.040Z] Still waiting to schedule task [2024-10-10T01:14:08.041Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-10T01:14:09.167Z] ---> Running in 8f183a6f43c8 [2024-10-10T01:14:09.167Z] Removing intermediate container 8f183a6f43c8 [2024-10-10T01:14:09.167Z] ---> 03aafe46e802 [2024-10-10T01:14:09.167Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T01:14:09.167Z] ---> Running in fb9addf79f83 [2024-10-10T01:14:09.167Z] Removing intermediate container fb9addf79f83 [2024-10-10T01:14:09.167Z] ---> 60608d6ad954 [2024-10-10T01:14:09.167Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-10T01:14:09.167Z] ---> Running in 6f3935273d7d [2024-10-10T01:14:09.167Z] Removing intermediate container 6f3935273d7d [2024-10-10T01:14:09.167Z] ---> e071285d624c [2024-10-10T01:14:09.167Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-10T01:14:09.167Z] ---> Running in b790630a973f [2024-10-10T01:14:09.167Z] Removing intermediate container b790630a973f [2024-10-10T01:14:09.167Z] ---> 5a70613d467a [2024-10-10T01:14:09.167Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-10T01:14:09.435Z] ---> Running in 01df09e5e45f [2024-10-10T01:14:09.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T01:14:09.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T01:14:10.264Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-10T01:14:10.264Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-10T01:14:10.264Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-10T01:14:10.264Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-10T01:14:10.264Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T01:14:10.264Z] OK: 250 MiB in 58 packages [2024-10-10T01:14:10.832Z] Removing intermediate container 01df09e5e45f [2024-10-10T01:14:10.832Z] ---> 68f8d5e4b1df [2024-10-10T01:14:10.832Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-10T01:14:10.832Z] ---> Running in eb79003367da [2024-10-10T01:14:10.832Z] Removing intermediate container eb79003367da [2024-10-10T01:14:10.832Z] ---> 8c4a48649338 [2024-10-10T01:14:10.832Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-10T01:14:10.832Z] ---> b95f74c54fe0 [2024-10-10T01:14:10.832Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T01:14:11.091Z] ---> Running in ba416676b2bf [2024-10-10T01:15:32.566Z] Removing intermediate container ba416676b2bf [2024-10-10T01:15:32.566Z] ---> 2f9b0a03799e [2024-10-10T01:15:32.566Z] Step 11/12 : COPY . . [2024-10-10T01:15:32.566Z] ---> be1864ae476e [2024-10-10T01:15:32.566Z] Step 12/12 : RUN $MAKE [2024-10-10T01:15:32.566Z] ---> Running in 6370f6e66014 [2024-10-10T01:15:32.566Z] noop [2024-10-10T01:15:32.566Z] Removing intermediate container 6370f6e66014 [2024-10-10T01:15:32.566Z] ---> c6a1baebdb38 [2024-10-10T01:15:32.566Z] Successfully built c6a1baebdb38 [2024-10-10T01:15:32.566Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:15:33.056Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-10T01:15:33.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T01:15:33.235Z] prd-ubuntu20.04-docker-8c-8g-22381 does not seem to be running inside a container [2024-10-10T01:15:33.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-700 -v /w/workspace/gexfoundry_device-mqtt-go_PR-700:/w/workspace/gexfoundry_device-mqtt-go_PR-700:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-10T01:15:33.635Z] $ docker top 2160c6f319a2bc6295249dae91c48d31a7699a0c5cab45eca84b47de01f0805f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T01:15:34.044Z] + go version [2024-10-10T01:15:34.044Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-10T01:15:34.077Z] $ docker stop --time=1 2160c6f319a2bc6295249dae91c48d31a7699a0c5cab45eca84b47de01f0805f [2024-10-10T01:15:35.343Z] $ docker rm -f --volumes 2160c6f319a2bc6295249dae91c48d31a7699a0c5cab45eca84b47de01f0805f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:15:36.115Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-10T01:15:36.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T01:15:36.289Z] prd-ubuntu20.04-docker-8c-8g-22381 does not seem to be running inside a container [2024-10-10T01:15:36.318Z] $ 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-700 -v /w/workspace/gexfoundry_device-mqtt-go_PR-700:/w/workspace/gexfoundry_device-mqtt-go_PR-700:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-10T01:15:36.640Z] $ docker top 764885874c51789bc4ba2525c48db57c083e400efd57d7f4919d16e118f20c69 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T01:15:37.056Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-700 [Pipeline] fileExists [Pipeline] sh [2024-10-10T01:15:37.438Z] + make test [2024-10-10T01:15:37.438Z] go test ./... -coverprofile=coverage.out ./... [2024-10-10T01:15:38.809Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-10T01:15:56.882Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-10T01:15:56.882Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-10T01:15:56.882Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 22.8% of statements [2024-10-10T01:16:06.845Z] go vet ./... [2024-10-10T01:16:11.024Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-10T01:16:11.024Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-10T01:16:11.024Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-10T01:16:11.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-10T01:16:11.118Z] $ docker stop --time=1 764885874c51789bc4ba2525c48db57c083e400efd57d7f4919d16e118f20c69 [2024-10-10T01:16:15.058Z] $ docker rm -f --volumes 764885874c51789bc4ba2525c48db57c083e400efd57d7f4919d16e118f20c69 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T01:16:15.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-10T01:16:15.768Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-10T01:16:16.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-10T01:16:16.826Z] + ls -al . [2024-10-10T01:16:16.827Z] total 264 [2024-10-10T01:16:16.827Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 01:15 . [2024-10-10T01:16:16.827Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:13 .. [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:13 .dockerignore [2024-10-10T01:16:16.827Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:15 .git [2024-10-10T01:16:16.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:13 .github [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 10 01:13 .gitignore [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:13 .golangci.yml [2024-10-10T01:16:16.827Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:13 .semver [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 10 01:13 Attribution.txt [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 10 01:13 CHANGELOG.md [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 10 01:13 Dockerfile [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:13 GOVERNANCE.md [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 10 01:13 Jenkinsfile [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:13 LICENSE [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 10 01:13 Makefile [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:13 OWNERS.md [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 10 01:13 README.md [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:13 VERSION [2024-10-10T01:16:16.827Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:13 bin [2024-10-10T01:16:16.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:13 cmd [2024-10-10T01:16:16.827Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 10 01:15 coverage.out [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 10 01:13 go.mod [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 10 01:13 go.sum [2024-10-10T01:16:16.827Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:13 internal [2024-10-10T01:16:16.827Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:13 mock [2024-10-10T01:16:16.827Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:16:17.265Z] + 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=5fb6e424f32c46c5d5d91bcea903cce5392f14b9 --label arch=amd64 --label version=0.0.0 . [2024-10-10T01:16:17.265Z] Sending build context to Docker daemon 20.91MB [2024-10-10T01:16:17.265Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T01:16:17.265Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-10T01:16:17.265Z] ---> c6a1baebdb38 [2024-10-10T01:16:17.265Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-10T01:16:17.525Z] ---> Running in f7c7d4b5fb9e [2024-10-10T01:16:17.525Z] Removing intermediate container f7c7d4b5fb9e [2024-10-10T01:16:17.525Z] ---> 19b756be6c41 [2024-10-10T01:16:17.525Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T01:16:17.525Z] ---> Running in 4378f3761d21 [2024-10-10T01:16:17.525Z] Removing intermediate container 4378f3761d21 [2024-10-10T01:16:17.525Z] ---> 4b88526441a2 [2024-10-10T01:16:17.525Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-10T01:16:17.525Z] ---> Running in 50ac879ce110 [2024-10-10T01:16:17.789Z] Removing intermediate container 50ac879ce110 [2024-10-10T01:16:17.789Z] ---> 12c926ad4241 [2024-10-10T01:16:17.789Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-10T01:16:17.789Z] ---> Running in 2a19db187f21 [2024-10-10T01:16:17.789Z] Removing intermediate container 2a19db187f21 [2024-10-10T01:16:17.789Z] ---> 96d99743d65a [2024-10-10T01:16:17.789Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-10T01:16:17.789Z] ---> Running in c08776c94063 [2024-10-10T01:16:18.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T01:16:18.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T01:16:18.566Z] OK: 250 MiB in 58 packages [2024-10-10T01:16:19.133Z] Removing intermediate container c08776c94063 [2024-10-10T01:16:19.133Z] ---> dfa49193be2d [2024-10-10T01:16:19.133Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-10T01:16:19.133Z] ---> Running in d63d868b8ebc [2024-10-10T01:16:19.133Z] Removing intermediate container d63d868b8ebc [2024-10-10T01:16:19.133Z] ---> b808f8dcc4b6 [2024-10-10T01:16:19.133Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-10T01:16:19.133Z] ---> e838aeccb5bb [2024-10-10T01:16:19.133Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T01:16:19.133Z] ---> Running in c83ce2d399ab [2024-10-10T01:16:20.068Z] Removing intermediate container c83ce2d399ab [2024-10-10T01:16:20.068Z] ---> 587961e9e719 [2024-10-10T01:16:20.068Z] Step 11/25 : COPY . . [2024-10-10T01:16:20.326Z] ---> 9eb0e87b7162 [2024-10-10T01:16:20.326Z] Step 12/25 : RUN $MAKE [2024-10-10T01:16:20.326Z] ---> Running in cae7a711923f [2024-10-10T01:16:20.585Z] 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.45" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-10-10T01:16:53.045Z] Removing intermediate container cae7a711923f [2024-10-10T01:16:53.045Z] ---> 4e76a9b20b92 [2024-10-10T01:16:53.045Z] Step 13/25 : FROM alpine:3.20 [2024-10-10T01:16:53.045Z] 3.20: Pulling from library/alpine [2024-10-10T01:16:53.045Z] 43c4264eed91: Already exists [2024-10-10T01:16:53.045Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-10T01:16:53.045Z] Status: Downloaded newer image for alpine:3.20 [2024-10-10T01:16:53.045Z] ---> 91ef0af61f39 [2024-10-10T01:16:53.045Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-10T01:16:53.045Z] ---> Running in 7aef245720e0 [2024-10-10T01:16:53.045Z] Removing intermediate container 7aef245720e0 [2024-10-10T01:16:53.045Z] ---> 2937a75942fe [2024-10-10T01:16:53.045Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-10T01:16:53.045Z] ---> Running in 0e244051005a [2024-10-10T01:16:53.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T01:16:53.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T01:16:53.045Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-10T01:16:53.045Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T01:16:53.045Z] OK: 8 MiB in 15 packages [2024-10-10T01:16:53.045Z] Removing intermediate container 0e244051005a [2024-10-10T01:16:53.045Z] ---> 44da6e795efa [2024-10-10T01:16:53.045Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-10T01:16:53.045Z] ---> Running in cb551421d1f1 [2024-10-10T01:16:53.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T01:16:53.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T01:16:53.045Z] Upgrading critical system libraries and apk-tools: [2024-10-10T01:16:53.045Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-10T01:16:53.045Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T01:16:53.045Z] Continuing the upgrade transaction with new apk-tools: [2024-10-10T01:16:53.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T01:16:53.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T01:16:53.045Z] OK: 8 MiB in 15 packages [2024-10-10T01:16:53.045Z] Removing intermediate container cb551421d1f1 [2024-10-10T01:16:53.045Z] ---> 7a609779eeda [2024-10-10T01:16:53.045Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-10T01:16:53.045Z] ---> 688ec956f88e [2024-10-10T01:16:53.045Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-10T01:16:53.045Z] ---> 45a6b2576306 [2024-10-10T01:16:53.045Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-10T01:16:53.045Z] ---> 31245984032e [2024-10-10T01:16:53.045Z] Step 20/25 : EXPOSE 59982 [2024-10-10T01:16:53.045Z] ---> Running in 62c31ab8c9d1 [2024-10-10T01:16:53.045Z] Removing intermediate container 62c31ab8c9d1 [2024-10-10T01:16:53.045Z] ---> 4d07bdea9ed8 [2024-10-10T01:16:53.045Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-10T01:16:53.045Z] ---> Running in 91a4b217e46d [2024-10-10T01:16:53.045Z] Removing intermediate container 91a4b217e46d [2024-10-10T01:16:53.045Z] ---> 1ade87484bb1 [2024-10-10T01:16:53.045Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-10T01:16:53.045Z] ---> Running in 7d7573abbdf9 [2024-10-10T01:16:53.045Z] Removing intermediate container 7d7573abbdf9 [2024-10-10T01:16:53.045Z] ---> fd09ccd23892 [2024-10-10T01:16:53.045Z] Step 23/25 : LABEL arch=amd64 [2024-10-10T01:16:53.045Z] ---> Running in 0628398f6d26 [2024-10-10T01:16:53.045Z] Removing intermediate container 0628398f6d26 [2024-10-10T01:16:53.045Z] ---> 7631e3aa1a46 [2024-10-10T01:16:53.045Z] Step 24/25 : LABEL git_sha=5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [2024-10-10T01:16:53.045Z] ---> Running in b47ecb167102 [2024-10-10T01:16:53.045Z] Removing intermediate container b47ecb167102 [2024-10-10T01:16:53.045Z] ---> 6631c768b5b5 [2024-10-10T01:16:53.045Z] Step 25/25 : LABEL version=0.0.0 [2024-10-10T01:16:53.045Z] ---> Running in fbffa1b934b6 [2024-10-10T01:16:53.045Z] Removing intermediate container fbffa1b934b6 [2024-10-10T01:16:53.045Z] ---> e062c477ca9c [2024-10-10T01:16:53.045Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-10T01:16:53.045Z] Successfully built e062c477ca9c [2024-10-10T01:16:53.045Z] 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-10T01:16:54.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T01:16:54.084Z] [2024-10-10T01:16:54.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:16:54.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T01:16:54.510Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-10T01:16:54.510Z] 5eb5b503b376: Pulling fs layer [2024-10-10T01:16:54.510Z] 5c69ac0246d0: Pulling fs layer [2024-10-10T01:16:54.510Z] ec43610c2a17: Pulling fs layer [2024-10-10T01:16:54.510Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-10T01:16:54.510Z] 33b1e0a273af: Pulling fs layer [2024-10-10T01:16:54.510Z] 5d3b04190fa2: Pulling fs layer [2024-10-10T01:16:54.510Z] 2f39f015ded8: Pulling fs layer [2024-10-10T01:16:54.510Z] 2f39f015ded8: Waiting [2024-10-10T01:16:54.511Z] 5d3b04190fa2: Waiting [2024-10-10T01:16:54.511Z] 3a2ae6a8a46f: Waiting [2024-10-10T01:16:54.511Z] 33b1e0a273af: Waiting [2024-10-10T01:16:54.511Z] 5c69ac0246d0: Verifying Checksum [2024-10-10T01:16:54.511Z] 5c69ac0246d0: Download complete [2024-10-10T01:16:54.511Z] 3a2ae6a8a46f: Download complete [2024-10-10T01:16:54.511Z] 33b1e0a273af: Verifying Checksum [2024-10-10T01:16:54.511Z] 5d3b04190fa2: Verifying Checksum [2024-10-10T01:16:54.511Z] 5d3b04190fa2: Download complete [2024-10-10T01:16:54.771Z] ec43610c2a17: Verifying Checksum [2024-10-10T01:16:54.771Z] ec43610c2a17: Download complete [2024-10-10T01:16:55.029Z] 5eb5b503b376: Verifying Checksum [2024-10-10T01:16:55.029Z] 5eb5b503b376: Download complete [2024-10-10T01:16:55.287Z] 2f39f015ded8: Download complete [2024-10-10T01:16:56.222Z] 5eb5b503b376: Pull complete [2024-10-10T01:16:56.222Z] 5c69ac0246d0: Pull complete [2024-10-10T01:16:56.480Z] ec43610c2a17: Pull complete [2024-10-10T01:16:56.480Z] 3a2ae6a8a46f: Pull complete [2024-10-10T01:16:56.738Z] 33b1e0a273af: Pull complete [2024-10-10T01:16:56.738Z] 5d3b04190fa2: Pull complete [2024-10-10T01:17:00.923Z] 2f39f015ded8: Pull complete [2024-10-10T01:17:00.923Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-10T01:17:00.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T01:17:00.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T01:17:01.166Z] prd-ubuntu20.04-docker-8c-8g-22381 does not seem to be running inside a container [2024-10-10T01:17:01.196Z] $ 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-700 -v /w/workspace/gexfoundry_device-mqtt-go_PR-700:/w/workspace/gexfoundry_device-mqtt-go_PR-700:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-10T01:17:02.485Z] $ docker top 9f0216f2cf84536af34e967a4510efddf29fbdb8641d89c0be31366d5d0de2ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:17:02.975Z] ---> job-cost.sh [2024-10-10T01:17:02.976Z] lf-activate-venv: SKIPPING [2024-10-10T01:17:02.976Z] INFO: No Stack... [2024-10-10T01:17:03.234Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-10T01:17:03.804Z] INFO: Archiving Costs [Pipeline] sh [2024-10-10T01:17:04.125Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-700/archives/cost.csv [2024-10-10T01:17:04.126Z] + cut -d, -f6 [Pipeline] lock [2024-10-10T01:17:04.176Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-700-1-stack-cost] [2024-10-10T01:17:04.183Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-700-1-stack-cost] did not exist. Created. [2024-10-10T01:17:04.190Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-700-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-10T01:17:04.620Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-10T01:17:04.677Z] Stashed 1 file(s) [Pipeline] } [2024-10-10T01:17:04.718Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-700-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-10T01:17:04.810Z] $ docker stop --time=1 9f0216f2cf84536af34e967a4510efddf29fbdb8641d89c0be31366d5d0de2ea [2024-10-10T01:17:05.955Z] $ docker rm -f --volumes 9f0216f2cf84536af34e967a4510efddf29fbdb8641d89c0be31366d5d0de2ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-10T01:18:26.149Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22382 in /w/workspace/gexfoundry_device-mqtt-go_PR-700 [Pipeline] { [Pipeline] ws [2024-10-10T01:18:26.232Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-10-10T01:18:29.324Z] The recommended git tool is: git [2024-10-10T01:18:34.362Z] using credential edgex-jenkins-ssh [2024-10-10T01:18:34.391Z] Cloning the remote Git repository [2024-10-10T01:18:34.445Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-10T01:18:34.561Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-10-10T01:18:34.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-10T01:18:34.739Z] > git --version # timeout=10 [2024-10-10T01:18:34.764Z] > git --version # 'git version 2.25.1' [2024-10-10T01:18:34.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T01:18:34.949Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-10T01:18:37.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-10T01:18:37.688Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-10T01:18:39.246Z] Merging remotes/origin/main commit 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed into PR head commit 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [2024-10-10T01:18:38.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-10T01:18:38.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-10T01:18:38.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T01:18:38.709Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/700/head:refs/remotes/origin/PR-700 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-10T01:18:39.266Z] > git config core.sparsecheckout # timeout=10 [2024-10-10T01:18:39.356Z] > git checkout -f 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 # timeout=10 [2024-10-10T01:18:39.467Z] > git remote # timeout=10 [2024-10-10T01:18:39.486Z] > git config --get remote.origin.url # timeout=10 [2024-10-10T01:18:39.594Z] Merge succeeded, producing 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [2024-10-10T01:18:39.594Z] Checking out Revision 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 (PR-700) [2024-10-10T01:18:40.186Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-10T01:18:40.245Z] > git --version # timeout=10 [2024-10-10T01:18:40.258Z] > git --version # 'git version 2.25.1' [2024-10-10T01:18:40.270Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-10T01:18:39.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T01:18:39.540Z] > git merge 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 [2024-10-10T01:18:39.570Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-10T01:18:39.603Z] > git config core.sparsecheckout # timeout=10 [2024-10-10T01:18:39.631Z] > git checkout -f 5fb6e424f32c46c5d5d91bcea903cce5392f14b9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T01:18:45.337Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-10T01:18:45.337Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-10T01:18:45.337Z] Dload Upload Total Spent Left Speed [2024-10-10T01:18:45.337Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86093 0 --:--:-- --:--:-- --:--:-- 86093 [Pipeline] sh [2024-10-10T01:18:45.695Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-10T01:18:46.052Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-10T01:18:46.052Z] + sudo tee /etc/docker/daemon.new [2024-10-10T01:18:46.052Z] { [2024-10-10T01:18:46.052Z] "registry-mirrors": [ [2024-10-10T01:18:46.052Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-10T01:18:46.052Z] ], [2024-10-10T01:18:46.052Z] "bip": "10.250.0.254/24", [2024-10-10T01:18:46.052Z] "hosts": [ [2024-10-10T01:18:46.052Z] "tcp://0.0.0.0:5555", [2024-10-10T01:18:46.052Z] "unix:///var/run/docker.sock" [2024-10-10T01:18:46.052Z] ], [2024-10-10T01:18:46.052Z] "mtu": 1458, [2024-10-10T01:18:46.052Z] "selinux-enabled": true, [2024-10-10T01:18:46.052Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-10T01:18:46.052Z] } [Pipeline] sh [2024-10-10T01:18:46.407Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-10T01:18:46.770Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T01:19:05.165Z] provisioning config files... [2024-10-10T01:19:05.195Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4695475664017078550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:19:05.714Z] ---> ****-login.sh [2024-10-10T01:19:05.715Z] nexus3.edgexfoundry.org:10001 [2024-10-10T01:19:05.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:19:06.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:19:06.576Z] Configure a credential helper to remove this warning. See [2024-10-10T01:19:06.576Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:19:06.576Z] [2024-10-10T01:19:06.576Z] Login Succeeded [2024-10-10T01:19:06.576Z] nexus3.edgexfoundry.org:10002 [2024-10-10T01:19:06.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:19:06.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:19:06.849Z] Configure a credential helper to remove this warning. See [2024-10-10T01:19:06.849Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:19:06.849Z] [2024-10-10T01:19:06.849Z] Login Succeeded [2024-10-10T01:19:06.849Z] nexus3.edgexfoundry.org:10003 [2024-10-10T01:19:07.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:19:07.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:19:07.122Z] Configure a credential helper to remove this warning. See [2024-10-10T01:19:07.122Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:19:07.122Z] [2024-10-10T01:19:07.122Z] Login Succeeded [2024-10-10T01:19:07.122Z] nexus3.edgexfoundry.org:10004 [2024-10-10T01:19:07.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:19:07.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:19:07.665Z] Configure a credential helper to remove this warning. See [2024-10-10T01:19:07.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:19:07.665Z] [2024-10-10T01:19:07.665Z] Login Succeeded [2024-10-10T01:19:07.665Z] ****.io [2024-10-10T01:19:07.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T01:19:08.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T01:19:08.204Z] Configure a credential helper to remove this warning. See [2024-10-10T01:19:08.204Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T01:19:08.204Z] [2024-10-10T01:19:08.204Z] Login Succeeded [2024-10-10T01:19:08.204Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T01:19:08.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-10T01:19:08.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T01:19:08.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T01:19:08.833Z] ========================================================= [2024-10-10T01:19:08.833Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-10T01:19:08.833Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:19:09.337Z] + 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-10T01:19:09.934Z] Sending build context to Docker daemon 10.56MB [2024-10-10T01:19:09.934Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T01:19:09.934Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-10T01:19:09.934Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-10T01:19:09.934Z] cf04c63912e1: Pulling fs layer [2024-10-10T01:19:09.934Z] 55b35a11ae5e: Pulling fs layer [2024-10-10T01:19:09.934Z] a37a00ec5f00: Pulling fs layer [2024-10-10T01:19:09.934Z] 50b3750afda1: Pulling fs layer [2024-10-10T01:19:09.934Z] 4f4fb700ef54: Pulling fs layer [2024-10-10T01:19:09.934Z] 80978eb59214: Pulling fs layer [2024-10-10T01:19:09.934Z] c9f46d7d2bd2: Pulling fs layer [2024-10-10T01:19:09.934Z] c5a475d317c9: Pulling fs layer [2024-10-10T01:19:09.934Z] 50b3750afda1: Waiting [2024-10-10T01:19:09.934Z] 4f4fb700ef54: Waiting [2024-10-10T01:19:09.934Z] c5a475d317c9: Waiting [2024-10-10T01:19:09.934Z] 80978eb59214: Waiting [2024-10-10T01:19:09.934Z] c9f46d7d2bd2: Waiting [2024-10-10T01:19:09.934Z] 55b35a11ae5e: Verifying Checksum [2024-10-10T01:19:09.934Z] 55b35a11ae5e: Download complete [2024-10-10T01:19:09.934Z] 50b3750afda1: Verifying Checksum [2024-10-10T01:19:09.934Z] 50b3750afda1: Download complete [2024-10-10T01:19:09.934Z] 4f4fb700ef54: Verifying Checksum [2024-10-10T01:19:09.934Z] 4f4fb700ef54: Download complete [2024-10-10T01:19:10.206Z] 80978eb59214: Verifying Checksum [2024-10-10T01:19:10.206Z] 80978eb59214: Download complete [2024-10-10T01:19:10.206Z] cf04c63912e1: Verifying Checksum [2024-10-10T01:19:10.206Z] cf04c63912e1: Download complete [2024-10-10T01:19:10.479Z] c5a475d317c9: Verifying Checksum [2024-10-10T01:19:11.071Z] cf04c63912e1: Pull complete [2024-10-10T01:19:12.041Z] 55b35a11ae5e: Pull complete [2024-10-10T01:19:12.315Z] a37a00ec5f00: Verifying Checksum [2024-10-10T01:19:12.315Z] a37a00ec5f00: Download complete [2024-10-10T01:19:13.284Z] c9f46d7d2bd2: Verifying Checksum [2024-10-10T01:19:13.284Z] c9f46d7d2bd2: Download complete [2024-10-10T01:19:28.281Z] a37a00ec5f00: Pull complete [2024-10-10T01:19:28.281Z] 50b3750afda1: Pull complete [2024-10-10T01:19:28.281Z] 4f4fb700ef54: Pull complete [2024-10-10T01:19:28.281Z] 80978eb59214: Pull complete [2024-10-10T01:19:34.927Z] c9f46d7d2bd2: Pull complete [2024-10-10T01:19:36.869Z] c5a475d317c9: Pull complete [2024-10-10T01:19:36.869Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-10T01:19:36.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-10T01:19:36.869Z] ---> be29e6b0f0d4 [2024-10-10T01:19:36.869Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-10T01:19:38.800Z] ---> Running in c9c67901c9d8 [2024-10-10T01:19:38.800Z] Removing intermediate container c9c67901c9d8 [2024-10-10T01:19:38.800Z] ---> 1fc31d1c80a0 [2024-10-10T01:19:38.800Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T01:19:38.800Z] ---> Running in f7785724ecb6 [2024-10-10T01:19:39.066Z] Removing intermediate container f7785724ecb6 [2024-10-10T01:19:39.066Z] ---> 227d359ead9e [2024-10-10T01:19:39.066Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-10T01:19:39.331Z] ---> Running in 13de174cf0f2 [2024-10-10T01:19:39.598Z] Removing intermediate container 13de174cf0f2 [2024-10-10T01:19:39.598Z] ---> c7ef789d4ba0 [2024-10-10T01:19:39.598Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-10T01:19:39.598Z] ---> Running in 3cc0394be899 [2024-10-10T01:19:39.871Z] Removing intermediate container 3cc0394be899 [2024-10-10T01:19:39.871Z] ---> 66615093068d [2024-10-10T01:19:39.871Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-10T01:19:39.871Z] ---> Running in fc2ee94fd7c7 [2024-10-10T01:19:41.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T01:19:41.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T01:19:42.690Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-10T01:19:42.690Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-10T01:19:42.690Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-10T01:19:42.958Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-10T01:19:42.958Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T01:19:42.958Z] OK: 242 MiB in 58 packages [2024-10-10T01:19:43.922Z] Removing intermediate container fc2ee94fd7c7 [2024-10-10T01:19:43.922Z] ---> 4486017c1b92 [2024-10-10T01:19:43.922Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-10T01:19:43.922Z] ---> Running in ae926aca72bf [2024-10-10T01:19:44.188Z] Removing intermediate container ae926aca72bf [2024-10-10T01:19:44.188Z] ---> ea129a1c9315 [2024-10-10T01:19:44.188Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-10T01:19:44.775Z] ---> 915bc1a7b3aa [2024-10-10T01:19:44.776Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T01:19:44.776Z] ---> Running in 5150b238c6f1 [2024-10-10T01:21:36.454Z] Removing intermediate container 5150b238c6f1 [2024-10-10T01:21:36.454Z] ---> 78a7a2f6e2f3 [2024-10-10T01:21:36.454Z] Step 11/12 : COPY . . [2024-10-10T01:21:36.454Z] ---> 29b3c502d35f [2024-10-10T01:21:36.454Z] Step 12/12 : RUN $MAKE [2024-10-10T01:21:36.454Z] ---> Running in c13da8436988 [2024-10-10T01:21:36.454Z] noop [2024-10-10T01:21:36.454Z] Removing intermediate container c13da8436988 [2024-10-10T01:21:36.454Z] ---> 6539235ae287 [2024-10-10T01:21:36.454Z] Successfully built 6539235ae287 [2024-10-10T01:21:36.454Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:21:36.992Z] + docker inspect -f . ci-base-image-arm64 [2024-10-10T01:21:36.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T01:21:37.294Z] prd-ubuntu20.04-docker-arm64-4c-16g-22382 does not seem to be running inside a container [2024-10-10T01:21:37.355Z] $ 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-10T01:21:38.560Z] $ docker top 58f9c2fc1608bc7dc8933363877a9c3bd8c5a9ce4a27c71e63545b8794e0cc81 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T01:21:39.439Z] + go version [2024-10-10T01:21:39.439Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-10T01:21:39.480Z] $ docker stop --time=1 58f9c2fc1608bc7dc8933363877a9c3bd8c5a9ce4a27c71e63545b8794e0cc81 [2024-10-10T01:21:41.079Z] $ docker rm -f --volumes 58f9c2fc1608bc7dc8933363877a9c3bd8c5a9ce4a27c71e63545b8794e0cc81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:21:41.968Z] + docker inspect -f . ci-base-image-arm64 [2024-10-10T01:21:41.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T01:21:42.229Z] prd-ubuntu20.04-docker-arm64-4c-16g-22382 does not seem to be running inside a container [2024-10-10T01:21:42.289Z] $ 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-10T01:21:43.469Z] $ docker top 6b2e48069466c448cc10449d0cdbbc3f3ef3b29158ae3fd793d178fb05e7a1b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T01:21:44.364Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-10T01:21:45.095Z] + make test [2024-10-10T01:21:45.095Z] go test ./... -coverprofile=coverage.out ./... [2024-10-10T01:21:51.730Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-10T01:25:30.724Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-10T01:25:30.724Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-10T01:25:30.724Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.053s coverage: 22.8% of statements [2024-10-10T01:25:30.724Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-10T01:25:30.724Z] go vet ./... [2024-10-10T01:26:20.534Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-10T01:26:20.534Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-10T01:26:20.534Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-10T01:26:20.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-10T01:26:20.627Z] $ docker stop --time=1 6b2e48069466c448cc10449d0cdbbc3f3ef3b29158ae3fd793d178fb05e7a1b6 [2024-10-10T01:26:22.619Z] $ docker rm -f --volumes 6b2e48069466c448cc10449d0cdbbc3f3ef3b29158ae3fd793d178fb05e7a1b6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T01:26:24.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-10T01:26:24.380Z] Warning: overwriting stash ‘coverage-report’ [2024-10-10T01:26:24.918Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T01:26:25.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-10T01:26:25.947Z] + ls -al . [2024-10-10T01:26:25.948Z] total 260 [2024-10-10T01:26:25.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:21 . [2024-10-10T01:26:25.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:18 .. [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:18 .dockerignore [2024-10-10T01:26:25.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:18 .git [2024-10-10T01:26:25.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:18 .github [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 10 01:18 .gitignore [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:18 .golangci.yml [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 10 01:18 Attribution.txt [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 10 01:18 CHANGELOG.md [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 10 01:18 Dockerfile [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:18 GOVERNANCE.md [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 10 01:18 Jenkinsfile [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:18 LICENSE [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 10 01:18 Makefile [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:18 OWNERS.md [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 10 01:18 README.md [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:13 VERSION [2024-10-10T01:26:25.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:18 bin [2024-10-10T01:26:25.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:18 cmd [2024-10-10T01:26:25.948Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 10 01:25 coverage.out [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 10 01:18 go.mod [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 10 01:18 go.sum [2024-10-10T01:26:25.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:18 internal [2024-10-10T01:26:25.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:18 mock [2024-10-10T01:26:25.948Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:26:26.401Z] + 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=5fb6e424f32c46c5d5d91bcea903cce5392f14b9 --label arch=arm64 --label version=0.0.0 . [2024-10-10T01:26:26.996Z] Sending build context to Docker daemon 10.59MB [2024-10-10T01:26:26.996Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T01:26:26.996Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-10T01:26:26.996Z] ---> 6539235ae287 [2024-10-10T01:26:26.996Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-10T01:26:26.996Z] ---> Running in 5f269c40d0bf [2024-10-10T01:26:27.265Z] Removing intermediate container 5f269c40d0bf [2024-10-10T01:26:27.265Z] ---> 6ce460ca5537 [2024-10-10T01:26:27.265Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T01:26:27.533Z] ---> Running in 0b1123bbc249 [2024-10-10T01:26:27.806Z] Removing intermediate container 0b1123bbc249 [2024-10-10T01:26:27.806Z] ---> d116111225d5 [2024-10-10T01:26:27.806Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-10T01:26:27.806Z] ---> Running in 8591b83b80a8 [2024-10-10T01:26:28.078Z] Removing intermediate container 8591b83b80a8 [2024-10-10T01:26:28.078Z] ---> 7606e074063b [2024-10-10T01:26:28.078Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-10T01:26:28.078Z] ---> Running in 1a837b55e4bd [2024-10-10T01:26:28.346Z] Removing intermediate container 1a837b55e4bd [2024-10-10T01:26:28.346Z] ---> f7ff63a4486a [2024-10-10T01:26:28.346Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-10T01:26:28.614Z] ---> Running in 7ae084fdce90 [2024-10-10T01:26:29.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T01:26:29.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T01:26:31.245Z] OK: 242 MiB in 58 packages [2024-10-10T01:26:32.210Z] Removing intermediate container 7ae084fdce90 [2024-10-10T01:26:32.210Z] ---> 582fa4633e70 [2024-10-10T01:26:32.210Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-10T01:26:32.210Z] ---> Running in 8e7c589432b6 [2024-10-10T01:26:32.477Z] Removing intermediate container 8e7c589432b6 [2024-10-10T01:26:32.477Z] ---> d338f780919e [2024-10-10T01:26:32.477Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-10T01:26:34.415Z] ---> 70a92da8bea2 [2024-10-10T01:26:34.415Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T01:26:34.415Z] ---> Running in dd3b97fbfe8b [2024-10-10T01:26:37.006Z] Removing intermediate container dd3b97fbfe8b [2024-10-10T01:26:37.006Z] ---> 066e7a7734e4 [2024-10-10T01:26:37.006Z] Step 11/25 : COPY . . [2024-10-10T01:26:37.966Z] ---> 6a3771097a0a [2024-10-10T01:26:37.966Z] Step 12/25 : RUN $MAKE [2024-10-10T01:26:37.966Z] ---> Running in d1484b340eca [2024-10-10T01:26:38.924Z] 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.45" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-10-10T01:30:15.736Z] Removing intermediate container d1484b340eca [2024-10-10T01:30:15.736Z] ---> 5863ec071bd8 [2024-10-10T01:30:15.736Z] Step 13/25 : FROM alpine:3.20 [2024-10-10T01:30:15.736Z] 3.20: Pulling from library/alpine [2024-10-10T01:30:15.736Z] cf04c63912e1: Already exists [2024-10-10T01:30:15.736Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-10T01:30:15.736Z] Status: Downloaded newer image for alpine:3.20 [2024-10-10T01:30:15.736Z] ---> c157a85ed455 [2024-10-10T01:30:15.736Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-10T01:30:15.736Z] ---> Running in 372a6bc0adb4 [2024-10-10T01:30:15.736Z] Removing intermediate container 372a6bc0adb4 [2024-10-10T01:30:15.736Z] ---> a9bcf03e1448 [2024-10-10T01:30:15.736Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-10T01:30:15.736Z] ---> Running in 6ae305dd4fa0 [2024-10-10T01:30:15.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T01:30:15.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T01:30:15.736Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-10T01:30:15.736Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T01:30:15.736Z] OK: 9 MiB in 15 packages [2024-10-10T01:30:16.704Z] Removing intermediate container 6ae305dd4fa0 [2024-10-10T01:30:16.704Z] ---> 6561b5edd0c6 [2024-10-10T01:30:16.704Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-10T01:30:16.704Z] ---> Running in 750dec050a7d [2024-10-10T01:30:17.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T01:30:17.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T01:30:19.343Z] Upgrading critical system libraries and apk-tools: [2024-10-10T01:30:19.343Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-10T01:30:19.343Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T01:30:19.609Z] Continuing the upgrade transaction with new apk-tools: [2024-10-10T01:30:19.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T01:30:19.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T01:30:21.280Z] OK: 9 MiB in 15 packages [2024-10-10T01:30:22.241Z] Removing intermediate container 750dec050a7d [2024-10-10T01:30:22.241Z] ---> 60c2a5cb7f9a [2024-10-10T01:30:22.241Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-10T01:30:24.924Z] ---> 2b4d33fc77ea [2024-10-10T01:30:24.924Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-10T01:30:24.924Z] ---> c8e7bf7e4053 [2024-10-10T01:30:24.924Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-10T01:30:25.506Z] ---> 8594af426134 [2024-10-10T01:30:25.506Z] Step 20/25 : EXPOSE 59982 [2024-10-10T01:30:25.506Z] ---> Running in de60b68a0169 [2024-10-10T01:30:26.088Z] Removing intermediate container de60b68a0169 [2024-10-10T01:30:26.088Z] ---> 0c6dd7b3fa0a [2024-10-10T01:30:26.089Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-10T01:30:26.089Z] ---> Running in a26a20c0b6a0 [2024-10-10T01:30:26.354Z] Removing intermediate container a26a20c0b6a0 [2024-10-10T01:30:26.354Z] ---> 87f87fc655b1 [2024-10-10T01:30:26.354Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-10T01:30:26.354Z] ---> Running in 7f6ad04fa53a [2024-10-10T01:30:26.621Z] Removing intermediate container 7f6ad04fa53a [2024-10-10T01:30:26.621Z] ---> 38a63c876254 [2024-10-10T01:30:26.621Z] Step 23/25 : LABEL arch=arm64 [2024-10-10T01:30:26.886Z] ---> Running in 8e712e78533f [2024-10-10T01:30:27.151Z] Removing intermediate container 8e712e78533f [2024-10-10T01:30:27.151Z] ---> c45adec668b8 [2024-10-10T01:30:27.151Z] Step 24/25 : LABEL git_sha=5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [2024-10-10T01:30:27.151Z] ---> Running in dc57927b1025 [2024-10-10T01:30:27.416Z] Removing intermediate container dc57927b1025 [2024-10-10T01:30:27.417Z] ---> 2cd42b7eec69 [2024-10-10T01:30:27.417Z] Step 25/25 : LABEL version=0.0.0 [2024-10-10T01:30:27.417Z] ---> Running in 96acb446f3d1 [2024-10-10T01:30:27.682Z] Removing intermediate container 96acb446f3d1 [2024-10-10T01:30:27.682Z] ---> 8440eafe466d [2024-10-10T01:30:27.682Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-10T01:30:27.682Z] Successfully built 8440eafe466d [2024-10-10T01:30:27.682Z] 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-10T01:30:28.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T01:30:28.638Z] [2024-10-10T01:30:28.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:30:29.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T01:30:29.649Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-10T01:30:29.649Z] 8998bd30e6a1: Pulling fs layer [2024-10-10T01:30:29.649Z] 04944245beec: Pulling fs layer [2024-10-10T01:30:29.649Z] 699f458cf7ca: Pulling fs layer [2024-10-10T01:30:29.649Z] 765212b225bb: Pulling fs layer [2024-10-10T01:30:29.649Z] f23df028b6ca: Pulling fs layer [2024-10-10T01:30:29.649Z] d65c8cfc05b1: Pulling fs layer [2024-10-10T01:30:29.649Z] 2437ff75d9bd: Pulling fs layer [2024-10-10T01:30:29.649Z] f23df028b6ca: Waiting [2024-10-10T01:30:29.649Z] 765212b225bb: Waiting [2024-10-10T01:30:29.649Z] d65c8cfc05b1: Waiting [2024-10-10T01:30:29.649Z] 2437ff75d9bd: Waiting [2024-10-10T01:30:29.649Z] 04944245beec: Verifying Checksum [2024-10-10T01:30:29.649Z] 04944245beec: Download complete [2024-10-10T01:30:29.649Z] 765212b225bb: Verifying Checksum [2024-10-10T01:30:29.649Z] 765212b225bb: Download complete [2024-10-10T01:30:29.649Z] f23df028b6ca: Verifying Checksum [2024-10-10T01:30:29.649Z] f23df028b6ca: Download complete [2024-10-10T01:30:29.649Z] d65c8cfc05b1: Verifying Checksum [2024-10-10T01:30:29.649Z] d65c8cfc05b1: Download complete [2024-10-10T01:30:29.916Z] 699f458cf7ca: Verifying Checksum [2024-10-10T01:30:29.916Z] 699f458cf7ca: Download complete [2024-10-10T01:30:30.182Z] 8998bd30e6a1: Verifying Checksum [2024-10-10T01:30:30.182Z] 8998bd30e6a1: Download complete [2024-10-10T01:30:32.769Z] 2437ff75d9bd: Download complete [2024-10-10T01:30:34.717Z] 8998bd30e6a1: Pull complete [2024-10-10T01:30:35.298Z] 04944245beec: Pull complete [2024-10-10T01:30:36.703Z] 699f458cf7ca: Pull complete [2024-10-10T01:30:36.969Z] 765212b225bb: Pull complete [2024-10-10T01:30:37.931Z] f23df028b6ca: Pull complete [2024-10-10T01:30:37.931Z] d65c8cfc05b1: Pull complete [2024-10-10T01:30:56.115Z] 2437ff75d9bd: Pull complete [2024-10-10T01:30:56.115Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-10T01:30:56.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T01:30:56.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T01:30:56.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-22382 does not seem to be running inside a container [2024-10-10T01:30:56.524Z] $ 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-10T01:30:59.108Z] $ docker top 631507562de57fbe729fa93cfe46cb9d47a1b410c0922597749425082dc02c25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:30:59.684Z] ---> job-cost.sh [2024-10-10T01:30:59.951Z] lf-activate-venv: SKIPPING [2024-10-10T01:30:59.951Z] INFO: No Stack... [2024-10-10T01:31:00.216Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-10T01:31:01.173Z] INFO: Archiving Costs [Pipeline] sh [2024-10-10T01:31:01.835Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-10-10T01:31:01.835Z] + cut -d, -f6 [Pipeline] lock [2024-10-10T01:31:01.920Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-700-1-stack-cost] [2024-10-10T01:31:01.925Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-700-1-stack-cost] did not exist. Created. [2024-10-10T01:31:01.931Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-700-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-10T01:31:02.382Z] /w/workspace/device-mqtt-go/1@tmp/durable-1408a9e6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-10T01:31:03.060Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-10T01:31:03.103Z] Warning: overwriting stash ‘stack-cost’ [2024-10-10T01:31:03.153Z] Stashed 1 file(s) [Pipeline] } [2024-10-10T01:31:03.174Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-700-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-10T01:31:03.279Z] $ docker stop --time=1 631507562de57fbe729fa93cfe46cb9d47a1b410c0922597749425082dc02c25 [2024-10-10T01:31:04.774Z] $ docker rm -f --volumes 631507562de57fbe729fa93cfe46cb9d47a1b410c0922597749425082dc02c25 [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-10T01:31:05.930Z] provisioning config files... [2024-10-10T01:31:05.938Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp/config7262915024715844452tmp [Pipeline] { [Pipeline] sh [2024-10-10T01:31:06.304Z] + set +x [2024-10-10T01:31:06.304Z] + curl -s https://codecov.io/bash [2024-10-10T01:31:06.304Z] + bash -s -- [2024-10-10T01:31:06.304Z] [2024-10-10T01:31:06.304Z] _____ _ [2024-10-10T01:31:06.304Z] / ____| | | [2024-10-10T01:31:06.304Z] | | ___ __| | ___ ___ _____ __ [2024-10-10T01:31:06.304Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-10T01:31:06.304Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-10T01:31:06.304Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-10T01:31:06.304Z] Bash-1.0.6 [2024-10-10T01:31:06.304Z] [2024-10-10T01:31:06.304Z] [2024-10-10T01:31:06.304Z] ==> git version 2.25.1 found [2024-10-10T01:31:06.304Z] ==> 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-10T01:31:06.304Z] Release-Date: 2020-01-08 [2024-10-10T01:31:06.304Z] 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-10T01:31:06.304Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-10T01:31:06.304Z] ==> Jenkins CI detected. [2024-10-10T01:31:06.304Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-700 [2024-10-10T01:31:06.304Z] project root: . [2024-10-10T01:31:06.304Z] --> token set from env [2024-10-10T01:31:06.304Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-10T01:31:06.304Z] ==> Running gcov in . (disable via -X gcov) [2024-10-10T01:31:06.305Z] ==> Python coveragepy not found [2024-10-10T01:31:06.305Z] ==> Searching for coverage reports in: [2024-10-10T01:31:06.305Z] + . [2024-10-10T01:31:06.305Z] -> Found 1 reports [2024-10-10T01:31:06.305Z] ==> Detecting git/mercurial file structure [2024-10-10T01:31:06.305Z] ==> Reading reports [2024-10-10T01:31:06.565Z] + ./coverage.out bytes=21039 [2024-10-10T01:31:06.565Z] ==> Appending adjustments [2024-10-10T01:31:06.565Z] https://docs.codecov.io/docs/fixing-reports [2024-10-10T01:31:06.565Z] + Found adjustments [2024-10-10T01:31:06.565Z] ==> Gzipping contents [2024-10-10T01:31:06.565Z] 4.0K /tmp/codecov.cEOgcO.gz [2024-10-10T01:31:06.565Z] ==> Uploading reports [2024-10-10T01:31:06.565Z] url: https://codecov.io [2024-10-10T01:31:06.565Z] query: branch=PR-700&commit=5fb6e424f32c46c5d5d91bcea903cce5392f14b9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-700%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=700&job=&cmd_args= [2024-10-10T01:31:06.565Z] -> Pinging Codecov [2024-10-10T01:31:06.565Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-700&commit=5fb6e424f32c46c5d5d91bcea903cce5392f14b9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-700%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=700&job=&cmd_args= [2024-10-10T01:31:06.825Z] -> Uploading to [2024-10-10T01:31:06.825Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/5fb6e424f32c46c5d5d91bcea903cce5392f14b9/e13b9ab1-8cb8-4015-9f37-4697565c863b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241010%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241010T013106Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=34ed014b85f20b5bde158e974800f44c00e83c5220ae028d8893489378458f01 [2024-10-10T01:31:06.825Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-10T01:31:06.825Z] Dload Upload Total Spent Left Speed [2024-10-10T01:31:06.825Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14299 --:--:-- --:--:-- --:--:-- 14299 [2024-10-10T01:31:07.085Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/5fb6e424f32c46c5d5d91bcea903cce5392f14b9 [Pipeline] } [2024-10-10T01:31:07.110Z] 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-10T01:31:09.269Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-700/archives ] [2024-10-10T01:31:09.269Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-700/archives [2024-10-10T01:31:09.269Z] total 16 [2024-10-10T01:31:09.269Z] drwxr-xr-x 3 root root 4096 Oct 10 01:17 . [2024-10-10T01:31:09.269Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 01:17 .. [2024-10-10T01:31:09.269Z] drwxr-xr-x 2 root root 4096 Oct 10 01:17 cost [2024-10-10T01:31:09.269Z] -rw-r--r-- 1 root root 86 Oct 10 01:17 cost.csv [2024-10-10T01:31:09.269Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-700/archives [2024-10-10T01:31:09.269Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-700/archives [2024-10-10T01:31:09.269Z] total 16 [2024-10-10T01:31:09.269Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:17 . [2024-10-10T01:31:09.269Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 01:17 .. [2024-10-10T01:31:09.269Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 01:17 cost [2024-10-10T01:31:09.269Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 01:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:31:09.607Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:31:10.507Z] ---> package-listing.sh [2024-10-10T01:31:10.507Z] ++ facter osfamily [2024-10-10T01:31:10.507Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-10T01:31:10.767Z] + OS_FAMILY=debian [2024-10-10T01:31:10.767Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-700 [2024-10-10T01:31:10.767Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-10T01:31:10.767Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-10T01:31:10.767Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-10T01:31:10.767Z] + PACKAGES=/tmp/packages_start.txt [2024-10-10T01:31:10.767Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-700 ']' [2024-10-10T01:31:10.767Z] + PACKAGES=/tmp/packages_end.txt [2024-10-10T01:31:10.767Z] + case "${OS_FAMILY}" in [2024-10-10T01:31:10.767Z] + dpkg -l [2024-10-10T01:31:10.767Z] + grep '^ii' [2024-10-10T01:31:10.767Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-10T01:31:10.767Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-10T01:31:10.767Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-10T01:31:10.767Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-700 ']' [2024-10-10T01:31:10.767Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-700/archives/ [2024-10-10T01:31:10.767Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-700/archives/ [Pipeline] echo [2024-10-10T01:31:10.818Z] 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-700/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-10T01:31:11.118Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T01:31:11.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T01:31:11.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T01:31:12.016Z] prd-ubuntu20.04-docker-8c-8g-22381 does not seem to be running inside a container [2024-10-10T01:31:12.043Z] $ 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-700/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-700 -v /w/workspace/gexfoundry_device-mqtt-go_PR-700:/w/workspace/gexfoundry_device-mqtt-go_PR-700:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-700@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-10T01:31:12.233Z] $ docker top 23b21b5a1aa963a619be33d790da6a0e7c5a97287486960f73afb27a50fdb607 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T01:31:12.648Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-10T01:31:12.973Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-10T01:31:13.335Z] + ls /var/log/sa-host [2024-10-10T01:31:13.335Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T01:31:13.575Z] provisioning config files... [2024-10-10T01:31:13.594Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-700@tmp/config287486324289220851tmp [Pipeline] { [Pipeline] echo [2024-10-10T01:31:13.659Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:31:14.010Z] ---> create-netrc.sh [Pipeline] } [2024-10-10T01:31:14.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:31:14.485Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-10T01:31:14.522Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:31:14.855Z] ---> sudo-logs.sh [2024-10-10T01:31:14.855Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-10T01:31:14.960Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:31:15.294Z] ---> job-cost.sh [2024-10-10T01:31:15.294Z] lf-activate-venv: SKIPPING [2024-10-10T01:31:15.294Z] DEBUG: total: 0.2199999988079071 [2024-10-10T01:31:15.294Z] INFO: Retrieving Stack Cost... [2024-10-10T01:31:15.554Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-10T01:31:16.122Z] INFO: Archiving Costs [Pipeline] echo [2024-10-10T01:31:16.173Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T01:31:16.513Z] ---> logs-deploy.sh [2024-10-10T01:31:16.513Z] lf-activate-venv: SKIPPING [2024-10-10T01:31:16.513Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-700/1 [2024-10-10T01:31:16.513Z] INFO: archiving workspace using pattern(s): [2024-10-10T01:31:17.455Z] Archives upload complete. [2024-10-10T01:31:17.455Z] INFO: archiving logs to Nexus