Pull request #1651 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1917ac25e18a54f6706de4eec97101ca27fe9623+1921cd12150bcb2799e69b9e92bb7b088303c035 (b5637dd7c1c3838e241bc3efdb72a053d2e06437) 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-ssh4512285447529216067.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-ssh1660963892752458428.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-sdk-go/branches/PR-1651/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-sdk-go/branches/PR-1651/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5345820636135042498.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-sdk-go/branches/PR-1651/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12510579631386082649.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-ssh556977324046953418.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-sdk-go/branches/PR-1651/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-sdk-go/branches/PR-1651/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14743856042206589213.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi 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-27083 in /w/workspace/gexfoundry_device-sdk-go_PR-1651 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1651 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1651/head:refs/remotes/origin/PR-1651 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1921cd12150bcb2799e69b9e92bb7b088303c035 into PR head commit 1917ac25e18a54f6706de4eec97101ca27fe9623 Merge succeeded, producing 1917ac25e18a54f6706de4eec97101ca27fe9623 Checking out Revision 1917ac25e18a54f6706de4eec97101ca27fe9623 (PR-1651) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 1917ac25e18a54f6706de4eec97101ca27fe9623 # 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 1921cd12150bcb2799e69b9e92bb7b088303c035 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1917ac25e18a54f6706de4eec97101ca27fe9623 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-20T04:44:24.525Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-20T04:44:24.731Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-20T04:44:24.844Z] ========================================================= [2024-11-20T04:44:24.844Z] EdgeX Global Pipelines Version Info [2024-11-20T04:44:24.844Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-20T04:44:25.974Z] ------------------- [2024-11-20T04:44:25.974Z] stable info: [2024-11-20T04:44:25.974Z] ------------------- [2024-11-20T04:44:25.974Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-20T04:44:25.974Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-20T04:44:25.974Z] Message: update stable to v1.0.265 [2024-11-20T04:44:26.236Z] ------------------- [2024-11-20T04:44:26.236Z] experimental info: [2024-11-20T04:44:26.236Z] ------------------- [2024-11-20T04:44:26.236Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-20T04:44:26.236Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-20T04:44:26.236Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-20T04:44:26.446Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-11-20T04:44:26.502Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-11-20T04:44:26.552Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-20T04:44:26.608Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-20T04:44:26.664Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-20T04:44:26.722Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-20T04:44:26.781Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-20T04:44:26.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-11-20T04:44:26.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-20T04:44:26.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-20T04:44:26.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-20T04:44:27.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-11-20T04:44:27.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-20T04:44:27.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-20T04:44:27.196Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-20T04:44:27.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-20T04:44:27.310Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-20T04:44:27.369Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-20T04:44:27.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-20T04:44:27.488Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-20T04:44:27.547Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-20T04:44:27.610Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-20T04:44:27.670Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-20T04:44:27.729Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-20T04:44:27.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-20T04:44:27.846Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-20T04:44:27.904Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-20T04:44:27.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1651 [Pipeline] echo [2024-11-20T04:44:28.017Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1651 [Pipeline] echo [2024-11-20T04:44:28.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1651 [Pipeline] echo [2024-11-20T04:44:28.136Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1917ac25e18a54f6706de4eec97101ca27fe9623 [Pipeline] echo [2024-11-20T04:44:28.194Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1917ac2 [Pipeline] echo [2024-11-20T04:44:28.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-20T04:44:28.399Z] provisioning config files... [2024-11-20T04:44:28.413Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp/config15210012988793354580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-20T04:44:28.847Z] ---> ****-login.sh [2024-11-20T04:44:28.847Z] nexus3.edgexfoundry.org:10001 [2024-11-20T04:44:28.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:29.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:29.112Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:29.112Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:29.112Z] [2024-11-20T04:44:29.112Z] Login Succeeded [2024-11-20T04:44:29.112Z] nexus3.edgexfoundry.org:10002 [2024-11-20T04:44:29.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:29.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:29.373Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:29.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:29.373Z] [2024-11-20T04:44:29.373Z] Login Succeeded [2024-11-20T04:44:29.373Z] nexus3.edgexfoundry.org:10003 [2024-11-20T04:44:29.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:29.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:29.373Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:29.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:29.373Z] [2024-11-20T04:44:29.373Z] Login Succeeded [2024-11-20T04:44:29.373Z] nexus3.edgexfoundry.org:10004 [2024-11-20T04:44:29.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:29.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:29.632Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:29.632Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:29.632Z] [2024-11-20T04:44:29.632Z] Login Succeeded [2024-11-20T04:44:29.632Z] ****.io [2024-11-20T04:44:29.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:29.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:29.891Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:29.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:29.891Z] [2024-11-20T04:44:29.891Z] Login Succeeded [2024-11-20T04:44:29.891Z] ---> ****-login.sh ends [Pipeline] } [2024-11-20T04:44:29.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-20T04:44:30.566Z] + git rev-list -1 --merges 1917ac25e18a54f6706de4eec97101ca27fe9623~1..1917ac25e18a54f6706de4eec97101ca27fe9623 [Pipeline] echo [2024-11-20T04:44:30.614Z] -----------> git rev-list -1 --merges 1917ac25e18a54f6706de4eec97101ca27fe9623~1..1917ac25e18a54f6706de4eec97101ca27fe9623 1917ac25e18a54f6706de4eec97101ca27fe9623 [false] [Pipeline] sh [2024-11-20T04:44:30.940Z] + git log --format=format:%s -1 1917ac25e18a54f6706de4eec97101ca27fe9623 [Pipeline] echo [2024-11-20T04:44:30.984Z] ========================================================= [2024-11-20T04:44:30.984Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-20T04:44:30.984Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-20T04:44:31.447Z] + git log --format=format:%s -1 1917ac25e18a54f6706de4eec97101ca27fe9623 [Pipeline] echo [2024-11-20T04:44:31.491Z] [semverPrep] GIT_COMMIT: 1917ac25e18a54f6706de4eec97101ca27fe9623, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4 [Pipeline] echo [2024-11-20T04:44:31.530Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-20T04:44:31.966Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-20T04:44:31.966Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-20T04:44:31.966Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-20T04:44:31.966Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-20T04:44:31.966Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-20T04:44:31.966Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-20T04:44:31.966Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:44:32.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-20T04:44:32.493Z] [2024-11-20T04:44:32.493Z] 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-20T04:44:32.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-20T04:44:32.903Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-20T04:44:32.903Z] b85a868b505f: Pulling fs layer [2024-11-20T04:44:32.903Z] e2be974225ed: Pulling fs layer [2024-11-20T04:44:32.903Z] 339a4e72a1f5: Pulling fs layer [2024-11-20T04:44:32.903Z] 988bab9f4d93: Pulling fs layer [2024-11-20T04:44:32.903Z] 1469e6f7b9e6: Pulling fs layer [2024-11-20T04:44:32.903Z] eaf3925da568: Pulling fs layer [2024-11-20T04:44:32.903Z] bab4dde63d76: Pulling fs layer [2024-11-20T04:44:32.903Z] bde34c3a00c8: Pulling fs layer [2024-11-20T04:44:32.903Z] b352a97aabf1: Pulling fs layer [2024-11-20T04:44:32.903Z] 4872d77fe225: Pulling fs layer [2024-11-20T04:44:32.903Z] 5851b861e8e6: Pulling fs layer [2024-11-20T04:44:32.903Z] 4872d77fe225: Waiting [2024-11-20T04:44:32.903Z] bde34c3a00c8: Waiting [2024-11-20T04:44:32.903Z] b352a97aabf1: Waiting [2024-11-20T04:44:32.903Z] 5851b861e8e6: Waiting [2024-11-20T04:44:32.903Z] eaf3925da568: Waiting [2024-11-20T04:44:32.903Z] 988bab9f4d93: Waiting [2024-11-20T04:44:32.903Z] 1469e6f7b9e6: Waiting [2024-11-20T04:44:32.903Z] e2be974225ed: Verifying Checksum [2024-11-20T04:44:32.903Z] e2be974225ed: Download complete [2024-11-20T04:44:32.903Z] 988bab9f4d93: Verifying Checksum [2024-11-20T04:44:32.903Z] 988bab9f4d93: Download complete [2024-11-20T04:44:33.171Z] 1469e6f7b9e6: Verifying Checksum [2024-11-20T04:44:33.171Z] 1469e6f7b9e6: Download complete [2024-11-20T04:44:33.171Z] eaf3925da568: Verifying Checksum [2024-11-20T04:44:33.171Z] eaf3925da568: Download complete [2024-11-20T04:44:33.171Z] 339a4e72a1f5: Verifying Checksum [2024-11-20T04:44:33.171Z] 339a4e72a1f5: Download complete [2024-11-20T04:44:33.171Z] bde34c3a00c8: Verifying Checksum [2024-11-20T04:44:33.171Z] bde34c3a00c8: Download complete [2024-11-20T04:44:33.171Z] b352a97aabf1: Download complete [2024-11-20T04:44:33.171Z] 4872d77fe225: Download complete [2024-11-20T04:44:33.171Z] 5851b861e8e6: Download complete [2024-11-20T04:44:33.171Z] b85a868b505f: Download complete [2024-11-20T04:44:33.433Z] bab4dde63d76: Verifying Checksum [2024-11-20T04:44:34.812Z] b85a868b505f: Pull complete [2024-11-20T04:44:34.812Z] e2be974225ed: Pull complete [2024-11-20T04:44:35.072Z] 339a4e72a1f5: Pull complete [2024-11-20T04:44:35.330Z] 988bab9f4d93: Pull complete [2024-11-20T04:44:35.593Z] 1469e6f7b9e6: Pull complete [2024-11-20T04:44:35.594Z] eaf3925da568: Pull complete [2024-11-20T04:44:37.496Z] bab4dde63d76: Pull complete [2024-11-20T04:44:37.496Z] bde34c3a00c8: Pull complete [2024-11-20T04:44:37.496Z] b352a97aabf1: Pull complete [2024-11-20T04:44:37.757Z] 4872d77fe225: Pull complete [2024-11-20T04:44:37.757Z] 5851b861e8e6: Pull complete [2024-11-20T04:44:37.757Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-20T04:44:37.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-20T04:44:37.757Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-20T04:44:38.056Z] prd-ubuntu20.04-docker-8c-8g-27083 does not seem to be running inside a container [2024-11-20T04:44:38.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1651 -v /w/workspace/gexfoundry_device-sdk-go_PR-1651:/w/workspace/gexfoundry_device-sdk-go_PR-1651:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-20T04:44:40.280Z] $ docker top 23e4c760786e38e475a841344eee32a1042164ca437e730930993de1b4e0a8c5 -eo pid,comm [2024-11-20T04:44:40.339Z] 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-20T04:44:40.339Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-20T04:44:40.505Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-20T04:44:40.505Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-20T04:44:40.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-20T04:44:40.618Z] $ docker exec 23e4c760786e38e475a841344eee32a1042164ca437e730930993de1b4e0a8c5 ssh-agent [2024-11-20T04:44:40.748Z] SSH_AUTH_SOCK=/tmp/ssh-47WBWABxf5tJ/agent.33 [2024-11-20T04:44:40.748Z] SSH_AGENT_PID=39 [2024-11-20T04:44:40.755Z] Running ssh-add (command line suppressed) [2024-11-20T04:44:40.870Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp/private_key_7485479484223147593.key (/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp/private_key_7485479484223147593.key) [2024-11-20T04:44:40.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-20T04:44:41.237Z] + git tag --points-at HEAD [Pipeline] } [2024-11-20T04:44:41.266Z] $ docker exec --env ******** --env ******** 23e4c760786e38e475a841344eee32a1042164ca437e730930993de1b4e0a8c5 ssh-agent -k [2024-11-20T04:44:41.375Z] unset SSH_AUTH_SOCK; [2024-11-20T04:44:41.376Z] unset SSH_AGENT_PID; [2024-11-20T04:44:41.376Z] echo Agent pid 39 killed; [2024-11-20T04:44:41.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-20T04:44:41.516Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-20T04:44:41.516Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-20T04:44:41.644Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-20T04:44:41.644Z] $ docker exec 23e4c760786e38e475a841344eee32a1042164ca437e730930993de1b4e0a8c5 ssh-agent [2024-11-20T04:44:41.751Z] SSH_AUTH_SOCK=/tmp/ssh-bNrKaBThJsjv/agent.72 [2024-11-20T04:44:41.751Z] SSH_AGENT_PID=78 [2024-11-20T04:44:41.756Z] Running ssh-add (command line suppressed) [2024-11-20T04:44:41.852Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp/private_key_10486791465628060995.key (/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp/private_key_10486791465628060995.key) [2024-11-20T04:44:41.869Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-20T04:44:42.219Z] + git semver init [2024-11-20T04:44:42.478Z] 2024-11-20 04:44:42,425 [run_init] DEBUG init version:0.0.0 force:False [2024-11-20T04:44:42.478Z] 2024-11-20 04:44:42,425 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1651/.semver [2024-11-20T04:44:42.478Z] 2024-11-20 04:44:42,426 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1651/.semver [2024-11-20T04:44:42.478Z] 2024-11-20 04:44:42,426 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1651/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1651, universal_newlines=False, shell=None, istream=None) [2024-11-20T04:44:43.857Z] 2024-11-20 04:44:43,758 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1651/.git/info/exclude [2024-11-20T04:44:43.857Z] 2024-11-20 04:44:43,759 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1651/.semver/PR-1651 with force:False [2024-11-20T04:44:43.857Z] 2024-11-20 04:44:43,759 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1651/.semver/PR-1651 [2024-11-20T04:44:43.857Z] 2024-11-20 04:44:43,764 [execute] INFO git cat-file --batch-check [2024-11-20T04:44:43.857Z] 2024-11-20 04:44:43,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1651/.semver, universal_newlines=False, shell=None, istream=) [2024-11-20T04:44:43.857Z] 2024-11-20 04:44:43,771 [execute] INFO git cat-file --batch [2024-11-20T04:44:43.857Z] 2024-11-20 04:44:43,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1651/.semver, universal_newlines=False, shell=None, istream=) [2024-11-20T04:44:43.857Z] 2024-11-20 04:44:43,777 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1651/.semver/PR-1651 [2024-11-20T04:44:43.857Z] 0.0.0 [Pipeline] } [2024-11-20T04:44:43.883Z] $ docker exec --env ******** --env ******** 23e4c760786e38e475a841344eee32a1042164ca437e730930993de1b4e0a8c5 ssh-agent -k [2024-11-20T04:44:43.995Z] unset SSH_AUTH_SOCK; [2024-11-20T04:44:43.995Z] unset SSH_AGENT_PID; [2024-11-20T04:44:43.995Z] echo Agent pid 78 killed; [2024-11-20T04:44:44.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-20T04:44:44.469Z] + git semver [Pipeline] } [2024-11-20T04:44:44.758Z] $ docker stop --time=1 23e4c760786e38e475a841344eee32a1042164ca437e730930993de1b4e0a8c5 [2024-11-20T04:44:46.054Z] $ docker rm -f --volumes 23e4c760786e38e475a841344eee32a1042164ca437e730930993de1b4e0a8c5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-20T04:44:46.534Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-20T04:44:46.932Z] Stashed 1 file(s) [Pipeline] echo [2024-11-20T04:44:46.958Z] [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-20T04:44:47.701Z] provisioning config files... [2024-11-20T04:44:47.711Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp/config2293749028028842473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-20T04:44:48.096Z] ---> ****-login.sh [2024-11-20T04:44:48.097Z] nexus3.edgexfoundry.org:10001 [2024-11-20T04:44:48.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:48.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:48.097Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:48.097Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:48.097Z] [2024-11-20T04:44:48.097Z] Login Succeeded [2024-11-20T04:44:48.097Z] nexus3.edgexfoundry.org:10002 [2024-11-20T04:44:48.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:48.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:48.097Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:48.097Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:48.097Z] [2024-11-20T04:44:48.097Z] Login Succeeded [2024-11-20T04:44:48.097Z] nexus3.edgexfoundry.org:10003 [2024-11-20T04:44:48.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:48.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:48.360Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:48.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:48.360Z] [2024-11-20T04:44:48.360Z] Login Succeeded [2024-11-20T04:44:48.360Z] nexus3.edgexfoundry.org:10004 [2024-11-20T04:44:48.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:48.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:48.360Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:48.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:48.360Z] [2024-11-20T04:44:48.360Z] Login Succeeded [2024-11-20T04:44:48.360Z] ****.io [2024-11-20T04:44:48.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:44:48.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:44:48.621Z] Configure a credential helper to remove this warning. See [2024-11-20T04:44:48.621Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:44:48.621Z] [2024-11-20T04:44:48.621Z] Login Succeeded [2024-11-20T04:44:48.621Z] ---> ****-login.sh ends [Pipeline] } [2024-11-20T04:44:48.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-20T04:44:48.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-20T04:44:48.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-20T04:44:48.995Z] ========================================================= [2024-11-20T04:44:48.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-20T04:44:48.995Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:44:49.517Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/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-20T04:44:49.518Z] Sending build context to Docker daemon 24.86MB [2024-11-20T04:44:49.518Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-20T04:44:49.518Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-20T04:44:49.778Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-20T04:44:49.778Z] 43c4264eed91: Pulling fs layer [2024-11-20T04:44:49.778Z] 4cc291be95ef: Pulling fs layer [2024-11-20T04:44:49.778Z] 2ac1f1163629: Pulling fs layer [2024-11-20T04:44:49.778Z] 5c3c966382ef: Pulling fs layer [2024-11-20T04:44:49.778Z] 4f4fb700ef54: Pulling fs layer [2024-11-20T04:44:49.778Z] 5d5c8e513c77: Pulling fs layer [2024-11-20T04:44:49.778Z] 9f66e0745190: Pulling fs layer [2024-11-20T04:44:49.778Z] f49a43e4bbc0: Pulling fs layer [2024-11-20T04:44:49.778Z] 561ebcabdf7f: Pulling fs layer [2024-11-20T04:44:49.778Z] 9f66e0745190: Waiting [2024-11-20T04:44:49.778Z] f49a43e4bbc0: Waiting [2024-11-20T04:44:49.778Z] 561ebcabdf7f: Waiting [2024-11-20T04:44:49.778Z] 5d5c8e513c77: Waiting [2024-11-20T04:44:49.778Z] 4f4fb700ef54: Waiting [2024-11-20T04:44:49.778Z] 5c3c966382ef: Waiting [2024-11-20T04:44:49.778Z] 4cc291be95ef: Verifying Checksum [2024-11-20T04:44:49.778Z] 4cc291be95ef: Download complete [2024-11-20T04:44:49.778Z] 5c3c966382ef: Verifying Checksum [2024-11-20T04:44:49.778Z] 5c3c966382ef: Download complete [2024-11-20T04:44:49.778Z] 4f4fb700ef54: Verifying Checksum [2024-11-20T04:44:49.778Z] 4f4fb700ef54: Download complete [2024-11-20T04:44:49.778Z] 5d5c8e513c77: Download complete [2024-11-20T04:44:49.778Z] 43c4264eed91: Download complete [2024-11-20T04:44:49.778Z] 9f66e0745190: Verifying Checksum [2024-11-20T04:44:49.778Z] 9f66e0745190: Download complete [2024-11-20T04:44:50.038Z] 43c4264eed91: Pull complete [2024-11-20T04:44:50.038Z] 561ebcabdf7f: Download complete [2024-11-20T04:44:50.038Z] 4cc291be95ef: Pull complete [2024-11-20T04:44:50.298Z] 2ac1f1163629: Verifying Checksum [2024-11-20T04:44:50.298Z] 2ac1f1163629: Download complete [2024-11-20T04:44:50.557Z] f49a43e4bbc0: Verifying Checksum [2024-11-20T04:44:50.557Z] f49a43e4bbc0: Download complete [2024-11-20T04:44:53.881Z] 2ac1f1163629: Pull complete [2024-11-20T04:44:53.881Z] 5c3c966382ef: Pull complete [2024-11-20T04:44:54.141Z] 4f4fb700ef54: Pull complete [2024-11-20T04:44:54.141Z] 5d5c8e513c77: Pull complete [2024-11-20T04:44:54.141Z] 9f66e0745190: Pull complete [2024-11-20T04:44:56.676Z] f49a43e4bbc0: Pull complete [2024-11-20T04:44:56.935Z] 561ebcabdf7f: Pull complete [2024-11-20T04:44:57.195Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-20T04:44:57.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-20T04:44:57.195Z] ---> 3a752c3f9dda [2024-11-20T04:44:57.195Z] Step 3/10 : ARG MAKE=make build [2024-11-20T04:45:01.431Z] ---> Running in 2edb3d8acb74 [2024-11-20T04:45:01.431Z] Removing intermediate container 2edb3d8acb74 [2024-11-20T04:45:01.431Z] ---> aa0d88c696ce [2024-11-20T04:45:01.431Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-20T04:45:01.431Z] ---> Running in a0f097506f6f [2024-11-20T04:45:01.431Z] Removing intermediate container a0f097506f6f [2024-11-20T04:45:01.431Z] ---> f04431a86f7f [2024-11-20T04:45:01.431Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-20T04:45:01.431Z] ---> Running in 2d55ee880c91 [2024-11-20T04:45:01.431Z] Removing intermediate container 2d55ee880c91 [2024-11-20T04:45:01.431Z] ---> 27615dfcf66b [2024-11-20T04:45:01.431Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-20T04:45:01.431Z] ---> Running in dea27a419ddb [2024-11-20T04:45:01.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-20T04:45:02.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-20T04:45:02.469Z] Still waiting to schedule task [2024-11-20T04:45:02.469Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-20T04:45:02.640Z] OK: 246 MiB in 54 packages [2024-11-20T04:45:02.900Z] Removing intermediate container dea27a419ddb [2024-11-20T04:45:02.900Z] ---> 473277c9fc2d [2024-11-20T04:45:02.900Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-20T04:45:02.900Z] ---> db92d951a79c [2024-11-20T04:45:02.900Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-20T04:45:02.900Z] ---> Running in 534329b4f5f3 [2024-11-20T04:45:59.159Z] Removing intermediate container 534329b4f5f3 [2024-11-20T04:45:59.159Z] ---> 07e2d94f384e [2024-11-20T04:45:59.159Z] Step 9/10 : COPY . . [2024-11-20T04:45:59.159Z] ---> 3e331063e38f [2024-11-20T04:45:59.159Z] Step 10/10 : RUN ${MAKE} [2024-11-20T04:45:59.159Z] ---> Running in de4d251d005a [2024-11-20T04:45:59.159Z] noop [2024-11-20T04:45:59.159Z] Removing intermediate container de4d251d005a [2024-11-20T04:45:59.159Z] ---> 0d86aafc494f [2024-11-20T04:45:59.159Z] Successfully built 0d86aafc494f [2024-11-20T04:45:59.159Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:45:59.666Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-20T04:45:59.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-20T04:45:59.841Z] prd-ubuntu20.04-docker-8c-8g-27083 does not seem to be running inside a container [2024-11-20T04:45:59.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1651 -v /w/workspace/gexfoundry_device-sdk-go_PR-1651:/w/workspace/gexfoundry_device-sdk-go_PR-1651:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-20T04:46:00.227Z] $ docker top b03be655e9d2864d3d25add88be35e78b12fc9f57d12bf644978c703c77865e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-20T04:46:00.646Z] + go version [2024-11-20T04:46:00.646Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-20T04:46:00.681Z] $ docker stop --time=1 b03be655e9d2864d3d25add88be35e78b12fc9f57d12bf644978c703c77865e1 [2024-11-20T04:46:01.981Z] $ docker rm -f --volumes b03be655e9d2864d3d25add88be35e78b12fc9f57d12bf644978c703c77865e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:46:02.784Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-20T04:46:02.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-20T04:46:02.950Z] prd-ubuntu20.04-docker-8c-8g-27083 does not seem to be running inside a container [2024-11-20T04:46:02.977Z] $ 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-sdk-go_PR-1651 -v /w/workspace/gexfoundry_device-sdk-go_PR-1651:/w/workspace/gexfoundry_device-sdk-go_PR-1651:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-20T04:46:03.310Z] $ docker top ca8df858a292b449ea7e354def2ac0f9eacd0d0b741a1ef850ef04493df29a3b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-20T04:46:03.722Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1651 [Pipeline] fileExists [Pipeline] sh [2024-11-20T04:46:04.099Z] + make test [2024-11-20T04:46:04.099Z] go test -race -coverprofile=coverage.out ./... [2024-11-20T04:46:12.231Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-20T04:46:44.438Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27084 in /w/workspace/gexfoundry_device-sdk-go_PR-1651 [Pipeline] { [Pipeline] ws [2024-11-20T04:46:44.528Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-11-20T04:46:45.675Z] The recommended git tool is: git [2024-11-20T04:46:50.954Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-20T04:46:50.954Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-20T04:46:50.954Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-20T04:46:50.954Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-20T04:46:50.954Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-20T04:46:50.954Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.052s coverage: 28.7% of statements [2024-11-20T04:46:50.954Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.033s coverage: 79.4% of statements [2024-11-20T04:46:50.955Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-20T04:46:50.955Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-20T04:46:50.955Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-20T04:46:50.955Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.044s coverage: 86.0% of statements [2024-11-20T04:46:50.955Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-20T04:46:50.955Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-20T04:46:50.955Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-20T04:46:50.955Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.091s coverage: 45.2% of statements [2024-11-20T04:46:50.955Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-20T04:46:51.895Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.044s coverage: 14.1% of statements [2024-11-20T04:46:51.895Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.484s coverage: 44.6% of statements [2024-11-20T04:46:51.895Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.061s coverage: 68.4% of statements [2024-11-20T04:46:51.895Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.086s coverage: 88.3% of statements [2024-11-20T04:46:51.895Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.057s coverage: 5.3% of statements [2024-11-20T04:46:55.333Z] using credential edgex-jenkins-ssh [2024-11-20T04:46:55.358Z] Cloning the remote Git repository [2024-11-20T04:46:55.444Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-11-20T04:46:55.579Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-11-20T04:46:55.901Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-20T04:46:55.901Z] > git --version # timeout=10 [2024-11-20T04:46:55.924Z] > git --version # 'git version 2.25.1' [2024-11-20T04:46:55.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-20T04:46:56.114Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-20T04:46:59.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-20T04:46:59.207Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-20T04:47:01.040Z] Merging remotes/origin/main commit 1921cd12150bcb2799e69b9e92bb7b088303c035 into PR head commit 1917ac25e18a54f6706de4eec97101ca27fe9623 [2024-11-20T04:47:00.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-20T04:47:00.440Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-20T04:47:00.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-20T04:47:00.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1651/head:refs/remotes/origin/PR-1651 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-20T04:47:01.063Z] > git config core.sparsecheckout # timeout=10 [2024-11-20T04:47:01.395Z] Merge succeeded, producing 1917ac25e18a54f6706de4eec97101ca27fe9623 [2024-11-20T04:47:01.396Z] Checking out Revision 1917ac25e18a54f6706de4eec97101ca27fe9623 (PR-1651) [2024-11-20T04:47:01.989Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" [2024-11-20T04:47:02.041Z] > git --version # timeout=10 [2024-11-20T04:47:02.052Z] > git --version # 'git version 2.25.1' [2024-11-20T04:47:02.070Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-20T04:47:01.148Z] > git checkout -f 1917ac25e18a54f6706de4eec97101ca27fe9623 # timeout=10 [2024-11-20T04:47:01.279Z] > git remote # timeout=10 [2024-11-20T04:47:01.303Z] > git config --get remote.origin.url # timeout=10 [2024-11-20T04:47:01.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-20T04:47:01.346Z] > git merge 1921cd12150bcb2799e69b9e92bb7b088303c035 # timeout=10 [2024-11-20T04:47:01.380Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-20T04:47:01.404Z] > git config core.sparsecheckout # timeout=10 [2024-11-20T04:47:01.416Z] > git checkout -f 1917ac25e18a54f6706de4eec97101ca27fe9623 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-20T04:47:07.053Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-20T04:47:07.053Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-20T04:47:07.053Z] Dload Upload Total Spent Left Speed [2024-11-20T04:47:07.053Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 84394 0 --:--:-- --:--:-- --:--:-- 84394 [Pipeline] sh [2024-11-20T04:47:07.401Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-20T04:47:07.750Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-20T04:47:07.750Z] + sudo tee /etc/docker/daemon.new [2024-11-20T04:47:07.750Z] { [2024-11-20T04:47:07.750Z] "registry-mirrors": [ [2024-11-20T04:47:07.750Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-20T04:47:07.750Z] ], [2024-11-20T04:47:07.750Z] "bip": "10.250.0.254/24", [2024-11-20T04:47:07.750Z] "hosts": [ [2024-11-20T04:47:07.750Z] "tcp://0.0.0.0:5555", [2024-11-20T04:47:07.750Z] "unix:///var/run/docker.sock" [2024-11-20T04:47:07.750Z] ], [2024-11-20T04:47:07.750Z] "mtu": 1458, [2024-11-20T04:47:07.750Z] "selinux-enabled": true, [2024-11-20T04:47:07.750Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-20T04:47:07.750Z] } [Pipeline] sh [2024-11-20T04:47:08.098Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-20T04:47:08.449Z] + sudo service docker restart [2024-11-20T04:47:24.010Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-20T04:47:26.808Z] provisioning config files... [2024-11-20T04:47:26.833Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config394579682492387115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-20T04:47:27.290Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-20T04:47:27.290Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-20T04:47:27.290Z] ./bin/test-attribution-txt.sh [2024-11-20T04:47:27.318Z] ---> ****-login.sh [2024-11-20T04:47:27.318Z] nexus3.edgexfoundry.org:10001 [Pipeline] echo [2024-11-20T04:47:27.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-11-20T04:47:27.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [2024-11-20T04:47:27.646Z] $ docker stop --time=1 ca8df858a292b449ea7e354def2ac0f9eacd0d0b741a1ef850ef04493df29a3b [2024-11-20T04:47:27.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:47:27.861Z] Configure a credential helper to remove this warning. See [2024-11-20T04:47:27.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:47:27.861Z] [2024-11-20T04:47:27.861Z] Login Succeeded [2024-11-20T04:47:27.861Z] nexus3.edgexfoundry.org:10002 [2024-11-20T04:47:28.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:47:28.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:47:28.402Z] Configure a credential helper to remove this warning. See [2024-11-20T04:47:28.402Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:47:28.402Z] [2024-11-20T04:47:28.402Z] Login Succeeded [2024-11-20T04:47:28.402Z] nexus3.edgexfoundry.org:10003 [2024-11-20T04:47:28.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:47:28.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:47:28.673Z] Configure a credential helper to remove this warning. See [2024-11-20T04:47:28.673Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:47:28.673Z] [2024-11-20T04:47:28.673Z] Login Succeeded [2024-11-20T04:47:28.673Z] nexus3.edgexfoundry.org:10004 [2024-11-20T04:47:28.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:47:28.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:47:28.946Z] Configure a credential helper to remove this warning. See [2024-11-20T04:47:28.946Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:47:28.946Z] [2024-11-20T04:47:28.946Z] Login Succeeded [2024-11-20T04:47:28.946Z] ****.io [2024-11-20T04:47:29.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-20T04:47:29.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-20T04:47:29.484Z] Configure a credential helper to remove this warning. See [2024-11-20T04:47:29.484Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-20T04:47:29.484Z] [2024-11-20T04:47:29.484Z] Login Succeeded [2024-11-20T04:47:29.484Z] ---> ****-login.sh ends [2024-11-20T04:47:31.801Z] $ docker rm -f --volumes ca8df858a292b449ea7e354def2ac0f9eacd0d0b741a1ef850ef04493df29a3b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2024-11-20T04:47:32.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-11-20T04:47:32.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-20T04:47:32.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo [2024-11-20T04:47:32.930Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] stage [Pipeline] { (Build) [Pipeline] echo [2024-11-20T04:47:33.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-20T04:47:33.056Z] ========================================================= [2024-11-20T04:47:33.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-20T04:47:33.056Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-11-20T04:47:33.527Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/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-20T04:47:33.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-20T04:47:34.106Z] + ls -al . [2024-11-20T04:47:34.106Z] total 704 [2024-11-20T04:47:34.106Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 20 04:46 . [2024-11-20T04:47:34.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 04:44 .. [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 20 04:44 .dockerignore [2024-11-20T04:47:34.106Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 20 04:46 .git [2024-11-20T04:47:34.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 20 04:44 .github [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 20 04:44 .gitignore [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 20 04:44 .golangci.yml [2024-11-20T04:47:34.106Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 20 04:44 .semver [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 20 04:44 CHANGELOG.md [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 20 04:44 GOVERNANCE.md [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 20 04:44 Jenkinsfile [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 20 04:44 LICENSE [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 20 04:44 Makefile [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 20 04:44 OWNERS.md [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 20 04:44 README.md [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 20 04:44 VERSION [2024-11-20T04:47:34.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 20 04:44 bin [2024-11-20T04:47:34.106Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 20 04:46 coverage.out [2024-11-20T04:47:34.106Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 20 04:44 example [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 20 04:44 go.mod [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 20 04:44 go.sum [2024-11-20T04:47:34.106Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 20 04:44 internal [2024-11-20T04:47:34.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 20 04:44 openapi [2024-11-20T04:47:34.106Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 20 04:44 pkg [2024-11-20T04:47:34.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 04:44 snap [2024-11-20T04:47:34.106Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 20 04:44 version.go [2024-11-20T04:47:34.132Z] Sending build context to Docker daemon 12.89MB [2024-11-20T04:47:34.132Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-20T04:47:34.132Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-20T04:47:34.132Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-20T04:47:34.132Z] cf04c63912e1: Pulling fs layer [2024-11-20T04:47:34.132Z] 55b35a11ae5e: Pulling fs layer [2024-11-20T04:47:34.132Z] a37a00ec5f00: Pulling fs layer [2024-11-20T04:47:34.132Z] 50b3750afda1: Pulling fs layer [2024-11-20T04:47:34.132Z] 4f4fb700ef54: Pulling fs layer [2024-11-20T04:47:34.132Z] 80978eb59214: Pulling fs layer [2024-11-20T04:47:34.132Z] c9f46d7d2bd2: Pulling fs layer [2024-11-20T04:47:34.132Z] c5a475d317c9: Pulling fs layer [2024-11-20T04:47:34.132Z] 80978eb59214: Waiting [2024-11-20T04:47:34.132Z] c9f46d7d2bd2: Waiting [2024-11-20T04:47:34.132Z] 50b3750afda1: Waiting [2024-11-20T04:47:34.132Z] 4f4fb700ef54: Waiting [2024-11-20T04:47:34.132Z] c5a475d317c9: Waiting [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:47:34.403Z] 55b35a11ae5e: Download complete [2024-11-20T04:47:34.403Z] 50b3750afda1: Verifying Checksum [2024-11-20T04:47:34.403Z] 50b3750afda1: Download complete [2024-11-20T04:47:34.403Z] 4f4fb700ef54: Verifying Checksum [2024-11-20T04:47:34.403Z] 4f4fb700ef54: Download complete [2024-11-20T04:47:34.403Z] 80978eb59214: Verifying Checksum [2024-11-20T04:47:34.403Z] 80978eb59214: Download complete [2024-11-20T04:47:34.403Z] cf04c63912e1: Download complete [2024-11-20T04:47:34.554Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1917ac25e18a54f6706de4eec97101ca27fe9623 --label arch=amd64 --label version=0.0.0 . [2024-11-20T04:47:34.554Z] Sending build context to Docker daemon 25.32MB [2024-11-20T04:47:34.554Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-20T04:47:34.554Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-20T04:47:34.554Z] ---> 0d86aafc494f [2024-11-20T04:47:34.554Z] Step 3/24 : ARG MAKE=make build [2024-11-20T04:47:34.680Z] c5a475d317c9: Verifying Checksum [2024-11-20T04:47:34.680Z] c5a475d317c9: Download complete [2024-11-20T04:47:34.813Z] ---> Running in 22c7f992d7f7 [2024-11-20T04:47:35.073Z] Removing intermediate container 22c7f992d7f7 [2024-11-20T04:47:35.073Z] ---> 16fe44f26a62 [2024-11-20T04:47:35.073Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-20T04:47:35.073Z] ---> Running in 9711467c7274 [2024-11-20T04:47:35.073Z] Removing intermediate container 9711467c7274 [2024-11-20T04:47:35.073Z] ---> 216c704e6176 [2024-11-20T04:47:35.073Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-20T04:47:35.073Z] ---> Running in fb32f249bdc3 [2024-11-20T04:47:35.073Z] Removing intermediate container fb32f249bdc3 [2024-11-20T04:47:35.073Z] ---> e34ca80a6c34 [2024-11-20T04:47:35.073Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-20T04:47:35.334Z] ---> Running in de97d77c054d [2024-11-20T04:47:35.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-20T04:47:35.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-20T04:47:35.648Z] cf04c63912e1: Pull complete [2024-11-20T04:47:35.853Z] OK: 246 MiB in 54 packages [2024-11-20T04:47:36.237Z] 55b35a11ae5e: Pull complete [2024-11-20T04:47:36.237Z] a37a00ec5f00: Verifying Checksum [2024-11-20T04:47:36.237Z] a37a00ec5f00: Download complete [2024-11-20T04:47:36.423Z] Removing intermediate container de97d77c054d [2024-11-20T04:47:36.423Z] ---> 63e82f5e1583 [2024-11-20T04:47:36.423Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-20T04:47:36.423Z] ---> 24802477b760 [2024-11-20T04:47:36.423Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-20T04:47:36.423Z] ---> Running in 8397ee908ff4 [2024-11-20T04:47:36.993Z] Removing intermediate container 8397ee908ff4 [2024-11-20T04:47:36.993Z] ---> f1a8f1de2511 [2024-11-20T04:47:36.993Z] Step 9/24 : COPY . . [2024-11-20T04:47:37.208Z] c9f46d7d2bd2: Verifying Checksum [2024-11-20T04:47:37.208Z] c9f46d7d2bd2: Download complete [2024-11-20T04:47:37.560Z] ---> fcec3e062908 [2024-11-20T04:47:37.560Z] Step 10/24 : RUN ${MAKE} [2024-11-20T04:47:37.560Z] ---> Running in 534f5b076565 [2024-11-20T04:47:37.819Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-20T04:47:49.534Z] a37a00ec5f00: Pull complete [2024-11-20T04:47:49.803Z] 50b3750afda1: Pull complete [2024-11-20T04:47:50.071Z] 4f4fb700ef54: Pull complete [2024-11-20T04:47:50.336Z] 80978eb59214: Pull complete [2024-11-20T04:47:58.559Z] c9f46d7d2bd2: Pull complete [2024-11-20T04:47:59.966Z] c5a475d317c9: Pull complete [2024-11-20T04:47:59.966Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-20T04:47:59.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-20T04:47:59.966Z] ---> be29e6b0f0d4 [2024-11-20T04:47:59.966Z] Step 3/10 : ARG MAKE=make build [2024-11-20T04:48:00.931Z] ---> Running in 1b6cba63c26c [2024-11-20T04:48:01.205Z] Removing intermediate container 1b6cba63c26c [2024-11-20T04:48:01.205Z] ---> ad0540b1955c [2024-11-20T04:48:01.205Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-20T04:48:01.205Z] ---> Running in c613859ad4d5 [2024-11-20T04:48:01.474Z] Removing intermediate container c613859ad4d5 [2024-11-20T04:48:01.474Z] ---> 70dbfefff5c8 [2024-11-20T04:48:01.474Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-20T04:48:01.475Z] ---> Running in c02426c168d6 [2024-11-20T04:48:02.108Z] Removing intermediate container c02426c168d6 [2024-11-20T04:48:02.108Z] ---> 26c0ae647f44 [2024-11-20T04:48:02.108Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-20T04:48:02.108Z] ---> Running in 69565b134aaf [2024-11-20T04:48:04.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-20T04:48:04.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-20T04:48:05.771Z] OK: 238 MiB in 54 packages [2024-11-20T04:48:06.357Z] Removing intermediate container 69565b134aaf [2024-11-20T04:48:06.357Z] ---> 142467b5a1e1 [2024-11-20T04:48:06.357Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-20T04:48:06.949Z] ---> 1546cc147ae3 [2024-11-20T04:48:06.949Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-20T04:48:06.949Z] ---> Running in 7edc44a803b7 [2024-11-20T04:48:10.032Z] Removing intermediate container 534f5b076565 [2024-11-20T04:48:10.032Z] ---> d3c588386b4b [2024-11-20T04:48:10.032Z] Step 11/24 : FROM alpine:3.20 [2024-11-20T04:48:10.032Z] 3.20: Pulling from library/alpine [2024-11-20T04:48:10.032Z] da9db072f522: Pulling fs layer [2024-11-20T04:48:10.032Z] da9db072f522: Verifying Checksum [2024-11-20T04:48:10.032Z] da9db072f522: Download complete [2024-11-20T04:48:10.032Z] da9db072f522: Pull complete [2024-11-20T04:48:10.032Z] Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a [2024-11-20T04:48:10.032Z] Status: Downloaded newer image for alpine:3.20 [2024-11-20T04:48:10.032Z] ---> 63b790fccc90 [2024-11-20T04:48:10.032Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-20T04:48:10.032Z] ---> Running in b9c3fef7582f [2024-11-20T04:48:10.032Z] Removing intermediate container b9c3fef7582f [2024-11-20T04:48:10.032Z] ---> dbce283ff851 [2024-11-20T04:48:10.032Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-20T04:48:10.032Z] ---> Running in 3ca4a10f7a6e [2024-11-20T04:48:10.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-20T04:48:10.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-20T04:48:10.032Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-20T04:48:10.032Z] Executing busybox-1.36.1-r29.trigger [2024-11-20T04:48:10.032Z] OK: 8 MiB in 15 packages [2024-11-20T04:48:10.032Z] Removing intermediate container 3ca4a10f7a6e [2024-11-20T04:48:10.032Z] ---> 36a9798c9cc4 [2024-11-20T04:48:10.032Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-20T04:48:10.032Z] ---> Running in ab1db59e8331 [2024-11-20T04:48:10.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-20T04:48:10.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-20T04:48:10.032Z] Upgrading critical system libraries and apk-tools: [2024-11-20T04:48:10.032Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-20T04:48:10.032Z] Executing busybox-1.36.1-r29.trigger [2024-11-20T04:48:10.032Z] Continuing the upgrade transaction with new apk-tools: [2024-11-20T04:48:10.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-20T04:48:10.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-20T04:48:10.032Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-20T04:48:10.032Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-20T04:48:10.032Z] OK: 8 MiB in 15 packages [2024-11-20T04:48:10.032Z] Removing intermediate container ab1db59e8331 [2024-11-20T04:48:10.032Z] ---> a37515edd880 [2024-11-20T04:48:10.032Z] Step 15/24 : WORKDIR / [2024-11-20T04:48:10.032Z] ---> Running in fad743c71b63 [2024-11-20T04:48:10.032Z] Removing intermediate container fad743c71b63 [2024-11-20T04:48:10.032Z] ---> 156b07df9508 [2024-11-20T04:48:10.032Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-20T04:48:10.032Z] ---> c8d394a27fba [2024-11-20T04:48:10.032Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-20T04:48:10.032Z] ---> 346bc4f6ee30 [2024-11-20T04:48:10.032Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-20T04:48:10.032Z] ---> 94bec426c7e4 [2024-11-20T04:48:10.032Z] Step 19/24 : EXPOSE 59999 [2024-11-20T04:48:10.032Z] ---> Running in 8443c9063fb7 [2024-11-20T04:48:10.032Z] Removing intermediate container 8443c9063fb7 [2024-11-20T04:48:10.032Z] ---> 3a07a88fa3e6 [2024-11-20T04:48:10.032Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-20T04:48:10.032Z] ---> Running in ca58ebe715aa [2024-11-20T04:48:10.032Z] Removing intermediate container ca58ebe715aa [2024-11-20T04:48:10.032Z] ---> 7085772638e7 [2024-11-20T04:48:10.032Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-20T04:48:10.032Z] ---> Running in fa89281fcb78 [2024-11-20T04:48:10.292Z] Removing intermediate container fa89281fcb78 [2024-11-20T04:48:10.292Z] ---> 948a2f8c32bf [2024-11-20T04:48:10.292Z] Step 22/24 : LABEL arch=amd64 [2024-11-20T04:48:10.292Z] ---> Running in e132b2d93419 [2024-11-20T04:48:10.292Z] Removing intermediate container e132b2d93419 [2024-11-20T04:48:10.292Z] ---> cc29d67de8dc [2024-11-20T04:48:10.292Z] Step 23/24 : LABEL git_sha=1917ac25e18a54f6706de4eec97101ca27fe9623 [2024-11-20T04:48:10.292Z] ---> Running in 842bf1ad427a [2024-11-20T04:48:10.292Z] Removing intermediate container 842bf1ad427a [2024-11-20T04:48:10.292Z] ---> f586dd00fcfb [2024-11-20T04:48:10.292Z] Step 24/24 : LABEL version=0.0.0 [2024-11-20T04:48:10.292Z] ---> Running in 5fc3dc82e8d5 [2024-11-20T04:48:10.551Z] Removing intermediate container 5fc3dc82e8d5 [2024-11-20T04:48:10.551Z] ---> a8763848296d [2024-11-20T04:48:10.551Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-20T04:48:10.551Z] Successfully built a8763848296d [2024-11-20T04:48:10.551Z] Successfully tagged device-sdk-simple: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-20T04:48:11.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-20T04:48:11.586Z] [2024-11-20T04:48:11.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:48:12.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-20T04:48:12.189Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-20T04:48:12.189Z] 5eb5b503b376: Pulling fs layer [2024-11-20T04:48:12.189Z] 5c69ac0246d0: Pulling fs layer [2024-11-20T04:48:12.189Z] ec43610c2a17: Pulling fs layer [2024-11-20T04:48:12.189Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-20T04:48:12.189Z] 33b1e0a273af: Pulling fs layer [2024-11-20T04:48:12.189Z] 5d3b04190fa2: Pulling fs layer [2024-11-20T04:48:12.189Z] 2f39f015ded8: Pulling fs layer [2024-11-20T04:48:12.189Z] 3a2ae6a8a46f: Waiting [2024-11-20T04:48:12.189Z] 33b1e0a273af: Waiting [2024-11-20T04:48:12.189Z] 5d3b04190fa2: Waiting [2024-11-20T04:48:12.189Z] 2f39f015ded8: Waiting [2024-11-20T04:48:12.448Z] 5c69ac0246d0: Verifying Checksum [2024-11-20T04:48:12.448Z] 5c69ac0246d0: Download complete [2024-11-20T04:48:12.448Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-20T04:48:12.448Z] 3a2ae6a8a46f: Download complete [2024-11-20T04:48:12.448Z] ec43610c2a17: Verifying Checksum [2024-11-20T04:48:12.448Z] ec43610c2a17: Download complete [2024-11-20T04:48:12.448Z] 33b1e0a273af: Verifying Checksum [2024-11-20T04:48:12.448Z] 33b1e0a273af: Download complete [2024-11-20T04:48:12.448Z] 5d3b04190fa2: Download complete [2024-11-20T04:48:12.448Z] 5eb5b503b376: Download complete [2024-11-20T04:48:13.015Z] 2f39f015ded8: Download complete [2024-11-20T04:48:13.581Z] 5eb5b503b376: Pull complete [2024-11-20T04:48:13.581Z] 5c69ac0246d0: Pull complete [2024-11-20T04:48:14.148Z] ec43610c2a17: Pull complete [2024-11-20T04:48:14.148Z] 3a2ae6a8a46f: Pull complete [2024-11-20T04:48:14.407Z] 33b1e0a273af: Pull complete [2024-11-20T04:48:14.407Z] 5d3b04190fa2: Pull complete [2024-11-20T04:48:18.600Z] 2f39f015ded8: Pull complete [2024-11-20T04:48:18.600Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-20T04:48:18.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-20T04:48:18.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-20T04:48:18.878Z] prd-ubuntu20.04-docker-8c-8g-27083 does not seem to be running inside a container [2024-11-20T04:48:18.909Z] $ 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-sdk-go_PR-1651 -v /w/workspace/gexfoundry_device-sdk-go_PR-1651:/w/workspace/gexfoundry_device-sdk-go_PR-1651:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1651@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-20T04:48:21.439Z] $ docker top b3ee7558a78e1b277e2deaab80572c2ed6baab96ad1995e238a061959a838dbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-20T04:48:21.940Z] ---> job-cost.sh [2024-11-20T04:48:21.940Z] lf-activate-venv: SKIPPING [2024-11-20T04:48:21.940Z] INFO: No Stack... [2024-11-20T04:48:22.202Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-20T04:48:22.461Z] INFO: Archiving Costs [Pipeline] sh [2024-11-20T04:48:22.793Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1651/archives/cost.csv [2024-11-20T04:48:22.793Z] + cut -d, -f6 [Pipeline] lock [2024-11-20T04:48:22.845Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1651-1-stack-cost] [2024-11-20T04:48:22.852Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1651-1-stack-cost] did not exist. Created. [2024-11-20T04:48:22.858Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1651-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-20T04:48:23.276Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-20T04:48:23.342Z] Stashed 1 file(s) [Pipeline] } [2024-11-20T04:48:23.380Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1651-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-20T04:48:23.456Z] $ docker stop --time=1 b3ee7558a78e1b277e2deaab80572c2ed6baab96ad1995e238a061959a838dbd [2024-11-20T04:48:24.607Z] $ docker rm -f --volumes b3ee7558a78e1b277e2deaab80572c2ed6baab96ad1995e238a061959a838dbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-20T04:49:58.644Z] Removing intermediate container 7edc44a803b7 [2024-11-20T04:49:58.644Z] ---> 72f706e724d0 [2024-11-20T04:49:58.644Z] Step 9/10 : COPY . . [2024-11-20T04:49:58.644Z] ---> 9c93b22d0c7f [2024-11-20T04:49:58.644Z] Step 10/10 : RUN ${MAKE} [2024-11-20T04:49:58.644Z] ---> Running in 0d310586344f [2024-11-20T04:49:58.644Z] noop [2024-11-20T04:49:58.644Z] Removing intermediate container 0d310586344f [2024-11-20T04:49:58.644Z] ---> e448f9f5b3b8 [2024-11-20T04:49:58.644Z] Successfully built e448f9f5b3b8 [2024-11-20T04:49:58.644Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:49:59.157Z] + docker inspect -f . ci-base-image-arm64 [2024-11-20T04:49:59.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-20T04:49:59.470Z] prd-ubuntu20.04-docker-arm64-4c-16g-27084 does not seem to be running inside a container [2024-11-20T04:49:59.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-20T04:50:00.747Z] $ docker top 29edb32b9666fac63596ae94496d4d5ea497c916d361fd3d29a085f779f92093 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-20T04:50:01.642Z] + go version [2024-11-20T04:50:01.642Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-20T04:50:01.685Z] $ docker stop --time=1 29edb32b9666fac63596ae94496d4d5ea497c916d361fd3d29a085f779f92093 [2024-11-20T04:50:03.310Z] $ docker rm -f --volumes 29edb32b9666fac63596ae94496d4d5ea497c916d361fd3d29a085f779f92093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:50:04.230Z] + docker inspect -f . ci-base-image-arm64 [2024-11-20T04:50:04.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-20T04:50:04.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-27084 does not seem to be running inside a container [2024-11-20T04:50:04.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-20T04:50:05.748Z] $ docker top 6a38ff2e46c7cfa89b976afc9ba33bd5427b3742d078c2020aeb557f39548535 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-20T04:50:06.648Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-20T04:50:07.078Z] + make test [2024-11-20T04:50:07.078Z] go test -race -coverprofile=coverage.out ./... [2024-11-20T04:50:53.956Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-20T04:54:01.048Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-20T04:54:01.048Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-20T04:54:01.048Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-20T04:54:01.048Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-20T04:54:01.048Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-20T04:54:13.345Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.173s coverage: 28.7% of statements [2024-11-20T04:54:15.287Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.168s coverage: 79.4% of statements [2024-11-20T04:54:25.336Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-20T04:54:25.336Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-20T04:54:25.918Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.256s coverage: 86.0% of statements [2024-11-20T04:54:36.001Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-20T04:54:37.401Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.515s coverage: 45.2% of statements [2024-11-20T04:54:39.990Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.278s coverage: 14.1% of statements [2024-11-20T04:54:39.990Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.014s coverage: 44.6% of statements [2024-11-20T04:54:43.333Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-20T04:54:43.333Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-20T04:54:43.333Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-20T04:54:44.745Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.411s coverage: 68.4% of statements [2024-11-20T04:54:50.113Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.352s coverage: 88.3% of statements [2024-11-20T04:54:54.398Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-20T04:54:55.361Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.302s coverage: 5.3% of statements [2024-11-20T04:54:56.775Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-20T04:54:56.775Z] GO111MODULE=on go vet ./... [2024-11-20T04:58:34.847Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-20T04:58:34.847Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-20T04:58:34.847Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-20T04:58:34.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-20T04:58:34.951Z] $ docker stop --time=1 6a38ff2e46c7cfa89b976afc9ba33bd5427b3742d078c2020aeb557f39548535 [2024-11-20T04:58:36.859Z] $ docker rm -f --volumes 6a38ff2e46c7cfa89b976afc9ba33bd5427b3742d078c2020aeb557f39548535 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-20T04:58:39.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-20T04:58:39.198Z] Warning: overwriting stash ‘coverage-report’ [2024-11-20T04:58:39.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-20T04:58:40.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-20T04:58:40.877Z] + ls -al . [2024-11-20T04:58:40.877Z] total 700 [2024-11-20T04:58:40.877Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 20 04:50 . [2024-11-20T04:58:40.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 04:46 .. [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 20 04:47 .dockerignore [2024-11-20T04:58:40.877Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 20 04:47 .git [2024-11-20T04:58:40.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 20 04:47 .github [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 20 04:47 .gitignore [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 20 04:47 .golangci.yml [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 20 04:47 CHANGELOG.md [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 20 04:47 GOVERNANCE.md [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 20 04:47 Jenkinsfile [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 20 04:47 LICENSE [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 20 04:47 Makefile [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 20 04:47 OWNERS.md [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 20 04:47 README.md [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 20 04:44 VERSION [2024-11-20T04:58:40.877Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 20 04:47 bin [2024-11-20T04:58:40.877Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 20 04:54 coverage.out [2024-11-20T04:58:40.877Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 20 04:47 example [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 20 04:47 go.mod [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 20 04:47 go.sum [2024-11-20T04:58:40.877Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 20 04:47 internal [2024-11-20T04:58:40.877Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 20 04:47 openapi [2024-11-20T04:58:40.877Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 20 04:47 pkg [2024-11-20T04:58:40.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 20 04:47 snap [2024-11-20T04:58:40.877Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 20 04:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T04:58:41.320Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1917ac25e18a54f6706de4eec97101ca27fe9623 --label arch=arm64 --label version=0.0.0 . [2024-11-20T04:58:41.909Z] Sending build context to Docker daemon 13.36MB [2024-11-20T04:58:41.909Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-20T04:58:41.909Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-20T04:58:41.909Z] ---> e448f9f5b3b8 [2024-11-20T04:58:41.909Z] Step 3/24 : ARG MAKE=make build [2024-11-20T04:58:42.185Z] ---> Running in c58d8d2f1bdd [2024-11-20T04:58:42.456Z] Removing intermediate container c58d8d2f1bdd [2024-11-20T04:58:42.456Z] ---> 02a21d3aab5c [2024-11-20T04:58:42.456Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-20T04:58:42.456Z] ---> Running in ef682b99a8b1 [2024-11-20T04:58:42.725Z] Removing intermediate container ef682b99a8b1 [2024-11-20T04:58:42.725Z] ---> ccbd8c9cc6c7 [2024-11-20T04:58:42.725Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-20T04:58:42.725Z] ---> Running in fbddca0a57a6 [2024-11-20T04:58:43.349Z] Removing intermediate container fbddca0a57a6 [2024-11-20T04:58:43.349Z] ---> 26c76987b08c [2024-11-20T04:58:43.349Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-20T04:58:43.349Z] ---> Running in b34e0203b016 [2024-11-20T04:58:44.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-20T04:58:44.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-20T04:58:45.998Z] OK: 238 MiB in 54 packages [2024-11-20T04:58:46.958Z] Removing intermediate container b34e0203b016 [2024-11-20T04:58:46.958Z] ---> cf2a98e903a9 [2024-11-20T04:58:46.958Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-20T04:58:47.559Z] ---> 07253128c1dc [2024-11-20T04:58:47.559Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-20T04:58:47.559Z] ---> Running in 36205af1c846 [2024-11-20T04:58:50.154Z] Removing intermediate container 36205af1c846 [2024-11-20T04:58:50.154Z] ---> 47dc3e96cbb3 [2024-11-20T04:58:50.154Z] Step 9/24 : COPY . . [2024-11-20T04:58:51.563Z] ---> 2609400a3e2a [2024-11-20T04:58:51.563Z] Step 10/24 : RUN ${MAKE} [2024-11-20T04:58:51.563Z] ---> Running in 00623b9326d0 [2024-11-20T04:58:52.524Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-20T05:02:14.308Z] Removing intermediate container 00623b9326d0 [2024-11-20T05:02:14.308Z] ---> 8931dfe8176c [2024-11-20T05:02:14.308Z] Step 11/24 : FROM alpine:3.20 [2024-11-20T05:02:14.308Z] 3.20: Pulling from library/alpine [2024-11-20T05:02:14.308Z] 9986a736f7d3: Pulling fs layer [2024-11-20T05:02:14.308Z] 9986a736f7d3: Download complete [2024-11-20T05:02:14.308Z] 9986a736f7d3: Pull complete [2024-11-20T05:02:14.308Z] Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a [2024-11-20T05:02:14.308Z] Status: Downloaded newer image for alpine:3.20 [2024-11-20T05:02:14.308Z] ---> 511a44083d3a [2024-11-20T05:02:14.308Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-20T05:02:14.308Z] ---> Running in 3513d0cfa5ea [2024-11-20T05:02:14.308Z] Removing intermediate container 3513d0cfa5ea [2024-11-20T05:02:14.308Z] ---> 504a03a1d87d [2024-11-20T05:02:14.308Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-20T05:02:14.308Z] ---> Running in 8a92dbc058bc [2024-11-20T05:02:14.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-20T05:02:14.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-20T05:02:14.308Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-20T05:02:14.308Z] Executing busybox-1.36.1-r29.trigger [2024-11-20T05:02:14.308Z] OK: 9 MiB in 15 packages [2024-11-20T05:02:14.308Z] Removing intermediate container 8a92dbc058bc [2024-11-20T05:02:14.308Z] ---> bdb75269ee2d [2024-11-20T05:02:14.308Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-20T05:02:14.308Z] ---> Running in 84c3ef5829a7 [2024-11-20T05:02:14.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-20T05:02:14.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-20T05:02:14.308Z] Upgrading critical system libraries and apk-tools: [2024-11-20T05:02:14.308Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-20T05:02:14.308Z] Executing busybox-1.36.1-r29.trigger [2024-11-20T05:02:14.308Z] Continuing the upgrade transaction with new apk-tools: [2024-11-20T05:02:14.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-20T05:02:14.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-20T05:02:14.308Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-20T05:02:14.308Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-20T05:02:14.308Z] OK: 9 MiB in 15 packages [2024-11-20T05:02:14.308Z] Removing intermediate container 84c3ef5829a7 [2024-11-20T05:02:14.308Z] ---> 6499eb71f344 [2024-11-20T05:02:14.308Z] Step 15/24 : WORKDIR / [2024-11-20T05:02:14.308Z] ---> Running in d9441a69baac [2024-11-20T05:02:14.308Z] Removing intermediate container d9441a69baac [2024-11-20T05:02:14.308Z] ---> fd5d35da6b7c [2024-11-20T05:02:14.308Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-20T05:02:14.308Z] ---> 947fae8f790c [2024-11-20T05:02:14.308Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-20T05:02:14.911Z] ---> 34b123fbc859 [2024-11-20T05:02:14.911Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-20T05:02:16.865Z] ---> ab44f0db4cdc [2024-11-20T05:02:16.865Z] Step 19/24 : EXPOSE 59999 [2024-11-20T05:02:17.133Z] ---> Running in 527ddf629207 [2024-11-20T05:02:17.400Z] Removing intermediate container 527ddf629207 [2024-11-20T05:02:17.400Z] ---> c14b0e0b585d [2024-11-20T05:02:17.400Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-20T05:02:17.400Z] ---> Running in 4dfc00c4d2fb [2024-11-20T05:02:17.671Z] Removing intermediate container 4dfc00c4d2fb [2024-11-20T05:02:17.671Z] ---> be9c96117a23 [2024-11-20T05:02:17.671Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-20T05:02:17.939Z] ---> Running in 2f0cab556796 [2024-11-20T05:02:18.206Z] Removing intermediate container 2f0cab556796 [2024-11-20T05:02:18.206Z] ---> 116097f52b53 [2024-11-20T05:02:18.206Z] Step 22/24 : LABEL arch=arm64 [2024-11-20T05:02:18.206Z] ---> Running in b33e42626112 [2024-11-20T05:02:18.472Z] Removing intermediate container b33e42626112 [2024-11-20T05:02:18.472Z] ---> 6ff238996e56 [2024-11-20T05:02:18.472Z] Step 23/24 : LABEL git_sha=1917ac25e18a54f6706de4eec97101ca27fe9623 [2024-11-20T05:02:18.472Z] ---> Running in 13339a1222cf [2024-11-20T05:02:18.737Z] Removing intermediate container 13339a1222cf [2024-11-20T05:02:18.737Z] ---> 0185e841b262 [2024-11-20T05:02:18.737Z] Step 24/24 : LABEL version=0.0.0 [2024-11-20T05:02:19.005Z] ---> Running in 01c9558b8e3e [2024-11-20T05:02:19.272Z] Removing intermediate container 01c9558b8e3e [2024-11-20T05:02:19.272Z] ---> 55b24993ace4 [2024-11-20T05:02:19.272Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-20T05:02:19.272Z] Successfully built 55b24993ace4 [2024-11-20T05:02:19.272Z] Successfully tagged device-sdk-simple-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-20T05:02:20.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-20T05:02:20.254Z] [2024-11-20T05:02:20.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T05:02:20.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-20T05:02:20.692Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-20T05:02:20.692Z] 8998bd30e6a1: Pulling fs layer [2024-11-20T05:02:20.692Z] 04944245beec: Pulling fs layer [2024-11-20T05:02:20.692Z] 699f458cf7ca: Pulling fs layer [2024-11-20T05:02:20.692Z] 765212b225bb: Pulling fs layer [2024-11-20T05:02:20.692Z] f23df028b6ca: Pulling fs layer [2024-11-20T05:02:20.692Z] d65c8cfc05b1: Pulling fs layer [2024-11-20T05:02:20.692Z] 2437ff75d9bd: Pulling fs layer [2024-11-20T05:02:20.692Z] 765212b225bb: Waiting [2024-11-20T05:02:20.692Z] d65c8cfc05b1: Waiting [2024-11-20T05:02:20.692Z] 2437ff75d9bd: Waiting [2024-11-20T05:02:20.692Z] f23df028b6ca: Waiting [2024-11-20T05:02:20.965Z] 04944245beec: Verifying Checksum [2024-11-20T05:02:20.965Z] 04944245beec: Download complete [2024-11-20T05:02:20.965Z] 765212b225bb: Verifying Checksum [2024-11-20T05:02:20.965Z] 765212b225bb: Download complete [2024-11-20T05:02:20.965Z] f23df028b6ca: Verifying Checksum [2024-11-20T05:02:20.965Z] f23df028b6ca: Download complete [2024-11-20T05:02:20.965Z] d65c8cfc05b1: Verifying Checksum [2024-11-20T05:02:20.965Z] d65c8cfc05b1: Download complete [2024-11-20T05:02:21.233Z] 699f458cf7ca: Verifying Checksum [2024-11-20T05:02:21.233Z] 699f458cf7ca: Download complete [2024-11-20T05:02:21.500Z] 8998bd30e6a1: Verifying Checksum [2024-11-20T05:02:21.500Z] 8998bd30e6a1: Download complete [2024-11-20T05:02:24.091Z] 2437ff75d9bd: Verifying Checksum [2024-11-20T05:02:24.091Z] 2437ff75d9bd: Download complete [2024-11-20T05:02:26.035Z] 8998bd30e6a1: Pull complete [2024-11-20T05:02:26.618Z] 04944245beec: Pull complete [2024-11-20T05:02:28.567Z] 699f458cf7ca: Pull complete [2024-11-20T05:02:28.567Z] 765212b225bb: Pull complete [2024-11-20T05:02:29.533Z] f23df028b6ca: Pull complete [2024-11-20T05:02:29.533Z] d65c8cfc05b1: Pull complete [2024-11-20T05:02:47.736Z] 2437ff75d9bd: Pull complete [2024-11-20T05:02:47.736Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-20T05:02:47.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-20T05:02:47.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-20T05:02:48.063Z] prd-ubuntu20.04-docker-arm64-4c-16g-27084 does not seem to be running inside a container [2024-11-20T05:02:48.257Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-20T05:02:50.883Z] $ docker top 213602cee18efda692247854d18ec888af4b592e9f9ef3646c01c869ed3425c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-20T05:02:51.805Z] ---> job-cost.sh [2024-11-20T05:02:51.805Z] lf-activate-venv: SKIPPING [2024-11-20T05:02:51.805Z] INFO: No Stack... [2024-11-20T05:02:52.074Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-20T05:02:53.036Z] INFO: Archiving Costs [Pipeline] sh [2024-11-20T05:02:53.710Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-11-20T05:02:53.710Z] + cut -d, -f6 [Pipeline] lock [2024-11-20T05:02:53.795Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1651-1-stack-cost] [2024-11-20T05:02:53.801Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1651-1-stack-cost] did not exist. Created. [2024-11-20T05:02:53.809Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1651-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-20T05:02:54.545Z] /w/workspace/device-sdk-go/1@tmp/durable-8e325aec/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-20T05:02:55.224Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-20T05:02:55.268Z] Warning: overwriting stash ‘stack-cost’ [2024-11-20T05:02:55.373Z] Stashed 1 file(s) [Pipeline] } [2024-11-20T05:02:55.398Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1651-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-20T05:02:55.513Z] $ docker stop --time=1 213602cee18efda692247854d18ec888af4b592e9f9ef3646c01c869ed3425c6 [2024-11-20T05:02:57.014Z] $ docker rm -f --volumes 213602cee18efda692247854d18ec888af4b592e9f9ef3646c01c869ed3425c6 [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-20T05:02:58.222Z] provisioning config files... [2024-11-20T05:02:58.229Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp/config11068197537781182046tmp [Pipeline] { [Pipeline] sh [2024-11-20T05:02:58.596Z] + set +x [2024-11-20T05:02:58.596Z] + bash -s -- [2024-11-20T05:02:58.596Z] + curl -s https://codecov.io/bash [2024-11-20T05:02:58.596Z] [2024-11-20T05:02:58.596Z] _____ _ [2024-11-20T05:02:58.596Z] / ____| | | [2024-11-20T05:02:58.596Z] | | ___ __| | ___ ___ _____ __ [2024-11-20T05:02:58.596Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-20T05:02:58.596Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-20T05:02:58.596Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-20T05:02:58.596Z] Bash-1.0.6 [2024-11-20T05:02:58.596Z] [2024-11-20T05:02:58.596Z] [2024-11-20T05:02:58.596Z] ==> git version 2.25.1 found [2024-11-20T05:02:58.596Z] ==> 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-20T05:02:58.596Z] Release-Date: 2020-01-08 [2024-11-20T05:02:58.596Z] 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-20T05:02:58.596Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-20T05:02:58.596Z] ==> Jenkins CI detected. [2024-11-20T05:02:58.596Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1651 [2024-11-20T05:02:58.596Z] project root: . [2024-11-20T05:02:58.596Z] --> token set from env [2024-11-20T05:02:58.596Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-20T05:02:58.596Z] ==> Running gcov in . (disable via -X gcov) [2024-11-20T05:02:58.596Z] ==> Python coveragepy not found [2024-11-20T05:02:58.596Z] ==> Searching for coverage reports in: [2024-11-20T05:02:58.596Z] + . [2024-11-20T05:02:58.596Z] -> Found 1 reports [2024-11-20T05:02:58.596Z] ==> Detecting git/mercurial file structure [2024-11-20T05:02:58.855Z] ==> Reading reports [2024-11-20T05:02:58.855Z] + ./coverage.out bytes=468087 [2024-11-20T05:02:58.855Z] ==> Appending adjustments [2024-11-20T05:02:58.855Z] https://docs.codecov.io/docs/fixing-reports [2024-11-20T05:02:59.115Z] + Found adjustments [2024-11-20T05:02:59.115Z] ==> Gzipping contents [2024-11-20T05:02:59.115Z] 44K /tmp/codecov.BnsWeq.gz [2024-11-20T05:02:59.115Z] ==> Uploading reports [2024-11-20T05:02:59.115Z] url: https://codecov.io [2024-11-20T05:02:59.115Z] query: branch=PR-1651&commit=1917ac25e18a54f6706de4eec97101ca27fe9623&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1651%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1651&job=&cmd_args= [2024-11-20T05:02:59.115Z] -> Pinging Codecov [2024-11-20T05:02:59.115Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1651&commit=1917ac25e18a54f6706de4eec97101ca27fe9623&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1651%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1651&job=&cmd_args= [2024-11-20T05:02:59.375Z] -> Uploading to [2024-11-20T05:02:59.375Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/1917ac25e18a54f6706de4eec97101ca27fe9623/e495fbde-80f5-4ada-a143-9d279a2a4c20.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241120%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241120T050259Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=0aed5ab73ae7d2b7d9a04681d1464c4ef6be1a03656547613ea0a102a811038a [2024-11-20T05:02:59.375Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-20T05:02:59.375Z] Dload Upload Total Spent Left Speed [2024-11-20T05:02:59.636Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44777 0 0 100 44777 0 198k --:--:-- --:--:-- --:--:-- 197k 100 44777 0 0 100 44777 0 160k --:--:-- --:--:-- --:--:-- 159k [2024-11-20T05:02:59.636Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1917ac25e18a54f6706de4eec97101ca27fe9623 [Pipeline] } [2024-11-20T05:02:59.670Z] 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-20T05:03:02.030Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1651/archives ] [2024-11-20T05:03:02.030Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1651/archives [2024-11-20T05:03:02.030Z] total 16 [2024-11-20T05:03:02.030Z] drwxr-xr-x 3 root root 4096 Nov 20 04:48 . [2024-11-20T05:03:02.030Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 20 04:48 .. [2024-11-20T05:03:02.030Z] drwxr-xr-x 2 root root 4096 Nov 20 04:48 cost [2024-11-20T05:03:02.030Z] -rw-r--r-- 1 root root 86 Nov 20 04:48 cost.csv [2024-11-20T05:03:02.030Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1651/archives [2024-11-20T05:03:02.030Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1651/archives [2024-11-20T05:03:02.030Z] total 16 [2024-11-20T05:03:02.030Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 20 04:48 . [2024-11-20T05:03:02.030Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 20 04:48 .. [2024-11-20T05:03:02.030Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 20 04:48 cost [2024-11-20T05:03:02.030Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 20 04:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-20T05:03:02.384Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-20T05:03:03.305Z] ---> package-listing.sh [2024-11-20T05:03:03.305Z] ++ facter osfamily [2024-11-20T05:03:03.305Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-20T05:03:03.566Z] + OS_FAMILY=debian [2024-11-20T05:03:03.566Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1651 [2024-11-20T05:03:03.566Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-20T05:03:03.566Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-20T05:03:03.566Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-20T05:03:03.566Z] + PACKAGES=/tmp/packages_start.txt [2024-11-20T05:03:03.566Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1651 ']' [2024-11-20T05:03:03.566Z] + PACKAGES=/tmp/packages_end.txt [2024-11-20T05:03:03.566Z] + case "${OS_FAMILY}" in [2024-11-20T05:03:03.566Z] + dpkg -l [2024-11-20T05:03:03.566Z] + grep '^ii' [2024-11-20T05:03:03.566Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-20T05:03:03.566Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-20T05:03:03.566Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-20T05:03:03.566Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1651 ']' [2024-11-20T05:03:03.566Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1651/archives/ [2024-11-20T05:03:03.566Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1651/archives/ [Pipeline] echo [2024-11-20T05:03:03.612Z] 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-sdk-go_PR-1651/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-20T05:03:03.915Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-20T05:03:04.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-20T05:03:04.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-20T05:03:04.765Z] prd-ubuntu20.04-docker-8c-8g-27083 does not seem to be running inside a container [2024-11-20T05:03:04.790Z] $ 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-sdk-go_PR-1651/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-sdk-go_PR-1651 -v /w/workspace/gexfoundry_device-sdk-go_PR-1651:/w/workspace/gexfoundry_device-sdk-go_PR-1651:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-20T05:03:05.022Z] $ docker top 69a82c46beadf7a6edb8b46b4918e7bd6689c1ec0273be407ccd675250d560a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-20T05:03:05.425Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-20T05:03:05.740Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-20T05:03:06.064Z] + ls /var/log/sa-host [2024-11-20T05:03:06.064Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-20T05:03:06.320Z] provisioning config files... [2024-11-20T05:03:06.332Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1651@tmp/config14760281719661799468tmp [Pipeline] { [Pipeline] echo [2024-11-20T05:03:06.397Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-20T05:03:06.726Z] ---> create-netrc.sh [Pipeline] } [2024-11-20T05:03:06.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-20T05:03:07.196Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-20T05:03:07.238Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-20T05:03:07.568Z] ---> sudo-logs.sh [2024-11-20T05:03:07.568Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-20T05:03:07.683Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-20T05:03:08.012Z] ---> job-cost.sh [2024-11-20T05:03:08.012Z] lf-activate-venv: SKIPPING [2024-11-20T05:03:08.012Z] DEBUG: total: 0.2199999988079071 [2024-11-20T05:03:08.012Z] INFO: Retrieving Stack Cost... [2024-11-20T05:03:08.580Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-20T05:03:08.839Z] INFO: Archiving Costs [Pipeline] echo [2024-11-20T05:03:08.881Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-20T05:03:09.211Z] ---> logs-deploy.sh [2024-11-20T05:03:09.211Z] lf-activate-venv: SKIPPING [2024-11-20T05:03:09.211Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1651/1 [2024-11-20T05:03:09.211Z] INFO: archiving workspace using pattern(s): [2024-11-20T05:03:10.162Z] Archives upload complete. [2024-11-20T05:03:10.162Z] INFO: archiving logs to Nexus