Pull request #710 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9ed79b965d6d3763653c3cf8eb75c300dd0420a6+05dffbfea524d4e44629aea546393e9ff3734411 (d66a3ba843828eec6b24172b285e1a836d1292f3) 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-ssh7576244640101357935.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-ssh12863944782674717712.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-710/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-710/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6015903134848464657.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-710/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17055746870585091066.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-ssh13846894736529613242.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-710/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-710/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4451324325754129209.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26211’ Running on prd-ubuntu20.04-docker-8c-8g-26217 in /w/workspace/gexfoundry_device-mqtt-go_PR-710 [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-710 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 05dffbfea524d4e44629aea546393e9ff3734411 into PR head commit 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 > 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/710/head:refs/remotes/origin/PR-710 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 Checking out Revision 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 (PR-710) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git merge 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-12T01:16:19.930Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-12T01:16:20.147Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-12T01:16:20.271Z] ========================================================= [2024-11-12T01:16:20.271Z] EdgeX Global Pipelines Version Info [2024-11-12T01:16:20.271Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:16:21.062Z] ------------------- [2024-11-12T01:16:21.062Z] stable info: [2024-11-12T01:16:21.062Z] ------------------- [2024-11-12T01:16:21.062Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-12T01:16:21.062Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-12T01:16:21.062Z] Message: update stable to v1.0.265 [2024-11-12T01:16:21.632Z] ------------------- [2024-11-12T01:16:21.632Z] experimental info: [2024-11-12T01:16:21.632Z] ------------------- [2024-11-12T01:16:21.632Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-12T01:16:21.632Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-12T01:16:21.632Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-12T01:16:21.867Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-11-12T01:16:21.934Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-11-12T01:16:21.992Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-12T01:16:22.052Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-12T01:16:22.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-12T01:16:22.167Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-12T01:16:22.221Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-12T01:16:22.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-12T01:16:22.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-12T01:16:22.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-12T01:16:22.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-12T01:16:22.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-11-12T01:16:22.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-12T01:16:22.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-12T01:16:22.695Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-12T01:16:22.754Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-12T01:16:22.812Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-12T01:16:22.869Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-12T01:16:22.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-12T01:16:22.976Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-12T01:16:23.039Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-12T01:16:23.098Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-12T01:16:23.157Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-12T01:16:23.217Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-12T01:16:23.275Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-12T01:16:23.335Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-12T01:16:23.394Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-12T01:16:23.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-710 [Pipeline] echo [2024-11-12T01:16:23.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-710 [Pipeline] echo [2024-11-12T01:16:23.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-710 [Pipeline] echo [2024-11-12T01:16:23.636Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [Pipeline] echo [2024-11-12T01:16:23.695Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ed79b9 [Pipeline] echo [2024-11-12T01:16:23.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-12T01:16:23.897Z] provisioning config files... [2024-11-12T01:16:23.911Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp/config8189094149640992163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:16:24.300Z] ---> ****-login.sh [2024-11-12T01:16:24.300Z] nexus3.edgexfoundry.org:10001 [2024-11-12T01:16:24.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:24.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:24.561Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:24.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:24.561Z] [2024-11-12T01:16:24.561Z] Login Succeeded [2024-11-12T01:16:24.561Z] nexus3.edgexfoundry.org:10002 [2024-11-12T01:16:24.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:24.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:24.561Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:24.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:24.561Z] [2024-11-12T01:16:24.562Z] Login Succeeded [2024-11-12T01:16:24.562Z] nexus3.edgexfoundry.org:10003 [2024-11-12T01:16:24.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:24.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:24.823Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:24.823Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:24.823Z] [2024-11-12T01:16:24.823Z] Login Succeeded [2024-11-12T01:16:24.823Z] nexus3.edgexfoundry.org:10004 [2024-11-12T01:16:24.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:24.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:24.823Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:24.823Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:24.823Z] [2024-11-12T01:16:24.823Z] Login Succeeded [2024-11-12T01:16:24.823Z] ****.io [2024-11-12T01:16:25.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:25.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:25.088Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:25.088Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:25.088Z] [2024-11-12T01:16:25.088Z] Login Succeeded [2024-11-12T01:16:25.088Z] ---> ****-login.sh ends [Pipeline] } [2024-11-12T01:16:25.119Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-12T01:16:25.838Z] + git rev-list -1 --merges 9ed79b965d6d3763653c3cf8eb75c300dd0420a6~1..9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [Pipeline] echo [2024-11-12T01:16:25.892Z] -----------> git rev-list -1 --merges 9ed79b965d6d3763653c3cf8eb75c300dd0420a6~1..9ed79b965d6d3763653c3cf8eb75c300dd0420a6 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [false] [Pipeline] sh [2024-11-12T01:16:26.221Z] + git log --format=format:%s -1 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [Pipeline] echo [2024-11-12T01:16:26.267Z] ========================================================= [2024-11-12T01:16:26.267Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-12T01:16:26.267Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-12T01:16:26.737Z] + git log --format=format:%s -1 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [Pipeline] echo [2024-11-12T01:16:26.780Z] [semverPrep] GIT_COMMIT: 9ed79b965d6d3763653c3cf8eb75c300dd0420a6, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-12T01:16:26.826Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-12T01:16:27.256Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-12T01:16:27.256Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-12T01:16:27.256Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-12T01:16:27.256Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-12T01:16:27.256Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-12T01:16:27.256Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-12T01:16:27.256Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:16:27.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-12T01:16:27.790Z] [2024-11-12T01:16:27.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:16:28.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-12T01:16:28.205Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-12T01:16:28.205Z] b85a868b505f: Pulling fs layer [2024-11-12T01:16:28.205Z] e2be974225ed: Pulling fs layer [2024-11-12T01:16:28.205Z] 339a4e72a1f5: Pulling fs layer [2024-11-12T01:16:28.205Z] 988bab9f4d93: Pulling fs layer [2024-11-12T01:16:28.205Z] 1469e6f7b9e6: Pulling fs layer [2024-11-12T01:16:28.205Z] eaf3925da568: Pulling fs layer [2024-11-12T01:16:28.205Z] bab4dde63d76: Pulling fs layer [2024-11-12T01:16:28.205Z] bde34c3a00c8: Pulling fs layer [2024-11-12T01:16:28.205Z] b352a97aabf1: Pulling fs layer [2024-11-12T01:16:28.205Z] 4872d77fe225: Pulling fs layer [2024-11-12T01:16:28.205Z] 5851b861e8e6: Pulling fs layer [2024-11-12T01:16:28.205Z] bab4dde63d76: Waiting [2024-11-12T01:16:28.205Z] 4872d77fe225: Waiting [2024-11-12T01:16:28.205Z] bde34c3a00c8: Waiting [2024-11-12T01:16:28.205Z] 1469e6f7b9e6: Waiting [2024-11-12T01:16:28.205Z] 988bab9f4d93: Waiting [2024-11-12T01:16:28.205Z] eaf3925da568: Waiting [2024-11-12T01:16:28.205Z] 5851b861e8e6: Waiting [2024-11-12T01:16:28.205Z] b352a97aabf1: Waiting [2024-11-12T01:16:28.205Z] e2be974225ed: Verifying Checksum [2024-11-12T01:16:28.205Z] e2be974225ed: Download complete [2024-11-12T01:16:28.205Z] 988bab9f4d93: Verifying Checksum [2024-11-12T01:16:28.205Z] 988bab9f4d93: Download complete [2024-11-12T01:16:28.205Z] 1469e6f7b9e6: Verifying Checksum [2024-11-12T01:16:28.205Z] 1469e6f7b9e6: Download complete [2024-11-12T01:16:28.205Z] eaf3925da568: Download complete [2024-11-12T01:16:28.464Z] 339a4e72a1f5: Verifying Checksum [2024-11-12T01:16:28.464Z] 339a4e72a1f5: Download complete [2024-11-12T01:16:28.464Z] bde34c3a00c8: Verifying Checksum [2024-11-12T01:16:28.464Z] bde34c3a00c8: Download complete [2024-11-12T01:16:28.464Z] b352a97aabf1: Download complete [2024-11-12T01:16:28.464Z] 4872d77fe225: Download complete [2024-11-12T01:16:28.464Z] 5851b861e8e6: Verifying Checksum [2024-11-12T01:16:28.464Z] 5851b861e8e6: Download complete [2024-11-12T01:16:28.464Z] b85a868b505f: Verifying Checksum [2024-11-12T01:16:28.464Z] b85a868b505f: Download complete [2024-11-12T01:16:28.724Z] bab4dde63d76: Verifying Checksum [2024-11-12T01:16:28.724Z] bab4dde63d76: Download complete [2024-11-12T01:16:29.662Z] b85a868b505f: Pull complete [2024-11-12T01:16:29.921Z] e2be974225ed: Pull complete [2024-11-12T01:16:30.492Z] 339a4e72a1f5: Pull complete [2024-11-12T01:16:30.492Z] 988bab9f4d93: Pull complete [2024-11-12T01:16:30.750Z] 1469e6f7b9e6: Pull complete [2024-11-12T01:16:30.750Z] eaf3925da568: Pull complete [2024-11-12T01:16:32.658Z] bab4dde63d76: Pull complete [2024-11-12T01:16:32.658Z] bde34c3a00c8: Pull complete [2024-11-12T01:16:32.658Z] b352a97aabf1: Pull complete [2024-11-12T01:16:32.916Z] 4872d77fe225: Pull complete [2024-11-12T01:16:32.916Z] 5851b861e8e6: Pull complete [2024-11-12T01:16:32.916Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-12T01:16:32.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-12T01:16:32.916Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-12T01:16:33.216Z] prd-ubuntu20.04-docker-8c-8g-26217 does not seem to be running inside a container [2024-11-12T01:16:33.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-710 -v /w/workspace/gexfoundry_device-mqtt-go_PR-710:/w/workspace/gexfoundry_device-mqtt-go_PR-710:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-12T01:16:36.385Z] $ docker top dd865ef970f495bf558982eedadcfe09838f71aa56032acd0f4fdabaf16d11ab -eo pid,comm [2024-11-12T01:16:36.453Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-12T01:16:36.453Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-12T01:16:36.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-12T01:16:36.624Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-12T01:16:36.739Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-12T01:16:36.741Z] $ docker exec dd865ef970f495bf558982eedadcfe09838f71aa56032acd0f4fdabaf16d11ab ssh-agent [2024-11-12T01:16:36.860Z] SSH_AUTH_SOCK=/tmp/ssh-KGWaoHMxGWG5/agent.32 [2024-11-12T01:16:36.860Z] SSH_AGENT_PID=39 [2024-11-12T01:16:36.866Z] Running ssh-add (command line suppressed) [2024-11-12T01:16:36.972Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp/private_key_1427808576051490354.key (/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp/private_key_1427808576051490354.key) [2024-11-12T01:16:36.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-12T01:16:37.338Z] + git tag --points-at HEAD [Pipeline] } [2024-11-12T01:16:37.364Z] $ docker exec --env ******** --env ******** dd865ef970f495bf558982eedadcfe09838f71aa56032acd0f4fdabaf16d11ab ssh-agent -k [2024-11-12T01:16:37.472Z] unset SSH_AUTH_SOCK; [2024-11-12T01:16:37.472Z] unset SSH_AGENT_PID; [2024-11-12T01:16:37.473Z] echo Agent pid 39 killed; [2024-11-12T01:16:37.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-12T01:16:37.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-12T01:16:37.592Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-12T01:16:37.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-12T01:16:37.701Z] $ docker exec dd865ef970f495bf558982eedadcfe09838f71aa56032acd0f4fdabaf16d11ab ssh-agent [2024-11-12T01:16:37.804Z] SSH_AUTH_SOCK=/tmp/ssh-9PsRvR8PkHQi/agent.72 [2024-11-12T01:16:37.804Z] SSH_AGENT_PID=78 [2024-11-12T01:16:37.809Z] Running ssh-add (command line suppressed) [2024-11-12T01:16:37.926Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp/private_key_7625371343968118983.key (/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp/private_key_7625371343968118983.key) [2024-11-12T01:16:37.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-12T01:16:38.281Z] + git semver init [2024-11-12T01:16:38.540Z] 2024-11-12 01:16:38,454 [run_init] DEBUG init version:0.0.0 force:False [2024-11-12T01:16:38.540Z] 2024-11-12 01:16:38,455 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-710/.semver [2024-11-12T01:16:38.540Z] 2024-11-12 01:16:38,455 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-710/.semver [2024-11-12T01:16:38.540Z] 2024-11-12 01:16:38,456 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-710/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-710, universal_newlines=False, shell=None, istream=None) [2024-11-12T01:16:40.447Z] 2024-11-12 01:16:40,157 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-710/.git/info/exclude [2024-11-12T01:16:40.447Z] 2024-11-12 01:16:40,157 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-710/.semver/PR-710 with force:False [2024-11-12T01:16:40.447Z] 2024-11-12 01:16:40,157 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-710/.semver/PR-710 [2024-11-12T01:16:40.447Z] 2024-11-12 01:16:40,160 [execute] INFO git cat-file --batch-check [2024-11-12T01:16:40.447Z] 2024-11-12 01:16:40,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-710/.semver, universal_newlines=False, shell=None, istream=) [2024-11-12T01:16:40.447Z] 2024-11-12 01:16:40,167 [execute] INFO git cat-file --batch [2024-11-12T01:16:40.447Z] 2024-11-12 01:16:40,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-710/.semver, universal_newlines=False, shell=None, istream=) [2024-11-12T01:16:40.447Z] 2024-11-12 01:16:40,173 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-710/.semver/PR-710 [2024-11-12T01:16:40.447Z] 0.0.0 [Pipeline] } [2024-11-12T01:16:40.473Z] $ docker exec --env ******** --env ******** dd865ef970f495bf558982eedadcfe09838f71aa56032acd0f4fdabaf16d11ab ssh-agent -k [2024-11-12T01:16:40.570Z] unset SSH_AUTH_SOCK; [2024-11-12T01:16:40.570Z] unset SSH_AGENT_PID; [2024-11-12T01:16:40.570Z] echo Agent pid 78 killed; [2024-11-12T01:16:40.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-12T01:16:41.049Z] + git semver [Pipeline] } [2024-11-12T01:16:41.339Z] $ docker stop --time=1 dd865ef970f495bf558982eedadcfe09838f71aa56032acd0f4fdabaf16d11ab [2024-11-12T01:16:42.663Z] $ docker rm -f --volumes dd865ef970f495bf558982eedadcfe09838f71aa56032acd0f4fdabaf16d11ab [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-12T01:16:43.088Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-12T01:16:43.443Z] Stashed 1 file(s) [Pipeline] echo [2024-11-12T01:16:43.468Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-12T01:16:44.261Z] provisioning config files... [2024-11-12T01:16:44.272Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp/config15127922196047089817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:16:44.648Z] ---> ****-login.sh [2024-11-12T01:16:44.648Z] nexus3.edgexfoundry.org:10001 [2024-11-12T01:16:44.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:44.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:44.648Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:44.648Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:44.648Z] [2024-11-12T01:16:44.648Z] Login Succeeded [2024-11-12T01:16:44.648Z] nexus3.edgexfoundry.org:10002 [2024-11-12T01:16:44.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:44.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:44.648Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:44.648Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:44.648Z] [2024-11-12T01:16:44.648Z] Login Succeeded [2024-11-12T01:16:44.649Z] nexus3.edgexfoundry.org:10003 [2024-11-12T01:16:44.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:44.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:44.909Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:44.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:44.909Z] [2024-11-12T01:16:44.909Z] Login Succeeded [2024-11-12T01:16:44.909Z] nexus3.edgexfoundry.org:10004 [2024-11-12T01:16:44.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:44.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:44.909Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:44.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:44.909Z] [2024-11-12T01:16:44.909Z] Login Succeeded [2024-11-12T01:16:44.909Z] ****.io [2024-11-12T01:16:45.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:16:45.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:16:45.169Z] Configure a credential helper to remove this warning. See [2024-11-12T01:16:45.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:16:45.169Z] [2024-11-12T01:16:45.169Z] Login Succeeded [2024-11-12T01:16:45.169Z] ---> ****-login.sh ends [Pipeline] } [2024-11-12T01:16:45.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-12T01:16:45.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-12T01:16:45.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-12T01:16:45.540Z] ========================================================= [2024-11-12T01:16:45.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-12T01:16:45.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:16:46.060Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-12T01:16:46.060Z] Sending build context to Docker daemon 20.98MB [2024-11-12T01:16:46.060Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-12T01:16:46.060Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-12T01:16:46.060Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-12T01:16:46.060Z] 43c4264eed91: Pulling fs layer [2024-11-12T01:16:46.060Z] 4cc291be95ef: Pulling fs layer [2024-11-12T01:16:46.060Z] 2ac1f1163629: Pulling fs layer [2024-11-12T01:16:46.060Z] 5c3c966382ef: Pulling fs layer [2024-11-12T01:16:46.060Z] 5c3c966382ef: Waiting [2024-11-12T01:16:46.060Z] 4f4fb700ef54: Pulling fs layer [2024-11-12T01:16:46.060Z] 5d5c8e513c77: Pulling fs layer [2024-11-12T01:16:46.060Z] 9f66e0745190: Pulling fs layer [2024-11-12T01:16:46.060Z] f49a43e4bbc0: Pulling fs layer [2024-11-12T01:16:46.060Z] 4f4fb700ef54: Waiting [2024-11-12T01:16:46.060Z] 5d5c8e513c77: Waiting [2024-11-12T01:16:46.060Z] 9f66e0745190: Waiting [2024-11-12T01:16:46.060Z] 561ebcabdf7f: Pulling fs layer [2024-11-12T01:16:46.060Z] f49a43e4bbc0: Waiting [2024-11-12T01:16:46.060Z] 561ebcabdf7f: Waiting [2024-11-12T01:16:46.326Z] 4cc291be95ef: Verifying Checksum [2024-11-12T01:16:46.326Z] 4cc291be95ef: Download complete [2024-11-12T01:16:46.326Z] 5c3c966382ef: Download complete [2024-11-12T01:16:46.326Z] 4f4fb700ef54: Verifying Checksum [2024-11-12T01:16:46.326Z] 4f4fb700ef54: Download complete [2024-11-12T01:16:46.326Z] 5d5c8e513c77: Verifying Checksum [2024-11-12T01:16:46.326Z] 5d5c8e513c77: Download complete [2024-11-12T01:16:46.326Z] 43c4264eed91: Download complete [2024-11-12T01:16:46.326Z] 9f66e0745190: Verifying Checksum [2024-11-12T01:16:46.326Z] 9f66e0745190: Download complete [2024-11-12T01:16:46.326Z] 43c4264eed91: Pull complete [2024-11-12T01:16:46.585Z] 4cc291be95ef: Pull complete [2024-11-12T01:16:46.845Z] 561ebcabdf7f: Verifying Checksum [2024-11-12T01:16:46.845Z] 561ebcabdf7f: Download complete [2024-11-12T01:16:47.104Z] 2ac1f1163629: Download complete [2024-11-12T01:16:47.363Z] f49a43e4bbc0: Verifying Checksum [2024-11-12T01:16:47.363Z] f49a43e4bbc0: Download complete [2024-11-12T01:16:50.652Z] 2ac1f1163629: Pull complete [2024-11-12T01:16:50.913Z] 5c3c966382ef: Pull complete [2024-11-12T01:16:50.913Z] 4f4fb700ef54: Pull complete [2024-11-12T01:16:50.913Z] 5d5c8e513c77: Pull complete [2024-11-12T01:16:51.173Z] 9f66e0745190: Pull complete [2024-11-12T01:16:53.706Z] f49a43e4bbc0: Pull complete [2024-11-12T01:16:53.970Z] 561ebcabdf7f: Pull complete [2024-11-12T01:16:53.970Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-12T01:16:53.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-12T01:16:53.970Z] ---> 3a752c3f9dda [2024-11-12T01:16:53.970Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-12T01:16:58.974Z] Still waiting to schedule task [2024-11-12T01:16:58.974Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26215’ [2024-11-12T01:16:59.321Z] ---> Running in 0b6276223cc0 [2024-11-12T01:16:59.321Z] Removing intermediate container 0b6276223cc0 [2024-11-12T01:16:59.321Z] ---> 2ff0bc2c3727 [2024-11-12T01:16:59.321Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-12T01:16:59.321Z] ---> Running in f7bf0f4d6401 [2024-11-12T01:16:59.321Z] Removing intermediate container f7bf0f4d6401 [2024-11-12T01:16:59.321Z] ---> ca8538e7277e [2024-11-12T01:16:59.321Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-12T01:16:59.321Z] ---> Running in 712f999c8bea [2024-11-12T01:16:59.581Z] Removing intermediate container 712f999c8bea [2024-11-12T01:16:59.581Z] ---> 7e96572a5bc3 [2024-11-12T01:16:59.581Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-12T01:16:59.581Z] ---> Running in 39cf762bdf33 [2024-11-12T01:16:59.581Z] Removing intermediate container 39cf762bdf33 [2024-11-12T01:16:59.581Z] ---> 4aeb3978663c [2024-11-12T01:16:59.581Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-12T01:16:59.581Z] ---> Running in f750c981b1ce [2024-11-12T01:16:59.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-12T01:17:00.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-12T01:17:00.359Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-12T01:17:00.360Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-12T01:17:00.360Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-12T01:17:00.360Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-12T01:17:00.360Z] Executing busybox-1.36.1-r29.trigger [2024-11-12T01:17:00.360Z] OK: 250 MiB in 58 packages [2024-11-12T01:17:00.927Z] Removing intermediate container f750c981b1ce [2024-11-12T01:17:00.927Z] ---> 8036651e60bc [2024-11-12T01:17:00.927Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-12T01:17:00.927Z] ---> Running in 2401c111abeb [2024-11-12T01:17:00.927Z] Removing intermediate container 2401c111abeb [2024-11-12T01:17:00.927Z] ---> 191b888ff8bc [2024-11-12T01:17:00.927Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-12T01:17:01.187Z] ---> d12aa2e19735 [2024-11-12T01:17:01.187Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-12T01:17:01.187Z] ---> Running in e0ca1da1e67a [2024-11-12T01:18:08.918Z] Removing intermediate container e0ca1da1e67a [2024-11-12T01:18:08.918Z] ---> 38d88aea638c [2024-11-12T01:18:08.918Z] Step 11/12 : COPY . . [2024-11-12T01:18:08.918Z] ---> 7c2608339423 [2024-11-12T01:18:08.918Z] Step 12/12 : RUN $MAKE [2024-11-12T01:18:08.918Z] ---> Running in deb78dbac4e9 [2024-11-12T01:18:08.918Z] noop [2024-11-12T01:18:08.918Z] Removing intermediate container deb78dbac4e9 [2024-11-12T01:18:08.918Z] ---> 5101c1b60b0c [2024-11-12T01:18:08.918Z] Successfully built 5101c1b60b0c [2024-11-12T01:18:08.918Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:18:09.401Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-12T01:18:09.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-12T01:18:09.571Z] prd-ubuntu20.04-docker-8c-8g-26217 does not seem to be running inside a container [2024-11-12T01:18:09.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-710 -v /w/workspace/gexfoundry_device-mqtt-go_PR-710:/w/workspace/gexfoundry_device-mqtt-go_PR-710:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-12T01:18:09.917Z] $ docker top 0f5c119df72c1769a1612d135cfe35e6a3fbb7337ea0930e9f5b0460731b32af -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-12T01:18:10.318Z] + go version [2024-11-12T01:18:10.318Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-12T01:18:10.353Z] $ docker stop --time=1 0f5c119df72c1769a1612d135cfe35e6a3fbb7337ea0930e9f5b0460731b32af [2024-11-12T01:18:11.621Z] $ docker rm -f --volumes 0f5c119df72c1769a1612d135cfe35e6a3fbb7337ea0930e9f5b0460731b32af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:18:12.410Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-12T01:18:12.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-12T01:18:12.575Z] prd-ubuntu20.04-docker-8c-8g-26217 does not seem to be running inside a container [2024-11-12T01:18:12.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-710 -v /w/workspace/gexfoundry_device-mqtt-go_PR-710:/w/workspace/gexfoundry_device-mqtt-go_PR-710:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-12T01:18:12.934Z] $ docker top 5fd2bb4329cc756067afb074e791e441ebc511d99336f3109640aeeb8a02f790 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-12T01:18:13.344Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-710 [Pipeline] fileExists [Pipeline] sh [2024-11-12T01:18:13.726Z] + make test [2024-11-12T01:18:13.726Z] go test ./... -coverprofile=coverage.out ./... [2024-11-12T01:18:15.100Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-12T01:18:33.184Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-12T01:18:33.184Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-12T01:18:33.184Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements [2024-11-12T01:18:45.374Z] go vet ./... [2024-11-12T01:18:50.633Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-12T01:18:50.633Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-12T01:18:50.633Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-12T01:18:50.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-12T01:18:50.723Z] $ docker stop --time=1 5fd2bb4329cc756067afb074e791e441ebc511d99336f3109640aeeb8a02f790 [2024-11-12T01:18:54.609Z] $ docker rm -f --volumes 5fd2bb4329cc756067afb074e791e441ebc511d99336f3109640aeeb8a02f790 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-12T01:18:55.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-12T01:18:55.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-12T01:18:56.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-12T01:18:56.318Z] + ls -al . [2024-11-12T01:18:56.318Z] total 252 [2024-11-12T01:18:56.318Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 12 01:18 . [2024-11-12T01:18:56.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 01:16 .. [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 12 01:16 .dockerignore [2024-11-12T01:18:56.318Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 01:18 .git [2024-11-12T01:18:56.318Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 01:16 .github [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 12 01:16 .gitignore [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 12 01:16 .golangci.yml [2024-11-12T01:18:56.318Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 12 01:16 .semver [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 12 01:16 Attribution.txt [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 12 01:16 CHANGELOG.md [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 12 01:16 Dockerfile [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 12 01:16 GOVERNANCE.md [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 12 01:16 Jenkinsfile [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 12 01:16 LICENSE [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 12 01:16 Makefile [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 12 01:16 OWNERS.md [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 12 01:16 README.md [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 12 01:16 VERSION [2024-11-12T01:18:56.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 01:16 bin [2024-11-12T01:18:56.318Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 01:16 cmd [2024-11-12T01:18:56.318Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 12 01:18 coverage.out [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 6321 Nov 12 01:16 go.mod [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 87337 Nov 12 01:16 go.sum [2024-11-12T01:18:56.318Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 01:16 internal [2024-11-12T01:18:56.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 01:16 mock [2024-11-12T01:18:56.318Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 12 01:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:18:56.732Z] + 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=9ed79b965d6d3763653c3cf8eb75c300dd0420a6 --label arch=amd64 --label version=0.0.0 . [2024-11-12T01:18:56.732Z] Sending build context to Docker daemon 21MB [2024-11-12T01:18:56.732Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-12T01:18:56.732Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-12T01:18:56.732Z] ---> 5101c1b60b0c [2024-11-12T01:18:56.732Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-12T01:18:56.990Z] ---> Running in 2ace71274548 [2024-11-12T01:18:57.250Z] Removing intermediate container 2ace71274548 [2024-11-12T01:18:57.250Z] ---> de7b03401922 [2024-11-12T01:18:57.250Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-12T01:18:57.250Z] ---> Running in 6901395780ba [2024-11-12T01:18:57.250Z] Removing intermediate container 6901395780ba [2024-11-12T01:18:57.250Z] ---> 102f5ca57832 [2024-11-12T01:18:57.250Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-12T01:18:57.250Z] ---> Running in e28c3267da9e [2024-11-12T01:18:57.250Z] Removing intermediate container e28c3267da9e [2024-11-12T01:18:57.250Z] ---> 2af020c5f06f [2024-11-12T01:18:57.250Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-12T01:18:57.250Z] ---> Running in 23cbfcb3006e [2024-11-12T01:18:57.509Z] Removing intermediate container 23cbfcb3006e [2024-11-12T01:18:57.509Z] ---> 1750541aea3c [2024-11-12T01:18:57.509Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-12T01:18:57.509Z] ---> Running in 48a801c21fdb [2024-11-12T01:18:57.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-12T01:18:57.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-12T01:18:58.336Z] OK: 250 MiB in 58 packages [2024-11-12T01:18:58.595Z] Removing intermediate container 48a801c21fdb [2024-11-12T01:18:58.595Z] ---> ef58ac133c3c [2024-11-12T01:18:58.595Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-12T01:18:58.595Z] ---> Running in d632fe5c2f96 [2024-11-12T01:18:58.595Z] Removing intermediate container d632fe5c2f96 [2024-11-12T01:18:58.595Z] ---> 73eb1765edaa [2024-11-12T01:18:58.595Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-12T01:18:58.855Z] ---> f77e32a59108 [2024-11-12T01:18:58.855Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-12T01:18:58.855Z] ---> Running in b6380b492af3 [2024-11-12T01:18:59.425Z] Removing intermediate container b6380b492af3 [2024-11-12T01:18:59.425Z] ---> a79e01947b1a [2024-11-12T01:18:59.425Z] Step 11/25 : COPY . . [2024-11-12T01:18:59.991Z] ---> dfb1ab20adc2 [2024-11-12T01:18:59.991Z] Step 12/25 : RUN $MAKE [2024-11-12T01:18:59.991Z] ---> Running in d52e0e3e7b29 [2024-11-12T01:19:00.251Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-12T01:19:32.320Z] Removing intermediate container d52e0e3e7b29 [2024-11-12T01:19:32.320Z] ---> 44a2f04c2164 [2024-11-12T01:19:32.320Z] Step 13/25 : FROM alpine:3.20 [2024-11-12T01:19:32.887Z] 3.20: Pulling from library/alpine [2024-11-12T01:19:32.887Z] 43c4264eed91: Already exists [2024-11-12T01:19:33.146Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-12T01:19:33.146Z] Status: Downloaded newer image for alpine:3.20 [2024-11-12T01:19:33.146Z] ---> 91ef0af61f39 [2024-11-12T01:19:33.146Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-12T01:19:33.146Z] ---> Running in d00ab935e525 [2024-11-12T01:19:33.146Z] Removing intermediate container d00ab935e525 [2024-11-12T01:19:33.146Z] ---> 8b0d8084790d [2024-11-12T01:19:33.146Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-12T01:19:33.146Z] ---> Running in a75527f4e977 [2024-11-12T01:19:33.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-12T01:19:33.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-12T01:19:33.924Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-12T01:19:33.924Z] Executing busybox-1.36.1-r29.trigger [2024-11-12T01:19:33.924Z] OK: 8 MiB in 15 packages [2024-11-12T01:19:34.490Z] Removing intermediate container a75527f4e977 [2024-11-12T01:19:34.490Z] ---> 4faa52bec9cf [2024-11-12T01:19:34.490Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-12T01:19:34.490Z] ---> Running in 2b51bb587423 [2024-11-12T01:19:34.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-12T01:19:34.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-12T01:19:35.007Z] Upgrading critical system libraries and apk-tools: [2024-11-12T01:19:35.007Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-12T01:19:35.007Z] Executing busybox-1.36.1-r29.trigger [2024-11-12T01:19:35.007Z] Continuing the upgrade transaction with new apk-tools: [2024-11-12T01:19:35.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-12T01:19:35.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-12T01:19:35.265Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-12T01:19:35.526Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-12T01:19:35.526Z] OK: 8 MiB in 15 packages [2024-11-12T01:19:36.097Z] Removing intermediate container 2b51bb587423 [2024-11-12T01:19:36.097Z] ---> 637587d1185d [2024-11-12T01:19:36.097Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-12T01:19:38.003Z] ---> 995e1e2cc2d3 [2024-11-12T01:19:38.003Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-12T01:19:38.003Z] ---> 7fdd39084a88 [2024-11-12T01:19:38.003Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-12T01:19:38.003Z] ---> 3fc228b27632 [2024-11-12T01:19:38.003Z] Step 20/25 : EXPOSE 59982 [2024-11-12T01:19:38.003Z] ---> Running in b142fd2901f6 [2024-11-12T01:19:38.003Z] Removing intermediate container b142fd2901f6 [2024-11-12T01:19:38.003Z] ---> d7d36341b9c5 [2024-11-12T01:19:38.003Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-12T01:19:38.003Z] ---> Running in ac3323def88c [2024-11-12T01:19:38.003Z] Removing intermediate container ac3323def88c [2024-11-12T01:19:38.003Z] ---> 92e2cc229f95 [2024-11-12T01:19:38.003Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-12T01:19:38.003Z] ---> Running in af03760149c4 [2024-11-12T01:19:38.003Z] Removing intermediate container af03760149c4 [2024-11-12T01:19:38.003Z] ---> 1b7995a7db5f [2024-11-12T01:19:38.003Z] Step 23/25 : LABEL arch=amd64 [2024-11-12T01:19:38.260Z] ---> Running in 144d3a9e5769 [2024-11-12T01:19:38.260Z] Removing intermediate container 144d3a9e5769 [2024-11-12T01:19:38.260Z] ---> 117cc963c64b [2024-11-12T01:19:38.260Z] Step 24/25 : LABEL git_sha=9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [2024-11-12T01:19:38.260Z] ---> Running in ac7998eb0d61 [2024-11-12T01:19:38.260Z] Removing intermediate container ac7998eb0d61 [2024-11-12T01:19:38.260Z] ---> 5e4e0b3689b9 [2024-11-12T01:19:38.260Z] Step 25/25 : LABEL version=0.0.0 [2024-11-12T01:19:38.260Z] ---> Running in 43ddf7d2f86a [2024-11-12T01:19:38.260Z] Removing intermediate container 43ddf7d2f86a [2024-11-12T01:19:38.260Z] ---> 9bfc362e2df4 [2024-11-12T01:19:38.260Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-12T01:19:38.260Z] Successfully built 9bfc362e2df4 [2024-11-12T01:19:38.260Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:19:39.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-12T01:19:39.290Z] [2024-11-12T01:19:39.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:19:39.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-12T01:19:39.685Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-12T01:19:39.685Z] 5eb5b503b376: Pulling fs layer [2024-11-12T01:19:39.685Z] 5c69ac0246d0: Pulling fs layer [2024-11-12T01:19:39.685Z] ec43610c2a17: Pulling fs layer [2024-11-12T01:19:39.685Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-12T01:19:39.685Z] 33b1e0a273af: Pulling fs layer [2024-11-12T01:19:39.685Z] 5d3b04190fa2: Pulling fs layer [2024-11-12T01:19:39.685Z] 2f39f015ded8: Pulling fs layer [2024-11-12T01:19:39.685Z] 33b1e0a273af: Waiting [2024-11-12T01:19:39.685Z] 3a2ae6a8a46f: Waiting [2024-11-12T01:19:39.685Z] 2f39f015ded8: Waiting [2024-11-12T01:19:39.685Z] 5d3b04190fa2: Waiting [2024-11-12T01:19:39.685Z] 5c69ac0246d0: Verifying Checksum [2024-11-12T01:19:39.685Z] 5c69ac0246d0: Download complete [2024-11-12T01:19:39.685Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-12T01:19:39.685Z] 3a2ae6a8a46f: Download complete [2024-11-12T01:19:39.685Z] 33b1e0a273af: Verifying Checksum [2024-11-12T01:19:39.685Z] 33b1e0a273af: Download complete [2024-11-12T01:19:39.685Z] ec43610c2a17: Verifying Checksum [2024-11-12T01:19:39.685Z] ec43610c2a17: Download complete [2024-11-12T01:19:39.685Z] 5d3b04190fa2: Verifying Checksum [2024-11-12T01:19:39.685Z] 5d3b04190fa2: Download complete [2024-11-12T01:19:39.943Z] 5eb5b503b376: Verifying Checksum [2024-11-12T01:19:39.943Z] 5eb5b503b376: Download complete [2024-11-12T01:19:40.509Z] 2f39f015ded8: Download complete [2024-11-12T01:19:41.076Z] 5eb5b503b376: Pull complete [2024-11-12T01:19:41.333Z] 5c69ac0246d0: Pull complete [2024-11-12T01:19:41.592Z] ec43610c2a17: Pull complete [2024-11-12T01:19:41.592Z] 3a2ae6a8a46f: Pull complete [2024-11-12T01:19:41.852Z] 33b1e0a273af: Pull complete [2024-11-12T01:19:41.852Z] 5d3b04190fa2: Pull complete [2024-11-12T01:19:46.032Z] 2f39f015ded8: Pull complete [2024-11-12T01:19:46.032Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-12T01:19:46.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-12T01:19:46.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-12T01:19:46.290Z] prd-ubuntu20.04-docker-8c-8g-26217 does not seem to be running inside a container [2024-11-12T01:19:46.315Z] $ 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-710 -v /w/workspace/gexfoundry_device-mqtt-go_PR-710:/w/workspace/gexfoundry_device-mqtt-go_PR-710:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-12T01:19:51.521Z] $ docker top 5cc1608d88a0cf878e14fc0d00ecca9a9f0a16028e835c342c15850c8f7be3fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:19:52.028Z] ---> job-cost.sh [2024-11-12T01:19:52.028Z] lf-activate-venv: SKIPPING [2024-11-12T01:19:52.028Z] INFO: No Stack... [2024-11-12T01:19:52.292Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-12T01:19:52.551Z] INFO: Archiving Costs [Pipeline] sh [2024-11-12T01:19:52.873Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-710/archives/cost.csv [2024-11-12T01:19:52.874Z] + cut -d, -f6 [Pipeline] lock [2024-11-12T01:19:52.922Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-710-1-stack-cost] [2024-11-12T01:19:52.929Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-710-1-stack-cost] did not exist. Created. [2024-11-12T01:19:52.935Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-710-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-12T01:19:53.345Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-12T01:19:53.401Z] Stashed 1 file(s) [Pipeline] } [2024-11-12T01:19:53.438Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-710-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-12T01:19:53.531Z] $ docker stop --time=1 5cc1608d88a0cf878e14fc0d00ecca9a9f0a16028e835c342c15850c8f7be3fb [2024-11-12T01:19:54.674Z] $ docker rm -f --volumes 5cc1608d88a0cf878e14fc0d00ecca9a9f0a16028e835c342c15850c8f7be3fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-12T01:20:44.079Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26218 in /w/workspace/gexfoundry_device-mqtt-go_PR-710 [Pipeline] { [Pipeline] ws [2024-11-12T01:20:44.146Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-11-12T01:20:47.253Z] The recommended git tool is: git [2024-11-12T01:20:53.405Z] using credential edgex-jenkins-ssh [2024-11-12T01:20:53.432Z] Cloning the remote Git repository [2024-11-12T01:20:53.491Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-12T01:20:53.632Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-11-12T01:20:53.808Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-12T01:20:53.809Z] > git --version # timeout=10 [2024-11-12T01:20:53.839Z] > git --version # 'git version 2.25.1' [2024-11-12T01:20:53.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-12T01:20:54.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-12T01:20:57.297Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-12T01:20:57.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-12T01:20:58.516Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-12T01:20:58.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-12T01:20:58.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-12T01:20:58.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/710/head:refs/remotes/origin/PR-710 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-12T01:20:59.124Z] Merging remotes/origin/main commit 05dffbfea524d4e44629aea546393e9ff3734411 into PR head commit 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [2024-11-12T01:20:59.427Z] Merge succeeded, producing 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [2024-11-12T01:20:59.428Z] Checking out Revision 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 (PR-710) [2024-11-12T01:21:00.102Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-12T01:21:00.160Z] > git --version # timeout=10 [2024-11-12T01:21:00.174Z] > git --version # 'git version 2.25.1' [2024-11-12T01:21:00.199Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-12T01:20:59.141Z] > git config core.sparsecheckout # timeout=10 [2024-11-12T01:20:59.216Z] > git checkout -f 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 # timeout=10 [2024-11-12T01:20:59.318Z] > git remote # timeout=10 [2024-11-12T01:20:59.340Z] > git config --get remote.origin.url # timeout=10 [2024-11-12T01:20:59.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-12T01:20:59.381Z] > git merge 05dffbfea524d4e44629aea546393e9ff3734411 # timeout=10 [2024-11-12T01:20:59.407Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-12T01:20:59.432Z] > git config core.sparsecheckout # timeout=10 [2024-11-12T01:20:59.447Z] > git checkout -f 9ed79b965d6d3763653c3cf8eb75c300dd0420a6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-12T01:21:05.305Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-12T01:21:05.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-12T01:21:05.305Z] Dload Upload Total Spent Left Speed [2024-11-12T01:21:05.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86093 0 --:--:-- --:--:-- --:--:-- 86093 [Pipeline] sh [2024-11-12T01:21:05.662Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-12T01:21:06.046Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-12T01:21:06.046Z] + sudo tee /etc/docker/daemon.new [2024-11-12T01:21:06.046Z] { [2024-11-12T01:21:06.046Z] "registry-mirrors": [ [2024-11-12T01:21:06.046Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-12T01:21:06.046Z] ], [2024-11-12T01:21:06.046Z] "bip": "10.250.0.254/24", [2024-11-12T01:21:06.046Z] "hosts": [ [2024-11-12T01:21:06.046Z] "tcp://0.0.0.0:5555", [2024-11-12T01:21:06.046Z] "unix:///var/run/docker.sock" [2024-11-12T01:21:06.046Z] ], [2024-11-12T01:21:06.046Z] "mtu": 1458, [2024-11-12T01:21:06.046Z] "selinux-enabled": true, [2024-11-12T01:21:06.046Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-12T01:21:06.046Z] } [Pipeline] sh [2024-11-12T01:21:06.423Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-12T01:21:06.791Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-12T01:21:25.158Z] provisioning config files... [2024-11-12T01:21:25.192Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7829442560831818915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:21:25.742Z] ---> ****-login.sh [2024-11-12T01:21:25.742Z] nexus3.edgexfoundry.org:10001 [2024-11-12T01:21:26.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:21:26.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:21:26.613Z] Configure a credential helper to remove this warning. See [2024-11-12T01:21:26.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:21:26.613Z] [2024-11-12T01:21:26.613Z] Login Succeeded [2024-11-12T01:21:26.613Z] nexus3.edgexfoundry.org:10002 [2024-11-12T01:21:26.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:21:26.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:21:26.888Z] Configure a credential helper to remove this warning. See [2024-11-12T01:21:26.888Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:21:26.888Z] [2024-11-12T01:21:26.888Z] Login Succeeded [2024-11-12T01:21:26.888Z] nexus3.edgexfoundry.org:10003 [2024-11-12T01:21:27.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:21:27.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:21:27.448Z] Configure a credential helper to remove this warning. See [2024-11-12T01:21:27.448Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:21:27.448Z] [2024-11-12T01:21:27.448Z] Login Succeeded [2024-11-12T01:21:27.448Z] nexus3.edgexfoundry.org:10004 [2024-11-12T01:21:27.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:21:27.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:21:27.719Z] Configure a credential helper to remove this warning. See [2024-11-12T01:21:27.719Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:21:27.719Z] [2024-11-12T01:21:27.719Z] Login Succeeded [2024-11-12T01:21:27.719Z] ****.io [2024-11-12T01:21:27.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-12T01:21:28.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-12T01:21:28.258Z] Configure a credential helper to remove this warning. See [2024-11-12T01:21:28.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-12T01:21:28.258Z] [2024-11-12T01:21:28.258Z] Login Succeeded [2024-11-12T01:21:28.258Z] ---> ****-login.sh ends [Pipeline] } [2024-11-12T01:21:28.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-12T01:21:28.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-12T01:21:28.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-12T01:21:28.873Z] ========================================================= [2024-11-12T01:21:28.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-12T01:21:28.873Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:21:29.418Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-12T01:21:29.690Z] Sending build context to Docker daemon 10.61MB [2024-11-12T01:21:29.962Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-12T01:21:29.962Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-12T01:21:29.962Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-12T01:21:30.238Z] cf04c63912e1: Pulling fs layer [2024-11-12T01:21:30.238Z] 55b35a11ae5e: Pulling fs layer [2024-11-12T01:21:30.238Z] a37a00ec5f00: Pulling fs layer [2024-11-12T01:21:30.238Z] 50b3750afda1: Pulling fs layer [2024-11-12T01:21:30.238Z] 4f4fb700ef54: Pulling fs layer [2024-11-12T01:21:30.239Z] 50b3750afda1: Waiting [2024-11-12T01:21:30.239Z] 80978eb59214: Pulling fs layer [2024-11-12T01:21:30.239Z] c9f46d7d2bd2: Pulling fs layer [2024-11-12T01:21:30.239Z] c5a475d317c9: Pulling fs layer [2024-11-12T01:21:30.239Z] 4f4fb700ef54: Waiting [2024-11-12T01:21:30.239Z] 80978eb59214: Waiting [2024-11-12T01:21:30.239Z] c9f46d7d2bd2: Waiting [2024-11-12T01:21:30.239Z] c5a475d317c9: Waiting [2024-11-12T01:21:30.239Z] 55b35a11ae5e: Verifying Checksum [2024-11-12T01:21:30.239Z] 55b35a11ae5e: Download complete [2024-11-12T01:21:30.239Z] 50b3750afda1: Verifying Checksum [2024-11-12T01:21:30.239Z] 50b3750afda1: Download complete [2024-11-12T01:21:30.239Z] 4f4fb700ef54: Download complete [2024-11-12T01:21:30.239Z] 80978eb59214: Verifying Checksum [2024-11-12T01:21:30.239Z] 80978eb59214: Download complete [2024-11-12T01:21:30.239Z] cf04c63912e1: Verifying Checksum [2024-11-12T01:21:30.239Z] cf04c63912e1: Download complete [2024-11-12T01:21:30.831Z] c5a475d317c9: Download complete [2024-11-12T01:21:31.101Z] cf04c63912e1: Pull complete [2024-11-12T01:21:31.691Z] 55b35a11ae5e: Pull complete [2024-11-12T01:21:32.281Z] a37a00ec5f00: Download complete [2024-11-12T01:21:33.244Z] c9f46d7d2bd2: Verifying Checksum [2024-11-12T01:21:33.244Z] c9f46d7d2bd2: Download complete [2024-11-12T01:21:45.579Z] a37a00ec5f00: Pull complete [2024-11-12T01:21:45.579Z] 50b3750afda1: Pull complete [2024-11-12T01:21:45.579Z] 4f4fb700ef54: Pull complete [2024-11-12T01:21:45.579Z] 80978eb59214: Pull complete [2024-11-12T01:21:53.827Z] c9f46d7d2bd2: Pull complete [2024-11-12T01:21:55.249Z] c5a475d317c9: Pull complete [2024-11-12T01:21:55.249Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-12T01:21:55.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-12T01:21:55.249Z] ---> be29e6b0f0d4 [2024-11-12T01:21:55.249Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-12T01:21:56.210Z] ---> Running in e3bfc9be30fb [2024-11-12T01:21:56.210Z] Removing intermediate container e3bfc9be30fb [2024-11-12T01:21:56.210Z] ---> 7fc5a7da2712 [2024-11-12T01:21:56.210Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-12T01:21:56.477Z] ---> Running in aea41b883ec4 [2024-11-12T01:21:56.744Z] Removing intermediate container aea41b883ec4 [2024-11-12T01:21:56.744Z] ---> 36b2b40adce4 [2024-11-12T01:21:56.744Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-12T01:21:56.744Z] ---> Running in 42b2c44892e5 [2024-11-12T01:21:57.011Z] Removing intermediate container 42b2c44892e5 [2024-11-12T01:21:57.011Z] ---> de3a3070dcea [2024-11-12T01:21:57.011Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-12T01:21:57.279Z] ---> Running in 6b7176017124 [2024-11-12T01:21:57.547Z] Removing intermediate container 6b7176017124 [2024-11-12T01:21:57.547Z] ---> dcce932f8a8d [2024-11-12T01:21:57.547Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-12T01:21:57.547Z] ---> Running in 6305ae7e3727 [2024-11-12T01:21:58.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-12T01:21:59.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-12T01:22:00.639Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-12T01:22:00.639Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-12T01:22:00.639Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-12T01:22:00.639Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-12T01:22:00.639Z] Executing busybox-1.36.1-r29.trigger [2024-11-12T01:22:00.639Z] OK: 242 MiB in 58 packages [2024-11-12T01:22:01.613Z] Removing intermediate container 6305ae7e3727 [2024-11-12T01:22:01.613Z] ---> a922dc22e0cf [2024-11-12T01:22:01.613Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-12T01:22:01.886Z] ---> Running in 8e18188b9181 [2024-11-12T01:22:02.157Z] Removing intermediate container 8e18188b9181 [2024-11-12T01:22:02.157Z] ---> 33a5bfd32873 [2024-11-12T01:22:02.157Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-12T01:22:02.746Z] ---> e9751eca5f67 [2024-11-12T01:22:02.746Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-12T01:22:02.746Z] ---> Running in f3659bee0f81 [2024-11-12T01:23:54.468Z] Removing intermediate container f3659bee0f81 [2024-11-12T01:23:54.468Z] ---> 293fa02d04c4 [2024-11-12T01:23:54.468Z] Step 11/12 : COPY . . [2024-11-12T01:23:54.468Z] ---> f37b0dcfc256 [2024-11-12T01:23:54.468Z] Step 12/12 : RUN $MAKE [2024-11-12T01:23:54.468Z] ---> Running in dd71dcf57fcd [2024-11-12T01:23:54.468Z] noop [2024-11-12T01:23:54.468Z] Removing intermediate container dd71dcf57fcd [2024-11-12T01:23:54.468Z] ---> 675cb3abf32a [2024-11-12T01:23:54.468Z] Successfully built 675cb3abf32a [2024-11-12T01:23:54.468Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:23:54.982Z] + docker inspect -f . ci-base-image-arm64 [2024-11-12T01:23:54.982Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-12T01:23:55.288Z] prd-ubuntu20.04-docker-arm64-4c-16g-26218 does not seem to be running inside a container [2024-11-12T01:23:55.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-12T01:23:56.544Z] $ docker top f44d1b8b26a1addab9e897e702136f87054ecb4fc34fb8858f654b1d267f1460 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-12T01:23:57.431Z] + go version [2024-11-12T01:23:57.431Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-12T01:23:57.467Z] $ docker stop --time=1 f44d1b8b26a1addab9e897e702136f87054ecb4fc34fb8858f654b1d267f1460 [2024-11-12T01:23:59.097Z] $ docker rm -f --volumes f44d1b8b26a1addab9e897e702136f87054ecb4fc34fb8858f654b1d267f1460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:24:00.025Z] + docker inspect -f . ci-base-image-arm64 [2024-11-12T01:24:00.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-12T01:24:00.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-26218 does not seem to be running inside a container [2024-11-12T01:24:00.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-12T01:24:02.335Z] $ docker top 037867dc2857a31e5add71bff516ccd0afb843535e4a74ada35467e27f669eb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-12T01:24:02.924Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-12T01:24:03.332Z] + make test [2024-11-12T01:24:03.332Z] go test ./... -coverprofile=coverage.out ./... [2024-11-12T01:24:09.988Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-12T01:28:02.097Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-12T01:28:10.307Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-12T01:28:10.307Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 22.8% of statements [2024-11-12T01:28:10.307Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-12T01:28:10.307Z] go vet ./... [2024-11-12T01:29:06.711Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-12T01:29:06.711Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-12T01:29:06.711Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-12T01:29:06.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-12T01:29:06.940Z] $ docker stop --time=1 037867dc2857a31e5add71bff516ccd0afb843535e4a74ada35467e27f669eb1 [2024-11-12T01:29:08.870Z] $ docker rm -f --volumes 037867dc2857a31e5add71bff516ccd0afb843535e4a74ada35467e27f669eb1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-12T01:29:10.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-12T01:29:10.642Z] Warning: overwriting stash ‘coverage-report’ [2024-11-12T01:29:11.221Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-12T01:29:11.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-12T01:29:12.239Z] + ls -al . [2024-11-12T01:29:12.239Z] total 248 [2024-11-12T01:29:12.239Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 01:24 . [2024-11-12T01:29:12.239Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 01:20 .. [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 12 01:20 .dockerignore [2024-11-12T01:29:12.239Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 01:21 .git [2024-11-12T01:29:12.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 01:20 .github [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 12 01:20 .gitignore [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 12 01:20 .golangci.yml [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 12 01:20 Attribution.txt [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 12 01:20 CHANGELOG.md [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 12 01:20 Dockerfile [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 12 01:20 GOVERNANCE.md [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 12 01:20 Jenkinsfile [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 12 01:20 LICENSE [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 12 01:20 Makefile [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 12 01:20 OWNERS.md [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 12 01:20 README.md [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 12 01:16 VERSION [2024-11-12T01:29:12.239Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 01:20 bin [2024-11-12T01:29:12.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 01:20 cmd [2024-11-12T01:29:12.239Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 12 01:28 coverage.out [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 6321 Nov 12 01:20 go.mod [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 87337 Nov 12 01:20 go.sum [2024-11-12T01:29:12.239Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 01:20 internal [2024-11-12T01:29:12.239Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 01:20 mock [2024-11-12T01:29:12.239Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 12 01:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:29:12.710Z] + 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=9ed79b965d6d3763653c3cf8eb75c300dd0420a6 --label arch=arm64 --label version=0.0.0 . [2024-11-12T01:29:13.296Z] Sending build context to Docker daemon 10.63MB [2024-11-12T01:29:13.296Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-12T01:29:13.296Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-12T01:29:13.296Z] ---> 675cb3abf32a [2024-11-12T01:29:13.296Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-12T01:29:13.296Z] ---> Running in 4b0f23e38e13 [2024-11-12T01:29:13.569Z] Removing intermediate container 4b0f23e38e13 [2024-11-12T01:29:13.569Z] ---> 6857c48d1983 [2024-11-12T01:29:13.569Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-12T01:29:13.837Z] ---> Running in 4e0cdbe2c4de [2024-11-12T01:29:14.105Z] Removing intermediate container 4e0cdbe2c4de [2024-11-12T01:29:14.105Z] ---> c06577ea052a [2024-11-12T01:29:14.105Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-12T01:29:14.105Z] ---> Running in c8f24bc02375 [2024-11-12T01:29:14.372Z] Removing intermediate container c8f24bc02375 [2024-11-12T01:29:14.372Z] ---> f920977b9ba6 [2024-11-12T01:29:14.372Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-12T01:29:14.643Z] ---> Running in 92a50be4c526 [2024-11-12T01:29:14.910Z] Removing intermediate container 92a50be4c526 [2024-11-12T01:29:14.910Z] ---> 5c03f5d08083 [2024-11-12T01:29:14.910Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-12T01:29:14.910Z] ---> Running in 031aecff290b [2024-11-12T01:29:15.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-12T01:29:16.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-12T01:29:18.414Z] OK: 242 MiB in 58 packages [2024-11-12T01:29:19.831Z] Removing intermediate container 031aecff290b [2024-11-12T01:29:19.831Z] ---> 178920972b24 [2024-11-12T01:29:19.831Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-12T01:29:19.831Z] ---> Running in 9a8271f2792f [2024-11-12T01:29:20.100Z] Removing intermediate container 9a8271f2792f [2024-11-12T01:29:20.100Z] ---> c4d8c6a7aac4 [2024-11-12T01:29:20.100Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-12T01:29:20.689Z] ---> 5b602e57dde5 [2024-11-12T01:29:20.689Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-12T01:29:20.689Z] ---> Running in e16d8dfa2267 [2024-11-12T01:29:23.278Z] Removing intermediate container e16d8dfa2267 [2024-11-12T01:29:23.278Z] ---> 7650d727f32f [2024-11-12T01:29:23.278Z] Step 11/25 : COPY . . [2024-11-12T01:29:24.690Z] ---> d719d8cf57df [2024-11-12T01:29:24.690Z] Step 12/25 : RUN $MAKE [2024-11-12T01:29:24.690Z] ---> Running in aeeb6936c7cc [2024-11-12T01:29:25.662Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.6 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-12T01:33:18.175Z] Removing intermediate container aeeb6936c7cc [2024-11-12T01:33:18.175Z] ---> 2a15e7fed5cb [2024-11-12T01:33:18.175Z] Step 13/25 : FROM alpine:3.20 [2024-11-12T01:33:18.175Z] 3.20: Pulling from library/alpine [2024-11-12T01:33:18.175Z] cf04c63912e1: Already exists [2024-11-12T01:33:18.175Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-12T01:33:18.175Z] Status: Downloaded newer image for alpine:3.20 [2024-11-12T01:33:18.175Z] ---> c157a85ed455 [2024-11-12T01:33:18.175Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-12T01:33:18.175Z] ---> Running in 8552529d43bb [2024-11-12T01:33:18.175Z] Removing intermediate container 8552529d43bb [2024-11-12T01:33:18.175Z] ---> ed77127fad7c [2024-11-12T01:33:18.175Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-12T01:33:18.175Z] ---> Running in 6fa4ff2ffe44 [2024-11-12T01:33:18.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-12T01:33:18.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-12T01:33:18.175Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-12T01:33:18.175Z] Executing busybox-1.36.1-r29.trigger [2024-11-12T01:33:18.175Z] OK: 9 MiB in 15 packages [2024-11-12T01:33:18.175Z] Removing intermediate container 6fa4ff2ffe44 [2024-11-12T01:33:18.175Z] ---> f4df3298f0cd [2024-11-12T01:33:18.175Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-12T01:33:18.175Z] ---> Running in a3674fe29ac1 [2024-11-12T01:33:18.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-12T01:33:18.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-12T01:33:19.141Z] Upgrading critical system libraries and apk-tools: [2024-11-12T01:33:19.141Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-12T01:33:19.141Z] Executing busybox-1.36.1-r29.trigger [2024-11-12T01:33:19.726Z] Continuing the upgrade transaction with new apk-tools: [2024-11-12T01:33:19.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-12T01:33:19.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-12T01:33:21.397Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-12T01:33:21.397Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-12T01:33:21.397Z] OK: 9 MiB in 15 packages [2024-11-12T01:33:22.356Z] Removing intermediate container a3674fe29ac1 [2024-11-12T01:33:22.356Z] ---> 21e51c207bd1 [2024-11-12T01:33:22.356Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-12T01:33:24.934Z] ---> 33de54943275 [2024-11-12T01:33:24.934Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-12T01:33:25.515Z] ---> 82af0371f2a7 [2024-11-12T01:33:25.515Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-12T01:33:26.924Z] ---> 39a8c27f00d8 [2024-11-12T01:33:26.924Z] Step 20/25 : EXPOSE 59982 [2024-11-12T01:33:26.924Z] ---> Running in fdcf0134b6f2 [2024-11-12T01:33:27.510Z] Removing intermediate container fdcf0134b6f2 [2024-11-12T01:33:27.510Z] ---> 4efbe28724dd [2024-11-12T01:33:27.510Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-12T01:33:27.510Z] ---> Running in dfabdb9a87b8 [2024-11-12T01:33:27.780Z] Removing intermediate container dfabdb9a87b8 [2024-11-12T01:33:27.780Z] ---> fd9f6ec093b9 [2024-11-12T01:33:27.780Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-12T01:33:28.051Z] ---> Running in 1664efc814ac [2024-11-12T01:33:28.325Z] Removing intermediate container 1664efc814ac [2024-11-12T01:33:28.325Z] ---> c163812162f1 [2024-11-12T01:33:28.325Z] Step 23/25 : LABEL arch=arm64 [2024-11-12T01:33:28.325Z] ---> Running in 9760ff414ec0 [2024-11-12T01:33:28.915Z] Removing intermediate container 9760ff414ec0 [2024-11-12T01:33:28.915Z] ---> 9848c54f4362 [2024-11-12T01:33:28.915Z] Step 24/25 : LABEL git_sha=9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [2024-11-12T01:33:28.915Z] ---> Running in 7049802f3b32 [2024-11-12T01:33:29.504Z] Removing intermediate container 7049802f3b32 [2024-11-12T01:33:29.504Z] ---> 4a58ed72e87a [2024-11-12T01:33:29.504Z] Step 25/25 : LABEL version=0.0.0 [2024-11-12T01:33:29.504Z] ---> Running in a7a9a14b8c5b [2024-11-12T01:33:29.774Z] Removing intermediate container a7a9a14b8c5b [2024-11-12T01:33:29.774Z] ---> 35fc79af9111 [2024-11-12T01:33:29.774Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-12T01:33:30.044Z] Successfully built 35fc79af9111 [2024-11-12T01:33:30.044Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:33:30.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-12T01:33:30.986Z] [2024-11-12T01:33:30.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:33:31.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-12T01:33:31.671Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-12T01:33:31.671Z] 8998bd30e6a1: Pulling fs layer [2024-11-12T01:33:31.671Z] 04944245beec: Pulling fs layer [2024-11-12T01:33:31.671Z] 699f458cf7ca: Pulling fs layer [2024-11-12T01:33:31.671Z] 765212b225bb: Pulling fs layer [2024-11-12T01:33:31.671Z] f23df028b6ca: Pulling fs layer [2024-11-12T01:33:31.671Z] d65c8cfc05b1: Pulling fs layer [2024-11-12T01:33:31.671Z] 2437ff75d9bd: Pulling fs layer [2024-11-12T01:33:31.671Z] 765212b225bb: Waiting [2024-11-12T01:33:31.671Z] f23df028b6ca: Waiting [2024-11-12T01:33:31.671Z] d65c8cfc05b1: Waiting [2024-11-12T01:33:31.671Z] 04944245beec: Verifying Checksum [2024-11-12T01:33:31.671Z] 04944245beec: Download complete [2024-11-12T01:33:31.671Z] 765212b225bb: Download complete [2024-11-12T01:33:31.671Z] f23df028b6ca: Download complete [2024-11-12T01:33:31.671Z] d65c8cfc05b1: Verifying Checksum [2024-11-12T01:33:31.671Z] d65c8cfc05b1: Download complete [2024-11-12T01:33:31.944Z] 699f458cf7ca: Verifying Checksum [2024-11-12T01:33:31.944Z] 699f458cf7ca: Download complete [2024-11-12T01:33:32.529Z] 8998bd30e6a1: Verifying Checksum [2024-11-12T01:33:32.529Z] 8998bd30e6a1: Download complete [2024-11-12T01:33:35.115Z] 2437ff75d9bd: Verifying Checksum [2024-11-12T01:33:35.115Z] 2437ff75d9bd: Download complete [2024-11-12T01:33:37.055Z] 8998bd30e6a1: Pull complete [2024-11-12T01:33:37.638Z] 04944245beec: Pull complete [2024-11-12T01:33:39.045Z] 699f458cf7ca: Pull complete [2024-11-12T01:33:39.310Z] 765212b225bb: Pull complete [2024-11-12T01:33:39.907Z] f23df028b6ca: Pull complete [2024-11-12T01:33:40.175Z] d65c8cfc05b1: Pull complete [2024-11-12T01:33:58.377Z] 2437ff75d9bd: Pull complete [2024-11-12T01:33:58.377Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-12T01:33:58.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-12T01:33:58.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-12T01:33:58.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-26218 does not seem to be running inside a container [2024-11-12T01:33:58.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-12T01:34:01.858Z] $ docker top 2d55f45ac5d3ed1f62c13dd3c54e1ecf21f42a463a562b99bea27713f1526cd5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:34:02.789Z] ---> job-cost.sh [2024-11-12T01:34:02.789Z] lf-activate-venv: SKIPPING [2024-11-12T01:34:02.789Z] INFO: No Stack... [2024-11-12T01:34:04.739Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-12T01:34:05.337Z] INFO: Archiving Costs [Pipeline] sh [2024-11-12T01:34:06.012Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-11-12T01:34:06.012Z] + cut -d, -f6 [Pipeline] lock [2024-11-12T01:34:06.112Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-710-1-stack-cost] [2024-11-12T01:34:06.119Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-710-1-stack-cost] did not exist. Created. [2024-11-12T01:34:06.126Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-710-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-12T01:34:06.888Z] /w/workspace/device-mqtt-go/1@tmp/durable-d4d269ae/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-12T01:34:07.571Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-12T01:34:07.615Z] Warning: overwriting stash ‘stack-cost’ [2024-11-12T01:34:07.671Z] Stashed 1 file(s) [Pipeline] } [2024-11-12T01:34:07.689Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-710-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-12T01:34:07.782Z] $ docker stop --time=1 2d55f45ac5d3ed1f62c13dd3c54e1ecf21f42a463a562b99bea27713f1526cd5 [2024-11-12T01:34:09.359Z] $ docker rm -f --volumes 2d55f45ac5d3ed1f62c13dd3c54e1ecf21f42a463a562b99bea27713f1526cd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-12T01:34:10.605Z] provisioning config files... [2024-11-12T01:34:10.615Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp/config11613792488578541688tmp [Pipeline] { [Pipeline] sh [2024-11-12T01:34:10.961Z] + set +x [2024-11-12T01:34:10.961Z] + + bashcurl -s -s -- https://codecov.io/bash [2024-11-12T01:34:10.961Z] [2024-11-12T01:34:11.224Z] [2024-11-12T01:34:11.224Z] _____ _ [2024-11-12T01:34:11.224Z] / ____| | | [2024-11-12T01:34:11.224Z] | | ___ __| | ___ ___ _____ __ [2024-11-12T01:34:11.224Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-12T01:34:11.224Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-12T01:34:11.224Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-12T01:34:11.224Z] Bash-1.0.6 [2024-11-12T01:34:11.224Z] [2024-11-12T01:34:11.224Z] [2024-11-12T01:34:11.224Z] ==> git version 2.25.1 found [2024-11-12T01:34:11.224Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-12T01:34:11.224Z] Release-Date: 2020-01-08 [2024-11-12T01:34:11.224Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-12T01:34:11.224Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-12T01:34:11.224Z] ==> Jenkins CI detected. [2024-11-12T01:34:11.224Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-710 [2024-11-12T01:34:11.224Z] project root: . [2024-11-12T01:34:11.224Z] --> token set from env [2024-11-12T01:34:11.224Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-12T01:34:11.224Z] ==> Running gcov in . (disable via -X gcov) [2024-11-12T01:34:11.224Z] ==> Python coveragepy not found [2024-11-12T01:34:11.224Z] ==> Searching for coverage reports in: [2024-11-12T01:34:11.224Z] + . [2024-11-12T01:34:11.224Z] -> Found 1 reports [2024-11-12T01:34:11.224Z] ==> Detecting git/mercurial file structure [2024-11-12T01:34:11.224Z] ==> Reading reports [2024-11-12T01:34:11.224Z] + ./coverage.out bytes=21039 [2024-11-12T01:34:11.224Z] ==> Appending adjustments [2024-11-12T01:34:11.224Z] https://docs.codecov.io/docs/fixing-reports [2024-11-12T01:34:11.224Z] + Found adjustments [2024-11-12T01:34:11.224Z] ==> Gzipping contents [2024-11-12T01:34:11.224Z] 4.0K /tmp/codecov.hKvsm8.gz [2024-11-12T01:34:11.224Z] ==> Uploading reports [2024-11-12T01:34:11.224Z] url: https://codecov.io [2024-11-12T01:34:11.224Z] query: branch=PR-710&commit=9ed79b965d6d3763653c3cf8eb75c300dd0420a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-710%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=710&job=&cmd_args= [2024-11-12T01:34:11.224Z] -> Pinging Codecov [2024-11-12T01:34:11.224Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-710&commit=9ed79b965d6d3763653c3cf8eb75c300dd0420a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-710%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=710&job=&cmd_args= [2024-11-12T01:34:11.484Z] -> Uploading to [2024-11-12T01:34:11.484Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/9ed79b965d6d3763653c3cf8eb75c300dd0420a6/51b73296-9951-4466-80ac-80dc793014b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241112%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241112T013411Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=579894029ec4fac33379b187a157c2e69c58408793418645a077594198644041 [2024-11-12T01:34:11.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-12T01:34:11.484Z] Dload Upload Total Spent Left Speed [2024-11-12T01:34:11.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 15490 --:--:-- --:--:-- --:--:-- 15490 [2024-11-12T01:34:11.744Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/9ed79b965d6d3763653c3cf8eb75c300dd0420a6 [Pipeline] } [2024-11-12T01:34:11.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-12T01:34:14.072Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-710/archives ] [2024-11-12T01:34:14.072Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-710/archives [2024-11-12T01:34:14.072Z] total 16 [2024-11-12T01:34:14.072Z] drwxr-xr-x 3 root root 4096 Nov 12 01:19 . [2024-11-12T01:34:14.072Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 12 01:19 .. [2024-11-12T01:34:14.072Z] drwxr-xr-x 2 root root 4096 Nov 12 01:19 cost [2024-11-12T01:34:14.072Z] -rw-r--r-- 1 root root 86 Nov 12 01:19 cost.csv [2024-11-12T01:34:14.072Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-710/archives [2024-11-12T01:34:14.072Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-710/archives [2024-11-12T01:34:14.072Z] total 16 [2024-11-12T01:34:14.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 12 01:19 . [2024-11-12T01:34:14.072Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 12 01:19 .. [2024-11-12T01:34:14.072Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 12 01:19 cost [2024-11-12T01:34:14.072Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 12 01:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:34:14.469Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:34:15.445Z] ---> package-listing.sh [2024-11-12T01:34:15.445Z] ++ facter osfamily [2024-11-12T01:34:15.445Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-12T01:34:15.707Z] + OS_FAMILY=debian [2024-11-12T01:34:15.707Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-710 [2024-11-12T01:34:15.707Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-12T01:34:15.707Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-12T01:34:15.707Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-12T01:34:15.707Z] + PACKAGES=/tmp/packages_start.txt [2024-11-12T01:34:15.707Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-710 ']' [2024-11-12T01:34:15.707Z] + PACKAGES=/tmp/packages_end.txt [2024-11-12T01:34:15.707Z] + case "${OS_FAMILY}" in [2024-11-12T01:34:15.707Z] + dpkg -l [2024-11-12T01:34:15.707Z] + grep '^ii' [2024-11-12T01:34:15.707Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-12T01:34:15.707Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-12T01:34:15.707Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-12T01:34:15.707Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-710 ']' [2024-11-12T01:34:15.707Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-710/archives/ [2024-11-12T01:34:15.707Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-710/archives/ [Pipeline] echo [2024-11-12T01:34:15.753Z] 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-710/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-12T01:34:16.058Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-12T01:34:16.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-12T01:34:16.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-12T01:34:16.889Z] prd-ubuntu20.04-docker-8c-8g-26217 does not seem to be running inside a container [2024-11-12T01:34:16.900Z] $ 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-710/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-710 -v /w/workspace/gexfoundry_device-mqtt-go_PR-710:/w/workspace/gexfoundry_device-mqtt-go_PR-710:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-12T01:34:17.083Z] $ docker top e60924f9d1343d8edb2a82d838604473aceef5711015416950a1ad869163e80c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-12T01:34:17.511Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-12T01:34:17.824Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-12T01:34:18.136Z] + ls /var/log/sa-host [2024-11-12T01:34:18.136Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-12T01:34:18.392Z] provisioning config files... [2024-11-12T01:34:18.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-710@tmp/config17875693176590722142tmp [Pipeline] { [Pipeline] echo [2024-11-12T01:34:18.480Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:34:18.817Z] ---> create-netrc.sh [Pipeline] } [2024-11-12T01:34:18.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:34:19.269Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-12T01:34:19.310Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:34:19.637Z] ---> sudo-logs.sh [2024-11-12T01:34:19.637Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-12T01:34:19.746Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:34:20.074Z] ---> job-cost.sh [2024-11-12T01:34:20.074Z] lf-activate-venv: SKIPPING [2024-11-12T01:34:20.074Z] DEBUG: total: 0.2199999988079071 [2024-11-12T01:34:20.074Z] INFO: Retrieving Stack Cost... [2024-11-12T01:34:20.333Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-12T01:34:21.782Z] INFO: Archiving Costs [Pipeline] echo [2024-11-12T01:34:21.830Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-12T01:34:22.153Z] ---> logs-deploy.sh [2024-11-12T01:34:22.154Z] lf-activate-venv: SKIPPING [2024-11-12T01:34:22.154Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-710/1 [2024-11-12T01:34:22.154Z] INFO: archiving workspace using pattern(s): [2024-11-12T01:34:23.089Z] Archives upload complete. [2024-11-12T01:34:23.089Z] INFO: archiving logs to Nexus