Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 25609c649f9c186cb9ea36c0446132d2c7203020+50dd63d392f370c86a33393d79501a04f0565adc (afbba65f6f942c5ba01bf53ab43393837cd3e8af) 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-ssh14813728762825527320.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh10803373504830558936.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1539/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-1539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1185005758707923877.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh835674850784585253.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-1539/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-1539/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8864377569460657275.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-229 in /w/workspace/gexfoundry_device-sdk-go_PR-1539 [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-1539 # 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/1539/head:refs/remotes/origin/PR-1539 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 50dd63d392f370c86a33393d79501a04f0565adc into PR head commit 25609c649f9c186cb9ea36c0446132d2c7203020 Merge succeeded, producing b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a Checking out Revision b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a (PR-1539) > git config core.sparsecheckout # timeout=10 > git checkout -f 25609c649f9c186cb9ea36c0446132d2c7203020 # 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 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a # timeout=10 Commit message: "Merge commit '50dd63d392f370c86a33393d79501a04f0565adc' into HEAD" > git rev-list --no-walk 25609c649f9c186cb9ea36c0446132d2c7203020 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-19T18:42:50.759Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-19T18:42:50.831Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-19T18:42:50.859Z] ========================================================= [2023-11-19T18:42:50.859Z] EdgeX Global Pipelines Version Info [2023-11-19T18:42:50.859Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:42:51.592Z] ------------------- [2023-11-19T18:42:51.592Z] stable info: [2023-11-19T18:42:51.592Z] ------------------- [2023-11-19T18:42:51.592Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-19T18:42:51.592Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-19T18:42:51.592Z] Message: update stable to v1.0.258 [2023-11-19T18:42:52.162Z] ------------------- [2023-11-19T18:42:52.162Z] experimental info: [2023-11-19T18:42:52.162Z] ------------------- [2023-11-19T18:42:52.162Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-19T18:42:52.162Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-19T18:42:52.162Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-19T18:42:52.245Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-19T18:42:52.270Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-19T18:42:52.298Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-19T18:42:52.328Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-19T18:42:52.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-19T18:42:52.388Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-19T18:42:52.419Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-19T18:42:52.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-19T18:42:52.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-19T18:42:52.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-19T18:42:52.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-19T18:42:52.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-19T18:42:52.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-19T18:42:52.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-19T18:42:52.649Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-19T18:42:52.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T18:42:52.701Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T18:42:52.732Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T18:42:52.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-19T18:42:52.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-19T18:42:52.833Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-19T18:42:52.869Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-19T18:42:52.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-19T18:42:52.940Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-19T18:42:52.978Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-19T18:42:53.015Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-19T18:42:53.063Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-19T18:42:53.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1539 [Pipeline] echo [2023-11-19T18:42:53.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1539 [Pipeline] echo [2023-11-19T18:42:53.187Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1539 [Pipeline] echo [2023-11-19T18:42:53.227Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a [Pipeline] echo [2023-11-19T18:42:53.272Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0daeff [Pipeline] echo [2023-11-19T18:42:53.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T18:42:53.403Z] provisioning config files... [2023-11-19T18:42:53.419Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/config15489636220878084513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:42:53.762Z] ---> ****-login.sh [2023-11-19T18:42:53.762Z] nexus3.edgexfoundry.org:10001 [2023-11-19T18:42:54.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:54.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:54.023Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:54.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:54.023Z] [2023-11-19T18:42:54.023Z] Login Succeeded [2023-11-19T18:42:54.023Z] nexus3.edgexfoundry.org:10002 [2023-11-19T18:42:54.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:54.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:54.023Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:54.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:54.023Z] [2023-11-19T18:42:54.023Z] Login Succeeded [2023-11-19T18:42:54.023Z] nexus3.edgexfoundry.org:10003 [2023-11-19T18:42:54.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:54.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:54.284Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:54.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:54.284Z] [2023-11-19T18:42:54.284Z] Login Succeeded [2023-11-19T18:42:54.284Z] nexus3.edgexfoundry.org:10004 [2023-11-19T18:42:54.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:54.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:54.284Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:54.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:54.284Z] [2023-11-19T18:42:54.284Z] Login Succeeded [2023-11-19T18:42:54.544Z] ****.io [2023-11-19T18:42:54.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:54.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:54.804Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:54.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:54.804Z] [2023-11-19T18:42:54.804Z] Login Succeeded [2023-11-19T18:42:54.804Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T18:42:54.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-19T18:42:55.309Z] + git rev-list -1 --merges b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a~1..b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a [Pipeline] echo [2023-11-19T18:42:55.335Z] -----------> git rev-list -1 --merges b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a~1..b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a [2023-11-19T18:42:55.335Z] b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a [false] [Pipeline] sh [2023-11-19T18:42:55.636Z] + git log --format=format:%s -1 b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a [Pipeline] echo [2023-11-19T18:42:55.650Z] ========================================================= [2023-11-19T18:42:55.650Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-19T18:42:55.650Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T18:42:56.022Z] + git log --format=format:%s -1 b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a [Pipeline] echo [2023-11-19T18:42:56.032Z] [semverPrep] GIT_COMMIT: b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a, Commit Message: Merge commit '50dd63d392f370c86a33393d79501a04f0565adc' into HEAD [Pipeline] echo [2023-11-19T18:42:56.056Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-19T18:42:56.422Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-19T18:42:56.422Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-19T18:42:56.422Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-19T18:42:56.422Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-19T18:42:56.422Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-19T18:42:56.422Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-19T18:42:56.422Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:42:56.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T18:42:56.777Z] [2023-11-19T18:42:56.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:42:57.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T18:42:57.095Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-19T18:42:57.095Z] b85a868b505f: Pulling fs layer [2023-11-19T18:42:57.095Z] e2be974225ed: Pulling fs layer [2023-11-19T18:42:57.095Z] 339a4e72a1f5: Pulling fs layer [2023-11-19T18:42:57.095Z] 988bab9f4d93: Pulling fs layer [2023-11-19T18:42:57.095Z] 1469e6f7b9e6: Pulling fs layer [2023-11-19T18:42:57.095Z] eaf3925da568: Pulling fs layer [2023-11-19T18:42:57.095Z] bab4dde63d76: Pulling fs layer [2023-11-19T18:42:57.095Z] bde34c3a00c8: Pulling fs layer [2023-11-19T18:42:57.095Z] b352a97aabf1: Pulling fs layer [2023-11-19T18:42:57.095Z] 4872d77fe225: Pulling fs layer [2023-11-19T18:42:57.095Z] 5851b861e8e6: Pulling fs layer [2023-11-19T18:42:57.095Z] 988bab9f4d93: Waiting [2023-11-19T18:42:57.095Z] 1469e6f7b9e6: Waiting [2023-11-19T18:42:57.095Z] eaf3925da568: Waiting [2023-11-19T18:42:57.095Z] bab4dde63d76: Waiting [2023-11-19T18:42:57.095Z] bde34c3a00c8: Waiting [2023-11-19T18:42:57.095Z] b352a97aabf1: Waiting [2023-11-19T18:42:57.095Z] 4872d77fe225: Waiting [2023-11-19T18:42:57.095Z] 5851b861e8e6: Waiting [2023-11-19T18:42:57.095Z] e2be974225ed: Download complete [2023-11-19T18:42:57.095Z] 988bab9f4d93: Verifying Checksum [2023-11-19T18:42:57.095Z] 988bab9f4d93: Download complete [2023-11-19T18:42:57.095Z] 339a4e72a1f5: Verifying Checksum [2023-11-19T18:42:57.095Z] 339a4e72a1f5: Download complete [2023-11-19T18:42:57.095Z] 1469e6f7b9e6: Download complete [2023-11-19T18:42:57.357Z] eaf3925da568: Verifying Checksum [2023-11-19T18:42:57.357Z] eaf3925da568: Download complete [2023-11-19T18:42:57.357Z] bde34c3a00c8: Verifying Checksum [2023-11-19T18:42:57.357Z] bde34c3a00c8: Download complete [2023-11-19T18:42:57.357Z] b352a97aabf1: Verifying Checksum [2023-11-19T18:42:57.357Z] b352a97aabf1: Download complete [2023-11-19T18:42:57.357Z] 4872d77fe225: Verifying Checksum [2023-11-19T18:42:57.357Z] 4872d77fe225: Download complete [2023-11-19T18:42:57.357Z] b85a868b505f: Verifying Checksum [2023-11-19T18:42:57.357Z] b85a868b505f: Download complete [2023-11-19T18:42:57.618Z] bab4dde63d76: Verifying Checksum [2023-11-19T18:42:57.618Z] bab4dde63d76: Download complete [2023-11-19T18:42:58.555Z] b85a868b505f: Pull complete [2023-11-19T18:42:58.814Z] e2be974225ed: Pull complete [2023-11-19T18:42:59.073Z] 339a4e72a1f5: Pull complete [2023-11-19T18:42:59.335Z] 988bab9f4d93: Pull complete [2023-11-19T18:42:59.597Z] 1469e6f7b9e6: Pull complete [2023-11-19T18:42:59.597Z] eaf3925da568: Pull complete [2023-11-19T18:43:01.516Z] bab4dde63d76: Pull complete [2023-11-19T18:43:01.516Z] bde34c3a00c8: Pull complete [2023-11-19T18:43:01.516Z] b352a97aabf1: Pull complete [2023-11-19T18:43:01.516Z] 4872d77fe225: Pull complete [2023-11-19T18:43:01.516Z] 5851b861e8e6: Pull complete [2023-11-19T18:43:01.516Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-19T18:43:01.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T18:43:01.516Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:43:01.706Z] prd-ubuntu20.04-docker-8c-8g-229 does not seem to be running inside a container [2023-11-19T18:43:01.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-19T18:43:04.822Z] $ docker top aa58000d3c99a1041f8a2430b963f2c542c358a7eba4d07599c1237a72b2de5f -eo pid,comm [2023-11-19T18:43:04.872Z] 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). [2023-11-19T18:43:04.872Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-19T18:43:04.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T18:43:04.961Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T18:43:05.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T18:43:05.099Z] $ docker exec aa58000d3c99a1041f8a2430b963f2c542c358a7eba4d07599c1237a72b2de5f ssh-agent [2023-11-19T18:43:05.202Z] SSH_AUTH_SOCK=/tmp/ssh-THyRarmJKudd/agent.31 [2023-11-19T18:43:05.202Z] SSH_AGENT_PID=37 [2023-11-19T18:43:05.208Z] Running ssh-add (command line suppressed) [2023-11-19T18:43:05.318Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/private_key_7545650505185169257.key (/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/private_key_7545650505185169257.key) [2023-11-19T18:43:05.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T18:43:05.635Z] + git tag --points-at HEAD [Pipeline] } [2023-11-19T18:43:05.654Z] $ docker exec --env ******** --env ******** aa58000d3c99a1041f8a2430b963f2c542c358a7eba4d07599c1237a72b2de5f ssh-agent -k [2023-11-19T18:43:05.745Z] unset SSH_AUTH_SOCK; [2023-11-19T18:43:05.746Z] unset SSH_AGENT_PID; [2023-11-19T18:43:05.746Z] echo Agent pid 37 killed; [2023-11-19T18:43:05.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-19T18:43:05.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T18:43:05.822Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T18:43:05.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T18:43:05.945Z] $ docker exec aa58000d3c99a1041f8a2430b963f2c542c358a7eba4d07599c1237a72b2de5f ssh-agent [2023-11-19T18:43:06.035Z] SSH_AUTH_SOCK=/tmp/ssh-9KEgpxdEG1io/agent.70 [2023-11-19T18:43:06.035Z] SSH_AGENT_PID=76 [2023-11-19T18:43:06.040Z] Running ssh-add (command line suppressed) [2023-11-19T18:43:06.137Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/private_key_7021798203924096044.key (/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/private_key_7021798203924096044.key) [2023-11-19T18:43:06.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T18:43:06.454Z] + git semver init [2023-11-19T18:43:06.714Z] 2023-11-19 18:43:06,616 [run_init] DEBUG init version:0.0.0 force:False [2023-11-19T18:43:06.714Z] 2023-11-19 18:43:06,617 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver [2023-11-19T18:43:06.715Z] 2023-11-19 18:43:06,617 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver [2023-11-19T18:43:06.715Z] 2023-11-19 18:43:06,617 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1539, universal_newlines=False, shell=None, istream=None) [2023-11-19T18:43:08.097Z] 2023-11-19 18:43:07,825 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539/.git/info/exclude [2023-11-19T18:43:08.097Z] 2023-11-19 18:43:07,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver/PR-1539 with force:False [2023-11-19T18:43:08.097Z] 2023-11-19 18:43:07,826 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver/PR-1539 [2023-11-19T18:43:08.097Z] 2023-11-19 18:43:07,830 [execute] INFO git cat-file --batch-check [2023-11-19T18:43:08.097Z] 2023-11-19 18:43:07,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T18:43:08.097Z] 2023-11-19 18:43:07,836 [execute] INFO git cat-file --batch [2023-11-19T18:43:08.097Z] 2023-11-19 18:43:07,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T18:43:08.097Z] 2023-11-19 18:43:07,841 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver/PR-1539 [2023-11-19T18:43:08.097Z] 0.0.0 [Pipeline] } [2023-11-19T18:43:08.112Z] $ docker exec --env ******** --env ******** aa58000d3c99a1041f8a2430b963f2c542c358a7eba4d07599c1237a72b2de5f ssh-agent -k [2023-11-19T18:43:08.216Z] unset SSH_AUTH_SOCK; [2023-11-19T18:43:08.219Z] unset SSH_AGENT_PID; [2023-11-19T18:43:08.219Z] echo Agent pid 76 killed; [2023-11-19T18:43:08.220Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-19T18:43:08.603Z] + git semver [Pipeline] } [2023-11-19T18:43:08.887Z] $ docker stop --time=1 aa58000d3c99a1041f8a2430b963f2c542c358a7eba4d07599c1237a72b2de5f [2023-11-19T18:43:10.158Z] $ docker rm -f --volumes aa58000d3c99a1041f8a2430b963f2c542c358a7eba4d07599c1237a72b2de5f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T18:43:10.530Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-19T18:43:10.805Z] Stashed 1 file(s) [Pipeline] echo [2023-11-19T18:43:10.809Z] [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 [2023-11-19T18:43:11.166Z] provisioning config files... [2023-11-19T18:43:11.178Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/config10878973975750837132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:43:11.501Z] ---> ****-login.sh [2023-11-19T18:43:11.501Z] nexus3.edgexfoundry.org:10001 [2023-11-19T18:43:11.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:43:11.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:43:11.501Z] Configure a credential helper to remove this warning. See [2023-11-19T18:43:11.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:43:11.501Z] [2023-11-19T18:43:11.501Z] Login Succeeded [2023-11-19T18:43:11.501Z] nexus3.edgexfoundry.org:10002 [2023-11-19T18:43:11.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:43:11.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:43:11.501Z] Configure a credential helper to remove this warning. See [2023-11-19T18:43:11.501Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:43:11.501Z] [2023-11-19T18:43:11.501Z] Login Succeeded [2023-11-19T18:43:11.501Z] nexus3.edgexfoundry.org:10003 [2023-11-19T18:43:11.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:43:11.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:43:11.762Z] Configure a credential helper to remove this warning. See [2023-11-19T18:43:11.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:43:11.762Z] [2023-11-19T18:43:11.762Z] Login Succeeded [2023-11-19T18:43:11.762Z] nexus3.edgexfoundry.org:10004 [2023-11-19T18:43:11.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:43:11.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:43:11.762Z] Configure a credential helper to remove this warning. See [2023-11-19T18:43:11.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:43:11.762Z] [2023-11-19T18:43:11.762Z] Login Succeeded [2023-11-19T18:43:11.762Z] ****.io [2023-11-19T18:43:12.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:43:12.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:43:12.022Z] Configure a credential helper to remove this warning. See [2023-11-19T18:43:12.022Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:43:12.022Z] [2023-11-19T18:43:12.022Z] Login Succeeded [2023-11-19T18:43:12.022Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T18:43:12.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-19T18:43:12.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T18:43:12.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T18:43:12.265Z] ========================================================= [2023-11-19T18:43:12.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-19T18:43:12.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:43:12.662Z] + 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 . [2023-11-19T18:43:12.662Z] Sending build context to Docker daemon 21.94MB [2023-11-19T18:43:12.662Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T18:43:12.662Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-19T18:43:12.922Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-19T18:43:12.922Z] 7264a8db6415: Pulling fs layer [2023-11-19T18:43:12.922Z] c4d48a809fc2: Pulling fs layer [2023-11-19T18:43:12.922Z] 4f1c88b9dad5: Pulling fs layer [2023-11-19T18:43:12.922Z] ad3a456e5733: Pulling fs layer [2023-11-19T18:43:12.922Z] 69c7f0334f64: Pulling fs layer [2023-11-19T18:43:12.922Z] 1f1c1a5573a3: Pulling fs layer [2023-11-19T18:43:12.922Z] ce7588e14bc9: Pulling fs layer [2023-11-19T18:43:12.922Z] b5e4710f87ac: Pulling fs layer [2023-11-19T18:43:12.922Z] 69c7f0334f64: Waiting [2023-11-19T18:43:12.922Z] 1f1c1a5573a3: Waiting [2023-11-19T18:43:12.922Z] b5e4710f87ac: Waiting [2023-11-19T18:43:12.922Z] ad3a456e5733: Waiting [2023-11-19T18:43:12.922Z] ce7588e14bc9: Waiting [2023-11-19T18:43:12.922Z] c4d48a809fc2: Verifying Checksum [2023-11-19T18:43:12.922Z] c4d48a809fc2: Download complete [2023-11-19T18:43:12.922Z] ad3a456e5733: Verifying Checksum [2023-11-19T18:43:12.922Z] ad3a456e5733: Download complete [2023-11-19T18:43:12.922Z] 69c7f0334f64: Verifying Checksum [2023-11-19T18:43:12.922Z] 69c7f0334f64: Download complete [2023-11-19T18:43:12.922Z] 7264a8db6415: Verifying Checksum [2023-11-19T18:43:12.922Z] 7264a8db6415: Download complete [2023-11-19T18:43:12.922Z] 1f1c1a5573a3: Verifying Checksum [2023-11-19T18:43:12.922Z] 1f1c1a5573a3: Download complete [2023-11-19T18:43:12.922Z] 7264a8db6415: Pull complete [2023-11-19T18:43:13.182Z] b5e4710f87ac: Verifying Checksum [2023-11-19T18:43:13.182Z] b5e4710f87ac: Download complete [2023-11-19T18:43:13.182Z] c4d48a809fc2: Pull complete [2023-11-19T18:43:13.182Z] 4f1c88b9dad5: Verifying Checksum [2023-11-19T18:43:13.182Z] 4f1c88b9dad5: Download complete [2023-11-19T18:43:13.751Z] ce7588e14bc9: Verifying Checksum [2023-11-19T18:43:13.751Z] ce7588e14bc9: Download complete [2023-11-19T18:43:17.169Z] 4f1c88b9dad5: Pull complete [2023-11-19T18:43:17.169Z] ad3a456e5733: Pull complete [2023-11-19T18:43:17.169Z] 69c7f0334f64: Pull complete [2023-11-19T18:43:17.169Z] 1f1c1a5573a3: Pull complete [2023-11-19T18:43:19.698Z] ce7588e14bc9: Pull complete [2023-11-19T18:43:19.964Z] b5e4710f87ac: Pull complete [2023-11-19T18:43:19.964Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-19T18:43:19.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-19T18:43:19.964Z] ---> 88b5674ff536 [2023-11-19T18:43:19.964Z] Step 3/10 : ARG MAKE=make build [2023-11-19T18:43:24.155Z] ---> Running in fed3d216ec70 [2023-11-19T18:43:24.414Z] Removing intermediate container fed3d216ec70 [2023-11-19T18:43:24.414Z] ---> 2b68029e9693 [2023-11-19T18:43:24.414Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-19T18:43:24.414Z] ---> Running in 7a1dd0b22f58 [2023-11-19T18:43:24.414Z] Removing intermediate container 7a1dd0b22f58 [2023-11-19T18:43:24.414Z] ---> 934fa2d97a1a [2023-11-19T18:43:24.414Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T18:43:24.414Z] ---> Running in 8b6731ae58d0 [2023-11-19T18:43:24.672Z] Removing intermediate container 8b6731ae58d0 [2023-11-19T18:43:24.672Z] ---> 64f76f8f5ce8 [2023-11-19T18:43:24.672Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-19T18:43:24.672Z] ---> Running in 7da24322f7af [2023-11-19T18:43:24.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T18:43:24.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T18:43:25.190Z] OK: 264 MiB in 52 packages [2023-11-19T18:43:25.759Z] Removing intermediate container 7da24322f7af [2023-11-19T18:43:25.759Z] ---> bf1f75ae6def [2023-11-19T18:43:25.759Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-19T18:43:25.759Z] ---> 27669176114d [2023-11-19T18:43:25.759Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T18:43:25.759Z] ---> Running in da0499e70a41 [2023-11-19T18:43:26.073Z] Still waiting to schedule task [2023-11-19T18:43:26.073Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-19T18:44:21.988Z] Removing intermediate container da0499e70a41 [2023-11-19T18:44:21.988Z] ---> 9213ba2441ad [2023-11-19T18:44:21.988Z] Step 9/10 : COPY . . [2023-11-19T18:44:21.988Z] ---> 599e402116a0 [2023-11-19T18:44:21.988Z] Step 10/10 : RUN ${MAKE} [2023-11-19T18:44:21.988Z] ---> Running in fb9f271a5be7 [2023-11-19T18:44:21.988Z] noop [2023-11-19T18:44:21.988Z] Removing intermediate container fb9f271a5be7 [2023-11-19T18:44:21.988Z] ---> 9b9c196b86b8 [2023-11-19T18:44:21.988Z] Successfully built 9b9c196b86b8 [2023-11-19T18:44:21.988Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:44:22.361Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-19T18:44:22.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:44:22.473Z] prd-ubuntu20.04-docker-8c-8g-229 does not seem to be running inside a container [2023-11-19T18:44:22.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-19T18:44:22.864Z] $ docker top 407f104f700ede1ae5494e9e9dd3d07006124aa5d3677490760d4dfe93654a6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:44:23.247Z] + go version [2023-11-19T18:44:23.247Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-19T18:44:23.262Z] $ docker stop --time=1 407f104f700ede1ae5494e9e9dd3d07006124aa5d3677490760d4dfe93654a6e [2023-11-19T18:44:24.529Z] $ docker rm -f --volumes 407f104f700ede1ae5494e9e9dd3d07006124aa5d3677490760d4dfe93654a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:44:25.128Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-19T18:44:25.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:44:25.242Z] prd-ubuntu20.04-docker-8c-8g-229 does not seem to be running inside a container [2023-11-19T18:44:25.278Z] $ 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-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-19T18:44:25.604Z] $ docker top 37950f36367fdf2da93dd7ecdbbc47604949b5d3ef86dd2f45d040d47f00ab81 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:44:26.002Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1539 [Pipeline] fileExists [Pipeline] sh [2023-11-19T18:44:26.323Z] + make test [2023-11-19T18:44:26.323Z] go test -race -coverprofile=coverage.out ./... [2023-11-19T18:44:32.886Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-19T18:44:47.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-19T18:44:47.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-19T18:44:47.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-19T18:44:47.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-19T18:44:47.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-19T18:44:47.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-19T18:44:47.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-19T18:44:47.752Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.046s coverage: 27.6% of statements [2023-11-19T18:44:47.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-19T18:44:47.752Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.053s coverage: 81.5% of statements [2023-11-19T18:44:47.752Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.067s coverage: 86.0% of statements [2023-11-19T18:44:48.685Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.078s coverage: 71.8% of statements [2023-11-19T18:44:48.685Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-19T18:44:48.685Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-19T18:44:48.943Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-19T18:44:52.226Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.054s coverage: 14.4% of statements [2023-11-19T18:44:52.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.419s coverage: 45.6% of statements [2023-11-19T18:44:52.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.086s coverage: 68.5% of statements [2023-11-19T18:44:52.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.109s coverage: 89.2% of statements [2023-11-19T18:44:52.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements [2023-11-19T18:45:10.318Z] GO111MODULE=on go vet ./... [2023-11-19T18:45:13.603Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-19T18:45:13.603Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-19T18:45:13.603Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-19T18:45:13.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-19T18:45:13.654Z] $ docker stop --time=1 37950f36367fdf2da93dd7ecdbbc47604949b5d3ef86dd2f45d040d47f00ab81 [2023-11-19T18:45:18.601Z] $ docker rm -f --volumes 37950f36367fdf2da93dd7ecdbbc47604949b5d3ef86dd2f45d040d47f00ab81 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T18:45:19.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-19T18:45:19.243Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-19T18:45:19.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-19T18:45:20.056Z] + ls -al . [2023-11-19T18:45:20.057Z] total 308 [2023-11-19T18:45:20.057Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 19 18:44 . [2023-11-19T18:45:20.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:42 .. [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 18:42 .dockerignore [2023-11-19T18:45:20.057Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:44 .git [2023-11-19T18:45:20.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:42 .github [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 18:42 .gitignore [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 18:42 .golangci.yml [2023-11-19T18:45:20.057Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 18:43 .semver [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 18:42 CHANGELOG.md [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 18:42 GOVERNANCE.md [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 18:42 Jenkinsfile [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 18:42 LICENSE [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 18:42 Makefile [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 18:42 OWNERS.md [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 18:42 README.md [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 18:43 VERSION [2023-11-19T18:45:20.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:42 bin [2023-11-19T18:45:20.057Z] -rw-r--r-- 1 jenkins jenkins 122156 Nov 19 18:44 coverage.out [2023-11-19T18:45:20.057Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 18:42 example [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 18:42 go.mod [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 18:42 go.sum [2023-11-19T18:45:20.057Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 18:42 internal [2023-11-19T18:45:20.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:42 openapi [2023-11-19T18:45:20.057Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 18:42 pkg [2023-11-19T18:45:20.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:42 snap [2023-11-19T18:45:20.057Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:45:20.413Z] + 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=b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a --label arch=amd64 --label version=0.0.0 . [2023-11-19T18:45:20.413Z] Sending build context to Docker daemon 22.07MB [2023-11-19T18:45:20.413Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T18:45:20.413Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-19T18:45:20.413Z] ---> 9b9c196b86b8 [2023-11-19T18:45:20.413Z] Step 3/23 : ARG MAKE=make build [2023-11-19T18:45:20.673Z] ---> Running in ed12c9a09f5c [2023-11-19T18:45:20.931Z] Removing intermediate container ed12c9a09f5c [2023-11-19T18:45:20.931Z] ---> 51f855e050be [2023-11-19T18:45:20.931Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-19T18:45:20.931Z] ---> Running in a9f61c158bd8 [2023-11-19T18:45:20.931Z] Removing intermediate container a9f61c158bd8 [2023-11-19T18:45:20.931Z] ---> 597025d6065a [2023-11-19T18:45:20.931Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T18:45:20.931Z] ---> Running in 44c22ea033e4 [2023-11-19T18:45:20.931Z] Removing intermediate container 44c22ea033e4 [2023-11-19T18:45:20.931Z] ---> 878714acfc52 [2023-11-19T18:45:20.931Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-19T18:45:20.931Z] ---> Running in 3334c75b88f7 [2023-11-19T18:45:21.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T18:45:21.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T18:45:21.704Z] OK: 264 MiB in 52 packages [2023-11-19T18:45:21.961Z] Removing intermediate container 3334c75b88f7 [2023-11-19T18:45:21.961Z] ---> 2062c509082a [2023-11-19T18:45:21.961Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-19T18:45:21.961Z] ---> 30fff060b7f8 [2023-11-19T18:45:21.961Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T18:45:21.961Z] ---> Running in d01c3c720095 [2023-11-19T18:45:22.527Z] Removing intermediate container d01c3c720095 [2023-11-19T18:45:22.527Z] ---> 12646d2be3af [2023-11-19T18:45:22.527Z] Step 9/23 : COPY . . [2023-11-19T18:45:23.900Z] ---> cea365664d98 [2023-11-19T18:45:23.900Z] Step 10/23 : RUN ${MAKE} [2023-11-19T18:45:23.900Z] ---> Running in aa2f94452ba2 [2023-11-19T18:45:23.900Z] 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 [2023-11-19T18:45:45.817Z] Removing intermediate container aa2f94452ba2 [2023-11-19T18:45:45.817Z] ---> 722252eb916a [2023-11-19T18:45:45.817Z] Step 11/23 : FROM alpine:3.18 [2023-11-19T18:45:45.817Z] 3.18: Pulling from library/alpine [2023-11-19T18:45:45.817Z] 96526aa774ef: Pulling fs layer [2023-11-19T18:45:45.817Z] 96526aa774ef: Verifying Checksum [2023-11-19T18:45:45.817Z] 96526aa774ef: Download complete [2023-11-19T18:45:45.817Z] 96526aa774ef: Pull complete [2023-11-19T18:45:45.817Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-19T18:45:45.817Z] Status: Downloaded newer image for alpine:3.18 [2023-11-19T18:45:45.817Z] ---> 8ca4688f4f35 [2023-11-19T18:45:45.817Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-19T18:45:45.817Z] ---> Running in d76fa14279c5 [2023-11-19T18:45:45.817Z] Removing intermediate container d76fa14279c5 [2023-11-19T18:45:45.817Z] ---> 0963e8efeb6e [2023-11-19T18:45:45.817Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-19T18:45:45.817Z] ---> Running in 737568d79da8 [2023-11-19T18:45:45.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T18:45:45.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T18:45:45.817Z] OK: 7 MiB in 15 packages [2023-11-19T18:45:45.817Z] Removing intermediate container 737568d79da8 [2023-11-19T18:45:45.817Z] ---> 6d078696a156 [2023-11-19T18:45:45.817Z] Step 14/23 : WORKDIR / [2023-11-19T18:45:45.817Z] ---> Running in e80bcad7c1fc [2023-11-19T18:45:45.817Z] Removing intermediate container e80bcad7c1fc [2023-11-19T18:45:45.817Z] ---> 70d808dc95de [2023-11-19T18:45:45.817Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-19T18:45:46.075Z] ---> c970c64b5801 [2023-11-19T18:45:46.075Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-19T18:45:46.226Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-233 in /w/workspace/gexfoundry_device-sdk-go_PR-1539 [Pipeline] { [Pipeline] ws [2023-11-19T18:45:46.264Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-11-19T18:45:47.011Z] ---> 49500f501ee0 [2023-11-19T18:45:47.011Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-19T18:45:47.270Z] ---> 4ec70c583bd0 [2023-11-19T18:45:47.270Z] Step 18/23 : EXPOSE 59999 [2023-11-19T18:45:47.270Z] ---> Running in 44b8cf91af11 [2023-11-19T18:45:47.270Z] Removing intermediate container 44b8cf91af11 [2023-11-19T18:45:47.270Z] ---> feea42271674 [2023-11-19T18:45:47.270Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-19T18:45:47.270Z] ---> Running in 4817e0a9cc4a [2023-11-19T18:45:47.270Z] Removing intermediate container 4817e0a9cc4a [2023-11-19T18:45:47.270Z] ---> e9346cc90050 [2023-11-19T18:45:47.270Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-19T18:45:47.270Z] ---> Running in a8a1f76058d3 [2023-11-19T18:45:47.529Z] Removing intermediate container a8a1f76058d3 [2023-11-19T18:45:47.529Z] ---> 3b8e516e5758 [2023-11-19T18:45:47.529Z] Step 21/23 : LABEL arch=amd64 [2023-11-19T18:45:47.529Z] ---> Running in 2c5cde6884c7 [2023-11-19T18:45:47.529Z] Removing intermediate container 2c5cde6884c7 [2023-11-19T18:45:47.529Z] ---> c1f8c2a56328 [2023-11-19T18:45:47.529Z] Step 22/23 : LABEL git_sha=b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a [2023-11-19T18:45:47.529Z] ---> Running in 50dd888cd55d [2023-11-19T18:45:47.788Z] Removing intermediate container 50dd888cd55d [2023-11-19T18:45:47.788Z] ---> c460df9f093f [2023-11-19T18:45:47.788Z] Step 23/23 : LABEL version=0.0.0 [2023-11-19T18:45:47.788Z] ---> Running in 86d8f7ed297a [2023-11-19T18:45:47.788Z] Removing intermediate container 86d8f7ed297a [2023-11-19T18:45:47.788Z] ---> c3a0ec0f1378 [2023-11-19T18:45:47.788Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-19T18:45:47.789Z] Successfully built c3a0ec0f1378 [2023-11-19T18:45:47.789Z] Successfully tagged device-sdk-simple:latest [2023-11-19T18:45:49.337Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:45:50.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T18:45:50.092Z] [2023-11-19T18:45:50.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:45:50.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T18:45:50.417Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-19T18:45:50.417Z] 5eb5b503b376: Pulling fs layer [2023-11-19T18:45:50.417Z] 5c69ac0246d0: Pulling fs layer [2023-11-19T18:45:50.417Z] ec43610c2a17: Pulling fs layer [2023-11-19T18:45:50.417Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-19T18:45:50.417Z] 33b1e0a273af: Pulling fs layer [2023-11-19T18:45:50.417Z] 5d3b04190fa2: Pulling fs layer [2023-11-19T18:45:50.417Z] 2f39f015ded8: Pulling fs layer [2023-11-19T18:45:50.417Z] 3a2ae6a8a46f: Waiting [2023-11-19T18:45:50.417Z] 33b1e0a273af: Waiting [2023-11-19T18:45:50.417Z] 5d3b04190fa2: Waiting [2023-11-19T18:45:50.417Z] 2f39f015ded8: Waiting [2023-11-19T18:45:50.417Z] 5c69ac0246d0: Verifying Checksum [2023-11-19T18:45:50.417Z] 5c69ac0246d0: Download complete [2023-11-19T18:45:50.417Z] 3a2ae6a8a46f: Download complete [2023-11-19T18:45:50.417Z] 33b1e0a273af: Verifying Checksum [2023-11-19T18:45:50.417Z] 33b1e0a273af: Download complete [2023-11-19T18:45:50.417Z] ec43610c2a17: Verifying Checksum [2023-11-19T18:45:50.417Z] ec43610c2a17: Download complete [2023-11-19T18:45:50.417Z] 5d3b04190fa2: Download complete [2023-11-19T18:45:50.676Z] 5eb5b503b376: Verifying Checksum [2023-11-19T18:45:50.676Z] 5eb5b503b376: Download complete [2023-11-19T18:45:51.241Z] 2f39f015ded8: Download complete [2023-11-19T18:45:51.809Z] 5eb5b503b376: Pull complete [2023-11-19T18:45:51.809Z] 5c69ac0246d0: Pull complete [2023-11-19T18:45:52.377Z] ec43610c2a17: Pull complete [2023-11-19T18:45:52.377Z] 3a2ae6a8a46f: Pull complete [2023-11-19T18:45:52.636Z] 33b1e0a273af: Pull complete [2023-11-19T18:45:52.636Z] 5d3b04190fa2: Pull complete [2023-11-19T18:45:56.818Z] 2f39f015ded8: Pull complete [2023-11-19T18:45:56.818Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-19T18:45:56.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T18:45:56.818Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:45:57.012Z] prd-ubuntu20.04-docker-8c-8g-229 does not seem to be running inside a container [2023-11-19T18:45:57.051Z] $ 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-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-19T18:45:57.313Z] using credential edgex-jenkins-ssh [2023-11-19T18:45:57.335Z] Cloning the remote Git repository [2023-11-19T18:45:57.395Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T18:45:57.547Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-11-19T18:45:57.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T18:45:57.719Z] > git --version # timeout=10 [2023-11-19T18:45:57.745Z] > git --version # 'git version 2.25.1' [2023-11-19T18:45:57.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T18:45:57.936Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-19T18:46:01.498Z] $ docker top b0f8fe82bfe990ddbda08e4edf17c04c0ae55f798db93fc855797382784487f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:46:00.567Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-19T18:46:00.598Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-19T18:46:01.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-19T18:46:01.920Z] ---> job-cost.sh [2023-11-19T18:46:01.920Z] lf-activate-venv: SKIPPING [2023-11-19T18:46:01.920Z] INFO: No Stack... [2023-11-19T18:46:02.179Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-19T18:46:02.276Z] Merging remotes/origin/main commit 50dd63d392f370c86a33393d79501a04f0565adc into PR head commit 25609c649f9c186cb9ea36c0446132d2c7203020 [2023-11-19T18:46:02.438Z] INFO: Archiving Costs [Pipeline] sh [2023-11-19T18:46:02.666Z] Merge succeeded, producing d09358f9ffa7cf176f5fd0033eed2f4ee145d145 [2023-11-19T18:46:02.666Z] Checking out Revision d09358f9ffa7cf176f5fd0033eed2f4ee145d145 (PR-1539) [2023-11-19T18:46:02.726Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives/cost.csv [2023-11-19T18:46:02.726Z] + cut -d, -f6 [Pipeline] lock [2023-11-19T18:46:02.738Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1539-2-stack-cost] [2023-11-19T18:46:02.746Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1539-2-stack-cost] did not exist. Created. [2023-11-19T18:46:02.746Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1539-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-19T18:46:03.116Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-19T18:46:03.145Z] Stashed 1 file(s) [Pipeline] } [2023-11-19T18:46:03.170Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1539-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-19T18:46:01.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T18:46:01.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T18:46:01.738Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1539/head:refs/remotes/origin/PR-1539 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-19T18:46:02.301Z] > git config core.sparsecheckout # timeout=10 [2023-11-19T18:46:02.375Z] > git checkout -f 25609c649f9c186cb9ea36c0446132d2c7203020 # timeout=10 [2023-11-19T18:46:02.489Z] > git remote # timeout=10 [2023-11-19T18:46:02.512Z] > git config --get remote.origin.url # timeout=10 [2023-11-19T18:46:02.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T18:46:02.552Z] > git merge 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 [2023-11-19T18:46:02.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-19T18:46:02.677Z] > git config core.sparsecheckout # timeout=10 [2023-11-19T18:46:02.695Z] > git checkout -f d09358f9ffa7cf176f5fd0033eed2f4ee145d145 # timeout=10 [2023-11-19T18:46:03.297Z] $ docker stop --time=1 b0f8fe82bfe990ddbda08e4edf17c04c0ae55f798db93fc855797382784487f6 [2023-11-19T18:46:04.476Z] $ docker rm -f --volumes b0f8fe82bfe990ddbda08e4edf17c04c0ae55f798db93fc855797382784487f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-19T18:46:06.307Z] Commit message: "Merge commit '50dd63d392f370c86a33393d79501a04f0565adc' into HEAD" [2023-11-19T18:46:06.321Z] > git rev-list --no-walk 25609c649f9c186cb9ea36c0446132d2c7203020 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T18:46:07.771Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-19T18:46:07.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T18:46:07.771Z] Dload Upload Total Spent Left Speed [2023-11-19T18:46:07.771Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 144k 0 --:--:-- --:--:-- --:--:-- 144k [Pipeline] sh [2023-11-19T18:46:08.290Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-19T18:46:08.613Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-19T18:46:08.613Z] + sudo tee /etc/docker/daemon.new [2023-11-19T18:46:08.613Z] { [2023-11-19T18:46:08.613Z] "registry-mirrors": [ [2023-11-19T18:46:08.613Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-19T18:46:08.613Z] ], [2023-11-19T18:46:08.613Z] "bip": "10.250.0.254/24", [2023-11-19T18:46:08.613Z] "hosts": [ [2023-11-19T18:46:08.613Z] "tcp://0.0.0.0:5555", [2023-11-19T18:46:08.613Z] "unix:///var/run/docker.sock" [2023-11-19T18:46:08.613Z] ], [2023-11-19T18:46:08.613Z] "mtu": 1458, [2023-11-19T18:46:08.613Z] "selinux-enabled": true, [2023-11-19T18:46:08.613Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-19T18:46:08.613Z] } [Pipeline] sh [2023-11-19T18:46:08.938Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-19T18:46:09.272Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T18:46:27.622Z] provisioning config files... [2023-11-19T18:46:27.648Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8239265769394708909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:46:28.100Z] ---> ****-login.sh [2023-11-19T18:46:28.100Z] nexus3.edgexfoundry.org:10001 [2023-11-19T18:46:28.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:46:28.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:46:28.685Z] Configure a credential helper to remove this warning. See [2023-11-19T18:46:28.685Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:46:28.685Z] [2023-11-19T18:46:28.685Z] Login Succeeded [2023-11-19T18:46:28.685Z] nexus3.edgexfoundry.org:10002 [2023-11-19T18:46:28.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:46:28.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:46:28.953Z] Configure a credential helper to remove this warning. See [2023-11-19T18:46:28.953Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:46:28.953Z] [2023-11-19T18:46:28.953Z] Login Succeeded [2023-11-19T18:46:29.223Z] nexus3.edgexfoundry.org:10003 [2023-11-19T18:46:29.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:46:29.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:46:29.493Z] Configure a credential helper to remove this warning. See [2023-11-19T18:46:29.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:46:29.493Z] [2023-11-19T18:46:29.493Z] Login Succeeded [2023-11-19T18:46:29.493Z] nexus3.edgexfoundry.org:10004 [2023-11-19T18:46:29.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:46:29.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:46:29.768Z] Configure a credential helper to remove this warning. See [2023-11-19T18:46:29.768Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:46:29.768Z] [2023-11-19T18:46:29.768Z] Login Succeeded [2023-11-19T18:46:29.768Z] ****.io [2023-11-19T18:46:30.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:46:30.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:46:30.624Z] Configure a credential helper to remove this warning. See [2023-11-19T18:46:30.624Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:46:30.624Z] [2023-11-19T18:46:30.624Z] Login Succeeded [2023-11-19T18:46:30.624Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T18:46:30.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-19T18:46:31.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T18:46:31.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T18:46:31.196Z] ========================================================= [2023-11-19T18:46:31.196Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-19T18:46:31.196Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:46:31.665Z] + 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 . [2023-11-19T18:46:32.255Z] Sending build context to Docker daemon 11.37MB [2023-11-19T18:46:32.255Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T18:46:32.255Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-19T18:46:32.255Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-19T18:46:32.255Z] 9fda8d8052c6: Pulling fs layer [2023-11-19T18:46:32.255Z] 5d54e960e981: Pulling fs layer [2023-11-19T18:46:32.255Z] c4a7e357bf2a: Pulling fs layer [2023-11-19T18:46:32.255Z] f0e02332f6b5: Pulling fs layer [2023-11-19T18:46:32.255Z] 872ee5b61b7b: Pulling fs layer [2023-11-19T18:46:32.255Z] 0c6a40ed1a82: Pulling fs layer [2023-11-19T18:46:32.255Z] 94ae7d8d031c: Pulling fs layer [2023-11-19T18:46:32.255Z] 872ee5b61b7b: Waiting [2023-11-19T18:46:32.255Z] 0c6a40ed1a82: Waiting [2023-11-19T18:46:32.255Z] 94ae7d8d031c: Waiting [2023-11-19T18:46:32.255Z] f0e02332f6b5: Waiting [2023-11-19T18:46:32.525Z] 5d54e960e981: Verifying Checksum [2023-11-19T18:46:32.525Z] 5d54e960e981: Download complete [2023-11-19T18:46:32.525Z] f0e02332f6b5: Verifying Checksum [2023-11-19T18:46:32.525Z] f0e02332f6b5: Download complete [2023-11-19T18:46:32.525Z] 872ee5b61b7b: Verifying Checksum [2023-11-19T18:46:32.525Z] 872ee5b61b7b: Download complete [2023-11-19T18:46:32.525Z] 9fda8d8052c6: Verifying Checksum [2023-11-19T18:46:32.525Z] 9fda8d8052c6: Download complete [2023-11-19T18:46:33.145Z] 94ae7d8d031c: Verifying Checksum [2023-11-19T18:46:33.145Z] 94ae7d8d031c: Download complete [2023-11-19T18:46:33.467Z] 9fda8d8052c6: Pull complete [2023-11-19T18:46:34.088Z] 5d54e960e981: Pull complete [2023-11-19T18:46:34.362Z] c4a7e357bf2a: Verifying Checksum [2023-11-19T18:46:34.362Z] c4a7e357bf2a: Download complete [2023-11-19T18:46:35.331Z] 0c6a40ed1a82: Verifying Checksum [2023-11-19T18:46:35.331Z] 0c6a40ed1a82: Download complete [2023-11-19T18:46:47.677Z] c4a7e357bf2a: Pull complete [2023-11-19T18:46:47.677Z] f0e02332f6b5: Pull complete [2023-11-19T18:46:47.947Z] 872ee5b61b7b: Pull complete [2023-11-19T18:46:58.049Z] 0c6a40ed1a82: Pull complete [2023-11-19T18:46:58.324Z] 94ae7d8d031c: Pull complete [2023-11-19T18:46:58.324Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-19T18:46:58.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-19T18:46:58.595Z] ---> 86de565de09d [2023-11-19T18:46:58.595Z] Step 3/10 : ARG MAKE=make build [2023-11-19T18:47:00.560Z] ---> Running in af590932be49 [2023-11-19T18:47:00.829Z] Removing intermediate container af590932be49 [2023-11-19T18:47:00.830Z] ---> 91d80bb90797 [2023-11-19T18:47:00.830Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-19T18:47:00.830Z] ---> Running in 9e81bfaa2204 [2023-11-19T18:47:01.421Z] Removing intermediate container 9e81bfaa2204 [2023-11-19T18:47:01.421Z] ---> bbd88c7dda62 [2023-11-19T18:47:01.421Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T18:47:01.421Z] ---> Running in 7ba8d76eb233 [2023-11-19T18:47:01.712Z] Removing intermediate container 7ba8d76eb233 [2023-11-19T18:47:01.712Z] ---> 53cad46aa3cd [2023-11-19T18:47:01.712Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-19T18:47:01.712Z] ---> Running in e12ec5b06077 [2023-11-19T18:47:03.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T18:47:03.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T18:47:04.834Z] OK: 266 MiB in 52 packages [2023-11-19T18:47:05.420Z] Removing intermediate container e12ec5b06077 [2023-11-19T18:47:05.420Z] ---> 63987e71b9ef [2023-11-19T18:47:05.420Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-19T18:47:06.006Z] ---> 71c61bee0439 [2023-11-19T18:47:06.006Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T18:47:06.274Z] ---> Running in 5aa6c04d1d3a [2023-11-19T18:48:42.976Z] Removing intermediate container 5aa6c04d1d3a [2023-11-19T18:48:42.976Z] ---> dfe3f9d8b642 [2023-11-19T18:48:42.976Z] Step 9/10 : COPY . . [2023-11-19T18:48:42.976Z] ---> 8d6ab17203aa [2023-11-19T18:48:42.976Z] Step 10/10 : RUN ${MAKE} [2023-11-19T18:48:42.976Z] ---> Running in 78469471a6e4 [2023-11-19T18:48:42.977Z] noop [2023-11-19T18:48:42.977Z] Removing intermediate container 78469471a6e4 [2023-11-19T18:48:42.977Z] ---> 96005a7329e8 [2023-11-19T18:48:42.977Z] Successfully built 96005a7329e8 [2023-11-19T18:48:42.977Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:48:43.436Z] + docker inspect -f . ci-base-image-arm64 [2023-11-19T18:48:43.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:48:43.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container [2023-11-19T18:48:43.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-19T18:48:45.233Z] $ docker top 2bec03224a9425025455c4b1481fd37a04976020bf3237e098f002c1cebba92f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:48:46.151Z] + go version [2023-11-19T18:48:46.151Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-19T18:48:46.187Z] $ docker stop --time=1 2bec03224a9425025455c4b1481fd37a04976020bf3237e098f002c1cebba92f [2023-11-19T18:48:47.824Z] $ docker rm -f --volumes 2bec03224a9425025455c4b1481fd37a04976020bf3237e098f002c1cebba92f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:48:48.634Z] + docker inspect -f . ci-base-image-arm64 [2023-11-19T18:48:48.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:48:48.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container [2023-11-19T18:48:49.221Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-19T18:48:50.483Z] $ docker top 92417d3b27c98f6e77c6c83938cfaa0da9239baf54f8e280acb141c85f9a7b95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:48:51.439Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-19T18:48:52.168Z] + make test [2023-11-19T18:48:52.168Z] go test -race -coverprofile=coverage.out ./... [2023-11-19T18:49:39.045Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-19T18:51:45.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-19T18:51:45.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-19T18:51:45.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-19T18:51:45.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-19T18:51:45.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-19T18:51:55.809Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.223s coverage: 27.6% of statements [2023-11-19T18:52:04.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.272s coverage: 81.5% of statements [2023-11-19T18:52:12.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-19T18:52:12.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-19T18:52:13.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.337s coverage: 86.0% of statements [2023-11-19T18:52:18.831Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-19T18:52:19.413Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.491s coverage: 71.8% of statements [2023-11-19T18:52:22.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.280s coverage: 14.4% of statements [2023-11-19T18:52:22.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.446s coverage: 45.6% of statements [2023-11-19T18:52:23.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-19T18:52:23.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-19T18:52:24.431Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.405s coverage: 68.5% of statements [2023-11-19T18:52:27.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.427s coverage: 89.2% of statements [2023-11-19T18:52:28.060Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-19T18:52:29.468Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.217s coverage: 5.5% of statements [2023-11-19T18:52:30.056Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-19T18:52:30.056Z] GO111MODULE=on go vet ./... [2023-11-19T18:54:36.738Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-19T18:54:36.738Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-19T18:54:36.738Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-19T18:54:36.761Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-19T18:54:36.831Z] $ docker stop --time=1 92417d3b27c98f6e77c6c83938cfaa0da9239baf54f8e280acb141c85f9a7b95 [2023-11-19T18:54:38.816Z] $ docker rm -f --volumes 92417d3b27c98f6e77c6c83938cfaa0da9239baf54f8e280acb141c85f9a7b95 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T18:54:40.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-19T18:54:40.565Z] Warning: overwriting stash ‘coverage-report’ [2023-11-19T18:54:41.210Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T18:54:41.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-19T18:54:42.123Z] + ls -al . [2023-11-19T18:54:42.123Z] total 304 [2023-11-19T18:54:42.123Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 18:48 . [2023-11-19T18:54:42.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:45 .. [2023-11-19T18:54:42.123Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 18:46 .dockerignore [2023-11-19T18:54:42.123Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:46 .git [2023-11-19T18:54:42.123Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:46 .github [2023-11-19T18:54:42.123Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 18:46 .gitignore [2023-11-19T18:54:42.123Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 18:46 .golangci.yml [2023-11-19T18:54:42.123Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 18:46 CHANGELOG.md [2023-11-19T18:54:42.123Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 18:46 GOVERNANCE.md [2023-11-19T18:54:42.123Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 18:46 Jenkinsfile [2023-11-19T18:54:42.123Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 18:46 LICENSE [2023-11-19T18:54:42.124Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 18:46 Makefile [2023-11-19T18:54:42.124Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 18:46 OWNERS.md [2023-11-19T18:54:42.124Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 18:46 README.md [2023-11-19T18:54:42.124Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 18:43 VERSION [2023-11-19T18:54:42.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:46 bin [2023-11-19T18:54:42.124Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 19 18:52 coverage.out [2023-11-19T18:54:42.124Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 18:46 example [2023-11-19T18:54:42.124Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 18:46 go.mod [2023-11-19T18:54:42.124Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 18:46 go.sum [2023-11-19T18:54:42.124Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 18:46 internal [2023-11-19T18:54:42.124Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:46 openapi [2023-11-19T18:54:42.124Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 18:46 pkg [2023-11-19T18:54:42.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:46 snap [2023-11-19T18:54:42.124Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:54:42.532Z] + 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=d09358f9ffa7cf176f5fd0033eed2f4ee145d145 --label arch=arm64 --label version=0.0.0 . [2023-11-19T18:54:43.123Z] Sending build context to Docker daemon 11.5MB [2023-11-19T18:54:43.123Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T18:54:43.123Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-19T18:54:43.123Z] ---> 96005a7329e8 [2023-11-19T18:54:43.123Z] Step 3/23 : ARG MAKE=make build [2023-11-19T18:54:45.701Z] ---> Running in b22df1212cb7 [2023-11-19T18:54:45.967Z] Removing intermediate container b22df1212cb7 [2023-11-19T18:54:45.967Z] ---> deece3abefac [2023-11-19T18:54:45.967Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-19T18:54:46.235Z] ---> Running in 5a3c85c8a9e7 [2023-11-19T18:54:46.501Z] Removing intermediate container 5a3c85c8a9e7 [2023-11-19T18:54:46.501Z] ---> 414202310d84 [2023-11-19T18:54:46.501Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T18:54:46.501Z] ---> Running in b89b9a87a5f6 [2023-11-19T18:54:46.770Z] Removing intermediate container b89b9a87a5f6 [2023-11-19T18:54:46.770Z] ---> 55de8ac96b25 [2023-11-19T18:54:46.770Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-19T18:54:46.770Z] ---> Running in 58ec43a9b531 [2023-11-19T18:54:47.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T18:54:48.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T18:54:49.741Z] OK: 266 MiB in 52 packages [2023-11-19T18:54:50.325Z] Removing intermediate container 58ec43a9b531 [2023-11-19T18:54:50.325Z] ---> 21d7cb42c205 [2023-11-19T18:54:50.325Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-19T18:54:50.909Z] ---> 63dcc3fdee04 [2023-11-19T18:54:50.909Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T18:54:50.909Z] ---> Running in a508b34e0059 [2023-11-19T18:54:53.504Z] Removing intermediate container a508b34e0059 [2023-11-19T18:54:53.504Z] ---> 8fd44ae105d0 [2023-11-19T18:54:53.504Z] Step 9/23 : COPY . . [2023-11-19T18:54:54.465Z] ---> 1d9efabac7ad [2023-11-19T18:54:54.465Z] Step 10/23 : RUN ${MAKE} [2023-11-19T18:54:54.465Z] ---> Running in f19af0f9bc39 [2023-11-19T18:54:55.428Z] 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 [2023-11-19T18:57:02.119Z] Removing intermediate container f19af0f9bc39 [2023-11-19T18:57:02.119Z] ---> 35fd8de5c638 [2023-11-19T18:57:02.119Z] Step 11/23 : FROM alpine:3.18 [2023-11-19T18:57:02.119Z] 3.18: Pulling from library/alpine [2023-11-19T18:57:02.119Z] 579b34f0a95b: Pulling fs layer [2023-11-19T18:57:02.119Z] 579b34f0a95b: Verifying Checksum [2023-11-19T18:57:02.119Z] 579b34f0a95b: Download complete [2023-11-19T18:57:02.703Z] 579b34f0a95b: Pull complete [2023-11-19T18:57:02.703Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-19T18:57:02.703Z] Status: Downloaded newer image for alpine:3.18 [2023-11-19T18:57:02.703Z] ---> 3cc203321400 [2023-11-19T18:57:02.703Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-19T18:57:02.703Z] ---> Running in f0743dc5e5cc [2023-11-19T18:57:02.975Z] Removing intermediate container f0743dc5e5cc [2023-11-19T18:57:02.975Z] ---> 4d1fb4b63feb [2023-11-19T18:57:02.975Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-19T18:57:02.975Z] ---> Running in ff232bbc13b6 [2023-11-19T18:57:03.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T18:57:04.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T18:57:05.477Z] OK: 8 MiB in 15 packages [2023-11-19T18:57:08.050Z] Removing intermediate container ff232bbc13b6 [2023-11-19T18:57:08.050Z] ---> 698e194e51ad [2023-11-19T18:57:08.050Z] Step 14/23 : WORKDIR / [2023-11-19T18:57:08.050Z] ---> Running in d987483ae068 [2023-11-19T18:57:08.316Z] Removing intermediate container d987483ae068 [2023-11-19T18:57:08.316Z] ---> 831c16c43531 [2023-11-19T18:57:08.316Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-19T18:57:08.582Z] ---> 93a6137364e5 [2023-11-19T18:57:08.582Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-19T18:57:09.990Z] ---> 24bfe9c1802b [2023-11-19T18:57:09.990Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-19T18:57:10.575Z] ---> 3656b9550143 [2023-11-19T18:57:10.575Z] Step 18/23 : EXPOSE 59999 [2023-11-19T18:57:10.575Z] ---> Running in cbf33b46f2d0 [2023-11-19T18:57:10.877Z] Removing intermediate container cbf33b46f2d0 [2023-11-19T18:57:10.877Z] ---> bbdf251ea774 [2023-11-19T18:57:10.877Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-19T18:57:10.877Z] ---> Running in dd0e8c20208c [2023-11-19T18:57:11.163Z] Removing intermediate container dd0e8c20208c [2023-11-19T18:57:11.163Z] ---> 033b0a9472a6 [2023-11-19T18:57:11.163Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-19T18:57:11.444Z] ---> Running in 613c2b295617 [2023-11-19T18:57:11.718Z] Removing intermediate container 613c2b295617 [2023-11-19T18:57:11.718Z] ---> b74a8c63cabf [2023-11-19T18:57:11.718Z] Step 21/23 : LABEL arch=arm64 [2023-11-19T18:57:11.718Z] ---> Running in 8ffdda967efb [2023-11-19T18:57:11.998Z] Removing intermediate container 8ffdda967efb [2023-11-19T18:57:11.998Z] ---> a72cf0ca930a [2023-11-19T18:57:11.998Z] Step 22/23 : LABEL git_sha=d09358f9ffa7cf176f5fd0033eed2f4ee145d145 [2023-11-19T18:57:11.998Z] ---> Running in c32310f0e2df [2023-11-19T18:57:12.277Z] Removing intermediate container c32310f0e2df [2023-11-19T18:57:12.277Z] ---> 59e47d807f36 [2023-11-19T18:57:12.277Z] Step 23/23 : LABEL version=0.0.0 [2023-11-19T18:57:12.566Z] ---> Running in 9079a51da323 [2023-11-19T18:57:12.837Z] Removing intermediate container 9079a51da323 [2023-11-19T18:57:12.837Z] ---> 094fa4e85950 [2023-11-19T18:57:12.837Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-19T18:57:12.837Z] Successfully built 094fa4e85950 [2023-11-19T18:57:12.837Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:57:13.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T18:57:13.664Z] [2023-11-19T18:57:13.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:57:14.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T18:57:14.026Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-19T18:57:14.026Z] 8998bd30e6a1: Pulling fs layer [2023-11-19T18:57:14.026Z] 04944245beec: Pulling fs layer [2023-11-19T18:57:14.026Z] 699f458cf7ca: Pulling fs layer [2023-11-19T18:57:14.026Z] 765212b225bb: Pulling fs layer [2023-11-19T18:57:14.026Z] f23df028b6ca: Pulling fs layer [2023-11-19T18:57:14.026Z] d65c8cfc05b1: Pulling fs layer [2023-11-19T18:57:14.026Z] 2437ff75d9bd: Pulling fs layer [2023-11-19T18:57:14.026Z] f23df028b6ca: Waiting [2023-11-19T18:57:14.026Z] d65c8cfc05b1: Waiting [2023-11-19T18:57:14.026Z] 2437ff75d9bd: Waiting [2023-11-19T18:57:14.026Z] 765212b225bb: Waiting [2023-11-19T18:57:14.298Z] 04944245beec: Verifying Checksum [2023-11-19T18:57:14.299Z] 04944245beec: Download complete [2023-11-19T18:57:14.299Z] 765212b225bb: Verifying Checksum [2023-11-19T18:57:14.299Z] 765212b225bb: Download complete [2023-11-19T18:57:14.299Z] f23df028b6ca: Verifying Checksum [2023-11-19T18:57:14.299Z] f23df028b6ca: Download complete [2023-11-19T18:57:14.299Z] d65c8cfc05b1: Verifying Checksum [2023-11-19T18:57:14.299Z] d65c8cfc05b1: Download complete [2023-11-19T18:57:14.567Z] 699f458cf7ca: Verifying Checksum [2023-11-19T18:57:14.567Z] 699f458cf7ca: Download complete [2023-11-19T18:57:14.833Z] 8998bd30e6a1: Verifying Checksum [2023-11-19T18:57:14.833Z] 8998bd30e6a1: Download complete [2023-11-19T18:57:17.415Z] 2437ff75d9bd: Verifying Checksum [2023-11-19T18:57:17.415Z] 2437ff75d9bd: Download complete [2023-11-19T18:57:19.362Z] 8998bd30e6a1: Pull complete [2023-11-19T18:57:21.299Z] 04944245beec: Pull complete [2023-11-19T18:57:22.710Z] 699f458cf7ca: Pull complete [2023-11-19T18:57:22.976Z] 765212b225bb: Pull complete [2023-11-19T18:57:23.935Z] f23df028b6ca: Pull complete [2023-11-19T18:57:23.935Z] d65c8cfc05b1: Pull complete [2023-11-19T18:57:42.135Z] 2437ff75d9bd: Pull complete [2023-11-19T18:57:42.135Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-19T18:57:42.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T18:57:42.135Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:57:42.489Z] prd-ubuntu20.04-docker-arm64-4c-16g-233 does not seem to be running inside a container [2023-11-19T18:57:42.590Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-19T18:57:45.658Z] $ docker top 732579b2d9a4edb6fcf2f80a41bed99ba7f8d8abd69238fc071c23af163712dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:46.554Z] ---> job-cost.sh [2023-11-19T18:57:46.554Z] lf-activate-venv: SKIPPING [2023-11-19T18:57:46.554Z] INFO: No Stack... [2023-11-19T18:57:46.820Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-19T18:57:47.773Z] INFO: Archiving Costs [Pipeline] sh [2023-11-19T18:57:48.091Z] + + cat /w/workspace/device-sdk-go/2/archives/cost.csvcut [2023-11-19T18:57:48.091Z] -d, -f6 [Pipeline] lock [2023-11-19T18:57:48.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1539-2-stack-cost] [2023-11-19T18:57:48.416Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1539-2-stack-cost] did not exist. Created. [2023-11-19T18:57:48.416Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1539-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-19T18:57:49.130Z] /w/workspace/device-sdk-go/2@tmp/durable-19d3c8c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-19T18:57:49.787Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-19T18:57:49.848Z] Warning: overwriting stash ‘stack-cost’ [2023-11-19T18:57:49.970Z] Stashed 1 file(s) [Pipeline] } [2023-11-19T18:57:49.979Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1539-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-19T18:57:50.094Z] $ docker stop --time=1 732579b2d9a4edb6fcf2f80a41bed99ba7f8d8abd69238fc071c23af163712dd [2023-11-19T18:57:51.722Z] $ docker rm -f --volumes 732579b2d9a4edb6fcf2f80a41bed99ba7f8d8abd69238fc071c23af163712dd [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 [2023-11-19T18:57:52.854Z] provisioning config files... [2023-11-19T18:57:52.874Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/config17962458534200756844tmp [Pipeline] { [Pipeline] sh [2023-11-19T18:57:53.216Z] + set +x [2023-11-19T18:57:53.216Z] + + curl -s https://codecov.io/bash [2023-11-19T18:57:53.216Z] bash -s -- [2023-11-19T18:57:53.216Z] [2023-11-19T18:57:53.216Z] _____ _ [2023-11-19T18:57:53.216Z] / ____| | | [2023-11-19T18:57:53.216Z] | | ___ __| | ___ ___ _____ __ [2023-11-19T18:57:53.216Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-19T18:57:53.216Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-19T18:57:53.216Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-19T18:57:53.216Z] Bash-1.0.6 [2023-11-19T18:57:53.216Z] [2023-11-19T18:57:53.216Z] [2023-11-19T18:57:53.216Z] ==> git version 2.25.1 found [2023-11-19T18:57:53.216Z] ==> 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 [2023-11-19T18:57:53.216Z] Release-Date: 2020-01-08 [2023-11-19T18:57:53.216Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-19T18:57:53.216Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-19T18:57:53.216Z] ==> Jenkins CI detected. [2023-11-19T18:57:53.216Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1539 [2023-11-19T18:57:53.216Z] project root: . [2023-11-19T18:57:53.216Z] --> token set from env [2023-11-19T18:57:53.216Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-19T18:57:53.216Z] ==> Running gcov in . (disable via -X gcov) [2023-11-19T18:57:53.216Z] ==> Python coveragepy not found [2023-11-19T18:57:53.216Z] ==> Searching for coverage reports in: [2023-11-19T18:57:53.216Z] + . [2023-11-19T18:57:53.216Z] -> Found 1 reports [2023-11-19T18:57:53.216Z] ==> Detecting git/mercurial file structure [2023-11-19T18:57:53.476Z] ==> Reading reports [2023-11-19T18:57:53.476Z] + ./coverage.out bytes=122155 [2023-11-19T18:57:53.476Z] ==> Appending adjustments [2023-11-19T18:57:53.476Z] https://docs.codecov.io/docs/fixing-reports [2023-11-19T18:57:53.737Z] + Found adjustments [2023-11-19T18:57:53.737Z] ==> Gzipping contents [2023-11-19T18:57:53.737Z] 20K /tmp/codecov.4qI92O.gz [2023-11-19T18:57:53.737Z] ==> Uploading reports [2023-11-19T18:57:53.737Z] url: https://codecov.io [2023-11-19T18:57:53.737Z] query: branch=PR-1539&commit=b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1539%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1539&job=&cmd_args= [2023-11-19T18:57:53.737Z] -> Pinging Codecov [2023-11-19T18:57:53.737Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1539&commit=b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1539%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1539&job=&cmd_args= [2023-11-19T18:57:53.737Z] -> Uploading to [2023-11-19T18:57:53.737Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-19/7E55EF52A471D76F132DFD9A03CDDE97/b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a/cfbc20a0-2be3-48cb-b908-4f749aea3618.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231119T185753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e20f6a60d3e195923c14de2310d79ba8be12abc2bcd201739674bca38e8b4566 [2023-11-19T18:57:53.737Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T18:57:53.737Z] Dload Upload Total Spent Left Speed [2023-11-19T18:57:54.256Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16756 0 0 100 16756 0 107k --:--:-- --:--:-- --:--:-- 106k 100 16756 0 0 100 16756 0 46935 --:--:-- --:--:-- --:--:-- 46804 [2023-11-19T18:57:54.256Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b0daeff9ae15a167db3e46fc3e9a2c9eb35cf14a [Pipeline] } [2023-11-19T18:57:54.263Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-19T18:57:56.179Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives ] [2023-11-19T18:57:56.179Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives [2023-11-19T18:57:56.179Z] total 16 [2023-11-19T18:57:56.179Z] drwxr-xr-x 3 root root 4096 Nov 19 18:46 . [2023-11-19T18:57:56.179Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 18:46 .. [2023-11-19T18:57:56.179Z] drwxr-xr-x 2 root root 4096 Nov 19 18:46 cost [2023-11-19T18:57:56.179Z] -rw-r--r-- 1 root root 86 Nov 19 18:46 cost.csv [2023-11-19T18:57:56.179Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives [2023-11-19T18:57:56.179Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives [2023-11-19T18:57:56.179Z] total 16 [2023-11-19T18:57:56.179Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 18:46 . [2023-11-19T18:57:56.179Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 18:46 .. [2023-11-19T18:57:56.179Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 18:46 cost [2023-11-19T18:57:56.179Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 19 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:56.468Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:57.323Z] ---> package-listing.sh [2023-11-19T18:57:57.324Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-19T18:57:57.324Z] ++ facter osfamily [2023-11-19T18:57:57.582Z] + OS_FAMILY=debian [2023-11-19T18:57:57.582Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1539 [2023-11-19T18:57:57.582Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-19T18:57:57.582Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-19T18:57:57.582Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-19T18:57:57.582Z] + PACKAGES=/tmp/packages_start.txt [2023-11-19T18:57:57.582Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1539 ']' [2023-11-19T18:57:57.582Z] + PACKAGES=/tmp/packages_end.txt [2023-11-19T18:57:57.582Z] + case "${OS_FAMILY}" in [2023-11-19T18:57:57.582Z] + dpkg -l [2023-11-19T18:57:57.582Z] + grep '^ii' [2023-11-19T18:57:57.582Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-19T18:57:57.582Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-19T18:57:57.582Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-19T18:57:57.582Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1539 ']' [2023-11-19T18:57:57.582Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives/ [2023-11-19T18:57:57.582Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives/ [Pipeline] echo [2023-11-19T18:57:57.592Z] 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-1539/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-19T18:57:57.869Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:57:58.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T18:57:58.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:57:58.609Z] prd-ubuntu20.04-docker-8c-8g-229 does not seem to be running inside a container [2023-11-19T18:57:58.646Z] $ 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-1539/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-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-19T18:57:58.814Z] $ docker top 2f6e1f2dd5f1e22c69321ff0ab67afcbdf7ed06f8d81e651b1d24cc6d6de08f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:57:59.268Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-19T18:57:59.551Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-19T18:57:59.835Z] + ls /var/log/sa-host [2023-11-19T18:57:59.835Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T18:57:59.940Z] provisioning config files... [2023-11-19T18:57:59.950Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/config14217735074354211113tmp [Pipeline] { [Pipeline] echo [2023-11-19T18:58:00.032Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:58:00.314Z] ---> create-netrc.sh [Pipeline] } [2023-11-19T18:58:00.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:58:00.724Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-19T18:58:00.733Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:58:01.017Z] ---> sudo-logs.sh [2023-11-19T18:58:01.017Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-19T18:58:01.090Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:58:01.377Z] ---> job-cost.sh [2023-11-19T18:58:01.377Z] lf-activate-venv: SKIPPING [2023-11-19T18:58:01.377Z] DEBUG: total: 0.2199999988079071 [2023-11-19T18:58:01.377Z] INFO: Retrieving Stack Cost... [2023-11-19T18:58:01.642Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-19T18:58:02.213Z] INFO: Archiving Costs [Pipeline] echo [2023-11-19T18:58:02.225Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:58:02.508Z] ---> logs-deploy.sh [2023-11-19T18:58:02.508Z] lf-activate-venv: SKIPPING [2023-11-19T18:58:02.508Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1539/2 [2023-11-19T18:58:02.508Z] INFO: archiving workspace using pattern(s): [2023-11-19T18:58:03.446Z] Archives upload complete. [2023-11-19T18:58:03.446Z] INFO: archiving logs to Nexus