Pull request #706 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f1c88d5160692d8ac429d026c5c099452c0f276c+4b0ee577561404748c59762cefd7cd847fb7a9a9 (74b59b682aba0c4425600de2a391115b58eb2fd9) 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-ssh16798883057515053992.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-ssh9555806935894348597.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-706/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-706/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh955129262994156269.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-706/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6601992110982889827.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-ssh5656862043062399557.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-706/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-706/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4564513551434852739.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24263 in /w/workspace/gexfoundry_device-mqtt-go_PR-706 [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-706 # 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 4b0ee577561404748c59762cefd7cd847fb7a9a9 into PR head commit f1c88d5160692d8ac429d026c5c099452c0f276c Merge succeeded, producing f1c88d5160692d8ac429d026c5c099452c0f276c Checking out Revision f1c88d5160692d8ac429d026c5c099452c0f276c (PR-706) > 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/706/head:refs/remotes/origin/PR-706 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1c88d5160692d8ac429d026c5c099452c0f276c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4b0ee577561404748c59762cefd7cd847fb7a9a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1c88d5160692d8ac429d026c5c099452c0f276c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-01T01:55:24.628Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-01T01:55:24.845Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-01T01:55:24.976Z] ========================================================= [2024-11-01T01:55:24.976Z] EdgeX Global Pipelines Version Info [2024-11-01T01:55:24.976Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-01T01:55:25.741Z] ------------------- [2024-11-01T01:55:25.741Z] stable info: [2024-11-01T01:55:25.741Z] ------------------- [2024-11-01T01:55:25.741Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-01T01:55:25.741Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-01T01:55:25.741Z] Message: update stable to v1.0.265 [2024-11-01T01:55:26.314Z] ------------------- [2024-11-01T01:55:26.314Z] experimental info: [2024-11-01T01:55:26.314Z] ------------------- [2024-11-01T01:55:26.314Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-01T01:55:26.314Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-01T01:55:26.314Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-01T01:55:26.538Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-11-01T01:55:26.599Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-11-01T01:55:26.656Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-01T01:55:26.714Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-01T01:55:26.769Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-01T01:55:26.823Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-01T01:55:26.881Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-01T01:55:26.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-01T01:55:26.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-01T01:55:27.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-01T01:55:27.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-01T01:55:27.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-11-01T01:55:27.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-01T01:55:27.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-01T01:55:27.331Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-01T01:55:27.386Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-01T01:55:27.442Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-01T01:55:27.493Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-01T01:55:27.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-01T01:55:27.607Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-01T01:55:27.668Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-01T01:55:27.729Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-01T01:55:27.785Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-01T01:55:27.842Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-01T01:55:27.899Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-01T01:55:27.954Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-01T01:55:28.006Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-01T01:55:28.062Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-706 [Pipeline] echo [2024-11-01T01:55:28.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-706 [Pipeline] echo [2024-11-01T01:55:28.177Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-706 [Pipeline] echo [2024-11-01T01:55:28.228Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1c88d5160692d8ac429d026c5c099452c0f276c [Pipeline] echo [2024-11-01T01:55:28.277Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1c88d5 [Pipeline] echo [2024-11-01T01:55:28.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T01:55:28.470Z] provisioning config files... [2024-11-01T01:55:28.487Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp/config15288572013756647628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T01:55:28.874Z] ---> ****-login.sh [2024-11-01T01:55:28.874Z] nexus3.edgexfoundry.org:10001 [2024-11-01T01:55:29.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:29.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:29.136Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:29.136Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:29.136Z] [2024-11-01T01:55:29.136Z] Login Succeeded [2024-11-01T01:55:29.136Z] nexus3.edgexfoundry.org:10002 [2024-11-01T01:55:29.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:29.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:29.398Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:29.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:29.398Z] [2024-11-01T01:55:29.398Z] Login Succeeded [2024-11-01T01:55:29.398Z] nexus3.edgexfoundry.org:10003 [2024-11-01T01:55:29.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:29.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:29.398Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:29.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:29.398Z] [2024-11-01T01:55:29.398Z] Login Succeeded [2024-11-01T01:55:29.398Z] nexus3.edgexfoundry.org:10004 [2024-11-01T01:55:29.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:29.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:29.660Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:29.660Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:29.660Z] [2024-11-01T01:55:29.660Z] Login Succeeded [2024-11-01T01:55:29.660Z] ****.io [2024-11-01T01:55:29.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:29.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:29.922Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:29.922Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:29.922Z] [2024-11-01T01:55:29.922Z] Login Succeeded [2024-11-01T01:55:29.922Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T01:55:29.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-01T01:55:30.649Z] + git rev-list -1 --merges f1c88d5160692d8ac429d026c5c099452c0f276c~1..f1c88d5160692d8ac429d026c5c099452c0f276c [Pipeline] echo [2024-11-01T01:55:30.704Z] -----------> git rev-list -1 --merges f1c88d5160692d8ac429d026c5c099452c0f276c~1..f1c88d5160692d8ac429d026c5c099452c0f276c f1c88d5160692d8ac429d026c5c099452c0f276c [false] [Pipeline] sh [2024-11-01T01:55:31.025Z] + git log --format=format:%s -1 f1c88d5160692d8ac429d026c5c099452c0f276c [Pipeline] echo [2024-11-01T01:55:31.066Z] ========================================================= [2024-11-01T01:55:31.066Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-01T01:55:31.066Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T01:55:31.527Z] + git log --format=format:%s -1 f1c88d5160692d8ac429d026c5c099452c0f276c [Pipeline] echo [2024-11-01T01:55:31.570Z] [semverPrep] GIT_COMMIT: f1c88d5160692d8ac429d026c5c099452c0f276c, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-01T01:55:31.614Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-01T01:55:32.025Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-01T01:55:32.025Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-01T01:55:32.025Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-01T01:55:32.025Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-01T01:55:32.025Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-01T01:55:32.025Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-01T01:55:32.025Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T01:55:32.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T01:55:32.547Z] [2024-11-01T01:55:32.547Z] 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-01T01:55:32.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T01:55:32.941Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-01T01:55:32.941Z] b85a868b505f: Pulling fs layer [2024-11-01T01:55:32.941Z] e2be974225ed: Pulling fs layer [2024-11-01T01:55:32.941Z] 339a4e72a1f5: Pulling fs layer [2024-11-01T01:55:32.941Z] 988bab9f4d93: Pulling fs layer [2024-11-01T01:55:32.941Z] 1469e6f7b9e6: Pulling fs layer [2024-11-01T01:55:32.941Z] eaf3925da568: Pulling fs layer [2024-11-01T01:55:32.941Z] bab4dde63d76: Pulling fs layer [2024-11-01T01:55:32.941Z] bde34c3a00c8: Pulling fs layer [2024-11-01T01:55:32.941Z] b352a97aabf1: Pulling fs layer [2024-11-01T01:55:32.941Z] 4872d77fe225: Pulling fs layer [2024-11-01T01:55:32.941Z] 5851b861e8e6: Pulling fs layer [2024-11-01T01:55:32.941Z] eaf3925da568: Waiting [2024-11-01T01:55:32.941Z] bab4dde63d76: Waiting [2024-11-01T01:55:32.941Z] 4872d77fe225: Waiting [2024-11-01T01:55:32.941Z] bde34c3a00c8: Waiting [2024-11-01T01:55:32.941Z] 5851b861e8e6: Waiting [2024-11-01T01:55:32.941Z] 1469e6f7b9e6: Waiting [2024-11-01T01:55:32.941Z] b352a97aabf1: Waiting [2024-11-01T01:55:32.941Z] 988bab9f4d93: Waiting [2024-11-01T01:55:32.941Z] e2be974225ed: Verifying Checksum [2024-11-01T01:55:32.941Z] e2be974225ed: Download complete [2024-11-01T01:55:32.941Z] 988bab9f4d93: Verifying Checksum [2024-11-01T01:55:32.941Z] 988bab9f4d93: Download complete [2024-11-01T01:55:32.941Z] 1469e6f7b9e6: Verifying Checksum [2024-11-01T01:55:32.941Z] 1469e6f7b9e6: Download complete [2024-11-01T01:55:33.201Z] eaf3925da568: Verifying Checksum [2024-11-01T01:55:33.201Z] eaf3925da568: Download complete [2024-11-01T01:55:33.201Z] 339a4e72a1f5: Verifying Checksum [2024-11-01T01:55:33.201Z] 339a4e72a1f5: Download complete [2024-11-01T01:55:33.201Z] bde34c3a00c8: Verifying Checksum [2024-11-01T01:55:33.201Z] bde34c3a00c8: Download complete [2024-11-01T01:55:33.201Z] b352a97aabf1: Download complete [2024-11-01T01:55:33.201Z] 4872d77fe225: Download complete [2024-11-01T01:55:33.201Z] 5851b861e8e6: Verifying Checksum [2024-11-01T01:55:33.201Z] 5851b861e8e6: Download complete [2024-11-01T01:55:33.201Z] b85a868b505f: Verifying Checksum [2024-11-01T01:55:33.201Z] b85a868b505f: Download complete [2024-11-01T01:55:33.461Z] bab4dde63d76: Verifying Checksum [2024-11-01T01:55:33.461Z] bab4dde63d76: Download complete [2024-11-01T01:55:34.400Z] b85a868b505f: Pull complete [2024-11-01T01:55:34.661Z] e2be974225ed: Pull complete [2024-11-01T01:55:35.230Z] 339a4e72a1f5: Pull complete [2024-11-01T01:55:35.230Z] 988bab9f4d93: Pull complete [2024-11-01T01:55:35.489Z] 1469e6f7b9e6: Pull complete [2024-11-01T01:55:35.489Z] eaf3925da568: Pull complete [2024-11-01T01:55:37.396Z] bab4dde63d76: Pull complete [2024-11-01T01:55:37.396Z] bde34c3a00c8: Pull complete [2024-11-01T01:55:37.396Z] b352a97aabf1: Pull complete [2024-11-01T01:55:37.660Z] 4872d77fe225: Pull complete [2024-11-01T01:55:37.660Z] 5851b861e8e6: Pull complete [2024-11-01T01:55:37.660Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-01T01:55:37.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-01T01:55:37.660Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T01:55:38.050Z] prd-ubuntu20.04-docker-8c-8g-24263 does not seem to be running inside a container [2024-11-01T01:55:38.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-706 -v /w/workspace/gexfoundry_device-mqtt-go_PR-706:/w/workspace/gexfoundry_device-mqtt-go_PR-706:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-706@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-01T01:55:40.738Z] $ docker top 56f4324b50ebc0b03d34bc030f4119ba80ce16c16f599b3d70ce770804d9f6d5 -eo pid,comm [2024-11-01T01:55:40.795Z] 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-01T01:55:40.795Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-01T01:55:40.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-01T01:55:40.951Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-01T01:55:41.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-01T01:55:41.072Z] $ docker exec 56f4324b50ebc0b03d34bc030f4119ba80ce16c16f599b3d70ce770804d9f6d5 ssh-agent [2024-11-01T01:55:41.189Z] SSH_AUTH_SOCK=/tmp/ssh-d2gXCeK5Gslw/agent.32 [2024-11-01T01:55:41.189Z] SSH_AGENT_PID=38 [2024-11-01T01:55:41.195Z] Running ssh-add (command line suppressed) [2024-11-01T01:55:41.299Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp/private_key_16043418890844104976.key (/w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp/private_key_16043418890844104976.key) [2024-11-01T01:55:41.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-01T01:55:41.663Z] + git tag --points-at HEAD [Pipeline] } [2024-11-01T01:55:41.689Z] $ docker exec --env ******** --env ******** 56f4324b50ebc0b03d34bc030f4119ba80ce16c16f599b3d70ce770804d9f6d5 ssh-agent -k [2024-11-01T01:55:41.815Z] unset SSH_AUTH_SOCK; [2024-11-01T01:55:41.815Z] unset SSH_AGENT_PID; [2024-11-01T01:55:41.815Z] echo Agent pid 38 killed; [2024-11-01T01:55:41.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-01T01:55:41.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-01T01:55:41.931Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-01T01:55:42.042Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-01T01:55:42.043Z] $ docker exec 56f4324b50ebc0b03d34bc030f4119ba80ce16c16f599b3d70ce770804d9f6d5 ssh-agent [2024-11-01T01:55:42.187Z] SSH_AUTH_SOCK=/tmp/ssh-LeQaqYGOyYQn/agent.71 [2024-11-01T01:55:42.187Z] SSH_AGENT_PID=77 [2024-11-01T01:55:42.192Z] Running ssh-add (command line suppressed) [2024-11-01T01:55:42.300Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp/private_key_18416970390774586284.key (/w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp/private_key_18416970390774586284.key) [2024-11-01T01:55:42.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-01T01:55:42.651Z] + git semver init [2024-11-01T01:55:42.913Z] 2024-11-01 01:55:42,843 [run_init] DEBUG init version:0.0.0 force:False [2024-11-01T01:55:42.913Z] 2024-11-01 01:55:42,843 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-706/.semver [2024-11-01T01:55:42.913Z] 2024-11-01 01:55:42,844 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-706/.semver [2024-11-01T01:55:42.913Z] 2024-11-01 01:55:42,844 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-706/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-706, universal_newlines=False, shell=None, istream=None) [2024-11-01T01:55:44.822Z] 2024-11-01 01:55:44,586 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-706/.git/info/exclude [2024-11-01T01:55:44.822Z] 2024-11-01 01:55:44,587 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-706/.semver/PR-706 with force:False [2024-11-01T01:55:44.822Z] 2024-11-01 01:55:44,587 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-706/.semver/PR-706 [2024-11-01T01:55:44.822Z] 2024-11-01 01:55:44,592 [execute] INFO git cat-file --batch-check [2024-11-01T01:55:44.822Z] 2024-11-01 01:55:44,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-706/.semver, universal_newlines=False, shell=None, istream=) [2024-11-01T01:55:44.822Z] 2024-11-01 01:55:44,598 [execute] INFO git cat-file --batch [2024-11-01T01:55:44.822Z] 2024-11-01 01:55:44,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-706/.semver, universal_newlines=False, shell=None, istream=) [2024-11-01T01:55:44.822Z] 2024-11-01 01:55:44,606 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-706/.semver/PR-706 [2024-11-01T01:55:44.822Z] 0.0.0 [Pipeline] } [2024-11-01T01:55:44.852Z] $ docker exec --env ******** --env ******** 56f4324b50ebc0b03d34bc030f4119ba80ce16c16f599b3d70ce770804d9f6d5 ssh-agent -k [2024-11-01T01:55:44.976Z] unset SSH_AUTH_SOCK; [2024-11-01T01:55:44.977Z] unset SSH_AGENT_PID; [2024-11-01T01:55:44.977Z] echo Agent pid 77 killed; [2024-11-01T01:55:44.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-01T01:55:45.428Z] + git semver [Pipeline] } [2024-11-01T01:55:45.715Z] $ docker stop --time=1 56f4324b50ebc0b03d34bc030f4119ba80ce16c16f599b3d70ce770804d9f6d5 [2024-11-01T01:55:46.999Z] $ docker rm -f --volumes 56f4324b50ebc0b03d34bc030f4119ba80ce16c16f599b3d70ce770804d9f6d5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T01:55:47.428Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-01T01:55:47.726Z] Stashed 1 file(s) [Pipeline] echo [2024-11-01T01:55:47.751Z] [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-01T01:55:48.459Z] provisioning config files... [2024-11-01T01:55:48.470Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp/config6118885787529778935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T01:55:48.847Z] ---> ****-login.sh [2024-11-01T01:55:48.847Z] nexus3.edgexfoundry.org:10001 [2024-11-01T01:55:48.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:48.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:48.847Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:48.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:48.847Z] [2024-11-01T01:55:48.847Z] Login Succeeded [2024-11-01T01:55:48.847Z] nexus3.edgexfoundry.org:10002 [2024-11-01T01:55:48.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:48.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:48.848Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:48.848Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:48.848Z] [2024-11-01T01:55:48.848Z] Login Succeeded [2024-11-01T01:55:48.848Z] nexus3.edgexfoundry.org:10003 [2024-11-01T01:55:49.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:49.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:49.107Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:49.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:49.107Z] [2024-11-01T01:55:49.107Z] Login Succeeded [2024-11-01T01:55:49.107Z] nexus3.edgexfoundry.org:10004 [2024-11-01T01:55:49.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:49.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:49.107Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:49.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:49.107Z] [2024-11-01T01:55:49.107Z] Login Succeeded [2024-11-01T01:55:49.107Z] ****.io [2024-11-01T01:55:49.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:55:49.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:55:49.366Z] Configure a credential helper to remove this warning. See [2024-11-01T01:55:49.366Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:55:49.366Z] [2024-11-01T01:55:49.366Z] Login Succeeded [2024-11-01T01:55:49.367Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T01:55:49.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-01T01:55:49.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T01:55:49.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T01:55:49.717Z] ========================================================= [2024-11-01T01:55:49.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-01T01:55:49.717Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T01:55:50.239Z] + 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-01T01:55:50.239Z] Sending build context to Docker daemon 20.96MB [2024-11-01T01:55:50.239Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T01:55:50.239Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-01T01:55:50.239Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-01T01:55:50.239Z] 43c4264eed91: Pulling fs layer [2024-11-01T01:55:50.239Z] 4cc291be95ef: Pulling fs layer [2024-11-01T01:55:50.239Z] 2ac1f1163629: Pulling fs layer [2024-11-01T01:55:50.239Z] 5c3c966382ef: Pulling fs layer [2024-11-01T01:55:50.239Z] 5c3c966382ef: Waiting [2024-11-01T01:55:50.239Z] 4f4fb700ef54: Pulling fs layer [2024-11-01T01:55:50.239Z] 5d5c8e513c77: Pulling fs layer [2024-11-01T01:55:50.239Z] 9f66e0745190: Pulling fs layer [2024-11-01T01:55:50.239Z] f49a43e4bbc0: Pulling fs layer [2024-11-01T01:55:50.239Z] 561ebcabdf7f: Pulling fs layer [2024-11-01T01:55:50.239Z] 4f4fb700ef54: Waiting [2024-11-01T01:55:50.239Z] 5d5c8e513c77: Waiting [2024-11-01T01:55:50.239Z] 9f66e0745190: Waiting [2024-11-01T01:55:50.239Z] f49a43e4bbc0: Waiting [2024-11-01T01:55:50.239Z] 561ebcabdf7f: Waiting [2024-11-01T01:55:50.501Z] 4cc291be95ef: Verifying Checksum [2024-11-01T01:55:50.501Z] 4cc291be95ef: Download complete [2024-11-01T01:55:50.501Z] 5c3c966382ef: Download complete [2024-11-01T01:55:50.501Z] 4f4fb700ef54: Verifying Checksum [2024-11-01T01:55:50.501Z] 4f4fb700ef54: Download complete [2024-11-01T01:55:50.501Z] 5d5c8e513c77: Download complete [2024-11-01T01:55:50.501Z] 43c4264eed91: Verifying Checksum [2024-11-01T01:55:50.501Z] 43c4264eed91: Download complete [2024-11-01T01:55:50.501Z] 9f66e0745190: Verifying Checksum [2024-11-01T01:55:50.501Z] 9f66e0745190: Download complete [2024-11-01T01:55:50.501Z] 43c4264eed91: Pull complete [2024-11-01T01:55:50.762Z] 561ebcabdf7f: Verifying Checksum [2024-11-01T01:55:50.762Z] 561ebcabdf7f: Download complete [2024-11-01T01:55:50.762Z] 4cc291be95ef: Pull complete [2024-11-01T01:55:51.022Z] 2ac1f1163629: Verifying Checksum [2024-11-01T01:55:51.022Z] 2ac1f1163629: Download complete [2024-11-01T01:55:51.281Z] f49a43e4bbc0: Verifying Checksum [2024-11-01T01:55:51.281Z] f49a43e4bbc0: Download complete [2024-11-01T01:55:54.566Z] 2ac1f1163629: Pull complete [2024-11-01T01:55:54.566Z] 5c3c966382ef: Pull complete [2024-11-01T01:55:54.566Z] 4f4fb700ef54: Pull complete [2024-11-01T01:55:54.566Z] 5d5c8e513c77: Pull complete [2024-11-01T01:55:54.566Z] 9f66e0745190: Pull complete [2024-11-01T01:55:56.471Z] f49a43e4bbc0: Pull complete [2024-11-01T01:55:57.047Z] 561ebcabdf7f: Pull complete [2024-11-01T01:55:57.048Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-01T01:55:57.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-01T01:55:57.048Z] ---> 3a752c3f9dda [2024-11-01T01:55:57.048Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-01T01:56:01.274Z] ---> Running in 94c684623930 [2024-11-01T01:56:01.274Z] Removing intermediate container 94c684623930 [2024-11-01T01:56:01.274Z] ---> 3896535e18c1 [2024-11-01T01:56:01.274Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T01:56:01.274Z] ---> Running in 6933d568730b [2024-11-01T01:56:01.274Z] Removing intermediate container 6933d568730b [2024-11-01T01:56:01.274Z] ---> a9b96083e922 [2024-11-01T01:56:01.274Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-01T01:56:01.274Z] ---> Running in 247ad48f00e6 [2024-11-01T01:56:01.274Z] Removing intermediate container 247ad48f00e6 [2024-11-01T01:56:01.274Z] ---> 32a5b8e1f863 [2024-11-01T01:56:01.274Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T01:56:01.274Z] ---> Running in fb273d448246 [2024-11-01T01:56:01.274Z] Removing intermediate container fb273d448246 [2024-11-01T01:56:01.274Z] ---> 15036c64bf7f [2024-11-01T01:56:01.274Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T01:56:01.274Z] ---> Running in ab5e191f4a1b [2024-11-01T01:56:01.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T01:56:01.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T01:56:01.533Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-01T01:56:01.793Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-01T01:56:01.793Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-01T01:56:01.793Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-01T01:56:01.793Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T01:56:01.793Z] OK: 250 MiB in 58 packages [2024-11-01T01:56:02.053Z] Removing intermediate container ab5e191f4a1b [2024-11-01T01:56:02.053Z] ---> 1e0dc2ac6d99 [2024-11-01T01:56:02.053Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-01T01:56:02.053Z] ---> Running in 5f004c126a2b [2024-11-01T01:56:02.313Z] Removing intermediate container 5f004c126a2b [2024-11-01T01:56:02.313Z] ---> ad6d2b54affa [2024-11-01T01:56:02.313Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-01T01:56:02.313Z] ---> 62cd57f476a2 [2024-11-01T01:56:02.313Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T01:56:02.313Z] ---> Running in 4a9848529940 [2024-11-01T01:56:03.232Z] Still waiting to schedule task [2024-11-01T01:56:03.232Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-01T01:56:58.558Z] Removing intermediate container 4a9848529940 [2024-11-01T01:56:58.558Z] ---> a55b2178d459 [2024-11-01T01:56:58.558Z] Step 11/12 : COPY . . [2024-11-01T01:56:58.558Z] ---> adc6682ce53f [2024-11-01T01:56:58.558Z] Step 12/12 : RUN $MAKE [2024-11-01T01:56:58.558Z] ---> Running in 1c58525961ea [2024-11-01T01:56:58.558Z] noop [2024-11-01T01:56:58.558Z] Removing intermediate container 1c58525961ea [2024-11-01T01:56:58.558Z] ---> 26f226d7c238 [2024-11-01T01:56:58.558Z] Successfully built 26f226d7c238 [2024-11-01T01:56:58.558Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T01:56:59.043Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-01T01:56:59.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T01:56:59.218Z] prd-ubuntu20.04-docker-8c-8g-24263 does not seem to be running inside a container [2024-11-01T01:56:59.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-706 -v /w/workspace/gexfoundry_device-mqtt-go_PR-706:/w/workspace/gexfoundry_device-mqtt-go_PR-706:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-706@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-01T01:56:59.555Z] $ docker top 96fa8ac82dbb68e2f6b7e8c746c9ad26597855f8373d0a74ce886b795df00f0a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T01:56:59.969Z] + go version [2024-11-01T01:56:59.969Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-01T01:57:00.001Z] $ docker stop --time=1 96fa8ac82dbb68e2f6b7e8c746c9ad26597855f8373d0a74ce886b795df00f0a [2024-11-01T01:57:01.292Z] $ docker rm -f --volumes 96fa8ac82dbb68e2f6b7e8c746c9ad26597855f8373d0a74ce886b795df00f0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T01:57:02.093Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-01T01:57:02.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T01:57:02.261Z] prd-ubuntu20.04-docker-8c-8g-24263 does not seem to be running inside a container [2024-11-01T01:57:02.288Z] $ 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-706 -v /w/workspace/gexfoundry_device-mqtt-go_PR-706:/w/workspace/gexfoundry_device-mqtt-go_PR-706:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-706@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-01T01:57:02.606Z] $ docker top 3f0024d4d7a738f55981aac0289d4028eec4873620a57676b4aac810b3258acf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T01:57:03.019Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-706 [Pipeline] fileExists [Pipeline] sh [2024-11-01T01:57:03.403Z] + make test [2024-11-01T01:57:03.403Z] go test ./... -coverprofile=coverage.out ./... [2024-11-01T01:57:04.780Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-01T01:57:26.707Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-01T01:57:26.707Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-01T01:57:26.707Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements [2024-11-01T01:57:34.824Z] go vet ./... [2024-11-01T01:57:38.255Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24264 in /w/workspace/gexfoundry_device-mqtt-go_PR-706 [Pipeline] { [Pipeline] ws [2024-11-01T01:57:38.324Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-11-01T01:57:38.414Z] The recommended git tool is: git [2024-11-01T01:57:41.390Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-01T01:57:41.390Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-01T01:57:41.390Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-01T01:57:41.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-01T01:57:41.474Z] $ docker stop --time=1 3f0024d4d7a738f55981aac0289d4028eec4873620a57676b4aac810b3258acf [2024-11-01T01:57:43.137Z] using credential edgex-jenkins-ssh [2024-11-01T01:57:43.160Z] Cloning the remote Git repository [2024-11-01T01:57:43.199Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-01T01:57:43.288Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-11-01T01:57:43.421Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-01T01:57:43.422Z] > git --version # timeout=10 [2024-11-01T01:57:43.442Z] > git --version # 'git version 2.25.1' [2024-11-01T01:57:43.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T01:57:43.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-01T01:57:45.035Z] $ docker rm -f --volumes 3f0024d4d7a738f55981aac0289d4028eec4873620a57676b4aac810b3258acf [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T01:57:45.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-01T01:57:45.731Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-01T01:57:46.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-01T01:57:46.923Z] + ls -al . [2024-11-01T01:57:46.923Z] total 252 [2024-11-01T01:57:46.923Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 01:57 . [2024-11-01T01:57:46.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 01:55 .. [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 01:55 .dockerignore [2024-11-01T01:57:46.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 01:57 .git [2024-11-01T01:57:46.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:55 .github [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 01:55 .gitignore [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 01:55 .golangci.yml [2024-11-01T01:57:46.923Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 01:55 .semver [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 1 01:55 Attribution.txt [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 1 01:55 CHANGELOG.md [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 1 01:55 Dockerfile [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 01:55 GOVERNANCE.md [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 1 01:55 Jenkinsfile [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 01:55 LICENSE [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 2500 Nov 1 01:55 Makefile [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 01:55 OWNERS.md [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 1 01:55 README.md [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 01:55 VERSION [2024-11-01T01:57:46.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:55 bin [2024-11-01T01:57:46.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:55 cmd [2024-11-01T01:57:46.923Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 1 01:57 coverage.out [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 1 01:55 go.mod [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 01:55 go.sum [2024-11-01T01:57:46.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:55 internal [2024-11-01T01:57:46.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:55 mock [2024-11-01T01:57:46.923Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 1 01:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T01:57:47.337Z] + 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=f1c88d5160692d8ac429d026c5c099452c0f276c --label arch=amd64 --label version=0.0.0 . [2024-11-01T01:57:47.337Z] Sending build context to Docker daemon 20.98MB [2024-11-01T01:57:47.337Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T01:57:47.337Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-01T01:57:47.337Z] ---> 26f226d7c238 [2024-11-01T01:57:47.337Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-01T01:57:46.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-01T01:57:46.151Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-01T01:57:47.084Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-01T01:57:47.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-01T01:57:47.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T01:57:47.154Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/706/head:refs/remotes/origin/PR-706 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-01T01:57:47.597Z] ---> Running in 5e25602c4745 [2024-11-01T01:57:47.668Z] Merging remotes/origin/main commit 4b0ee577561404748c59762cefd7cd847fb7a9a9 into PR head commit f1c88d5160692d8ac429d026c5c099452c0f276c [2024-11-01T01:57:47.857Z] Removing intermediate container 5e25602c4745 [2024-11-01T01:57:47.857Z] ---> 272162351060 [2024-11-01T01:57:47.857Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T01:57:47.857Z] ---> Running in 61c1772a9c00 [2024-11-01T01:57:47.857Z] Removing intermediate container 61c1772a9c00 [2024-11-01T01:57:47.857Z] ---> e95d9f218c68 [2024-11-01T01:57:47.857Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-01T01:57:47.857Z] ---> Running in 252bc62a77b7 [2024-11-01T01:57:47.857Z] Removing intermediate container 252bc62a77b7 [2024-11-01T01:57:47.857Z] ---> 9d3575101b11 [2024-11-01T01:57:47.857Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T01:57:47.922Z] Merge succeeded, producing f1c88d5160692d8ac429d026c5c099452c0f276c [2024-11-01T01:57:47.922Z] Checking out Revision f1c88d5160692d8ac429d026c5c099452c0f276c (PR-706) [2024-11-01T01:57:48.117Z] ---> Running in 13d3031f5646 [2024-11-01T01:57:48.117Z] Removing intermediate container 13d3031f5646 [2024-11-01T01:57:48.117Z] ---> a2bd6c144f26 [2024-11-01T01:57:48.117Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T01:57:48.117Z] ---> Running in 49a9cc065911 [2024-11-01T01:57:48.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T01:57:48.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T01:57:48.413Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-01T01:57:48.455Z] > git --version # timeout=10 [2024-11-01T01:57:48.464Z] > git --version # 'git version 2.25.1' [2024-11-01T01:57:48.478Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-01T01:57:48.636Z] OK: 250 MiB in 58 packages [2024-11-01T01:57:47.680Z] > git config core.sparsecheckout # timeout=10 [2024-11-01T01:57:47.767Z] > git checkout -f f1c88d5160692d8ac429d026c5c099452c0f276c # timeout=10 [2024-11-01T01:57:47.838Z] > git remote # timeout=10 [2024-11-01T01:57:47.853Z] > git config --get remote.origin.url # timeout=10 [2024-11-01T01:57:47.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-01T01:57:47.886Z] > git merge 4b0ee577561404748c59762cefd7cd847fb7a9a9 # timeout=10 [2024-11-01T01:57:47.907Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-01T01:57:47.925Z] > git config core.sparsecheckout # timeout=10 [2024-11-01T01:57:47.944Z] > git checkout -f f1c88d5160692d8ac429d026c5c099452c0f276c # timeout=10 [2024-11-01T01:57:49.203Z] Removing intermediate container 49a9cc065911 [2024-11-01T01:57:49.203Z] ---> 420e200d8689 [2024-11-01T01:57:49.203Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-01T01:57:49.203Z] ---> Running in 4389ba92f0bb [2024-11-01T01:57:49.203Z] Removing intermediate container 4389ba92f0bb [2024-11-01T01:57:49.203Z] ---> 0461dc401d72 [2024-11-01T01:57:49.203Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-01T01:57:49.203Z] ---> 3019585e51d6 [2024-11-01T01:57:49.203Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T01:57:49.203Z] ---> Running in 28ae2288cd1b [2024-11-01T01:57:50.141Z] Removing intermediate container 28ae2288cd1b [2024-11-01T01:57:50.141Z] ---> f192fc0fdf57 [2024-11-01T01:57:50.141Z] Step 11/25 : COPY . . [2024-11-01T01:57:50.713Z] ---> 9f861f2028f9 [2024-11-01T01:57:50.713Z] Step 12/25 : RUN $MAKE [2024-11-01T01:57:50.713Z] ---> Running in 86e25d93d22b [2024-11-01T01:57:50.971Z] 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.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T01:57:53.633Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-01T01:57:53.633Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-01T01:57:53.633Z] Dload Upload Total Spent Left Speed [2024-11-01T01:57:53.633Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2024-11-01T01:57:53.984Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-01T01:57:54.398Z] + sudo tee /etc/docker/daemon.new [2024-11-01T01:57:54.398Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-01T01:57:54.398Z] { [2024-11-01T01:57:54.398Z] "registry-mirrors": [ [2024-11-01T01:57:54.398Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-01T01:57:54.398Z] ], [2024-11-01T01:57:54.398Z] "bip": "10.250.0.254/24", [2024-11-01T01:57:54.398Z] "hosts": [ [2024-11-01T01:57:54.398Z] "tcp://0.0.0.0:5555", [2024-11-01T01:57:54.398Z] "unix:///var/run/docker.sock" [2024-11-01T01:57:54.398Z] ], [2024-11-01T01:57:54.398Z] "mtu": 1458, [2024-11-01T01:57:54.398Z] "selinux-enabled": true, [2024-11-01T01:57:54.398Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-01T01:57:54.398Z] } [Pipeline] sh [2024-11-01T01:57:54.753Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-01T01:57:55.103Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T01:58:13.439Z] provisioning config files... [2024-11-01T01:58:13.467Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8413506913160768076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T01:58:13.979Z] ---> ****-login.sh [2024-11-01T01:58:13.979Z] nexus3.edgexfoundry.org:10001 [2024-11-01T01:58:14.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:58:14.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:58:14.530Z] Configure a credential helper to remove this warning. See [2024-11-01T01:58:14.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:58:14.531Z] [2024-11-01T01:58:14.531Z] Login Succeeded [2024-11-01T01:58:14.531Z] nexus3.edgexfoundry.org:10002 [2024-11-01T01:58:14.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:58:15.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:58:15.070Z] Configure a credential helper to remove this warning. See [2024-11-01T01:58:15.070Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:58:15.070Z] [2024-11-01T01:58:15.070Z] Login Succeeded [2024-11-01T01:58:15.070Z] nexus3.edgexfoundry.org:10003 [2024-11-01T01:58:15.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:58:15.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:58:15.343Z] Configure a credential helper to remove this warning. See [2024-11-01T01:58:15.343Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:58:15.343Z] [2024-11-01T01:58:15.343Z] Login Succeeded [2024-11-01T01:58:15.343Z] nexus3.edgexfoundry.org:10004 [2024-11-01T01:58:15.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:58:15.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:58:15.612Z] Configure a credential helper to remove this warning. See [2024-11-01T01:58:15.612Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:58:15.612Z] [2024-11-01T01:58:15.612Z] Login Succeeded [2024-11-01T01:58:15.612Z] ****.io [2024-11-01T01:58:15.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-01T01:58:16.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-01T01:58:16.146Z] Configure a credential helper to remove this warning. See [2024-11-01T01:58:16.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-01T01:58:16.146Z] [2024-11-01T01:58:16.146Z] Login Succeeded [2024-11-01T01:58:16.146Z] ---> ****-login.sh ends [Pipeline] } [2024-11-01T01:58:16.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-01T01:58:16.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T01:58:16.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-01T01:58:16.743Z] ========================================================= [2024-11-01T01:58:16.743Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-01T01:58:16.743Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T01:58:17.306Z] + 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-01T01:58:17.575Z] Sending build context to Docker daemon 10.6MB [2024-11-01T01:58:17.575Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T01:58:17.575Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-01T01:58:17.850Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-01T01:58:17.850Z] cf04c63912e1: Pulling fs layer [2024-11-01T01:58:17.850Z] 55b35a11ae5e: Pulling fs layer [2024-11-01T01:58:17.850Z] a37a00ec5f00: Pulling fs layer [2024-11-01T01:58:17.850Z] 50b3750afda1: Pulling fs layer [2024-11-01T01:58:17.850Z] 4f4fb700ef54: Pulling fs layer [2024-11-01T01:58:17.850Z] 80978eb59214: Pulling fs layer [2024-11-01T01:58:17.850Z] c9f46d7d2bd2: Pulling fs layer [2024-11-01T01:58:17.850Z] c5a475d317c9: Pulling fs layer [2024-11-01T01:58:17.850Z] 50b3750afda1: Waiting [2024-11-01T01:58:17.850Z] 4f4fb700ef54: Waiting [2024-11-01T01:58:17.850Z] 80978eb59214: Waiting [2024-11-01T01:58:17.850Z] c9f46d7d2bd2: Waiting [2024-11-01T01:58:17.850Z] c5a475d317c9: Waiting [2024-11-01T01:58:17.850Z] 55b35a11ae5e: Verifying Checksum [2024-11-01T01:58:17.850Z] 55b35a11ae5e: Download complete [2024-11-01T01:58:17.850Z] 50b3750afda1: Verifying Checksum [2024-11-01T01:58:17.850Z] 50b3750afda1: Download complete [2024-11-01T01:58:17.850Z] 4f4fb700ef54: Verifying Checksum [2024-11-01T01:58:17.850Z] 4f4fb700ef54: Download complete [2024-11-01T01:58:17.850Z] 80978eb59214: Verifying Checksum [2024-11-01T01:58:17.850Z] 80978eb59214: Download complete [2024-11-01T01:58:17.850Z] cf04c63912e1: Verifying Checksum [2024-11-01T01:58:17.850Z] cf04c63912e1: Download complete [2024-11-01T01:58:18.445Z] c5a475d317c9: Verifying Checksum [2024-11-01T01:58:18.445Z] c5a475d317c9: Download complete [2024-11-01T01:58:18.714Z] cf04c63912e1: Pull complete [2024-11-01T01:58:19.298Z] 55b35a11ae5e: Pull complete [2024-11-01T01:58:19.883Z] a37a00ec5f00: Download complete [2024-11-01T01:58:20.471Z] c9f46d7d2bd2: Verifying Checksum [2024-11-01T01:58:20.471Z] c9f46d7d2bd2: Download complete [2024-11-01T01:58:23.061Z] Removing intermediate container 86e25d93d22b [2024-11-01T01:58:23.061Z] ---> 48ca34041674 [2024-11-01T01:58:23.061Z] Step 13/25 : FROM alpine:3.20 [2024-11-01T01:58:23.061Z] 3.20: Pulling from library/alpine [2024-11-01T01:58:23.061Z] 43c4264eed91: Already exists [2024-11-01T01:58:23.061Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-01T01:58:23.061Z] Status: Downloaded newer image for alpine:3.20 [2024-11-01T01:58:23.061Z] ---> 91ef0af61f39 [2024-11-01T01:58:23.061Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-01T01:58:23.061Z] ---> Running in c6bd222a9bac [2024-11-01T01:58:23.061Z] Removing intermediate container c6bd222a9bac [2024-11-01T01:58:23.061Z] ---> 894c03e213bf [2024-11-01T01:58:23.061Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-01T01:58:23.061Z] ---> Running in 9e9253bcd59b [2024-11-01T01:58:23.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T01:58:23.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T01:58:23.061Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-01T01:58:23.061Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T01:58:23.061Z] OK: 8 MiB in 15 packages [2024-11-01T01:58:23.061Z] Removing intermediate container 9e9253bcd59b [2024-11-01T01:58:23.061Z] ---> cb33cb7b5839 [2024-11-01T01:58:23.061Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-01T01:58:23.061Z] ---> Running in 7a39b84c240c [2024-11-01T01:58:23.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T01:58:23.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T01:58:23.322Z] Upgrading critical system libraries and apk-tools: [2024-11-01T01:58:23.322Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-01T01:58:23.322Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T01:58:23.588Z] Continuing the upgrade transaction with new apk-tools: [2024-11-01T01:58:23.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-01T01:58:23.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-01T01:58:23.849Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T01:58:23.850Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T01:58:23.850Z] OK: 8 MiB in 15 packages [2024-11-01T01:58:24.422Z] Removing intermediate container 7a39b84c240c [2024-11-01T01:58:24.422Z] ---> 2e3123b83849 [2024-11-01T01:58:24.422Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-01T01:58:25.801Z] ---> ad0788e02e73 [2024-11-01T01:58:25.801Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-01T01:58:25.801Z] ---> 57e248378d3e [2024-11-01T01:58:25.801Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-01T01:58:25.801Z] ---> 39d857072955 [2024-11-01T01:58:25.801Z] Step 20/25 : EXPOSE 59982 [2024-11-01T01:58:25.801Z] ---> Running in 93765d9a5f29 [2024-11-01T01:58:26.061Z] Removing intermediate container 93765d9a5f29 [2024-11-01T01:58:26.061Z] ---> 5022e9eccc4b [2024-11-01T01:58:26.061Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-01T01:58:26.061Z] ---> Running in f1a23eff0c08 [2024-11-01T01:58:26.061Z] Removing intermediate container f1a23eff0c08 [2024-11-01T01:58:26.061Z] ---> 44d976bbe534 [2024-11-01T01:58:26.061Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-01T01:58:26.061Z] ---> Running in d9db1455c049 [2024-11-01T01:58:26.061Z] Removing intermediate container d9db1455c049 [2024-11-01T01:58:26.061Z] ---> 4896d125d836 [2024-11-01T01:58:26.061Z] Step 23/25 : LABEL arch=amd64 [2024-11-01T01:58:26.061Z] ---> Running in a12455bfb84b [2024-11-01T01:58:26.319Z] Removing intermediate container a12455bfb84b [2024-11-01T01:58:26.319Z] ---> f57bed6e2a3d [2024-11-01T01:58:26.319Z] Step 24/25 : LABEL git_sha=f1c88d5160692d8ac429d026c5c099452c0f276c [2024-11-01T01:58:26.319Z] ---> Running in 462f4bab7546 [2024-11-01T01:58:26.319Z] Removing intermediate container 462f4bab7546 [2024-11-01T01:58:26.319Z] ---> 54f79d44b597 [2024-11-01T01:58:26.319Z] Step 25/25 : LABEL version=0.0.0 [2024-11-01T01:58:26.319Z] ---> Running in 83040dfe24d8 [2024-11-01T01:58:26.319Z] Removing intermediate container 83040dfe24d8 [2024-11-01T01:58:26.319Z] ---> 312fb80c1add [2024-11-01T01:58:26.319Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-01T01:58:26.319Z] Successfully built 312fb80c1add [2024-11-01T01:58:26.319Z] 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-01T01:58:27.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T01:58:27.392Z] [2024-11-01T01:58:27.392Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T01:58:27.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T01:58:27.800Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-01T01:58:27.800Z] 5eb5b503b376: Pulling fs layer [2024-11-01T01:58:27.800Z] 5c69ac0246d0: Pulling fs layer [2024-11-01T01:58:27.800Z] ec43610c2a17: Pulling fs layer [2024-11-01T01:58:27.800Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-01T01:58:27.800Z] 33b1e0a273af: Pulling fs layer [2024-11-01T01:58:27.800Z] 5d3b04190fa2: Pulling fs layer [2024-11-01T01:58:27.800Z] 2f39f015ded8: Pulling fs layer [2024-11-01T01:58:27.800Z] 33b1e0a273af: Waiting [2024-11-01T01:58:27.800Z] 5d3b04190fa2: Waiting [2024-11-01T01:58:27.800Z] 3a2ae6a8a46f: Waiting [2024-11-01T01:58:27.800Z] 2f39f015ded8: Waiting [2024-11-01T01:58:27.800Z] 5c69ac0246d0: Verifying Checksum [2024-11-01T01:58:27.800Z] 5c69ac0246d0: Download complete [2024-11-01T01:58:27.800Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-01T01:58:27.800Z] 3a2ae6a8a46f: Download complete [2024-11-01T01:58:27.800Z] 33b1e0a273af: Verifying Checksum [2024-11-01T01:58:27.800Z] 33b1e0a273af: Download complete [2024-11-01T01:58:27.800Z] 5d3b04190fa2: Verifying Checksum [2024-11-01T01:58:27.800Z] 5d3b04190fa2: Download complete [2024-11-01T01:58:27.800Z] ec43610c2a17: Verifying Checksum [2024-11-01T01:58:27.800Z] ec43610c2a17: Download complete [2024-11-01T01:58:28.062Z] 5eb5b503b376: Verifying Checksum [2024-11-01T01:58:28.062Z] 5eb5b503b376: Download complete [2024-11-01T01:58:28.628Z] 2f39f015ded8: Download complete [2024-11-01T01:58:29.194Z] 5eb5b503b376: Pull complete [2024-11-01T01:58:29.194Z] 5c69ac0246d0: Pull complete [2024-11-01T01:58:29.760Z] ec43610c2a17: Pull complete [2024-11-01T01:58:29.760Z] 3a2ae6a8a46f: Pull complete [2024-11-01T01:58:30.018Z] 33b1e0a273af: Pull complete [2024-11-01T01:58:30.018Z] 5d3b04190fa2: Pull complete [2024-11-01T01:58:32.786Z] a37a00ec5f00: Pull complete [2024-11-01T01:58:32.787Z] 50b3750afda1: Pull complete [2024-11-01T01:58:32.787Z] 4f4fb700ef54: Pull complete [2024-11-01T01:58:33.055Z] 80978eb59214: Pull complete [2024-11-01T01:58:34.200Z] 2f39f015ded8: Pull complete [2024-11-01T01:58:34.200Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-01T01:58:34.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T01:58:34.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T01:58:34.469Z] prd-ubuntu20.04-docker-8c-8g-24263 does not seem to be running inside a container [2024-11-01T01:58:34.496Z] $ 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-706 -v /w/workspace/gexfoundry_device-mqtt-go_PR-706:/w/workspace/gexfoundry_device-mqtt-go_PR-706:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-706@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-01T01:58:37.612Z] $ docker top 301e1084959f1b7b31250e9b59f137ca57b402dbe8afa808550b0920247c8c64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T01:58:38.112Z] ---> job-cost.sh [2024-11-01T01:58:38.112Z] lf-activate-venv: SKIPPING [2024-11-01T01:58:38.112Z] INFO: No Stack... [2024-11-01T01:58:38.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-01T01:58:38.631Z] INFO: Archiving Costs [Pipeline] sh [2024-11-01T01:58:38.954Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-706/archives/cost.csv [2024-11-01T01:58:38.954Z] + cut -d, -f6 [Pipeline] lock [2024-11-01T01:58:39.011Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-706-1-stack-cost] [2024-11-01T01:58:39.019Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-706-1-stack-cost] did not exist. Created. [2024-11-01T01:58:39.027Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-706-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-01T01:58:39.447Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-01T01:58:39.507Z] Stashed 1 file(s) [Pipeline] } [2024-11-01T01:58:39.551Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-706-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-01T01:58:39.656Z] $ docker stop --time=1 301e1084959f1b7b31250e9b59f137ca57b402dbe8afa808550b0920247c8c64 [2024-11-01T01:58:40.805Z] $ docker rm -f --volumes 301e1084959f1b7b31250e9b59f137ca57b402dbe8afa808550b0920247c8c64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-01T01:58:41.283Z] c9f46d7d2bd2: Pull complete [2024-11-01T01:58:42.691Z] c5a475d317c9: Pull complete [2024-11-01T01:58:42.691Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-01T01:58:42.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-01T01:58:42.691Z] ---> be29e6b0f0d4 [2024-11-01T01:58:42.691Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-01T01:58:44.624Z] ---> Running in a90ef24f8522 [2024-11-01T01:58:44.624Z] Removing intermediate container a90ef24f8522 [2024-11-01T01:58:44.624Z] ---> 2b09ff6a140a [2024-11-01T01:58:44.624Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T01:58:44.890Z] ---> Running in 34ceb5f786d5 [2024-11-01T01:58:45.156Z] Removing intermediate container 34ceb5f786d5 [2024-11-01T01:58:45.156Z] ---> 79dff8668433 [2024-11-01T01:58:45.156Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-01T01:58:45.156Z] ---> Running in 16da4cac8e94 [2024-11-01T01:58:45.424Z] Removing intermediate container 16da4cac8e94 [2024-11-01T01:58:45.424Z] ---> 4aeb40bb2a2b [2024-11-01T01:58:45.424Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T01:58:45.424Z] ---> Running in a6540daccbcd [2024-11-01T01:58:45.692Z] Removing intermediate container a6540daccbcd [2024-11-01T01:58:45.692Z] ---> 7c96542b08aa [2024-11-01T01:58:45.692Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T01:58:45.692Z] ---> Running in 5b48ce48bc19 [2024-11-01T01:58:46.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T01:58:47.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T01:58:48.214Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-01T01:58:48.482Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-01T01:58:48.482Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-01T01:58:48.482Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-01T01:58:48.482Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T01:58:48.482Z] OK: 242 MiB in 58 packages [2024-11-01T01:58:50.334Z] Removing intermediate container 5b48ce48bc19 [2024-11-01T01:58:50.334Z] ---> abf08df249c4 [2024-11-01T01:58:50.334Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-01T01:58:50.334Z] ---> Running in a6eedba3ac2e [2024-11-01T01:58:50.334Z] Removing intermediate container a6eedba3ac2e [2024-11-01T01:58:50.334Z] ---> 6c260c0de259 [2024-11-01T01:58:50.334Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-01T01:58:50.600Z] ---> 373c1ab047f3 [2024-11-01T01:58:50.600Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T01:58:50.600Z] ---> Running in dc8b7c1e5456 [2024-11-01T02:00:42.831Z] Removing intermediate container dc8b7c1e5456 [2024-11-01T02:00:42.831Z] ---> 27dbf4fac185 [2024-11-01T02:00:42.831Z] Step 11/12 : COPY . . [2024-11-01T02:00:42.831Z] ---> 25ba8e21a15a [2024-11-01T02:00:42.831Z] Step 12/12 : RUN $MAKE [2024-11-01T02:00:42.831Z] ---> Running in dd5eae039fd7 [2024-11-01T02:00:42.831Z] noop [2024-11-01T02:00:42.831Z] Removing intermediate container dd5eae039fd7 [2024-11-01T02:00:42.831Z] ---> 16ee8d9863d6 [2024-11-01T02:00:42.831Z] Successfully built 16ee8d9863d6 [2024-11-01T02:00:42.831Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T02:00:44.726Z] + docker inspect -f . ci-base-image-arm64 [2024-11-01T02:00:44.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T02:00:45.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-24264 does not seem to be running inside a container [2024-11-01T02:00:45.086Z] $ 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-01T02:00:46.602Z] $ docker top 0984dda3075f5640aceb29badae8d7de09e69d99b2391cb6c4c4c2862613efb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T02:00:52.903Z] + go version [2024-11-01T02:00:52.904Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-01T02:00:52.942Z] $ docker stop --time=1 0984dda3075f5640aceb29badae8d7de09e69d99b2391cb6c4c4c2862613efb3 [2024-11-01T02:00:54.498Z] $ docker rm -f --volumes 0984dda3075f5640aceb29badae8d7de09e69d99b2391cb6c4c4c2862613efb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T02:01:15.105Z] + docker inspect -f . ci-base-image-arm64 [2024-11-01T02:01:15.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T02:01:15.355Z] prd-ubuntu20.04-docker-arm64-4c-16g-24264 does not seem to be running inside a container [2024-11-01T02:01:15.410Z] $ 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-01T02:01:16.544Z] $ docker top 2b8b65a740492b8028b8eaf044c24e19982d235712f1cf49d6ad2994b62b9341 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T02:01:17.093Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-01T02:01:17.629Z] + make test [2024-11-01T02:01:17.629Z] go test ./... -coverprofile=coverage.out ./... [2024-11-01T02:01:22.957Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-01T02:04:29.696Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-01T02:04:29.696Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-01T02:04:29.696Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 22.8% of statements [2024-11-01T02:04:29.696Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-01T02:04:29.696Z] go vet ./... [2024-11-01T02:05:16.520Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-01T02:05:16.520Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-01T02:05:16.520Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-01T02:05:16.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-01T02:05:16.616Z] $ docker stop --time=1 2b8b65a740492b8028b8eaf044c24e19982d235712f1cf49d6ad2994b62b9341 [2024-11-01T02:05:18.467Z] $ docker rm -f --volumes 2b8b65a740492b8028b8eaf044c24e19982d235712f1cf49d6ad2994b62b9341 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-01T02:05:20.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-01T02:05:20.052Z] Warning: overwriting stash ‘coverage-report’ [2024-11-01T02:05:20.482Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-01T02:05:21.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-01T02:05:21.486Z] + ls -al . [2024-11-01T02:05:21.486Z] total 248 [2024-11-01T02:05:21.486Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 02:01 . [2024-11-01T02:05:21.486Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 01:57 .. [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 01:57 .dockerignore [2024-11-01T02:05:21.486Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 01:57 .git [2024-11-01T02:05:21.486Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:57 .github [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 01:57 .gitignore [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 01:57 .golangci.yml [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 1 01:57 Attribution.txt [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 1 01:57 CHANGELOG.md [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 1 01:57 Dockerfile [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 01:57 GOVERNANCE.md [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 1 01:57 Jenkinsfile [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 01:57 LICENSE [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 2500 Nov 1 01:57 Makefile [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 01:57 OWNERS.md [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 1 01:57 README.md [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 01:55 VERSION [2024-11-01T02:05:21.486Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:57 bin [2024-11-01T02:05:21.486Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:57 cmd [2024-11-01T02:05:21.486Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 1 02:04 coverage.out [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 1 01:57 go.mod [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 01:57 go.sum [2024-11-01T02:05:21.486Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:57 internal [2024-11-01T02:05:21.486Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:57 mock [2024-11-01T02:05:21.486Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 1 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T02:05:21.940Z] + 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=f1c88d5160692d8ac429d026c5c099452c0f276c --label arch=arm64 --label version=0.0.0 . [2024-11-01T02:05:22.523Z] Sending build context to Docker daemon 10.62MB [2024-11-01T02:05:22.523Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-01T02:05:22.523Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-01T02:05:22.523Z] ---> 16ee8d9863d6 [2024-11-01T02:05:22.523Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-01T02:05:22.523Z] ---> Running in 82708953446c [2024-11-01T02:05:22.793Z] Removing intermediate container 82708953446c [2024-11-01T02:05:22.793Z] ---> c15ce1a16a12 [2024-11-01T02:05:22.793Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-01T02:05:23.060Z] ---> Running in e0045284b6e1 [2024-11-01T02:05:23.326Z] Removing intermediate container e0045284b6e1 [2024-11-01T02:05:23.326Z] ---> 43bf232c8685 [2024-11-01T02:05:23.326Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-01T02:05:23.326Z] ---> Running in 7b1d43478b52 [2024-11-01T02:05:23.591Z] Removing intermediate container 7b1d43478b52 [2024-11-01T02:05:23.591Z] ---> c711f4b4ab55 [2024-11-01T02:05:23.591Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-01T02:05:23.591Z] ---> Running in f45cc973f131 [2024-11-01T02:05:23.864Z] Removing intermediate container f45cc973f131 [2024-11-01T02:05:23.864Z] ---> 32d1bab919cd [2024-11-01T02:05:23.864Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-01T02:05:24.130Z] ---> Running in 3edebdf147c5 [2024-11-01T02:05:25.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T02:05:25.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T02:05:27.421Z] OK: 242 MiB in 58 packages [2024-11-01T02:05:28.038Z] Removing intermediate container 3edebdf147c5 [2024-11-01T02:05:28.038Z] ---> fd52e09c67f6 [2024-11-01T02:05:28.038Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-01T02:05:28.038Z] ---> Running in 04d5286bc224 [2024-11-01T02:05:28.302Z] Removing intermediate container 04d5286bc224 [2024-11-01T02:05:28.302Z] ---> 3823d4e4ee64 [2024-11-01T02:05:28.302Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-01T02:05:28.887Z] ---> cf26d32bf72b [2024-11-01T02:05:28.887Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-01T02:05:28.887Z] ---> Running in deda3ca1c96f [2024-11-01T02:05:30.826Z] Removing intermediate container deda3ca1c96f [2024-11-01T02:05:30.826Z] ---> 7fbf0efef5eb [2024-11-01T02:05:30.826Z] Step 11/25 : COPY . . [2024-11-01T02:05:32.229Z] ---> 7cb5139cb996 [2024-11-01T02:05:32.229Z] Step 12/25 : RUN $MAKE [2024-11-01T02:05:32.229Z] ---> Running in dfe378150f28 [2024-11-01T02:05:33.185Z] 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.2" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-01T02:08:54.964Z] Removing intermediate container dfe378150f28 [2024-11-01T02:08:54.964Z] ---> 6f75d7080145 [2024-11-01T02:08:54.964Z] Step 13/25 : FROM alpine:3.20 [2024-11-01T02:08:54.964Z] 3.20: Pulling from library/alpine [2024-11-01T02:08:54.964Z] cf04c63912e1: Already exists [2024-11-01T02:08:54.964Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-01T02:08:54.964Z] Status: Downloaded newer image for alpine:3.20 [2024-11-01T02:08:54.964Z] ---> c157a85ed455 [2024-11-01T02:08:54.964Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-01T02:08:54.964Z] ---> Running in 7b7c396a54f5 [2024-11-01T02:08:54.964Z] Removing intermediate container 7b7c396a54f5 [2024-11-01T02:08:54.964Z] ---> 1a523fe8b8d7 [2024-11-01T02:08:54.964Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-01T02:08:54.964Z] ---> Running in 1b26fe5bc9ea [2024-11-01T02:08:54.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T02:08:54.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T02:08:55.231Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-01T02:08:55.231Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T02:08:55.231Z] OK: 9 MiB in 15 packages [2024-11-01T02:08:56.198Z] Removing intermediate container 1b26fe5bc9ea [2024-11-01T02:08:56.198Z] ---> e35149ff3b8e [2024-11-01T02:08:56.198Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-01T02:08:56.198Z] ---> Running in 2b411ad7a4de [2024-11-01T02:08:57.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T02:08:57.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T02:08:59.145Z] Upgrading critical system libraries and apk-tools: [2024-11-01T02:08:59.145Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-01T02:08:59.145Z] Executing busybox-1.36.1-r29.trigger [2024-11-01T02:08:59.145Z] Continuing the upgrade transaction with new apk-tools: [2024-11-01T02:08:59.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-01T02:08:59.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-01T02:09:00.829Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T02:09:00.829Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-01T02:09:00.829Z] OK: 9 MiB in 15 packages [2024-11-01T02:09:01.790Z] Removing intermediate container 2b411ad7a4de [2024-11-01T02:09:01.790Z] ---> 8ed562e236a2 [2024-11-01T02:09:01.790Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-01T02:09:04.417Z] ---> 53739f6edd5a [2024-11-01T02:09:04.417Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-01T02:09:04.417Z] ---> f10f632990a2 [2024-11-01T02:09:04.417Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-01T02:09:05.011Z] ---> ed0ede5dc4da [2024-11-01T02:09:05.011Z] Step 20/25 : EXPOSE 59982 [2024-11-01T02:09:05.011Z] ---> Running in 5e53bcc4d02b [2024-11-01T02:09:05.593Z] Removing intermediate container 5e53bcc4d02b [2024-11-01T02:09:05.593Z] ---> 4ca99fee2209 [2024-11-01T02:09:05.593Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-01T02:09:05.593Z] ---> Running in 2c305d10de07 [2024-11-01T02:09:05.859Z] Removing intermediate container 2c305d10de07 [2024-11-01T02:09:05.859Z] ---> c7948c58e36b [2024-11-01T02:09:05.859Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-01T02:09:05.859Z] ---> Running in 3e870ee9bc10 [2024-11-01T02:09:06.125Z] Removing intermediate container 3e870ee9bc10 [2024-11-01T02:09:06.125Z] ---> 89d2925be31a [2024-11-01T02:09:06.125Z] Step 23/25 : LABEL arch=arm64 [2024-11-01T02:09:06.399Z] ---> Running in 8bc117441709 [2024-11-01T02:09:06.400Z] Removing intermediate container 8bc117441709 [2024-11-01T02:09:06.400Z] ---> 58c5c150f7c3 [2024-11-01T02:09:06.400Z] Step 24/25 : LABEL git_sha=f1c88d5160692d8ac429d026c5c099452c0f276c [2024-11-01T02:09:06.665Z] ---> Running in 25e09861161c [2024-11-01T02:09:06.930Z] Removing intermediate container 25e09861161c [2024-11-01T02:09:06.930Z] ---> 9a421734413f [2024-11-01T02:09:06.930Z] Step 25/25 : LABEL version=0.0.0 [2024-11-01T02:09:06.930Z] ---> Running in 56ca88a06412 [2024-11-01T02:09:07.194Z] Removing intermediate container 56ca88a06412 [2024-11-01T02:09:07.194Z] ---> 67ec840a7c52 [2024-11-01T02:09:07.194Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-01T02:09:07.194Z] Successfully built 67ec840a7c52 [2024-11-01T02:09:07.194Z] 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-01T02:09:08.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T02:09:08.130Z] [2024-11-01T02:09:08.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T02:09:08.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T02:09:08.549Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-01T02:09:08.549Z] 8998bd30e6a1: Pulling fs layer [2024-11-01T02:09:08.549Z] 04944245beec: Pulling fs layer [2024-11-01T02:09:08.549Z] 699f458cf7ca: Pulling fs layer [2024-11-01T02:09:08.549Z] 765212b225bb: Pulling fs layer [2024-11-01T02:09:08.549Z] f23df028b6ca: Pulling fs layer [2024-11-01T02:09:08.549Z] d65c8cfc05b1: Pulling fs layer [2024-11-01T02:09:08.549Z] 2437ff75d9bd: Pulling fs layer [2024-11-01T02:09:08.549Z] f23df028b6ca: Waiting [2024-11-01T02:09:08.549Z] d65c8cfc05b1: Waiting [2024-11-01T02:09:08.549Z] 2437ff75d9bd: Waiting [2024-11-01T02:09:08.549Z] 765212b225bb: Waiting [2024-11-01T02:09:08.815Z] 04944245beec: Verifying Checksum [2024-11-01T02:09:08.815Z] 04944245beec: Download complete [2024-11-01T02:09:08.815Z] 765212b225bb: Verifying Checksum [2024-11-01T02:09:08.815Z] 765212b225bb: Download complete [2024-11-01T02:09:08.815Z] f23df028b6ca: Verifying Checksum [2024-11-01T02:09:08.815Z] f23df028b6ca: Download complete [2024-11-01T02:09:08.815Z] d65c8cfc05b1: Verifying Checksum [2024-11-01T02:09:08.815Z] d65c8cfc05b1: Download complete [2024-11-01T02:09:09.081Z] 699f458cf7ca: Verifying Checksum [2024-11-01T02:09:09.081Z] 699f458cf7ca: Download complete [2024-11-01T02:09:09.347Z] 8998bd30e6a1: Download complete [2024-11-01T02:09:11.921Z] 2437ff75d9bd: Verifying Checksum [2024-11-01T02:09:11.921Z] 2437ff75d9bd: Download complete [2024-11-01T02:09:14.492Z] 8998bd30e6a1: Pull complete [2024-11-01T02:09:14.763Z] 04944245beec: Pull complete [2024-11-01T02:09:16.176Z] 699f458cf7ca: Pull complete [2024-11-01T02:09:16.444Z] 765212b225bb: Pull complete [2024-11-01T02:09:17.408Z] f23df028b6ca: Pull complete [2024-11-01T02:09:17.677Z] d65c8cfc05b1: Pull complete [2024-11-01T02:09:35.921Z] 2437ff75d9bd: Pull complete [2024-11-01T02:09:35.921Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-01T02:09:35.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-01T02:09:35.921Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T02:09:36.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-24264 does not seem to be running inside a container [2024-11-01T02:09:36.393Z] $ 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-01T02:09:39.493Z] $ docker top 002270e49517e90bafbcb8bbc67331c269339a8d9d572b1227f954f2abf35969 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-01T02:09:40.449Z] ---> job-cost.sh [2024-11-01T02:09:40.449Z] lf-activate-venv: SKIPPING [2024-11-01T02:09:40.449Z] INFO: No Stack... [2024-11-01T02:09:40.718Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-01T02:09:41.679Z] INFO: Archiving Costs [Pipeline] sh [2024-11-01T02:09:42.362Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-11-01T02:09:42.362Z] + cut -d, -f6 [Pipeline] lock [2024-11-01T02:09:42.461Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-706-1-stack-cost] [2024-11-01T02:09:42.468Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-706-1-stack-cost] did not exist. Created. [2024-11-01T02:09:42.475Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-706-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-01T02:09:43.223Z] /w/workspace/device-mqtt-go/1@tmp/durable-63876b01/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-01T02:09:43.906Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-01T02:09:43.947Z] Warning: overwriting stash ‘stack-cost’ [2024-11-01T02:09:43.996Z] Stashed 1 file(s) [Pipeline] } [2024-11-01T02:09:44.017Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-706-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-01T02:09:44.113Z] $ docker stop --time=1 002270e49517e90bafbcb8bbc67331c269339a8d9d572b1227f954f2abf35969 [2024-11-01T02:09:45.724Z] $ docker rm -f --volumes 002270e49517e90bafbcb8bbc67331c269339a8d9d572b1227f954f2abf35969 [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-01T02:09:46.888Z] provisioning config files... [2024-11-01T02:09:46.895Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp/config16593407466619253918tmp [Pipeline] { [Pipeline] sh [2024-11-01T02:09:47.243Z] + set +x [2024-11-01T02:09:47.243Z] + curl -s https://codecov.io/bash [2024-11-01T02:09:47.243Z] + bash -s -- [2024-11-01T02:09:47.243Z] [2024-11-01T02:09:47.243Z] _____ _ [2024-11-01T02:09:47.243Z] / ____| | | [2024-11-01T02:09:47.243Z] | | ___ __| | ___ ___ _____ __ [2024-11-01T02:09:47.243Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-01T02:09:47.243Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-01T02:09:47.243Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-01T02:09:47.243Z] Bash-1.0.6 [2024-11-01T02:09:47.243Z] [2024-11-01T02:09:47.243Z] [2024-11-01T02:09:47.243Z] ==> git version 2.25.1 found [2024-11-01T02:09:47.243Z] ==> 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-01T02:09:47.243Z] Release-Date: 2020-01-08 [2024-11-01T02:09:47.243Z] 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-01T02:09:47.243Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-01T02:09:47.243Z] ==> Jenkins CI detected. [2024-11-01T02:09:47.243Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-706 [2024-11-01T02:09:47.243Z] project root: . [2024-11-01T02:09:47.243Z] --> token set from env [2024-11-01T02:09:47.243Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-01T02:09:47.243Z] ==> Running gcov in . (disable via -X gcov) [2024-11-01T02:09:47.243Z] ==> Python coveragepy not found [2024-11-01T02:09:47.243Z] ==> Searching for coverage reports in: [2024-11-01T02:09:47.243Z] + . [2024-11-01T02:09:47.243Z] -> Found 1 reports [2024-11-01T02:09:47.243Z] ==> Detecting git/mercurial file structure [2024-11-01T02:09:47.243Z] ==> Reading reports [2024-11-01T02:09:47.502Z] + ./coverage.out bytes=21039 [2024-11-01T02:09:47.502Z] ==> Appending adjustments [2024-11-01T02:09:47.502Z] https://docs.codecov.io/docs/fixing-reports [2024-11-01T02:09:47.502Z] + Found adjustments [2024-11-01T02:09:47.502Z] ==> Gzipping contents [2024-11-01T02:09:47.502Z] 4.0K /tmp/codecov.qBdGrz.gz [2024-11-01T02:09:47.502Z] ==> Uploading reports [2024-11-01T02:09:47.502Z] url: https://codecov.io [2024-11-01T02:09:47.503Z] query: branch=PR-706&commit=f1c88d5160692d8ac429d026c5c099452c0f276c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-706%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=706&job=&cmd_args= [2024-11-01T02:09:47.503Z] -> Pinging Codecov [2024-11-01T02:09:47.503Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-706&commit=f1c88d5160692d8ac429d026c5c099452c0f276c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-706%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=706&job=&cmd_args= [2024-11-01T02:09:47.762Z] -> Uploading to [2024-11-01T02:09:47.762Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/f1c88d5160692d8ac429d026c5c099452c0f276c/8d668570-1152-40b3-9b0a-959dbce94fae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T020947Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=25eee23dd13d7e9eb71944b4393377986c8eea34fefee8742b683e04ffde1c83 [2024-11-01T02:09:47.762Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-01T02:09:47.762Z] Dload Upload Total Spent Left Speed [2024-11-01T02:09:48.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14805 --:--:-- --:--:-- --:--:-- 14805 [2024-11-01T02:09:48.021Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f1c88d5160692d8ac429d026c5c099452c0f276c [Pipeline] } [2024-11-01T02:09:48.053Z] 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-01T02:09:50.199Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-706/archives ] [2024-11-01T02:09:50.199Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-706/archives [2024-11-01T02:09:50.199Z] total 16 [2024-11-01T02:09:50.199Z] drwxr-xr-x 3 root root 4096 Nov 1 01:58 . [2024-11-01T02:09:50.199Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 01:58 .. [2024-11-01T02:09:50.199Z] drwxr-xr-x 2 root root 4096 Nov 1 01:58 cost [2024-11-01T02:09:50.199Z] -rw-r--r-- 1 root root 86 Nov 1 01:58 cost.csv [2024-11-01T02:09:50.199Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-706/archives [2024-11-01T02:09:50.199Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-706/archives [2024-11-01T02:09:50.199Z] total 16 [2024-11-01T02:09:50.199Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 01:58 . [2024-11-01T02:09:50.199Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 01:58 .. [2024-11-01T02:09:50.199Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 01:58 cost [2024-11-01T02:09:50.199Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 01:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-01T02:09:50.544Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T02:09:51.448Z] ---> package-listing.sh [2024-11-01T02:09:51.448Z] ++ facter osfamily [2024-11-01T02:09:51.448Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-01T02:09:51.708Z] + OS_FAMILY=debian [2024-11-01T02:09:51.708Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-706 [2024-11-01T02:09:51.708Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-01T02:09:51.708Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-01T02:09:51.708Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-01T02:09:51.708Z] + PACKAGES=/tmp/packages_start.txt [2024-11-01T02:09:51.708Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-706 ']' [2024-11-01T02:09:51.708Z] + PACKAGES=/tmp/packages_end.txt [2024-11-01T02:09:51.708Z] + case "${OS_FAMILY}" in [2024-11-01T02:09:51.708Z] + dpkg -l [2024-11-01T02:09:51.708Z] + grep '^ii' [2024-11-01T02:09:51.708Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-01T02:09:51.708Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-01T02:09:51.708Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-01T02:09:51.708Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-706 ']' [2024-11-01T02:09:51.708Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-706/archives/ [2024-11-01T02:09:51.708Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-706/archives/ [Pipeline] echo [2024-11-01T02:09:51.814Z] 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-706/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-01T02:09:52.129Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-01T02:09:52.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-01T02:09:52.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-01T02:09:52.940Z] prd-ubuntu20.04-docker-8c-8g-24263 does not seem to be running inside a container [2024-11-01T02:09:52.962Z] $ 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-706/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-706 -v /w/workspace/gexfoundry_device-mqtt-go_PR-706:/w/workspace/gexfoundry_device-mqtt-go_PR-706:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-706@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-01T02:09:53.305Z] $ docker top af7d0e64e8a3fb576c7a2861120e6e626fce8935d2be293ce6bac7cae3b9387a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-01T02:09:53.719Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-01T02:09:54.032Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-01T02:09:54.345Z] + ls /var/log/sa-host [2024-11-01T02:09:54.345Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-01T02:09:54.639Z] provisioning config files... [2024-11-01T02:09:54.649Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-706@tmp/config14280241127192650165tmp [Pipeline] { [Pipeline] echo [2024-11-01T02:09:54.717Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T02:09:55.044Z] ---> create-netrc.sh [Pipeline] } [2024-11-01T02:09:55.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-01T02:09:55.488Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-01T02:09:55.529Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T02:09:55.906Z] ---> sudo-logs.sh [2024-11-01T02:09:55.906Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-01T02:09:56.290Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T02:09:56.647Z] ---> job-cost.sh [2024-11-01T02:09:56.647Z] lf-activate-venv: SKIPPING [2024-11-01T02:09:56.647Z] DEBUG: total: 0.2199999988079071 [2024-11-01T02:09:56.647Z] INFO: Retrieving Stack Cost... [2024-11-01T02:09:56.907Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-01T02:09:57.171Z] INFO: Archiving Costs [Pipeline] echo [2024-11-01T02:09:57.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-01T02:09:57.534Z] ---> logs-deploy.sh [2024-11-01T02:09:57.534Z] lf-activate-venv: SKIPPING [2024-11-01T02:09:57.534Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-706/1 [2024-11-01T02:09:57.534Z] INFO: archiving workspace using pattern(s): [2024-11-01T02:09:58.472Z] Archives upload complete. [2024-11-01T02:09:58.472Z] INFO: archiving logs to Nexus