Pull request #1622 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ae38df972a153364e1cbfe5219fa0e9fc34d7a99+083c381ac4cc923d13d653dabf1097f47e3433f3 (d10f0f6faf7f60a8d5f13cdacdb599f6e4798a0f) 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-ssh7669936654046951726.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh1644215805053137903.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 f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1622/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1622/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6978033363060391819.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1622/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7224641977929362393.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12946337068176225987.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1622/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1622/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15364577031189577900.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 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.21 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 Running on prd-ubuntu20.04-docker-8c-8g-9498 in /w/workspace/gexfoundry_device-sdk-go_PR-1622 [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-1622 # 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/1622/head:refs/remotes/origin/PR-1622 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit ae38df972a153364e1cbfe5219fa0e9fc34d7a99 Merge succeeded, producing ae38df972a153364e1cbfe5219fa0e9fc34d7a99 Checking out Revision ae38df972a153364e1cbfe5219fa0e9fc34d7a99 (PR-1622) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f ae38df972a153364e1cbfe5219fa0e9fc34d7a99 # 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 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae38df972a153364e1cbfe5219fa0e9fc34d7a99 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-05T04:40:25.528Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-05T04:40:25.751Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-05T04:40:25.888Z] ========================================================= [2024-09-05T04:40:25.888Z] EdgeX Global Pipelines Version Info [2024-09-05T04:40:25.888Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-05T04:40:27.050Z] ------------------- [2024-09-05T04:40:27.050Z] stable info: [2024-09-05T04:40:27.050Z] ------------------- [2024-09-05T04:40:27.050Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-05T04:40:27.050Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-05T04:40:27.050Z] Message: update stable to v1.0.263 [2024-09-05T04:40:27.622Z] ------------------- [2024-09-05T04:40:27.622Z] experimental info: [2024-09-05T04:40:27.622Z] ------------------- [2024-09-05T04:40:27.622Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-05T04:40:27.622Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-05T04:40:27.622Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-05T04:40:27.868Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-05T04:40:27.915Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-05T04:40:27.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-05T04:40:28.021Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-05T04:40:28.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-05T04:40:28.136Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-05T04:40:28.199Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-05T04:40:28.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-05T04:40:28.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-05T04:40:28.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-05T04:40:28.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-05T04:40:28.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-05T04:40:28.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-05T04:40:28.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-05T04:40:28.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-05T04:40:28.797Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-05T04:40:28.862Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-05T04:40:28.923Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-05T04:40:28.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-05T04:40:29.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-05T04:40:29.094Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-05T04:40:29.152Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-05T04:40:29.217Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-05T04:40:29.273Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-05T04:40:29.334Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-05T04:40:29.395Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-05T04:40:29.452Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-05T04:40:29.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1622 [Pipeline] echo [2024-09-05T04:40:29.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1622 [Pipeline] echo [2024-09-05T04:40:29.681Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1622 [Pipeline] echo [2024-09-05T04:40:29.742Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [Pipeline] echo [2024-09-05T04:40:29.799Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae38df9 [Pipeline] echo [2024-09-05T04:40:29.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-05T04:40:30.112Z] provisioning config files... [2024-09-05T04:40:30.126Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp/config15036960462857082424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-05T04:40:30.516Z] ---> ****-login.sh [2024-09-05T04:40:30.516Z] nexus3.edgexfoundry.org:10001 [2024-09-05T04:40:30.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:30.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:30.776Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:30.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:30.776Z] [2024-09-05T04:40:30.776Z] Login Succeeded [2024-09-05T04:40:30.776Z] nexus3.edgexfoundry.org:10002 [2024-09-05T04:40:30.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:31.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:31.035Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:31.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:31.036Z] [2024-09-05T04:40:31.036Z] Login Succeeded [2024-09-05T04:40:31.036Z] nexus3.edgexfoundry.org:10003 [2024-09-05T04:40:31.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:31.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:31.036Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:31.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:31.036Z] [2024-09-05T04:40:31.036Z] Login Succeeded [2024-09-05T04:40:31.036Z] nexus3.edgexfoundry.org:10004 [2024-09-05T04:40:31.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:31.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:31.296Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:31.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:31.296Z] [2024-09-05T04:40:31.296Z] Login Succeeded [2024-09-05T04:40:31.296Z] ****.io [2024-09-05T04:40:31.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:31.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:31.557Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:31.557Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:31.557Z] [2024-09-05T04:40:31.557Z] Login Succeeded [2024-09-05T04:40:31.557Z] ---> ****-login.sh ends [Pipeline] } [2024-09-05T04:40:37.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-05T04:40:38.683Z] + git rev-list -1 --merges ae38df972a153364e1cbfe5219fa0e9fc34d7a99~1..ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [Pipeline] echo [2024-09-05T04:40:38.731Z] -----------> git rev-list -1 --merges ae38df972a153364e1cbfe5219fa0e9fc34d7a99~1..ae38df972a153364e1cbfe5219fa0e9fc34d7a99 ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [false] [Pipeline] sh [2024-09-05T04:40:39.048Z] + git log --format=format:%s -1 ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [Pipeline] echo [2024-09-05T04:40:39.099Z] ========================================================= [2024-09-05T04:40:39.099Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-05T04:40:39.099Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-05T04:40:39.589Z] + git log --format=format:%s -1 ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [Pipeline] echo [2024-09-05T04:40:39.628Z] [semverPrep] GIT_COMMIT: ae38df972a153364e1cbfe5219fa0e9fc34d7a99, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-09-05T04:40:39.670Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-05T04:40:40.078Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-05T04:40:40.079Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-05T04:40:40.079Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-05T04:40:40.079Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-05T04:40:40.079Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-05T04:40:40.079Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-05T04:40:40.079Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:40:40.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-05T04:40:40.545Z] [2024-09-05T04:40:40.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:40:40.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-05T04:40:40.946Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-05T04:40:40.946Z] b85a868b505f: Pulling fs layer [2024-09-05T04:40:40.946Z] e2be974225ed: Pulling fs layer [2024-09-05T04:40:40.946Z] 339a4e72a1f5: Pulling fs layer [2024-09-05T04:40:40.946Z] 988bab9f4d93: Pulling fs layer [2024-09-05T04:40:40.946Z] 1469e6f7b9e6: Pulling fs layer [2024-09-05T04:40:40.946Z] eaf3925da568: Pulling fs layer [2024-09-05T04:40:40.946Z] bab4dde63d76: Pulling fs layer [2024-09-05T04:40:40.946Z] bde34c3a00c8: Pulling fs layer [2024-09-05T04:40:40.946Z] b352a97aabf1: Pulling fs layer [2024-09-05T04:40:40.946Z] 4872d77fe225: Pulling fs layer [2024-09-05T04:40:40.946Z] 5851b861e8e6: Pulling fs layer [2024-09-05T04:40:40.946Z] 988bab9f4d93: Waiting [2024-09-05T04:40:40.946Z] b352a97aabf1: Waiting [2024-09-05T04:40:40.946Z] eaf3925da568: Waiting [2024-09-05T04:40:40.946Z] 4872d77fe225: Waiting [2024-09-05T04:40:40.946Z] bab4dde63d76: Waiting [2024-09-05T04:40:40.946Z] bde34c3a00c8: Waiting [2024-09-05T04:40:40.946Z] 5851b861e8e6: Waiting [2024-09-05T04:40:40.946Z] e2be974225ed: Verifying Checksum [2024-09-05T04:40:40.946Z] e2be974225ed: Download complete [2024-09-05T04:40:40.946Z] 988bab9f4d93: Verifying Checksum [2024-09-05T04:40:40.946Z] 988bab9f4d93: Download complete [2024-09-05T04:40:41.205Z] 339a4e72a1f5: Verifying Checksum [2024-09-05T04:40:41.205Z] 339a4e72a1f5: Download complete [2024-09-05T04:40:41.205Z] 1469e6f7b9e6: Verifying Checksum [2024-09-05T04:40:41.205Z] 1469e6f7b9e6: Download complete [2024-09-05T04:40:41.205Z] eaf3925da568: Verifying Checksum [2024-09-05T04:40:41.205Z] eaf3925da568: Download complete [2024-09-05T04:40:41.205Z] bde34c3a00c8: Download complete [2024-09-05T04:40:41.205Z] b352a97aabf1: Download complete [2024-09-05T04:40:41.205Z] 4872d77fe225: Download complete [2024-09-05T04:40:41.205Z] 5851b861e8e6: Verifying Checksum [2024-09-05T04:40:41.205Z] 5851b861e8e6: Download complete [2024-09-05T04:40:41.205Z] b85a868b505f: Verifying Checksum [2024-09-05T04:40:41.205Z] b85a868b505f: Download complete [2024-09-05T04:40:41.463Z] bab4dde63d76: Verifying Checksum [2024-09-05T04:40:41.463Z] bab4dde63d76: Download complete [2024-09-05T04:40:42.399Z] b85a868b505f: Pull complete [2024-09-05T04:40:42.658Z] e2be974225ed: Pull complete [2024-09-05T04:40:43.225Z] 339a4e72a1f5: Pull complete [2024-09-05T04:40:43.225Z] 988bab9f4d93: Pull complete [2024-09-05T04:40:43.484Z] 1469e6f7b9e6: Pull complete [2024-09-05T04:40:43.484Z] eaf3925da568: Pull complete [2024-09-05T04:40:45.388Z] bab4dde63d76: Pull complete [2024-09-05T04:40:45.388Z] bde34c3a00c8: Pull complete [2024-09-05T04:40:45.650Z] b352a97aabf1: Pull complete [2024-09-05T04:40:45.650Z] 4872d77fe225: Pull complete [2024-09-05T04:40:45.650Z] 5851b861e8e6: Pull complete [2024-09-05T04:40:45.650Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-05T04:40:45.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-05T04:40:45.650Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-05T04:40:45.979Z] prd-ubuntu20.04-docker-8c-8g-9498 does not seem to be running inside a container [2024-09-05T04:40:46.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1622 -v /w/workspace/gexfoundry_device-sdk-go_PR-1622:/w/workspace/gexfoundry_device-sdk-go_PR-1622:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-05T04:40:48.881Z] $ docker top 965a227501271f4db055c80ca31e572f95e93b9ee3f5c91afce0f171b3ee2c65 -eo pid,comm [2024-09-05T04:40:48.942Z] 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-09-05T04:40:48.942Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-05T04:40:49.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-05T04:40:49.119Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-05T04:40:49.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-05T04:40:49.224Z] $ docker exec 965a227501271f4db055c80ca31e572f95e93b9ee3f5c91afce0f171b3ee2c65 ssh-agent [2024-09-05T04:40:49.332Z] SSH_AUTH_SOCK=/tmp/ssh-Vyojv9ecigdg/agent.32 [2024-09-05T04:40:49.332Z] SSH_AGENT_PID=38 [2024-09-05T04:40:49.338Z] Running ssh-add (command line suppressed) [2024-09-05T04:40:49.423Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp/private_key_12538071031654237331.key (/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp/private_key_12538071031654237331.key) [2024-09-05T04:40:49.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-05T04:40:49.788Z] + git tag --points-at HEAD [Pipeline] } [2024-09-05T04:40:49.815Z] $ docker exec --env ******** --env ******** 965a227501271f4db055c80ca31e572f95e93b9ee3f5c91afce0f171b3ee2c65 ssh-agent -k [2024-09-05T04:40:49.929Z] unset SSH_AUTH_SOCK; [2024-09-05T04:40:49.929Z] unset SSH_AGENT_PID; [2024-09-05T04:40:49.930Z] echo Agent pid 38 killed; [2024-09-05T04:40:49.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-05T04:40:50.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-05T04:40:50.061Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-05T04:40:50.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-05T04:40:50.166Z] $ docker exec 965a227501271f4db055c80ca31e572f95e93b9ee3f5c91afce0f171b3ee2c65 ssh-agent [2024-09-05T04:40:50.276Z] SSH_AUTH_SOCK=/tmp/ssh-qyCIrdafG7CQ/agent.71 [2024-09-05T04:40:50.276Z] SSH_AGENT_PID=77 [2024-09-05T04:40:50.280Z] Running ssh-add (command line suppressed) [2024-09-05T04:40:50.377Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp/private_key_543884803698933213.key (/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp/private_key_543884803698933213.key) [2024-09-05T04:40:50.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-05T04:40:50.747Z] + git semver init [2024-09-05T04:40:51.008Z] 2024-09-05 04:40:50,931 [run_init] DEBUG init version:0.0.0 force:False [2024-09-05T04:40:51.008Z] 2024-09-05 04:40:50,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1622/.semver [2024-09-05T04:40:51.008Z] 2024-09-05 04:40:50,932 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1622/.semver [2024-09-05T04:40:51.008Z] 2024-09-05 04:40:50,933 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1622/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1622, universal_newlines=False, shell=None, istream=None) [2024-09-05T04:40:52.919Z] 2024-09-05 04:40:52,896 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1622/.git/info/exclude [2024-09-05T04:40:52.919Z] 2024-09-05 04:40:52,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1622/.semver/PR-1622 with force:False [2024-09-05T04:40:52.919Z] 2024-09-05 04:40:52,896 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1622/.semver/PR-1622 [2024-09-05T04:40:52.919Z] 2024-09-05 04:40:52,901 [execute] INFO git cat-file --batch-check [2024-09-05T04:40:52.919Z] 2024-09-05 04:40:52,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1622/.semver, universal_newlines=False, shell=None, istream=) [2024-09-05T04:40:52.919Z] 2024-09-05 04:40:52,908 [execute] INFO git cat-file --batch [2024-09-05T04:40:52.919Z] 2024-09-05 04:40:52,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1622/.semver, universal_newlines=False, shell=None, istream=) [2024-09-05T04:40:52.919Z] 2024-09-05 04:40:52,915 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1622/.semver/PR-1622 [2024-09-05T04:40:52.919Z] 0.0.0 [Pipeline] } [2024-09-05T04:40:53.193Z] $ docker exec --env ******** --env ******** 965a227501271f4db055c80ca31e572f95e93b9ee3f5c91afce0f171b3ee2c65 ssh-agent -k [2024-09-05T04:40:53.297Z] unset SSH_AUTH_SOCK; [2024-09-05T04:40:53.297Z] unset SSH_AGENT_PID; [2024-09-05T04:40:53.297Z] echo Agent pid 77 killed; [2024-09-05T04:40:53.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-05T04:40:53.764Z] + git semver [Pipeline] } [2024-09-05T04:40:54.050Z] $ docker stop --time=1 965a227501271f4db055c80ca31e572f95e93b9ee3f5c91afce0f171b3ee2c65 [2024-09-05T04:40:55.325Z] $ docker rm -f --volumes 965a227501271f4db055c80ca31e572f95e93b9ee3f5c91afce0f171b3ee2c65 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-05T04:40:55.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-05T04:40:56.075Z] Stashed 1 file(s) [Pipeline] echo [2024-09-05T04:40:56.099Z] [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-09-05T04:40:56.777Z] provisioning config files... [2024-09-05T04:40:56.788Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp/config16591555570626466371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-05T04:40:57.153Z] ---> ****-login.sh [2024-09-05T04:40:57.153Z] nexus3.edgexfoundry.org:10001 [2024-09-05T04:40:57.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:57.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:57.153Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:57.153Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:57.153Z] [2024-09-05T04:40:57.153Z] Login Succeeded [2024-09-05T04:40:57.153Z] nexus3.edgexfoundry.org:10002 [2024-09-05T04:40:57.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:57.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:57.154Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:57.154Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:57.154Z] [2024-09-05T04:40:57.154Z] Login Succeeded [2024-09-05T04:40:57.154Z] nexus3.edgexfoundry.org:10003 [2024-09-05T04:40:57.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:57.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:57.414Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:57.414Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:57.414Z] [2024-09-05T04:40:57.414Z] Login Succeeded [2024-09-05T04:40:57.414Z] nexus3.edgexfoundry.org:10004 [2024-09-05T04:40:57.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:57.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:57.414Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:57.414Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:57.414Z] [2024-09-05T04:40:57.414Z] Login Succeeded [2024-09-05T04:40:57.414Z] ****.io [2024-09-05T04:40:57.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:40:57.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:40:57.675Z] Configure a credential helper to remove this warning. See [2024-09-05T04:40:57.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:40:57.675Z] [2024-09-05T04:40:57.675Z] Login Succeeded [2024-09-05T04:40:57.675Z] ---> ****-login.sh ends [Pipeline] } [2024-09-05T04:40:57.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-05T04:40:57.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-05T04:40:58.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-05T04:40:58.170Z] ========================================================= [2024-09-05T04:40:58.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-05T04:40:58.170Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:40:58.706Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-05T04:40:58.707Z] Sending build context to Docker daemon 25.3MB [2024-09-05T04:40:58.707Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-05T04:40:58.707Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-05T04:40:58.968Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-05T04:40:58.968Z] 619be1103602: Pulling fs layer [2024-09-05T04:40:58.968Z] 7862e08f4a3e: Pulling fs layer [2024-09-05T04:40:58.968Z] 5df492c9dc93: Pulling fs layer [2024-09-05T04:40:58.968Z] 7629e6793208: Pulling fs layer [2024-09-05T04:40:58.968Z] 4f4fb700ef54: Pulling fs layer [2024-09-05T04:40:58.968Z] fb5054dd5b73: Pulling fs layer [2024-09-05T04:40:58.968Z] eeca6798cff9: Pulling fs layer [2024-09-05T04:40:58.968Z] aa269ceb94a6: Pulling fs layer [2024-09-05T04:40:58.968Z] ada007ff1a6a: Pulling fs layer [2024-09-05T04:40:58.968Z] 7629e6793208: Waiting [2024-09-05T04:40:58.968Z] 4f4fb700ef54: Waiting [2024-09-05T04:40:58.968Z] ada007ff1a6a: Waiting [2024-09-05T04:40:58.968Z] aa269ceb94a6: Waiting [2024-09-05T04:40:58.968Z] fb5054dd5b73: Waiting [2024-09-05T04:40:58.968Z] eeca6798cff9: Waiting [2024-09-05T04:40:58.968Z] 7862e08f4a3e: Verifying Checksum [2024-09-05T04:40:58.968Z] 7862e08f4a3e: Download complete [2024-09-05T04:40:58.968Z] 7629e6793208: Verifying Checksum [2024-09-05T04:40:58.968Z] 7629e6793208: Download complete [2024-09-05T04:40:58.968Z] 4f4fb700ef54: Verifying Checksum [2024-09-05T04:40:58.968Z] 4f4fb700ef54: Download complete [2024-09-05T04:40:58.968Z] 619be1103602: Verifying Checksum [2024-09-05T04:40:58.968Z] 619be1103602: Download complete [2024-09-05T04:40:58.968Z] fb5054dd5b73: Verifying Checksum [2024-09-05T04:40:58.968Z] fb5054dd5b73: Download complete [2024-09-05T04:40:58.968Z] eeca6798cff9: Verifying Checksum [2024-09-05T04:40:58.968Z] eeca6798cff9: Download complete [2024-09-05T04:40:59.232Z] 619be1103602: Pull complete [2024-09-05T04:40:59.232Z] ada007ff1a6a: Verifying Checksum [2024-09-05T04:40:59.232Z] ada007ff1a6a: Download complete [2024-09-05T04:40:59.232Z] 7862e08f4a3e: Pull complete [2024-09-05T04:40:59.232Z] 5df492c9dc93: Verifying Checksum [2024-09-05T04:40:59.232Z] 5df492c9dc93: Download complete [2024-09-05T04:40:59.798Z] aa269ceb94a6: Verifying Checksum [2024-09-05T04:40:59.798Z] aa269ceb94a6: Download complete [2024-09-05T04:41:03.093Z] 5df492c9dc93: Pull complete [2024-09-05T04:41:03.093Z] 7629e6793208: Pull complete [2024-09-05T04:41:03.093Z] 4f4fb700ef54: Pull complete [2024-09-05T04:41:03.093Z] fb5054dd5b73: Pull complete [2024-09-05T04:41:03.093Z] eeca6798cff9: Pull complete [2024-09-05T04:41:05.624Z] aa269ceb94a6: Pull complete [2024-09-05T04:41:05.624Z] ada007ff1a6a: Pull complete [2024-09-05T04:41:05.624Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-05T04:41:05.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-05T04:41:05.624Z] ---> f489d0715acc [2024-09-05T04:41:05.624Z] Step 3/10 : ARG MAKE=make build [2024-09-05T04:41:10.896Z] ---> Running in 6b2a8ff1766f [2024-09-05T04:41:10.896Z] Removing intermediate container 6b2a8ff1766f [2024-09-05T04:41:10.896Z] ---> 675a3210e3fa [2024-09-05T04:41:10.896Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-05T04:41:10.896Z] ---> Running in 98236182a5b5 [2024-09-05T04:41:10.896Z] Removing intermediate container 98236182a5b5 [2024-09-05T04:41:10.896Z] ---> 51480fdc850c [2024-09-05T04:41:10.896Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-05T04:41:10.896Z] ---> Running in 392dc516a85d [2024-09-05T04:41:10.896Z] Removing intermediate container 392dc516a85d [2024-09-05T04:41:10.896Z] ---> d048faa68d35 [2024-09-05T04:41:10.896Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-05T04:41:10.896Z] ---> Running in cff1007ab45c [2024-09-05T04:41:10.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-05T04:41:10.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-05T04:41:11.161Z] OK: 264 MiB in 52 packages [2024-09-05T04:41:11.426Z] Removing intermediate container cff1007ab45c [2024-09-05T04:41:11.426Z] ---> 3c944254b673 [2024-09-05T04:41:11.426Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-05T04:41:11.426Z] ---> 35805da69153 [2024-09-05T04:41:11.426Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-05T04:41:11.426Z] ---> Running in 876b98dba07d [2024-09-05T04:41:11.575Z] Still waiting to schedule task [2024-09-05T04:41:11.575Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-05T04:42:19.146Z] Removing intermediate container 876b98dba07d [2024-09-05T04:42:19.146Z] ---> 59931eea07d7 [2024-09-05T04:42:19.146Z] Step 9/10 : COPY . . [2024-09-05T04:42:19.146Z] ---> 785b65120171 [2024-09-05T04:42:19.146Z] Step 10/10 : RUN ${MAKE} [2024-09-05T04:42:19.146Z] ---> Running in ebc6e61c10c5 [2024-09-05T04:42:19.146Z] noop [2024-09-05T04:42:19.146Z] Removing intermediate container ebc6e61c10c5 [2024-09-05T04:42:19.146Z] ---> c6fc190f807c [2024-09-05T04:42:19.146Z] Successfully built c6fc190f807c [2024-09-05T04:42:19.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:42:19.628Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-05T04:42:19.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-05T04:42:19.810Z] prd-ubuntu20.04-docker-8c-8g-9498 does not seem to be running inside a container [2024-09-05T04:42:19.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1622 -v /w/workspace/gexfoundry_device-sdk-go_PR-1622:/w/workspace/gexfoundry_device-sdk-go_PR-1622:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-05T04:42:20.171Z] $ docker top 5ffdcd8a59c16548c48317444e163dce674d37883662ff1593d16718a80bd7a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-05T04:42:20.568Z] + go version [2024-09-05T04:42:20.568Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-05T04:42:20.600Z] $ docker stop --time=1 5ffdcd8a59c16548c48317444e163dce674d37883662ff1593d16718a80bd7a7 [2024-09-05T04:42:21.872Z] $ docker rm -f --volumes 5ffdcd8a59c16548c48317444e163dce674d37883662ff1593d16718a80bd7a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:42:22.670Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-05T04:42:22.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-05T04:42:22.832Z] prd-ubuntu20.04-docker-8c-8g-9498 does not seem to be running inside a container [2024-09-05T04:42:22.857Z] $ 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-1622 -v /w/workspace/gexfoundry_device-sdk-go_PR-1622:/w/workspace/gexfoundry_device-sdk-go_PR-1622:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-05T04:42:23.158Z] $ docker top d7daf9b250d1572abcbeba3851a6db1eda626f75448f636f43fff4efc0e5b96c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-05T04:42:23.569Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1622 [Pipeline] fileExists [Pipeline] sh [2024-09-05T04:42:23.949Z] + make test [2024-09-05T04:42:23.949Z] go test -race -coverprofile=coverage.out ./... [2024-09-05T04:42:30.516Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-05T04:43:09.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 26.0% of statements [2024-09-05T04:43:09.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.027s coverage: 79.4% of statements [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-05T04:43:09.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-05T04:43:09.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 45.2% of statements [2024-09-05T04:43:09.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-05T04:43:09.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.4% of statements [2024-09-05T04:43:09.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.978s coverage: 44.6% of statements [2024-09-05T04:43:09.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.038s coverage: 68.5% of statements [2024-09-05T04:43:09.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.081s coverage: 89.2% of statements [2024-09-05T04:43:09.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.048s coverage: 5.3% of statements [2024-09-05T04:43:41.548Z] GO111MODULE=on go vet ./... [2024-09-05T04:43:44.084Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-05T04:43:44.084Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-05T04:43:44.344Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-05T04:43:44.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-05T04:43:44.440Z] $ docker stop --time=1 d7daf9b250d1572abcbeba3851a6db1eda626f75448f636f43fff4efc0e5b96c [2024-09-05T04:43:48.928Z] $ docker rm -f --volumes d7daf9b250d1572abcbeba3851a6db1eda626f75448f636f43fff4efc0e5b96c [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-05T04:43:49.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-05T04:43:49.767Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-05T04:43:50.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-05T04:43:50.817Z] + ls -al . [2024-09-05T04:43:50.817Z] total 384 [2024-09-05T04:43:50.817Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 04:42 . [2024-09-05T04:43:50.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 04:40 .. [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 04:40 .dockerignore [2024-09-05T04:43:50.817Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 04:43 .git [2024-09-05T04:43:50.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 04:40 .github [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 5 04:40 .gitignore [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 5 04:40 .golangci.yml [2024-09-05T04:43:50.817Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 04:40 .semver [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 5 04:40 CHANGELOG.md [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 04:40 GOVERNANCE.md [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 5 04:40 Jenkinsfile [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 5 04:40 LICENSE [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 5 04:40 Makefile [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 5 04:40 OWNERS.md [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 5 04:40 README.md [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 04:40 VERSION [2024-09-05T04:43:50.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 04:40 bin [2024-09-05T04:43:50.817Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 5 04:43 coverage.out [2024-09-05T04:43:50.817Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 5 04:40 example [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 6985 Sep 5 04:40 go.mod [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 101462 Sep 5 04:40 go.sum [2024-09-05T04:43:50.817Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 5 04:40 internal [2024-09-05T04:43:50.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 04:40 openapi [2024-09-05T04:43:50.817Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 5 04:40 pkg [2024-09-05T04:43:50.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 04:40 snap [2024-09-05T04:43:50.817Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 5 04:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:43:51.251Z] + 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=ae38df972a153364e1cbfe5219fa0e9fc34d7a99 --label arch=amd64 --label version=0.0.0 . [2024-09-05T04:43:51.251Z] Sending build context to Docker daemon 25.43MB [2024-09-05T04:43:51.251Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-05T04:43:51.251Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-05T04:43:51.251Z] ---> c6fc190f807c [2024-09-05T04:43:51.251Z] Step 3/24 : ARG MAKE=make build [2024-09-05T04:43:51.820Z] ---> Running in 3500d9578a94 [2024-09-05T04:43:51.820Z] Removing intermediate container 3500d9578a94 [2024-09-05T04:43:51.820Z] ---> feb61f3b8ad5 [2024-09-05T04:43:51.820Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-05T04:43:51.820Z] ---> Running in 57ec8a6cf9a1 [2024-09-05T04:43:51.820Z] Removing intermediate container 57ec8a6cf9a1 [2024-09-05T04:43:51.820Z] ---> 19d3a5055717 [2024-09-05T04:43:51.820Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-05T04:43:51.820Z] ---> Running in ebf3ef567d80 [2024-09-05T04:43:52.078Z] Removing intermediate container ebf3ef567d80 [2024-09-05T04:43:52.078Z] ---> f8550fa1f0f5 [2024-09-05T04:43:52.078Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-05T04:43:52.078Z] ---> Running in cb3315932b7c [2024-09-05T04:43:52.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-05T04:43:52.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-05T04:43:52.597Z] OK: 264 MiB in 52 packages [2024-09-05T04:43:53.164Z] Removing intermediate container cb3315932b7c [2024-09-05T04:43:53.164Z] ---> 315ec6499e74 [2024-09-05T04:43:53.164Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-05T04:43:53.164Z] ---> 02ba7846ff05 [2024-09-05T04:43:53.164Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-05T04:43:53.164Z] ---> Running in 859500e3df9f [2024-09-05T04:43:53.732Z] Removing intermediate container 859500e3df9f [2024-09-05T04:43:53.732Z] ---> 9f9b54374cc8 [2024-09-05T04:43:53.732Z] Step 9/24 : COPY . . [2024-09-05T04:43:54.667Z] ---> a8c97fd1fb2a [2024-09-05T04:43:54.667Z] Step 10/24 : RUN ${MAKE} [2024-09-05T04:43:54.667Z] ---> Running in 30b8e2127f76 [2024-09-05T04:43:54.925Z] 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-09-05T04:43:56.264Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9500 in /w/workspace/gexfoundry_device-sdk-go_PR-1622 [Pipeline] { [Pipeline] ws [2024-09-05T04:43:56.343Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-09-05T04:43:59.481Z] The recommended git tool is: git [2024-09-05T04:44:08.307Z] using credential edgex-jenkins-ssh [2024-09-05T04:44:08.332Z] Cloning the remote Git repository [2024-09-05T04:44:08.386Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-05T04:44:08.504Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-09-05T04:44:08.837Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-05T04:44:08.839Z] > git --version # timeout=10 [2024-09-05T04:44:08.929Z] > git --version # 'git version 2.25.1' [2024-09-05T04:44:08.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-05T04:44:09.168Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-05T04:44:12.986Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-05T04:44:13.042Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-05T04:44:14.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-05T04:44:14.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-05T04:44:14.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-05T04:44:14.396Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1622/head:refs/remotes/origin/PR-1622 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-05T04:44:14.941Z] Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [2024-09-05T04:44:15.259Z] Merge succeeded, producing ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [2024-09-05T04:44:15.259Z] Checking out Revision ae38df972a153364e1cbfe5219fa0e9fc34d7a99 (PR-1622) [2024-09-05T04:44:15.840Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-09-05T04:44:15.887Z] > git --version # timeout=10 [2024-09-05T04:44:15.899Z] > git --version # 'git version 2.25.1' [2024-09-05T04:44:15.914Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-05T04:44:14.956Z] > git config core.sparsecheckout # timeout=10 [2024-09-05T04:44:15.020Z] > git checkout -f ae38df972a153364e1cbfe5219fa0e9fc34d7a99 # timeout=10 [2024-09-05T04:44:15.151Z] > git remote # timeout=10 [2024-09-05T04:44:15.174Z] > git config --get remote.origin.url # timeout=10 [2024-09-05T04:44:15.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-05T04:44:15.210Z] > git merge 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 [2024-09-05T04:44:15.237Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-05T04:44:15.263Z] > git config core.sparsecheckout # timeout=10 [2024-09-05T04:44:15.278Z] > git checkout -f ae38df972a153364e1cbfe5219fa0e9fc34d7a99 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-05T04:44:20.826Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-05T04:44:20.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-05T04:44:20.826Z] Dload Upload Total Spent Left Speed [2024-09-05T04:44:20.826Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 245k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh [2024-09-05T04:44:21.177Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-05T04:44:21.526Z] + sudo tee /etc/docker/daemon.new [2024-09-05T04:44:21.526Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-05T04:44:21.526Z] { [2024-09-05T04:44:21.526Z] "registry-mirrors": [ [2024-09-05T04:44:21.526Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-05T04:44:21.526Z] ], [2024-09-05T04:44:21.526Z] "bip": "10.250.0.254/24", [2024-09-05T04:44:21.526Z] "hosts": [ [2024-09-05T04:44:21.526Z] "tcp://0.0.0.0:5555", [2024-09-05T04:44:21.526Z] "unix:///var/run/docker.sock" [2024-09-05T04:44:21.526Z] ], [2024-09-05T04:44:21.526Z] "mtu": 1458, [2024-09-05T04:44:21.526Z] "selinux-enabled": true, [2024-09-05T04:44:21.526Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-05T04:44:21.526Z] } [Pipeline] sh [2024-09-05T04:44:21.882Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-05T04:44:22.239Z] + sudo service docker restart [2024-09-05T04:44:33.658Z] Removing intermediate container 30b8e2127f76 [2024-09-05T04:44:33.658Z] ---> 10805383fb43 [2024-09-05T04:44:33.658Z] Step 11/24 : FROM alpine:3.18 [2024-09-05T04:44:33.658Z] 3.18: Pulling from library/alpine [2024-09-05T04:44:33.658Z] 930bdd4d222e: Pulling fs layer [2024-09-05T04:44:33.658Z] 930bdd4d222e: Download complete [2024-09-05T04:44:33.658Z] 930bdd4d222e: Pull complete [2024-09-05T04:44:33.658Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-05T04:44:33.658Z] Status: Downloaded newer image for alpine:3.18 [2024-09-05T04:44:33.658Z] ---> 18f865063206 [2024-09-05T04:44:33.658Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-05T04:44:33.658Z] ---> Running in 7e20a204ed12 [2024-09-05T04:44:33.658Z] Removing intermediate container 7e20a204ed12 [2024-09-05T04:44:33.658Z] ---> 1f18cddc7807 [2024-09-05T04:44:33.658Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-05T04:44:33.658Z] ---> Running in 36fba5473dcf [2024-09-05T04:44:33.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-05T04:44:33.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-05T04:44:33.658Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-05T04:44:33.658Z] Executing busybox-1.36.1-r7.trigger [2024-09-05T04:44:33.658Z] OK: 7 MiB in 16 packages [2024-09-05T04:44:33.658Z] Removing intermediate container 36fba5473dcf [2024-09-05T04:44:33.658Z] ---> 7c1d40481c6c [2024-09-05T04:44:33.658Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-05T04:44:33.658Z] ---> Running in 0eee4164742f [2024-09-05T04:44:33.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-05T04:44:33.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-05T04:44:33.658Z] (1/2) Upgrading libcrypto3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-05T04:44:33.658Z] (2/2) Upgrading libssl3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-05T04:44:33.658Z] OK: 7 MiB in 16 packages [2024-09-05T04:44:33.658Z] Removing intermediate container 0eee4164742f [2024-09-05T04:44:33.658Z] ---> 16edf9927d70 [2024-09-05T04:44:33.658Z] Step 15/24 : WORKDIR / [2024-09-05T04:44:33.658Z] ---> Running in 77044757c026 [2024-09-05T04:44:33.658Z] Removing intermediate container 77044757c026 [2024-09-05T04:44:33.658Z] ---> 46863f3aa862 [2024-09-05T04:44:33.658Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-05T04:44:33.658Z] ---> c32b53f74c12 [2024-09-05T04:44:33.658Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-05T04:44:33.658Z] ---> 7ab93773d7d9 [2024-09-05T04:44:33.658Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-05T04:44:33.658Z] ---> 833f5024ea1a [2024-09-05T04:44:33.658Z] Step 19/24 : EXPOSE 59999 [2024-09-05T04:44:33.658Z] ---> Running in cd9b1a0a644d [2024-09-05T04:44:33.658Z] Removing intermediate container cd9b1a0a644d [2024-09-05T04:44:33.658Z] ---> ad30ab548632 [2024-09-05T04:44:33.658Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-05T04:44:33.658Z] ---> Running in 26f6233efe9b [2024-09-05T04:44:33.658Z] Removing intermediate container 26f6233efe9b [2024-09-05T04:44:33.658Z] ---> 386a71b01b92 [2024-09-05T04:44:33.658Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-05T04:44:33.658Z] ---> Running in ee97c95386b0 [2024-09-05T04:44:33.658Z] Removing intermediate container ee97c95386b0 [2024-09-05T04:44:33.658Z] ---> 11a14dcb3509 [2024-09-05T04:44:33.658Z] Step 22/24 : LABEL arch=amd64 [2024-09-05T04:44:33.658Z] ---> Running in bd5a86efed0b [2024-09-05T04:44:33.658Z] Removing intermediate container bd5a86efed0b [2024-09-05T04:44:33.658Z] ---> 1c73ee8685a9 [2024-09-05T04:44:33.658Z] Step 23/24 : LABEL git_sha=ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [2024-09-05T04:44:33.658Z] ---> Running in 23ae1f31b041 [2024-09-05T04:44:33.658Z] Removing intermediate container 23ae1f31b041 [2024-09-05T04:44:33.658Z] ---> 8cff22c013bd [2024-09-05T04:44:33.658Z] Step 24/24 : LABEL version=0.0.0 [2024-09-05T04:44:33.658Z] ---> Running in 4c8589a35807 [2024-09-05T04:44:33.658Z] Removing intermediate container 4c8589a35807 [2024-09-05T04:44:33.658Z] ---> ef492783c6c8 [2024-09-05T04:44:33.658Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-05T04:44:33.658Z] Successfully built ef492783c6c8 [2024-09-05T04:44:33.658Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:44:34.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-05T04:44:34.680Z] [2024-09-05T04:44:34.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:44:35.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-05T04:44:35.089Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-05T04:44:35.089Z] 5eb5b503b376: Pulling fs layer [2024-09-05T04:44:35.089Z] 5c69ac0246d0: Pulling fs layer [2024-09-05T04:44:35.089Z] ec43610c2a17: Pulling fs layer [2024-09-05T04:44:35.089Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-05T04:44:35.089Z] 33b1e0a273af: Pulling fs layer [2024-09-05T04:44:35.089Z] 5d3b04190fa2: Pulling fs layer [2024-09-05T04:44:35.089Z] 2f39f015ded8: Pulling fs layer [2024-09-05T04:44:35.089Z] 3a2ae6a8a46f: Waiting [2024-09-05T04:44:35.089Z] 33b1e0a273af: Waiting [2024-09-05T04:44:35.089Z] 5d3b04190fa2: Waiting [2024-09-05T04:44:35.089Z] 2f39f015ded8: Waiting [2024-09-05T04:44:35.089Z] 5c69ac0246d0: Download complete [2024-09-05T04:44:35.089Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-05T04:44:35.089Z] 3a2ae6a8a46f: Download complete [2024-09-05T04:44:35.089Z] ec43610c2a17: Verifying Checksum [2024-09-05T04:44:35.089Z] ec43610c2a17: Download complete [2024-09-05T04:44:35.089Z] 33b1e0a273af: Verifying Checksum [2024-09-05T04:44:35.089Z] 33b1e0a273af: Download complete [2024-09-05T04:44:35.089Z] 5d3b04190fa2: Verifying Checksum [2024-09-05T04:44:35.089Z] 5d3b04190fa2: Download complete [2024-09-05T04:44:35.350Z] 5eb5b503b376: Download complete [2024-09-05T04:44:35.917Z] 2f39f015ded8: Download complete [2024-09-05T04:44:36.486Z] 5eb5b503b376: Pull complete [2024-09-05T04:44:36.746Z] 5c69ac0246d0: Pull complete [2024-09-05T04:44:37.313Z] ec43610c2a17: Pull complete [2024-09-05T04:44:37.313Z] 3a2ae6a8a46f: Pull complete [2024-09-05T04:44:37.571Z] 33b1e0a273af: Pull complete [2024-09-05T04:44:37.572Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-05T04:44:40.577Z] provisioning config files... [2024-09-05T04:44:40.608Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10931328487994907345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-05T04:44:41.213Z] ---> ****-login.sh [2024-09-05T04:44:41.213Z] nexus3.edgexfoundry.org:10001 [2024-09-05T04:44:41.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:44:41.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:44:41.758Z] Configure a credential helper to remove this warning. See [2024-09-05T04:44:41.758Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:44:41.758Z] [2024-09-05T04:44:41.758Z] Login Succeeded [2024-09-05T04:44:41.758Z] nexus3.edgexfoundry.org:10002 [2024-09-05T04:44:42.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:44:42.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:44:42.302Z] Configure a credential helper to remove this warning. See [2024-09-05T04:44:42.302Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:44:42.302Z] [2024-09-05T04:44:42.302Z] Login Succeeded [2024-09-05T04:44:42.302Z] nexus3.edgexfoundry.org:10003 [2024-09-05T04:44:42.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:44:42.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:44:42.572Z] Configure a credential helper to remove this warning. See [2024-09-05T04:44:42.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:44:42.572Z] [2024-09-05T04:44:42.572Z] Login Succeeded [2024-09-05T04:44:42.572Z] nexus3.edgexfoundry.org:10004 [2024-09-05T04:44:42.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-05T04:44:42.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:44:42.840Z] Configure a credential helper to remove this warning. See [2024-09-05T04:44:42.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:44:42.840Z] [2024-09-05T04:44:42.840Z] Login Succeeded [2024-09-05T04:44:42.840Z] ****.io [2024-09-05T04:44:42.899Z] 2f39f015ded8: Pull complete [2024-09-05T04:44:42.899Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-05T04:44:42.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-05T04:44:42.899Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2024-09-05T04:44:43.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withDockerContainer [2024-09-05T04:44:43.173Z] prd-ubuntu20.04-docker-8c-8g-9498 does not seem to be running inside a container [2024-09-05T04:44:43.198Z] $ 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-1622 -v /w/workspace/gexfoundry_device-sdk-go_PR-1622:/w/workspace/gexfoundry_device-sdk-go_PR-1622:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-05T04:44:43.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-05T04:44:43.375Z] Configure a credential helper to remove this warning. See [2024-09-05T04:44:43.375Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-05T04:44:43.375Z] [2024-09-05T04:44:43.375Z] Login Succeeded [2024-09-05T04:44:43.375Z] ---> ****-login.sh ends [2024-09-05T04:44:47.071Z] $ docker top 35164c63de1803569a548e8906346173e135802da72740e7a4b65f099953fb60 -eo pid,comm [Pipeline] { [Pipeline] } [2024-09-05T04:44:47.251Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-09-05T04:44:47.624Z] ---> job-cost.sh [2024-09-05T04:44:47.624Z] lf-activate-venv: SKIPPING [2024-09-05T04:44:47.624Z] INFO: No Stack... [Pipeline] echo [2024-09-05T04:44:47.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-05T04:44:47.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-05T04:44:47.877Z] ========================================================= [2024-09-05T04:44:47.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-05T04:44:47.877Z] ========================================================= [2024-09-05T04:44:47.882Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-09-05T04:44:48.142Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2024-09-05T04:44:48.492Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1622/archives/cost.csv [2024-09-05T04:44:48.492Z] + cut -d, -f6 [Pipeline] lock [2024-09-05T04:44:48.543Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1622-1-stack-cost] [2024-09-05T04:44:48.550Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1622-1-stack-cost] did not exist. Created. [2024-09-05T04:44:48.557Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-05T04:44:48.558Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1622-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-05T04:44:48.990Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-05T04:44:49.052Z] Stashed 1 file(s) [Pipeline] } [2024-09-05T04:44:49.081Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1622-1-stack-cost] [2024-09-05T04:44:49.140Z] Sending build context to Docker daemon 13.1MB [2024-09-05T04:44:49.140Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-05T04:44:49.140Z] Step 2/10 : FROM ${BASE} AS builder [Pipeline] // lock [Pipeline] } [2024-09-05T04:44:49.191Z] $ docker stop --time=1 35164c63de1803569a548e8906346173e135802da72740e7a4b65f099953fb60 [2024-09-05T04:44:49.409Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-05T04:44:49.409Z] c6b39de5b339: Pulling fs layer [2024-09-05T04:44:49.409Z] a69c41024577: Pulling fs layer [2024-09-05T04:44:49.409Z] d6de4b400683: Pulling fs layer [2024-09-05T04:44:49.409Z] 35cb2a7552d0: Pulling fs layer [2024-09-05T04:44:49.409Z] 4f4fb700ef54: Pulling fs layer [2024-09-05T04:44:49.409Z] 464afbd9ba4c: Pulling fs layer [2024-09-05T04:44:49.409Z] 00f215d4a9da: Pulling fs layer [2024-09-05T04:44:49.409Z] d496ad576159: Pulling fs layer [2024-09-05T04:44:49.409Z] 35cb2a7552d0: Waiting [2024-09-05T04:44:49.409Z] 464afbd9ba4c: Waiting [2024-09-05T04:44:49.409Z] 4f4fb700ef54: Waiting [2024-09-05T04:44:49.409Z] 00f215d4a9da: Waiting [2024-09-05T04:44:49.409Z] d496ad576159: Waiting [2024-09-05T04:44:49.409Z] a69c41024577: Verifying Checksum [2024-09-05T04:44:49.409Z] a69c41024577: Download complete [2024-09-05T04:44:49.409Z] 35cb2a7552d0: Verifying Checksum [2024-09-05T04:44:49.409Z] 35cb2a7552d0: Download complete [2024-09-05T04:44:49.409Z] 4f4fb700ef54: Verifying Checksum [2024-09-05T04:44:49.409Z] 4f4fb700ef54: Download complete [2024-09-05T04:44:49.409Z] 464afbd9ba4c: Verifying Checksum [2024-09-05T04:44:49.409Z] 464afbd9ba4c: Download complete [2024-09-05T04:44:49.409Z] c6b39de5b339: Verifying Checksum [2024-09-05T04:44:49.409Z] c6b39de5b339: Download complete [2024-09-05T04:44:49.993Z] d496ad576159: Verifying Checksum [2024-09-05T04:44:49.993Z] d496ad576159: Download complete [2024-09-05T04:44:50.262Z] c6b39de5b339: Pull complete [2024-09-05T04:44:50.362Z] $ docker rm -f --volumes 35164c63de1803569a548e8906346173e135802da72740e7a4b65f099953fb60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-05T04:44:50.872Z] a69c41024577: Pull complete [2024-09-05T04:44:51.148Z] d6de4b400683: Verifying Checksum [2024-09-05T04:44:51.148Z] d6de4b400683: Download complete [2024-09-05T04:44:52.556Z] 00f215d4a9da: Verifying Checksum [2024-09-05T04:44:52.556Z] 00f215d4a9da: Download complete [2024-09-05T04:45:04.891Z] d6de4b400683: Pull complete [2024-09-05T04:45:04.891Z] 35cb2a7552d0: Pull complete [2024-09-05T04:45:04.891Z] 4f4fb700ef54: Pull complete [2024-09-05T04:45:04.891Z] 464afbd9ba4c: Pull complete [2024-09-05T04:45:15.011Z] 00f215d4a9da: Pull complete [2024-09-05T04:45:15.980Z] d496ad576159: Pull complete [2024-09-05T04:45:15.980Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-05T04:45:15.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-05T04:45:15.980Z] ---> f246e2811388 [2024-09-05T04:45:15.980Z] Step 3/10 : ARG MAKE=make build [2024-09-05T04:45:17.398Z] ---> Running in a0dda151ab31 [2024-09-05T04:45:17.398Z] Removing intermediate container a0dda151ab31 [2024-09-05T04:45:17.398Z] ---> 0c2dd9dba9d6 [2024-09-05T04:45:17.398Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-05T04:45:17.667Z] ---> Running in b193eaa8bf0b [2024-09-05T04:45:17.936Z] Removing intermediate container b193eaa8bf0b [2024-09-05T04:45:17.936Z] ---> 9544943d45a1 [2024-09-05T04:45:17.936Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-05T04:45:17.936Z] ---> Running in 66b86b752ebe [2024-09-05T04:45:18.205Z] Removing intermediate container 66b86b752ebe [2024-09-05T04:45:18.205Z] ---> 26a6241baa4c [2024-09-05T04:45:18.205Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-05T04:45:18.474Z] ---> Running in c065cd8e9550 [2024-09-05T04:45:19.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-05T04:45:20.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-05T04:45:21.276Z] OK: 266 MiB in 52 packages [2024-09-05T04:45:21.858Z] Removing intermediate container c065cd8e9550 [2024-09-05T04:45:21.858Z] ---> 845e165ed1e7 [2024-09-05T04:45:21.858Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-05T04:45:22.443Z] ---> 7406a6b0cf2d [2024-09-05T04:45:22.443Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-05T04:45:22.711Z] ---> Running in d642914b4a49 [2024-09-05T04:47:14.388Z] Removing intermediate container d642914b4a49 [2024-09-05T04:47:14.388Z] ---> 89bdce1fcc0a [2024-09-05T04:47:14.388Z] Step 9/10 : COPY . . [2024-09-05T04:47:14.388Z] ---> 8fd85ba00fd5 [2024-09-05T04:47:14.388Z] Step 10/10 : RUN ${MAKE} [2024-09-05T04:47:14.388Z] ---> Running in 96cfe1ea29ca [2024-09-05T04:47:14.388Z] noop [2024-09-05T04:47:14.388Z] Removing intermediate container 96cfe1ea29ca [2024-09-05T04:47:14.388Z] ---> 90ba0824ac83 [2024-09-05T04:47:14.388Z] Successfully built 90ba0824ac83 [2024-09-05T04:47:14.388Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:47:14.945Z] + docker inspect -f . ci-base-image-arm64 [2024-09-05T04:47:14.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-05T04:47:15.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container [2024-09-05T04:47:15.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-05T04:47:16.661Z] $ docker top e5b9843b2582bf39dea96fa7bdac54db5c0bfdf78495943dd829da81db84c36a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-05T04:47:17.602Z] + go version [2024-09-05T04:47:17.602Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-05T04:47:17.647Z] $ docker stop --time=1 e5b9843b2582bf39dea96fa7bdac54db5c0bfdf78495943dd829da81db84c36a [2024-09-05T04:47:19.313Z] $ docker rm -f --volumes e5b9843b2582bf39dea96fa7bdac54db5c0bfdf78495943dd829da81db84c36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:47:20.286Z] + docker inspect -f . ci-base-image-arm64 [2024-09-05T04:47:20.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-05T04:47:20.568Z] prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container [2024-09-05T04:47:20.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-05T04:47:21.772Z] $ docker top a712c074bdcdb6e3e038bb0c8e2d9f8cd74360a83cca31ec0ffd57b5a28b8f69 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-05T04:47:22.359Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-05T04:47:23.049Z] + make test [2024-09-05T04:47:23.049Z] go test -race -coverprofile=coverage.out ./... [2024-09-05T04:48:09.912Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-05T04:51:31.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-05T04:51:31.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-05T04:51:31.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-05T04:51:31.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-05T04:51:31.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-05T04:51:38.325Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.128s coverage: 26.0% of statements [2024-09-05T04:51:41.661Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.163s coverage: 79.4% of statements [2024-09-05T04:51:49.860Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-05T04:51:49.860Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-05T04:51:50.127Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.243s coverage: 86.0% of statements [2024-09-05T04:51:56.783Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-05T04:51:58.738Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.465s coverage: 45.2% of statements [2024-09-05T04:52:01.321Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.172s coverage: 14.4% of statements [2024-09-05T04:52:01.905Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.031s coverage: 44.6% of statements [2024-09-05T04:52:02.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-05T04:52:02.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-05T04:52:02.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-05T04:52:03.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.374s coverage: 68.5% of statements [2024-09-05T04:52:08.031Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.368s coverage: 89.2% of statements [2024-09-05T04:52:11.369Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-05T04:52:12.317Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.237s coverage: 5.3% of statements [2024-09-05T04:52:13.718Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-05T04:52:13.718Z] GO111MODULE=on go vet ./... [2024-09-05T04:56:20.524Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-05T04:56:20.524Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-05T04:56:20.524Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-05T04:56:20.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-05T04:56:20.628Z] $ docker stop --time=1 a712c074bdcdb6e3e038bb0c8e2d9f8cd74360a83cca31ec0ffd57b5a28b8f69 [2024-09-05T04:56:22.607Z] $ docker rm -f --volumes a712c074bdcdb6e3e038bb0c8e2d9f8cd74360a83cca31ec0ffd57b5a28b8f69 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-05T04:56:24.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-05T04:56:25.016Z] Warning: overwriting stash ‘coverage-report’ [2024-09-05T04:56:25.711Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-05T04:56:26.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-05T04:56:26.740Z] + ls -al . [2024-09-05T04:56:26.740Z] total 380 [2024-09-05T04:56:26.740Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 04:47 . [2024-09-05T04:56:26.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 04:44 .. [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 04:44 .dockerignore [2024-09-05T04:56:26.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 04:44 .git [2024-09-05T04:56:26.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 04:44 .github [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 5 04:44 .gitignore [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 5 04:44 .golangci.yml [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 5 04:44 CHANGELOG.md [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 04:44 GOVERNANCE.md [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 5 04:44 Jenkinsfile [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 5 04:44 LICENSE [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 5 04:44 Makefile [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 5 04:44 OWNERS.md [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 5 04:44 README.md [2024-09-05T04:56:26.740Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 04:40 VERSION [2024-09-05T04:56:26.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 04:44 bin [2024-09-05T04:56:26.740Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 5 04:52 coverage.out [2024-09-05T04:56:26.741Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 5 04:44 example [2024-09-05T04:56:26.741Z] -rw-rw-r-- 1 jenkins jenkins 6985 Sep 5 04:44 go.mod [2024-09-05T04:56:26.741Z] -rw-rw-r-- 1 jenkins jenkins 101462 Sep 5 04:44 go.sum [2024-09-05T04:56:26.741Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 5 04:44 internal [2024-09-05T04:56:26.741Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 04:44 openapi [2024-09-05T04:56:26.741Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 5 04:44 pkg [2024-09-05T04:56:26.741Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 04:44 snap [2024-09-05T04:56:26.741Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 5 04:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T04:56:27.209Z] + 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=ae38df972a153364e1cbfe5219fa0e9fc34d7a99 --label arch=arm64 --label version=0.0.0 . [2024-09-05T04:56:27.799Z] Sending build context to Docker daemon 13.23MB [2024-09-05T04:56:27.799Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-05T04:56:27.799Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-05T04:56:27.799Z] ---> 90ba0824ac83 [2024-09-05T04:56:27.799Z] Step 3/24 : ARG MAKE=make build [2024-09-05T04:56:28.066Z] ---> Running in 314f990d2571 [2024-09-05T04:56:28.333Z] Removing intermediate container 314f990d2571 [2024-09-05T04:56:28.333Z] ---> 39ee6076e323 [2024-09-05T04:56:28.333Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-05T04:56:28.333Z] ---> Running in d3b73c4a7492 [2024-09-05T04:56:28.605Z] Removing intermediate container d3b73c4a7492 [2024-09-05T04:56:28.605Z] ---> 43c8639c0ddc [2024-09-05T04:56:28.605Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-05T04:56:28.875Z] ---> Running in 1b24e8d76e1f [2024-09-05T04:56:29.142Z] Removing intermediate container 1b24e8d76e1f [2024-09-05T04:56:29.142Z] ---> 5a4be81d9b99 [2024-09-05T04:56:29.142Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-05T04:56:29.142Z] ---> Running in 3fc19696b5c2 [2024-09-05T04:56:30.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-05T04:56:30.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-05T04:56:31.640Z] OK: 266 MiB in 52 packages [2024-09-05T04:56:32.599Z] Removing intermediate container 3fc19696b5c2 [2024-09-05T04:56:32.599Z] ---> 36d47fb0390a [2024-09-05T04:56:32.599Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-05T04:56:32.869Z] ---> ccf98b6bd832 [2024-09-05T04:56:32.869Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-05T04:56:33.137Z] ---> Running in 1569fe3b2941 [2024-09-05T04:56:35.095Z] Removing intermediate container 1569fe3b2941 [2024-09-05T04:56:35.095Z] ---> 97e8837f04ec [2024-09-05T04:56:35.095Z] Step 9/24 : COPY . . [2024-09-05T04:56:37.042Z] ---> dc41557f7077 [2024-09-05T04:56:37.042Z] Step 10/24 : RUN ${MAKE} [2024-09-05T04:56:37.042Z] ---> Running in 33634559cdb4 [2024-09-05T04:56:38.005Z] 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-09-05T05:00:29.814Z] Removing intermediate container 33634559cdb4 [2024-09-05T05:00:29.814Z] ---> a06beb6860ab [2024-09-05T05:00:29.814Z] Step 11/24 : FROM alpine:3.18 [2024-09-05T05:00:29.814Z] 3.18: Pulling from library/alpine [2024-09-05T05:00:29.814Z] 4983c3fe2029: Pulling fs layer [2024-09-05T05:00:29.814Z] 4983c3fe2029: Verifying Checksum [2024-09-05T05:00:29.814Z] 4983c3fe2029: Download complete [2024-09-05T05:00:29.814Z] 4983c3fe2029: Pull complete [2024-09-05T05:00:29.814Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-05T05:00:29.814Z] Status: Downloaded newer image for alpine:3.18 [2024-09-05T05:00:29.814Z] ---> a0237000ae83 [2024-09-05T05:00:29.814Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-05T05:00:29.814Z] ---> Running in d5f60d5edd09 [2024-09-05T05:00:29.814Z] Removing intermediate container d5f60d5edd09 [2024-09-05T05:00:29.814Z] ---> 74d064e49285 [2024-09-05T05:00:29.814Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-05T05:00:29.814Z] ---> Running in 6246f711b40f [2024-09-05T05:00:29.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-05T05:00:29.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-05T05:00:29.814Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-05T05:00:29.814Z] Executing busybox-1.36.1-r7.trigger [2024-09-05T05:00:29.814Z] OK: 8 MiB in 16 packages [2024-09-05T05:00:29.814Z] Removing intermediate container 6246f711b40f [2024-09-05T05:00:29.814Z] ---> 0afc76980d09 [2024-09-05T05:00:29.814Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-05T05:00:29.814Z] ---> Running in bce6268a8924 [2024-09-05T05:00:29.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-05T05:00:29.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-05T05:00:29.814Z] (1/2) Upgrading libcrypto3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-05T05:00:29.814Z] (2/2) Upgrading libssl3 (3.1.6-r0 -> 3.1.7-r0) [2024-09-05T05:00:29.814Z] OK: 8 MiB in 16 packages [2024-09-05T05:00:29.814Z] Removing intermediate container bce6268a8924 [2024-09-05T05:00:29.814Z] ---> 71814fde0a79 [2024-09-05T05:00:29.814Z] Step 15/24 : WORKDIR / [2024-09-05T05:00:29.814Z] ---> Running in c94cea7cb96a [2024-09-05T05:00:29.814Z] Removing intermediate container c94cea7cb96a [2024-09-05T05:00:29.814Z] ---> e452a100ac93 [2024-09-05T05:00:29.814Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-05T05:00:29.814Z] ---> 9648f328180f [2024-09-05T05:00:29.814Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-05T05:00:31.775Z] ---> 79cacc453d84 [2024-09-05T05:00:31.775Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-05T05:00:32.363Z] ---> 0e5967ec9638 [2024-09-05T05:00:32.363Z] Step 19/24 : EXPOSE 59999 [2024-09-05T05:00:32.363Z] ---> Running in b0cbd8f0e2d4 [2024-09-05T05:00:32.632Z] Removing intermediate container b0cbd8f0e2d4 [2024-09-05T05:00:32.632Z] ---> 03fc57576c15 [2024-09-05T05:00:32.632Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-05T05:00:32.898Z] ---> Running in 2c9314e51c14 [2024-09-05T05:00:33.164Z] Removing intermediate container 2c9314e51c14 [2024-09-05T05:00:33.164Z] ---> a99365bddf67 [2024-09-05T05:00:33.164Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-05T05:00:33.164Z] ---> Running in 2216dc17c150 [2024-09-05T05:00:33.430Z] Removing intermediate container 2216dc17c150 [2024-09-05T05:00:33.430Z] ---> 69056221d1ec [2024-09-05T05:00:33.430Z] Step 22/24 : LABEL arch=arm64 [2024-09-05T05:00:33.697Z] ---> Running in 105afc909e55 [2024-09-05T05:00:33.977Z] Removing intermediate container 105afc909e55 [2024-09-05T05:00:33.977Z] ---> 63a03a11e649 [2024-09-05T05:00:33.977Z] Step 23/24 : LABEL git_sha=ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [2024-09-05T05:00:33.977Z] ---> Running in a8eb76158991 [2024-09-05T05:00:34.242Z] Removing intermediate container a8eb76158991 [2024-09-05T05:00:34.242Z] ---> f1bc0f325ace [2024-09-05T05:00:34.242Z] Step 24/24 : LABEL version=0.0.0 [2024-09-05T05:00:34.242Z] ---> Running in b727c5fea541 [2024-09-05T05:00:34.824Z] Removing intermediate container b727c5fea541 [2024-09-05T05:00:34.824Z] ---> 45b13fdef8e1 [2024-09-05T05:00:34.824Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-05T05:00:34.824Z] Successfully built 45b13fdef8e1 [2024-09-05T05:00:34.824Z] 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-09-05T05:00:35.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-05T05:00:35.753Z] [2024-09-05T05:00:35.753Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T05:00:36.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-05T05:00:36.177Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-05T05:00:36.177Z] 8998bd30e6a1: Pulling fs layer [2024-09-05T05:00:36.177Z] 04944245beec: Pulling fs layer [2024-09-05T05:00:36.177Z] 699f458cf7ca: Pulling fs layer [2024-09-05T05:00:36.177Z] 765212b225bb: Pulling fs layer [2024-09-05T05:00:36.177Z] f23df028b6ca: Pulling fs layer [2024-09-05T05:00:36.177Z] d65c8cfc05b1: Pulling fs layer [2024-09-05T05:00:36.177Z] 2437ff75d9bd: Pulling fs layer [2024-09-05T05:00:36.177Z] 765212b225bb: Waiting [2024-09-05T05:00:36.177Z] f23df028b6ca: Waiting [2024-09-05T05:00:36.177Z] d65c8cfc05b1: Waiting [2024-09-05T05:00:36.177Z] 2437ff75d9bd: Waiting [2024-09-05T05:00:36.442Z] 04944245beec: Verifying Checksum [2024-09-05T05:00:36.442Z] 04944245beec: Download complete [2024-09-05T05:00:36.442Z] 765212b225bb: Verifying Checksum [2024-09-05T05:00:36.442Z] 765212b225bb: Download complete [2024-09-05T05:00:36.442Z] f23df028b6ca: Verifying Checksum [2024-09-05T05:00:36.442Z] f23df028b6ca: Download complete [2024-09-05T05:00:36.442Z] d65c8cfc05b1: Verifying Checksum [2024-09-05T05:00:36.442Z] d65c8cfc05b1: Download complete [2024-09-05T05:00:36.718Z] 699f458cf7ca: Verifying Checksum [2024-09-05T05:00:36.718Z] 699f458cf7ca: Download complete [2024-09-05T05:00:36.985Z] 8998bd30e6a1: Verifying Checksum [2024-09-05T05:00:36.985Z] 8998bd30e6a1: Download complete [2024-09-05T05:00:40.577Z] 2437ff75d9bd: Verifying Checksum [2024-09-05T05:00:40.577Z] 2437ff75d9bd: Download complete [2024-09-05T05:00:41.984Z] 8998bd30e6a1: Pull complete [2024-09-05T05:00:42.250Z] 04944245beec: Pull complete [2024-09-05T05:00:44.187Z] 699f458cf7ca: Pull complete [2024-09-05T05:00:44.187Z] 765212b225bb: Pull complete [2024-09-05T05:00:45.144Z] f23df028b6ca: Pull complete [2024-09-05T05:00:45.144Z] d65c8cfc05b1: Pull complete [2024-09-05T05:01:03.342Z] 2437ff75d9bd: Pull complete [2024-09-05T05:01:03.342Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-05T05:01:03.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-05T05:01:03.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-05T05:01:03.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container [2024-09-05T05:01:03.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-05T05:01:06.837Z] $ docker top 096c0e3b8a90e240521c0207200ed11d9706ab495d390bf56a92c65b3265088e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-05T05:01:07.759Z] ---> job-cost.sh [2024-09-05T05:01:07.759Z] lf-activate-venv: SKIPPING [2024-09-05T05:01:07.759Z] INFO: No Stack... [2024-09-05T05:01:08.023Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-05T05:01:08.975Z] INFO: Archiving Costs [Pipeline] sh [2024-09-05T05:01:09.635Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-09-05T05:01:09.635Z] + cut -d, -f6 [Pipeline] lock [2024-09-05T05:01:09.725Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1622-1-stack-cost] [2024-09-05T05:01:09.732Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1622-1-stack-cost] did not exist. Created. [2024-09-05T05:01:09.740Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1622-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-05T05:01:10.482Z] /w/workspace/device-sdk-go/1@tmp/durable-26fc8b40/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-05T05:01:11.150Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-05T05:01:11.193Z] Warning: overwriting stash ‘stack-cost’ [2024-09-05T05:01:11.276Z] Stashed 1 file(s) [Pipeline] } [2024-09-05T05:01:11.297Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1622-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-05T05:01:11.388Z] $ docker stop --time=1 096c0e3b8a90e240521c0207200ed11d9706ab495d390bf56a92c65b3265088e [2024-09-05T05:01:12.985Z] $ docker rm -f --volumes 096c0e3b8a90e240521c0207200ed11d9706ab495d390bf56a92c65b3265088e [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-09-05T05:01:14.111Z] provisioning config files... [2024-09-05T05:01:14.119Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp/config1075392802592230420tmp [Pipeline] { [Pipeline] sh [2024-09-05T05:01:14.476Z] + set +x [2024-09-05T05:01:14.476Z] + bash -s -- [2024-09-05T05:01:14.476Z] + curl -s https://codecov.io/bash [2024-09-05T05:01:14.476Z] [2024-09-05T05:01:14.476Z] _____ _ [2024-09-05T05:01:14.476Z] / ____| | | [2024-09-05T05:01:14.476Z] | | ___ __| | ___ ___ _____ __ [2024-09-05T05:01:14.476Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-05T05:01:14.476Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-05T05:01:14.476Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-05T05:01:14.476Z] Bash-1.0.6 [2024-09-05T05:01:14.476Z] [2024-09-05T05:01:14.476Z] [2024-09-05T05:01:14.476Z] ==> git version 2.25.1 found [2024-09-05T05:01:14.476Z] ==> 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-09-05T05:01:14.476Z] Release-Date: 2020-01-08 [2024-09-05T05:01:14.476Z] 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-09-05T05:01:14.476Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-05T05:01:14.476Z] ==> Jenkins CI detected. [2024-09-05T05:01:14.476Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1622 [2024-09-05T05:01:14.476Z] project root: . [2024-09-05T05:01:14.476Z] --> token set from env [2024-09-05T05:01:14.476Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-05T05:01:14.476Z] ==> Running gcov in . (disable via -X gcov) [2024-09-05T05:01:14.476Z] ==> Python coveragepy not found [2024-09-05T05:01:14.476Z] ==> Searching for coverage reports in: [2024-09-05T05:01:14.476Z] + . [2024-09-05T05:01:14.735Z] -> Found 1 reports [2024-09-05T05:01:14.735Z] ==> Detecting git/mercurial file structure [2024-09-05T05:01:14.735Z] ==> Reading reports [2024-09-05T05:01:14.735Z] + ./coverage.out bytes=127940 [2024-09-05T05:01:14.735Z] ==> Appending adjustments [2024-09-05T05:01:14.735Z] https://docs.codecov.io/docs/fixing-reports [2024-09-05T05:01:14.994Z] + Found adjustments [2024-09-05T05:01:14.994Z] ==> Gzipping contents [2024-09-05T05:01:14.994Z] 20K /tmp/codecov.7IHPnt.gz [2024-09-05T05:01:14.994Z] ==> Uploading reports [2024-09-05T05:01:14.994Z] url: https://codecov.io [2024-09-05T05:01:14.994Z] query: branch=PR-1622&commit=ae38df972a153364e1cbfe5219fa0e9fc34d7a99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1622%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1622&job=&cmd_args= [2024-09-05T05:01:14.994Z] -> Pinging Codecov [2024-09-05T05:01:14.994Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1622&commit=ae38df972a153364e1cbfe5219fa0e9fc34d7a99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1622%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1622&job=&cmd_args= [2024-09-05T05:01:14.994Z] -> Uploading to [2024-09-05T05:01:14.994Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-05/7E55EF52A471D76F132DFD9A03CDDE97/ae38df972a153364e1cbfe5219fa0e9fc34d7a99/e4d8a8ff-87b0-4a9d-a98f-f3911ecd74b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240905%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240905T050114Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb671832cf4c68b3a7678719a67131934913d92f903a4cc9cbfaf87374ababd1 [2024-09-05T05:01:14.994Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-05T05:01:14.994Z] Dload Upload Total Spent Left Speed [2024-09-05T05:01:15.253Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17667 0 0 100 17667 0 85347 --:--:-- --:--:-- --:--:-- 84937 100 17667 0 0 100 17667 0 73004 --:--:-- --:--:-- --:--:-- 72703 [2024-09-05T05:01:15.253Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ae38df972a153364e1cbfe5219fa0e9fc34d7a99 [Pipeline] } [2024-09-05T05:01:15.284Z] 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-09-05T05:01:17.537Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1622/archives ] [2024-09-05T05:01:17.538Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1622/archives [2024-09-05T05:01:17.538Z] total 16 [2024-09-05T05:01:17.538Z] drwxr-xr-x 3 root root 4096 Sep 5 04:44 . [2024-09-05T05:01:17.538Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 5 04:44 .. [2024-09-05T05:01:17.538Z] drwxr-xr-x 2 root root 4096 Sep 5 04:44 cost [2024-09-05T05:01:17.538Z] -rw-r--r-- 1 root root 86 Sep 5 04:44 cost.csv [2024-09-05T05:01:17.538Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1622/archives [2024-09-05T05:01:17.538Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1622/archives [2024-09-05T05:01:17.538Z] total 16 [2024-09-05T05:01:17.538Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 04:44 . [2024-09-05T05:01:17.538Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 5 04:44 .. [2024-09-05T05:01:17.538Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 04:44 cost [2024-09-05T05:01:17.538Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 5 04:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-05T05:01:17.883Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-05T05:01:18.789Z] ---> package-listing.sh [2024-09-05T05:01:18.789Z] ++ facter osfamily [2024-09-05T05:01:18.789Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-05T05:01:19.048Z] + OS_FAMILY=debian [2024-09-05T05:01:19.048Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1622 [2024-09-05T05:01:19.048Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-05T05:01:19.048Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-05T05:01:19.048Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-05T05:01:19.048Z] + PACKAGES=/tmp/packages_start.txt [2024-09-05T05:01:19.048Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1622 ']' [2024-09-05T05:01:19.048Z] + PACKAGES=/tmp/packages_end.txt [2024-09-05T05:01:19.048Z] + case "${OS_FAMILY}" in [2024-09-05T05:01:19.048Z] + dpkg -l [2024-09-05T05:01:19.048Z] + grep '^ii' [2024-09-05T05:01:19.048Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-05T05:01:19.048Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-05T05:01:19.048Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-05T05:01:19.048Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1622 ']' [2024-09-05T05:01:19.048Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1622/archives/ [2024-09-05T05:01:19.048Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1622/archives/ [Pipeline] echo [2024-09-05T05:01:19.086Z] 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-1622/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-05T05:01:19.383Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-05T05:01:20.035Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-05T05:01:20.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-05T05:01:20.196Z] prd-ubuntu20.04-docker-8c-8g-9498 does not seem to be running inside a container [2024-09-05T05:01:20.324Z] $ 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-1622/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-1622 -v /w/workspace/gexfoundry_device-sdk-go_PR-1622:/w/workspace/gexfoundry_device-sdk-go_PR-1622:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-05T05:01:20.528Z] $ docker top 23dfc1de9c2f41694a4e9e99aeab7f78f6099fed0f994b90dac1bec9332bc844 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-05T05:01:20.964Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-05T05:01:21.339Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-05T05:01:21.653Z] + ls /var/log/sa-host [2024-09-05T05:01:21.653Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-05T05:01:21.887Z] provisioning config files... [2024-09-05T05:01:21.897Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1622@tmp/config18289544709784150010tmp [Pipeline] { [Pipeline] echo [2024-09-05T05:01:21.964Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-05T05:01:22.294Z] ---> create-netrc.sh [Pipeline] } [2024-09-05T05:01:22.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-05T05:01:22.761Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-05T05:01:22.797Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-05T05:01:23.132Z] ---> sudo-logs.sh [2024-09-05T05:01:23.132Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-05T05:01:23.232Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-05T05:01:23.562Z] ---> job-cost.sh [2024-09-05T05:01:23.562Z] lf-activate-venv: SKIPPING [2024-09-05T05:01:23.562Z] DEBUG: total: 0.2199999988079071 [2024-09-05T05:01:23.562Z] INFO: Retrieving Stack Cost... [2024-09-05T05:01:23.824Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-05T05:01:24.392Z] INFO: Archiving Costs [Pipeline] echo [2024-09-05T05:01:24.429Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-05T05:01:24.749Z] ---> logs-deploy.sh [2024-09-05T05:01:24.749Z] lf-activate-venv: SKIPPING [2024-09-05T05:01:24.749Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1622/1 [2024-09-05T05:01:24.749Z] INFO: archiving workspace using pattern(s): [2024-09-05T05:01:25.690Z] Archives upload complete. [2024-09-05T05:01:25.690Z] INFO: archiving logs to Nexus