Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b57916b769024855ef9434da56afa764e5360c17+c25088f917b9aace1eb3ba1852d94d7ec4a10515 (baaeb1ee279b5e145e0113ad6d1cba57e87fb0a7) 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-ssh16519017303688141196.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh17885861335561250643.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1444/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-1444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9722220001221548070.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11939700134666040267.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-1444/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-1444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4456744329346808023.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.20 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-12616 in /w/workspace/gexfoundry_device-sdk-go_PR-1444 [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-1444 # 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/1444/head:refs/remotes/origin/PR-1444 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c25088f917b9aace1eb3ba1852d94d7ec4a10515 into PR head commit b57916b769024855ef9434da56afa764e5360c17 Merge succeeded, producing 864bf5bff88d2b40ce3ecc658c2df1338bcf0458 Checking out Revision 864bf5bff88d2b40ce3ecc658c2df1338bcf0458 (PR-1444) > git config core.sparsecheckout # timeout=10 > git checkout -f b57916b769024855ef9434da56afa764e5360c17 # 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 c25088f917b9aace1eb3ba1852d94d7ec4a10515 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 864bf5bff88d2b40ce3ecc658c2df1338bcf0458 # timeout=10 Commit message: "Merge commit 'c25088f917b9aace1eb3ba1852d94d7ec4a10515' into HEAD" > git rev-list --no-walk b57916b769024855ef9434da56afa764e5360c17 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-03T18:41:25.662Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-03T18:41:25.724Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-03T18:41:25.737Z] ========================================================= [2023-05-03T18:41:25.738Z] EdgeX Global Pipelines Version Info [2023-05-03T18:41:25.738Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:41:26.492Z] ------------------- [2023-05-03T18:41:26.492Z] stable info: [2023-05-03T18:41:26.492Z] ------------------- [2023-05-03T18:41:26.492Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-03T18:41:26.492Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T18:41:26.492Z] Message: update stable to v1.0.248 [2023-05-03T18:41:27.066Z] ------------------- [2023-05-03T18:41:27.066Z] experimental info: [2023-05-03T18:41:27.066Z] ------------------- [2023-05-03T18:41:27.066Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-03T18:41:27.066Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-03T18:41:27.066Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-03T18:41:27.244Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-03T18:41:27.257Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-03T18:41:27.272Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-03T18:41:27.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-03T18:41:27.312Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-03T18:41:27.329Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-03T18:41:27.350Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-03T18:41:27.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-03T18:41:27.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-03T18:41:27.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-03T18:41:27.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-03T18:41:27.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-03T18:41:27.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-03T18:41:27.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-03T18:41:27.453Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T18:41:27.467Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T18:41:27.478Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T18:41:27.490Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T18:41:27.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-03T18:41:27.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-03T18:41:27.533Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-03T18:41:27.546Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-03T18:41:27.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-03T18:41:27.576Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-03T18:41:27.592Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-03T18:41:27.614Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-03T18:41:27.634Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-03T18:41:27.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1444 [Pipeline] echo [2023-05-03T18:41:27.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1444 [Pipeline] echo [2023-05-03T18:41:27.699Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1444 [Pipeline] echo [2023-05-03T18:41:27.713Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 864bf5bff88d2b40ce3ecc658c2df1338bcf0458 [Pipeline] echo [2023-05-03T18:41:27.731Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 864bf5b [Pipeline] echo [2023-05-03T18:41:27.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T18:41:27.784Z] provisioning config files... [2023-05-03T18:41:27.804Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config3031224420451059940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:41:28.102Z] ---> docker-login.sh [2023-05-03T18:41:28.102Z] nexus3.edgexfoundry.org:10001 [2023-05-03T18:41:28.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:28.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:28.363Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:28.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:28.363Z] [2023-05-03T18:41:28.363Z] Login Succeeded [2023-05-03T18:41:28.623Z] nexus3.edgexfoundry.org:10002 [2023-05-03T18:41:28.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:28.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:28.623Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:28.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:28.623Z] [2023-05-03T18:41:28.623Z] Login Succeeded [2023-05-03T18:41:28.623Z] nexus3.edgexfoundry.org:10003 [2023-05-03T18:41:28.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:28.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:28.623Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:28.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:28.623Z] [2023-05-03T18:41:28.623Z] Login Succeeded [2023-05-03T18:41:28.623Z] nexus3.edgexfoundry.org:10004 [2023-05-03T18:41:28.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:28.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:28.882Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:28.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:28.882Z] [2023-05-03T18:41:28.882Z] Login Succeeded [2023-05-03T18:41:28.882Z] docker.io [2023-05-03T18:41:28.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:29.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:29.142Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:29.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:29.142Z] [2023-05-03T18:41:29.142Z] Login Succeeded [2023-05-03T18:41:29.142Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T18:41:29.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-03T18:41:29.536Z] + git rev-list -1 --merges 864bf5bff88d2b40ce3ecc658c2df1338bcf0458~1..864bf5bff88d2b40ce3ecc658c2df1338bcf0458 [Pipeline] echo [2023-05-03T18:41:29.586Z] -----------> git rev-list -1 --merges 864bf5bff88d2b40ce3ecc658c2df1338bcf0458~1..864bf5bff88d2b40ce3ecc658c2df1338bcf0458 864bf5bff88d2b40ce3ecc658c2df1338bcf0458 [2023-05-03T18:41:29.586Z] 864bf5bff88d2b40ce3ecc658c2df1338bcf0458 [false] [Pipeline] sh [2023-05-03T18:41:29.873Z] + git log --format=format:%s -1 864bf5bff88d2b40ce3ecc658c2df1338bcf0458 [Pipeline] echo [2023-05-03T18:41:29.888Z] ========================================================= [2023-05-03T18:41:29.888Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-03T18:41:29.888Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T18:41:30.205Z] + git log --format=format:%s -1 864bf5bff88d2b40ce3ecc658c2df1338bcf0458 [Pipeline] echo [2023-05-03T18:41:30.248Z] [semverPrep] GIT_COMMIT: 864bf5bff88d2b40ce3ecc658c2df1338bcf0458, Commit Message: Merge commit 'c25088f917b9aace1eb3ba1852d94d7ec4a10515' into HEAD [Pipeline] echo [2023-05-03T18:41:30.257Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-03T18:41:30.643Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T18:41:30.643Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-03T18:41:30.643Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-03T18:41:30.643Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-03T18:41:30.643Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-03T18:41:30.643Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-03T18:41:30.643Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:41:31.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T18:41:31.059Z] [2023-05-03T18:41:31.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:41:31.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T18:41:31.362Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-03T18:41:31.362Z] b85a868b505f: Pulling fs layer [2023-05-03T18:41:31.362Z] e2be974225ed: Pulling fs layer [2023-05-03T18:41:31.362Z] 339a4e72a1f5: Pulling fs layer [2023-05-03T18:41:31.362Z] 988bab9f4d93: Pulling fs layer [2023-05-03T18:41:31.362Z] 1469e6f7b9e6: Pulling fs layer [2023-05-03T18:41:31.362Z] eaf3925da568: Pulling fs layer [2023-05-03T18:41:31.362Z] bab4dde63d76: Pulling fs layer [2023-05-03T18:41:31.362Z] bde34c3a00c8: Pulling fs layer [2023-05-03T18:41:31.362Z] b352a97aabf1: Pulling fs layer [2023-05-03T18:41:31.362Z] 4872d77fe225: Pulling fs layer [2023-05-03T18:41:31.362Z] 5851b861e8e6: Pulling fs layer [2023-05-03T18:41:31.362Z] 988bab9f4d93: Waiting [2023-05-03T18:41:31.362Z] 1469e6f7b9e6: Waiting [2023-05-03T18:41:31.362Z] eaf3925da568: Waiting [2023-05-03T18:41:31.362Z] bab4dde63d76: Waiting [2023-05-03T18:41:31.362Z] bde34c3a00c8: Waiting [2023-05-03T18:41:31.362Z] b352a97aabf1: Waiting [2023-05-03T18:41:31.362Z] 4872d77fe225: Waiting [2023-05-03T18:41:31.362Z] 5851b861e8e6: Waiting [2023-05-03T18:41:31.362Z] e2be974225ed: Download complete [2023-05-03T18:41:31.362Z] 988bab9f4d93: Verifying Checksum [2023-05-03T18:41:31.362Z] 988bab9f4d93: Download complete [2023-05-03T18:41:31.621Z] 1469e6f7b9e6: Verifying Checksum [2023-05-03T18:41:31.621Z] 1469e6f7b9e6: Download complete [2023-05-03T18:41:31.621Z] 339a4e72a1f5: Verifying Checksum [2023-05-03T18:41:31.621Z] 339a4e72a1f5: Download complete [2023-05-03T18:41:31.621Z] eaf3925da568: Verifying Checksum [2023-05-03T18:41:31.621Z] eaf3925da568: Download complete [2023-05-03T18:41:31.621Z] bde34c3a00c8: Verifying Checksum [2023-05-03T18:41:31.621Z] bde34c3a00c8: Download complete [2023-05-03T18:41:31.621Z] b352a97aabf1: Verifying Checksum [2023-05-03T18:41:31.621Z] b352a97aabf1: Download complete [2023-05-03T18:41:31.621Z] 4872d77fe225: Download complete [2023-05-03T18:41:31.621Z] 5851b861e8e6: Verifying Checksum [2023-05-03T18:41:31.621Z] 5851b861e8e6: Download complete [2023-05-03T18:41:31.621Z] b85a868b505f: Verifying Checksum [2023-05-03T18:41:31.621Z] b85a868b505f: Download complete [2023-05-03T18:41:31.880Z] bab4dde63d76: Verifying Checksum [2023-05-03T18:41:31.880Z] bab4dde63d76: Download complete [2023-05-03T18:41:32.814Z] b85a868b505f: Pull complete [2023-05-03T18:41:33.073Z] e2be974225ed: Pull complete [2023-05-03T18:41:33.640Z] 339a4e72a1f5: Pull complete [2023-05-03T18:41:33.641Z] 988bab9f4d93: Pull complete [2023-05-03T18:41:33.901Z] 1469e6f7b9e6: Pull complete [2023-05-03T18:41:33.901Z] eaf3925da568: Pull complete [2023-05-03T18:41:35.802Z] bab4dde63d76: Pull complete [2023-05-03T18:41:35.802Z] bde34c3a00c8: Pull complete [2023-05-03T18:41:35.802Z] b352a97aabf1: Pull complete [2023-05-03T18:41:35.802Z] 4872d77fe225: Pull complete [2023-05-03T18:41:36.062Z] 5851b861e8e6: Pull complete [2023-05-03T18:41:36.062Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-03T18:41:36.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T18:41:36.062Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:41:36.155Z] prd-ubuntu20.04-docker-8c-8g-12616 does not seem to be running inside a container [2023-05-03T18:41:36.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-03T18:41:38.230Z] $ docker top 2aeb6a0c99fb563c706fe502a44ec52e7413ebae76f7b58341b6fd21bde6fb8c -eo pid,comm [2023-05-03T18:41:38.283Z] 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-05-03T18:41:38.283Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T18:41:38.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T18:41:38.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T18:41:38.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T18:41:38.448Z] $ docker exec 2aeb6a0c99fb563c706fe502a44ec52e7413ebae76f7b58341b6fd21bde6fb8c ssh-agent [2023-05-03T18:41:38.554Z] SSH_AUTH_SOCK=/tmp/ssh-YntoVlm5xSuZ/agent.32 [2023-05-03T18:41:38.554Z] SSH_AGENT_PID=38 [2023-05-03T18:41:38.561Z] Running ssh-add (command line suppressed) [2023-05-03T18:41:38.671Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_10971762957044271189.key (/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_10971762957044271189.key) [2023-05-03T18:41:38.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T18:41:38.973Z] + git tag --points-at HEAD [Pipeline] } [2023-05-03T18:41:38.994Z] $ docker exec --env ******** --env ******** 2aeb6a0c99fb563c706fe502a44ec52e7413ebae76f7b58341b6fd21bde6fb8c ssh-agent -k [2023-05-03T18:41:39.090Z] unset SSH_AUTH_SOCK; [2023-05-03T18:41:39.091Z] unset SSH_AGENT_PID; [2023-05-03T18:41:39.091Z] echo Agent pid 38 killed; [2023-05-03T18:41:39.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-03T18:41:39.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T18:41:39.120Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T18:41:39.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T18:41:39.240Z] $ docker exec 2aeb6a0c99fb563c706fe502a44ec52e7413ebae76f7b58341b6fd21bde6fb8c ssh-agent [2023-05-03T18:41:39.347Z] SSH_AUTH_SOCK=/tmp/ssh-UGDiA9OsLwhO/agent.70 [2023-05-03T18:41:39.347Z] SSH_AGENT_PID=76 [2023-05-03T18:41:39.352Z] Running ssh-add (command line suppressed) [2023-05-03T18:41:39.461Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_6437527172007194116.key (/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_6437527172007194116.key) [2023-05-03T18:41:39.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T18:41:39.761Z] + git semver init [2023-05-03T18:41:40.021Z] 2023-05-03 18:41:39,938 [run_init] DEBUG init version:0.0.0 force:False [2023-05-03T18:41:40.021Z] 2023-05-03 18:41:39,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver [2023-05-03T18:41:40.021Z] 2023-05-03 18:41:39,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver [2023-05-03T18:41:40.021Z] 2023-05-03 18:41:39,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1444, universal_newlines=False, shell=None, istream=None) [2023-05-03T18:41:40.971Z] 2023-05-03 18:41:40,871 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.git/info/exclude [2023-05-03T18:41:40.971Z] 2023-05-03 18:41:40,872 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver/PR-1444 with force:False [2023-05-03T18:41:40.971Z] 2023-05-03 18:41:40,872 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver/PR-1444 [2023-05-03T18:41:40.971Z] 2023-05-03 18:41:40,877 [execute] INFO git cat-file --batch-check [2023-05-03T18:41:40.971Z] 2023-05-03 18:41:40,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T18:41:40.971Z] 2023-05-03 18:41:40,882 [execute] INFO git cat-file --batch [2023-05-03T18:41:40.971Z] 2023-05-03 18:41:40,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T18:41:40.971Z] 2023-05-03 18:41:40,887 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver/PR-1444 [2023-05-03T18:41:40.971Z] 0.0.0 [Pipeline] } [2023-05-03T18:41:40.982Z] $ docker exec --env ******** --env ******** 2aeb6a0c99fb563c706fe502a44ec52e7413ebae76f7b58341b6fd21bde6fb8c ssh-agent -k [2023-05-03T18:41:41.084Z] unset SSH_AUTH_SOCK; [2023-05-03T18:41:41.085Z] unset SSH_AGENT_PID; [2023-05-03T18:41:41.085Z] echo Agent pid 76 killed; [2023-05-03T18:41:41.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T18:41:41.409Z] + git semver [Pipeline] } [2023-05-03T18:41:41.682Z] $ docker stop --time=1 2aeb6a0c99fb563c706fe502a44ec52e7413ebae76f7b58341b6fd21bde6fb8c [2023-05-03T18:41:42.976Z] $ docker rm -f --volumes 2aeb6a0c99fb563c706fe502a44ec52e7413ebae76f7b58341b6fd21bde6fb8c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T18:41:43.309Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-03T18:41:43.517Z] Stashed 1 file(s) [Pipeline] echo [2023-05-03T18:41:43.521Z] [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-05-03T18:41:43.668Z] provisioning config files... [2023-05-03T18:41:43.677Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config13720180621402028854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:41:43.973Z] ---> docker-login.sh [2023-05-03T18:41:43.973Z] nexus3.edgexfoundry.org:10001 [2023-05-03T18:41:43.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:43.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:43.973Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:43.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:43.973Z] [2023-05-03T18:41:43.973Z] Login Succeeded [2023-05-03T18:41:43.973Z] nexus3.edgexfoundry.org:10002 [2023-05-03T18:41:43.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:43.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:43.973Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:43.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:43.973Z] [2023-05-03T18:41:43.973Z] Login Succeeded [2023-05-03T18:41:43.973Z] nexus3.edgexfoundry.org:10003 [2023-05-03T18:41:44.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:44.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:44.232Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:44.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:44.232Z] [2023-05-03T18:41:44.232Z] Login Succeeded [2023-05-03T18:41:44.232Z] nexus3.edgexfoundry.org:10004 [2023-05-03T18:41:44.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:44.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:44.232Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:44.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:44.232Z] [2023-05-03T18:41:44.232Z] Login Succeeded [2023-05-03T18:41:44.232Z] docker.io [2023-05-03T18:41:44.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:41:44.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:41:44.492Z] Configure a credential helper to remove this warning. See [2023-05-03T18:41:44.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:41:44.492Z] [2023-05-03T18:41:44.492Z] Login Succeeded [2023-05-03T18:41:44.492Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T18:41:44.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T18:41:44.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T18:41:44.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T18:41:44.570Z] ========================================================= [2023-05-03T18:41:44.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-03T18:41:44.570Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:41:44.872Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-03T18:41:44.872Z] Sending build context to Docker daemon 11.09MB [2023-05-03T18:41:44.872Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T18:41:44.872Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-03T18:41:44.872Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-03T18:41:44.872Z] f56be85fc22e: Pulling fs layer [2023-05-03T18:41:44.872Z] 85791d961cd3: Pulling fs layer [2023-05-03T18:41:44.872Z] d694b5ae8c79: Pulling fs layer [2023-05-03T18:41:44.872Z] 9f32a84ed3da: Pulling fs layer [2023-05-03T18:41:44.872Z] 4d19c01a9841: Pulling fs layer [2023-05-03T18:41:44.872Z] 9325e15d5711: Pulling fs layer [2023-05-03T18:41:44.872Z] 556b6ee489ea: Pulling fs layer [2023-05-03T18:41:44.872Z] c5a4b2cf53e6: Pulling fs layer [2023-05-03T18:41:44.872Z] 9f32a84ed3da: Waiting [2023-05-03T18:41:44.872Z] 556b6ee489ea: Waiting [2023-05-03T18:41:44.872Z] 4d19c01a9841: Waiting [2023-05-03T18:41:44.872Z] 9325e15d5711: Waiting [2023-05-03T18:41:45.132Z] 85791d961cd3: Download complete [2023-05-03T18:41:45.132Z] 9f32a84ed3da: Download complete [2023-05-03T18:41:45.132Z] 4d19c01a9841: Verifying Checksum [2023-05-03T18:41:45.132Z] 4d19c01a9841: Download complete [2023-05-03T18:41:45.132Z] f56be85fc22e: Verifying Checksum [2023-05-03T18:41:45.132Z] f56be85fc22e: Download complete [2023-05-03T18:41:45.132Z] 9325e15d5711: Verifying Checksum [2023-05-03T18:41:45.132Z] 9325e15d5711: Download complete [2023-05-03T18:41:45.132Z] f56be85fc22e: Pull complete [2023-05-03T18:41:45.393Z] 85791d961cd3: Pull complete [2023-05-03T18:41:45.393Z] c5a4b2cf53e6: Verifying Checksum [2023-05-03T18:41:45.393Z] c5a4b2cf53e6: Download complete [2023-05-03T18:41:45.652Z] d694b5ae8c79: Verifying Checksum [2023-05-03T18:41:45.652Z] d694b5ae8c79: Download complete [2023-05-03T18:41:45.652Z] 556b6ee489ea: Verifying Checksum [2023-05-03T18:41:45.652Z] 556b6ee489ea: Download complete [2023-05-03T18:41:48.936Z] d694b5ae8c79: Pull complete [2023-05-03T18:41:48.936Z] 9f32a84ed3da: Pull complete [2023-05-03T18:41:48.936Z] 4d19c01a9841: Pull complete [2023-05-03T18:41:48.936Z] 9325e15d5711: Pull complete [2023-05-03T18:41:51.464Z] 556b6ee489ea: Pull complete [2023-05-03T18:41:52.032Z] c5a4b2cf53e6: Pull complete [2023-05-03T18:41:52.291Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-03T18:41:52.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-03T18:41:52.291Z] ---> c4be618373d6 [2023-05-03T18:41:52.291Z] Step 3/10 : ARG MAKE=make build [2023-05-03T18:41:54.830Z] ---> Running in 0f8dcaca911f [2023-05-03T18:41:54.830Z] Removing intermediate container 0f8dcaca911f [2023-05-03T18:41:54.830Z] ---> cb89c06e4f0e [2023-05-03T18:41:54.830Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-03T18:41:54.830Z] ---> Running in 1c8c6d487081 [2023-05-03T18:41:54.830Z] Removing intermediate container 1c8c6d487081 [2023-05-03T18:41:54.830Z] ---> b2450c257a3a [2023-05-03T18:41:54.830Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-03T18:41:54.830Z] ---> Running in cb2996e32a60 [2023-05-03T18:41:55.091Z] Removing intermediate container cb2996e32a60 [2023-05-03T18:41:55.091Z] ---> 004e055d2412 [2023-05-03T18:41:55.091Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-03T18:41:55.091Z] ---> Running in bd8c6cff0733 [2023-05-03T18:41:55.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T18:41:55.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T18:41:55.614Z] OK: 265 MiB in 53 packages [2023-05-03T18:41:55.872Z] Removing intermediate container bd8c6cff0733 [2023-05-03T18:41:55.872Z] ---> 55596b5c587a [2023-05-03T18:41:55.872Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-03T18:41:56.131Z] ---> 304cada25ac9 [2023-05-03T18:41:56.131Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T18:41:56.131Z] ---> Running in efb1c01c401f [2023-05-03T18:41:58.619Z] Still waiting to schedule task [2023-05-03T18:41:58.619Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-03T18:42:34.864Z] Removing intermediate container efb1c01c401f [2023-05-03T18:42:34.864Z] ---> 043b7bb45232 [2023-05-03T18:42:34.864Z] Step 9/10 : COPY . . [2023-05-03T18:42:34.864Z] ---> 60a9a6f4dc97 [2023-05-03T18:42:34.864Z] Step 10/10 : RUN ${MAKE} [2023-05-03T18:42:34.864Z] ---> Running in a83def3c845c [2023-05-03T18:42:34.864Z] noop [2023-05-03T18:42:34.864Z] Removing intermediate container a83def3c845c [2023-05-03T18:42:34.864Z] ---> 03e9571a5cd4 [2023-05-03T18:42:34.864Z] Successfully built 03e9571a5cd4 [2023-05-03T18:42:34.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:42:35.185Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T18:42:35.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:42:35.339Z] prd-ubuntu20.04-docker-8c-8g-12616 does not seem to be running inside a container [2023-05-03T18:42:35.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-03T18:42:35.700Z] $ docker top 3854427abfec8de41c09fc692aea5ae9a085d84f93fe579ab9344a0a8bcc40ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:42:36.039Z] + go version [2023-05-03T18:42:36.040Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-03T18:42:36.054Z] $ docker stop --time=1 3854427abfec8de41c09fc692aea5ae9a085d84f93fe579ab9344a0a8bcc40ae [2023-05-03T18:42:37.329Z] $ docker rm -f --volumes 3854427abfec8de41c09fc692aea5ae9a085d84f93fe579ab9344a0a8bcc40ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:42:37.713Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T18:42:37.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:42:37.779Z] prd-ubuntu20.04-docker-8c-8g-12616 does not seem to be running inside a container [2023-05-03T18:42:37.811Z] $ 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-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-03T18:42:38.121Z] $ docker top 54eacc26c2536fe058bdd63fd599433ba3f389e4e30e8b21508b953e253cabef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:42:38.462Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1444 [Pipeline] fileExists [Pipeline] sh [2023-05-03T18:42:38.758Z] + make test [2023-05-03T18:42:38.758Z] go test -race -coverprofile=coverage.out ./... [2023-05-03T18:42:45.331Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-03T18:43:00.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-03T18:43:00.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-03T18:43:00.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-03T18:43:00.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-03T18:43:00.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-03T18:43:00.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements [2023-05-03T18:43:00.205Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-03T18:43:00.205Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-03T18:43:00.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements [2023-05-03T18:43:00.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.070s coverage: 86.0% of statements [2023-05-03T18:43:01.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-03T18:43:01.141Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-03T18:43:01.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.100s coverage: 77.5% of statements [2023-05-03T18:43:01.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-03T18:43:01.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-03T18:43:02.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-03T18:43:04.244Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.078s coverage: 14.6% of statements [2023-05-03T18:43:04.244Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 68.5% of statements [2023-05-03T18:43:04.244Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.126s coverage: 89.2% of statements [2023-05-03T18:43:04.244Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-05-03T18:43:24.095Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12617 in /w/workspace/gexfoundry_device-sdk-go_PR-1444 [Pipeline] { [Pipeline] ws [2023-05-03T18:43:24.107Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-05-03T18:43:24.148Z] The recommended git tool is: git [2023-05-03T18:43:26.169Z] GO111MODULE=on go vet ./... [2023-05-03T18:43:28.071Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T18:43:28.071Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T18:43:28.071Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T18:43:28.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T18:43:28.102Z] $ docker stop --time=1 54eacc26c2536fe058bdd63fd599433ba3f389e4e30e8b21508b953e253cabef [2023-05-03T18:43:29.164Z] using credential edgex-jenkins-ssh [2023-05-03T18:43:29.181Z] Cloning the remote Git repository [2023-05-03T18:43:29.226Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-03T18:43:29.312Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-05-03T18:43:29.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-03T18:43:29.469Z] > git --version # timeout=10 [2023-05-03T18:43:29.491Z] > git --version # 'git version 2.25.1' [2023-05-03T18:43:29.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T18:43:29.645Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T18:43:30.696Z] $ docker rm -f --volumes 54eacc26c2536fe058bdd63fd599433ba3f389e4e30e8b21508b953e253cabef [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T18:43:31.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T18:43:31.280Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-03T18:43:31.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T18:43:32.088Z] + ls -al . [2023-05-03T18:43:32.088Z] total 272 [2023-05-03T18:43:32.088Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 18:42 . [2023-05-03T18:43:32.088Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:41 .. [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 18:41 .dockerignore [2023-05-03T18:43:32.088Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 18:41 .git [2023-05-03T18:43:32.088Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 18:41 .github [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 18:41 .gitignore [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 18:41 .golangci.yml [2023-05-03T18:43:32.088Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 18:41 .semver [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 3 18:41 CHANGELOG.md [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 18:41 GOVERNANCE.md [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 885 May 3 18:41 Jenkinsfile [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 18:41 LICENSE [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 3 18:41 Makefile [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 18:41 OWNERS.md [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 3 18:41 README.md [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 18:41 VERSION [2023-05-03T18:43:32.088Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 18:41 bin [2023-05-03T18:43:32.088Z] -rw-r--r-- 1 jenkins jenkins 106119 May 3 18:43 coverage.out [2023-05-03T18:43:32.088Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 18:41 example [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 3 18:41 go.mod [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 3 18:41 go.sum [2023-05-03T18:43:32.088Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 18:41 internal [2023-05-03T18:43:32.088Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 18:41 openapi [2023-05-03T18:43:32.088Z] drwxrwxr-x 6 jenkins jenkins 4096 May 3 18:41 pkg [2023-05-03T18:43:32.088Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:41 snap [2023-05-03T18:43:32.088Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:43:32.392Z] + 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=864bf5bff88d2b40ce3ecc658c2df1338bcf0458 --label arch=amd64 --label version=0.0.0 . [2023-05-03T18:43:32.392Z] Sending build context to Docker daemon 11.19MB [2023-05-03T18:43:32.392Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T18:43:32.392Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-03T18:43:32.392Z] ---> 03e9571a5cd4 [2023-05-03T18:43:32.392Z] Step 3/23 : ARG MAKE=make build [2023-05-03T18:43:32.652Z] ---> Running in 34952514746d [2023-05-03T18:43:32.652Z] Removing intermediate container 34952514746d [2023-05-03T18:43:32.652Z] ---> 79bce73cdbe0 [2023-05-03T18:43:32.652Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-03T18:43:32.652Z] ---> Running in 6b64d72c3bc9 [2023-05-03T18:43:32.652Z] Removing intermediate container 6b64d72c3bc9 [2023-05-03T18:43:32.652Z] ---> cc987ab56a80 [2023-05-03T18:43:32.652Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-03T18:43:32.652Z] ---> Running in 3a677eb3f84e [2023-05-03T18:43:32.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-03T18:43:32.671Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T18:43:32.911Z] Removing intermediate container 3a677eb3f84e [2023-05-03T18:43:32.911Z] ---> 43fba739225c [2023-05-03T18:43:32.911Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-03T18:43:32.911Z] ---> Running in 0e685234a245 [2023-05-03T18:43:33.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T18:43:33.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T18:43:33.431Z] OK: 265 MiB in 53 packages [2023-05-03T18:43:33.690Z] Removing intermediate container 0e685234a245 [2023-05-03T18:43:33.690Z] ---> 4d0411e3d12e [2023-05-03T18:43:33.690Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-03T18:43:33.950Z] ---> 1ad4028e7b54 [2023-05-03T18:43:33.950Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T18:43:33.950Z] ---> Running in e8af8b169bcd [2023-05-03T18:43:34.186Z] Merging remotes/origin/main commit c25088f917b9aace1eb3ba1852d94d7ec4a10515 into PR head commit b57916b769024855ef9434da56afa764e5360c17 [2023-05-03T18:43:33.480Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-03T18:43:33.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-03T18:43:33.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T18:43:33.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1444/head:refs/remotes/origin/PR-1444 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-03T18:43:34.205Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T18:43:34.552Z] Merge succeeded, producing 4fa74271ebb61e3660f96faaea96275a3adaa295 [2023-05-03T18:43:34.553Z] Checking out Revision 4fa74271ebb61e3660f96faaea96275a3adaa295 (PR-1444) [2023-05-03T18:43:34.888Z] Removing intermediate container e8af8b169bcd [2023-05-03T18:43:34.888Z] ---> 771547e5d084 [2023-05-03T18:43:34.888Z] Step 9/23 : COPY . . [2023-05-03T18:43:35.460Z] ---> b535108b348f [2023-05-03T18:43:35.460Z] Step 10/23 : RUN ${MAKE} [2023-05-03T18:43:35.460Z] ---> Running in e5885394fc0a [2023-05-03T18:43:34.278Z] > git checkout -f b57916b769024855ef9434da56afa764e5360c17 # timeout=10 [2023-05-03T18:43:34.382Z] > git remote # timeout=10 [2023-05-03T18:43:34.401Z] > git config --get remote.origin.url # timeout=10 [2023-05-03T18:43:34.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T18:43:34.441Z] > git merge c25088f917b9aace1eb3ba1852d94d7ec4a10515 # timeout=10 [2023-05-03T18:43:34.532Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-03T18:43:34.562Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T18:43:34.581Z] > git checkout -f 4fa74271ebb61e3660f96faaea96275a3adaa295 # timeout=10 [2023-05-03T18:43:35.721Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-03T18:43:38.056Z] Commit message: "Merge commit 'c25088f917b9aace1eb3ba1852d94d7ec4a10515' into HEAD" [2023-05-03T18:43:38.066Z] > git rev-list --no-walk b57916b769024855ef9434da56afa764e5360c17 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T18:43:39.067Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-03T18:43:39.067Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T18:43:39.067Z] Dload Upload Total Spent Left Speed [2023-05-03T18:43:39.067Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-05-03T18:43:39.727Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-03T18:43:40.053Z] + sudo tee /etc/docker/daemon.new [2023-05-03T18:43:40.054Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-03T18:43:40.054Z] { [2023-05-03T18:43:40.054Z] "registry-mirrors": [ [2023-05-03T18:43:40.054Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-03T18:43:40.054Z] ], [2023-05-03T18:43:40.054Z] "bip": "10.250.0.254/24", [2023-05-03T18:43:40.054Z] "hosts": [ [2023-05-03T18:43:40.054Z] "tcp://0.0.0.0:5555", [2023-05-03T18:43:40.054Z] "unix:///var/run/docker.sock" [2023-05-03T18:43:40.054Z] ], [2023-05-03T18:43:40.054Z] "mtu": 1458, [2023-05-03T18:43:40.054Z] "selinux-enabled": true, [2023-05-03T18:43:40.054Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-03T18:43:40.054Z] } [Pipeline] sh [2023-05-03T18:43:40.379Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-03T18:43:40.707Z] + sudo service docker restart [2023-05-03T18:43:53.818Z] Removing intermediate container e5885394fc0a [2023-05-03T18:43:53.818Z] ---> d52f313835d7 [2023-05-03T18:43:53.818Z] Step 11/23 : FROM alpine:3.17 [2023-05-03T18:43:53.818Z] 3.17: Pulling from library/alpine [2023-05-03T18:43:53.818Z] f56be85fc22e: Already exists [2023-05-03T18:43:53.818Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T18:43:53.818Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T18:43:53.818Z] ---> 9ed4aefc74f6 [2023-05-03T18:43:53.818Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-03T18:43:53.818Z] ---> Running in a5234c0f2c30 [2023-05-03T18:43:54.076Z] Removing intermediate container a5234c0f2c30 [2023-05-03T18:43:54.076Z] ---> 7c761fa8e816 [2023-05-03T18:43:54.076Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-03T18:43:54.076Z] ---> Running in 9b31d45b4bea [2023-05-03T18:43:54.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T18:43:54.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T18:43:54.592Z] OK: 7 MiB in 15 packages [2023-05-03T18:43:54.850Z] Removing intermediate container 9b31d45b4bea [2023-05-03T18:43:54.850Z] ---> c58601a73681 [2023-05-03T18:43:54.850Z] Step 14/23 : WORKDIR / [2023-05-03T18:43:54.850Z] ---> Running in a45edbcc128e [2023-05-03T18:43:54.850Z] Removing intermediate container a45edbcc128e [2023-05-03T18:43:54.850Z] ---> d9df7ce9b6f1 [2023-05-03T18:43:54.850Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-03T18:43:55.109Z] ---> ef9258a4e16e [2023-05-03T18:43:55.109Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-03T18:43:55.674Z] ---> ff35b60c7865 [2023-05-03T18:43:55.674Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-03T18:43:55.674Z] ---> 1198c880718c [2023-05-03T18:43:55.674Z] Step 18/23 : EXPOSE 59999 [2023-05-03T18:43:55.933Z] ---> Running in 86d91ed1721c [2023-05-03T18:43:55.933Z] Removing intermediate container 86d91ed1721c [2023-05-03T18:43:55.933Z] ---> 7ba3987dfe32 [2023-05-03T18:43:55.933Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-03T18:43:55.933Z] ---> Running in a8a8ba7669e0 [2023-05-03T18:43:55.933Z] Removing intermediate container a8a8ba7669e0 [2023-05-03T18:43:55.933Z] ---> 705557cb80d8 [2023-05-03T18:43:55.933Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-03T18:43:55.933Z] ---> Running in da1381c310da [2023-05-03T18:43:56.191Z] Removing intermediate container da1381c310da [2023-05-03T18:43:56.191Z] ---> 23bf16932d3d [2023-05-03T18:43:56.191Z] Step 21/23 : LABEL arch=amd64 [2023-05-03T18:43:56.191Z] ---> Running in 7a3330f0b259 [2023-05-03T18:43:56.191Z] Removing intermediate container 7a3330f0b259 [2023-05-03T18:43:56.191Z] ---> 7aec10556439 [2023-05-03T18:43:56.191Z] Step 22/23 : LABEL git_sha=864bf5bff88d2b40ce3ecc658c2df1338bcf0458 [2023-05-03T18:43:56.191Z] ---> Running in e7dbaf6c46c4 [2023-05-03T18:43:56.191Z] Removing intermediate container e7dbaf6c46c4 [2023-05-03T18:43:56.191Z] ---> ac37e98bfbd5 [2023-05-03T18:43:56.191Z] Step 23/23 : LABEL version=0.0.0 [2023-05-03T18:43:56.191Z] ---> Running in 120d50fc34c4 [2023-05-03T18:43:56.450Z] Removing intermediate container 120d50fc34c4 [2023-05-03T18:43:56.450Z] ---> 0566091e1d3d [2023-05-03T18:43:56.450Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T18:43:56.450Z] Successfully built 0566091e1d3d [2023-05-03T18:43:56.450Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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-05-03T18:43:56.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T18:43:56.927Z] [2023-05-03T18:43:56.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:43:57.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T18:43:57.222Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-03T18:43:57.222Z] 5eb5b503b376: Pulling fs layer [2023-05-03T18:43:57.222Z] 5c69ac0246d0: Pulling fs layer [2023-05-03T18:43:57.222Z] ec43610c2a17: Pulling fs layer [2023-05-03T18:43:57.222Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-03T18:43:57.222Z] 33b1e0a273af: Pulling fs layer [2023-05-03T18:43:57.222Z] 5d3b04190fa2: Pulling fs layer [2023-05-03T18:43:57.222Z] 2f39f015ded8: Pulling fs layer [2023-05-03T18:43:57.222Z] 33b1e0a273af: Waiting [2023-05-03T18:43:57.222Z] 5d3b04190fa2: Waiting [2023-05-03T18:43:57.222Z] 2f39f015ded8: Waiting [2023-05-03T18:43:57.222Z] 3a2ae6a8a46f: Waiting [2023-05-03T18:43:57.222Z] 5c69ac0246d0: Download complete [2023-05-03T18:43:57.222Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-03T18:43:57.222Z] 3a2ae6a8a46f: Download complete [2023-05-03T18:43:57.222Z] 33b1e0a273af: Verifying Checksum [2023-05-03T18:43:57.222Z] 33b1e0a273af: Download complete [2023-05-03T18:43:57.222Z] 5d3b04190fa2: Download complete [2023-05-03T18:43:57.222Z] ec43610c2a17: Verifying Checksum [2023-05-03T18:43:57.222Z] ec43610c2a17: Download complete [2023-05-03T18:43:57.482Z] 5eb5b503b376: Download complete [2023-05-03T18:43:58.047Z] 2f39f015ded8: Download complete [2023-05-03T18:43:58.613Z] 5eb5b503b376: Pull complete [2023-05-03T18:43:58.873Z] 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T18:43:58.992Z] provisioning config files... [2023-05-03T18:43:59.019Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config657410178187891992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:43:59.573Z] ec43610c2a17: Pull complete [2023-05-03T18:43:59.573Z] 3a2ae6a8a46f: Pull complete [2023-05-03T18:43:59.573Z] 33b1e0a273af: Pull complete [2023-05-03T18:43:59.573Z] 5d3b04190fa2: Pull complete [2023-05-03T18:43:59.883Z] ---> docker-login.sh [2023-05-03T18:43:59.883Z] nexus3.edgexfoundry.org:10001 [2023-05-03T18:44:00.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:44:00.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:44:00.422Z] Configure a credential helper to remove this warning. See [2023-05-03T18:44:00.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:44:00.422Z] [2023-05-03T18:44:00.422Z] Login Succeeded [2023-05-03T18:44:00.422Z] nexus3.edgexfoundry.org:10002 [2023-05-03T18:44:00.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:44:00.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:44:00.965Z] Configure a credential helper to remove this warning. See [2023-05-03T18:44:00.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:44:00.965Z] [2023-05-03T18:44:00.965Z] Login Succeeded [2023-05-03T18:44:00.965Z] nexus3.edgexfoundry.org:10003 [2023-05-03T18:44:00.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:44:01.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:44:01.236Z] Configure a credential helper to remove this warning. See [2023-05-03T18:44:01.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:44:01.236Z] [2023-05-03T18:44:01.236Z] Login Succeeded [2023-05-03T18:44:01.236Z] nexus3.edgexfoundry.org:10004 [2023-05-03T18:44:01.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:44:01.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:44:01.507Z] Configure a credential helper to remove this warning. See [2023-05-03T18:44:01.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:44:01.507Z] [2023-05-03T18:44:01.507Z] Login Succeeded [2023-05-03T18:44:01.507Z] docker.io [2023-05-03T18:44:01.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:44:02.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:44:02.048Z] Configure a credential helper to remove this warning. See [2023-05-03T18:44:02.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:44:02.048Z] [2023-05-03T18:44:02.048Z] Login Succeeded [2023-05-03T18:44:02.048Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T18:44:02.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T18:44:02.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T18:44:02.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T18:44:02.352Z] ========================================================= [2023-05-03T18:44:02.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-03T18:44:02.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:44:02.709Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-03T18:44:03.299Z] Sending build context to Docker daemon 5.977MB [2023-05-03T18:44:03.299Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T18:44:03.299Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-03T18:44:03.300Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-03T18:44:03.300Z] c41833b44d91: Pulling fs layer [2023-05-03T18:44:03.300Z] ed15518f5707: Pulling fs layer [2023-05-03T18:44:03.300Z] feae8fd75edb: Pulling fs layer [2023-05-03T18:44:03.300Z] 242c74f7c9fa: Pulling fs layer [2023-05-03T18:44:03.300Z] 3cdef696dda3: Pulling fs layer [2023-05-03T18:44:03.300Z] 2ced38df9373: Pulling fs layer [2023-05-03T18:44:03.300Z] 58f1dce35555: Pulling fs layer [2023-05-03T18:44:03.300Z] 3cdef696dda3: Waiting [2023-05-03T18:44:03.300Z] 2ced38df9373: Waiting [2023-05-03T18:44:03.300Z] 58f1dce35555: Waiting [2023-05-03T18:44:03.300Z] 242c74f7c9fa: Waiting [2023-05-03T18:44:03.300Z] ed15518f5707: Verifying Checksum [2023-05-03T18:44:03.300Z] ed15518f5707: Download complete [2023-05-03T18:44:03.300Z] 242c74f7c9fa: Verifying Checksum [2023-05-03T18:44:03.300Z] 242c74f7c9fa: Download complete [2023-05-03T18:44:03.300Z] 3cdef696dda3: Verifying Checksum [2023-05-03T18:44:03.300Z] 3cdef696dda3: Download complete [2023-05-03T18:44:03.568Z] c41833b44d91: Verifying Checksum [2023-05-03T18:44:03.753Z] 2f39f015ded8: Pull complete [2023-05-03T18:44:03.753Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-03T18:44:03.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T18:44:03.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:44:03.828Z] prd-ubuntu20.04-docker-8c-8g-12616 does not seem to be running inside a container [2023-05-03T18:44:03.862Z] $ 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-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-03T18:44:04.557Z] c41833b44d91: Pull complete [2023-05-03T18:44:04.557Z] 58f1dce35555: Verifying Checksum [2023-05-03T18:44:04.557Z] 58f1dce35555: Download complete [2023-05-03T18:44:05.149Z] ed15518f5707: Pull complete [2023-05-03T18:44:05.737Z] $ docker top 4b78ce095f638d8274c34f7cb70087fb4751e07b748a4d58144effe4487c34d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:44:06.112Z] feae8fd75edb: Verifying Checksum [2023-05-03T18:44:06.112Z] feae8fd75edb: Download complete [2023-05-03T18:44:06.112Z] 2ced38df9373: Verifying Checksum [2023-05-03T18:44:06.112Z] 2ced38df9373: Download complete [2023-05-03T18:44:06.133Z] ---> job-cost.sh [2023-05-03T18:44:06.133Z] lf-activate-venv: SKIPPING [2023-05-03T18:44:06.133Z] INFO: No Stack... [2023-05-03T18:44:06.391Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T18:44:06.649Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T18:44:06.936Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives/cost.csv [2023-05-03T18:44:06.936Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T18:44:06.949Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1444-2-stack-cost] [2023-05-03T18:44:06.954Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-2-stack-cost] did not exist. Created. [2023-05-03T18:44:06.954Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1444-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T18:44:07.250Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-03T18:44:07.279Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T18:44:07.286Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T18:44:07.310Z] $ docker stop --time=1 4b78ce095f638d8274c34f7cb70087fb4751e07b748a4d58144effe4487c34d7 [2023-05-03T18:44:08.452Z] $ docker rm -f --volumes 4b78ce095f638d8274c34f7cb70087fb4751e07b748a4d58144effe4487c34d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-03T18:44:16.211Z] feae8fd75edb: Pull complete [2023-05-03T18:44:16.480Z] 242c74f7c9fa: Pull complete [2023-05-03T18:44:16.480Z] 3cdef696dda3: Pull complete [2023-05-03T18:44:26.568Z] 2ced38df9373: Pull complete [2023-05-03T18:44:27.544Z] 58f1dce35555: Pull complete [2023-05-03T18:44:27.544Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-03T18:44:27.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-03T18:44:27.544Z] ---> fadd8f120f05 [2023-05-03T18:44:27.544Z] Step 3/10 : ARG MAKE=make build [2023-05-03T18:44:29.497Z] ---> Running in 5a4605742e88 [2023-05-03T18:44:29.497Z] Removing intermediate container 5a4605742e88 [2023-05-03T18:44:29.497Z] ---> d64b7b722048 [2023-05-03T18:44:29.497Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-03T18:44:29.497Z] ---> Running in 869e3e7d1097 [2023-05-03T18:44:29.766Z] Removing intermediate container 869e3e7d1097 [2023-05-03T18:44:29.767Z] ---> 11b1ccdf0185 [2023-05-03T18:44:29.767Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-03T18:44:29.767Z] ---> Running in 0b52534e2618 [2023-05-03T18:44:30.036Z] Removing intermediate container 0b52534e2618 [2023-05-03T18:44:30.036Z] ---> 6937d1e36eb9 [2023-05-03T18:44:30.036Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-03T18:44:30.303Z] ---> Running in a0d378911aa8 [2023-05-03T18:44:31.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T18:44:31.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T18:44:33.250Z] OK: 263 MiB in 53 packages [2023-05-03T18:44:33.844Z] Removing intermediate container a0d378911aa8 [2023-05-03T18:44:33.844Z] ---> 29492eea4f33 [2023-05-03T18:44:33.844Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-03T18:44:34.428Z] ---> 76bd03767adb [2023-05-03T18:44:34.428Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T18:44:34.428Z] ---> Running in ac5280e0a688 [2023-05-03T18:45:42.319Z] Removing intermediate container ac5280e0a688 [2023-05-03T18:45:42.319Z] ---> f9e46f950340 [2023-05-03T18:45:42.319Z] Step 9/10 : COPY . . [2023-05-03T18:45:42.319Z] ---> 3cb943f5aa01 [2023-05-03T18:45:42.319Z] Step 10/10 : RUN ${MAKE} [2023-05-03T18:45:42.319Z] ---> Running in a6b90aeedaf1 [2023-05-03T18:45:42.319Z] noop [2023-05-03T18:45:42.319Z] Removing intermediate container a6b90aeedaf1 [2023-05-03T18:45:42.319Z] ---> a00458b512cd [2023-05-03T18:45:42.319Z] Successfully built a00458b512cd [2023-05-03T18:45:42.319Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:45:42.668Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T18:45:42.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:45:42.876Z] prd-ubuntu20.04-docker-arm64-4c-16g-12617 does not seem to be running inside a container [2023-05-03T18:45:42.939Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-03T18:45:44.425Z] $ docker top ca7f8c6bea91103ad37e9c1f2e601fd4982554f7175c75b0f033d4b275217d00 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:45:45.235Z] + go version [2023-05-03T18:45:45.235Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-03T18:45:45.256Z] $ docker stop --time=1 ca7f8c6bea91103ad37e9c1f2e601fd4982554f7175c75b0f033d4b275217d00 [2023-05-03T18:45:46.852Z] $ docker rm -f --volumes ca7f8c6bea91103ad37e9c1f2e601fd4982554f7175c75b0f033d4b275217d00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:45:47.351Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T18:45:47.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:45:47.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-12617 does not seem to be running inside a container [2023-05-03T18:45:47.586Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-03T18:45:48.734Z] $ docker top bbccd4b0beca451fa9547c3ac764e6d5af79c1c0425b11ecc6536c201f918ef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:45:49.246Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-05-03T18:45:49.577Z] + make test [2023-05-03T18:45:49.577Z] go test -race -coverprofile=coverage.out ./... [2023-05-03T18:46:28.467Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-03T18:48:20.870Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-03T18:48:20.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-03T18:48:20.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-03T18:48:20.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-03T18:48:20.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-03T18:48:33.184Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.233s coverage: 27.6% of statements [2023-05-03T18:48:35.759Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.245s coverage: 80.2% of statements [2023-05-03T18:48:50.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-03T18:48:50.792Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-03T18:48:50.792Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.485s coverage: 86.0% of statements [2023-05-03T18:48:56.218Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-03T18:48:56.218Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.495s coverage: 77.5% of statements [2023-05-03T18:49:00.652Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-03T18:49:02.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-03T18:49:02.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-03T18:49:03.483Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.317s coverage: 14.6% of statements [2023-05-03T18:49:03.483Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.367s coverage: 68.5% of statements [2023-05-03T18:49:06.078Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.439s coverage: 89.2% of statements [2023-05-03T18:49:06.665Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-03T18:49:06.934Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.5% of statements [2023-05-03T18:49:07.898Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-03T18:49:07.898Z] GO111MODULE=on go vet ./... [2023-05-03T18:51:29.631Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T18:51:29.631Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T18:51:29.631Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T18:51:29.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T18:51:29.663Z] $ docker stop --time=1 bbccd4b0beca451fa9547c3ac764e6d5af79c1c0425b11ecc6536c201f918ef7 [2023-05-03T18:51:31.501Z] $ docker rm -f --volumes bbccd4b0beca451fa9547c3ac764e6d5af79c1c0425b11ecc6536c201f918ef7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T18:51:32.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T18:51:32.999Z] Warning: overwriting stash ‘coverage-report’ [2023-05-03T18:51:33.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T18:51:33.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T18:51:34.236Z] + ls -al . [2023-05-03T18:51:34.237Z] total 268 [2023-05-03T18:51:34.237Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 18:45 . [2023-05-03T18:51:34.237Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:43 .. [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 140 May 3 18:43 .dockerignore [2023-05-03T18:51:34.237Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 18:43 .git [2023-05-03T18:51:34.237Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 18:43 .github [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 131 May 3 18:43 .gitignore [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 18:43 .golangci.yml [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 3 18:43 CHANGELOG.md [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 18:43 GOVERNANCE.md [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 885 May 3 18:43 Jenkinsfile [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 3 18:43 LICENSE [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 3 18:43 Makefile [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 619 May 3 18:43 OWNERS.md [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 3 18:43 README.md [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 18:41 VERSION [2023-05-03T18:51:34.237Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 18:43 bin [2023-05-03T18:51:34.237Z] -rw-r--r-- 1 jenkins jenkins 106119 May 3 18:49 coverage.out [2023-05-03T18:51:34.237Z] drwxrwxr-x 5 jenkins jenkins 4096 May 3 18:43 example [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 3 18:43 go.mod [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 3 18:43 go.sum [2023-05-03T18:51:34.237Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 18:43 internal [2023-05-03T18:51:34.237Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 18:43 openapi [2023-05-03T18:51:34.237Z] drwxrwxr-x 6 jenkins jenkins 4096 May 3 18:43 pkg [2023-05-03T18:51:34.237Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:43 snap [2023-05-03T18:51:34.237Z] -rw-rw-r-- 1 jenkins jenkins 222 May 3 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:51:34.581Z] + 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=4fa74271ebb61e3660f96faaea96275a3adaa295 --label arch=arm64 --label version=0.0.0 . [2023-05-03T18:51:34.847Z] Sending build context to Docker daemon 6.084MB [2023-05-03T18:51:35.114Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T18:51:35.114Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-03T18:51:35.114Z] ---> a00458b512cd [2023-05-03T18:51:35.114Z] Step 3/23 : ARG MAKE=make build [2023-05-03T18:51:35.114Z] ---> Running in 007630fa45ea [2023-05-03T18:51:35.380Z] Removing intermediate container 007630fa45ea [2023-05-03T18:51:35.380Z] ---> a7a76d262688 [2023-05-03T18:51:35.380Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-03T18:51:35.380Z] ---> Running in 7256e351353d [2023-05-03T18:51:35.965Z] Removing intermediate container 7256e351353d [2023-05-03T18:51:35.965Z] ---> 00b28712433e [2023-05-03T18:51:35.965Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-03T18:51:35.965Z] ---> Running in 50334f011a7f [2023-05-03T18:51:36.230Z] Removing intermediate container 50334f011a7f [2023-05-03T18:51:36.230Z] ---> e9ad250ff4cc [2023-05-03T18:51:36.230Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-03T18:51:36.230Z] ---> Running in 16315605511d [2023-05-03T18:51:37.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T18:51:37.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T18:51:38.732Z] OK: 263 MiB in 53 packages [2023-05-03T18:51:39.318Z] Removing intermediate container 16315605511d [2023-05-03T18:51:39.318Z] ---> 6485721767e5 [2023-05-03T18:51:39.318Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-03T18:51:39.903Z] ---> 9fcff9ff4edd [2023-05-03T18:51:39.903Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T18:51:39.903Z] ---> Running in 9d0706509fe2 [2023-05-03T18:51:42.484Z] Removing intermediate container 9d0706509fe2 [2023-05-03T18:51:42.484Z] ---> fbd9a39c2143 [2023-05-03T18:51:42.484Z] Step 9/23 : COPY . . [2023-05-03T18:51:43.895Z] ---> 317941c68d89 [2023-05-03T18:51:43.895Z] Step 10/23 : RUN ${MAKE} [2023-05-03T18:51:43.895Z] ---> Running in d7bb2ec4cace [2023-05-03T18:51:44.479Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-03T18:53:51.154Z] Removing intermediate container d7bb2ec4cace [2023-05-03T18:53:51.154Z] ---> 1f811828464d [2023-05-03T18:53:51.154Z] Step 11/23 : FROM alpine:3.17 [2023-05-03T18:53:51.154Z] 3.17: Pulling from library/alpine [2023-05-03T18:53:51.154Z] c41833b44d91: Already exists [2023-05-03T18:53:51.154Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T18:53:51.154Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T18:53:51.154Z] ---> 51e60588ff2c [2023-05-03T18:53:51.154Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-03T18:53:51.154Z] ---> Running in a3f0f4ba2069 [2023-05-03T18:53:51.154Z] Removing intermediate container a3f0f4ba2069 [2023-05-03T18:53:51.154Z] ---> 5297c4a7f26b [2023-05-03T18:53:51.154Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-03T18:53:51.154Z] ---> Running in c58011db9062 [2023-05-03T18:53:51.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T18:53:51.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T18:53:53.148Z] OK: 7 MiB in 15 packages [2023-05-03T18:53:56.495Z] Removing intermediate container c58011db9062 [2023-05-03T18:53:56.495Z] ---> 8a9600afe917 [2023-05-03T18:53:56.495Z] Step 14/23 : WORKDIR / [2023-05-03T18:53:56.495Z] ---> Running in cfb38550f968 [2023-05-03T18:53:56.495Z] Removing intermediate container cfb38550f968 [2023-05-03T18:53:56.495Z] ---> f190f6a1e74b [2023-05-03T18:53:56.495Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-03T18:53:57.079Z] ---> c0efef6bfbce [2023-05-03T18:53:57.079Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-03T18:53:58.488Z] ---> b477309c2895 [2023-05-03T18:53:58.488Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-03T18:53:59.072Z] ---> 3af43f4d1785 [2023-05-03T18:53:59.072Z] Step 18/23 : EXPOSE 59999 [2023-05-03T18:53:59.072Z] ---> Running in 38c4366dbe48 [2023-05-03T18:53:59.339Z] Removing intermediate container 38c4366dbe48 [2023-05-03T18:53:59.339Z] ---> 6c3289e7a8bd [2023-05-03T18:53:59.339Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-03T18:53:59.339Z] ---> Running in 57332fd10fd5 [2023-05-03T18:53:59.606Z] Removing intermediate container 57332fd10fd5 [2023-05-03T18:53:59.606Z] ---> 10122b930565 [2023-05-03T18:53:59.606Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-03T18:53:59.874Z] ---> Running in d8a033c40e37 [2023-05-03T18:54:00.140Z] Removing intermediate container d8a033c40e37 [2023-05-03T18:54:00.140Z] ---> 4ef8a728c5f9 [2023-05-03T18:54:00.140Z] Step 21/23 : LABEL arch=arm64 [2023-05-03T18:54:00.140Z] ---> Running in 8c6bfd322ae7 [2023-05-03T18:54:00.406Z] Removing intermediate container 8c6bfd322ae7 [2023-05-03T18:54:00.406Z] ---> 19470083874d [2023-05-03T18:54:00.406Z] Step 22/23 : LABEL git_sha=4fa74271ebb61e3660f96faaea96275a3adaa295 [2023-05-03T18:54:00.406Z] ---> Running in 9b010d35e0b1 [2023-05-03T18:54:00.674Z] Removing intermediate container 9b010d35e0b1 [2023-05-03T18:54:00.674Z] ---> b2af45c29e06 [2023-05-03T18:54:00.674Z] Step 23/23 : LABEL version=0.0.0 [2023-05-03T18:54:00.951Z] ---> Running in 06de5b867bc1 [2023-05-03T18:54:01.216Z] Removing intermediate container 06de5b867bc1 [2023-05-03T18:54:01.216Z] ---> 32866c79acc5 [2023-05-03T18:54:01.216Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T18:54:01.216Z] Successfully built 32866c79acc5 [2023-05-03T18:54:01.216Z] 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-05-03T18:54:01.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T18:54:01.648Z] [2023-05-03T18:54:01.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:54:01.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T18:54:01.975Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-03T18:54:01.975Z] 8998bd30e6a1: Pulling fs layer [2023-05-03T18:54:01.975Z] 04944245beec: Pulling fs layer [2023-05-03T18:54:01.975Z] 699f458cf7ca: Pulling fs layer [2023-05-03T18:54:01.975Z] 765212b225bb: Pulling fs layer [2023-05-03T18:54:01.975Z] f23df028b6ca: Pulling fs layer [2023-05-03T18:54:01.975Z] d65c8cfc05b1: Pulling fs layer [2023-05-03T18:54:01.975Z] 2437ff75d9bd: Pulling fs layer [2023-05-03T18:54:01.975Z] 765212b225bb: Waiting [2023-05-03T18:54:01.975Z] f23df028b6ca: Waiting [2023-05-03T18:54:01.975Z] d65c8cfc05b1: Waiting [2023-05-03T18:54:01.975Z] 2437ff75d9bd: Waiting [2023-05-03T18:54:02.246Z] 04944245beec: Verifying Checksum [2023-05-03T18:54:02.247Z] 765212b225bb: Download complete [2023-05-03T18:54:02.247Z] f23df028b6ca: Verifying Checksum [2023-05-03T18:54:02.247Z] f23df028b6ca: Download complete [2023-05-03T18:54:02.247Z] d65c8cfc05b1: Verifying Checksum [2023-05-03T18:54:02.247Z] d65c8cfc05b1: Download complete [2023-05-03T18:54:02.247Z] 699f458cf7ca: Verifying Checksum [2023-05-03T18:54:02.247Z] 699f458cf7ca: Download complete [2023-05-03T18:54:02.831Z] 8998bd30e6a1: Verifying Checksum [2023-05-03T18:54:02.832Z] 8998bd30e6a1: Download complete [2023-05-03T18:54:05.420Z] 2437ff75d9bd: Verifying Checksum [2023-05-03T18:54:05.420Z] 2437ff75d9bd: Download complete [2023-05-03T18:54:08.768Z] 8998bd30e6a1: Pull complete [2023-05-03T18:54:09.352Z] 04944245beec: Pull complete [2023-05-03T18:54:10.769Z] 699f458cf7ca: Pull complete [2023-05-03T18:54:10.769Z] 765212b225bb: Pull complete [2023-05-03T18:54:11.731Z] f23df028b6ca: Pull complete [2023-05-03T18:54:11.731Z] d65c8cfc05b1: Pull complete [2023-05-03T18:54:26.724Z] 2437ff75d9bd: Pull complete [2023-05-03T18:54:26.724Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-03T18:54:26.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T18:54:26.724Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:54:26.907Z] prd-ubuntu20.04-docker-arm64-4c-16g-12617 does not seem to be running inside a container [2023-05-03T18:54:26.968Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-03T18:54:29.344Z] $ docker top 8efa6f4b60e30e7e7b721da7e1dc7a48c229974aff82a79bc53b3ec4b69b3492 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:54:29.889Z] ---> job-cost.sh [2023-05-03T18:54:30.157Z] lf-activate-venv: SKIPPING [2023-05-03T18:54:30.157Z] INFO: No Stack... [2023-05-03T18:54:30.738Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-03T18:54:31.317Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T18:54:31.634Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-05-03T18:54:31.634Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T18:54:31.671Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1444-2-stack-cost] [2023-05-03T18:54:31.680Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-2-stack-cost] did not exist. Created. [2023-05-03T18:54:31.680Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1444-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T18:54:32.374Z] /w/workspace/device-sdk-go/2@tmp/durable-e3bed2a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-03T18:54:33.048Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-03T18:54:33.068Z] Warning: overwriting stash ‘stack-cost’ [2023-05-03T18:54:33.127Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T18:54:33.132Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T18:54:33.148Z] $ docker stop --time=1 8efa6f4b60e30e7e7b721da7e1dc7a48c229974aff82a79bc53b3ec4b69b3492 [2023-05-03T18:54:34.721Z] $ docker rm -f --volumes 8efa6f4b60e30e7e7b721da7e1dc7a48c229974aff82a79bc53b3ec4b69b3492 [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-05-03T18:54:35.160Z] provisioning config files... [2023-05-03T18:54:35.172Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config2664120704379014334tmp [Pipeline] { [Pipeline] sh [2023-05-03T18:54:35.472Z] + set +x [2023-05-03T18:54:35.472Z] + bash -s -- [2023-05-03T18:54:35.472Z] + curl -s https://codecov.io/bash [2023-05-03T18:54:35.472Z] [2023-05-03T18:54:35.472Z] _____ _ [2023-05-03T18:54:35.472Z] / ____| | | [2023-05-03T18:54:35.472Z] | | ___ __| | ___ ___ _____ __ [2023-05-03T18:54:35.472Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-03T18:54:35.472Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-03T18:54:35.472Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-03T18:54:35.472Z] Bash-1.0.6 [2023-05-03T18:54:35.472Z] [2023-05-03T18:54:35.472Z] [2023-05-03T18:54:35.472Z] ==> git version 2.25.1 found [2023-05-03T18:54:35.472Z] ==> 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-05-03T18:54:35.472Z] Release-Date: 2020-01-08 [2023-05-03T18:54:35.472Z] 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-05-03T18:54:35.472Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-03T18:54:35.472Z] ==> Jenkins CI detected. [2023-05-03T18:54:35.472Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1444 [2023-05-03T18:54:35.472Z] project root: . [2023-05-03T18:54:35.472Z] --> token set from env [2023-05-03T18:54:35.472Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-03T18:54:35.472Z] ==> Running gcov in . (disable via -X gcov) [2023-05-03T18:54:35.473Z] ==> Python coveragepy not found [2023-05-03T18:54:35.473Z] ==> Searching for coverage reports in: [2023-05-03T18:54:35.473Z] + . [2023-05-03T18:54:35.733Z] -> Found 1 reports [2023-05-03T18:54:35.733Z] ==> Detecting git/mercurial file structure [2023-05-03T18:54:35.733Z] ==> Reading reports [2023-05-03T18:54:35.733Z] + ./coverage.out bytes=106119 [2023-05-03T18:54:35.733Z] ==> Appending adjustments [2023-05-03T18:54:35.733Z] https://docs.codecov.io/docs/fixing-reports [2023-05-03T18:54:35.993Z] + Found adjustments [2023-05-03T18:54:35.993Z] ==> Gzipping contents [2023-05-03T18:54:35.993Z] 16K /tmp/codecov.mbosY4.gz [2023-05-03T18:54:35.993Z] ==> Uploading reports [2023-05-03T18:54:35.993Z] url: https://codecov.io [2023-05-03T18:54:35.993Z] query: branch=PR-1444&commit=864bf5bff88d2b40ce3ecc658c2df1338bcf0458&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1444%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1444&job=&cmd_args= [2023-05-03T18:54:35.993Z] -> Pinging Codecov [2023-05-03T18:54:35.993Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1444&commit=864bf5bff88d2b40ce3ecc658c2df1338bcf0458&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1444%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1444&job=&cmd_args= [2023-05-03T18:54:35.993Z] -> Uploading to [2023-05-03T18:54:35.993Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-03/7E55EF52A471D76F132DFD9A03CDDE97/864bf5bff88d2b40ce3ecc658c2df1338bcf0458/0d25d08b-5875-4cbe-b41d-f08bd9a80636.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T185435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3be570352261233802ba58f1c9a7df54509a1370961a41c79ffad7182517374a [2023-05-03T18:54:35.993Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T18:54:35.993Z] Dload Upload Total Spent Left Speed [2023-05-03T18:54:36.251Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15037 0 0 100 15037 0 61126 --:--:-- --:--:-- --:--:-- 61126 [2023-05-03T18:54:36.251Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/864bf5bff88d2b40ce3ecc658c2df1338bcf0458 [Pipeline] } [2023-05-03T18:54:36.259Z] 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-05-03T18:54:37.015Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives ] [2023-05-03T18:54:37.015Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-03T18:54:37.015Z] total 16 [2023-05-03T18:54:37.015Z] drwxr-xr-x 3 root root 4096 May 3 18:44 . [2023-05-03T18:54:37.015Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 18:44 .. [2023-05-03T18:54:37.015Z] drwxr-xr-x 2 root root 4096 May 3 18:44 cost [2023-05-03T18:54:37.015Z] -rw-r--r-- 1 root root 86 May 3 18:44 cost.csv [2023-05-03T18:54:37.015Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-03T18:54:37.015Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-03T18:54:37.015Z] total 16 [2023-05-03T18:54:37.015Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 18:44 . [2023-05-03T18:54:37.015Z] drwxrwxr-x 12 jenkins jenkins 4096 May 3 18:44 .. [2023-05-03T18:54:37.015Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 18:44 cost [2023-05-03T18:54:37.015Z] -rw-r--r-- 1 jenkins jenkins 86 May 3 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:54:37.303Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:54:38.158Z] ---> package-listing.sh [2023-05-03T18:54:38.158Z] ++ facter osfamily [2023-05-03T18:54:38.158Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-03T18:54:38.417Z] + OS_FAMILY=debian [2023-05-03T18:54:38.417Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1444 [2023-05-03T18:54:38.417Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-03T18:54:38.417Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-03T18:54:38.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-03T18:54:38.417Z] + PACKAGES=/tmp/packages_start.txt [2023-05-03T18:54:38.417Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1444 ']' [2023-05-03T18:54:38.417Z] + PACKAGES=/tmp/packages_end.txt [2023-05-03T18:54:38.417Z] + case "${OS_FAMILY}" in [2023-05-03T18:54:38.417Z] + dpkg -l [2023-05-03T18:54:38.417Z] + grep '^ii' [2023-05-03T18:54:38.417Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-03T18:54:38.417Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-03T18:54:38.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-03T18:54:38.417Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1444 ']' [2023-05-03T18:54:38.417Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives/ [2023-05-03T18:54:38.417Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives/ [Pipeline] echo [2023-05-03T18:54:38.425Z] 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-1444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-03T18:54:38.699Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:54:39.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T18:54:39.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:54:39.326Z] prd-ubuntu20.04-docker-8c-8g-12616 does not seem to be running inside a container [2023-05-03T18:54:39.353Z] $ 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-1444/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-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-03T18:54:39.564Z] $ docker top 63c33be740abc195ae8bc71cc3a7495c05b7512068622597717aae93154ee038 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:54:39.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-03T18:54:40.190Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-03T18:54:40.473Z] + ls /var/log/sa-host [2023-05-03T18:54:40.474Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T18:54:40.625Z] provisioning config files... [2023-05-03T18:54:40.633Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config1970541843789309600tmp [Pipeline] { [Pipeline] echo [2023-05-03T18:54:40.649Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:54:40.932Z] ---> create-netrc.sh [Pipeline] } [2023-05-03T18:54:40.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:54:41.270Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-03T18:54:41.278Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:54:41.561Z] ---> sudo-logs.sh [2023-05-03T18:54:41.561Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-03T18:54:41.590Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:54:41.874Z] ---> job-cost.sh [2023-05-03T18:54:41.874Z] lf-activate-venv: SKIPPING [2023-05-03T18:54:41.874Z] DEBUG: total: 0.2199999988079071 [2023-05-03T18:54:41.874Z] INFO: Retrieving Stack Cost... [2023-05-03T18:54:42.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T18:54:42.697Z] INFO: Archiving Costs [Pipeline] echo [2023-05-03T18:54:42.707Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:54:42.990Z] ---> logs-deploy.sh [2023-05-03T18:54:42.990Z] lf-activate-venv: SKIPPING [2023-05-03T18:54:42.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1444/2 [2023-05-03T18:54:42.990Z] INFO: archiving workspace using pattern(s): [2023-05-03T18:54:43.925Z] Archives upload complete. [2023-05-03T18:54:43.925Z] INFO: archiving logs to Nexus