Pull request #1444 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 80b81ab2f477bd185adcefd53f85ca19e2c4b826+c2fb876fcd1e0284408ad645a921007a1ace85f5 (a0c18cc00963b4e1afefa650338d6907b195a1fb) 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-ssh16795132961121145410.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14264792164521331070.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7964105887104461809.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6543191457125678696.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-ssh17321438836281780603.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14551’ Running on prd-ubuntu20.04-docker-8c-8g-14553 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 c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit 80b81ab2f477bd185adcefd53f85ca19e2c4b826 Merge succeeded, producing a83c9e9d729ba489287fbb40eac5b3bfde2cd464 Checking out Revision a83c9e9d729ba489287fbb40eac5b3bfde2cd464 (PR-1444) > git config core.sparsecheckout # timeout=10 > git checkout -f 80b81ab2f477bd185adcefd53f85ca19e2c4b826 # 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 c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a83c9e9d729ba489287fbb40eac5b3bfde2cd464 # timeout=10 Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T21:01:16.393Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T21:01:16.462Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T21:01:16.482Z] ========================================================= [2023-05-08T21:01:16.482Z] EdgeX Global Pipelines Version Info [2023-05-08T21:01:16.482Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 50c6a6116dfdbae4c55dfd0671a85cb9e451c20b # timeout=10 [2023-05-08T21:01:17.205Z] ------------------- [2023-05-08T21:01:17.205Z] stable info: [2023-05-08T21:01:17.205Z] ------------------- [2023-05-08T21:01:17.205Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T21:01:17.205Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T21:01:17.205Z] Message: update stable to v1.0.249 [2023-05-08T21:01:17.775Z] ------------------- [2023-05-08T21:01:17.775Z] experimental info: [2023-05-08T21:01:17.775Z] ------------------- [2023-05-08T21:01:17.775Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T21:01:17.775Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T21:01:17.775Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T21:01:17.966Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-08T21:01:17.982Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-08T21:01:18.002Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T21:01:18.021Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T21:01:18.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T21:01:18.056Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T21:01:18.075Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T21:01:18.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-08T21:01:18.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T21:01:18.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T21:01:18.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T21:01:18.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-08T21:01:18.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T21:01:18.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T21:01:18.206Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T21:01:18.223Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T21:01:18.240Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T21:01:18.257Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T21:01:18.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T21:01:18.290Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T21:01:18.308Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-08T21:01:18.326Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-08T21:01:18.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T21:01:18.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T21:01:18.381Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T21:01:18.398Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T21:01:18.413Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T21:01:18.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1444 [Pipeline] echo [2023-05-08T21:01:18.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1444 [Pipeline] echo [2023-05-08T21:01:18.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1444 [Pipeline] echo [2023-05-08T21:01:18.478Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a83c9e9d729ba489287fbb40eac5b3bfde2cd464 [Pipeline] echo [2023-05-08T21:01:18.494Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a83c9e9 [Pipeline] echo [2023-05-08T21:01:18.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T21:01:18.572Z] provisioning config files... [2023-05-08T21:01:18.586Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config13001916313147315212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:01:18.884Z] ---> docker-login.sh [2023-05-08T21:01:18.884Z] nexus3.edgexfoundry.org:10001 [2023-05-08T21:01:19.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:19.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:19.145Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:19.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:19.145Z] [2023-05-08T21:01:19.145Z] Login Succeeded [2023-05-08T21:01:19.145Z] nexus3.edgexfoundry.org:10002 [2023-05-08T21:01:19.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:19.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:19.145Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:19.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:19.145Z] [2023-05-08T21:01:19.146Z] Login Succeeded [2023-05-08T21:01:19.146Z] nexus3.edgexfoundry.org:10003 [2023-05-08T21:01:19.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:19.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:19.406Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:19.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:19.406Z] [2023-05-08T21:01:19.406Z] Login Succeeded [2023-05-08T21:01:19.406Z] nexus3.edgexfoundry.org:10004 [2023-05-08T21:01:19.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:19.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:19.406Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:19.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:19.406Z] [2023-05-08T21:01:19.406Z] Login Succeeded [2023-05-08T21:01:19.406Z] docker.io [2023-05-08T21:01:19.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:19.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:19.666Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:19.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:19.666Z] [2023-05-08T21:01:19.666Z] Login Succeeded [2023-05-08T21:01:19.666Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T21:01:19.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T21:01:20.045Z] + git rev-list -1 --merges a83c9e9d729ba489287fbb40eac5b3bfde2cd464~1..a83c9e9d729ba489287fbb40eac5b3bfde2cd464 [Pipeline] echo [2023-05-08T21:01:20.088Z] -----------> git rev-list -1 --merges a83c9e9d729ba489287fbb40eac5b3bfde2cd464~1..a83c9e9d729ba489287fbb40eac5b3bfde2cd464 a83c9e9d729ba489287fbb40eac5b3bfde2cd464 [2023-05-08T21:01:20.088Z] a83c9e9d729ba489287fbb40eac5b3bfde2cd464 [false] [Pipeline] sh [2023-05-08T21:01:20.378Z] + git log --format=format:%s -1 a83c9e9d729ba489287fbb40eac5b3bfde2cd464 [Pipeline] echo [2023-05-08T21:01:20.391Z] ========================================================= [2023-05-08T21:01:20.391Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T21:01:20.391Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T21:01:20.723Z] + git log --format=format:%s -1 a83c9e9d729ba489287fbb40eac5b3bfde2cd464 [Pipeline] echo [2023-05-08T21:01:20.734Z] [semverPrep] GIT_COMMIT: a83c9e9d729ba489287fbb40eac5b3bfde2cd464, Commit Message: Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD [Pipeline] echo [2023-05-08T21:01:20.746Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T21:01:21.147Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T21:01:21.147Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T21:01:21.147Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T21:01:21.147Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T21:01:21.147Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T21:01:21.147Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T21:01:21.147Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:01:21.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T21:01:21.535Z] [2023-05-08T21:01:21.535Z] 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-08T21:01:21.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T21:01:21.836Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T21:01:21.836Z] b85a868b505f: Pulling fs layer [2023-05-08T21:01:21.836Z] e2be974225ed: Pulling fs layer [2023-05-08T21:01:21.836Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T21:01:21.836Z] 988bab9f4d93: Pulling fs layer [2023-05-08T21:01:21.836Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T21:01:21.836Z] eaf3925da568: Pulling fs layer [2023-05-08T21:01:21.836Z] bab4dde63d76: Pulling fs layer [2023-05-08T21:01:21.836Z] bde34c3a00c8: Pulling fs layer [2023-05-08T21:01:21.836Z] b352a97aabf1: Pulling fs layer [2023-05-08T21:01:21.836Z] 4872d77fe225: Pulling fs layer [2023-05-08T21:01:21.836Z] 5851b861e8e6: Pulling fs layer [2023-05-08T21:01:21.836Z] b352a97aabf1: Waiting [2023-05-08T21:01:21.836Z] 4872d77fe225: Waiting [2023-05-08T21:01:21.836Z] 5851b861e8e6: Waiting [2023-05-08T21:01:21.836Z] eaf3925da568: Waiting [2023-05-08T21:01:21.836Z] bde34c3a00c8: Waiting [2023-05-08T21:01:21.836Z] bab4dde63d76: Waiting [2023-05-08T21:01:21.836Z] 988bab9f4d93: Waiting [2023-05-08T21:01:21.836Z] 1469e6f7b9e6: Waiting [2023-05-08T21:01:21.836Z] e2be974225ed: Verifying Checksum [2023-05-08T21:01:21.836Z] e2be974225ed: Download complete [2023-05-08T21:01:21.836Z] 988bab9f4d93: Verifying Checksum [2023-05-08T21:01:21.836Z] 988bab9f4d93: Download complete [2023-05-08T21:01:21.836Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T21:01:21.836Z] 1469e6f7b9e6: Download complete [2023-05-08T21:01:21.836Z] eaf3925da568: Download complete [2023-05-08T21:01:21.836Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T21:01:21.836Z] 339a4e72a1f5: Download complete [2023-05-08T21:01:22.095Z] bde34c3a00c8: Download complete [2023-05-08T21:01:22.095Z] b352a97aabf1: Verifying Checksum [2023-05-08T21:01:22.095Z] b352a97aabf1: Download complete [2023-05-08T21:01:22.095Z] 4872d77fe225: Verifying Checksum [2023-05-08T21:01:22.095Z] 4872d77fe225: Download complete [2023-05-08T21:01:22.095Z] 5851b861e8e6: Download complete [2023-05-08T21:01:22.095Z] b85a868b505f: Verifying Checksum [2023-05-08T21:01:22.095Z] b85a868b505f: Download complete [2023-05-08T21:01:22.354Z] bab4dde63d76: Verifying Checksum [2023-05-08T21:01:22.354Z] bab4dde63d76: Download complete [2023-05-08T21:01:23.306Z] b85a868b505f: Pull complete [2023-05-08T21:01:23.306Z] e2be974225ed: Pull complete [2023-05-08T21:01:23.872Z] 339a4e72a1f5: Pull complete [2023-05-08T21:01:23.872Z] 988bab9f4d93: Pull complete [2023-05-08T21:01:24.132Z] 1469e6f7b9e6: Pull complete [2023-05-08T21:01:24.132Z] eaf3925da568: Pull complete [2023-05-08T21:01:26.037Z] bab4dde63d76: Pull complete [2023-05-08T21:01:26.038Z] bde34c3a00c8: Pull complete [2023-05-08T21:01:26.038Z] b352a97aabf1: Pull complete [2023-05-08T21:01:26.038Z] 4872d77fe225: Pull complete [2023-05-08T21:01:26.038Z] 5851b861e8e6: Pull complete [2023-05-08T21:01:26.038Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T21:01:26.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T21:01:26.038Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:01:26.148Z] prd-ubuntu20.04-docker-8c-8g-14553 does not seem to be running inside a container [2023-05-08T21:01:26.183Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T21:01:27.929Z] $ docker top cfb01f2af986492655c4f0f470b0c280e92c51c19803c829949c2bcc74a9aae8 -eo pid,comm [2023-05-08T21:01:27.984Z] 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-08T21:01:27.984Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T21:01:28.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T21:01:28.022Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T21:01:28.123Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T21:01:28.132Z] $ docker exec cfb01f2af986492655c4f0f470b0c280e92c51c19803c829949c2bcc74a9aae8 ssh-agent [2023-05-08T21:01:28.248Z] SSH_AUTH_SOCK=/tmp/ssh-A0kMOMcG191E/agent.32 [2023-05-08T21:01:28.248Z] SSH_AGENT_PID=38 [2023-05-08T21:01:28.255Z] Running ssh-add (command line suppressed) [2023-05-08T21:01:28.368Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_8666739421101674492.key (/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_8666739421101674492.key) [2023-05-08T21:01:28.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T21:01:28.667Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T21:01:28.690Z] $ docker exec --env ******** --env ******** cfb01f2af986492655c4f0f470b0c280e92c51c19803c829949c2bcc74a9aae8 ssh-agent -k [2023-05-08T21:01:28.788Z] unset SSH_AUTH_SOCK; [2023-05-08T21:01:28.789Z] unset SSH_AGENT_PID; [2023-05-08T21:01:28.789Z] echo Agent pid 38 killed; [2023-05-08T21:01:28.793Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T21:01:28.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T21:01:28.827Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T21:01:28.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T21:01:28.948Z] $ docker exec cfb01f2af986492655c4f0f470b0c280e92c51c19803c829949c2bcc74a9aae8 ssh-agent [2023-05-08T21:01:29.050Z] SSH_AUTH_SOCK=/tmp/ssh-uHaaw8xm4hP4/agent.71 [2023-05-08T21:01:29.050Z] SSH_AGENT_PID=77 [2023-05-08T21:01:29.054Z] Running ssh-add (command line suppressed) [2023-05-08T21:01:29.182Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_3746928780366211841.key (/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_3746928780366211841.key) [2023-05-08T21:01:29.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T21:01:29.480Z] + git semver init [2023-05-08T21:01:29.740Z] 2023-05-08 21:01:29,663 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T21:01:29.740Z] 2023-05-08 21:01:29,663 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver [2023-05-08T21:01:29.740Z] 2023-05-08 21:01:29,664 [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-08T21:01:29.740Z] 2023-05-08 21:01:29,664 [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-08T21:01:30.677Z] 2023-05-08 21:01:30,600 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.git/info/exclude [2023-05-08T21:01:30.677Z] 2023-05-08 21:01:30,600 [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-08T21:01:30.677Z] 2023-05-08 21:01:30,600 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver/PR-1444 [2023-05-08T21:01:30.677Z] 2023-05-08 21:01:30,604 [execute] INFO git cat-file --batch-check [2023-05-08T21:01:30.677Z] 2023-05-08 21:01:30,604 [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-08T21:01:30.677Z] 2023-05-08 21:01:30,611 [execute] INFO git cat-file --batch [2023-05-08T21:01:30.677Z] 2023-05-08 21:01:30,611 [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-08T21:01:30.677Z] 2023-05-08 21:01:30,617 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver/PR-1444 [2023-05-08T21:01:30.677Z] 0.0.0 [Pipeline] } [2023-05-08T21:01:30.691Z] $ docker exec --env ******** --env ******** cfb01f2af986492655c4f0f470b0c280e92c51c19803c829949c2bcc74a9aae8 ssh-agent -k [2023-05-08T21:01:30.794Z] unset SSH_AUTH_SOCK; [2023-05-08T21:01:30.794Z] unset SSH_AGENT_PID; [2023-05-08T21:01:30.794Z] echo Agent pid 77 killed; [2023-05-08T21:01:30.803Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T21:01:31.119Z] + git semver [Pipeline] } [2023-05-08T21:01:31.396Z] $ docker stop --time=1 cfb01f2af986492655c4f0f470b0c280e92c51c19803c829949c2bcc74a9aae8 [2023-05-08T21:01:32.704Z] $ docker rm -f --volumes cfb01f2af986492655c4f0f470b0c280e92c51c19803c829949c2bcc74a9aae8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T21:01:33.029Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T21:01:33.246Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T21:01:33.248Z] [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-08T21:01:33.405Z] provisioning config files... [2023-05-08T21:01:33.413Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config7989441759724690952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:01:33.710Z] ---> docker-login.sh [2023-05-08T21:01:33.710Z] nexus3.edgexfoundry.org:10001 [2023-05-08T21:01:33.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:33.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:33.711Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:33.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:33.711Z] [2023-05-08T21:01:33.711Z] Login Succeeded [2023-05-08T21:01:33.711Z] nexus3.edgexfoundry.org:10002 [2023-05-08T21:01:33.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:33.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:33.711Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:33.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:33.711Z] [2023-05-08T21:01:33.711Z] Login Succeeded [2023-05-08T21:01:33.711Z] nexus3.edgexfoundry.org:10003 [2023-05-08T21:01:33.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:33.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:33.974Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:33.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:33.974Z] [2023-05-08T21:01:33.974Z] Login Succeeded [2023-05-08T21:01:33.974Z] nexus3.edgexfoundry.org:10004 [2023-05-08T21:01:33.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:33.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:33.974Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:33.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:33.974Z] [2023-05-08T21:01:33.974Z] Login Succeeded [2023-05-08T21:01:33.974Z] docker.io [2023-05-08T21:01:33.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:01:34.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:01:34.233Z] Configure a credential helper to remove this warning. See [2023-05-08T21:01:34.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:01:34.233Z] [2023-05-08T21:01:34.233Z] Login Succeeded [2023-05-08T21:01:34.233Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T21:01:34.240Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T21:01:34.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T21:01:34.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T21:01:34.317Z] ========================================================= [2023-05-08T21:01:34.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T21:01:34.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:01:34.634Z] + 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-08T21:01:34.634Z] Sending build context to Docker daemon 11.14MB [2023-05-08T21:01:34.634Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T21:01:34.634Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T21:01:34.634Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T21:01:34.634Z] f56be85fc22e: Pulling fs layer [2023-05-08T21:01:34.634Z] 85791d961cd3: Pulling fs layer [2023-05-08T21:01:34.634Z] d694b5ae8c79: Pulling fs layer [2023-05-08T21:01:34.634Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T21:01:34.634Z] 4d19c01a9841: Pulling fs layer [2023-05-08T21:01:34.634Z] 9325e15d5711: Pulling fs layer [2023-05-08T21:01:34.634Z] 556b6ee489ea: Pulling fs layer [2023-05-08T21:01:34.634Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T21:01:34.634Z] 556b6ee489ea: Waiting [2023-05-08T21:01:34.634Z] 9f32a84ed3da: Waiting [2023-05-08T21:01:34.634Z] c5a4b2cf53e6: Waiting [2023-05-08T21:01:34.634Z] 4d19c01a9841: Waiting [2023-05-08T21:01:34.634Z] 9325e15d5711: Waiting [2023-05-08T21:01:34.634Z] 85791d961cd3: Download complete [2023-05-08T21:01:34.892Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T21:01:34.892Z] 9f32a84ed3da: Download complete [2023-05-08T21:01:34.892Z] 4d19c01a9841: Verifying Checksum [2023-05-08T21:01:34.892Z] 4d19c01a9841: Download complete [2023-05-08T21:01:34.892Z] f56be85fc22e: Verifying Checksum [2023-05-08T21:01:34.892Z] f56be85fc22e: Download complete [2023-05-08T21:01:34.892Z] 9325e15d5711: Verifying Checksum [2023-05-08T21:01:34.892Z] 9325e15d5711: Download complete [2023-05-08T21:01:34.892Z] f56be85fc22e: Pull complete [2023-05-08T21:01:35.151Z] 85791d961cd3: Pull complete [2023-05-08T21:01:35.409Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T21:01:35.409Z] c5a4b2cf53e6: Download complete [2023-05-08T21:01:35.409Z] d694b5ae8c79: Verifying Checksum [2023-05-08T21:01:35.409Z] d694b5ae8c79: Download complete [2023-05-08T21:01:35.669Z] 556b6ee489ea: Verifying Checksum [2023-05-08T21:01:38.957Z] d694b5ae8c79: Pull complete [2023-05-08T21:01:38.957Z] 9f32a84ed3da: Pull complete [2023-05-08T21:01:38.957Z] 4d19c01a9841: Pull complete [2023-05-08T21:01:38.957Z] 9325e15d5711: Pull complete [2023-05-08T21:01:40.864Z] 556b6ee489ea: Pull complete [2023-05-08T21:01:41.801Z] c5a4b2cf53e6: Pull complete [2023-05-08T21:01:41.801Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T21:01:41.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T21:01:41.801Z] ---> c4be618373d6 [2023-05-08T21:01:41.801Z] Step 3/10 : ARG MAKE=make build [2023-05-08T21:01:47.081Z] ---> Running in 6fa1679ad0c9 [2023-05-08T21:01:47.081Z] Removing intermediate container 6fa1679ad0c9 [2023-05-08T21:01:47.081Z] ---> b8e56b73c089 [2023-05-08T21:01:47.081Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T21:01:47.081Z] ---> Running in 0f1951b0d302 [2023-05-08T21:01:47.081Z] Removing intermediate container 0f1951b0d302 [2023-05-08T21:01:47.081Z] ---> 98d0fddf33a6 [2023-05-08T21:01:47.081Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T21:01:47.081Z] ---> Running in 195687e53093 [2023-05-08T21:01:47.081Z] Removing intermediate container 195687e53093 [2023-05-08T21:01:47.081Z] ---> 9ed22b560691 [2023-05-08T21:01:47.081Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T21:01:47.081Z] ---> Running in bb19520583f8 [2023-05-08T21:01:47.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T21:01:47.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T21:01:47.599Z] OK: 265 MiB in 53 packages [2023-05-08T21:01:47.859Z] Removing intermediate container bb19520583f8 [2023-05-08T21:01:47.859Z] ---> 858c37d49391 [2023-05-08T21:01:47.859Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T21:01:47.859Z] ---> 975f6c9c9e0b [2023-05-08T21:01:47.859Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T21:01:47.859Z] ---> Running in 0fb2246e0844 [2023-05-08T21:01:48.369Z] Still waiting to schedule task [2023-05-08T21:01:48.369Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14552’ [2023-05-08T21:02:19.936Z] Removing intermediate container 0fb2246e0844 [2023-05-08T21:02:19.936Z] ---> ab13389b99f3 [2023-05-08T21:02:19.936Z] Step 9/10 : COPY . . [2023-05-08T21:02:19.936Z] ---> 964f76823666 [2023-05-08T21:02:19.936Z] Step 10/10 : RUN ${MAKE} [2023-05-08T21:02:19.936Z] ---> Running in e9cfad908213 [2023-05-08T21:02:19.936Z] noop [2023-05-08T21:02:19.936Z] Removing intermediate container e9cfad908213 [2023-05-08T21:02:19.936Z] ---> 7e4d4abe248e [2023-05-08T21:02:19.936Z] Successfully built 7e4d4abe248e [2023-05-08T21:02:19.936Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:02:20.246Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T21:02:20.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:02:20.321Z] prd-ubuntu20.04-docker-8c-8g-14553 does not seem to be running inside a container [2023-05-08T21:02:20.353Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T21:02:21.141Z] $ docker top 78cc1395983f6cfc913c93e1b6802807e0a552790504be5d2de5e8d6338406be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:02:21.483Z] + go version [2023-05-08T21:02:21.483Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T21:02:21.498Z] $ docker stop --time=1 78cc1395983f6cfc913c93e1b6802807e0a552790504be5d2de5e8d6338406be [2023-05-08T21:02:22.832Z] $ docker rm -f --volumes 78cc1395983f6cfc913c93e1b6802807e0a552790504be5d2de5e8d6338406be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:02:23.343Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T21:02:23.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:02:23.424Z] prd-ubuntu20.04-docker-8c-8g-14553 does not seem to be running inside a container [2023-05-08T21:02:23.463Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T21:02:23.796Z] $ docker top 0e9ac9a442feb666b94bb41786d18ef6ff171a767e3a0e4631c559c6879d26d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:02:24.129Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1444 [Pipeline] fileExists [Pipeline] sh [2023-05-08T21:02:24.422Z] + make test [2023-05-08T21:02:24.422Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T21:02:30.984Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T21:02:45.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-08T21:02:45.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T21:02:45.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T21:02:45.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T21:02:45.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T21:02:45.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-05-08T21:02:45.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T21:02:45.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T21:02:45.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 80.2% of statements [2023-05-08T21:02:45.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.072s coverage: 86.0% of statements [2023-05-08T21:02:46.777Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T21:02:46.777Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T21:02:47.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T21:02:47.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T21:02:47.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 77.5% of statements [2023-05-08T21:02:47.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-08T21:02:49.877Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.061s coverage: 14.3% of statements [2023-05-08T21:02:49.877Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.082s coverage: 68.5% of statements [2023-05-08T21:02:49.877Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.128s coverage: 89.2% of statements [2023-05-08T21:02:49.877Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-05-08T21:03:11.805Z] GO111MODULE=on go vet ./... [2023-05-08T21:03:16.002Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T21:03:16.002Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T21:03:16.002Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T21:03:16.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T21:03:16.031Z] $ docker stop --time=1 0e9ac9a442feb666b94bb41786d18ef6ff171a767e3a0e4631c559c6879d26d1 [2023-05-08T21:03:19.656Z] $ docker rm -f --volumes 0e9ac9a442feb666b94bb41786d18ef6ff171a767e3a0e4631c559c6879d26d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T21:03:20.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T21:03:20.285Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T21:03:20.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T21:03:21.064Z] + ls -al . [2023-05-08T21:03:21.064Z] total 272 [2023-05-08T21:03:21.064Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 21:02 . [2023-05-08T21:03:21.064Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 21:01 .. [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 21:01 .dockerignore [2023-05-08T21:03:21.064Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 21:01 .git [2023-05-08T21:03:21.064Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 21:01 .github [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 131 May 8 21:01 .gitignore [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 21:01 .golangci.yml [2023-05-08T21:03:21.064Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 21:01 .semver [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 8 21:01 CHANGELOG.md [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 21:01 GOVERNANCE.md [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 885 May 8 21:01 Jenkinsfile [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 21:01 LICENSE [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 8 21:01 Makefile [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 21:01 OWNERS.md [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 8 21:01 README.md [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 21:01 VERSION [2023-05-08T21:03:21.064Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 21:01 bin [2023-05-08T21:03:21.064Z] -rw-r--r-- 1 jenkins jenkins 106406 May 8 21:02 coverage.out [2023-05-08T21:03:21.064Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 21:01 example [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 8 21:01 go.mod [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 8 21:01 go.sum [2023-05-08T21:03:21.064Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 21:01 internal [2023-05-08T21:03:21.064Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 21:01 openapi [2023-05-08T21:03:21.064Z] drwxrwxr-x 6 jenkins jenkins 4096 May 8 21:01 pkg [2023-05-08T21:03:21.064Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 21:01 snap [2023-05-08T21:03:21.064Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:03:21.364Z] + 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=a83c9e9d729ba489287fbb40eac5b3bfde2cd464 --label arch=amd64 --label version=0.0.0 . [2023-05-08T21:03:21.364Z] Sending build context to Docker daemon 11.25MB [2023-05-08T21:03:21.364Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T21:03:21.364Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-08T21:03:21.364Z] ---> 7e4d4abe248e [2023-05-08T21:03:21.364Z] Step 3/23 : ARG MAKE=make build [2023-05-08T21:03:21.931Z] ---> Running in a070b797645a [2023-05-08T21:03:22.190Z] Removing intermediate container a070b797645a [2023-05-08T21:03:22.190Z] ---> 5e00948987a7 [2023-05-08T21:03:22.190Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-08T21:03:22.190Z] ---> Running in 31d88fd716eb [2023-05-08T21:03:22.190Z] Removing intermediate container 31d88fd716eb [2023-05-08T21:03:22.190Z] ---> 7d02eb97c52f [2023-05-08T21:03:22.190Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T21:03:22.190Z] ---> Running in 69044c443169 [2023-05-08T21:03:22.190Z] Removing intermediate container 69044c443169 [2023-05-08T21:03:22.190Z] ---> fd87065fa161 [2023-05-08T21:03:22.190Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-08T21:03:22.190Z] ---> Running in 941f812a539a [2023-05-08T21:03:22.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T21:03:22.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T21:03:22.967Z] OK: 265 MiB in 53 packages [2023-05-08T21:03:23.226Z] Removing intermediate container 941f812a539a [2023-05-08T21:03:23.226Z] ---> 24dd8a0c1243 [2023-05-08T21:03:23.226Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-08T21:03:23.226Z] ---> 9af673174563 [2023-05-08T21:03:23.226Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T21:03:23.226Z] ---> Running in 8603bced2e17 [2023-05-08T21:03:24.160Z] Removing intermediate container 8603bced2e17 [2023-05-08T21:03:24.160Z] ---> 80521099703a [2023-05-08T21:03:24.160Z] Step 9/23 : COPY . . [2023-05-08T21:03:24.418Z] ---> 60d8ed3df9a6 [2023-05-08T21:03:24.418Z] Step 10/23 : RUN ${MAKE} [2023-05-08T21:03:24.418Z] ---> Running in a70941f439db [2023-05-08T21:03:24.676Z] 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-08T21:03:46.620Z] Removing intermediate container a70941f439db [2023-05-08T21:03:46.620Z] ---> 46de65c1d6b6 [2023-05-08T21:03:46.620Z] Step 11/23 : FROM alpine:3.17 [2023-05-08T21:03:46.620Z] 3.17: Pulling from library/alpine [2023-05-08T21:03:46.620Z] f56be85fc22e: Already exists [2023-05-08T21:03:46.620Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T21:03:46.620Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T21:03:46.620Z] ---> 9ed4aefc74f6 [2023-05-08T21:03:46.620Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T21:03:46.620Z] ---> Running in ea088cac76c0 [2023-05-08T21:03:46.620Z] Removing intermediate container ea088cac76c0 [2023-05-08T21:03:46.620Z] ---> afeddc740909 [2023-05-08T21:03:46.620Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-08T21:03:46.620Z] ---> Running in 2414bd8b70c6 [2023-05-08T21:03:46.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T21:03:46.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T21:03:46.620Z] OK: 7 MiB in 15 packages [2023-05-08T21:03:46.620Z] Removing intermediate container 2414bd8b70c6 [2023-05-08T21:03:46.620Z] ---> 0198e21fb295 [2023-05-08T21:03:46.620Z] Step 14/23 : WORKDIR / [2023-05-08T21:03:46.620Z] ---> Running in cb320cfc828e [2023-05-08T21:03:46.620Z] Removing intermediate container cb320cfc828e [2023-05-08T21:03:46.620Z] ---> 0d5114b54bd6 [2023-05-08T21:03:46.620Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-08T21:03:46.620Z] ---> 067676ca73ce [2023-05-08T21:03:46.620Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-08T21:03:46.620Z] ---> 2201b0f499b3 [2023-05-08T21:03:46.620Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-08T21:03:46.620Z] ---> b4f1c93ffeb8 [2023-05-08T21:03:46.620Z] Step 18/23 : EXPOSE 59999 [2023-05-08T21:03:46.620Z] ---> Running in 30057b8c8e80 [2023-05-08T21:03:46.620Z] Removing intermediate container 30057b8c8e80 [2023-05-08T21:03:46.620Z] ---> a13784770b72 [2023-05-08T21:03:46.620Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-08T21:03:46.620Z] ---> Running in 70323e6a731c [2023-05-08T21:03:46.620Z] Removing intermediate container 70323e6a731c [2023-05-08T21:03:46.620Z] ---> 04be27aef09a [2023-05-08T21:03:46.620Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T21:03:46.878Z] ---> Running in 1089158f5a30 [2023-05-08T21:03:46.878Z] Removing intermediate container 1089158f5a30 [2023-05-08T21:03:46.878Z] ---> 105cd74b9ef6 [2023-05-08T21:03:46.878Z] Step 21/23 : LABEL arch=amd64 [2023-05-08T21:03:47.137Z] ---> Running in 08a6a6fb3006 [2023-05-08T21:03:47.137Z] Removing intermediate container 08a6a6fb3006 [2023-05-08T21:03:47.137Z] ---> 6453c14545bb [2023-05-08T21:03:47.137Z] Step 22/23 : LABEL git_sha=a83c9e9d729ba489287fbb40eac5b3bfde2cd464 [2023-05-08T21:03:47.137Z] ---> Running in b68aa727c3d5 [2023-05-08T21:03:47.137Z] Removing intermediate container b68aa727c3d5 [2023-05-08T21:03:47.137Z] ---> cbe68fc4322f [2023-05-08T21:03:47.137Z] Step 23/23 : LABEL version=0.0.0 [2023-05-08T21:03:47.512Z] ---> Running in fc4f9b62efd4 [2023-05-08T21:03:47.512Z] Removing intermediate container fc4f9b62efd4 [2023-05-08T21:03:47.512Z] ---> 759b83d68bd8 [2023-05-08T21:03:47.512Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T21:03:47.512Z] Successfully built 759b83d68bd8 [2023-05-08T21:03:47.512Z] 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-08T21:03:47.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T21:03:47.959Z] [2023-05-08T21:03:47.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:03:48.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T21:03:48.257Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T21:03:48.257Z] 5eb5b503b376: Pulling fs layer [2023-05-08T21:03:48.257Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T21:03:48.257Z] ec43610c2a17: Pulling fs layer [2023-05-08T21:03:48.257Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T21:03:48.257Z] 33b1e0a273af: Pulling fs layer [2023-05-08T21:03:48.257Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T21:03:48.257Z] 2f39f015ded8: Pulling fs layer [2023-05-08T21:03:48.257Z] 3a2ae6a8a46f: Waiting [2023-05-08T21:03:48.257Z] 2f39f015ded8: Waiting [2023-05-08T21:03:48.257Z] 5d3b04190fa2: Waiting [2023-05-08T21:03:48.257Z] 33b1e0a273af: Waiting [2023-05-08T21:03:48.257Z] 5c69ac0246d0: Download complete [2023-05-08T21:03:48.257Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T21:03:48.257Z] 3a2ae6a8a46f: Download complete [2023-05-08T21:03:48.257Z] 33b1e0a273af: Verifying Checksum [2023-05-08T21:03:48.257Z] 33b1e0a273af: Download complete [2023-05-08T21:03:48.257Z] ec43610c2a17: Verifying Checksum [2023-05-08T21:03:48.257Z] ec43610c2a17: Download complete [2023-05-08T21:03:48.257Z] 5d3b04190fa2: Download complete [2023-05-08T21:03:48.515Z] 5eb5b503b376: Download complete [2023-05-08T21:03:49.078Z] 2f39f015ded8: Download complete [2023-05-08T21:03:49.645Z] 5eb5b503b376: Pull complete [2023-05-08T21:03:49.902Z] 5c69ac0246d0: Pull complete [2023-05-08T21:03:50.161Z] ec43610c2a17: Pull complete [2023-05-08T21:03:50.161Z] 3a2ae6a8a46f: Pull complete [2023-05-08T21:03:50.419Z] 33b1e0a273af: Pull complete [2023-05-08T21:03:50.677Z] 5d3b04190fa2: Pull complete [2023-05-08T21:03:54.859Z] 2f39f015ded8: Pull complete [2023-05-08T21:03:54.859Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T21:03:54.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T21:03:54.859Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:03:54.938Z] prd-ubuntu20.04-docker-8c-8g-14553 does not seem to be running inside a container [2023-05-08T21:03:54.972Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T21:03:58.168Z] $ docker top 1d48ada10bcc8b622dfeea8d1194b31d612a197a9dedf7df1a09a576b83c7742 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:03:58.556Z] ---> job-cost.sh [2023-05-08T21:03:58.556Z] lf-activate-venv: SKIPPING [2023-05-08T21:03:58.556Z] INFO: No Stack... [2023-05-08T21:03:58.814Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T21:03:59.072Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T21:03:59.357Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives/cost.csv [2023-05-08T21:03:59.357Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T21:03:59.368Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1444-5-stack-cost] [2023-05-08T21:03:59.378Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-5-stack-cost] did not exist. Created. [2023-05-08T21:03:59.378Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1444-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T21:03:59.692Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T21:03:59.722Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T21:03:59.730Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T21:03:59.754Z] $ docker stop --time=1 1d48ada10bcc8b622dfeea8d1194b31d612a197a9dedf7df1a09a576b83c7742 [2023-05-08T21:04:00.933Z] $ docker rm -f --volumes 1d48ada10bcc8b622dfeea8d1194b31d612a197a9dedf7df1a09a576b83c7742 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T21:04:54.306Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14555 in /w/workspace/gexfoundry_device-sdk-go_PR-1444 [Pipeline] { [Pipeline] ws [2023-05-08T21:04:54.320Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-05-08T21:04:54.350Z] The recommended git tool is: git [2023-05-08T21:05:00.497Z] using credential edgex-jenkins-ssh [2023-05-08T21:05:00.512Z] Cloning the remote Git repository [2023-05-08T21:05:00.577Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T21:05:00.687Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-05-08T21:05:00.851Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T21:05:00.852Z] > git --version # timeout=10 [2023-05-08T21:05:00.876Z] > git --version # 'git version 2.25.1' [2023-05-08T21:05:00.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T21:05:01.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T21:05:02.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T21:05:02.771Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T21:05:03.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T21:05:03.857Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T21:05:03.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T21:05:03.877Z] > 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-08T21:05:04.586Z] Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit 80b81ab2f477bd185adcefd53f85ca19e2c4b826 [2023-05-08T21:05:05.003Z] Merge succeeded, producing 87d6f2a61c759374ea02544566b014a5b5e8ed93 [2023-05-08T21:05:05.003Z] Checking out Revision 87d6f2a61c759374ea02544566b014a5b5e8ed93 (PR-1444) [2023-05-08T21:05:04.609Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T21:05:04.709Z] > git checkout -f 80b81ab2f477bd185adcefd53f85ca19e2c4b826 # timeout=10 [2023-05-08T21:05:04.828Z] > git remote # timeout=10 [2023-05-08T21:05:04.848Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T21:05:04.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T21:05:04.885Z] > git merge c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 [2023-05-08T21:05:04.984Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T21:05:05.014Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T21:05:05.031Z] > git checkout -f 87d6f2a61c759374ea02544566b014a5b5e8ed93 # timeout=10 [2023-05-08T21:05:08.612Z] Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" [2023-05-08T21:05:08.637Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T21:05:08.625Z] > git rev-list --no-walk 50c6a6116dfdbae4c55dfd0671a85cb9e451c20b # timeout=10 [2023-05-08T21:05:09.488Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T21:05:09.488Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T21:05:09.488Z] Dload Upload Total Spent Left Speed [2023-05-08T21:05:09.488Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-05-08T21:05:10.208Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T21:05:10.541Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-05-08T21:05:10.541Z] /etc/docker/daemon.new [2023-05-08T21:05:10.541Z] { [2023-05-08T21:05:10.541Z] "registry-mirrors": [ [2023-05-08T21:05:10.541Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T21:05:10.541Z] ], [2023-05-08T21:05:10.541Z] "bip": "10.250.0.254/24", [2023-05-08T21:05:10.541Z] "hosts": [ [2023-05-08T21:05:10.541Z] "tcp://0.0.0.0:5555", [2023-05-08T21:05:10.541Z] "unix:///var/run/docker.sock" [2023-05-08T21:05:10.541Z] ], [2023-05-08T21:05:10.541Z] "mtu": 1458, [2023-05-08T21:05:10.541Z] "selinux-enabled": true, [2023-05-08T21:05:10.541Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T21:05:10.541Z] } [Pipeline] sh [2023-05-08T21:05:10.885Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T21:05:11.220Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T21:05:29.512Z] provisioning config files... [2023-05-08T21:05:29.542Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3828908988323573329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:05:29.922Z] ---> docker-login.sh [2023-05-08T21:05:29.922Z] nexus3.edgexfoundry.org:10001 [2023-05-08T21:05:30.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:05:30.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:05:30.520Z] Configure a credential helper to remove this warning. See [2023-05-08T21:05:30.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:05:30.520Z] [2023-05-08T21:05:30.520Z] Login Succeeded [2023-05-08T21:05:30.793Z] nexus3.edgexfoundry.org:10002 [2023-05-08T21:05:30.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:05:31.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:05:31.068Z] Configure a credential helper to remove this warning. See [2023-05-08T21:05:31.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:05:31.068Z] [2023-05-08T21:05:31.068Z] Login Succeeded [2023-05-08T21:05:31.068Z] nexus3.edgexfoundry.org:10003 [2023-05-08T21:05:31.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:05:31.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:05:31.343Z] Configure a credential helper to remove this warning. See [2023-05-08T21:05:31.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:05:31.343Z] [2023-05-08T21:05:31.343Z] Login Succeeded [2023-05-08T21:05:31.343Z] nexus3.edgexfoundry.org:10004 [2023-05-08T21:05:31.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:05:31.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:05:31.892Z] Configure a credential helper to remove this warning. See [2023-05-08T21:05:31.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:05:31.892Z] [2023-05-08T21:05:31.892Z] Login Succeeded [2023-05-08T21:05:31.892Z] docker.io [2023-05-08T21:05:32.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T21:05:32.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T21:05:32.442Z] Configure a credential helper to remove this warning. See [2023-05-08T21:05:32.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T21:05:32.442Z] [2023-05-08T21:05:32.442Z] Login Succeeded [2023-05-08T21:05:32.442Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T21:05:32.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T21:05:32.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T21:05:32.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T21:05:32.806Z] ========================================================= [2023-05-08T21:05:32.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T21:05:32.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:05:33.175Z] + 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-08T21:05:34.148Z] Sending build context to Docker daemon 6.017MB [2023-05-08T21:05:34.148Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T21:05:34.148Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T21:05:34.430Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T21:05:34.430Z] c41833b44d91: Pulling fs layer [2023-05-08T21:05:34.430Z] ed15518f5707: Pulling fs layer [2023-05-08T21:05:34.430Z] feae8fd75edb: Pulling fs layer [2023-05-08T21:05:34.430Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T21:05:34.430Z] 3cdef696dda3: Pulling fs layer [2023-05-08T21:05:34.430Z] 2ced38df9373: Pulling fs layer [2023-05-08T21:05:34.430Z] 58f1dce35555: Pulling fs layer [2023-05-08T21:05:34.430Z] 3cdef696dda3: Waiting [2023-05-08T21:05:34.430Z] 2ced38df9373: Waiting [2023-05-08T21:05:34.430Z] 58f1dce35555: Waiting [2023-05-08T21:05:34.430Z] 242c74f7c9fa: Waiting [2023-05-08T21:05:34.430Z] ed15518f5707: Verifying Checksum [2023-05-08T21:05:34.430Z] ed15518f5707: Download complete [2023-05-08T21:05:34.430Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T21:05:34.430Z] 242c74f7c9fa: Download complete [2023-05-08T21:05:34.430Z] 3cdef696dda3: Verifying Checksum [2023-05-08T21:05:34.430Z] 3cdef696dda3: Download complete [2023-05-08T21:05:34.430Z] c41833b44d91: Verifying Checksum [2023-05-08T21:05:34.430Z] c41833b44d91: Download complete [2023-05-08T21:05:35.888Z] c41833b44d91: Pull complete [2023-05-08T21:05:36.182Z] 58f1dce35555: Verifying Checksum [2023-05-08T21:05:36.182Z] 58f1dce35555: Download complete [2023-05-08T21:05:36.459Z] ed15518f5707: Pull complete [2023-05-08T21:05:37.436Z] feae8fd75edb: Verifying Checksum [2023-05-08T21:05:37.436Z] feae8fd75edb: Download complete [2023-05-08T21:05:37.436Z] 2ced38df9373: Verifying Checksum [2023-05-08T21:05:37.436Z] 2ced38df9373: Download complete [2023-05-08T21:05:49.783Z] feae8fd75edb: Pull complete [2023-05-08T21:05:49.783Z] 242c74f7c9fa: Pull complete [2023-05-08T21:05:49.783Z] 3cdef696dda3: Pull complete [2023-05-08T21:05:56.479Z] 2ced38df9373: Pull complete [2023-05-08T21:05:59.089Z] 58f1dce35555: Pull complete [2023-05-08T21:05:59.089Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T21:05:59.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T21:05:59.089Z] ---> fadd8f120f05 [2023-05-08T21:05:59.089Z] Step 3/10 : ARG MAKE=make build [2023-05-08T21:06:01.043Z] ---> Running in cae11eca9739 [2023-05-08T21:06:01.043Z] Removing intermediate container cae11eca9739 [2023-05-08T21:06:01.043Z] ---> a556892f4f52 [2023-05-08T21:06:01.043Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T21:06:01.043Z] ---> Running in 6e65589b456f [2023-05-08T21:06:01.316Z] Removing intermediate container 6e65589b456f [2023-05-08T21:06:01.316Z] ---> 14268ac1f2ce [2023-05-08T21:06:01.316Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T21:06:01.316Z] ---> Running in d527e001b3aa [2023-05-08T21:06:01.911Z] Removing intermediate container d527e001b3aa [2023-05-08T21:06:01.911Z] ---> afa7ad28aa37 [2023-05-08T21:06:01.911Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T21:06:01.911Z] ---> Running in e9e12ceb6415 [2023-05-08T21:06:02.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T21:06:03.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T21:06:04.813Z] OK: 263 MiB in 53 packages [2023-05-08T21:06:05.400Z] Removing intermediate container e9e12ceb6415 [2023-05-08T21:06:05.400Z] ---> b6852d6db78e [2023-05-08T21:06:05.400Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T21:06:06.002Z] ---> 1b0c09b58d29 [2023-05-08T21:06:06.002Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T21:06:06.002Z] ---> Running in aed4b1293204 [2023-05-08T21:07:13.946Z] Removing intermediate container aed4b1293204 [2023-05-08T21:07:13.946Z] ---> 2243ee03a1d1 [2023-05-08T21:07:13.946Z] Step 9/10 : COPY . . [2023-05-08T21:07:13.946Z] ---> 36cee83dd769 [2023-05-08T21:07:13.946Z] Step 10/10 : RUN ${MAKE} [2023-05-08T21:07:13.946Z] ---> Running in a926bd2f3b1c [2023-05-08T21:07:13.946Z] noop [2023-05-08T21:07:13.946Z] Removing intermediate container a926bd2f3b1c [2023-05-08T21:07:13.946Z] ---> f2bc58796d62 [2023-05-08T21:07:13.946Z] Successfully built f2bc58796d62 [2023-05-08T21:07:13.946Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:07:14.306Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T21:07:14.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:07:14.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-14555 does not seem to be running inside a container [2023-05-08T21:07:14.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-08T21:07:15.848Z] $ docker top 882570874fb30c4c1f178b7b163c1353e2c9f6110ce987bfa3cfd516d0722c13 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:07:16.676Z] + go version [2023-05-08T21:07:16.676Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T21:07:16.700Z] $ docker stop --time=1 882570874fb30c4c1f178b7b163c1353e2c9f6110ce987bfa3cfd516d0722c13 [2023-05-08T21:07:20.765Z] $ docker rm -f --volumes 882570874fb30c4c1f178b7b163c1353e2c9f6110ce987bfa3cfd516d0722c13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:07:21.308Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T21:07:21.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:07:21.495Z] prd-ubuntu20.04-docker-arm64-4c-16g-14555 does not seem to be running inside a container [2023-05-08T21:07:21.577Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-08T21:07:22.790Z] $ docker top cf71f95457742e970cac6f649770f1d50e7483261d48186f6a01b9e9acc3300f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:07:23.628Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-05-08T21:07:24.302Z] + make test [2023-05-08T21:07:24.302Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T21:08:11.175Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T21:10:17.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-08T21:10:17.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T21:10:17.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T21:10:17.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T21:10:17.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T21:10:18.463Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.218s coverage: 27.6% of statements [2023-05-08T21:10:23.807Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.261s coverage: 80.2% of statements [2023-05-08T21:10:36.104Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T21:10:36.104Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T21:10:36.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.371s coverage: 86.0% of statements [2023-05-08T21:10:41.447Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T21:10:41.447Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.425s coverage: 77.5% of statements [2023-05-08T21:10:45.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T21:10:46.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T21:10:46.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T21:10:48.615Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.265s coverage: 14.3% of statements [2023-05-08T21:10:48.615Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.409s coverage: 68.5% of statements [2023-05-08T21:10:50.569Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.447s coverage: 89.2% of statements [2023-05-08T21:10:51.531Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-08T21:10:51.798Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.5% of statements [2023-05-08T21:10:52.463Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T21:10:52.757Z] GO111MODULE=on go vet ./... [2023-05-08T21:13:14.639Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T21:13:14.639Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T21:13:14.639Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T21:13:14.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T21:13:14.682Z] $ docker stop --time=1 cf71f95457742e970cac6f649770f1d50e7483261d48186f6a01b9e9acc3300f [2023-05-08T21:13:16.632Z] $ docker rm -f --volumes cf71f95457742e970cac6f649770f1d50e7483261d48186f6a01b9e9acc3300f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T21:13:18.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T21:13:18.138Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T21:13:18.694Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T21:13:19.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T21:13:19.403Z] + ls -al . [2023-05-08T21:13:19.403Z] total 268 [2023-05-08T21:13:19.403Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 21:07 . [2023-05-08T21:13:19.403Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 21:05 .. [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 21:05 .dockerignore [2023-05-08T21:13:19.403Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 21:05 .git [2023-05-08T21:13:19.403Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 21:05 .github [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 131 May 8 21:05 .gitignore [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 21:05 .golangci.yml [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 8 21:05 CHANGELOG.md [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 21:05 GOVERNANCE.md [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 885 May 8 21:05 Jenkinsfile [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 21:05 LICENSE [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 8 21:05 Makefile [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 21:05 OWNERS.md [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 8 21:05 README.md [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 21:01 VERSION [2023-05-08T21:13:19.403Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 21:05 bin [2023-05-08T21:13:19.403Z] -rw-r--r-- 1 jenkins jenkins 106407 May 8 21:10 coverage.out [2023-05-08T21:13:19.403Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 21:05 example [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 8 21:05 go.mod [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 8 21:05 go.sum [2023-05-08T21:13:19.403Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 21:05 internal [2023-05-08T21:13:19.403Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 21:05 openapi [2023-05-08T21:13:19.403Z] drwxrwxr-x 6 jenkins jenkins 4096 May 8 21:05 pkg [2023-05-08T21:13:19.403Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 21:05 snap [2023-05-08T21:13:19.403Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:13:19.746Z] + 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=87d6f2a61c759374ea02544566b014a5b5e8ed93 --label arch=arm64 --label version=0.0.0 . [2023-05-08T21:13:20.330Z] Sending build context to Docker daemon 6.124MB [2023-05-08T21:13:20.330Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T21:13:20.330Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-08T21:13:20.330Z] ---> f2bc58796d62 [2023-05-08T21:13:20.330Z] Step 3/23 : ARG MAKE=make build [2023-05-08T21:13:20.330Z] ---> Running in c4c78df9f08e [2023-05-08T21:13:20.596Z] Removing intermediate container c4c78df9f08e [2023-05-08T21:13:20.596Z] ---> 5cbe0cc758aa [2023-05-08T21:13:20.596Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-08T21:13:20.596Z] ---> Running in dafbb237bae2 [2023-05-08T21:13:20.863Z] Removing intermediate container dafbb237bae2 [2023-05-08T21:13:20.863Z] ---> 9fc52064313b [2023-05-08T21:13:20.863Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T21:13:21.136Z] ---> Running in 776d6fac7989 [2023-05-08T21:13:21.404Z] Removing intermediate container 776d6fac7989 [2023-05-08T21:13:21.404Z] ---> 8b26deff0491 [2023-05-08T21:13:21.404Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-08T21:13:21.404Z] ---> Running in dc602e793ea2 [2023-05-08T21:13:22.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T21:13:22.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T21:13:23.908Z] OK: 263 MiB in 53 packages [2023-05-08T21:13:24.492Z] Removing intermediate container dc602e793ea2 [2023-05-08T21:13:24.493Z] ---> 9bc206990b7c [2023-05-08T21:13:24.493Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-08T21:13:25.072Z] ---> 0f408b1866bd [2023-05-08T21:13:25.072Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T21:13:25.072Z] ---> Running in 28c717787794 [2023-05-08T21:13:27.655Z] Removing intermediate container 28c717787794 [2023-05-08T21:13:27.655Z] ---> 4001a3cff601 [2023-05-08T21:13:27.655Z] Step 9/23 : COPY . . [2023-05-08T21:13:30.234Z] ---> c12202f1422c [2023-05-08T21:13:30.234Z] Step 10/23 : RUN ${MAKE} [2023-05-08T21:13:30.234Z] ---> Running in 4e32656fa1f7 [2023-05-08T21:13:30.819Z] 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-08T21:15:37.500Z] Removing intermediate container 4e32656fa1f7 [2023-05-08T21:15:37.500Z] ---> 00e2e6047ec4 [2023-05-08T21:15:37.500Z] Step 11/23 : FROM alpine:3.17 [2023-05-08T21:15:37.500Z] 3.17: Pulling from library/alpine [2023-05-08T21:15:37.500Z] c41833b44d91: Already exists [2023-05-08T21:15:37.500Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T21:15:37.500Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T21:15:37.500Z] ---> 51e60588ff2c [2023-05-08T21:15:37.500Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T21:15:37.500Z] ---> Running in 6558347e9c5a [2023-05-08T21:15:37.500Z] Removing intermediate container 6558347e9c5a [2023-05-08T21:15:37.500Z] ---> 0987c42949f1 [2023-05-08T21:15:37.500Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-08T21:15:37.500Z] ---> Running in 6293845ed2b0 [2023-05-08T21:15:37.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T21:15:37.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T21:15:38.917Z] OK: 7 MiB in 15 packages [2023-05-08T21:15:39.502Z] Removing intermediate container 6293845ed2b0 [2023-05-08T21:15:39.502Z] ---> 8ed7c1a33c47 [2023-05-08T21:15:39.502Z] Step 14/23 : WORKDIR / [2023-05-08T21:15:39.502Z] ---> Running in e57735e5bb60 [2023-05-08T21:15:39.769Z] Removing intermediate container e57735e5bb60 [2023-05-08T21:15:39.769Z] ---> aa920ed5708a [2023-05-08T21:15:39.769Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-08T21:15:40.355Z] ---> 0451809bf89e [2023-05-08T21:15:40.355Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-08T21:15:41.761Z] ---> 9c74ed0423c2 [2023-05-08T21:15:41.761Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-08T21:15:42.351Z] ---> b1096dd30515 [2023-05-08T21:15:42.351Z] Step 18/23 : EXPOSE 59999 [2023-05-08T21:15:42.351Z] ---> Running in 939653e9fef0 [2023-05-08T21:15:42.619Z] Removing intermediate container 939653e9fef0 [2023-05-08T21:15:42.619Z] ---> f1d037323d39 [2023-05-08T21:15:42.619Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-08T21:15:42.619Z] ---> Running in beb3bfce648e [2023-05-08T21:15:42.888Z] Removing intermediate container beb3bfce648e [2023-05-08T21:15:42.888Z] ---> 7985830b5114 [2023-05-08T21:15:42.888Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T21:15:42.888Z] ---> Running in 76b5ef57cdf2 [2023-05-08T21:15:43.156Z] Removing intermediate container 76b5ef57cdf2 [2023-05-08T21:15:43.156Z] ---> d28efc698fb3 [2023-05-08T21:15:43.156Z] Step 21/23 : LABEL arch=arm64 [2023-05-08T21:15:43.431Z] ---> Running in 3f0f914e9158 [2023-05-08T21:15:43.698Z] Removing intermediate container 3f0f914e9158 [2023-05-08T21:15:43.698Z] ---> 8268a82795bc [2023-05-08T21:15:43.698Z] Step 22/23 : LABEL git_sha=87d6f2a61c759374ea02544566b014a5b5e8ed93 [2023-05-08T21:15:43.698Z] ---> Running in 8609c8497230 [2023-05-08T21:15:43.966Z] Removing intermediate container 8609c8497230 [2023-05-08T21:15:43.966Z] ---> 122146dff5e1 [2023-05-08T21:15:43.966Z] Step 23/23 : LABEL version=0.0.0 [2023-05-08T21:15:43.966Z] ---> Running in bc5e662acc1c [2023-05-08T21:15:44.232Z] Removing intermediate container bc5e662acc1c [2023-05-08T21:15:44.232Z] ---> 5f60ff506a48 [2023-05-08T21:15:44.232Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T21:15:44.232Z] Successfully built 5f60ff506a48 [2023-05-08T21:15:44.232Z] 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-08T21:15:44.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T21:15:44.660Z] [2023-05-08T21:15:44.660Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:15:44.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T21:15:44.987Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T21:15:44.987Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T21:15:44.987Z] 04944245beec: Pulling fs layer [2023-05-08T21:15:44.987Z] 699f458cf7ca: Pulling fs layer [2023-05-08T21:15:44.987Z] 765212b225bb: Pulling fs layer [2023-05-08T21:15:44.987Z] f23df028b6ca: Pulling fs layer [2023-05-08T21:15:44.987Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T21:15:44.987Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T21:15:44.987Z] f23df028b6ca: Waiting [2023-05-08T21:15:44.987Z] 2437ff75d9bd: Waiting [2023-05-08T21:15:44.987Z] d65c8cfc05b1: Waiting [2023-05-08T21:15:44.987Z] 765212b225bb: Waiting [2023-05-08T21:15:45.255Z] 04944245beec: Verifying Checksum [2023-05-08T21:15:45.255Z] 04944245beec: Download complete [2023-05-08T21:15:45.255Z] 765212b225bb: Verifying Checksum [2023-05-08T21:15:45.255Z] 765212b225bb: Download complete [2023-05-08T21:15:45.255Z] f23df028b6ca: Download complete [2023-05-08T21:15:45.255Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T21:15:45.255Z] d65c8cfc05b1: Download complete [2023-05-08T21:15:45.255Z] 699f458cf7ca: Verifying Checksum [2023-05-08T21:15:45.255Z] 699f458cf7ca: Download complete [2023-05-08T21:15:45.838Z] 8998bd30e6a1: Download complete [2023-05-08T21:15:47.783Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T21:15:47.784Z] 2437ff75d9bd: Download complete [2023-05-08T21:15:49.729Z] 8998bd30e6a1: Pull complete [2023-05-08T21:15:49.997Z] 04944245beec: Pull complete [2023-05-08T21:15:51.417Z] 699f458cf7ca: Pull complete [2023-05-08T21:15:51.685Z] 765212b225bb: Pull complete [2023-05-08T21:15:52.270Z] f23df028b6ca: Pull complete [2023-05-08T21:15:52.547Z] d65c8cfc05b1: Pull complete [2023-05-08T21:16:07.539Z] 2437ff75d9bd: Pull complete [2023-05-08T21:16:07.539Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T21:16:07.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T21:16:07.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:16:07.731Z] prd-ubuntu20.04-docker-arm64-4c-16g-14555 does not seem to be running inside a container [2023-05-08T21:16:07.799Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-08T21:16:10.308Z] $ docker top ca4177e998e2d6a1b2d7e819a575916507e88b67ea2da647abafad7cf559a12f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:16:11.157Z] ---> job-cost.sh [2023-05-08T21:16:11.157Z] lf-activate-venv: SKIPPING [2023-05-08T21:16:11.157Z] INFO: No Stack... [2023-05-08T21:16:11.424Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T21:16:12.381Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T21:16:12.711Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2023-05-08T21:16:12.711Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T21:16:12.779Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1444-5-stack-cost] [2023-05-08T21:16:12.786Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-5-stack-cost] did not exist. Created. [2023-05-08T21:16:12.786Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1444-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T21:16:13.126Z] /w/workspace/device-sdk-go/5@tmp/durable-c770914a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T21:16:14.034Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T21:16:14.056Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T21:16:14.113Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T21:16:14.123Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T21:16:14.150Z] $ docker stop --time=1 ca4177e998e2d6a1b2d7e819a575916507e88b67ea2da647abafad7cf559a12f [2023-05-08T21:16:15.630Z] $ docker rm -f --volumes ca4177e998e2d6a1b2d7e819a575916507e88b67ea2da647abafad7cf559a12f [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-08T21:16:16.120Z] provisioning config files... [2023-05-08T21:16:16.129Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config7103540013226720243tmp [Pipeline] { [Pipeline] sh [2023-05-08T21:16:16.431Z] + set +x [2023-05-08T21:16:16.431Z] + bash -s -- [2023-05-08T21:16:16.431Z] + curl -s https://codecov.io/bash [2023-05-08T21:16:16.431Z] [2023-05-08T21:16:16.431Z] _____ _ [2023-05-08T21:16:16.431Z] / ____| | | [2023-05-08T21:16:16.431Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T21:16:16.431Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T21:16:16.431Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T21:16:16.431Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T21:16:16.431Z] Bash-1.0.6 [2023-05-08T21:16:16.431Z] [2023-05-08T21:16:16.431Z] [2023-05-08T21:16:16.431Z] ==> git version 2.25.1 found [2023-05-08T21:16:16.431Z] ==> 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-08T21:16:16.431Z] Release-Date: 2020-01-08 [2023-05-08T21:16:16.431Z] 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-08T21:16:16.431Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T21:16:16.431Z] ==> Jenkins CI detected. [2023-05-08T21:16:16.431Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1444 [2023-05-08T21:16:16.431Z] project root: . [2023-05-08T21:16:16.431Z] --> token set from env [2023-05-08T21:16:16.431Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T21:16:16.431Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T21:16:16.431Z] ==> Python coveragepy not found [2023-05-08T21:16:16.431Z] ==> Searching for coverage reports in: [2023-05-08T21:16:16.431Z] + . [2023-05-08T21:16:16.431Z] -> Found 1 reports [2023-05-08T21:16:16.431Z] ==> Detecting git/mercurial file structure [2023-05-08T21:16:16.691Z] ==> Reading reports [2023-05-08T21:16:16.691Z] + ./coverage.out bytes=106407 [2023-05-08T21:16:16.691Z] ==> Appending adjustments [2023-05-08T21:16:16.691Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T21:16:16.950Z] + Found adjustments [2023-05-08T21:16:16.950Z] ==> Gzipping contents [2023-05-08T21:16:16.950Z] 16K /tmp/codecov.JUbjWt.gz [2023-05-08T21:16:16.950Z] ==> Uploading reports [2023-05-08T21:16:16.950Z] url: https://codecov.io [2023-05-08T21:16:16.950Z] query: branch=PR-1444&commit=a83c9e9d729ba489287fbb40eac5b3bfde2cd464&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1444%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1444&job=&cmd_args= [2023-05-08T21:16:16.950Z] -> Pinging Codecov [2023-05-08T21:16:16.950Z] 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=a83c9e9d729ba489287fbb40eac5b3bfde2cd464&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1444%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1444&job=&cmd_args= [2023-05-08T21:16:16.950Z] -> Uploading to [2023-05-08T21:16:16.950Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/7E55EF52A471D76F132DFD9A03CDDE97/a83c9e9d729ba489287fbb40eac5b3bfde2cd464/60304365-825c-47c5-bc6c-4fcc2eb7974f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T211616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e052c405ec3b7f624e684c18d3d9e45689e3679245a5044d7f6ebcfcecaf4f57 [2023-05-08T21:16:17.210Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T21:16:17.210Z] Dload Upload Total Spent Left Speed [2023-05-08T21:16:17.469Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15105 0 0 100 15105 0 68348 --:--:-- --:--:-- --:--:-- 68040 100 15105 0 0 100 15105 0 49362 --:--:-- --:--:-- --:--:-- 49362 [2023-05-08T21:16:17.469Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a83c9e9d729ba489287fbb40eac5b3bfde2cd464 [Pipeline] } [2023-05-08T21:16:17.475Z] 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-08T21:16:18.254Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives ] [2023-05-08T21:16:18.254Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-08T21:16:18.254Z] total 16 [2023-05-08T21:16:18.254Z] drwxr-xr-x 3 root root 4096 May 8 21:03 . [2023-05-08T21:16:18.254Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 21:03 .. [2023-05-08T21:16:18.254Z] drwxr-xr-x 2 root root 4096 May 8 21:03 cost [2023-05-08T21:16:18.254Z] -rw-r--r-- 1 root root 86 May 8 21:03 cost.csv [2023-05-08T21:16:18.254Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-08T21:16:18.254Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-08T21:16:18.254Z] total 16 [2023-05-08T21:16:18.254Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 21:03 . [2023-05-08T21:16:18.254Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 21:03 .. [2023-05-08T21:16:18.254Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 21:03 cost [2023-05-08T21:16:18.254Z] -rw-r--r-- 1 jenkins jenkins 86 May 8 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:16:18.551Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:16:19.413Z] ---> package-listing.sh [2023-05-08T21:16:19.413Z] ++ facter osfamily [2023-05-08T21:16:19.413Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T21:16:19.673Z] + OS_FAMILY=debian [2023-05-08T21:16:19.673Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1444 [2023-05-08T21:16:19.673Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T21:16:19.673Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T21:16:19.673Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T21:16:19.673Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T21:16:19.673Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1444 ']' [2023-05-08T21:16:19.673Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T21:16:19.673Z] + case "${OS_FAMILY}" in [2023-05-08T21:16:19.673Z] + dpkg -l [2023-05-08T21:16:19.673Z] + grep '^ii' [2023-05-08T21:16:19.673Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T21:16:19.673Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T21:16:19.673Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T21:16:19.673Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1444 ']' [2023-05-08T21:16:19.673Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives/ [2023-05-08T21:16:19.673Z] + 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-08T21:16:19.684Z] 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-08T21:16:19.963Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T21:16:20.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T21:16:20.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T21:16:20.605Z] prd-ubuntu20.04-docker-8c-8g-14553 does not seem to be running inside a container [2023-05-08T21:16:20.645Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T21:16:20.829Z] $ docker top 5fd007b98355921011e7f1def3beb74949dca009a9b0196622999b0f2d742e5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T21:16:21.168Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T21:16:21.453Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T21:16:21.738Z] + ls /var/log/sa-host [2023-05-08T21:16:21.738Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T21:16:21.845Z] provisioning config files... [2023-05-08T21:16:21.855Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config18041100498454734913tmp [Pipeline] { [Pipeline] echo [2023-05-08T21:16:21.870Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:16:22.158Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T21:16:22.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:16:22.521Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T21:16:22.531Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:16:22.816Z] ---> sudo-logs.sh [2023-05-08T21:16:22.816Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T21:16:22.846Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:16:23.130Z] ---> job-cost.sh [2023-05-08T21:16:23.131Z] lf-activate-venv: SKIPPING [2023-05-08T21:16:23.131Z] DEBUG: total: 0.2199999988079071 [2023-05-08T21:16:23.131Z] INFO: Retrieving Stack Cost... [2023-05-08T21:16:23.390Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T21:16:23.960Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T21:16:23.970Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T21:16:24.256Z] ---> logs-deploy.sh [2023-05-08T21:16:24.256Z] lf-activate-venv: SKIPPING [2023-05-08T21:16:24.256Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1444/5 [2023-05-08T21:16:24.256Z] INFO: archiving workspace using pattern(s): [2023-05-08T21:16:25.193Z] Archives upload complete. [2023-05-08T21:16:25.193Z] INFO: archiving logs to Nexus