Pull request #1635 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 99a44afdbd34ca367a4889bb9772c67ded377911+0ef7f81e2a588ab6c564a89cd743b8af47c7a923 (bdad4f7aa4ff45a7bcf56b9a7f2e6f13df692726) 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-ssh5968094507563749592.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-ssh14921180420897565799.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1635/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1635/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11359078578868088243.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 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-ssh11966477138574522309.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1635/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1635/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10129449899426544056.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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/v3]] ========================================================= [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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-22027’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22030 in /w/workspace/gexfoundry_device-sdk-go_PR-1635 [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-1635 # 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/1635/head:refs/remotes/origin/PR-1635 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ef7f81e2a588ab6c564a89cd743b8af47c7a923 into PR head commit 99a44afdbd34ca367a4889bb9772c67ded377911 Merge succeeded, producing 65d4e748a67b9f51dc4f81626a29efba2f0b1977 Checking out Revision 65d4e748a67b9f51dc4f81626a29efba2f0b1977 (PR-1635) > git config core.sparsecheckout # timeout=10 > git checkout -f 99a44afdbd34ca367a4889bb9772c67ded377911 # 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 0ef7f81e2a588ab6c564a89cd743b8af47c7a923 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65d4e748a67b9f51dc4f81626a29efba2f0b1977 # timeout=10 Commit message: "Merge commit '0ef7f81e2a588ab6c564a89cd743b8af47c7a923' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1259b286b22d0109d6c0dfb40d6c0dce97d19db1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-07T09:11:17.928Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-07T09:11:18.006Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-07T09:11:18.032Z] ========================================================= [2024-10-07T09:11:18.032Z] EdgeX Global Pipelines Version Info [2024-10-07T09:11:18.032Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:11:18.782Z] ------------------- [2024-10-07T09:11:18.782Z] stable info: [2024-10-07T09:11:18.782Z] ------------------- [2024-10-07T09:11:18.782Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-07T09:11:18.782Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T09:11:18.782Z] Message: update stable to v1.0.265 [2024-10-07T09:11:19.353Z] ------------------- [2024-10-07T09:11:19.353Z] experimental info: [2024-10-07T09:11:19.353Z] ------------------- [2024-10-07T09:11:19.353Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-07T09:11:19.353Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-07T09:11:19.353Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-07T09:11:19.439Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-07T09:11:19.463Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-07T09:11:19.483Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-07T09:11:19.502Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-07T09:11:19.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-07T09:11:19.542Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-07T09:11:19.562Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-07T09:11:19.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-07T09:11:19.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-07T09:11:19.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-07T09:11:19.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-07T09:11:19.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-07T09:11:19.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-07T09:11:19.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-07T09:11:19.737Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T09:11:19.759Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:11:19.781Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:11:19.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:11:19.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-07T09:11:19.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-07T09:11:19.874Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-07T09:11:19.899Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-07T09:11:19.924Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-07T09:11:19.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-07T09:11:19.970Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-07T09:11:19.994Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-07T09:11:20.015Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-07T09:11:20.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1635 [Pipeline] echo [2024-10-07T09:11:20.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1635 [Pipeline] echo [2024-10-07T09:11:20.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1635 [Pipeline] echo [2024-10-07T09:11:20.110Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65d4e748a67b9f51dc4f81626a29efba2f0b1977 [Pipeline] echo [2024-10-07T09:11:20.137Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65d4e74 [Pipeline] echo [2024-10-07T09:11:20.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T09:11:20.223Z] provisioning config files... [2024-10-07T09:11:20.236Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/config17756871600663378522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:11:20.565Z] ---> ****-login.sh [2024-10-07T09:11:20.566Z] nexus3.edgexfoundry.org:10001 [2024-10-07T09:11:20.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:20.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:20.826Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:20.826Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:20.826Z] [2024-10-07T09:11:20.826Z] Login Succeeded [2024-10-07T09:11:20.826Z] nexus3.edgexfoundry.org:10002 [2024-10-07T09:11:21.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:21.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:21.087Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:21.087Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:21.087Z] [2024-10-07T09:11:21.087Z] Login Succeeded [2024-10-07T09:11:21.087Z] nexus3.edgexfoundry.org:10003 [2024-10-07T09:11:21.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:21.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:21.087Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:21.088Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:21.088Z] [2024-10-07T09:11:21.088Z] Login Succeeded [2024-10-07T09:11:21.088Z] nexus3.edgexfoundry.org:10004 [2024-10-07T09:11:21.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:21.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:21.349Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:21.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:21.349Z] [2024-10-07T09:11:21.349Z] Login Succeeded [2024-10-07T09:11:21.349Z] ****.io [2024-10-07T09:11:21.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:21.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:21.609Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:21.609Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:21.609Z] [2024-10-07T09:11:21.609Z] Login Succeeded [2024-10-07T09:11:21.609Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T09:11:21.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-07T09:11:22.032Z] + git rev-list -1 --merges 65d4e748a67b9f51dc4f81626a29efba2f0b1977~1..65d4e748a67b9f51dc4f81626a29efba2f0b1977 [Pipeline] echo [2024-10-07T09:11:22.060Z] -----------> git rev-list -1 --merges 65d4e748a67b9f51dc4f81626a29efba2f0b1977~1..65d4e748a67b9f51dc4f81626a29efba2f0b1977 65d4e748a67b9f51dc4f81626a29efba2f0b1977 [2024-10-07T09:11:22.061Z] 65d4e748a67b9f51dc4f81626a29efba2f0b1977 [false] [Pipeline] sh [2024-10-07T09:11:22.361Z] + git log --format=format:%s -1 65d4e748a67b9f51dc4f81626a29efba2f0b1977 [Pipeline] echo [2024-10-07T09:11:22.378Z] ========================================================= [2024-10-07T09:11:22.378Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-07T09:11:22.378Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T09:11:22.719Z] + git log --format=format:%s -1 65d4e748a67b9f51dc4f81626a29efba2f0b1977 [Pipeline] echo [2024-10-07T09:11:22.732Z] [semverPrep] GIT_COMMIT: 65d4e748a67b9f51dc4f81626a29efba2f0b1977, Commit Message: Merge commit '0ef7f81e2a588ab6c564a89cd743b8af47c7a923' into HEAD [Pipeline] echo [2024-10-07T09:11:22.749Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-07T09:11:23.158Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-07T09:11:23.158Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-07T09:11:23.158Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-07T09:11:23.158Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-07T09:11:23.158Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-07T09:11:23.158Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-07T09:11:23.158Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:11:23.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:11:23.596Z] [2024-10-07T09:11:23.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:11:23.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:11:23.910Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-07T09:11:23.910Z] b85a868b505f: Pulling fs layer [2024-10-07T09:11:23.910Z] e2be974225ed: Pulling fs layer [2024-10-07T09:11:23.910Z] 339a4e72a1f5: Pulling fs layer [2024-10-07T09:11:23.910Z] 988bab9f4d93: Pulling fs layer [2024-10-07T09:11:23.910Z] 1469e6f7b9e6: Pulling fs layer [2024-10-07T09:11:23.910Z] eaf3925da568: Pulling fs layer [2024-10-07T09:11:23.910Z] bab4dde63d76: Pulling fs layer [2024-10-07T09:11:23.910Z] bde34c3a00c8: Pulling fs layer [2024-10-07T09:11:23.910Z] b352a97aabf1: Pulling fs layer [2024-10-07T09:11:23.910Z] 4872d77fe225: Pulling fs layer [2024-10-07T09:11:23.910Z] 5851b861e8e6: Pulling fs layer [2024-10-07T09:11:23.910Z] 988bab9f4d93: Waiting [2024-10-07T09:11:23.910Z] eaf3925da568: Waiting [2024-10-07T09:11:23.910Z] bab4dde63d76: Waiting [2024-10-07T09:11:23.910Z] 1469e6f7b9e6: Waiting [2024-10-07T09:11:23.910Z] bde34c3a00c8: Waiting [2024-10-07T09:11:23.910Z] 4872d77fe225: Waiting [2024-10-07T09:11:23.910Z] b352a97aabf1: Waiting [2024-10-07T09:11:23.910Z] 5851b861e8e6: Waiting [2024-10-07T09:11:23.910Z] e2be974225ed: Download complete [2024-10-07T09:11:23.910Z] 988bab9f4d93: Download complete [2024-10-07T09:11:24.173Z] 1469e6f7b9e6: Verifying Checksum [2024-10-07T09:11:24.173Z] 1469e6f7b9e6: Download complete [2024-10-07T09:11:24.173Z] eaf3925da568: Verifying Checksum [2024-10-07T09:11:24.173Z] eaf3925da568: Download complete [2024-10-07T09:11:24.173Z] 339a4e72a1f5: Verifying Checksum [2024-10-07T09:11:24.173Z] 339a4e72a1f5: Download complete [2024-10-07T09:11:24.173Z] bde34c3a00c8: Verifying Checksum [2024-10-07T09:11:24.173Z] bde34c3a00c8: Download complete [2024-10-07T09:11:24.173Z] b352a97aabf1: Download complete [2024-10-07T09:11:24.173Z] 4872d77fe225: Verifying Checksum [2024-10-07T09:11:24.173Z] 4872d77fe225: Download complete [2024-10-07T09:11:24.173Z] 5851b861e8e6: Verifying Checksum [2024-10-07T09:11:24.173Z] 5851b861e8e6: Download complete [2024-10-07T09:11:24.173Z] b85a868b505f: Download complete [2024-10-07T09:11:24.440Z] bab4dde63d76: Verifying Checksum [2024-10-07T09:11:24.440Z] bab4dde63d76: Download complete [2024-10-07T09:11:25.386Z] b85a868b505f: Pull complete [2024-10-07T09:11:25.645Z] e2be974225ed: Pull complete [2024-10-07T09:11:26.224Z] 339a4e72a1f5: Pull complete [2024-10-07T09:11:26.224Z] 988bab9f4d93: Pull complete [2024-10-07T09:11:26.483Z] 1469e6f7b9e6: Pull complete [2024-10-07T09:11:26.483Z] eaf3925da568: Pull complete [2024-10-07T09:11:28.387Z] bab4dde63d76: Pull complete [2024-10-07T09:11:28.387Z] bde34c3a00c8: Pull complete [2024-10-07T09:11:28.387Z] b352a97aabf1: Pull complete [2024-10-07T09:11:28.646Z] 4872d77fe225: Pull complete [2024-10-07T09:11:28.646Z] 5851b861e8e6: Pull complete [2024-10-07T09:11:28.646Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-07T09:11:28.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:11:28.646Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:11:28.790Z] prd-ubuntu20.04-docker-8c-8g-22030 does not seem to be running inside a container [2024-10-07T09:11:28.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-07T09:11:31.728Z] $ docker top 8f1755abcf9a10ff876f27b075e664409cdc772d0a68e0c56c21660799f289a4 -eo pid,comm [2024-10-07T09:11:31.789Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-07T09:11:31.789Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-07T09:11:31.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T09:11:31.848Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T09:11:31.951Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T09:11:31.954Z] $ docker exec 8f1755abcf9a10ff876f27b075e664409cdc772d0a68e0c56c21660799f289a4 ssh-agent [2024-10-07T09:11:32.060Z] SSH_AUTH_SOCK=/tmp/ssh-116D6kpOuCpk/agent.33 [2024-10-07T09:11:32.060Z] SSH_AGENT_PID=39 [2024-10-07T09:11:32.067Z] Running ssh-add (command line suppressed) [2024-10-07T09:11:32.161Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/private_key_18051795471087675000.key (/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/private_key_18051795471087675000.key) [2024-10-07T09:11:32.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T09:11:32.469Z] + git tag --points-at HEAD [Pipeline] } [2024-10-07T09:11:32.480Z] $ docker exec --env ******** --env ******** 8f1755abcf9a10ff876f27b075e664409cdc772d0a68e0c56c21660799f289a4 ssh-agent -k [2024-10-07T09:11:32.580Z] unset SSH_AUTH_SOCK; [2024-10-07T09:11:32.580Z] unset SSH_AGENT_PID; [2024-10-07T09:11:32.580Z] echo Agent pid 39 killed; [2024-10-07T09:11:32.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-07T09:11:32.630Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T09:11:32.630Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T09:11:32.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T09:11:32.759Z] $ docker exec 8f1755abcf9a10ff876f27b075e664409cdc772d0a68e0c56c21660799f289a4 ssh-agent [2024-10-07T09:11:32.870Z] SSH_AUTH_SOCK=/tmp/ssh-1pSE5GIc4iwK/agent.73 [2024-10-07T09:11:32.870Z] SSH_AGENT_PID=79 [2024-10-07T09:11:32.875Z] Running ssh-add (command line suppressed) [2024-10-07T09:11:32.991Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/private_key_9149323774618507192.key (/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/private_key_9149323774618507192.key) [2024-10-07T09:11:33.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T09:11:33.303Z] + git semver init [2024-10-07T09:11:33.563Z] 2024-10-07 09:11:33,472 [run_init] DEBUG init version:0.0.0 force:False [2024-10-07T09:11:33.563Z] 2024-10-07 09:11:33,473 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver [2024-10-07T09:11:33.563Z] 2024-10-07 09:11:33,474 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver [2024-10-07T09:11:33.563Z] 2024-10-07 09:11:33,474 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1635, universal_newlines=False, shell=None, istream=None) [2024-10-07T09:11:36.107Z] 2024-10-07 09:11:35,566 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635/.git/info/exclude [2024-10-07T09:11:36.107Z] 2024-10-07 09:11:35,567 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver/PR-1635 with force:False [2024-10-07T09:11:36.107Z] 2024-10-07 09:11:35,567 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver/PR-1635 [2024-10-07T09:11:36.107Z] 2024-10-07 09:11:35,572 [execute] INFO git cat-file --batch-check [2024-10-07T09:11:36.107Z] 2024-10-07 09:11:35,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T09:11:36.107Z] 2024-10-07 09:11:35,580 [execute] INFO git cat-file --batch [2024-10-07T09:11:36.108Z] 2024-10-07 09:11:35,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T09:11:36.108Z] 2024-10-07 09:11:35,586 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver/PR-1635 [2024-10-07T09:11:36.108Z] 0.0.0 [Pipeline] } [2024-10-07T09:11:36.119Z] $ docker exec --env ******** --env ******** 8f1755abcf9a10ff876f27b075e664409cdc772d0a68e0c56c21660799f289a4 ssh-agent -k [2024-10-07T09:11:36.212Z] unset SSH_AUTH_SOCK; [2024-10-07T09:11:36.212Z] unset SSH_AGENT_PID; [2024-10-07T09:11:36.212Z] echo Agent pid 79 killed; [2024-10-07T09:11:36.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-07T09:11:36.556Z] + git semver [Pipeline] } [2024-10-07T09:11:36.830Z] $ docker stop --time=1 8f1755abcf9a10ff876f27b075e664409cdc772d0a68e0c56c21660799f289a4 [2024-10-07T09:11:38.136Z] $ docker rm -f --volumes 8f1755abcf9a10ff876f27b075e664409cdc772d0a68e0c56c21660799f289a4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T09:11:38.499Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-07T09:11:38.732Z] Stashed 1 file(s) [Pipeline] echo [2024-10-07T09:11:38.736Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T09:11:38.915Z] provisioning config files... [2024-10-07T09:11:38.924Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/config616698943799352812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:11:39.230Z] ---> ****-login.sh [2024-10-07T09:11:39.230Z] nexus3.edgexfoundry.org:10001 [2024-10-07T09:11:39.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:39.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:39.230Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:39.230Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:39.230Z] [2024-10-07T09:11:39.230Z] Login Succeeded [2024-10-07T09:11:39.230Z] nexus3.edgexfoundry.org:10002 [2024-10-07T09:11:39.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:39.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:39.490Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:39.490Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:39.490Z] [2024-10-07T09:11:39.490Z] Login Succeeded [2024-10-07T09:11:39.490Z] nexus3.edgexfoundry.org:10003 [2024-10-07T09:11:39.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:39.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:39.490Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:39.490Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:39.490Z] [2024-10-07T09:11:39.490Z] Login Succeeded [2024-10-07T09:11:39.490Z] nexus3.edgexfoundry.org:10004 [2024-10-07T09:11:39.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:39.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:39.490Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:39.490Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:39.490Z] [2024-10-07T09:11:39.490Z] Login Succeeded [2024-10-07T09:11:39.490Z] ****.io [2024-10-07T09:11:39.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:11:39.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:11:39.751Z] Configure a credential helper to remove this warning. See [2024-10-07T09:11:39.751Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:11:39.751Z] [2024-10-07T09:11:40.012Z] Login Succeeded [2024-10-07T09:11:40.012Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T09:11:40.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T09:11:40.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:11:40.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:11:40.217Z] ========================================================= [2024-10-07T09:11:40.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-07T09:11:40.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:11:40.568Z] + 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-10-07T09:11:40.568Z] Sending build context to Docker daemon 25.54MB [2024-10-07T09:11:40.568Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:11:40.568Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-07T09:11:40.826Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-07T09:11:40.826Z] 43c4264eed91: Pulling fs layer [2024-10-07T09:11:40.826Z] 4cc291be95ef: Pulling fs layer [2024-10-07T09:11:40.826Z] 2ac1f1163629: Pulling fs layer [2024-10-07T09:11:40.826Z] 5c3c966382ef: Pulling fs layer [2024-10-07T09:11:40.826Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T09:11:40.826Z] 5d5c8e513c77: Pulling fs layer [2024-10-07T09:11:40.826Z] 9f66e0745190: Pulling fs layer [2024-10-07T09:11:40.826Z] f49a43e4bbc0: Pulling fs layer [2024-10-07T09:11:40.826Z] 561ebcabdf7f: Pulling fs layer [2024-10-07T09:11:40.826Z] 9f66e0745190: Waiting [2024-10-07T09:11:40.826Z] 5c3c966382ef: Waiting [2024-10-07T09:11:40.826Z] 561ebcabdf7f: Waiting [2024-10-07T09:11:40.826Z] 4f4fb700ef54: Waiting [2024-10-07T09:11:40.826Z] f49a43e4bbc0: Waiting [2024-10-07T09:11:40.826Z] 4cc291be95ef: Verifying Checksum [2024-10-07T09:11:40.826Z] 4cc291be95ef: Download complete [2024-10-07T09:11:40.826Z] 5c3c966382ef: Verifying Checksum [2024-10-07T09:11:40.826Z] 5c3c966382ef: Download complete [2024-10-07T09:11:40.826Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T09:11:40.826Z] 4f4fb700ef54: Download complete [2024-10-07T09:11:40.826Z] 5d5c8e513c77: Verifying Checksum [2024-10-07T09:11:40.826Z] 5d5c8e513c77: Download complete [2024-10-07T09:11:40.826Z] 43c4264eed91: Download complete [2024-10-07T09:11:40.826Z] 9f66e0745190: Verifying Checksum [2024-10-07T09:11:40.826Z] 9f66e0745190: Download complete [2024-10-07T09:11:41.085Z] 43c4264eed91: Pull complete [2024-10-07T09:11:41.085Z] 561ebcabdf7f: Verifying Checksum [2024-10-07T09:11:41.085Z] 561ebcabdf7f: Download complete [2024-10-07T09:11:41.085Z] 4cc291be95ef: Pull complete [2024-10-07T09:11:41.342Z] 2ac1f1163629: Download complete [2024-10-07T09:11:41.600Z] f49a43e4bbc0: Verifying Checksum [2024-10-07T09:11:41.600Z] f49a43e4bbc0: Download complete [2024-10-07T09:11:44.884Z] 2ac1f1163629: Pull complete [2024-10-07T09:11:44.884Z] 5c3c966382ef: Pull complete [2024-10-07T09:11:45.144Z] 4f4fb700ef54: Pull complete [2024-10-07T09:11:45.144Z] 5d5c8e513c77: Pull complete [2024-10-07T09:11:45.144Z] 9f66e0745190: Pull complete [2024-10-07T09:11:47.701Z] f49a43e4bbc0: Pull complete [2024-10-07T09:11:47.963Z] 561ebcabdf7f: Pull complete [2024-10-07T09:11:47.963Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-07T09:11:47.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-07T09:11:47.963Z] ---> 3a752c3f9dda [2024-10-07T09:11:47.963Z] Step 3/10 : ARG MAKE=make build [2024-10-07T09:11:52.163Z] ---> Running in 6d434e314ada [2024-10-07T09:11:52.163Z] Removing intermediate container 6d434e314ada [2024-10-07T09:11:52.163Z] ---> 793b4e18c27e [2024-10-07T09:11:52.163Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-07T09:11:52.163Z] ---> Running in 6813bec3018d [2024-10-07T09:11:52.163Z] Removing intermediate container 6813bec3018d [2024-10-07T09:11:52.163Z] ---> 28edfc6b1c1c [2024-10-07T09:11:52.163Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:11:52.163Z] ---> Running in 311be85b3678 [2024-10-07T09:11:52.163Z] Removing intermediate container 311be85b3678 [2024-10-07T09:11:52.163Z] ---> bb1d0a527ea4 [2024-10-07T09:11:52.163Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-07T09:11:52.163Z] ---> Running in 1a7fe17892d2 [2024-10-07T09:11:52.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:11:52.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:11:52.939Z] OK: 246 MiB in 54 packages [2024-10-07T09:11:53.508Z] Removing intermediate container 1a7fe17892d2 [2024-10-07T09:11:53.508Z] ---> c13821188885 [2024-10-07T09:11:53.508Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-07T09:11:53.508Z] ---> 443931b9a0ce [2024-10-07T09:11:53.508Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:11:53.508Z] ---> Running in ac9d4f2b41cb [2024-10-07T09:11:53.865Z] Still waiting to schedule task [2024-10-07T09:11:53.865Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-07T09:12:49.756Z] Removing intermediate container ac9d4f2b41cb [2024-10-07T09:12:49.756Z] ---> ad0982df7ea8 [2024-10-07T09:12:49.756Z] Step 9/10 : COPY . . [2024-10-07T09:12:49.756Z] ---> 331ff05a1ad3 [2024-10-07T09:12:49.756Z] Step 10/10 : RUN ${MAKE} [2024-10-07T09:12:49.756Z] ---> Running in 9dd8f39ba41b [2024-10-07T09:12:49.756Z] noop [2024-10-07T09:12:49.756Z] Removing intermediate container 9dd8f39ba41b [2024-10-07T09:12:49.756Z] ---> 272f5046404c [2024-10-07T09:12:49.756Z] Successfully built 272f5046404c [2024-10-07T09:12:49.756Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:12:50.079Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T09:12:50.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:12:50.164Z] prd-ubuntu20.04-docker-8c-8g-22030 does not seem to be running inside a container [2024-10-07T09:12:50.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-07T09:12:50.518Z] $ docker top fb0a574388ee41cb1f07a6203fcc548d281b3f4f422a6a596fa36a620b82a1e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:12:50.873Z] + go version [2024-10-07T09:12:50.873Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-07T09:12:50.881Z] $ docker stop --time=1 fb0a574388ee41cb1f07a6203fcc548d281b3f4f422a6a596fa36a620b82a1e2 [2024-10-07T09:12:52.162Z] $ docker rm -f --volumes fb0a574388ee41cb1f07a6203fcc548d281b3f4f422a6a596fa36a620b82a1e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:12:52.610Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T09:12:52.610Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:12:52.688Z] prd-ubuntu20.04-docker-8c-8g-22030 does not seem to be running inside a container [2024-10-07T09:12:52.715Z] $ 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-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-07T09:12:53.037Z] $ docker top f94120c2025f927b4bacc560341e8b4344fecc3f31c7821eaa2ee9240e8079c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:12:53.392Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1635 [Pipeline] fileExists [Pipeline] sh [2024-10-07T09:12:53.690Z] + make test [2024-10-07T09:12:53.691Z] go test -race -coverprofile=coverage.out ./... [2024-10-07T09:13:01.822Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-07T09:13:28.374Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-07T09:13:28.374Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-07T09:13:28.374Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-07T09:13:28.374Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-07T09:13:28.374Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-07T09:13:28.374Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-07T09:13:28.374Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-07T09:13:29.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.031s coverage: 26.0% of statements [2024-10-07T09:13:29.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.041s coverage: 79.4% of statements [2024-10-07T09:13:29.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.050s coverage: 86.0% of statements [2024-10-07T09:13:30.310Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-07T09:13:30.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-07T09:13:30.876Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-07T09:13:30.876Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-07T09:13:31.442Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.099s coverage: 45.2% of statements [2024-10-07T09:13:32.820Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-07T09:13:34.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.085s coverage: 14.1% of statements [2024-10-07T09:13:34.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.944s coverage: 44.6% of statements [2024-10-07T09:13:34.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.3% of statements [2024-10-07T09:13:34.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.084s coverage: 88.3% of statements [2024-10-07T09:13:34.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.3% of statements [2024-10-07T09:13:38.763Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22031 in /w/workspace/gexfoundry_device-sdk-go_PR-1635 [Pipeline] { [Pipeline] ws [2024-10-07T09:13:38.782Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-10-07T09:13:38.822Z] The recommended git tool is: git [2024-10-07T09:13:47.373Z] using credential edgex-jenkins-ssh [2024-10-07T09:13:47.400Z] Cloning the remote Git repository [2024-10-07T09:13:47.484Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:13:47.698Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-10-07T09:13:47.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:13:47.906Z] > git --version # timeout=10 [2024-10-07T09:13:47.956Z] > git --version # 'git version 2.25.1' [2024-10-07T09:13:47.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T09:13:48.188Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T09:13:51.755Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-07T09:13:51.815Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T09:13:53.693Z] Merging remotes/origin/main commit 0ef7f81e2a588ab6c564a89cd743b8af47c7a923 into PR head commit 99a44afdbd34ca367a4889bb9772c67ded377911 [2024-10-07T09:13:53.824Z] ERROR: Checkout failed [2024-10-07T09:13:53.824Z] hudson.plugins.git.GitException: Command "git checkout -f 99a44afdbd34ca367a4889bb9772c67ded377911" returned status code 128: [2024-10-07T09:13:53.824Z] stdout: [2024-10-07T09:13:53.824Z] stderr: fatal: reference is not a tree: 99a44afdbd34ca367a4889bb9772c67ded377911 [2024-10-07T09:13:53.824Z] [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2846) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3174) [2024-10-07T09:13:53.824Z] Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to prd-ubuntu20.04-docker-arm64-4c-16g-22031 [2024-10-07T09:13:53.824Z] at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787) [2024-10-07T09:13:53.824Z] at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) [2024-10-07T09:13:53.824Z] at hudson.remoting.Channel.call(Channel.java:1003) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:153) [2024-10-07T09:13:53.824Z] at jdk.internal.reflect.GeneratedMethodAccessor684.invoke(Unknown Source) [2024-10-07T09:13:53.824Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2024-10-07T09:13:53.824Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:138) [2024-10-07T09:13:53.824Z] at com.sun.proxy.$Proxy230.execute(Unknown Source) [2024-10-07T09:13:53.824Z] at jenkins.plugins.git.MergeWithGitSCMExtension.checkout(MergeWithGitSCMExtension.java:144) [2024-10-07T09:13:53.824Z] at jenkins.plugins.git.MergeWithGitSCMExtension.decorateRevisionToBuild(MergeWithGitSCMExtension.java:110) [2024-10-07T09:13:53.824Z] at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1162) [2024-10-07T09:13:53.824Z] at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1306) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) [2024-10-07T09:13:53.824Z] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [2024-10-07T09:13:53.824Z] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [2024-10-07T09:13:53.824Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [2024-10-07T09:13:53.824Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [2024-10-07T09:13:53.824Z] at java.base/java.lang.Thread.run(Thread.java:829) [2024-10-07T09:13:53.824Z] Caused: hudson.plugins.git.GitException: Could not checkout 99a44afdbd34ca367a4889bb9772c67ded377911 [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3202) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:170) [2024-10-07T09:13:53.824Z] at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161) [2024-10-07T09:13:53.824Z] at hudson.remoting.UserRequest.perform(UserRequest.java:211) [2024-10-07T09:13:53.824Z] at hudson.remoting.UserRequest.perform(UserRequest.java:54) [2024-10-07T09:13:53.824Z] at hudson.remoting.Request$2.run(Request.java:377) [2024-10-07T09:13:53.824Z] at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) [2024-10-07T09:13:53.824Z] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [2024-10-07T09:13:53.824Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [2024-10-07T09:13:53.824Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [2024-10-07T09:13:53.824Z] at java.base/java.lang.Thread.run(Thread.java:829) [2024-10-07T09:13:53.825Z] ERROR: Maximum checkout retry attempts reached, aborting [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-07T09:13:53.908Z] Failed in branch arm64 [2024-10-07T09:13:52.989Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-07T09:13:53.038Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:13:53.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T09:13:53.067Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1635/head:refs/remotes/origin/PR-1635 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-07T09:13:53.709Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T09:13:53.782Z] > git checkout -f 99a44afdbd34ca367a4889bb9772c67ded377911 # timeout=10 [2024-10-07T09:14:13.542Z] GO111MODULE=on go vet ./... [2024-10-07T09:14:14.922Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T09:14:14.922Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T09:14:14.922Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T09:14:15.196Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T09:14:15.214Z] $ docker stop --time=1 f94120c2025f927b4bacc560341e8b4344fecc3f31c7821eaa2ee9240e8079c8 [2024-10-07T09:14:19.927Z] $ docker rm -f --volumes f94120c2025f927b4bacc560341e8b4344fecc3f31c7821eaa2ee9240e8079c8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T09:14:20.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T09:14:20.753Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-07T09:14:21.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T09:14:21.656Z] + ls -al . [2024-10-07T09:14:21.656Z] total 712 [2024-10-07T09:14:21.656Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 09:12 . [2024-10-07T09:14:21.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:11 .. [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:11 .dockerignore [2024-10-07T09:14:21.656Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:13 .git [2024-10-07T09:14:21.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:11 .github [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:11 .gitignore [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:11 .golangci.yml [2024-10-07T09:14:21.656Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:11 .semver [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:11 CHANGELOG.md [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:11 GOVERNANCE.md [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:11 Jenkinsfile [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:11 LICENSE [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:11 Makefile [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:11 OWNERS.md [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:11 README.md [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:11 VERSION [2024-10-07T09:14:21.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:11 bin [2024-10-07T09:14:21.656Z] -rw-r--r-- 1 jenkins jenkins 466605 Oct 7 09:13 coverage.out [2024-10-07T09:14:21.656Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:11 example [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:11 go.mod [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:11 go.sum [2024-10-07T09:14:21.656Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:11 internal [2024-10-07T09:14:21.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:11 openapi [2024-10-07T09:14:21.656Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:11 pkg [2024-10-07T09:14:21.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:11 snap [2024-10-07T09:14:21.656Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:14:21.985Z] + 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=65d4e748a67b9f51dc4f81626a29efba2f0b1977 --label arch=amd64 --label version=0.0.0 . [2024-10-07T09:14:21.985Z] Sending build context to Docker daemon 26.01MB [2024-10-07T09:14:21.985Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:14:21.985Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-07T09:14:21.985Z] ---> 272f5046404c [2024-10-07T09:14:21.985Z] Step 3/24 : ARG MAKE=make build [2024-10-07T09:14:22.556Z] ---> Running in d6d9ce6ab1a2 [2024-10-07T09:14:22.816Z] Removing intermediate container d6d9ce6ab1a2 [2024-10-07T09:14:22.816Z] ---> aa8e1f30cd2c [2024-10-07T09:14:22.816Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-07T09:14:22.816Z] ---> Running in d37c0f14adf9 [2024-10-07T09:14:22.816Z] Removing intermediate container d37c0f14adf9 [2024-10-07T09:14:22.816Z] ---> d674ee0e810f [2024-10-07T09:14:22.816Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:14:23.076Z] ---> Running in f9c93fb43f37 [2024-10-07T09:14:23.076Z] Removing intermediate container f9c93fb43f37 [2024-10-07T09:14:23.076Z] ---> f79aebb05cde [2024-10-07T09:14:23.076Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-07T09:14:23.076Z] ---> Running in d0191ae46fc2 [2024-10-07T09:14:23.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:14:23.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:14:23.863Z] OK: 246 MiB in 54 packages [2024-10-07T09:14:24.434Z] Removing intermediate container d0191ae46fc2 [2024-10-07T09:14:24.434Z] ---> 95f548ecd05d [2024-10-07T09:14:24.434Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-07T09:14:24.434Z] ---> 26c51bf526f8 [2024-10-07T09:14:24.434Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:14:24.434Z] ---> Running in b77fa457fab6 [2024-10-07T09:14:25.002Z] Removing intermediate container b77fa457fab6 [2024-10-07T09:14:25.002Z] ---> b81c8b4ebf59 [2024-10-07T09:14:25.002Z] Step 9/24 : COPY . . [2024-10-07T09:14:26.381Z] ---> 81088de53e97 [2024-10-07T09:14:26.381Z] Step 10/24 : RUN ${MAKE} [2024-10-07T09:14:26.381Z] ---> Running in 899cbc1e0ebf [2024-10-07T09:14:26.381Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-07T09:15:05.106Z] Removing intermediate container 899cbc1e0ebf [2024-10-07T09:15:05.106Z] ---> 5e1876dd6475 [2024-10-07T09:15:05.106Z] Step 11/24 : FROM alpine:3.20 [2024-10-07T09:15:05.106Z] 3.20: Pulling from library/alpine [2024-10-07T09:15:05.106Z] 43c4264eed91: Already exists [2024-10-07T09:15:05.106Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T09:15:05.106Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T09:15:05.106Z] ---> 91ef0af61f39 [2024-10-07T09:15:05.106Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-07T09:15:05.106Z] ---> Running in 07d11f79eba9 [2024-10-07T09:15:05.106Z] Removing intermediate container 07d11f79eba9 [2024-10-07T09:15:05.106Z] ---> 1e5e208a3793 [2024-10-07T09:15:05.106Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-07T09:15:05.106Z] ---> Running in be80838b9f3c [2024-10-07T09:15:05.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:15:05.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:15:05.106Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T09:15:05.106Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T09:15:05.106Z] OK: 8 MiB in 15 packages [2024-10-07T09:15:05.106Z] Removing intermediate container be80838b9f3c [2024-10-07T09:15:05.106Z] ---> 8837b9d89dc2 [2024-10-07T09:15:05.106Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-07T09:15:05.106Z] ---> Running in 189f2d2ec0c5 [2024-10-07T09:15:05.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:15:05.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:15:05.106Z] Upgrading critical system libraries and apk-tools: [2024-10-07T09:15:05.106Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T09:15:05.106Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T09:15:05.106Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T09:15:05.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:15:05.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:15:05.106Z] OK: 8 MiB in 15 packages [2024-10-07T09:15:05.106Z] Removing intermediate container 189f2d2ec0c5 [2024-10-07T09:15:05.106Z] ---> 74e86d7d0ae5 [2024-10-07T09:15:05.106Z] Step 15/24 : WORKDIR / [2024-10-07T09:15:05.106Z] ---> Running in d52ea5dd8e5f [2024-10-07T09:15:05.106Z] Removing intermediate container d52ea5dd8e5f [2024-10-07T09:15:05.106Z] ---> f82c435313e8 [2024-10-07T09:15:05.106Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-07T09:15:05.106Z] ---> 3887eed5ad2e [2024-10-07T09:15:05.106Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-07T09:15:05.106Z] ---> a00fb5d13c57 [2024-10-07T09:15:05.106Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-07T09:15:05.106Z] ---> 89fa5c5d51ba [2024-10-07T09:15:05.106Z] Step 19/24 : EXPOSE 59999 [2024-10-07T09:15:05.106Z] ---> Running in 8c89c18d638c [2024-10-07T09:15:05.106Z] Removing intermediate container 8c89c18d638c [2024-10-07T09:15:05.106Z] ---> 1b7ca78a700b [2024-10-07T09:15:05.106Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-07T09:15:05.106Z] ---> Running in c67a2b5735aa [2024-10-07T09:15:05.106Z] Removing intermediate container c67a2b5735aa [2024-10-07T09:15:05.106Z] ---> 962c09c494bc [2024-10-07T09:15:05.106Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T09:15:05.106Z] ---> Running in 1a7265872004 [2024-10-07T09:15:05.106Z] Removing intermediate container 1a7265872004 [2024-10-07T09:15:05.106Z] ---> 925ee97b78af [2024-10-07T09:15:05.106Z] Step 22/24 : LABEL arch=amd64 [2024-10-07T09:15:05.106Z] ---> Running in ceceac7553e6 [2024-10-07T09:15:05.106Z] Removing intermediate container ceceac7553e6 [2024-10-07T09:15:05.106Z] ---> 6e5031001e8f [2024-10-07T09:15:05.106Z] Step 23/24 : LABEL git_sha=65d4e748a67b9f51dc4f81626a29efba2f0b1977 [2024-10-07T09:15:05.106Z] ---> Running in 5d1144a5338a [2024-10-07T09:15:05.106Z] Removing intermediate container 5d1144a5338a [2024-10-07T09:15:05.106Z] ---> 3fc8eb5a4b9d [2024-10-07T09:15:05.106Z] Step 24/24 : LABEL version=0.0.0 [2024-10-07T09:15:05.106Z] ---> Running in 024dee594a03 [2024-10-07T09:15:05.106Z] Removing intermediate container 024dee594a03 [2024-10-07T09:15:05.106Z] ---> 89453c2e81b3 [2024-10-07T09:15:05.106Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T09:15:05.106Z] Successfully built 89453c2e81b3 [2024-10-07T09:15:05.106Z] 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-10-07T09:15:05.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:15:05.591Z] [2024-10-07T09:15:05.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:15:05.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:15:05.885Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-07T09:15:05.885Z] 5eb5b503b376: Pulling fs layer [2024-10-07T09:15:05.885Z] 5c69ac0246d0: Pulling fs layer [2024-10-07T09:15:05.885Z] ec43610c2a17: Pulling fs layer [2024-10-07T09:15:05.885Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-07T09:15:05.885Z] 33b1e0a273af: Pulling fs layer [2024-10-07T09:15:05.885Z] 5d3b04190fa2: Pulling fs layer [2024-10-07T09:15:05.885Z] 2f39f015ded8: Pulling fs layer [2024-10-07T09:15:05.885Z] 33b1e0a273af: Waiting [2024-10-07T09:15:05.885Z] 5d3b04190fa2: Waiting [2024-10-07T09:15:05.885Z] 3a2ae6a8a46f: Waiting [2024-10-07T09:15:05.885Z] 5c69ac0246d0: Download complete [2024-10-07T09:15:05.885Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-07T09:15:05.885Z] 3a2ae6a8a46f: Download complete [2024-10-07T09:15:05.885Z] ec43610c2a17: Verifying Checksum [2024-10-07T09:15:05.885Z] ec43610c2a17: Download complete [2024-10-07T09:15:05.885Z] 33b1e0a273af: Verifying Checksum [2024-10-07T09:15:05.885Z] 33b1e0a273af: Download complete [2024-10-07T09:15:05.885Z] 5d3b04190fa2: Verifying Checksum [2024-10-07T09:15:05.885Z] 5d3b04190fa2: Download complete [2024-10-07T09:15:06.143Z] 5eb5b503b376: Verifying Checksum [2024-10-07T09:15:06.143Z] 5eb5b503b376: Download complete [2024-10-07T09:15:07.517Z] 5eb5b503b376: Pull complete [2024-10-07T09:15:07.517Z] 5c69ac0246d0: Pull complete [2024-10-07T09:15:07.775Z] ec43610c2a17: Pull complete [2024-10-07T09:15:07.775Z] 3a2ae6a8a46f: Pull complete [2024-10-07T09:15:08.034Z] 33b1e0a273af: Pull complete [2024-10-07T09:15:08.292Z] 5d3b04190fa2: Pull complete [2024-10-07T09:15:12.477Z] 2f39f015ded8: Pull complete [2024-10-07T09:15:12.477Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-07T09:15:12.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:15:12.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:15:12.583Z] prd-ubuntu20.04-docker-8c-8g-22030 does not seem to be running inside a container [2024-10-07T09:15:12.615Z] $ 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-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-07T09:15:16.545Z] $ docker top 3b5daf5fd1f9b47723b595dc611790f6c3eba420ed2c3125e5530ebdb06ae3dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:15:16.957Z] ---> job-cost.sh [2024-10-07T09:15:16.957Z] lf-activate-venv: SKIPPING [2024-10-07T09:15:16.957Z] INFO: No Stack... [2024-10-07T09:15:17.215Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T09:15:17.780Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T09:15:18.068Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives/cost.csv [2024-10-07T09:15:18.068Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T09:15:18.084Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-2-stack-cost] [2024-10-07T09:15:18.095Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1635-2-stack-cost] did not exist. Created. [2024-10-07T09:15:18.102Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T09:15:18.418Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-07T09:15:18.457Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T09:15:18.469Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T09:15:18.491Z] $ docker stop --time=1 3b5daf5fd1f9b47723b595dc611790f6c3eba420ed2c3125e5530ebdb06ae3dc [2024-10-07T09:15:19.640Z] $ docker rm -f --volumes 3b5daf5fd1f9b47723b595dc611790f6c3eba420ed2c3125e5530ebdb06ae3dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-07T09:15:20.657Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives ] [2024-10-07T09:15:20.657Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives [2024-10-07T09:15:20.657Z] total 16 [2024-10-07T09:15:20.657Z] drwxr-xr-x 3 root root 4096 Oct 7 09:15 . [2024-10-07T09:15:20.657Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 09:15 .. [2024-10-07T09:15:20.657Z] drwxr-xr-x 2 root root 4096 Oct 7 09:15 cost [2024-10-07T09:15:20.657Z] -rw-r--r-- 1 root root 86 Oct 7 09:15 cost.csv [2024-10-07T09:15:20.657Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives [2024-10-07T09:15:20.657Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives [2024-10-07T09:15:20.657Z] total 16 [2024-10-07T09:15:20.657Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:15 . [2024-10-07T09:15:20.657Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 09:15 .. [2024-10-07T09:15:20.657Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 09:15 cost [2024-10-07T09:15:20.657Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 7 09:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:15:20.952Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:15:21.818Z] ---> package-listing.sh [2024-10-07T09:15:21.818Z] ++ facter osfamily [2024-10-07T09:15:21.818Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-07T09:15:22.078Z] + OS_FAMILY=debian [2024-10-07T09:15:22.078Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1635 [2024-10-07T09:15:22.078Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-07T09:15:22.078Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-07T09:15:22.078Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-07T09:15:22.078Z] + PACKAGES=/tmp/packages_start.txt [2024-10-07T09:15:22.078Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1635 ']' [2024-10-07T09:15:22.078Z] + PACKAGES=/tmp/packages_end.txt [2024-10-07T09:15:22.078Z] + case "${OS_FAMILY}" in [2024-10-07T09:15:22.078Z] + dpkg -l [2024-10-07T09:15:22.078Z] + grep '^ii' [2024-10-07T09:15:22.078Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-07T09:15:22.078Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-07T09:15:22.078Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-07T09:15:22.078Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1635 ']' [2024-10-07T09:15:22.078Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives/ [2024-10-07T09:15:22.078Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives/ [Pipeline] echo [2024-10-07T09:15:22.092Z] 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-1635/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-07T09:15:22.370Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:15:22.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:15:22.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:15:23.074Z] prd-ubuntu20.04-docker-8c-8g-22030 does not seem to be running inside a container [2024-10-07T09:15:23.121Z] $ 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-1635/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-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-07T09:15:23.326Z] $ docker top 4bc9560b3a530fa82bfdb012faa2c8153507bcd0a9be12755fc809770f2521d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:15:23.700Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-07T09:15:23.997Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-07T09:15:24.281Z] + ls /var/log/sa-host [2024-10-07T09:15:24.281Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T09:15:24.353Z] provisioning config files... [2024-10-07T09:15:24.361Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/config10438219541345239029tmp [Pipeline] { [Pipeline] echo [2024-10-07T09:15:24.387Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:15:24.671Z] ---> create-netrc.sh [Pipeline] } [2024-10-07T09:15:24.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:15:25.019Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-07T09:15:25.029Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:15:25.316Z] ---> sudo-logs.sh [2024-10-07T09:15:25.316Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-07T09:15:25.355Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:15:25.643Z] ---> job-cost.sh [2024-10-07T09:15:25.643Z] lf-activate-venv: SKIPPING [2024-10-07T09:15:25.643Z] DEBUG: total: 0.2199999988079071 [2024-10-07T09:15:25.643Z] INFO: Retrieving Stack Cost... [2024-10-07T09:15:25.643Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T09:15:26.213Z] INFO: Archiving Costs [Pipeline] echo [2024-10-07T09:15:26.224Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:15:26.506Z] ---> logs-deploy.sh [2024-10-07T09:15:26.506Z] lf-activate-venv: SKIPPING [2024-10-07T09:15:26.506Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1635/2 [2024-10-07T09:15:26.506Z] INFO: archiving workspace using pattern(s): [2024-10-07T09:15:27.445Z] Archives upload complete. [2024-10-07T09:15:27.445Z] INFO: archiving logs to Nexus