Pull request #1628 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543+224db1e0e192554ed613955b9810071aef8a346e (4e2320641c4004addfc081f1dca9dd80835caa12) 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-ssh16628229871247136430.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh2149157971891868034.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11171931496826068743.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18336826730733129110.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15478326785175524263.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12176 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [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-1628 # 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/1628/head:refs/remotes/origin/PR-1628 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 Merge succeeded, producing 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 Checking out Revision 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 (PR-1628) > git config core.sparsecheckout # timeout=10 > git checkout -f 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 # 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 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 # timeout=10 Commit message: "fix: Remove device profile from the cache properly" First time build. Skipping changelog. > git rev-list --no-walk c48630ffad7173b30f018eacc4191c3b5514c038 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-01T01:49:10.163Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-01T01:49:10.255Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-01T01:49:10.286Z] ========================================================= [2024-10-01T01:49:10.286Z] EdgeX Global Pipelines Version Info [2024-10-01T01:49:10.286Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:49:11.044Z] ------------------- [2024-10-01T01:49:11.044Z] stable info: [2024-10-01T01:49:11.044Z] ------------------- [2024-10-01T01:49:11.044Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T01:49:11.044Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T01:49:11.044Z] Message: update stable to v1.0.264 [2024-10-01T01:49:11.615Z] ------------------- [2024-10-01T01:49:11.615Z] experimental info: [2024-10-01T01:49:11.615Z] ------------------- [2024-10-01T01:49:11.615Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T01:49:11.615Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T01:49:11.615Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-01T01:49:11.697Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-01T01:49:11.712Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-01T01:49:11.739Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-01T01:49:11.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-01T01:49:11.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-01T01:49:11.811Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-01T01:49:11.835Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-01T01:49:11.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-01T01:49:11.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-01T01:49:11.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-01T01:49:11.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-01T01:49:11.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-01T01:49:11.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-01T01:49:11.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-01T01:49:12.003Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-01T01:49:12.023Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T01:49:12.047Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T01:49:12.068Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T01:49:12.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-01T01:49:12.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-01T01:49:12.142Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-01T01:49:12.166Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-01T01:49:12.191Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-01T01:49:12.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-01T01:49:12.234Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-01T01:49:12.264Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-01T01:49:12.287Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-01T01:49:12.313Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1628 [Pipeline] echo [2024-10-01T01:49:12.333Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1628 [Pipeline] echo [2024-10-01T01:49:12.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1628 [Pipeline] echo [2024-10-01T01:49:12.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [Pipeline] echo [2024-10-01T01:49:12.396Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7eb1c14 [Pipeline] echo [2024-10-01T01:49:12.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T01:49:12.488Z] provisioning config files... [2024-10-01T01:49:12.503Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config10918670919434991474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:49:12.948Z] ---> ****-login.sh [2024-10-01T01:49:12.948Z] nexus3.edgexfoundry.org:10001 [2024-10-01T01:49:13.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:13.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:13.211Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:13.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:13.211Z] [2024-10-01T01:49:13.211Z] Login Succeeded [2024-10-01T01:49:13.211Z] nexus3.edgexfoundry.org:10002 [2024-10-01T01:49:13.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:13.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:13.472Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:13.472Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:13.472Z] [2024-10-01T01:49:13.472Z] Login Succeeded [2024-10-01T01:49:13.472Z] nexus3.edgexfoundry.org:10003 [2024-10-01T01:49:13.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:13.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:13.472Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:13.472Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:13.472Z] [2024-10-01T01:49:13.472Z] Login Succeeded [2024-10-01T01:49:13.472Z] nexus3.edgexfoundry.org:10004 [2024-10-01T01:49:13.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:13.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:13.734Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:13.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:13.734Z] [2024-10-01T01:49:13.734Z] Login Succeeded [2024-10-01T01:49:13.734Z] ****.io [2024-10-01T01:49:13.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:13.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:13.735Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:13.735Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:13.735Z] [2024-10-01T01:49:13.735Z] Login Succeeded [2024-10-01T01:49:13.998Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T01:49:14.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-01T01:49:14.432Z] + git rev-list -1 --merges 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543~1..7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [Pipeline] echo [2024-10-01T01:49:14.463Z] -----------> git rev-list -1 --merges 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543~1..7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [false] [Pipeline] sh [2024-10-01T01:49:14.758Z] + git log --format=format:%s -1 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [Pipeline] echo [2024-10-01T01:49:14.776Z] ========================================================= [2024-10-01T01:49:14.776Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-01T01:49:14.776Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T01:49:15.124Z] + git log --format=format:%s -1 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [Pipeline] echo [2024-10-01T01:49:15.138Z] [semverPrep] GIT_COMMIT: 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543, Commit Message: fix: Remove device profile from the cache properly [Pipeline] echo [2024-10-01T01:49:15.155Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-01T01:49:15.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-01T01:49:15.537Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-01T01:49:15.537Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-01T01:49:15.537Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-01T01:49:15.537Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-01T01:49:15.537Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-01T01:49:15.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:49:15.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T01:49:15.979Z] [2024-10-01T01:49:15.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:49:16.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T01:49:16.293Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-01T01:49:16.293Z] b85a868b505f: Pulling fs layer [2024-10-01T01:49:16.293Z] e2be974225ed: Pulling fs layer [2024-10-01T01:49:16.293Z] 339a4e72a1f5: Pulling fs layer [2024-10-01T01:49:16.293Z] 988bab9f4d93: Pulling fs layer [2024-10-01T01:49:16.293Z] 1469e6f7b9e6: Pulling fs layer [2024-10-01T01:49:16.293Z] eaf3925da568: Pulling fs layer [2024-10-01T01:49:16.293Z] bab4dde63d76: Pulling fs layer [2024-10-01T01:49:16.293Z] bde34c3a00c8: Pulling fs layer [2024-10-01T01:49:16.293Z] b352a97aabf1: Pulling fs layer [2024-10-01T01:49:16.293Z] 4872d77fe225: Pulling fs layer [2024-10-01T01:49:16.293Z] 1469e6f7b9e6: Waiting [2024-10-01T01:49:16.293Z] eaf3925da568: Waiting [2024-10-01T01:49:16.293Z] bab4dde63d76: Waiting [2024-10-01T01:49:16.293Z] bde34c3a00c8: Waiting [2024-10-01T01:49:16.293Z] b352a97aabf1: Waiting [2024-10-01T01:49:16.293Z] 5851b861e8e6: Pulling fs layer [2024-10-01T01:49:16.293Z] 4872d77fe225: Waiting [2024-10-01T01:49:16.293Z] 5851b861e8e6: Waiting [2024-10-01T01:49:16.293Z] e2be974225ed: Verifying Checksum [2024-10-01T01:49:16.293Z] e2be974225ed: Download complete [2024-10-01T01:49:16.293Z] 988bab9f4d93: Verifying Checksum [2024-10-01T01:49:16.293Z] 988bab9f4d93: Download complete [2024-10-01T01:49:16.293Z] 1469e6f7b9e6: Verifying Checksum [2024-10-01T01:49:16.293Z] 1469e6f7b9e6: Download complete [2024-10-01T01:49:16.293Z] eaf3925da568: Verifying Checksum [2024-10-01T01:49:16.293Z] eaf3925da568: Download complete [2024-10-01T01:49:16.552Z] 339a4e72a1f5: Verifying Checksum [2024-10-01T01:49:16.552Z] 339a4e72a1f5: Download complete [2024-10-01T01:49:16.552Z] bde34c3a00c8: Download complete [2024-10-01T01:49:16.552Z] b352a97aabf1: Download complete [2024-10-01T01:49:16.552Z] 4872d77fe225: Verifying Checksum [2024-10-01T01:49:16.552Z] 4872d77fe225: Download complete [2024-10-01T01:49:16.552Z] 5851b861e8e6: Verifying Checksum [2024-10-01T01:49:16.552Z] b85a868b505f: Verifying Checksum [2024-10-01T01:49:16.552Z] b85a868b505f: Download complete [2024-10-01T01:49:16.814Z] bab4dde63d76: Verifying Checksum [2024-10-01T01:49:16.814Z] bab4dde63d76: Download complete [2024-10-01T01:49:17.750Z] b85a868b505f: Pull complete [2024-10-01T01:49:18.009Z] e2be974225ed: Pull complete [2024-10-01T01:49:18.269Z] 339a4e72a1f5: Pull complete [2024-10-01T01:49:18.530Z] 988bab9f4d93: Pull complete [2024-10-01T01:49:18.789Z] 1469e6f7b9e6: Pull complete [2024-10-01T01:49:18.789Z] eaf3925da568: Pull complete [2024-10-01T01:49:20.700Z] bab4dde63d76: Pull complete [2024-10-01T01:49:20.700Z] bde34c3a00c8: Pull complete [2024-10-01T01:49:20.700Z] b352a97aabf1: Pull complete [2024-10-01T01:49:20.700Z] 4872d77fe225: Pull complete [2024-10-01T01:49:20.700Z] 5851b861e8e6: Pull complete [2024-10-01T01:49:20.700Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-01T01:49:20.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T01:49:20.700Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:49:21.119Z] prd-ubuntu20.04-docker-8c-8g-12176 does not seem to be running inside a container [2024-10-01T01:49:21.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-01T01:49:23.994Z] $ docker top 1645fbcb3b8e00f8a395d6e0b98e4acca79046a7ebf3c7ad35d3e035523f29f4 -eo pid,comm [2024-10-01T01:49:24.038Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-01T01:49:24.038Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-01T01:49:24.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T01:49:24.101Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T01:49:24.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T01:49:24.214Z] $ docker exec 1645fbcb3b8e00f8a395d6e0b98e4acca79046a7ebf3c7ad35d3e035523f29f4 ssh-agent [2024-10-01T01:49:24.323Z] SSH_AUTH_SOCK=/tmp/ssh-zMcmWgnwvgMe/agent.31 [2024-10-01T01:49:24.323Z] SSH_AGENT_PID=37 [2024-10-01T01:49:24.329Z] Running ssh-add (command line suppressed) [2024-10-01T01:49:24.419Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_2475182187541587090.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_2475182187541587090.key) [2024-10-01T01:49:24.431Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T01:49:24.726Z] + git tag --points-at HEAD [Pipeline] } [2024-10-01T01:49:24.741Z] $ docker exec --env ******** --env ******** 1645fbcb3b8e00f8a395d6e0b98e4acca79046a7ebf3c7ad35d3e035523f29f4 ssh-agent -k [2024-10-01T01:49:24.837Z] unset SSH_AUTH_SOCK; [2024-10-01T01:49:24.837Z] unset SSH_AGENT_PID; [2024-10-01T01:49:24.837Z] echo Agent pid 37 killed; [2024-10-01T01:49:24.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-01T01:49:24.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T01:49:24.890Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T01:49:24.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T01:49:24.992Z] $ docker exec 1645fbcb3b8e00f8a395d6e0b98e4acca79046a7ebf3c7ad35d3e035523f29f4 ssh-agent [2024-10-01T01:49:25.101Z] SSH_AUTH_SOCK=/tmp/ssh-q8HXFm45Q8yc/agent.69 [2024-10-01T01:49:25.101Z] SSH_AGENT_PID=75 [2024-10-01T01:49:25.106Z] Running ssh-add (command line suppressed) [2024-10-01T01:49:25.207Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_524493300107632841.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_524493300107632841.key) [2024-10-01T01:49:25.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T01:49:25.518Z] + git semver init [2024-10-01T01:49:25.779Z] 2024-10-01 01:49:25,686 [run_init] DEBUG init version:0.0.0 force:False [2024-10-01T01:49:25.779Z] 2024-10-01 01:49:25,686 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver [2024-10-01T01:49:25.779Z] 2024-10-01 01:49:25,687 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver [2024-10-01T01:49:25.779Z] 2024-10-01 01:49:25,687 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628, universal_newlines=False, shell=None, istream=None) [2024-10-01T01:49:28.320Z] 2024-10-01 01:49:27,728 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.git/info/exclude [2024-10-01T01:49:28.320Z] 2024-10-01 01:49:27,728 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 with force:False [2024-10-01T01:49:28.320Z] 2024-10-01 01:49:27,728 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 [2024-10-01T01:49:28.320Z] 2024-10-01 01:49:27,732 [execute] INFO git cat-file --batch-check [2024-10-01T01:49:28.320Z] 2024-10-01 01:49:27,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T01:49:28.320Z] 2024-10-01 01:49:27,738 [execute] INFO git cat-file --batch [2024-10-01T01:49:28.320Z] 2024-10-01 01:49:27,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T01:49:28.320Z] 2024-10-01 01:49:27,745 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 [2024-10-01T01:49:28.320Z] 0.0.0 [Pipeline] } [2024-10-01T01:49:28.332Z] $ docker exec --env ******** --env ******** 1645fbcb3b8e00f8a395d6e0b98e4acca79046a7ebf3c7ad35d3e035523f29f4 ssh-agent -k [2024-10-01T01:49:28.427Z] unset SSH_AUTH_SOCK; [2024-10-01T01:49:28.427Z] unset SSH_AGENT_PID; [2024-10-01T01:49:28.428Z] echo Agent pid 75 killed; [2024-10-01T01:49:28.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-01T01:49:28.770Z] + git semver [Pipeline] } [2024-10-01T01:49:29.045Z] $ docker stop --time=1 1645fbcb3b8e00f8a395d6e0b98e4acca79046a7ebf3c7ad35d3e035523f29f4 [2024-10-01T01:49:30.342Z] $ docker rm -f --volumes 1645fbcb3b8e00f8a395d6e0b98e4acca79046a7ebf3c7ad35d3e035523f29f4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T01:49:30.683Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-01T01:49:30.978Z] Stashed 1 file(s) [Pipeline] echo [2024-10-01T01:49:30.983Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T01:49:31.174Z] provisioning config files... [2024-10-01T01:49:31.183Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config9759920797443656731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:49:31.487Z] ---> ****-login.sh [2024-10-01T01:49:31.487Z] nexus3.edgexfoundry.org:10001 [2024-10-01T01:49:31.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:31.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:31.488Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:31.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:31.488Z] [2024-10-01T01:49:31.488Z] Login Succeeded [2024-10-01T01:49:31.488Z] nexus3.edgexfoundry.org:10002 [2024-10-01T01:49:31.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:31.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:31.488Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:31.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:31.488Z] [2024-10-01T01:49:31.488Z] Login Succeeded [2024-10-01T01:49:31.488Z] nexus3.edgexfoundry.org:10003 [2024-10-01T01:49:31.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:31.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:31.748Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:31.748Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:31.748Z] [2024-10-01T01:49:31.748Z] Login Succeeded [2024-10-01T01:49:31.748Z] nexus3.edgexfoundry.org:10004 [2024-10-01T01:49:31.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:31.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:31.748Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:31.748Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:31.748Z] [2024-10-01T01:49:31.748Z] Login Succeeded [2024-10-01T01:49:31.749Z] ****.io [2024-10-01T01:49:31.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:49:32.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:49:32.009Z] Configure a credential helper to remove this warning. See [2024-10-01T01:49:32.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:49:32.009Z] [2024-10-01T01:49:32.009Z] Login Succeeded [2024-10-01T01:49:32.009Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T01:49:32.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T01:49:32.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T01:49:32.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T01:49:32.162Z] ========================================================= [2024-10-01T01:49:32.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-01T01:49:32.162Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:49:32.557Z] + 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-10-01T01:49:32.557Z] Sending build context to Docker daemon 25.34MB [2024-10-01T01:49:32.557Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T01:49:32.557Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-01T01:49:32.815Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-01T01:49:32.815Z] 619be1103602: Pulling fs layer [2024-10-01T01:49:32.815Z] 7862e08f4a3e: Pulling fs layer [2024-10-01T01:49:32.815Z] 5df492c9dc93: Pulling fs layer [2024-10-01T01:49:32.815Z] 7629e6793208: Pulling fs layer [2024-10-01T01:49:32.815Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T01:49:32.815Z] fb5054dd5b73: Pulling fs layer [2024-10-01T01:49:32.815Z] eeca6798cff9: Pulling fs layer [2024-10-01T01:49:32.815Z] aa269ceb94a6: Pulling fs layer [2024-10-01T01:49:32.815Z] ada007ff1a6a: Pulling fs layer [2024-10-01T01:49:32.815Z] 7629e6793208: Waiting [2024-10-01T01:49:32.815Z] 4f4fb700ef54: Waiting [2024-10-01T01:49:32.815Z] fb5054dd5b73: Waiting [2024-10-01T01:49:32.815Z] aa269ceb94a6: Waiting [2024-10-01T01:49:32.815Z] eeca6798cff9: Waiting [2024-10-01T01:49:32.815Z] ada007ff1a6a: Waiting [2024-10-01T01:49:32.815Z] 7862e08f4a3e: Download complete [2024-10-01T01:49:32.815Z] 7629e6793208: Download complete [2024-10-01T01:49:32.815Z] 4f4fb700ef54: Verifying Checksum [2024-10-01T01:49:32.815Z] fb5054dd5b73: Verifying Checksum [2024-10-01T01:49:32.815Z] fb5054dd5b73: Download complete [2024-10-01T01:49:32.815Z] 619be1103602: Download complete [2024-10-01T01:49:32.815Z] eeca6798cff9: Verifying Checksum [2024-10-01T01:49:32.815Z] eeca6798cff9: Download complete [2024-10-01T01:49:33.074Z] 619be1103602: Pull complete [2024-10-01T01:49:33.074Z] ada007ff1a6a: Verifying Checksum [2024-10-01T01:49:33.074Z] ada007ff1a6a: Download complete [2024-10-01T01:49:33.074Z] 7862e08f4a3e: Pull complete [2024-10-01T01:49:33.334Z] 5df492c9dc93: Verifying Checksum [2024-10-01T01:49:33.334Z] 5df492c9dc93: Download complete [2024-10-01T01:49:33.595Z] aa269ceb94a6: Verifying Checksum [2024-10-01T01:49:33.595Z] aa269ceb94a6: Download complete [2024-10-01T01:49:36.877Z] 5df492c9dc93: Pull complete [2024-10-01T01:49:36.877Z] 7629e6793208: Pull complete [2024-10-01T01:49:36.878Z] 4f4fb700ef54: Pull complete [2024-10-01T01:49:36.878Z] fb5054dd5b73: Pull complete [2024-10-01T01:49:36.878Z] eeca6798cff9: Pull complete [2024-10-01T01:49:38.777Z] aa269ceb94a6: Pull complete [2024-10-01T01:49:39.344Z] ada007ff1a6a: Pull complete [2024-10-01T01:49:39.344Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-01T01:49:39.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-01T01:49:39.344Z] ---> f489d0715acc [2024-10-01T01:49:39.344Z] Step 3/10 : ARG MAKE=make build [2024-10-01T01:49:44.620Z] ---> Running in de7ebc9dcc9a [2024-10-01T01:49:44.621Z] Removing intermediate container de7ebc9dcc9a [2024-10-01T01:49:44.621Z] ---> c29fee375839 [2024-10-01T01:49:44.621Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-01T01:49:44.621Z] ---> Running in c737fe78963f [2024-10-01T01:49:44.621Z] Removing intermediate container c737fe78963f [2024-10-01T01:49:44.621Z] ---> 9e7fae0f2cf9 [2024-10-01T01:49:44.621Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T01:49:44.621Z] ---> Running in 22f4fbc6c4ed [2024-10-01T01:49:44.621Z] Removing intermediate container 22f4fbc6c4ed [2024-10-01T01:49:44.621Z] ---> 7eb17d2525c9 [2024-10-01T01:49:44.621Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-01T01:49:44.621Z] ---> Running in 588b318ba19a [2024-10-01T01:49:44.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T01:49:45.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T01:49:45.400Z] OK: 264 MiB in 52 packages [2024-10-01T01:49:45.659Z] Removing intermediate container 588b318ba19a [2024-10-01T01:49:45.659Z] ---> 32d44df3d72c [2024-10-01T01:49:45.659Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-01T01:49:45.918Z] ---> fbd2fbf12ff1 [2024-10-01T01:49:45.918Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T01:49:45.918Z] ---> Running in dc1d0c51e29d [2024-10-01T01:49:46.117Z] Still waiting to schedule task [2024-10-01T01:49:46.118Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12174’ [2024-10-01T01:50:42.178Z] Removing intermediate container dc1d0c51e29d [2024-10-01T01:50:42.178Z] ---> 110d50ce8f13 [2024-10-01T01:50:42.178Z] Step 9/10 : COPY . . [2024-10-01T01:50:42.178Z] ---> 7e770701dc02 [2024-10-01T01:50:42.178Z] Step 10/10 : RUN ${MAKE} [2024-10-01T01:50:42.178Z] ---> Running in a9d9f8f901bc [2024-10-01T01:50:42.178Z] noop [2024-10-01T01:50:42.178Z] Removing intermediate container a9d9f8f901bc [2024-10-01T01:50:42.178Z] ---> d59098115abb [2024-10-01T01:50:42.178Z] Successfully built d59098115abb [2024-10-01T01:50:42.178Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:50:42.518Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T01:50:42.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:50:42.607Z] prd-ubuntu20.04-docker-8c-8g-12176 does not seem to be running inside a container [2024-10-01T01:50:42.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-01T01:50:42.961Z] $ docker top af39da1653b5a44baf49f216ffabc455b64c2b6a07f949c97be4f70b97d6b235 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:50:43.304Z] + go version [2024-10-01T01:50:43.304Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-01T01:50:43.316Z] $ docker stop --time=1 af39da1653b5a44baf49f216ffabc455b64c2b6a07f949c97be4f70b97d6b235 [2024-10-01T01:50:44.613Z] $ docker rm -f --volumes af39da1653b5a44baf49f216ffabc455b64c2b6a07f949c97be4f70b97d6b235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:50:45.063Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T01:50:45.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:50:45.145Z] prd-ubuntu20.04-docker-8c-8g-12176 does not seem to be running inside a container [2024-10-01T01:50:45.176Z] $ 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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-01T01:50:45.485Z] $ docker top ac544e2c13080c53594b1edf5cda3f6c091c58af95201b1fb474cef96859653f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:50:45.842Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] fileExists [Pipeline] sh [2024-10-01T01:50:46.143Z] + make test [2024-10-01T01:50:46.144Z] go test -race -coverprofile=coverage.out ./... [2024-10-01T01:50:54.262Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-01T01:51:20.813Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-01T01:51:20.813Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-01T01:51:20.813Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-01T01:51:20.813Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-01T01:51:20.813Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-01T01:51:20.813Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-01T01:51:20.813Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-01T01:51:21.081Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.021s coverage: 26.0% of statements [2024-10-01T01:51:21.081Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.033s coverage: 79.4% of statements [2024-10-01T01:51:21.081Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.043s coverage: 86.0% of statements [2024-10-01T01:51:22.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-01T01:51:22.275Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-01T01:51:22.275Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-01T01:51:22.275Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-01T01:51:22.842Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.064s coverage: 45.2% of statements [2024-10-01T01:51:24.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-01T01:51:26.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.1% of statements [2024-10-01T01:51:26.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.239s coverage: 44.6% of statements [2024-10-01T01:51:26.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.050s coverage: 68.5% of statements [2024-10-01T01:51:26.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.084s coverage: 89.2% of statements [2024-10-01T01:51:26.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.3% of statements [2024-10-01T01:51:58.215Z] GO111MODULE=on go vet ./... [2024-10-01T01:52:00.749Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T01:52:00.749Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T01:52:00.749Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-01T01:52:01.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T01:52:01.043Z] $ docker stop --time=1 ac544e2c13080c53594b1edf5cda3f6c091c58af95201b1fb474cef96859653f [2024-10-01T01:52:06.069Z] $ docker rm -f --volumes ac544e2c13080c53594b1edf5cda3f6c091c58af95201b1fb474cef96859653f [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T01:52:06.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T01:52:06.862Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-01T01:52:07.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T01:52:07.716Z] + ls -al . [2024-10-01T01:52:07.716Z] total 384 [2024-10-01T01:52:07.716Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 1 01:50 . [2024-10-01T01:52:07.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:49 .. [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 01:49 .dockerignore [2024-10-01T01:52:07.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 01:51 .git [2024-10-01T01:52:07.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:49 .github [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 01:49 .gitignore [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 01:49 .golangci.yml [2024-10-01T01:52:07.716Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 01:49 .semver [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 01:49 CHANGELOG.md [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 01:49 GOVERNANCE.md [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 01:49 Jenkinsfile [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 01:49 LICENSE [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 01:49 Makefile [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 01:49 OWNERS.md [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 01:49 README.md [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 01:49 VERSION [2024-10-01T01:52:07.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 01:49 bin [2024-10-01T01:52:07.716Z] -rw-r--r-- 1 jenkins jenkins 128347 Oct 1 01:51 coverage.out [2024-10-01T01:52:07.716Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 01:49 example [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 6985 Oct 1 01:49 go.mod [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 101462 Oct 1 01:49 go.sum [2024-10-01T01:52:07.716Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 01:49 internal [2024-10-01T01:52:07.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:49 openapi [2024-10-01T01:52:07.716Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 01:49 pkg [2024-10-01T01:52:07.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:49 snap [2024-10-01T01:52:07.716Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:52:08.051Z] + 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=7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 --label arch=amd64 --label version=0.0.0 . [2024-10-01T01:52:08.051Z] Sending build context to Docker daemon 25.47MB [2024-10-01T01:52:08.051Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T01:52:08.051Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-01T01:52:08.051Z] ---> d59098115abb [2024-10-01T01:52:08.051Z] Step 3/24 : ARG MAKE=make build [2024-10-01T01:52:08.620Z] ---> Running in e052bc07dbc2 [2024-10-01T01:52:08.620Z] Removing intermediate container e052bc07dbc2 [2024-10-01T01:52:08.620Z] ---> 658cf1d1b795 [2024-10-01T01:52:08.620Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-01T01:52:08.620Z] ---> Running in 9c29f8bc7376 [2024-10-01T01:52:08.620Z] Removing intermediate container 9c29f8bc7376 [2024-10-01T01:52:08.620Z] ---> b7356365cebc [2024-10-01T01:52:08.620Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T01:52:08.620Z] ---> Running in f468f537a0e2 [2024-10-01T01:52:08.620Z] Removing intermediate container f468f537a0e2 [2024-10-01T01:52:08.620Z] ---> d4e881c3c152 [2024-10-01T01:52:08.620Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-01T01:52:08.881Z] ---> Running in 85d4cac57f3d [2024-10-01T01:52:08.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T01:52:09.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T01:52:09.407Z] OK: 264 MiB in 52 packages [2024-10-01T01:52:09.665Z] Removing intermediate container 85d4cac57f3d [2024-10-01T01:52:09.665Z] ---> 182a19aa577b [2024-10-01T01:52:09.665Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-01T01:52:09.924Z] ---> 092e0c109f67 [2024-10-01T01:52:09.924Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T01:52:09.924Z] ---> Running in 8a9a394bba19 [2024-10-01T01:52:10.491Z] Removing intermediate container 8a9a394bba19 [2024-10-01T01:52:10.491Z] ---> 81351e5e1e28 [2024-10-01T01:52:10.491Z] Step 9/24 : COPY . . [2024-10-01T01:52:11.426Z] ---> a1f0d0206dc2 [2024-10-01T01:52:11.426Z] Step 10/24 : RUN ${MAKE} [2024-10-01T01:52:11.426Z] ---> Running in 13009e66117d [2024-10-01T01:52:11.426Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-01T01:52:43.517Z] Removing intermediate container 13009e66117d [2024-10-01T01:52:43.517Z] ---> b71ad006b1ac [2024-10-01T01:52:43.517Z] Step 11/24 : FROM alpine:3.18 [2024-10-01T01:52:43.517Z] 3.18: Pulling from library/alpine [2024-10-01T01:52:43.517Z] 1cc3d825d8b2: Pulling fs layer [2024-10-01T01:52:43.517Z] 1cc3d825d8b2: Verifying Checksum [2024-10-01T01:52:43.517Z] 1cc3d825d8b2: Download complete [2024-10-01T01:52:43.517Z] 1cc3d825d8b2: Pull complete [2024-10-01T01:52:43.517Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T01:52:43.517Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T01:52:43.517Z] ---> 2c64cf60f6f0 [2024-10-01T01:52:43.517Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-01T01:52:43.517Z] ---> Running in d6f4f0f55aa0 [2024-10-01T01:52:43.517Z] Removing intermediate container d6f4f0f55aa0 [2024-10-01T01:52:43.517Z] ---> bb97c9a598e9 [2024-10-01T01:52:43.517Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-01T01:52:43.517Z] ---> Running in be043f250e1d [2024-10-01T01:52:43.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T01:52:43.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T01:52:43.776Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T01:52:43.776Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T01:52:43.776Z] OK: 7 MiB in 16 packages [2024-10-01T01:52:44.035Z] Removing intermediate container be043f250e1d [2024-10-01T01:52:44.035Z] ---> 3bccef718a9d [2024-10-01T01:52:44.035Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-01T01:52:44.035Z] ---> Running in 205c090f702c [2024-10-01T01:52:44.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T01:52:44.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T01:52:44.552Z] OK: 7 MiB in 16 packages [2024-10-01T01:52:44.810Z] Removing intermediate container 205c090f702c [2024-10-01T01:52:44.810Z] ---> 5d1a8d914ce1 [2024-10-01T01:52:44.810Z] Step 15/24 : WORKDIR / [2024-10-01T01:52:44.810Z] ---> Running in 69b66436c916 [2024-10-01T01:52:45.072Z] Removing intermediate container 69b66436c916 [2024-10-01T01:52:45.072Z] ---> 46f00227674a [2024-10-01T01:52:45.072Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-01T01:52:45.072Z] ---> 4e785426151c [2024-10-01T01:52:45.072Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-01T01:52:46.447Z] ---> fee0a23887d8 [2024-10-01T01:52:46.447Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-01T01:52:46.706Z] ---> 6dc35a35d5dd [2024-10-01T01:52:46.706Z] Step 19/24 : EXPOSE 59999 [2024-10-01T01:52:46.706Z] ---> Running in ce89e144f3df [2024-10-01T01:52:46.706Z] Removing intermediate container ce89e144f3df [2024-10-01T01:52:46.706Z] ---> e8d1289dc4a5 [2024-10-01T01:52:46.706Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-01T01:52:46.706Z] ---> Running in 2a727e3db73c [2024-10-01T01:52:46.964Z] Removing intermediate container 2a727e3db73c [2024-10-01T01:52:46.964Z] ---> 0c22055210da [2024-10-01T01:52:46.964Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-01T01:52:46.964Z] ---> Running in 45a73411f4d2 [2024-10-01T01:52:46.964Z] Removing intermediate container 45a73411f4d2 [2024-10-01T01:52:46.964Z] ---> a4e36e8e86cf [2024-10-01T01:52:46.964Z] Step 22/24 : LABEL arch=amd64 [2024-10-01T01:52:46.964Z] ---> Running in f85210ee1b88 [2024-10-01T01:52:46.964Z] Removing intermediate container f85210ee1b88 [2024-10-01T01:52:46.964Z] ---> ba1fa798b188 [2024-10-01T01:52:46.964Z] Step 23/24 : LABEL git_sha=7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [2024-10-01T01:52:46.964Z] ---> Running in ad407cc8f5c4 [2024-10-01T01:52:47.224Z] Removing intermediate container ad407cc8f5c4 [2024-10-01T01:52:47.224Z] ---> f93562bd3781 [2024-10-01T01:52:47.224Z] Step 24/24 : LABEL version=0.0.0 [2024-10-01T01:52:47.224Z] ---> Running in fe950f482e57 [2024-10-01T01:52:47.224Z] Removing intermediate container fe950f482e57 [2024-10-01T01:52:47.224Z] ---> 0837f3416285 [2024-10-01T01:52:47.224Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T01:52:47.224Z] Successfully built 0837f3416285 [2024-10-01T01:52:47.224Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:52:47.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T01:52:47.703Z] [2024-10-01T01:52:47.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:52:48.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T01:52:48.011Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-01T01:52:48.011Z] 5eb5b503b376: Pulling fs layer [2024-10-01T01:52:48.011Z] 5c69ac0246d0: Pulling fs layer [2024-10-01T01:52:48.011Z] ec43610c2a17: Pulling fs layer [2024-10-01T01:52:48.011Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-01T01:52:48.011Z] 33b1e0a273af: Pulling fs layer [2024-10-01T01:52:48.011Z] 5d3b04190fa2: Pulling fs layer [2024-10-01T01:52:48.011Z] 2f39f015ded8: Pulling fs layer [2024-10-01T01:52:48.011Z] 3a2ae6a8a46f: Waiting [2024-10-01T01:52:48.011Z] 33b1e0a273af: Waiting [2024-10-01T01:52:48.011Z] 2f39f015ded8: Waiting [2024-10-01T01:52:48.011Z] 5d3b04190fa2: Waiting [2024-10-01T01:52:48.011Z] 5c69ac0246d0: Verifying Checksum [2024-10-01T01:52:48.011Z] 5c69ac0246d0: Download complete [2024-10-01T01:52:48.011Z] 3a2ae6a8a46f: Download complete [2024-10-01T01:52:48.011Z] 33b1e0a273af: Verifying Checksum [2024-10-01T01:52:48.011Z] 33b1e0a273af: Download complete [2024-10-01T01:52:48.011Z] 5d3b04190fa2: Verifying Checksum [2024-10-01T01:52:48.011Z] 5d3b04190fa2: Download complete [2024-10-01T01:52:48.011Z] ec43610c2a17: Verifying Checksum [2024-10-01T01:52:48.011Z] ec43610c2a17: Download complete [2024-10-01T01:52:48.268Z] 5eb5b503b376: Verifying Checksum [2024-10-01T01:52:48.268Z] 5eb5b503b376: Download complete [2024-10-01T01:52:48.833Z] 2f39f015ded8: Download complete [2024-10-01T01:52:49.398Z] 5eb5b503b376: Pull complete [2024-10-01T01:52:49.656Z] 5c69ac0246d0: Pull complete [2024-10-01T01:52:49.914Z] ec43610c2a17: Pull complete [2024-10-01T01:52:50.173Z] 3a2ae6a8a46f: Pull complete [2024-10-01T01:52:50.173Z] 33b1e0a273af: Pull complete [2024-10-01T01:52:50.432Z] 5d3b04190fa2: Pull complete [2024-10-01T01:52:54.623Z] 2f39f015ded8: Pull complete [2024-10-01T01:52:54.623Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-01T01:52:54.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T01:52:54.623Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:52:54.723Z] prd-ubuntu20.04-docker-8c-8g-12176 does not seem to be running inside a container [2024-10-01T01:52:54.753Z] $ 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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-01T01:52:58.950Z] $ docker top f0dcd08b3056324eca15100be0ba32dde201b584c25e77b5b596623a07b480aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:52:59.351Z] ---> job-cost.sh [2024-10-01T01:52:59.351Z] lf-activate-venv: SKIPPING [2024-10-01T01:52:59.351Z] INFO: No Stack... [2024-10-01T01:52:59.611Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T01:52:59.870Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T01:53:00.166Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/cost.csv [2024-10-01T01:53:00.166Z] + cut -d, -f6 [Pipeline] lock [2024-10-01T01:53:00.179Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-3-stack-cost] [2024-10-01T01:53:00.190Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-3-stack-cost] did not exist. Created. [2024-10-01T01:53:00.198Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T01:53:00.508Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-01T01:53:00.547Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T01:53:00.563Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T01:53:00.595Z] $ docker stop --time=1 f0dcd08b3056324eca15100be0ba32dde201b584c25e77b5b596623a07b480aa [2024-10-01T01:53:01.766Z] $ docker rm -f --volumes f0dcd08b3056324eca15100be0ba32dde201b584c25e77b5b596623a07b480aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-01T01:53:31.837Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12178 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] { [Pipeline] ws [2024-10-01T01:53:31.855Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2024-10-01T01:53:31.895Z] The recommended git tool is: git [2024-10-01T01:53:39.777Z] using credential edgex-jenkins-ssh [2024-10-01T01:53:39.968Z] Cloning the remote Git repository [2024-10-01T01:53:40.057Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T01:53:40.213Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2024-10-01T01:53:40.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T01:53:40.427Z] > git --version # timeout=10 [2024-10-01T01:53:40.461Z] > git --version # 'git version 2.25.1' [2024-10-01T01:53:40.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T01:53:40.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T01:53:44.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-01T01:53:44.274Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T01:53:45.561Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-01T01:53:46.338Z] Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [2024-10-01T01:53:46.678Z] Merge succeeded, producing 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [2024-10-01T01:53:46.679Z] Checking out Revision 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 (PR-1628) [2024-10-01T01:53:45.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T01:53:45.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T01:53:45.684Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1628/head:refs/remotes/origin/PR-1628 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-01T01:53:46.359Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T01:53:46.423Z] > git checkout -f 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 # timeout=10 [2024-10-01T01:53:46.544Z] > git remote # timeout=10 [2024-10-01T01:53:46.566Z] > git config --get remote.origin.url # timeout=10 [2024-10-01T01:53:46.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T01:53:46.620Z] > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 [2024-10-01T01:53:46.647Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-01T01:53:46.685Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T01:53:46.699Z] > git checkout -f 7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 # timeout=10 [2024-10-01T01:53:50.350Z] Commit message: "fix: Remove device profile from the cache properly" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T01:53:51.984Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-01T01:53:51.984Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T01:53:51.984Z] Dload Upload Total Spent Left Speed [2024-10-01T01:53:51.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 76814 0 --:--:-- --:--:-- --:--:-- 76357 100 12828 100 12828 0 0 76357 0 --:--:-- --:--:-- --:--:-- 75905 [Pipeline] sh [2024-10-01T01:53:52.318Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-01T01:53:52.666Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-01T01:53:52.667Z] + sudo tee /etc/docker/daemon.new [2024-10-01T01:53:52.667Z] { [2024-10-01T01:53:52.667Z] "registry-mirrors": [ [2024-10-01T01:53:52.667Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-01T01:53:52.667Z] ], [2024-10-01T01:53:52.667Z] "bip": "10.250.0.254/24", [2024-10-01T01:53:52.667Z] "hosts": [ [2024-10-01T01:53:52.667Z] "tcp://0.0.0.0:5555", [2024-10-01T01:53:52.667Z] "unix:///var/run/docker.sock" [2024-10-01T01:53:52.667Z] ], [2024-10-01T01:53:52.667Z] "mtu": 1458, [2024-10-01T01:53:52.667Z] "selinux-enabled": true, [2024-10-01T01:53:52.667Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-01T01:53:52.667Z] } [Pipeline] sh [2024-10-01T01:53:52.986Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-01T01:53:53.311Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T01:54:11.613Z] provisioning config files... [2024-10-01T01:54:11.639Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config10144835736347431393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:54:12.107Z] ---> ****-login.sh [2024-10-01T01:54:12.107Z] nexus3.edgexfoundry.org:10001 [2024-10-01T01:54:12.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:54:12.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:54:12.701Z] Configure a credential helper to remove this warning. See [2024-10-01T01:54:12.701Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:54:12.701Z] [2024-10-01T01:54:12.701Z] Login Succeeded [2024-10-01T01:54:12.701Z] nexus3.edgexfoundry.org:10002 [2024-10-01T01:54:12.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:54:13.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:54:13.240Z] Configure a credential helper to remove this warning. See [2024-10-01T01:54:13.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:54:13.240Z] [2024-10-01T01:54:13.240Z] Login Succeeded [2024-10-01T01:54:13.240Z] nexus3.edgexfoundry.org:10003 [2024-10-01T01:54:13.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:54:13.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:54:13.511Z] Configure a credential helper to remove this warning. See [2024-10-01T01:54:13.511Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:54:13.511Z] [2024-10-01T01:54:13.511Z] Login Succeeded [2024-10-01T01:54:13.511Z] nexus3.edgexfoundry.org:10004 [2024-10-01T01:54:13.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:54:14.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:54:14.056Z] Configure a credential helper to remove this warning. See [2024-10-01T01:54:14.056Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:54:14.056Z] [2024-10-01T01:54:14.056Z] Login Succeeded [2024-10-01T01:54:14.056Z] ****.io [2024-10-01T01:54:14.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:54:14.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:54:14.592Z] Configure a credential helper to remove this warning. See [2024-10-01T01:54:14.592Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:54:14.592Z] [2024-10-01T01:54:14.592Z] Login Succeeded [2024-10-01T01:54:14.592Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T01:54:14.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T01:54:14.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T01:54:14.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T01:54:14.987Z] ========================================================= [2024-10-01T01:54:14.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-01T01:54:14.987Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:54:15.377Z] + 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-10-01T01:54:15.966Z] Sending build context to Docker daemon 13.13MB [2024-10-01T01:54:15.966Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T01:54:15.966Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-01T01:54:16.237Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-01T01:54:16.237Z] c6b39de5b339: Pulling fs layer [2024-10-01T01:54:16.237Z] a69c41024577: Pulling fs layer [2024-10-01T01:54:16.237Z] d6de4b400683: Pulling fs layer [2024-10-01T01:54:16.237Z] 35cb2a7552d0: Pulling fs layer [2024-10-01T01:54:16.237Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T01:54:16.237Z] 464afbd9ba4c: Pulling fs layer [2024-10-01T01:54:16.237Z] 00f215d4a9da: Pulling fs layer [2024-10-01T01:54:16.237Z] d496ad576159: Pulling fs layer [2024-10-01T01:54:16.237Z] 35cb2a7552d0: Waiting [2024-10-01T01:54:16.237Z] 4f4fb700ef54: Waiting [2024-10-01T01:54:16.237Z] 464afbd9ba4c: Waiting [2024-10-01T01:54:16.237Z] 00f215d4a9da: Waiting [2024-10-01T01:54:16.237Z] d496ad576159: Waiting [2024-10-01T01:54:16.237Z] a69c41024577: Verifying Checksum [2024-10-01T01:54:16.237Z] a69c41024577: Download complete [2024-10-01T01:54:16.237Z] 35cb2a7552d0: Verifying Checksum [2024-10-01T01:54:16.237Z] 35cb2a7552d0: Download complete [2024-10-01T01:54:16.237Z] 4f4fb700ef54: Verifying Checksum [2024-10-01T01:54:16.237Z] 4f4fb700ef54: Download complete [2024-10-01T01:54:16.237Z] 464afbd9ba4c: Verifying Checksum [2024-10-01T01:54:16.237Z] 464afbd9ba4c: Download complete [2024-10-01T01:54:16.237Z] c6b39de5b339: Verifying Checksum [2024-10-01T01:54:16.237Z] c6b39de5b339: Download complete [2024-10-01T01:54:16.825Z] d496ad576159: Verifying Checksum [2024-10-01T01:54:16.825Z] d496ad576159: Download complete [2024-10-01T01:54:17.415Z] c6b39de5b339: Pull complete [2024-10-01T01:54:18.008Z] a69c41024577: Pull complete [2024-10-01T01:54:18.008Z] d6de4b400683: Download complete [2024-10-01T01:54:19.433Z] 00f215d4a9da: Verifying Checksum [2024-10-01T01:54:19.433Z] 00f215d4a9da: Download complete [2024-10-01T01:54:31.760Z] d6de4b400683: Pull complete [2024-10-01T01:54:31.760Z] 35cb2a7552d0: Pull complete [2024-10-01T01:54:31.760Z] 4f4fb700ef54: Pull complete [2024-10-01T01:54:31.760Z] 464afbd9ba4c: Pull complete [2024-10-01T01:54:39.999Z] 00f215d4a9da: Pull complete [2024-10-01T01:54:41.945Z] d496ad576159: Pull complete [2024-10-01T01:54:41.945Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-01T01:54:41.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-01T01:54:41.945Z] ---> f246e2811388 [2024-10-01T01:54:41.945Z] Step 3/10 : ARG MAKE=make build [2024-10-01T01:54:42.920Z] ---> Running in 4993f2faa120 [2024-10-01T01:54:43.188Z] Removing intermediate container 4993f2faa120 [2024-10-01T01:54:43.188Z] ---> 067039d0311c [2024-10-01T01:54:43.188Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-01T01:54:43.188Z] ---> Running in 7b021bad0395 [2024-10-01T01:54:43.455Z] Removing intermediate container 7b021bad0395 [2024-10-01T01:54:43.455Z] ---> 98b0dbd9d354 [2024-10-01T01:54:43.455Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T01:54:43.455Z] ---> Running in 9687963a0124 [2024-10-01T01:54:43.723Z] Removing intermediate container 9687963a0124 [2024-10-01T01:54:43.723Z] ---> 6572a6d3c22f [2024-10-01T01:54:43.723Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-01T01:54:43.989Z] ---> Running in dbe2fd7df09f [2024-10-01T01:54:44.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T01:54:45.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T01:54:46.204Z] OK: 266 MiB in 52 packages [2024-10-01T01:54:47.168Z] Removing intermediate container dbe2fd7df09f [2024-10-01T01:54:47.168Z] ---> 45b97579c111 [2024-10-01T01:54:47.168Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-01T01:54:48.601Z] ---> 6ad29883022d [2024-10-01T01:54:48.601Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T01:54:48.601Z] ---> Running in 97e0c3cc78bb [2024-10-01T01:56:55.265Z] Removing intermediate container 97e0c3cc78bb [2024-10-01T01:56:55.265Z] ---> a38a793ad444 [2024-10-01T01:56:55.265Z] Step 9/10 : COPY . . [2024-10-01T01:56:55.265Z] ---> fd23981c3a0a [2024-10-01T01:56:55.265Z] Step 10/10 : RUN ${MAKE} [2024-10-01T01:56:55.265Z] ---> Running in 64848e20444d [2024-10-01T01:56:55.265Z] noop [2024-10-01T01:56:55.265Z] Removing intermediate container 64848e20444d [2024-10-01T01:56:55.265Z] ---> ae2c7e958784 [2024-10-01T01:56:55.265Z] Successfully built ae2c7e958784 [2024-10-01T01:56:55.265Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:56:55.633Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T01:56:55.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:56:55.857Z] prd-ubuntu20.04-docker-arm64-4c-16g-12178 does not seem to be running inside a container [2024-10-01T01:56:55.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T01:56:57.422Z] $ docker top ad4b11f30c3edd02d132682355918565a039bc1950ff1b4437c0d3933fee8ded -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:56:58.281Z] + go version [2024-10-01T01:56:58.281Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-01T01:56:58.301Z] $ docker stop --time=1 ad4b11f30c3edd02d132682355918565a039bc1950ff1b4437c0d3933fee8ded [2024-10-01T01:56:59.974Z] $ docker rm -f --volumes ad4b11f30c3edd02d132682355918565a039bc1950ff1b4437c0d3933fee8ded [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:57:00.536Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T01:57:00.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:57:00.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-12178 does not seem to be running inside a container [2024-10-01T01:57:00.806Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T01:57:02.002Z] $ docker top abe298f0b128241618da481b4cdd509ba087a3bca889812fee5d2ce76852c2d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:57:02.845Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2024-10-01T01:57:03.502Z] + make test [2024-10-01T01:57:03.502Z] go test -race -coverprofile=coverage.out ./... [2024-10-01T01:57:50.391Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-01T02:01:12.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-01T02:01:12.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-01T02:01:12.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-01T02:01:12.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-01T02:01:12.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-01T02:01:13.587Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.113s coverage: 26.0% of statements [2024-10-01T02:01:18.933Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.170s coverage: 79.4% of statements [2024-10-01T02:01:24.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-01T02:01:24.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-01T02:01:25.357Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.230s coverage: 86.0% of statements [2024-10-01T02:01:30.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-01T02:01:31.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.416s coverage: 45.2% of statements [2024-10-01T02:01:34.791Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.145s coverage: 14.1% of statements [2024-10-01T02:01:35.374Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.861s coverage: 44.6% of statements [2024-10-01T02:01:36.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-01T02:01:36.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-01T02:01:36.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-01T02:01:37.737Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.306s coverage: 68.5% of statements [2024-10-01T02:01:42.007Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.362s coverage: 89.2% of statements [2024-10-01T02:01:45.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-01T02:01:45.932Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.237s coverage: 5.3% of statements [2024-10-01T02:01:47.339Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-01T02:01:47.339Z] GO111MODULE=on go vet ./... [2024-10-01T02:05:54.491Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T02:05:54.491Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T02:05:54.491Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-01T02:05:54.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T02:05:54.537Z] $ docker stop --time=1 abe298f0b128241618da481b4cdd509ba087a3bca889812fee5d2ce76852c2d4 [2024-10-01T02:05:56.512Z] $ docker rm -f --volumes abe298f0b128241618da481b4cdd509ba087a3bca889812fee5d2ce76852c2d4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T02:05:58.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T02:05:58.875Z] Warning: overwriting stash ‘coverage-report’ [2024-10-01T02:05:59.535Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T02:05:59.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T02:06:00.269Z] + ls -al . [2024-10-01T02:06:00.269Z] total 380 [2024-10-01T02:06:00.269Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 01:57 . [2024-10-01T02:06:00.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:53 .. [2024-10-01T02:06:00.269Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 01:53 .dockerignore [2024-10-01T02:06:00.269Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 01:53 .git [2024-10-01T02:06:00.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:53 .github [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 01:53 .gitignore [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 01:53 .golangci.yml [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 01:53 CHANGELOG.md [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 01:53 GOVERNANCE.md [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 01:53 Jenkinsfile [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 01:53 LICENSE [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 01:53 Makefile [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 01:53 OWNERS.md [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 01:53 README.md [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 01:49 VERSION [2024-10-01T02:06:00.270Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 01:53 bin [2024-10-01T02:06:00.270Z] -rw-r--r-- 1 jenkins jenkins 128347 Oct 1 02:01 coverage.out [2024-10-01T02:06:00.270Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 01:53 example [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 6985 Oct 1 01:53 go.mod [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 101462 Oct 1 01:53 go.sum [2024-10-01T02:06:00.270Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 01:53 internal [2024-10-01T02:06:00.270Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:53 openapi [2024-10-01T02:06:00.270Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 01:53 pkg [2024-10-01T02:06:00.270Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:53 snap [2024-10-01T02:06:00.270Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 01:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T02:06:00.632Z] + 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=7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 --label arch=arm64 --label version=0.0.0 . [2024-10-01T02:06:01.220Z] Sending build context to Docker daemon 13.26MB [2024-10-01T02:06:01.220Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T02:06:01.220Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-01T02:06:01.220Z] ---> ae2c7e958784 [2024-10-01T02:06:01.220Z] Step 3/24 : ARG MAKE=make build [2024-10-01T02:06:01.487Z] ---> Running in 84e61db71adf [2024-10-01T02:06:01.756Z] Removing intermediate container 84e61db71adf [2024-10-01T02:06:01.756Z] ---> 4366d4bb97b7 [2024-10-01T02:06:01.756Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-01T02:06:02.027Z] ---> Running in 29e4061efc4e [2024-10-01T02:06:02.296Z] Removing intermediate container 29e4061efc4e [2024-10-01T02:06:02.296Z] ---> 0c5e098998dc [2024-10-01T02:06:02.296Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T02:06:02.296Z] ---> Running in e2720de9d9e9 [2024-10-01T02:06:02.566Z] Removing intermediate container e2720de9d9e9 [2024-10-01T02:06:02.566Z] ---> faad04b81e50 [2024-10-01T02:06:02.566Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-01T02:06:02.836Z] ---> Running in daed322c2d07 [2024-10-01T02:06:03.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T02:06:04.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T02:06:05.339Z] OK: 266 MiB in 52 packages [2024-10-01T02:06:06.311Z] Removing intermediate container daed322c2d07 [2024-10-01T02:06:06.311Z] ---> 3fc072a08f9d [2024-10-01T02:06:06.311Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-01T02:06:06.580Z] ---> 5343a0c90673 [2024-10-01T02:06:06.580Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T02:06:06.855Z] ---> Running in afdb3114f959 [2024-10-01T02:06:09.433Z] Removing intermediate container afdb3114f959 [2024-10-01T02:06:09.433Z] ---> 52a8db268ffb [2024-10-01T02:06:09.433Z] Step 9/24 : COPY . . [2024-10-01T02:06:10.846Z] ---> f0bab31b98bc [2024-10-01T02:06:10.846Z] Step 10/24 : RUN ${MAKE} [2024-10-01T02:06:10.846Z] ---> Running in 6e1f8581b36b [2024-10-01T02:06:11.811Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-01T02:10:03.615Z] Removing intermediate container 6e1f8581b36b [2024-10-01T02:10:03.615Z] ---> 4564fe904719 [2024-10-01T02:10:03.615Z] Step 11/24 : FROM alpine:3.18 [2024-10-01T02:10:03.615Z] 3.18: Pulling from library/alpine [2024-10-01T02:10:03.615Z] 720f3032cd11: Pulling fs layer [2024-10-01T02:10:03.615Z] 720f3032cd11: Verifying Checksum [2024-10-01T02:10:03.615Z] 720f3032cd11: Download complete [2024-10-01T02:10:03.615Z] 720f3032cd11: Pull complete [2024-10-01T02:10:03.615Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T02:10:03.615Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T02:10:03.615Z] ---> 3e834921e367 [2024-10-01T02:10:03.615Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-01T02:10:03.615Z] ---> Running in 2153ed8f73f6 [2024-10-01T02:10:03.615Z] Removing intermediate container 2153ed8f73f6 [2024-10-01T02:10:03.615Z] ---> d122610c1e74 [2024-10-01T02:10:03.615Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-01T02:10:03.615Z] ---> Running in fb2b306437a3 [2024-10-01T02:10:03.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T02:10:03.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T02:10:03.615Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T02:10:03.615Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T02:10:03.615Z] OK: 8 MiB in 16 packages [2024-10-01T02:10:03.615Z] Removing intermediate container fb2b306437a3 [2024-10-01T02:10:03.615Z] ---> 573e2ca6e403 [2024-10-01T02:10:03.615Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-01T02:10:03.615Z] ---> Running in 2c00f4735c17 [2024-10-01T02:10:03.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T02:10:03.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T02:10:03.615Z] OK: 8 MiB in 16 packages [2024-10-01T02:10:03.615Z] Removing intermediate container 2c00f4735c17 [2024-10-01T02:10:03.615Z] ---> 059b8f53f62f [2024-10-01T02:10:03.615Z] Step 15/24 : WORKDIR / [2024-10-01T02:10:03.615Z] ---> Running in cf3dd3b4fbf6 [2024-10-01T02:10:03.615Z] Removing intermediate container cf3dd3b4fbf6 [2024-10-01T02:10:03.615Z] ---> fff4c0c1dc94 [2024-10-01T02:10:03.615Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-01T02:10:03.615Z] ---> 875e029bb96b [2024-10-01T02:10:03.615Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-01T02:10:03.615Z] ---> cf767e6c101d [2024-10-01T02:10:03.615Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-01T02:10:03.615Z] ---> 2a6161102eb2 [2024-10-01T02:10:03.615Z] Step 19/24 : EXPOSE 59999 [2024-10-01T02:10:03.615Z] ---> Running in 42d0f2e9d425 [2024-10-01T02:10:03.615Z] Removing intermediate container 42d0f2e9d425 [2024-10-01T02:10:03.615Z] ---> 2e73ed1685be [2024-10-01T02:10:03.615Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-01T02:10:03.615Z] ---> Running in ea96c0fd66d8 [2024-10-01T02:10:03.615Z] Removing intermediate container ea96c0fd66d8 [2024-10-01T02:10:03.615Z] ---> 041748988f5f [2024-10-01T02:10:03.615Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-01T02:10:03.615Z] ---> Running in 7b6a2d76f48b [2024-10-01T02:10:03.615Z] Removing intermediate container 7b6a2d76f48b [2024-10-01T02:10:03.615Z] ---> 47e6ecad8964 [2024-10-01T02:10:03.615Z] Step 22/24 : LABEL arch=arm64 [2024-10-01T02:10:03.885Z] ---> Running in f5e8e7ce5519 [2024-10-01T02:10:04.156Z] Removing intermediate container f5e8e7ce5519 [2024-10-01T02:10:04.156Z] ---> a3ff21dd5234 [2024-10-01T02:10:04.156Z] Step 23/24 : LABEL git_sha=7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [2024-10-01T02:10:04.156Z] ---> Running in 7b3e353bf7de [2024-10-01T02:10:04.423Z] Removing intermediate container 7b3e353bf7de [2024-10-01T02:10:04.423Z] ---> 4b126cd43630 [2024-10-01T02:10:04.423Z] Step 24/24 : LABEL version=0.0.0 [2024-10-01T02:10:04.691Z] ---> Running in 1199db8bbf33 [2024-10-01T02:10:04.957Z] Removing intermediate container 1199db8bbf33 [2024-10-01T02:10:04.957Z] ---> 9406930ea9f5 [2024-10-01T02:10:04.957Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T02:10:04.957Z] Successfully built 9406930ea9f5 [2024-10-01T02:10:04.957Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T02:10:05.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T02:10:05.446Z] [2024-10-01T02:10:05.446Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T02:10:05.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T02:10:05.789Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-01T02:10:05.789Z] 8998bd30e6a1: Pulling fs layer [2024-10-01T02:10:05.789Z] 04944245beec: Pulling fs layer [2024-10-01T02:10:05.789Z] 699f458cf7ca: Pulling fs layer [2024-10-01T02:10:05.789Z] 765212b225bb: Pulling fs layer [2024-10-01T02:10:05.789Z] f23df028b6ca: Pulling fs layer [2024-10-01T02:10:05.789Z] d65c8cfc05b1: Pulling fs layer [2024-10-01T02:10:05.789Z] 2437ff75d9bd: Pulling fs layer [2024-10-01T02:10:05.789Z] f23df028b6ca: Waiting [2024-10-01T02:10:05.789Z] d65c8cfc05b1: Waiting [2024-10-01T02:10:05.789Z] 2437ff75d9bd: Waiting [2024-10-01T02:10:05.789Z] 765212b225bb: Waiting [2024-10-01T02:10:06.056Z] 04944245beec: Verifying Checksum [2024-10-01T02:10:06.056Z] 04944245beec: Download complete [2024-10-01T02:10:06.056Z] 765212b225bb: Download complete [2024-10-01T02:10:06.056Z] f23df028b6ca: Verifying Checksum [2024-10-01T02:10:06.056Z] f23df028b6ca: Download complete [2024-10-01T02:10:06.056Z] d65c8cfc05b1: Verifying Checksum [2024-10-01T02:10:06.056Z] d65c8cfc05b1: Download complete [2024-10-01T02:10:06.322Z] 699f458cf7ca: Verifying Checksum [2024-10-01T02:10:06.323Z] 699f458cf7ca: Download complete [2024-10-01T02:10:06.591Z] 8998bd30e6a1: Download complete [2024-10-01T02:10:09.186Z] 2437ff75d9bd: Verifying Checksum [2024-10-01T02:10:09.186Z] 2437ff75d9bd: Download complete [2024-10-01T02:10:11.762Z] 8998bd30e6a1: Pull complete [2024-10-01T02:10:11.762Z] 04944245beec: Pull complete [2024-10-01T02:10:13.711Z] 699f458cf7ca: Pull complete [2024-10-01T02:10:13.711Z] 765212b225bb: Pull complete [2024-10-01T02:10:14.674Z] f23df028b6ca: Pull complete [2024-10-01T02:10:14.943Z] d65c8cfc05b1: Pull complete [2024-10-01T02:10:33.276Z] 2437ff75d9bd: Pull complete [2024-10-01T02:10:33.276Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-01T02:10:33.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T02:10:33.276Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T02:10:33.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-12178 does not seem to be running inside a container [2024-10-01T02:10:33.578Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-01T02:10:36.414Z] $ docker top cfdb90f485a616f74183f68f91e40d531ca2d7158bd3268543289d5e626644f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T02:10:37.249Z] ---> job-cost.sh [2024-10-01T02:10:37.249Z] lf-activate-venv: SKIPPING [2024-10-01T02:10:37.249Z] INFO: No Stack... [2024-10-01T02:10:37.514Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-01T02:10:38.487Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T02:10:39.113Z] + cut -d, -f6 [2024-10-01T02:10:39.113Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2024-10-01T02:10:39.166Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-3-stack-cost] [2024-10-01T02:10:39.195Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-3-stack-cost] did not exist. Created. [2024-10-01T02:10:39.213Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T02:10:39.883Z] /w/workspace/device-sdk-go/3@tmp/durable-c4ba390f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-01T02:10:40.558Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-01T02:10:40.584Z] Warning: overwriting stash ‘stack-cost’ [2024-10-01T02:10:40.673Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T02:10:40.729Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T02:10:40.755Z] $ docker stop --time=1 cfdb90f485a616f74183f68f91e40d531ca2d7158bd3268543289d5e626644f8 [2024-10-01T02:10:42.278Z] $ docker rm -f --volumes cfdb90f485a616f74183f68f91e40d531ca2d7158bd3268543289d5e626644f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-01T02:10:42.804Z] provisioning config files... [2024-10-01T02:10:42.810Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config13922194560016964870tmp [Pipeline] { [Pipeline] sh [2024-10-01T02:10:43.122Z] + set +x [2024-10-01T02:10:43.122Z] + curl -s https://codecov.io/bash [2024-10-01T02:10:43.122Z] + bash -s -- [2024-10-01T02:10:43.122Z] [2024-10-01T02:10:43.122Z] _____ _ [2024-10-01T02:10:43.122Z] / ____| | | [2024-10-01T02:10:43.122Z] | | ___ __| | ___ ___ _____ __ [2024-10-01T02:10:43.122Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-01T02:10:43.123Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-01T02:10:43.123Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-01T02:10:43.123Z] Bash-1.0.6 [2024-10-01T02:10:43.123Z] [2024-10-01T02:10:43.123Z] [2024-10-01T02:10:43.123Z] ==> git version 2.25.1 found [2024-10-01T02:10:43.123Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-01T02:10:43.123Z] Release-Date: 2020-01-08 [2024-10-01T02:10:43.123Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-01T02:10:43.123Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-01T02:10:43.123Z] ==> Jenkins CI detected. [2024-10-01T02:10:43.123Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1628 [2024-10-01T02:10:43.123Z] project root: . [2024-10-01T02:10:43.123Z] --> token set from env [2024-10-01T02:10:43.123Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-01T02:10:43.384Z] ==> Running gcov in . (disable via -X gcov) [2024-10-01T02:10:43.384Z] ==> Python coveragepy not found [2024-10-01T02:10:43.384Z] ==> Searching for coverage reports in: [2024-10-01T02:10:43.384Z] + . [2024-10-01T02:10:43.384Z] -> Found 1 reports [2024-10-01T02:10:43.384Z] ==> Detecting git/mercurial file structure [2024-10-01T02:10:43.384Z] ==> Reading reports [2024-10-01T02:10:43.384Z] + ./coverage.out bytes=128347 [2024-10-01T02:10:43.384Z] ==> Appending adjustments [2024-10-01T02:10:43.384Z] https://docs.codecov.io/docs/fixing-reports [2024-10-01T02:10:43.655Z] + Found adjustments [2024-10-01T02:10:43.655Z] ==> Gzipping contents [2024-10-01T02:10:43.655Z] 20K /tmp/codecov.xsMsJh.gz [2024-10-01T02:10:43.655Z] ==> Uploading reports [2024-10-01T02:10:43.655Z] url: https://codecov.io [2024-10-01T02:10:43.655Z] query: branch=PR-1628&commit=7eb1c14b0483b0ae235a397d5607dc5eaf6f1543&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= [2024-10-01T02:10:43.655Z] -> Pinging Codecov [2024-10-01T02:10:43.655Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1628&commit=7eb1c14b0483b0ae235a397d5607dc5eaf6f1543&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= [2024-10-01T02:10:43.922Z] -> Uploading to [2024-10-01T02:10:43.922Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/7eb1c14b0483b0ae235a397d5607dc5eaf6f1543/fdfae7b0-53b4-4d43-a9e1-992300983745.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241001%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241001T021043Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=8a27cbeb2360c01584ea62cb93abe7dcfcf93d9a138e7a30279ed3190c4922cb [2024-10-01T02:10:43.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T02:10:43.922Z] Dload Upload Total Spent Left Speed [2024-10-01T02:10:44.182Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17713 0 0 100 17713 0 68389 --:--:-- --:--:-- --:--:-- 68655 [2024-10-01T02:10:44.182Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7eb1c14b0483b0ae235a397d5607dc5eaf6f1543 [Pipeline] } [2024-10-01T02:10:44.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-01T02:10:45.115Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives ] [2024-10-01T02:10:45.115Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-10-01T02:10:45.115Z] total 16 [2024-10-01T02:10:45.115Z] drwxr-xr-x 3 root root 4096 Oct 1 01:52 . [2024-10-01T02:10:45.115Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 01:53 .. [2024-10-01T02:10:45.115Z] drwxr-xr-x 2 root root 4096 Oct 1 01:52 cost [2024-10-01T02:10:45.115Z] -rw-r--r-- 1 root root 86 Oct 1 01:52 cost.csv [2024-10-01T02:10:45.115Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-10-01T02:10:45.115Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-10-01T02:10:45.115Z] total 16 [2024-10-01T02:10:45.115Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 01:52 . [2024-10-01T02:10:45.115Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 01:53 .. [2024-10-01T02:10:45.115Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 01:52 cost [2024-10-01T02:10:45.115Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 1 01:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-01T02:10:45.428Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T02:10:46.322Z] ---> package-listing.sh [2024-10-01T02:10:46.323Z] ++ facter osfamily [2024-10-01T02:10:46.323Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-01T02:10:46.323Z] + OS_FAMILY=debian [2024-10-01T02:10:46.323Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1628 [2024-10-01T02:10:46.323Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-01T02:10:46.323Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-01T02:10:46.323Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-01T02:10:46.323Z] + PACKAGES=/tmp/packages_start.txt [2024-10-01T02:10:46.323Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' [2024-10-01T02:10:46.323Z] + PACKAGES=/tmp/packages_end.txt [2024-10-01T02:10:46.323Z] + case "${OS_FAMILY}" in [2024-10-01T02:10:46.323Z] + dpkg -l [2024-10-01T02:10:46.323Z] + grep '^ii' [2024-10-01T02:10:46.581Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-01T02:10:46.581Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-01T02:10:46.581Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-01T02:10:46.581Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' [2024-10-01T02:10:46.581Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ [2024-10-01T02:10:46.581Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ [Pipeline] echo [2024-10-01T02:10:46.598Z] 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-1628/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-01T02:10:46.934Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T02:10:47.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T02:10:47.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T02:11:12.539Z] prd-ubuntu20.04-docker-8c-8g-12176 does not seem to be running inside a container [2024-10-01T02:11:12.565Z] $ 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-1628/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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-01T02:11:12.761Z] $ docker top d07bdeb4115ca3f67dfa8ebe9979fd799f4c23a0200cdf73efd3679cfc07676d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T02:11:13.103Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-01T02:11:13.390Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-01T02:11:13.674Z] + ls /var/log/sa-host [2024-10-01T02:11:13.674Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T02:11:13.954Z] provisioning config files... [2024-10-01T02:11:13.964Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config253093807900944887tmp [Pipeline] { [Pipeline] echo [2024-10-01T02:11:13.981Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T02:11:14.265Z] ---> create-netrc.sh [Pipeline] } [2024-10-01T02:11:14.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-01T02:11:14.632Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-01T02:11:14.645Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T02:11:14.931Z] ---> sudo-logs.sh [2024-10-01T02:11:14.931Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-01T02:11:14.967Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T02:11:15.253Z] ---> job-cost.sh [2024-10-01T02:11:15.253Z] lf-activate-venv: SKIPPING [2024-10-01T02:11:15.253Z] DEBUG: total: 0.2199999988079071 [2024-10-01T02:11:15.253Z] INFO: Retrieving Stack Cost... [2024-10-01T02:11:15.824Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T02:11:16.112Z] INFO: Archiving Costs [Pipeline] echo [2024-10-01T02:11:16.126Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T02:11:16.411Z] ---> logs-deploy.sh [2024-10-01T02:11:16.411Z] lf-activate-venv: SKIPPING [2024-10-01T02:11:16.411Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1628/3 [2024-10-01T02:11:16.411Z] INFO: archiving workspace using pattern(s): [2024-10-01T02:11:17.346Z] Archives upload complete. [2024-10-01T02:11:17.346Z] INFO: archiving logs to Nexus