Pull request #1632 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4+e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 (63ade973dc77d6ff6ad41842a7a077fca84303b7) 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-ssh11121266459523853569.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-ssh12654914500305978208.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-1632/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-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6558053727741232028.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-ssh17795009347798676575.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-1632/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-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15712812839535526046.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-ubuntu18.04-docker-8c-8g-21828’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21830’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-22032’ is offline ‘prd-ubuntu20.04-docker-8c-8g-22034’ is offline ‘prd-ubuntu20.04-docker-8c-8g-22036’ is offline ‘prd-ubuntu20.04-docker-8c-8g-22038’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-22033’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22040 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [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-1632 # 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/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 into PR head commit 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 Merge succeeded, producing 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 Checking out Revision 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 (PR-1632) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 # 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 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 # timeout=10 > git rev-list --no-walk e4887391fc191a9e394a9397e2a296fee6df83d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-07T09:40:42.598Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-07T09:40:42.675Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-07T09:40:42.702Z] ========================================================= [2024-10-07T09:40:42.702Z] EdgeX Global Pipelines Version Info [2024-10-07T09:40:42.702Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:40:43.427Z] ------------------- [2024-10-07T09:40:43.427Z] stable info: [2024-10-07T09:40:43.427Z] ------------------- [2024-10-07T09:40:43.427Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-07T09:40:43.427Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T09:40:43.427Z] Message: update stable to v1.0.265 [2024-10-07T09:40:44.286Z] ------------------- [2024-10-07T09:40:44.286Z] experimental info: [2024-10-07T09:40:44.286Z] ------------------- [2024-10-07T09:40:44.286Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-07T09:40:44.286Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-07T09:40:44.287Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-07T09:40:44.366Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-07T09:40:44.392Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-07T09:40:44.412Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-07T09:40:44.437Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-07T09:40:44.455Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-07T09:40:44.477Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-07T09:40:44.496Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-07T09:40:44.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-07T09:40:44.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-07T09:40:44.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-07T09:40:44.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-07T09:40:44.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-07T09:40:44.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-07T09:40:44.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-07T09:40:44.685Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T09:40:44.712Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:40:44.737Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:40:44.760Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:40:44.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-07T09:40:44.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-07T09:40:44.834Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-07T09:40:44.860Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-07T09:40:44.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-07T09:40:44.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-07T09:40:44.946Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-07T09:40:44.973Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-07T09:40:44.996Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-07T09:40:45.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1632 [Pipeline] echo [2024-10-07T09:40:45.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1632 [Pipeline] echo [2024-10-07T09:40:45.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1632 [Pipeline] echo [2024-10-07T09:40:45.094Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] echo [2024-10-07T09:40:45.117Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e4310b [Pipeline] echo [2024-10-07T09:40:45.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T09:40:45.203Z] provisioning config files... [2024-10-07T09:40:45.218Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config7573414843301415601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:40:45.571Z] ---> ****-login.sh [2024-10-07T09:40:45.571Z] nexus3.edgexfoundry.org:10001 [2024-10-07T09:40:45.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:40:45.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:40:45.832Z] Configure a credential helper to remove this warning. See [2024-10-07T09:40:45.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:40:45.832Z] [2024-10-07T09:40:45.832Z] Login Succeeded [2024-10-07T09:40:45.832Z] nexus3.edgexfoundry.org:10002 [2024-10-07T09:40:46.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:40:46.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:40:46.092Z] Configure a credential helper to remove this warning. See [2024-10-07T09:40:46.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:40:46.092Z] [2024-10-07T09:40:46.092Z] Login Succeeded [2024-10-07T09:40:46.092Z] nexus3.edgexfoundry.org:10003 [2024-10-07T09:40:46.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:40:46.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:40:46.092Z] Configure a credential helper to remove this warning. See [2024-10-07T09:40:46.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:40:46.093Z] [2024-10-07T09:40:46.093Z] Login Succeeded [2024-10-07T09:40:46.093Z] nexus3.edgexfoundry.org:10004 [2024-10-07T09:40:46.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:40:46.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:40:46.352Z] Configure a credential helper to remove this warning. See [2024-10-07T09:40:46.352Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:40:46.352Z] [2024-10-07T09:40:46.352Z] Login Succeeded [2024-10-07T09:40:46.352Z] ****.io [2024-10-07T09:40:46.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:40:46.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:40:46.353Z] Configure a credential helper to remove this warning. See [2024-10-07T09:40:46.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:40:46.353Z] [2024-10-07T09:40:46.353Z] Login Succeeded [2024-10-07T09:40:46.353Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T09:40:46.359Z] 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:40:46.776Z] + git rev-list -1 --merges 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4~1..0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] echo [2024-10-07T09:40:46.807Z] -----------> git rev-list -1 --merges 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4~1..0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [false] [Pipeline] sh [2024-10-07T09:40:47.097Z] + git log --format=format:%s -1 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] echo [2024-10-07T09:40:47.112Z] ========================================================= [2024-10-07T09:40:47.112Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-07T09:40:47.112Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T09:40:47.448Z] + git log --format=format:%s -1 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] echo [2024-10-07T09:40:47.460Z] [semverPrep] GIT_COMMIT: 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-10-07T09:40:47.478Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-07T09:40:47.828Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-07T09:40:47.828Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-07T09:40:47.828Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-07T09:40:47.828Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-07T09:40:47.828Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-07T09:40:47.828Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-07T09:40:47.828Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:40:48.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:40:48.189Z] [2024-10-07T09:40:48.189Z] 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:40:48.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:40:48.491Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-07T09:40:48.491Z] b85a868b505f: Pulling fs layer [2024-10-07T09:40:48.491Z] e2be974225ed: Pulling fs layer [2024-10-07T09:40:48.491Z] 339a4e72a1f5: Pulling fs layer [2024-10-07T09:40:48.491Z] 988bab9f4d93: Pulling fs layer [2024-10-07T09:40:48.491Z] 1469e6f7b9e6: Pulling fs layer [2024-10-07T09:40:48.491Z] eaf3925da568: Pulling fs layer [2024-10-07T09:40:48.491Z] bab4dde63d76: Pulling fs layer [2024-10-07T09:40:48.491Z] bde34c3a00c8: Pulling fs layer [2024-10-07T09:40:48.491Z] b352a97aabf1: Pulling fs layer [2024-10-07T09:40:48.491Z] 4872d77fe225: Pulling fs layer [2024-10-07T09:40:48.491Z] 5851b861e8e6: Pulling fs layer [2024-10-07T09:40:48.491Z] b352a97aabf1: Waiting [2024-10-07T09:40:48.491Z] bde34c3a00c8: Waiting [2024-10-07T09:40:48.491Z] 4872d77fe225: Waiting [2024-10-07T09:40:48.491Z] 5851b861e8e6: Waiting [2024-10-07T09:40:48.491Z] eaf3925da568: Waiting [2024-10-07T09:40:48.491Z] 1469e6f7b9e6: Waiting [2024-10-07T09:40:48.491Z] bab4dde63d76: Waiting [2024-10-07T09:40:48.491Z] e2be974225ed: Download complete [2024-10-07T09:40:48.491Z] 988bab9f4d93: Download complete [2024-10-07T09:40:48.491Z] 1469e6f7b9e6: Verifying Checksum [2024-10-07T09:40:48.491Z] 1469e6f7b9e6: Download complete [2024-10-07T09:40:48.491Z] eaf3925da568: Verifying Checksum [2024-10-07T09:40:48.491Z] eaf3925da568: Download complete [2024-10-07T09:40:48.491Z] 339a4e72a1f5: Verifying Checksum [2024-10-07T09:40:48.491Z] 339a4e72a1f5: Download complete [2024-10-07T09:40:48.491Z] bde34c3a00c8: Download complete [2024-10-07T09:40:48.748Z] b352a97aabf1: Download complete [2024-10-07T09:40:48.748Z] 4872d77fe225: Verifying Checksum [2024-10-07T09:40:48.748Z] 4872d77fe225: Download complete [2024-10-07T09:40:48.748Z] 5851b861e8e6: Verifying Checksum [2024-10-07T09:40:48.748Z] 5851b861e8e6: Download complete [2024-10-07T09:40:48.748Z] b85a868b505f: Verifying Checksum [2024-10-07T09:40:48.748Z] b85a868b505f: Download complete [2024-10-07T09:40:49.005Z] bab4dde63d76: Verifying Checksum [2024-10-07T09:40:49.005Z] bab4dde63d76: Download complete [2024-10-07T09:40:49.939Z] b85a868b505f: Pull complete [2024-10-07T09:40:49.939Z] e2be974225ed: Pull complete [2024-10-07T09:40:50.505Z] 339a4e72a1f5: Pull complete [2024-10-07T09:40:50.505Z] 988bab9f4d93: Pull complete [2024-10-07T09:40:50.770Z] 1469e6f7b9e6: Pull complete [2024-10-07T09:40:50.770Z] eaf3925da568: Pull complete [2024-10-07T09:40:52.143Z] bab4dde63d76: Pull complete [2024-10-07T09:40:52.400Z] bde34c3a00c8: Pull complete [2024-10-07T09:40:52.400Z] b352a97aabf1: Pull complete [2024-10-07T09:40:52.658Z] 4872d77fe225: Pull complete [2024-10-07T09:40:52.658Z] 5851b861e8e6: Pull complete [2024-10-07T09:40:52.658Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-07T09:40:52.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:40:52.658Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:40:52.797Z] prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container [2024-10-07T09:40:52.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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-devops/py-git-semver:0.1.4 cat [2024-10-07T09:40:56.586Z] $ docker top 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 -eo pid,comm [2024-10-07T09:40:56.638Z] 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:40:56.638Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-07T09:40:56.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T09:40:56.693Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T09:40:56.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T09:40:56.810Z] $ docker exec 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 ssh-agent [2024-10-07T09:40:56.919Z] SSH_AUTH_SOCK=/tmp/ssh-glVmJjzKrZP8/agent.33 [2024-10-07T09:40:56.919Z] SSH_AGENT_PID=39 [2024-10-07T09:40:56.925Z] Running ssh-add (command line suppressed) [2024-10-07T09:40:57.024Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_13410292976276261397.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_13410292976276261397.key) [2024-10-07T09:40:57.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T09:40:57.329Z] + git tag --points-at HEAD [Pipeline] } [2024-10-07T09:40:57.339Z] $ docker exec --env ******** --env ******** 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 ssh-agent -k [2024-10-07T09:40:57.431Z] unset SSH_AUTH_SOCK; [2024-10-07T09:40:57.431Z] unset SSH_AGENT_PID; [2024-10-07T09:40:57.431Z] echo Agent pid 39 killed; [2024-10-07T09:40:57.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-07T09:40:57.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T09:40:57.484Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T09:40:57.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T09:40:57.599Z] $ docker exec 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 ssh-agent [2024-10-07T09:40:57.708Z] SSH_AUTH_SOCK=/tmp/ssh-YooVnmXkLD0r/agent.73 [2024-10-07T09:40:57.708Z] SSH_AGENT_PID=79 [2024-10-07T09:40:57.712Z] Running ssh-add (command line suppressed) [2024-10-07T09:40:57.817Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_18295019659781943243.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_18295019659781943243.key) [2024-10-07T09:40:57.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T09:40:58.113Z] + git semver init [2024-10-07T09:40:58.413Z] 2024-10-07 09:40:58,288 [run_init] DEBUG init version:0.0.0 force:False [2024-10-07T09:40:58.413Z] 2024-10-07 09:40:58,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver [2024-10-07T09:40:58.413Z] 2024-10-07 09:40:58,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver [2024-10-07T09:40:58.413Z] 2024-10-07 09:40:58,292 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632, universal_newlines=False, shell=None, istream=None) [2024-10-07T09:41:00.973Z] 2024-10-07 09:41:00,524 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.git/info/exclude [2024-10-07T09:41:00.973Z] 2024-10-07 09:41:00,524 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 with force:False [2024-10-07T09:41:00.973Z] 2024-10-07 09:41:00,524 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 [2024-10-07T09:41:00.973Z] 2024-10-07 09:41:00,529 [execute] INFO git cat-file --batch-check [2024-10-07T09:41:00.973Z] 2024-10-07 09:41:00,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T09:41:00.973Z] 2024-10-07 09:41:00,536 [execute] INFO git cat-file --batch [2024-10-07T09:41:00.973Z] 2024-10-07 09:41:00,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T09:41:00.973Z] 2024-10-07 09:41:00,542 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 [2024-10-07T09:41:00.973Z] 0.0.0 [Pipeline] } [2024-10-07T09:41:00.982Z] $ docker exec --env ******** --env ******** 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 ssh-agent -k [2024-10-07T09:41:01.073Z] unset SSH_AUTH_SOCK; [2024-10-07T09:41:01.073Z] unset SSH_AGENT_PID; [2024-10-07T09:41:01.073Z] echo Agent pid 79 killed; [2024-10-07T09:41:01.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-07T09:41:01.418Z] + git semver [Pipeline] } [2024-10-07T09:41:01.687Z] $ docker stop --time=1 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 [2024-10-07T09:41:03.431Z] $ docker rm -f --volumes 02ce6434d720227d751309a01adc01a6ece4150686ba2ce8400e21afd87107c5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T09:41:03.879Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-07T09:41:04.162Z] Stashed 1 file(s) [Pipeline] echo [2024-10-07T09:41:04.165Z] [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:41:04.334Z] provisioning config files... [2024-10-07T09:41:04.351Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config14197751343303408892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:41:04.683Z] ---> ****-login.sh [2024-10-07T09:41:04.683Z] nexus3.edgexfoundry.org:10001 [2024-10-07T09:41:04.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:41:04.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:41:04.683Z] Configure a credential helper to remove this warning. See [2024-10-07T09:41:04.683Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:41:04.683Z] [2024-10-07T09:41:04.683Z] Login Succeeded [2024-10-07T09:41:04.684Z] nexus3.edgexfoundry.org:10002 [2024-10-07T09:41:04.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:41:04.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:41:04.684Z] Configure a credential helper to remove this warning. See [2024-10-07T09:41:04.684Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:41:04.684Z] [2024-10-07T09:41:04.684Z] Login Succeeded [2024-10-07T09:41:04.684Z] nexus3.edgexfoundry.org:10003 [2024-10-07T09:41:04.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:41:04.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:41:04.944Z] Configure a credential helper to remove this warning. See [2024-10-07T09:41:04.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:41:04.944Z] [2024-10-07T09:41:04.944Z] Login Succeeded [2024-10-07T09:41:04.944Z] nexus3.edgexfoundry.org:10004 [2024-10-07T09:41:04.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:41:04.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:41:04.944Z] Configure a credential helper to remove this warning. See [2024-10-07T09:41:04.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:41:04.944Z] [2024-10-07T09:41:04.944Z] Login Succeeded [2024-10-07T09:41:04.944Z] ****.io [2024-10-07T09:41:04.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:41:05.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:41:05.203Z] Configure a credential helper to remove this warning. See [2024-10-07T09:41:05.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:41:05.203Z] [2024-10-07T09:41:05.203Z] Login Succeeded [2024-10-07T09:41:05.203Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T09:41:05.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T09:41:05.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:41:05.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:41:05.357Z] ========================================================= [2024-10-07T09:41:05.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-07T09:41:05.357Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:41:05.700Z] + 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:41:05.700Z] Sending build context to Docker daemon 25.43MB [2024-10-07T09:41:05.700Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:41:05.700Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-07T09:41:06.000Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-07T09:41:06.000Z] 43c4264eed91: Pulling fs layer [2024-10-07T09:41:06.000Z] 4cc291be95ef: Pulling fs layer [2024-10-07T09:41:06.000Z] 2ac1f1163629: Pulling fs layer [2024-10-07T09:41:06.000Z] 5c3c966382ef: Pulling fs layer [2024-10-07T09:41:06.000Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T09:41:06.000Z] 5d5c8e513c77: Pulling fs layer [2024-10-07T09:41:06.000Z] 9f66e0745190: Pulling fs layer [2024-10-07T09:41:06.000Z] f49a43e4bbc0: Pulling fs layer [2024-10-07T09:41:06.000Z] 561ebcabdf7f: Pulling fs layer [2024-10-07T09:41:06.000Z] 4f4fb700ef54: Waiting [2024-10-07T09:41:06.000Z] 5d5c8e513c77: Waiting [2024-10-07T09:41:06.000Z] 9f66e0745190: Waiting [2024-10-07T09:41:06.000Z] f49a43e4bbc0: Waiting [2024-10-07T09:41:06.000Z] 561ebcabdf7f: Waiting [2024-10-07T09:41:06.000Z] 5c3c966382ef: Waiting [2024-10-07T09:41:06.000Z] 4cc291be95ef: Download complete [2024-10-07T09:41:06.000Z] 5c3c966382ef: Verifying Checksum [2024-10-07T09:41:06.000Z] 5c3c966382ef: Download complete [2024-10-07T09:41:06.000Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T09:41:06.000Z] 4f4fb700ef54: Download complete [2024-10-07T09:41:06.000Z] 5d5c8e513c77: Download complete [2024-10-07T09:41:06.000Z] 43c4264eed91: Verifying Checksum [2024-10-07T09:41:06.000Z] 43c4264eed91: Download complete [2024-10-07T09:41:06.000Z] 9f66e0745190: Verifying Checksum [2024-10-07T09:41:06.000Z] 9f66e0745190: Download complete [2024-10-07T09:41:06.000Z] 43c4264eed91: Pull complete [2024-10-07T09:41:06.258Z] 561ebcabdf7f: Verifying Checksum [2024-10-07T09:41:06.258Z] 561ebcabdf7f: Download complete [2024-10-07T09:41:06.258Z] 4cc291be95ef: Pull complete [2024-10-07T09:41:06.516Z] 2ac1f1163629: Verifying Checksum [2024-10-07T09:41:06.516Z] 2ac1f1163629: Download complete [2024-10-07T09:41:06.775Z] f49a43e4bbc0: Verifying Checksum [2024-10-07T09:41:06.775Z] f49a43e4bbc0: Download complete [2024-10-07T09:41:10.068Z] 2ac1f1163629: Pull complete [2024-10-07T09:41:10.068Z] 5c3c966382ef: Pull complete [2024-10-07T09:41:10.068Z] 4f4fb700ef54: Pull complete [2024-10-07T09:41:10.068Z] 5d5c8e513c77: Pull complete [2024-10-07T09:41:10.327Z] 9f66e0745190: Pull complete [2024-10-07T09:41:12.855Z] f49a43e4bbc0: Pull complete [2024-10-07T09:41:12.855Z] 561ebcabdf7f: Pull complete [2024-10-07T09:41:13.113Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-07T09:41:13.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-07T09:41:13.113Z] ---> 3a752c3f9dda [2024-10-07T09:41:13.113Z] Step 3/10 : ARG MAKE=make build [2024-10-07T09:41:19.278Z] Still waiting to schedule task [2024-10-07T09:41:19.278Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-07T09:41:19.746Z] ---> Running in f5261314a8ce [2024-10-07T09:41:19.746Z] Removing intermediate container f5261314a8ce [2024-10-07T09:41:19.746Z] ---> 4bd79d9ee91b [2024-10-07T09:41:19.746Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-07T09:41:19.746Z] ---> Running in 6a878a213817 [2024-10-07T09:41:19.746Z] Removing intermediate container 6a878a213817 [2024-10-07T09:41:19.746Z] ---> e283e312dfa5 [2024-10-07T09:41:19.746Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:41:19.746Z] ---> Running in f45c66f0fa71 [2024-10-07T09:41:19.746Z] Removing intermediate container f45c66f0fa71 [2024-10-07T09:41:19.746Z] ---> e82edb12c8d2 [2024-10-07T09:41:19.746Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-07T09:41:19.746Z] ---> Running in 32656856bb37 [2024-10-07T09:41:19.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:41:20.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:41:20.265Z] OK: 246 MiB in 54 packages [2024-10-07T09:41:21.208Z] Removing intermediate container 32656856bb37 [2024-10-07T09:41:21.208Z] ---> 81ce8a7d3780 [2024-10-07T09:41:21.208Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-07T09:41:21.208Z] ---> a3c3ba37d9f6 [2024-10-07T09:41:21.208Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:41:21.466Z] ---> Running in c6561b9abcf2 [2024-10-07T09:42:29.284Z] Removing intermediate container c6561b9abcf2 [2024-10-07T09:42:29.284Z] ---> 630f9c602730 [2024-10-07T09:42:29.284Z] Step 9/10 : COPY . . [2024-10-07T09:42:29.284Z] ---> be97779d332a [2024-10-07T09:42:29.284Z] Step 10/10 : RUN ${MAKE} [2024-10-07T09:42:29.284Z] ---> Running in 0ebc5e238f9b [2024-10-07T09:42:29.284Z] noop [2024-10-07T09:42:29.284Z] Removing intermediate container 0ebc5e238f9b [2024-10-07T09:42:29.284Z] ---> c5fe2e6f21e7 [2024-10-07T09:42:29.284Z] Successfully built c5fe2e6f21e7 [2024-10-07T09:42:29.284Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:42:29.613Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T09:42:29.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:42:29.697Z] prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container [2024-10-07T09:42:29.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** ci-base-image-x86_64 cat [2024-10-07T09:42:30.078Z] $ docker top f248df61732d5c10c32231e811763e4a22e5cc96dd1c52c2ac6e3c4bf4021557 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:42:30.433Z] + go version [2024-10-07T09:42:30.433Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-07T09:42:30.441Z] $ docker stop --time=1 f248df61732d5c10c32231e811763e4a22e5cc96dd1c52c2ac6e3c4bf4021557 [2024-10-07T09:42:31.741Z] $ docker rm -f --volumes f248df61732d5c10c32231e811763e4a22e5cc96dd1c52c2ac6e3c4bf4021557 [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:42:32.262Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T09:42:32.263Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:42:32.347Z] prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container [2024-10-07T09:42:32.377Z] $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** ci-base-image-x86_64 cat [2024-10-07T09:42:32.714Z] $ docker top c165113553153b161c17945381ca17ab75916ac88310bed5a7b71ff59fb80668 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:42:33.061Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] fileExists [Pipeline] sh [2024-10-07T09:42:33.373Z] + make test [2024-10-07T09:42:33.373Z] go test -race -coverprofile=coverage.out ./... [2024-10-07T09:42:41.484Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-07T09:43:08.010Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-07T09:43:08.010Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-07T09:43:08.010Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-07T09:43:08.010Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-07T09:43:08.010Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-07T09:43:08.010Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.026s coverage: 26.0% of statements [2024-10-07T09:43:08.010Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.041s coverage: 79.4% of statements [2024-10-07T09:43:08.943Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-07T09:43:08.943Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-07T09:43:09.888Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements [2024-10-07T09:43:09.888Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-07T09:43:10.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-07T09:43:10.145Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-07T09:43:10.145Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-07T09:43:11.079Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.107s coverage: 45.2% of statements [2024-10-07T09:43:11.664Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-07T09:43:14.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.062s coverage: 14.1% of statements [2024-10-07T09:43:14.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.357s coverage: 44.6% of statements [2024-10-07T09:43:14.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.050s coverage: 68.3% of statements [2024-10-07T09:43:14.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 88.3% of statements [2024-10-07T09:43:14.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.059s coverage: 5.3% of statements [2024-10-07T09:43:46.305Z] GO111MODULE=on go vet ./... [2024-10-07T09:43:50.482Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T09:43:50.482Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T09:43:50.482Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T09:43:50.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T09:43:50.515Z] $ docker stop --time=1 c165113553153b161c17945381ca17ab75916ac88310bed5a7b71ff59fb80668 [2024-10-07T09:43:56.656Z] $ docker rm -f --volumes c165113553153b161c17945381ca17ab75916ac88310bed5a7b71ff59fb80668 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T09:43:57.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T09:43:57.542Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-07T09:43:57.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T09:43:58.303Z] + ls -al . [2024-10-07T09:43:58.303Z] total 712 [2024-10-07T09:43:58.303Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 09:42 . [2024-10-07T09:43:58.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:40 .. [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:40 .dockerignore [2024-10-07T09:43:58.303Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:43 .git [2024-10-07T09:43:58.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:40 .github [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:40 .gitignore [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:40 .golangci.yml [2024-10-07T09:43:58.303Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:41 .semver [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:40 CHANGELOG.md [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:40 GOVERNANCE.md [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:40 Jenkinsfile [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:40 LICENSE [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:40 Makefile [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:40 OWNERS.md [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:40 README.md [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:41 VERSION [2024-10-07T09:43:58.303Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:40 bin [2024-10-07T09:43:58.303Z] -rw-r--r-- 1 jenkins jenkins 466605 Oct 7 09:43 coverage.out [2024-10-07T09:43:58.303Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:40 example [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:40 go.mod [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:40 go.sum [2024-10-07T09:43:58.303Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:40 internal [2024-10-07T09:43:58.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:40 openapi [2024-10-07T09:43:58.303Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:40 pkg [2024-10-07T09:43:58.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:40 snap [2024-10-07T09:43:58.303Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:43:58.642Z] + 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=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 --label arch=amd64 --label version=0.0.0 . [2024-10-07T09:43:58.642Z] Sending build context to Docker daemon 25.9MB [2024-10-07T09:43:58.642Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:43:58.642Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-07T09:43:58.642Z] ---> c5fe2e6f21e7 [2024-10-07T09:43:58.642Z] Step 3/24 : ARG MAKE=make build [2024-10-07T09:43:59.211Z] ---> Running in 7ffbbd6fe885 [2024-10-07T09:43:59.468Z] Removing intermediate container 7ffbbd6fe885 [2024-10-07T09:43:59.468Z] ---> 7d39920ae188 [2024-10-07T09:43:59.468Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-07T09:43:59.468Z] ---> Running in cf99b5f2d87f [2024-10-07T09:43:59.730Z] Removing intermediate container cf99b5f2d87f [2024-10-07T09:43:59.730Z] ---> bc4f05c36053 [2024-10-07T09:43:59.730Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:43:59.730Z] ---> Running in 90203af7489c [2024-10-07T09:43:59.989Z] Removing intermediate container 90203af7489c [2024-10-07T09:43:59.989Z] ---> c366222fa445 [2024-10-07T09:43:59.989Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-07T09:43:59.989Z] ---> Running in 0f5695613a9f [2024-10-07T09:44:00.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:44:03.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:44:03.351Z] OK: 246 MiB in 54 packages [2024-10-07T09:44:03.609Z] Removing intermediate container 0f5695613a9f [2024-10-07T09:44:03.609Z] ---> 573f85bfa10b [2024-10-07T09:44:03.609Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-07T09:44:03.874Z] ---> ef0ce2e8ceef [2024-10-07T09:44:03.874Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:44:04.136Z] ---> Running in e6efe1e847d1 [2024-10-07T09:44:04.703Z] Removing intermediate container e6efe1e847d1 [2024-10-07T09:44:04.703Z] ---> bd7d8f56693c [2024-10-07T09:44:04.703Z] Step 9/24 : COPY . . [2024-10-07T09:44:05.640Z] ---> 1eb266f80349 [2024-10-07T09:44:05.640Z] Step 10/24 : RUN ${MAKE} [2024-10-07T09:44:05.640Z] ---> Running in 26c9da780a10 [2024-10-07T09:44:05.640Z] 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:44:44.345Z] Removing intermediate container 26c9da780a10 [2024-10-07T09:44:44.345Z] ---> 0ed8e4969677 [2024-10-07T09:44:44.345Z] Step 11/24 : FROM alpine:3.20 [2024-10-07T09:44:44.345Z] 3.20: Pulling from library/alpine [2024-10-07T09:44:44.345Z] 43c4264eed91: Already exists [2024-10-07T09:44:44.345Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T09:44:44.345Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T09:44:44.345Z] ---> 91ef0af61f39 [2024-10-07T09:44:44.345Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-07T09:44:44.345Z] ---> Running in a537b83ea50c [2024-10-07T09:44:44.345Z] Removing intermediate container a537b83ea50c [2024-10-07T09:44:44.345Z] ---> 4bf0a1d277b8 [2024-10-07T09:44:44.345Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-07T09:44:44.345Z] ---> Running in 03429fb9a019 [2024-10-07T09:44:44.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:44:44.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:44:44.345Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T09:44:44.345Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T09:44:44.345Z] OK: 8 MiB in 15 packages [2024-10-07T09:44:44.345Z] Removing intermediate container 03429fb9a019 [2024-10-07T09:44:44.345Z] ---> e0c2876b450a [2024-10-07T09:44:44.345Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-07T09:44:44.345Z] ---> Running in 2af8c980f611 [2024-10-07T09:44:44.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:44:44.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:44:44.345Z] Upgrading critical system libraries and apk-tools: [2024-10-07T09:44:44.345Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T09:44:44.345Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T09:44:44.345Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T09:44:44.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:44:44.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:44:44.604Z] OK: 8 MiB in 15 packages [2024-10-07T09:44:45.170Z] Removing intermediate container 2af8c980f611 [2024-10-07T09:44:45.170Z] ---> 62a327d9597e [2024-10-07T09:44:45.170Z] Step 15/24 : WORKDIR / [2024-10-07T09:44:45.170Z] ---> Running in d92b4f15246a [2024-10-07T09:44:45.171Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22043 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] { [Pipeline] ws [2024-10-07T09:44:45.187Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2024-10-07T09:44:45.429Z] Removing intermediate container d92b4f15246a [2024-10-07T09:44:45.429Z] ---> aa2beda7408f [2024-10-07T09:44:45.429Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-07T09:44:45.429Z] ---> bdb03cce5295 [2024-10-07T09:44:45.429Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-07T09:44:46.803Z] ---> 2c78a40d7431 [2024-10-07T09:44:46.803Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-07T09:44:47.062Z] ---> a512087c7316 [2024-10-07T09:44:47.062Z] Step 19/24 : EXPOSE 59999 [2024-10-07T09:44:47.062Z] ---> Running in ebeea3732fa7 [2024-10-07T09:44:47.062Z] Removing intermediate container ebeea3732fa7 [2024-10-07T09:44:47.062Z] ---> 9e448c5bd291 [2024-10-07T09:44:47.062Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-07T09:44:47.062Z] ---> Running in 25ea201cb9bc [2024-10-07T09:44:47.062Z] Removing intermediate container 25ea201cb9bc [2024-10-07T09:44:47.062Z] ---> 54954140592b [2024-10-07T09:44:47.062Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T09:44:47.321Z] ---> Running in f8173166c0c0 [2024-10-07T09:44:47.321Z] Removing intermediate container f8173166c0c0 [2024-10-07T09:44:47.321Z] ---> 6bda1ce31231 [2024-10-07T09:44:47.321Z] Step 22/24 : LABEL arch=amd64 [2024-10-07T09:44:47.321Z] ---> Running in b39ff4872be3 [2024-10-07T09:44:47.321Z] Removing intermediate container b39ff4872be3 [2024-10-07T09:44:47.321Z] ---> 96d754c6bd60 [2024-10-07T09:44:47.321Z] Step 23/24 : LABEL git_sha=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [2024-10-07T09:44:47.321Z] ---> Running in 7815851221fb [2024-10-07T09:44:47.581Z] Removing intermediate container 7815851221fb [2024-10-07T09:44:47.581Z] ---> 8756368f5759 [2024-10-07T09:44:47.581Z] Step 24/24 : LABEL version=0.0.0 [2024-10-07T09:44:47.581Z] ---> Running in 5f0489899d52 [2024-10-07T09:44:47.581Z] Removing intermediate container 5f0489899d52 [2024-10-07T09:44:47.581Z] ---> bd012d64fbe3 [2024-10-07T09:44:47.581Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T09:44:47.581Z] Successfully built bd012d64fbe3 [2024-10-07T09:44:47.581Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [2024-10-07T09:44:48.249Z] The recommended git tool is: git [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:44:48.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:44:48.718Z] [2024-10-07T09:44:48.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:44:49.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:44:49.053Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-07T09:44:49.053Z] 5eb5b503b376: Pulling fs layer [2024-10-07T09:44:49.053Z] 5c69ac0246d0: Pulling fs layer [2024-10-07T09:44:49.053Z] ec43610c2a17: Pulling fs layer [2024-10-07T09:44:49.053Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-07T09:44:49.053Z] 33b1e0a273af: Pulling fs layer [2024-10-07T09:44:49.053Z] 5d3b04190fa2: Pulling fs layer [2024-10-07T09:44:49.053Z] 2f39f015ded8: Pulling fs layer [2024-10-07T09:44:49.053Z] 33b1e0a273af: Waiting [2024-10-07T09:44:49.053Z] 5d3b04190fa2: Waiting [2024-10-07T09:44:49.053Z] 2f39f015ded8: Waiting [2024-10-07T09:44:49.053Z] 3a2ae6a8a46f: Waiting [2024-10-07T09:44:49.053Z] 5c69ac0246d0: Verifying Checksum [2024-10-07T09:44:49.053Z] 5c69ac0246d0: Download complete [2024-10-07T09:44:49.053Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-07T09:44:49.053Z] 3a2ae6a8a46f: Download complete [2024-10-07T09:44:49.311Z] 33b1e0a273af: Verifying Checksum [2024-10-07T09:44:49.311Z] 33b1e0a273af: Download complete [2024-10-07T09:44:49.311Z] 5d3b04190fa2: Verifying Checksum [2024-10-07T09:44:49.311Z] 5d3b04190fa2: Download complete [2024-10-07T09:44:49.311Z] ec43610c2a17: Verifying Checksum [2024-10-07T09:44:49.311Z] ec43610c2a17: Download complete [2024-10-07T09:44:49.311Z] 5eb5b503b376: Verifying Checksum [2024-10-07T09:44:49.311Z] 5eb5b503b376: Download complete [2024-10-07T09:44:49.877Z] 2f39f015ded8: Download complete [2024-10-07T09:44:50.816Z] 5eb5b503b376: Pull complete [2024-10-07T09:44:50.816Z] 5c69ac0246d0: Pull complete [2024-10-07T09:44:51.074Z] ec43610c2a17: Pull complete [2024-10-07T09:44:51.331Z] 3a2ae6a8a46f: Pull complete [2024-10-07T09:44:51.588Z] 33b1e0a273af: Pull complete [2024-10-07T09:44:51.588Z] 5d3b04190fa2: Pull complete [2024-10-07T09:44:54.023Z] using credential edgex-jenkins-ssh [2024-10-07T09:44:54.047Z] Cloning the remote Git repository [2024-10-07T09:44:54.098Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:44:54.207Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2024-10-07T09:44:54.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:44:54.364Z] > git --version # timeout=10 [2024-10-07T09:44:54.393Z] > git --version # 'git version 2.25.1' [2024-10-07T09:44:54.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T09:44:54.563Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T09:44:55.768Z] 2f39f015ded8: Pull complete [2024-10-07T09:44:55.768Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-07T09:44:55.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:44:55.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:44:55.872Z] prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container [2024-10-07T09:44:55.899Z] $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-07T09:44:58.383Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-07T09:44:58.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T09:44:59.751Z] $ docker top bff317b3f28306af0d718fddfec545940371b0533abc400297bde3dad266d192 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:45:00.014Z] Merging remotes/origin/main commit e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 into PR head commit 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [2024-10-07T09:44:59.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-07T09:44:59.439Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:44:59.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T09:44:59.469Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-07T09:45:00.031Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T09:45:00.171Z] ---> job-cost.sh [2024-10-07T09:45:00.171Z] lf-activate-venv: SKIPPING [2024-10-07T09:45:00.171Z] INFO: No Stack... [2024-10-07T09:45:00.331Z] Merge succeeded, producing 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [2024-10-07T09:45:00.332Z] Checking out Revision 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 (PR-1632) [2024-10-07T09:45:00.430Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T09:45:00.689Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T09:45:00.973Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-10-07T09:45:00.980Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/cost.csv [2024-10-07T09:45:00.980Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T09:45:00.996Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [2024-10-07T09:45:01.003Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] did not exist. Created. [2024-10-07T09:45:01.010Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T09:45:01.321Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-07T09:45:01.365Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T09:45:01.373Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T09:45:01.399Z] $ docker stop --time=1 bff317b3f28306af0d718fddfec545940371b0533abc400297bde3dad266d192 [2024-10-07T09:45:00.110Z] > git checkout -f 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 # timeout=10 [2024-10-07T09:45:00.221Z] > git remote # timeout=10 [2024-10-07T09:45:00.237Z] > git config --get remote.origin.url # timeout=10 [2024-10-07T09:45:00.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T09:45:00.280Z] > git merge e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 [2024-10-07T09:45:00.315Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-07T09:45:00.338Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T09:45:00.355Z] > git checkout -f 0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 # timeout=10 [2024-10-07T09:45:03.306Z] $ docker rm -f --volumes bff317b3f28306af0d718fddfec545940371b0533abc400297bde3dad266d192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T09:45:05.831Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-07T09:45:05.831Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T09:45:05.831Z] Dload Upload Total Spent Left Speed [2024-10-07T09:45:05.831Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-10-07T09:45:06.185Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-07T09:45:06.521Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-07T09:45:06.521Z] + sudo tee /etc/docker/daemon.new [2024-10-07T09:45:06.521Z] { [2024-10-07T09:45:06.521Z] "registry-mirrors": [ [2024-10-07T09:45:06.521Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-07T09:45:06.521Z] ], [2024-10-07T09:45:06.521Z] "bip": "10.250.0.254/24", [2024-10-07T09:45:06.521Z] "hosts": [ [2024-10-07T09:45:06.521Z] "tcp://0.0.0.0:5555", [2024-10-07T09:45:06.521Z] "unix:///var/run/docker.sock" [2024-10-07T09:45:06.521Z] ], [2024-10-07T09:45:06.521Z] "mtu": 1458, [2024-10-07T09:45:06.521Z] "selinux-enabled": true, [2024-10-07T09:45:06.521Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-07T09:45:06.521Z] } [Pipeline] sh [2024-10-07T09:45:06.870Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-07T09:45:07.209Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T09:45:25.483Z] provisioning config files... [2024-10-07T09:45:25.511Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config17551032822547501325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:45:25.977Z] ---> ****-login.sh [2024-10-07T09:45:25.977Z] nexus3.edgexfoundry.org:10001 [2024-10-07T09:45:26.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:45:26.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:45:26.566Z] Configure a credential helper to remove this warning. See [2024-10-07T09:45:26.566Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:45:26.566Z] [2024-10-07T09:45:26.566Z] Login Succeeded [2024-10-07T09:45:26.566Z] nexus3.edgexfoundry.org:10002 [2024-10-07T09:45:26.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:45:27.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:45:27.109Z] Configure a credential helper to remove this warning. See [2024-10-07T09:45:27.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:45:27.109Z] [2024-10-07T09:45:27.109Z] Login Succeeded [2024-10-07T09:45:27.109Z] nexus3.edgexfoundry.org:10003 [2024-10-07T09:45:27.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:45:27.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:45:27.380Z] Configure a credential helper to remove this warning. See [2024-10-07T09:45:27.380Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:45:27.380Z] [2024-10-07T09:45:27.380Z] Login Succeeded [2024-10-07T09:45:27.380Z] nexus3.edgexfoundry.org:10004 [2024-10-07T09:45:27.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:45:27.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:45:27.651Z] Configure a credential helper to remove this warning. See [2024-10-07T09:45:27.651Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:45:27.651Z] [2024-10-07T09:45:27.651Z] Login Succeeded [2024-10-07T09:45:27.651Z] ****.io [2024-10-07T09:45:27.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:45:28.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:45:28.193Z] Configure a credential helper to remove this warning. See [2024-10-07T09:45:28.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:45:28.193Z] [2024-10-07T09:45:28.193Z] Login Succeeded [2024-10-07T09:45:28.193Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T09:45:28.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T09:45:28.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:45:28.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:45:28.626Z] ========================================================= [2024-10-07T09:45:28.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-07T09:45:28.626Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:45:28.992Z] + 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-10-07T09:45:29.578Z] Sending build context to Docker daemon 13.17MB [2024-10-07T09:45:29.578Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:45:29.578Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-07T09:45:29.846Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-07T09:45:29.846Z] cf04c63912e1: Pulling fs layer [2024-10-07T09:45:29.846Z] 55b35a11ae5e: Pulling fs layer [2024-10-07T09:45:29.846Z] a37a00ec5f00: Pulling fs layer [2024-10-07T09:45:29.846Z] 50b3750afda1: Pulling fs layer [2024-10-07T09:45:29.846Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T09:45:29.846Z] 80978eb59214: Pulling fs layer [2024-10-07T09:45:29.846Z] c9f46d7d2bd2: Pulling fs layer [2024-10-07T09:45:29.846Z] c5a475d317c9: Pulling fs layer [2024-10-07T09:45:29.846Z] 50b3750afda1: Waiting [2024-10-07T09:45:29.846Z] 4f4fb700ef54: Waiting [2024-10-07T09:45:29.846Z] c9f46d7d2bd2: Waiting [2024-10-07T09:45:29.846Z] 80978eb59214: Waiting [2024-10-07T09:45:29.846Z] c5a475d317c9: Waiting [2024-10-07T09:45:29.846Z] 55b35a11ae5e: Verifying Checksum [2024-10-07T09:45:29.846Z] 55b35a11ae5e: Download complete [2024-10-07T09:45:29.846Z] 50b3750afda1: Download complete [2024-10-07T09:45:29.846Z] 4f4fb700ef54: Download complete [2024-10-07T09:45:29.846Z] 80978eb59214: Verifying Checksum [2024-10-07T09:45:29.846Z] 80978eb59214: Download complete [2024-10-07T09:45:29.846Z] cf04c63912e1: Download complete [2024-10-07T09:45:30.437Z] c5a475d317c9: Verifying Checksum [2024-10-07T09:45:30.437Z] c5a475d317c9: Download complete [2024-10-07T09:45:31.023Z] cf04c63912e1: Pull complete [2024-10-07T09:45:31.298Z] 55b35a11ae5e: Pull complete [2024-10-07T09:45:32.265Z] a37a00ec5f00: Verifying Checksum [2024-10-07T09:45:32.266Z] a37a00ec5f00: Download complete [2024-10-07T09:45:32.858Z] c9f46d7d2bd2: Verifying Checksum [2024-10-07T09:45:32.858Z] c9f46d7d2bd2: Download complete [2024-10-07T09:45:47.860Z] a37a00ec5f00: Pull complete [2024-10-07T09:45:47.860Z] 50b3750afda1: Pull complete [2024-10-07T09:45:47.860Z] 4f4fb700ef54: Pull complete [2024-10-07T09:45:47.860Z] 80978eb59214: Pull complete [2024-10-07T09:45:53.250Z] c9f46d7d2bd2: Pull complete [2024-10-07T09:45:55.199Z] c5a475d317c9: Pull complete [2024-10-07T09:45:55.199Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-07T09:45:55.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-07T09:45:55.199Z] ---> be29e6b0f0d4 [2024-10-07T09:45:55.199Z] Step 3/10 : ARG MAKE=make build [2024-10-07T09:45:57.798Z] ---> Running in 9f0d19592f1e [2024-10-07T09:45:57.798Z] Removing intermediate container 9f0d19592f1e [2024-10-07T09:45:57.798Z] ---> 5e315f1cbbf2 [2024-10-07T09:45:57.798Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-07T09:45:57.798Z] ---> Running in 25afbe6eafa1 [2024-10-07T09:45:58.065Z] Removing intermediate container 25afbe6eafa1 [2024-10-07T09:45:58.065Z] ---> 3a26ff2e6200 [2024-10-07T09:45:58.065Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:45:58.065Z] ---> Running in 062b83b66794 [2024-10-07T09:46:02.932Z] Removing intermediate container 062b83b66794 [2024-10-07T09:46:02.932Z] ---> 689c35bd5684 [2024-10-07T09:46:02.932Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-07T09:46:02.932Z] ---> Running in e91bf481952f [2024-10-07T09:46:02.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T09:46:03.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T09:46:04.943Z] OK: 238 MiB in 54 packages [2024-10-07T09:46:08.232Z] Removing intermediate container e91bf481952f [2024-10-07T09:46:08.232Z] ---> 418996f51d32 [2024-10-07T09:46:08.232Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-07T09:46:08.232Z] ---> 1489fe1f4cfb [2024-10-07T09:46:08.232Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:46:08.232Z] ---> Running in 5612e178cfaf [2024-10-07T09:48:02.086Z] Removing intermediate container 5612e178cfaf [2024-10-07T09:48:02.086Z] ---> 46aa01511a2a [2024-10-07T09:48:02.086Z] Step 9/10 : COPY . . [2024-10-07T09:48:02.086Z] ---> e72d06aebf9a [2024-10-07T09:48:02.086Z] Step 10/10 : RUN ${MAKE} [2024-10-07T09:48:02.086Z] ---> Running in 90d96f41a292 [2024-10-07T09:48:02.086Z] noop [2024-10-07T09:48:02.086Z] Removing intermediate container 90d96f41a292 [2024-10-07T09:48:02.086Z] ---> 81166a1c2921 [2024-10-07T09:48:02.086Z] Successfully built 81166a1c2921 [2024-10-07T09:48:02.086Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:48:02.459Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T09:48:02.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:48:02.751Z] prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container [2024-10-07T09:48:02.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2024-10-07T09:48:04.231Z] $ docker top a0973bdc8254b2780b44ba3115a01baed38a4daabac25fb6990340e000d2ad86 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:48:05.119Z] + go version [2024-10-07T09:48:05.119Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-07T09:48:05.138Z] $ docker stop --time=1 a0973bdc8254b2780b44ba3115a01baed38a4daabac25fb6990340e000d2ad86 [2024-10-07T09:48:06.864Z] $ docker rm -f --volumes a0973bdc8254b2780b44ba3115a01baed38a4daabac25fb6990340e000d2ad86 [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:48:07.496Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T09:48:07.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:48:07.710Z] prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container [2024-10-07T09:48:07.789Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2024-10-07T09:48:09.113Z] $ docker top 07e37b0850961be4194486033539a5fc401272ff5a27cd0c5c5d649f6e85c876 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:48:09.964Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2024-10-07T09:48:10.646Z] + make test [2024-10-07T09:48:10.646Z] go test -race -coverprofile=coverage.out ./... [2024-10-07T09:49:07.091Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-07T09:52:43.864Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-07T09:52:43.864Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-07T09:52:43.864Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-07T09:52:43.864Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-07T09:52:43.864Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-07T09:52:56.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.155s coverage: 26.0% of statements [2024-10-07T09:52:59.501Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.188s coverage: 79.4% of statements [2024-10-07T09:53:11.871Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-07T09:53:11.871Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-07T09:53:11.871Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.295s coverage: 86.0% of statements [2024-10-07T09:53:24.213Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-07T09:53:24.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.605s coverage: 45.2% of statements [2024-10-07T09:53:26.801Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.269s coverage: 14.1% of statements [2024-10-07T09:53:26.801Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.383s coverage: 44.6% of statements [2024-10-07T09:53:31.050Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-07T09:53:31.051Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-07T09:53:31.051Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-07T09:53:32.011Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.386s coverage: 68.3% of statements [2024-10-07T09:53:37.361Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.361s coverage: 88.3% of statements [2024-10-07T09:53:42.701Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-07T09:53:43.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.305s coverage: 5.3% of statements [2024-10-07T09:53:44.723Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-07T09:53:44.723Z] GO111MODULE=on go vet ./... [2024-10-07T09:57:36.535Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T09:57:36.535Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T09:57:36.535Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T09:57:36.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T09:57:36.581Z] $ docker stop --time=1 07e37b0850961be4194486033539a5fc401272ff5a27cd0c5c5d649f6e85c876 [2024-10-07T09:57:38.487Z] $ docker rm -f --volumes 07e37b0850961be4194486033539a5fc401272ff5a27cd0c5c5d649f6e85c876 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T09:57:40.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T09:57:40.934Z] Warning: overwriting stash ‘coverage-report’ [2024-10-07T09:57:41.715Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T09:57:42.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T09:57:42.464Z] + ls -al . [2024-10-07T09:57:42.464Z] total 708 [2024-10-07T09:57:42.464Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 09:48 . [2024-10-07T09:57:42.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:44 .. [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:45 .dockerignore [2024-10-07T09:57:42.464Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:45 .git [2024-10-07T09:57:42.464Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:45 .github [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:45 .gitignore [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:45 .golangci.yml [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:45 CHANGELOG.md [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:45 GOVERNANCE.md [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:45 Jenkinsfile [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:45 LICENSE [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:45 Makefile [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:45 OWNERS.md [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:45 README.md [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:41 VERSION [2024-10-07T09:57:42.464Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:45 bin [2024-10-07T09:57:42.464Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 7 09:53 coverage.out [2024-10-07T09:57:42.464Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:45 example [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:45 go.mod [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:45 go.sum [2024-10-07T09:57:42.464Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:45 internal [2024-10-07T09:57:42.464Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:45 openapi [2024-10-07T09:57:42.464Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:45 pkg [2024-10-07T09:57:42.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:45 snap [2024-10-07T09:57:42.464Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:57:42.820Z] + 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=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 --label arch=arm64 --label version=0.0.0 . [2024-10-07T09:57:43.407Z] Sending build context to Docker daemon 13.64MB [2024-10-07T09:57:43.407Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:57:43.407Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-07T09:57:43.407Z] ---> 81166a1c2921 [2024-10-07T09:57:43.407Z] Step 3/24 : ARG MAKE=make build [2024-10-07T09:57:43.674Z] ---> Running in 88f246a41c8c [2024-10-07T09:57:43.942Z] Removing intermediate container 88f246a41c8c [2024-10-07T09:57:43.942Z] ---> 555ba653c0a3 [2024-10-07T09:57:43.942Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-07T09:57:43.942Z] ---> Running in 31d5c0b2a834 [2024-10-07T09:57:44.214Z] Removing intermediate container 31d5c0b2a834 [2024-10-07T09:57:44.214Z] ---> e7af9a9259fa [2024-10-07T09:57:44.214Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:57:44.484Z] ---> Running in f44ae85219dd [2024-10-07T09:57:44.751Z] Removing intermediate container f44ae85219dd [2024-10-07T09:57:44.751Z] ---> 8169b5479db8 [2024-10-07T09:57:44.751Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-07T09:57:44.751Z] ---> Running in a8629b36d5b1 [2024-10-07T09:57:45.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T09:57:45.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T09:57:47.909Z] OK: 238 MiB in 54 packages [2024-10-07T09:57:48.698Z] Removing intermediate container a8629b36d5b1 [2024-10-07T09:57:48.698Z] ---> 61bff5ceff56 [2024-10-07T09:57:48.698Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-07T09:57:49.333Z] ---> 9d74fae63bc5 [2024-10-07T09:57:49.333Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:57:49.333Z] ---> Running in ddc744da546d [2024-10-07T09:57:51.966Z] Removing intermediate container ddc744da546d [2024-10-07T09:57:51.966Z] ---> 68d2cbf2993c [2024-10-07T09:57:51.966Z] Step 9/24 : COPY . . [2024-10-07T09:57:53.373Z] ---> 55d93754adc9 [2024-10-07T09:57:53.373Z] Step 10/24 : RUN ${MAKE} [2024-10-07T09:57:53.640Z] ---> Running in b45c79f3c376 [2024-10-07T09:57:54.599Z] 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-07T10:01:46.440Z] Removing intermediate container b45c79f3c376 [2024-10-07T10:01:46.440Z] ---> 07ea5ad52e1a [2024-10-07T10:01:46.440Z] Step 11/24 : FROM alpine:3.20 [2024-10-07T10:01:46.440Z] 3.20: Pulling from library/alpine [2024-10-07T10:01:46.440Z] cf04c63912e1: Already exists [2024-10-07T10:01:46.440Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T10:01:46.440Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T10:01:46.440Z] ---> c157a85ed455 [2024-10-07T10:01:46.440Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-07T10:01:46.440Z] ---> Running in 674adcdb225a [2024-10-07T10:01:46.440Z] Removing intermediate container 674adcdb225a [2024-10-07T10:01:46.440Z] ---> c11dd01aaf02 [2024-10-07T10:01:46.440Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-07T10:01:46.440Z] ---> Running in afdc27427ed3 [2024-10-07T10:01:46.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T10:01:46.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T10:01:46.440Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T10:01:46.440Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T10:01:46.440Z] OK: 9 MiB in 15 packages [2024-10-07T10:01:46.440Z] Removing intermediate container afdc27427ed3 [2024-10-07T10:01:46.440Z] ---> a210e2fe8f14 [2024-10-07T10:01:46.440Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-07T10:01:46.440Z] ---> Running in c5c235a857ba [2024-10-07T10:01:47.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T10:01:47.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T10:01:49.081Z] Upgrading critical system libraries and apk-tools: [2024-10-07T10:01:49.081Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T10:01:49.081Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T10:01:49.348Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T10:01:49.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T10:01:49.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T10:01:51.021Z] OK: 9 MiB in 15 packages [2024-10-07T10:01:51.985Z] Removing intermediate container c5c235a857ba [2024-10-07T10:01:51.985Z] ---> bcfebf0423ab [2024-10-07T10:01:51.985Z] Step 15/24 : WORKDIR / [2024-10-07T10:01:51.985Z] ---> Running in 26dbd3320962 [2024-10-07T10:01:52.252Z] Removing intermediate container 26dbd3320962 [2024-10-07T10:01:52.252Z] ---> b12081c7b796 [2024-10-07T10:01:52.252Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-07T10:01:52.840Z] ---> 47409302b025 [2024-10-07T10:01:52.840Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-07T10:01:54.806Z] ---> 6101c26bf151 [2024-10-07T10:01:54.806Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-07T10:01:55.073Z] ---> 7c3a6fbba715 [2024-10-07T10:01:55.073Z] Step 19/24 : EXPOSE 59999 [2024-10-07T10:01:55.347Z] ---> Running in 7ef03edc7fe5 [2024-10-07T10:01:55.620Z] Removing intermediate container 7ef03edc7fe5 [2024-10-07T10:01:55.620Z] ---> dc4362cbe083 [2024-10-07T10:01:55.620Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-07T10:01:55.620Z] ---> Running in d3182148491f [2024-10-07T10:01:55.889Z] Removing intermediate container d3182148491f [2024-10-07T10:01:55.889Z] ---> fdc6e907e18a [2024-10-07T10:01:55.889Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T10:01:55.889Z] ---> Running in 177b610ad48a [2024-10-07T10:01:56.164Z] Removing intermediate container 177b610ad48a [2024-10-07T10:01:56.164Z] ---> c7a83ce492af [2024-10-07T10:01:56.164Z] Step 22/24 : LABEL arch=arm64 [2024-10-07T10:01:56.434Z] ---> Running in b2a622a7f793 [2024-10-07T10:01:56.703Z] Removing intermediate container b2a622a7f793 [2024-10-07T10:01:56.703Z] ---> 2d8cfeb0f12f [2024-10-07T10:01:56.703Z] Step 23/24 : LABEL git_sha=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [2024-10-07T10:01:56.703Z] ---> Running in 531b9677b3ff [2024-10-07T10:01:56.977Z] Removing intermediate container 531b9677b3ff [2024-10-07T10:01:56.977Z] ---> 25ba2c36e2cf [2024-10-07T10:01:56.977Z] Step 24/24 : LABEL version=0.0.0 [2024-10-07T10:01:56.977Z] ---> Running in 2f32cbedbd3b [2024-10-07T10:01:57.580Z] Removing intermediate container 2f32cbedbd3b [2024-10-07T10:01:57.580Z] ---> e6189484adf3 [2024-10-07T10:01:57.580Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T10:01:57.580Z] Successfully built e6189484adf3 [2024-10-07T10:01:57.580Z] 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-10-07T10:01:58.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T10:01:58.080Z] [2024-10-07T10:01:58.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T10:01:58.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T10:01:58.433Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-07T10:01:58.433Z] 8998bd30e6a1: Pulling fs layer [2024-10-07T10:01:58.433Z] 04944245beec: Pulling fs layer [2024-10-07T10:01:58.433Z] 699f458cf7ca: Pulling fs layer [2024-10-07T10:01:58.433Z] 765212b225bb: Pulling fs layer [2024-10-07T10:01:58.433Z] f23df028b6ca: Pulling fs layer [2024-10-07T10:01:58.433Z] d65c8cfc05b1: Pulling fs layer [2024-10-07T10:01:58.433Z] 2437ff75d9bd: Pulling fs layer [2024-10-07T10:01:58.433Z] f23df028b6ca: Waiting [2024-10-07T10:01:58.433Z] d65c8cfc05b1: Waiting [2024-10-07T10:01:58.433Z] 2437ff75d9bd: Waiting [2024-10-07T10:01:58.433Z] 765212b225bb: Waiting [2024-10-07T10:01:58.703Z] 04944245beec: Verifying Checksum [2024-10-07T10:01:58.703Z] 04944245beec: Download complete [2024-10-07T10:01:58.703Z] 765212b225bb: Verifying Checksum [2024-10-07T10:01:58.703Z] 765212b225bb: Download complete [2024-10-07T10:01:58.703Z] f23df028b6ca: Download complete [2024-10-07T10:01:58.704Z] d65c8cfc05b1: Verifying Checksum [2024-10-07T10:01:58.704Z] d65c8cfc05b1: Download complete [2024-10-07T10:01:58.971Z] 699f458cf7ca: Verifying Checksum [2024-10-07T10:01:58.971Z] 699f458cf7ca: Download complete [2024-10-07T10:01:59.237Z] 8998bd30e6a1: Verifying Checksum [2024-10-07T10:01:59.237Z] 8998bd30e6a1: Download complete [2024-10-07T10:02:01.836Z] 2437ff75d9bd: Verifying Checksum [2024-10-07T10:02:01.836Z] 2437ff75d9bd: Download complete [2024-10-07T10:02:04.421Z] 8998bd30e6a1: Pull complete [2024-10-07T10:02:04.421Z] 04944245beec: Pull complete [2024-10-07T10:02:06.379Z] 699f458cf7ca: Pull complete [2024-10-07T10:02:06.379Z] 765212b225bb: Pull complete [2024-10-07T10:02:07.341Z] f23df028b6ca: Pull complete [2024-10-07T10:02:07.608Z] d65c8cfc05b1: Pull complete [2024-10-07T10:02:25.842Z] 2437ff75d9bd: Pull complete [2024-10-07T10:02:25.843Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-07T10:02:25.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T10:02:25.843Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T10:02:26.074Z] prd-ubuntu20.04-docker-arm64-4c-16g-22043 does not seem to be running inside a container [2024-10-07T10:02:26.143Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:arm64 cat [2024-10-07T10:02:29.109Z] $ docker top e21f288451964719eb429629f41da47f9ae8805c0969d778c8782a75219fdd9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T10:02:29.970Z] ---> job-cost.sh [2024-10-07T10:02:29.970Z] lf-activate-venv: SKIPPING [2024-10-07T10:02:29.970Z] INFO: No Stack... [2024-10-07T10:02:30.557Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-07T10:02:31.521Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T10:02:32.174Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2024-10-07T10:02:32.174Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T10:02:32.243Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [2024-10-07T10:02:32.251Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] did not exist. Created. [2024-10-07T10:02:32.257Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T10:02:32.934Z] /w/workspace/device-sdk-go/4@tmp/durable-d76a1b1d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-07T10:02:33.582Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-07T10:02:33.622Z] Warning: overwriting stash ‘stack-cost’ [2024-10-07T10:02:33.716Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T10:02:33.726Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T10:02:33.755Z] $ docker stop --time=1 e21f288451964719eb429629f41da47f9ae8805c0969d778c8782a75219fdd9a [2024-10-07T10:02:35.265Z] $ docker rm -f --volumes e21f288451964719eb429629f41da47f9ae8805c0969d778c8782a75219fdd9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-07T10:02:35.762Z] provisioning config files... [2024-10-07T10:02:35.768Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config7200435733497832596tmp [Pipeline] { [Pipeline] sh [2024-10-07T10:02:36.069Z] + set +x [2024-10-07T10:02:36.069Z] + curl -s https://codecov.io/bash [2024-10-07T10:02:36.069Z] + bash -s -- [2024-10-07T10:02:36.069Z] [2024-10-07T10:02:36.069Z] _____ _ [2024-10-07T10:02:36.069Z] / ____| | | [2024-10-07T10:02:36.069Z] | | ___ __| | ___ ___ _____ __ [2024-10-07T10:02:36.069Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-07T10:02:36.069Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-07T10:02:36.069Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-07T10:02:36.069Z] Bash-1.0.6 [2024-10-07T10:02:36.069Z] [2024-10-07T10:02:36.069Z] [2024-10-07T10:02:36.069Z] ==> git version 2.25.1 found [2024-10-07T10:02:36.069Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-07T10:02:36.069Z] Release-Date: 2020-01-08 [2024-10-07T10:02:36.069Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-07T10:02:36.069Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-07T10:02:36.069Z] ==> Jenkins CI detected. [2024-10-07T10:02:36.069Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1632 [2024-10-07T10:02:36.069Z] project root: . [2024-10-07T10:02:36.069Z] --> token set from env [2024-10-07T10:02:36.069Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-07T10:02:36.069Z] ==> Running gcov in . (disable via -X gcov) [2024-10-07T10:02:36.069Z] ==> Python coveragepy not found [2024-10-07T10:02:36.069Z] ==> Searching for coverage reports in: [2024-10-07T10:02:36.069Z] + . [2024-10-07T10:02:36.069Z] -> Found 1 reports [2024-10-07T10:02:36.069Z] ==> Detecting git/mercurial file structure [2024-10-07T10:02:36.069Z] ==> Reading reports [2024-10-07T10:02:36.069Z] + ./coverage.out bytes=466603 [2024-10-07T10:02:36.069Z] ==> Appending adjustments [2024-10-07T10:02:36.069Z] https://docs.codecov.io/docs/fixing-reports [2024-10-07T10:02:36.329Z] + Found adjustments [2024-10-07T10:02:36.588Z] ==> Gzipping contents [2024-10-07T10:02:36.588Z] 44K /tmp/codecov.1VY3yX.gz [2024-10-07T10:02:36.588Z] ==> Uploading reports [2024-10-07T10:02:36.588Z] url: https://codecov.io [2024-10-07T10:02:36.588Z] query: branch=PR-1632&commit=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= [2024-10-07T10:02:36.588Z] -> Pinging Codecov [2024-10-07T10:02:36.588Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1632&commit=0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= [2024-10-07T10:02:36.588Z] -> Uploading to [2024-10-07T10:02:36.588Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4/c4ff4c94-dab4-4321-a8a8-1deec04eb8ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T100236Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e49718c31206542469b02d995c7f77426fcdb21337903c96a41a4ed439bf77cb [2024-10-07T10:02:36.588Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T10:02:36.588Z] Dload Upload Total Spent Left Speed [2024-10-07T10:02:36.848Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44606 0 0 100 44606 0 174k --:--:-- --:--:-- --:--:-- 173k 100 44606 0 0 100 44606 0 174k --:--:-- --:--:-- --:--:-- 173k [2024-10-07T10:02:36.848Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0e4310b73f8ac9791f8c4cde6393b54d0cb9afe4 [Pipeline] } [2024-10-07T10:02:36.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-07T10:02:37.821Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives ] [2024-10-07T10:02:37.821Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-07T10:02:37.821Z] total 16 [2024-10-07T10:02:37.821Z] drwxr-xr-x 3 root root 4096 Oct 7 09:45 . [2024-10-07T10:02:37.821Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 09:45 .. [2024-10-07T10:02:37.821Z] drwxr-xr-x 2 root root 4096 Oct 7 09:45 cost [2024-10-07T10:02:37.821Z] -rw-r--r-- 1 root root 86 Oct 7 09:45 cost.csv [2024-10-07T10:02:37.821Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-07T10:02:37.821Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-07T10:02:37.821Z] total 16 [2024-10-07T10:02:37.821Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:45 . [2024-10-07T10:02:37.821Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 09:45 .. [2024-10-07T10:02:37.821Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 09:45 cost [2024-10-07T10:02:37.821Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 7 09:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-07T10:02:38.169Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T10:02:39.033Z] ---> package-listing.sh [2024-10-07T10:02:39.033Z] ++ facter osfamily [2024-10-07T10:02:39.033Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-07T10:02:39.293Z] + OS_FAMILY=debian [2024-10-07T10:02:39.293Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1632 [2024-10-07T10:02:39.293Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-07T10:02:39.293Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-07T10:02:39.293Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-07T10:02:39.293Z] + PACKAGES=/tmp/packages_start.txt [2024-10-07T10:02:39.293Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' [2024-10-07T10:02:39.293Z] + PACKAGES=/tmp/packages_end.txt [2024-10-07T10:02:39.293Z] + case "${OS_FAMILY}" in [2024-10-07T10:02:39.293Z] + dpkg -l [2024-10-07T10:02:39.293Z] + grep '^ii' [2024-10-07T10:02:39.293Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-07T10:02:39.293Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-07T10:02:39.293Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-07T10:02:39.293Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' [2024-10-07T10:02:39.293Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [2024-10-07T10:02:39.293Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [Pipeline] echo [2024-10-07T10:02:39.306Z] 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-1632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-07T10:02:39.582Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T10:02:40.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T10:02:40.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T10:02:40.325Z] prd-ubuntu20.04-docker-8c-8g-22040 does not seem to be running inside a container [2024-10-07T10:02:40.331Z] $ 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-1632/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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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-lftools-log-publisher:latest cat [2024-10-07T10:02:41.629Z] $ docker top 6564e1cedb9eeac2675b3627dc820efa9c42ae89a12532b91cc2e60da678d8b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T10:02:42.024Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-07T10:02:42.312Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-07T10:02:42.599Z] + ls /var/log/sa-host [2024-10-07T10:02:42.599Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T10:02:42.770Z] provisioning config files... [2024-10-07T10:02:42.780Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config9473286892368661170tmp [Pipeline] { [Pipeline] echo [2024-10-07T10:02:42.806Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T10:02:43.091Z] ---> create-netrc.sh [Pipeline] } [2024-10-07T10:02:43.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-07T10:02:43.466Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-07T10:02:43.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T10:02:43.760Z] ---> sudo-logs.sh [2024-10-07T10:02:43.761Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-07T10:02:43.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T10:02:44.085Z] ---> job-cost.sh [2024-10-07T10:02:44.085Z] lf-activate-venv: SKIPPING [2024-10-07T10:02:44.085Z] DEBUG: total: 0.2199999988079071 [2024-10-07T10:02:44.085Z] INFO: Retrieving Stack Cost... [2024-10-07T10:02:44.653Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T10:02:44.911Z] INFO: Archiving Costs [Pipeline] echo [2024-10-07T10:02:44.923Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T10:02:45.208Z] ---> logs-deploy.sh [2024-10-07T10:02:45.208Z] lf-activate-venv: SKIPPING [2024-10-07T10:02:45.208Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1632/4 [2024-10-07T10:02:45.208Z] INFO: archiving workspace using pattern(s): [2024-10-07T10:02:46.141Z] Archives upload complete. [2024-10-07T10:02:46.401Z] INFO: archiving logs to Nexus