Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b57916b769024855ef9434da56afa764e5360c17+c2fb876fcd1e0284408ad645a921007a1ace85f5 (948884cbd9f902931985c784ec604daedfaf3318) 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-ssh9727063498385318212.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-ssh7670237337083815872.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-ssh1846637351238604920.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-ssh1031537058889676189.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-ssh10283523598051197535.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-14522’ Running on prd-ubuntu20.04-docker-8c-8g-14524 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 Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit b57916b769024855ef9434da56afa764e5360c17 Merge succeeded, producing 666d60f96e6347d8bb7be4ea57dbd6feb429282a Checking out Revision 666d60f96e6347d8bb7be4ea57dbd6feb429282a (PR-1444) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f b57916b769024855ef9434da56afa764e5360c17 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 666d60f96e6347d8bb7be4ea57dbd6feb429282a # 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-08T18:43:13.810Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T18:43:13.865Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T18:43:13.883Z] ========================================================= [2023-05-08T18:43:13.883Z] EdgeX Global Pipelines Version Info [2023-05-08T18:43:13.883Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a812d2727b3ed4dfd33fe309536d373fc26aae4e # timeout=10 [2023-05-08T18:43:14.588Z] ------------------- [2023-05-08T18:43:14.588Z] stable info: [2023-05-08T18:43:14.588Z] ------------------- [2023-05-08T18:43:14.588Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T18:43:14.588Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T18:43:14.588Z] Message: update stable to v1.0.249 [2023-05-08T18:43:15.154Z] ------------------- [2023-05-08T18:43:15.154Z] experimental info: [2023-05-08T18:43:15.154Z] ------------------- [2023-05-08T18:43:15.154Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T18:43:15.154Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T18:43:15.154Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T18:43:15.376Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-08T18:43:15.392Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-08T18:43:15.411Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T18:43:15.429Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T18:43:15.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T18:43:15.464Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T18:43:15.482Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T18:43:15.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-08T18:43:15.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T18:43:15.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T18:43:15.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T18:43:15.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-08T18:43:15.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T18:43:15.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T18:43:15.620Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T18:43:15.637Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T18:43:15.655Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T18:43:15.676Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T18:43:15.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T18:43:15.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T18:43:15.739Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-08T18:43:15.759Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-08T18:43:15.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T18:43:15.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T18:43:15.811Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T18:43:15.829Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T18:43:15.845Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T18:43:15.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1444 [Pipeline] echo [2023-05-08T18:43:15.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1444 [Pipeline] echo [2023-05-08T18:43:15.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1444 [Pipeline] echo [2023-05-08T18:43:15.908Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 666d60f96e6347d8bb7be4ea57dbd6feb429282a [Pipeline] echo [2023-05-08T18:43:15.926Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 666d60f [Pipeline] echo [2023-05-08T18:43:16.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T18:43:16.064Z] provisioning config files... [2023-05-08T18:43:16.074Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config12935353360129050779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:43:16.371Z] ---> docker-login.sh [2023-05-08T18:43:16.371Z] nexus3.edgexfoundry.org:10001 [2023-05-08T18:43:16.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:16.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:16.632Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:16.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:16.632Z] [2023-05-08T18:43:16.632Z] Login Succeeded [2023-05-08T18:43:16.632Z] nexus3.edgexfoundry.org:10002 [2023-05-08T18:43:16.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:16.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:16.891Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:16.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:16.891Z] [2023-05-08T18:43:16.891Z] Login Succeeded [2023-05-08T18:43:16.891Z] nexus3.edgexfoundry.org:10003 [2023-05-08T18:43:16.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:16.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:16.891Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:16.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:16.891Z] [2023-05-08T18:43:16.891Z] Login Succeeded [2023-05-08T18:43:16.891Z] nexus3.edgexfoundry.org:10004 [2023-05-08T18:43:16.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:17.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:17.153Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:17.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:17.153Z] [2023-05-08T18:43:17.153Z] Login Succeeded [2023-05-08T18:43:17.153Z] docker.io [2023-05-08T18:43:17.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:17.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:17.413Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:17.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:17.413Z] [2023-05-08T18:43:17.413Z] Login Succeeded [2023-05-08T18:43:17.413Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T18:43:17.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T18:43:17.783Z] + git rev-list -1 --merges 666d60f96e6347d8bb7be4ea57dbd6feb429282a~1..666d60f96e6347d8bb7be4ea57dbd6feb429282a [Pipeline] echo [2023-05-08T18:43:17.834Z] -----------> git rev-list -1 --merges 666d60f96e6347d8bb7be4ea57dbd6feb429282a~1..666d60f96e6347d8bb7be4ea57dbd6feb429282a 666d60f96e6347d8bb7be4ea57dbd6feb429282a [2023-05-08T18:43:17.834Z] 666d60f96e6347d8bb7be4ea57dbd6feb429282a [false] [Pipeline] sh [2023-05-08T18:43:18.122Z] + git log --format=format:%s -1 666d60f96e6347d8bb7be4ea57dbd6feb429282a [Pipeline] echo [2023-05-08T18:43:18.138Z] ========================================================= [2023-05-08T18:43:18.138Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T18:43:18.138Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T18:43:18.481Z] + git log --format=format:%s -1 666d60f96e6347d8bb7be4ea57dbd6feb429282a [Pipeline] echo [2023-05-08T18:43:18.493Z] [semverPrep] GIT_COMMIT: 666d60f96e6347d8bb7be4ea57dbd6feb429282a, Commit Message: Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD [Pipeline] echo [2023-05-08T18:43:18.503Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T18:43:18.951Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T18:43:18.951Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T18:43:18.951Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T18:43:18.951Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T18:43:18.951Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T18:43:18.951Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T18:43:18.951Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:43:19.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T18:43:19.328Z] [2023-05-08T18:43:19.328Z] 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-08T18:43:19.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T18:43:19.637Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T18:43:19.637Z] b85a868b505f: Pulling fs layer [2023-05-08T18:43:19.637Z] e2be974225ed: Pulling fs layer [2023-05-08T18:43:19.637Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T18:43:19.637Z] 988bab9f4d93: Pulling fs layer [2023-05-08T18:43:19.637Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T18:43:19.637Z] eaf3925da568: Pulling fs layer [2023-05-08T18:43:19.637Z] bab4dde63d76: Pulling fs layer [2023-05-08T18:43:19.637Z] bde34c3a00c8: Pulling fs layer [2023-05-08T18:43:19.637Z] b352a97aabf1: Pulling fs layer [2023-05-08T18:43:19.637Z] 4872d77fe225: Pulling fs layer [2023-05-08T18:43:19.637Z] 5851b861e8e6: Pulling fs layer [2023-05-08T18:43:19.637Z] bab4dde63d76: Waiting [2023-05-08T18:43:19.637Z] bde34c3a00c8: Waiting [2023-05-08T18:43:19.637Z] b352a97aabf1: Waiting [2023-05-08T18:43:19.637Z] 4872d77fe225: Waiting [2023-05-08T18:43:19.637Z] 5851b861e8e6: Waiting [2023-05-08T18:43:19.637Z] 988bab9f4d93: Waiting [2023-05-08T18:43:19.637Z] 1469e6f7b9e6: Waiting [2023-05-08T18:43:19.637Z] eaf3925da568: Waiting [2023-05-08T18:43:19.637Z] e2be974225ed: Verifying Checksum [2023-05-08T18:43:19.637Z] e2be974225ed: Download complete [2023-05-08T18:43:19.637Z] 988bab9f4d93: Verifying Checksum [2023-05-08T18:43:19.637Z] 988bab9f4d93: Download complete [2023-05-08T18:43:19.637Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T18:43:19.637Z] 1469e6f7b9e6: Download complete [2023-05-08T18:43:19.896Z] eaf3925da568: Verifying Checksum [2023-05-08T18:43:19.896Z] eaf3925da568: Download complete [2023-05-08T18:43:19.896Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T18:43:19.896Z] 339a4e72a1f5: Download complete [2023-05-08T18:43:19.896Z] bde34c3a00c8: Verifying Checksum [2023-05-08T18:43:19.896Z] bde34c3a00c8: Download complete [2023-05-08T18:43:19.896Z] b352a97aabf1: Verifying Checksum [2023-05-08T18:43:19.896Z] b352a97aabf1: Download complete [2023-05-08T18:43:19.896Z] 4872d77fe225: Download complete [2023-05-08T18:43:19.896Z] 5851b861e8e6: Verifying Checksum [2023-05-08T18:43:19.896Z] 5851b861e8e6: Download complete [2023-05-08T18:43:19.896Z] b85a868b505f: Download complete [2023-05-08T18:43:20.155Z] bab4dde63d76: Verifying Checksum [2023-05-08T18:43:20.155Z] bab4dde63d76: Download complete [2023-05-08T18:43:21.090Z] b85a868b505f: Pull complete [2023-05-08T18:43:21.090Z] e2be974225ed: Pull complete [2023-05-08T18:43:21.660Z] 339a4e72a1f5: Pull complete [2023-05-08T18:43:21.661Z] 988bab9f4d93: Pull complete [2023-05-08T18:43:21.922Z] 1469e6f7b9e6: Pull complete [2023-05-08T18:43:21.922Z] eaf3925da568: Pull complete [2023-05-08T18:43:23.828Z] bab4dde63d76: Pull complete [2023-05-08T18:43:23.828Z] bde34c3a00c8: Pull complete [2023-05-08T18:43:23.828Z] b352a97aabf1: Pull complete [2023-05-08T18:43:24.087Z] 4872d77fe225: Pull complete [2023-05-08T18:43:24.087Z] 5851b861e8e6: Pull complete [2023-05-08T18:43:24.087Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T18:43:24.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T18:43:24.087Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:43:24.184Z] prd-ubuntu20.04-docker-8c-8g-14524 does not seem to be running inside a container [2023-05-08T18:43:24.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T18:43:26.373Z] $ docker top daf2a83ff260ebd06f670baf4397ffd8f98565844766d21cdad9b4fb70c4b271 -eo pid,comm [2023-05-08T18:43:26.427Z] 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-08T18:43:26.427Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T18:43:26.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T18:43:26.465Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T18:43:26.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T18:43:26.589Z] $ docker exec daf2a83ff260ebd06f670baf4397ffd8f98565844766d21cdad9b4fb70c4b271 ssh-agent [2023-05-08T18:43:26.698Z] SSH_AUTH_SOCK=/tmp/ssh-dGXjq4e7Kgxa/agent.32 [2023-05-08T18:43:26.698Z] SSH_AGENT_PID=38 [2023-05-08T18:43:26.705Z] Running ssh-add (command line suppressed) [2023-05-08T18:43:26.805Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_13231396811683621695.key (/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_13231396811683621695.key) [2023-05-08T18:43:26.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T18:43:27.108Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T18:43:27.129Z] $ docker exec --env ******** --env ******** daf2a83ff260ebd06f670baf4397ffd8f98565844766d21cdad9b4fb70c4b271 ssh-agent -k [2023-05-08T18:43:27.237Z] unset SSH_AUTH_SOCK; [2023-05-08T18:43:27.238Z] unset SSH_AGENT_PID; [2023-05-08T18:43:27.238Z] echo Agent pid 38 killed; [2023-05-08T18:43:27.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T18:43:27.276Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T18:43:27.276Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T18:43:27.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T18:43:27.401Z] $ docker exec daf2a83ff260ebd06f670baf4397ffd8f98565844766d21cdad9b4fb70c4b271 ssh-agent [2023-05-08T18:43:27.513Z] SSH_AUTH_SOCK=/tmp/ssh-iQNL4Cl5NwKw/agent.70 [2023-05-08T18:43:27.513Z] SSH_AGENT_PID=76 [2023-05-08T18:43:27.517Z] Running ssh-add (command line suppressed) [2023-05-08T18:43:27.622Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_2287771237982185886.key (/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/private_key_2287771237982185886.key) [2023-05-08T18:43:27.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T18:43:27.922Z] + git semver init [2023-05-08T18:43:28.183Z] 2023-05-08 18:43:28,090 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T18:43:28.183Z] 2023-05-08 18:43:28,090 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver [2023-05-08T18:43:28.183Z] 2023-05-08 18:43:28,091 [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-08T18:43:28.183Z] 2023-05-08 18:43:28,091 [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-08T18:43:29.122Z] 2023-05-08 18:43:28,991 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.git/info/exclude [2023-05-08T18:43:29.122Z] 2023-05-08 18:43:28,991 [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-08T18:43:29.122Z] 2023-05-08 18:43:28,992 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver/PR-1444 [2023-05-08T18:43:29.122Z] 2023-05-08 18:43:28,996 [execute] INFO git cat-file --batch-check [2023-05-08T18:43:29.122Z] 2023-05-08 18:43:28,996 [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-08T18:43:29.122Z] 2023-05-08 18:43:29,004 [execute] INFO git cat-file --batch [2023-05-08T18:43:29.122Z] 2023-05-08 18:43:29,004 [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-08T18:43:29.122Z] 2023-05-08 18:43:29,010 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1444/.semver/PR-1444 [2023-05-08T18:43:29.122Z] 0.0.0 [Pipeline] } [2023-05-08T18:43:29.134Z] $ docker exec --env ******** --env ******** daf2a83ff260ebd06f670baf4397ffd8f98565844766d21cdad9b4fb70c4b271 ssh-agent -k [2023-05-08T18:43:29.232Z] unset SSH_AUTH_SOCK; [2023-05-08T18:43:29.232Z] unset SSH_AGENT_PID; [2023-05-08T18:43:29.233Z] echo Agent pid 76 killed; [2023-05-08T18:43:29.240Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T18:43:29.551Z] + git semver [Pipeline] } [2023-05-08T18:43:29.825Z] $ docker stop --time=1 daf2a83ff260ebd06f670baf4397ffd8f98565844766d21cdad9b4fb70c4b271 [2023-05-08T18:43:31.321Z] $ docker rm -f --volumes daf2a83ff260ebd06f670baf4397ffd8f98565844766d21cdad9b4fb70c4b271 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T18:43:31.676Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T18:43:31.892Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T18:43:31.895Z] [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-08T18:43:32.063Z] provisioning config files... [2023-05-08T18:43:32.073Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config7660742390802286304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:43:32.372Z] ---> docker-login.sh [2023-05-08T18:43:32.372Z] nexus3.edgexfoundry.org:10001 [2023-05-08T18:43:32.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:32.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:32.372Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:32.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:32.372Z] [2023-05-08T18:43:32.372Z] Login Succeeded [2023-05-08T18:43:32.372Z] nexus3.edgexfoundry.org:10002 [2023-05-08T18:43:32.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:32.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:32.372Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:32.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:32.372Z] [2023-05-08T18:43:32.372Z] Login Succeeded [2023-05-08T18:43:32.743Z] nexus3.edgexfoundry.org:10003 [2023-05-08T18:43:32.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:32.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:32.743Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:32.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:32.743Z] [2023-05-08T18:43:32.743Z] Login Succeeded [2023-05-08T18:43:32.743Z] nexus3.edgexfoundry.org:10004 [2023-05-08T18:43:32.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:32.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:32.743Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:32.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:32.743Z] [2023-05-08T18:43:32.743Z] Login Succeeded [2023-05-08T18:43:32.743Z] docker.io [2023-05-08T18:43:33.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:43:33.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:43:33.262Z] Configure a credential helper to remove this warning. See [2023-05-08T18:43:33.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:43:33.262Z] [2023-05-08T18:43:33.262Z] Login Succeeded [2023-05-08T18:43:33.262Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T18:43:33.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T18:43:33.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T18:43:33.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T18:43:33.385Z] ========================================================= [2023-05-08T18:43:33.385Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T18:43:33.385Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:43:33.713Z] + 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-08T18:43:33.713Z] Sending build context to Docker daemon 11.11MB [2023-05-08T18:43:33.713Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:43:33.713Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T18:43:33.713Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T18:43:33.713Z] f56be85fc22e: Pulling fs layer [2023-05-08T18:43:33.713Z] 85791d961cd3: Pulling fs layer [2023-05-08T18:43:33.713Z] d694b5ae8c79: Pulling fs layer [2023-05-08T18:43:33.713Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T18:43:33.713Z] 4d19c01a9841: Pulling fs layer [2023-05-08T18:43:33.713Z] 9f32a84ed3da: Waiting [2023-05-08T18:43:33.713Z] 9325e15d5711: Pulling fs layer [2023-05-08T18:43:33.713Z] 556b6ee489ea: Pulling fs layer [2023-05-08T18:43:33.713Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T18:43:33.713Z] 4d19c01a9841: Waiting [2023-05-08T18:43:33.713Z] 9325e15d5711: Waiting [2023-05-08T18:43:33.713Z] c5a4b2cf53e6: Waiting [2023-05-08T18:43:33.713Z] 85791d961cd3: Verifying Checksum [2023-05-08T18:43:33.713Z] 85791d961cd3: Download complete [2023-05-08T18:43:33.992Z] 9f32a84ed3da: Download complete [2023-05-08T18:43:33.992Z] 4d19c01a9841: Download complete [2023-05-08T18:43:33.992Z] f56be85fc22e: Verifying Checksum [2023-05-08T18:43:33.992Z] f56be85fc22e: Download complete [2023-05-08T18:43:33.992Z] 9325e15d5711: Verifying Checksum [2023-05-08T18:43:33.992Z] 9325e15d5711: Download complete [2023-05-08T18:43:33.992Z] f56be85fc22e: Pull complete [2023-05-08T18:43:34.266Z] 85791d961cd3: Pull complete [2023-05-08T18:43:34.536Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T18:43:34.536Z] c5a4b2cf53e6: Download complete [2023-05-08T18:43:34.822Z] d694b5ae8c79: Verifying Checksum [2023-05-08T18:43:34.822Z] d694b5ae8c79: Download complete [2023-05-08T18:43:35.083Z] 556b6ee489ea: Verifying Checksum [2023-05-08T18:43:35.083Z] 556b6ee489ea: Download complete [2023-05-08T18:43:38.376Z] d694b5ae8c79: Pull complete [2023-05-08T18:43:38.376Z] 9f32a84ed3da: Pull complete [2023-05-08T18:43:38.945Z] 4d19c01a9841: Pull complete [2023-05-08T18:43:39.205Z] 9325e15d5711: Pull complete [2023-05-08T18:43:41.743Z] 556b6ee489ea: Pull complete [2023-05-08T18:43:42.680Z] c5a4b2cf53e6: Pull complete [2023-05-08T18:43:42.680Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T18:43:42.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T18:43:42.680Z] ---> c4be618373d6 [2023-05-08T18:43:42.680Z] Step 3/10 : ARG MAKE=make build [2023-05-08T18:43:45.973Z] ---> Running in cccf4f5596ae [2023-05-08T18:43:45.973Z] Removing intermediate container cccf4f5596ae [2023-05-08T18:43:45.973Z] ---> 341c2ef8768d [2023-05-08T18:43:45.973Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T18:43:45.973Z] ---> Running in 1e29ca2a93f3 [2023-05-08T18:43:46.232Z] Removing intermediate container 1e29ca2a93f3 [2023-05-08T18:43:46.232Z] ---> fc86b99cdf56 [2023-05-08T18:43:46.232Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T18:43:46.232Z] ---> Running in 9d47b31ee995 [2023-05-08T18:43:46.232Z] Removing intermediate container 9d47b31ee995 [2023-05-08T18:43:46.232Z] ---> 6072cc7331be [2023-05-08T18:43:46.232Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T18:43:46.232Z] ---> Running in 062c0e9af863 [2023-05-08T18:43:46.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T18:43:46.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T18:43:47.007Z] Still waiting to schedule task [2023-05-08T18:43:47.007Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14523’ [2023-05-08T18:43:47.056Z] OK: 265 MiB in 53 packages [2023-05-08T18:43:47.315Z] Removing intermediate container 062c0e9af863 [2023-05-08T18:43:47.315Z] ---> a048a1344d3a [2023-05-08T18:43:47.315Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T18:43:47.315Z] ---> 7a7f5b0acad3 [2023-05-08T18:43:47.315Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:43:47.315Z] ---> Running in fcca2387167e [2023-05-08T18:44:13.859Z] Removing intermediate container fcca2387167e [2023-05-08T18:44:13.859Z] ---> 57076e4890ef [2023-05-08T18:44:13.859Z] Step 9/10 : COPY . . [2023-05-08T18:44:13.859Z] ---> 7e75d85aab47 [2023-05-08T18:44:13.859Z] Step 10/10 : RUN ${MAKE} [2023-05-08T18:44:13.859Z] ---> Running in 467cf4fc81f9 [2023-05-08T18:44:13.859Z] noop [2023-05-08T18:44:13.859Z] Removing intermediate container 467cf4fc81f9 [2023-05-08T18:44:13.859Z] ---> 1458cad5976a [2023-05-08T18:44:13.859Z] Successfully built 1458cad5976a [2023-05-08T18:44:13.859Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:44:14.171Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T18:44:14.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:44:14.239Z] prd-ubuntu20.04-docker-8c-8g-14524 does not seem to be running inside a container [2023-05-08T18:44:14.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T18:44:14.612Z] $ docker top 1767f6bb91f9b89bdb1a4682be342ea929ee8b838655ecf234cd36f41b8ba2b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:44:14.956Z] + go version [2023-05-08T18:44:14.956Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T18:44:14.973Z] $ docker stop --time=1 1767f6bb91f9b89bdb1a4682be342ea929ee8b838655ecf234cd36f41b8ba2b0 [2023-05-08T18:44:16.251Z] $ docker rm -f --volumes 1767f6bb91f9b89bdb1a4682be342ea929ee8b838655ecf234cd36f41b8ba2b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:44:16.637Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T18:44:16.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:44:16.711Z] prd-ubuntu20.04-docker-8c-8g-14524 does not seem to be running inside a container [2023-05-08T18:44:16.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T18:44:17.075Z] $ docker top 17fd7e67836c3b1858aa0d20b0193d4fde4c57dc028e596f1d4fc3e9d39935a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:44:17.416Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1444 [Pipeline] fileExists [Pipeline] sh [2023-05-08T18:44:17.716Z] + make test [2023-05-08T18:44:17.716Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T18:44:25.834Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T18:44:40.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T18:44:40.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 80.2% of statements [2023-05-08T18:44:40.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T18:44:40.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 77.5% of statements [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T18:44:40.712Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T18:44:41.645Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-08T18:44:43.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.084s coverage: 14.6% of statements [2023-05-08T18:44:43.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements [2023-05-08T18:44:43.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.115s coverage: 89.2% of statements [2023-05-08T18:44:43.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.5% of statements [2023-05-08T18:45:05.462Z] GO111MODULE=on go vet ./... [2023-05-08T18:45:07.991Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T18:45:07.991Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T18:45:07.991Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T18:45:08.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T18:45:08.023Z] $ docker stop --time=1 17fd7e67836c3b1858aa0d20b0193d4fde4c57dc028e596f1d4fc3e9d39935a9 [2023-05-08T18:45:10.951Z] $ docker rm -f --volumes 17fd7e67836c3b1858aa0d20b0193d4fde4c57dc028e596f1d4fc3e9d39935a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T18:45:11.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T18:45:11.519Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T18:45:12.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T18:45:12.361Z] + ls -al . [2023-05-08T18:45:12.361Z] total 272 [2023-05-08T18:45:12.361Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 18:44 . [2023-05-08T18:45:12.361Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:43 .. [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 18:43 .dockerignore [2023-05-08T18:45:12.361Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 18:43 .git [2023-05-08T18:45:12.361Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 18:43 .github [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 131 May 8 18:43 .gitignore [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 18:43 .golangci.yml [2023-05-08T18:45:12.361Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 18:43 .semver [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 8 18:43 CHANGELOG.md [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 18:43 GOVERNANCE.md [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 885 May 8 18:43 Jenkinsfile [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 18:43 LICENSE [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 8 18:43 Makefile [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 18:43 OWNERS.md [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 8 18:43 README.md [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 18:43 VERSION [2023-05-08T18:45:12.361Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 18:43 bin [2023-05-08T18:45:12.361Z] -rw-r--r-- 1 jenkins jenkins 106119 May 8 18:44 coverage.out [2023-05-08T18:45:12.361Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 18:43 example [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 8 18:43 go.mod [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 8 18:43 go.sum [2023-05-08T18:45:12.361Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 18:43 internal [2023-05-08T18:45:12.361Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 18:43 openapi [2023-05-08T18:45:12.361Z] drwxrwxr-x 6 jenkins jenkins 4096 May 8 18:43 pkg [2023-05-08T18:45:12.361Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:43 snap [2023-05-08T18:45:12.361Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:45:12.664Z] + 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=666d60f96e6347d8bb7be4ea57dbd6feb429282a --label arch=amd64 --label version=0.0.0 . [2023-05-08T18:45:12.664Z] Sending build context to Docker daemon 11.22MB [2023-05-08T18:45:12.664Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:45:12.664Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-08T18:45:12.664Z] ---> 1458cad5976a [2023-05-08T18:45:12.664Z] Step 3/23 : ARG MAKE=make build [2023-05-08T18:45:12.924Z] ---> Running in b4794f395c76 [2023-05-08T18:45:12.924Z] Removing intermediate container b4794f395c76 [2023-05-08T18:45:12.924Z] ---> c63c45139edd [2023-05-08T18:45:12.924Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-08T18:45:12.924Z] ---> Running in 23a53663ab78 [2023-05-08T18:45:13.183Z] Removing intermediate container 23a53663ab78 [2023-05-08T18:45:13.183Z] ---> b2a0ec866f99 [2023-05-08T18:45:13.183Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T18:45:13.183Z] ---> Running in d1743ef88783 [2023-05-08T18:45:13.183Z] Removing intermediate container d1743ef88783 [2023-05-08T18:45:13.183Z] ---> 7ac6d75913c0 [2023-05-08T18:45:13.183Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-08T18:45:13.183Z] ---> Running in de586474a97f [2023-05-08T18:45:13.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T18:45:13.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T18:45:13.997Z] OK: 265 MiB in 53 packages [2023-05-08T18:45:14.564Z] Removing intermediate container de586474a97f [2023-05-08T18:45:14.564Z] ---> 0c846efeeacc [2023-05-08T18:45:14.564Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-08T18:45:14.564Z] ---> e6984897b0e3 [2023-05-08T18:45:14.564Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:45:14.564Z] ---> Running in fd6bb180a079 [2023-05-08T18:45:15.500Z] Removing intermediate container fd6bb180a079 [2023-05-08T18:45:15.500Z] ---> 65feb1db92a2 [2023-05-08T18:45:15.500Z] Step 9/23 : COPY . . [2023-05-08T18:45:16.081Z] ---> 453ef4b86e68 [2023-05-08T18:45:16.081Z] Step 10/23 : RUN ${MAKE} [2023-05-08T18:45:16.081Z] ---> Running in bd9499cacf42 [2023-05-08T18:45:16.338Z] 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-08T18:45:34.467Z] Removing intermediate container bd9499cacf42 [2023-05-08T18:45:34.467Z] ---> 3b7a573ffbcc [2023-05-08T18:45:34.467Z] Step 11/23 : FROM alpine:3.17 [2023-05-08T18:45:34.726Z] 3.17: Pulling from library/alpine [2023-05-08T18:45:34.986Z] f56be85fc22e: Already exists [2023-05-08T18:45:34.986Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T18:45:34.986Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T18:45:34.986Z] ---> 9ed4aefc74f6 [2023-05-08T18:45:34.986Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T18:45:34.986Z] ---> Running in e286ada3b6bd [2023-05-08T18:45:34.986Z] Removing intermediate container e286ada3b6bd [2023-05-08T18:45:34.986Z] ---> 6b5a39043f36 [2023-05-08T18:45:34.986Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-08T18:45:35.244Z] ---> Running in 48b304d907d3 [2023-05-08T18:45:35.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T18:45:35.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T18:45:35.762Z] OK: 7 MiB in 15 packages [2023-05-08T18:45:36.021Z] Removing intermediate container 48b304d907d3 [2023-05-08T18:45:36.021Z] ---> 29518220f51c [2023-05-08T18:45:36.021Z] Step 14/23 : WORKDIR / [2023-05-08T18:45:36.021Z] ---> Running in 3c97c8a1719b [2023-05-08T18:45:36.279Z] Removing intermediate container 3c97c8a1719b [2023-05-08T18:45:36.279Z] ---> 24dd0b92b81e [2023-05-08T18:45:36.279Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-08T18:45:36.279Z] ---> d3e64f6dd6fb [2023-05-08T18:45:36.279Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-08T18:45:37.215Z] ---> 5c1676a56547 [2023-05-08T18:45:37.215Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-08T18:45:37.215Z] ---> 7c5841e02763 [2023-05-08T18:45:37.215Z] Step 18/23 : EXPOSE 59999 [2023-05-08T18:45:37.215Z] ---> Running in 565b55154545 [2023-05-08T18:45:37.215Z] Removing intermediate container 565b55154545 [2023-05-08T18:45:37.215Z] ---> cf69e70591af [2023-05-08T18:45:37.215Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-08T18:45:37.215Z] ---> Running in 575648d40c45 [2023-05-08T18:45:37.473Z] Removing intermediate container 575648d40c45 [2023-05-08T18:45:37.473Z] ---> 6d206b0721ee [2023-05-08T18:45:37.473Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T18:45:37.473Z] ---> Running in a49274af2d82 [2023-05-08T18:45:37.473Z] Removing intermediate container a49274af2d82 [2023-05-08T18:45:37.473Z] ---> e0c203db1f42 [2023-05-08T18:45:37.473Z] Step 21/23 : LABEL arch=amd64 [2023-05-08T18:45:37.473Z] ---> Running in 4962a9f93a88 [2023-05-08T18:45:37.473Z] Removing intermediate container 4962a9f93a88 [2023-05-08T18:45:37.473Z] ---> 8a1be4751efd [2023-05-08T18:45:37.473Z] Step 22/23 : LABEL git_sha=666d60f96e6347d8bb7be4ea57dbd6feb429282a [2023-05-08T18:45:37.732Z] ---> Running in 12db7c79c7ee [2023-05-08T18:45:37.732Z] Removing intermediate container 12db7c79c7ee [2023-05-08T18:45:37.732Z] ---> 9d4934f4b5f5 [2023-05-08T18:45:37.732Z] Step 23/23 : LABEL version=0.0.0 [2023-05-08T18:45:37.732Z] ---> Running in 987255c7134d [2023-05-08T18:45:37.732Z] Removing intermediate container 987255c7134d [2023-05-08T18:45:37.732Z] ---> 83ca50fc80e6 [2023-05-08T18:45:37.732Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T18:45:37.732Z] Successfully built 83ca50fc80e6 [2023-05-08T18:45:37.732Z] 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-08T18:45:38.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:45:38.172Z] [2023-05-08T18:45:38.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:45:38.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:45:38.473Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T18:45:38.473Z] 5eb5b503b376: Pulling fs layer [2023-05-08T18:45:38.473Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T18:45:38.473Z] ec43610c2a17: Pulling fs layer [2023-05-08T18:45:38.473Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T18:45:38.473Z] 33b1e0a273af: Pulling fs layer [2023-05-08T18:45:38.473Z] 3a2ae6a8a46f: Waiting [2023-05-08T18:45:38.473Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T18:45:38.473Z] 2f39f015ded8: Pulling fs layer [2023-05-08T18:45:38.473Z] 2f39f015ded8: Waiting [2023-05-08T18:45:38.473Z] 5d3b04190fa2: Waiting [2023-05-08T18:45:38.473Z] 5c69ac0246d0: Verifying Checksum [2023-05-08T18:45:38.473Z] 5c69ac0246d0: Download complete [2023-05-08T18:45:38.473Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T18:45:38.473Z] 3a2ae6a8a46f: Download complete [2023-05-08T18:45:38.473Z] 33b1e0a273af: Verifying Checksum [2023-05-08T18:45:38.473Z] 33b1e0a273af: Download complete [2023-05-08T18:45:38.473Z] ec43610c2a17: Verifying Checksum [2023-05-08T18:45:38.473Z] ec43610c2a17: Download complete [2023-05-08T18:45:38.473Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T18:45:38.473Z] 5d3b04190fa2: Download complete [2023-05-08T18:45:38.730Z] 5eb5b503b376: Verifying Checksum [2023-05-08T18:45:38.730Z] 5eb5b503b376: Download complete [2023-05-08T18:45:39.294Z] 2f39f015ded8: Download complete [2023-05-08T18:45:39.860Z] 5eb5b503b376: Pull complete [2023-05-08T18:45:39.860Z] 5c69ac0246d0: Pull complete [2023-05-08T18:45:40.426Z] ec43610c2a17: Pull complete [2023-05-08T18:45:40.426Z] 3a2ae6a8a46f: Pull complete [2023-05-08T18:45:40.684Z] 33b1e0a273af: Pull complete [2023-05-08T18:45:40.684Z] 5d3b04190fa2: Pull complete [2023-05-08T18:45:45.944Z] 2f39f015ded8: Pull complete [2023-05-08T18:45:45.944Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T18:45:45.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:45:45.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:45:46.027Z] prd-ubuntu20.04-docker-8c-8g-14524 does not seem to be running inside a container [2023-05-08T18:45:46.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T18:45:48.408Z] $ docker top 67e036bb7ef4678d5f9193c96876e83c4e1daa16f9adb27f501ee61194dadec5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:45:48.790Z] ---> job-cost.sh [2023-05-08T18:45:48.790Z] lf-activate-venv: SKIPPING [2023-05-08T18:45:48.790Z] INFO: No Stack... [2023-05-08T18:45:49.049Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T18:45:49.308Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T18:45:49.601Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives/cost.csv [2023-05-08T18:45:49.601Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T18:45:49.618Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1444-4-stack-cost] [2023-05-08T18:45:49.626Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-4-stack-cost] did not exist. Created. [2023-05-08T18:45:49.627Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1444-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T18:45:49.932Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T18:45:49.965Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T18:45:49.972Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T18:45:49.997Z] $ docker stop --time=1 67e036bb7ef4678d5f9193c96876e83c4e1daa16f9adb27f501ee61194dadec5 [2023-05-08T18:45:51.175Z] $ docker rm -f --volumes 67e036bb7ef4678d5f9193c96876e83c4e1daa16f9adb27f501ee61194dadec5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T18:47:12.646Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14525 in /w/workspace/gexfoundry_device-sdk-go_PR-1444 [Pipeline] { [Pipeline] ws [2023-05-08T18:47:12.659Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-05-08T18:47:12.702Z] The recommended git tool is: git [2023-05-08T18:47:19.049Z] using credential edgex-jenkins-ssh [2023-05-08T18:47:19.069Z] Cloning the remote Git repository [2023-05-08T18:47:19.133Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T18:47:19.268Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-05-08T18:47:19.457Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T18:47:19.458Z] > git --version # timeout=10 [2023-05-08T18:47:19.488Z] > git --version # 'git version 2.25.1' [2023-05-08T18:47:19.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T18:47:19.681Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T18:47:21.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T18:47:21.477Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T18:47:22.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T18:47:22.532Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T18:47:22.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T18:47:22.551Z] > 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-08T18:47:23.274Z] Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit b57916b769024855ef9434da56afa764e5360c17 [2023-05-08T18:47:23.693Z] Merge succeeded, producing 50c6a6116dfdbae4c55dfd0671a85cb9e451c20b [2023-05-08T18:47:23.694Z] Checking out Revision 50c6a6116dfdbae4c55dfd0671a85cb9e451c20b (PR-1444) [2023-05-08T18:47:23.301Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T18:47:23.399Z] > git checkout -f b57916b769024855ef9434da56afa764e5360c17 # timeout=10 [2023-05-08T18:47:23.522Z] > git remote # timeout=10 [2023-05-08T18:47:23.548Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T18:47:23.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T18:47:23.581Z] > git merge c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 [2023-05-08T18:47:23.679Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T18:47:23.706Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T18:47:23.723Z] > git checkout -f 50c6a6116dfdbae4c55dfd0671a85cb9e451c20b # timeout=10 [2023-05-08T18:47:27.304Z] Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" [2023-05-08T18:47:27.337Z] First time build. Skipping changelog. [2023-05-08T18:47:27.319Z] > git rev-list --no-walk a812d2727b3ed4dfd33fe309536d373fc26aae4e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T18:47:28.274Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T18:47:28.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:47:28.274Z] Dload Upload Total Spent Left Speed [2023-05-08T18:47:28.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-05-08T18:47:28.990Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T18:47:29.321Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T18:47:29.321Z] + sudo tee /etc/docker/daemon.new [2023-05-08T18:47:29.321Z] { [2023-05-08T18:47:29.321Z] "registry-mirrors": [ [2023-05-08T18:47:29.321Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T18:47:29.321Z] ], [2023-05-08T18:47:29.321Z] "bip": "10.250.0.254/24", [2023-05-08T18:47:29.321Z] "hosts": [ [2023-05-08T18:47:29.321Z] "tcp://0.0.0.0:5555", [2023-05-08T18:47:29.321Z] "unix:///var/run/docker.sock" [2023-05-08T18:47:29.321Z] ], [2023-05-08T18:47:29.321Z] "mtu": 1458, [2023-05-08T18:47:29.321Z] "selinux-enabled": true, [2023-05-08T18:47:29.321Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T18:47:29.321Z] } [Pipeline] sh [2023-05-08T18:47:29.663Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T18:47:30.009Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T18:47:48.289Z] provisioning config files... [2023-05-08T18:47:48.316Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1703835367214965465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:47:48.673Z] ---> docker-login.sh [2023-05-08T18:47:48.673Z] nexus3.edgexfoundry.org:10001 [2023-05-08T18:47:49.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:47:49.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:47:49.275Z] Configure a credential helper to remove this warning. See [2023-05-08T18:47:49.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:47:49.275Z] [2023-05-08T18:47:49.275Z] Login Succeeded [2023-05-08T18:47:49.275Z] nexus3.edgexfoundry.org:10002 [2023-05-08T18:47:49.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:47:49.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:47:49.816Z] Configure a credential helper to remove this warning. See [2023-05-08T18:47:49.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:47:49.816Z] [2023-05-08T18:47:49.816Z] Login Succeeded [2023-05-08T18:47:49.816Z] nexus3.edgexfoundry.org:10003 [2023-05-08T18:47:50.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:47:50.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:47:50.086Z] Configure a credential helper to remove this warning. See [2023-05-08T18:47:50.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:47:50.086Z] [2023-05-08T18:47:50.086Z] Login Succeeded [2023-05-08T18:47:50.086Z] nexus3.edgexfoundry.org:10004 [2023-05-08T18:47:50.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:47:50.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:47:50.355Z] Configure a credential helper to remove this warning. See [2023-05-08T18:47:50.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:47:50.355Z] [2023-05-08T18:47:50.355Z] Login Succeeded [2023-05-08T18:47:50.626Z] docker.io [2023-05-08T18:47:50.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T18:47:50.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T18:47:50.897Z] Configure a credential helper to remove this warning. See [2023-05-08T18:47:50.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T18:47:50.897Z] [2023-05-08T18:47:50.897Z] Login Succeeded [2023-05-08T18:47:50.897Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T18:47:50.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T18:47:51.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T18:47:51.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T18:47:51.227Z] ========================================================= [2023-05-08T18:47:51.227Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T18:47:51.227Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:47:51.570Z] + 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-08T18:47:52.161Z] Sending build context to Docker daemon 5.984MB [2023-05-08T18:47:52.161Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:47:52.161Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T18:47:52.161Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T18:47:52.161Z] c41833b44d91: Pulling fs layer [2023-05-08T18:47:52.161Z] ed15518f5707: Pulling fs layer [2023-05-08T18:47:52.161Z] feae8fd75edb: Pulling fs layer [2023-05-08T18:47:52.161Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T18:47:52.161Z] 3cdef696dda3: Pulling fs layer [2023-05-08T18:47:52.161Z] 2ced38df9373: Pulling fs layer [2023-05-08T18:47:52.161Z] 58f1dce35555: Pulling fs layer [2023-05-08T18:47:52.161Z] 3cdef696dda3: Waiting [2023-05-08T18:47:52.161Z] 2ced38df9373: Waiting [2023-05-08T18:47:52.161Z] 58f1dce35555: Waiting [2023-05-08T18:47:52.161Z] 242c74f7c9fa: Waiting [2023-05-08T18:47:52.161Z] ed15518f5707: Verifying Checksum [2023-05-08T18:47:52.161Z] ed15518f5707: Download complete [2023-05-08T18:47:52.161Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T18:47:52.161Z] 242c74f7c9fa: Download complete [2023-05-08T18:47:52.161Z] 3cdef696dda3: Download complete [2023-05-08T18:47:52.431Z] c41833b44d91: Verifying Checksum [2023-05-08T18:47:52.431Z] c41833b44d91: Download complete [2023-05-08T18:47:53.416Z] c41833b44d91: Pull complete [2023-05-08T18:47:53.688Z] 58f1dce35555: Verifying Checksum [2023-05-08T18:47:53.688Z] 58f1dce35555: Download complete [2023-05-08T18:47:53.958Z] ed15518f5707: Pull complete [2023-05-08T18:47:54.934Z] feae8fd75edb: Verifying Checksum [2023-05-08T18:47:54.934Z] feae8fd75edb: Download complete [2023-05-08T18:47:54.934Z] 2ced38df9373: Verifying Checksum [2023-05-08T18:48:07.282Z] feae8fd75edb: Pull complete [2023-05-08T18:48:07.282Z] 242c74f7c9fa: Pull complete [2023-05-08T18:48:07.282Z] 3cdef696dda3: Pull complete [2023-05-08T18:48:14.069Z] 2ced38df9373: Pull complete [2023-05-08T18:48:15.502Z] 58f1dce35555: Pull complete [2023-05-08T18:48:15.502Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T18:48:15.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T18:48:15.502Z] ---> fadd8f120f05 [2023-05-08T18:48:15.502Z] Step 3/10 : ARG MAKE=make build [2023-05-08T18:48:17.475Z] ---> Running in ef0ed7aa3f83 [2023-05-08T18:48:17.753Z] Removing intermediate container ef0ed7aa3f83 [2023-05-08T18:48:17.753Z] ---> 17a00ffb158c [2023-05-08T18:48:17.753Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T18:48:17.753Z] ---> Running in a09ffc26232e [2023-05-08T18:48:18.341Z] Removing intermediate container a09ffc26232e [2023-05-08T18:48:18.341Z] ---> 0b22567f2270 [2023-05-08T18:48:18.341Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T18:48:18.341Z] ---> Running in 08c11d81edda [2023-05-08T18:48:18.614Z] Removing intermediate container 08c11d81edda [2023-05-08T18:48:18.614Z] ---> 2db39b7a9c4b [2023-05-08T18:48:18.614Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T18:48:18.614Z] ---> Running in f530170e8a5d [2023-05-08T18:48:20.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T18:48:20.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T18:48:21.708Z] OK: 263 MiB in 53 packages [2023-05-08T18:48:22.306Z] Removing intermediate container f530170e8a5d [2023-05-08T18:48:22.307Z] ---> 179bf126c974 [2023-05-08T18:48:22.307Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T18:48:26.573Z] ---> 1dca0bd3f24f [2023-05-08T18:48:26.573Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:48:26.573Z] ---> Running in 0c9bf0dac905 [2023-05-08T18:49:34.490Z] Removing intermediate container 0c9bf0dac905 [2023-05-08T18:49:34.490Z] ---> 6d21b85ba6d6 [2023-05-08T18:49:34.490Z] Step 9/10 : COPY . . [2023-05-08T18:49:34.490Z] ---> e189c2819a5a [2023-05-08T18:49:34.490Z] Step 10/10 : RUN ${MAKE} [2023-05-08T18:49:34.490Z] ---> Running in 829d6f30b918 [2023-05-08T18:49:34.490Z] noop [2023-05-08T18:49:34.490Z] Removing intermediate container 829d6f30b918 [2023-05-08T18:49:34.490Z] ---> 481110e5b6ad [2023-05-08T18:49:34.490Z] Successfully built 481110e5b6ad [2023-05-08T18:49:34.490Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:49:34.859Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T18:49:34.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:49:35.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-14525 does not seem to be running inside a container [2023-05-08T18:49:35.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-08T18:49:36.477Z] $ docker top f5e9eabde340f20b14511ed617f89e1c0d8bb290fcfb51a774513da0b5b5144e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:49:37.350Z] + go version [2023-05-08T18:49:37.350Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T18:49:37.375Z] $ docker stop --time=1 f5e9eabde340f20b14511ed617f89e1c0d8bb290fcfb51a774513da0b5b5144e [2023-05-08T18:49:39.031Z] $ docker rm -f --volumes f5e9eabde340f20b14511ed617f89e1c0d8bb290fcfb51a774513da0b5b5144e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:49:39.607Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T18:49:39.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:49:39.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-14525 does not seem to be running inside a container [2023-05-08T18:49:39.882Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-08T18:49:41.124Z] $ docker top b72399c5452bb8661f65fdcb47d0e287d1c837d4f1de279aaeda2ccb0b678e36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:49:41.980Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-05-08T18:49:42.636Z] + make test [2023-05-08T18:49:42.636Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T18:50:29.512Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T18:52:36.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-08T18:52:36.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T18:52:36.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T18:52:36.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T18:52:36.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T18:52:40.493Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.214s coverage: 27.6% of statements [2023-05-08T18:52:42.428Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.256s coverage: 80.2% of statements [2023-05-08T18:52:50.617Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T18:52:50.617Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T18:52:50.883Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.345s coverage: 86.0% of statements [2023-05-08T18:52:56.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T18:52:56.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T18:52:56.214Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.429s coverage: 77.5% of statements [2023-05-08T18:52:58.798Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.252s coverage: 14.6% of statements [2023-05-08T18:53:00.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T18:53:00.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T18:53:00.469Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.420s coverage: 68.5% of statements [2023-05-08T18:53:03.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.424s coverage: 89.2% of statements [2023-05-08T18:53:04.978Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-08T18:53:04.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.236s coverage: 5.5% of statements [2023-05-08T18:53:05.561Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T18:53:05.561Z] GO111MODULE=on go vet ./... [2023-05-08T18:55:27.477Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T18:55:27.477Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T18:55:27.477Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T18:55:27.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T18:55:27.526Z] $ docker stop --time=1 b72399c5452bb8661f65fdcb47d0e287d1c837d4f1de279aaeda2ccb0b678e36 [2023-05-08T18:55:29.373Z] $ docker rm -f --volumes b72399c5452bb8661f65fdcb47d0e287d1c837d4f1de279aaeda2ccb0b678e36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T18:55:30.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T18:55:30.972Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T18:55:31.629Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T18:55:31.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T18:55:32.326Z] + ls -al . [2023-05-08T18:55:32.326Z] total 268 [2023-05-08T18:55:32.326Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 18:49 . [2023-05-08T18:55:32.326Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:47 .. [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 18:47 .dockerignore [2023-05-08T18:55:32.326Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 18:47 .git [2023-05-08T18:55:32.326Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 18:47 .github [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 131 May 8 18:47 .gitignore [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 18:47 .golangci.yml [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 8 18:47 CHANGELOG.md [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 18:47 GOVERNANCE.md [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 885 May 8 18:47 Jenkinsfile [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 18:47 LICENSE [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 8 18:47 Makefile [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 18:47 OWNERS.md [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 8 18:47 README.md [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 18:43 VERSION [2023-05-08T18:55:32.326Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 18:47 bin [2023-05-08T18:55:32.326Z] -rw-r--r-- 1 jenkins jenkins 106121 May 8 18:53 coverage.out [2023-05-08T18:55:32.326Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 18:47 example [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 8 18:47 go.mod [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 8 18:47 go.sum [2023-05-08T18:55:32.326Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 18:47 internal [2023-05-08T18:55:32.326Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 18:47 openapi [2023-05-08T18:55:32.326Z] drwxrwxr-x 6 jenkins jenkins 4096 May 8 18:47 pkg [2023-05-08T18:55:32.326Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 18:47 snap [2023-05-08T18:55:32.326Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:55:32.664Z] + 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=50c6a6116dfdbae4c55dfd0671a85cb9e451c20b --label arch=arm64 --label version=0.0.0 . [2023-05-08T18:55:32.933Z] Sending build context to Docker daemon 6.091MB [2023-05-08T18:55:33.202Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:55:33.202Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-08T18:55:33.202Z] ---> 481110e5b6ad [2023-05-08T18:55:33.202Z] Step 3/23 : ARG MAKE=make build [2023-05-08T18:55:33.202Z] ---> Running in 5f97fc60fa43 [2023-05-08T18:55:33.471Z] Removing intermediate container 5f97fc60fa43 [2023-05-08T18:55:33.471Z] ---> 97ed604a47a1 [2023-05-08T18:55:33.471Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-08T18:55:33.740Z] ---> Running in ddea8f613108 [2023-05-08T18:55:34.009Z] Removing intermediate container ddea8f613108 [2023-05-08T18:55:34.009Z] ---> d26f2f94cf42 [2023-05-08T18:55:34.009Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T18:55:34.009Z] ---> Running in 7800f2f92ecf [2023-05-08T18:55:34.283Z] Removing intermediate container 7800f2f92ecf [2023-05-08T18:55:34.283Z] ---> 8c4ed87141d4 [2023-05-08T18:55:34.283Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-08T18:55:34.283Z] ---> Running in 102459ff0709 [2023-05-08T18:55:35.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T18:55:35.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T18:55:36.810Z] OK: 263 MiB in 53 packages [2023-05-08T18:55:37.774Z] Removing intermediate container 102459ff0709 [2023-05-08T18:55:37.774Z] ---> a80777c05b88 [2023-05-08T18:55:37.774Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-08T18:55:38.359Z] ---> 1750b3623e6a [2023-05-08T18:55:38.359Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:55:38.359Z] ---> Running in ec2f5f813fbe [2023-05-08T18:55:40.948Z] Removing intermediate container ec2f5f813fbe [2023-05-08T18:55:40.948Z] ---> 6c0d7b8d5899 [2023-05-08T18:55:40.948Z] Step 9/23 : COPY . . [2023-05-08T18:55:42.364Z] ---> eae61697a071 [2023-05-08T18:55:42.364Z] Step 10/23 : RUN ${MAKE} [2023-05-08T18:55:42.364Z] ---> Running in 491d0e3ecc0c [2023-05-08T18:55:43.328Z] 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-08T18:57:50.007Z] Removing intermediate container 491d0e3ecc0c [2023-05-08T18:57:50.007Z] ---> eebcd03669d0 [2023-05-08T18:57:50.007Z] Step 11/23 : FROM alpine:3.17 [2023-05-08T18:57:50.007Z] 3.17: Pulling from library/alpine [2023-05-08T18:57:50.007Z] c41833b44d91: Already exists [2023-05-08T18:57:50.007Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T18:57:50.007Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T18:57:50.007Z] ---> 51e60588ff2c [2023-05-08T18:57:50.007Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T18:57:50.007Z] ---> Running in d00791c3f0fa [2023-05-08T18:57:50.007Z] Removing intermediate container d00791c3f0fa [2023-05-08T18:57:50.007Z] ---> 1e833331893f [2023-05-08T18:57:50.007Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-08T18:57:50.007Z] ---> Running in 7bdafa4d8de9 [2023-05-08T18:57:50.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T18:57:50.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T18:57:50.007Z] OK: 7 MiB in 15 packages [2023-05-08T18:57:50.007Z] Removing intermediate container 7bdafa4d8de9 [2023-05-08T18:57:50.007Z] ---> 2fb2d8f1354b [2023-05-08T18:57:50.007Z] Step 14/23 : WORKDIR / [2023-05-08T18:57:50.274Z] ---> Running in 08ec3828d791 [2023-05-08T18:57:50.540Z] Removing intermediate container 08ec3828d791 [2023-05-08T18:57:50.540Z] ---> a2e9cb5eb339 [2023-05-08T18:57:50.540Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-08T18:57:50.810Z] ---> a0969d3b6e86 [2023-05-08T18:57:50.810Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-08T18:57:52.220Z] ---> c77621e887e8 [2023-05-08T18:57:52.220Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-08T18:57:52.486Z] ---> ef08c10c5db4 [2023-05-08T18:57:52.486Z] Step 18/23 : EXPOSE 59999 [2023-05-08T18:57:52.486Z] ---> Running in ba79df10866c [2023-05-08T18:57:52.756Z] Removing intermediate container ba79df10866c [2023-05-08T18:57:52.756Z] ---> a7d32b48fe67 [2023-05-08T18:57:52.756Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-08T18:57:52.756Z] ---> Running in cbd998753e00 [2023-05-08T18:57:53.022Z] Removing intermediate container cbd998753e00 [2023-05-08T18:57:53.022Z] ---> bb80798125fe [2023-05-08T18:57:53.023Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T18:57:53.294Z] ---> Running in 7953cc9ad411 [2023-05-08T18:57:53.560Z] Removing intermediate container 7953cc9ad411 [2023-05-08T18:57:53.560Z] ---> 3083cd54c3fb [2023-05-08T18:57:53.560Z] Step 21/23 : LABEL arch=arm64 [2023-05-08T18:57:53.560Z] ---> Running in d2e86f5e8f29 [2023-05-08T18:57:53.826Z] Removing intermediate container d2e86f5e8f29 [2023-05-08T18:57:53.826Z] ---> 700f2747982e [2023-05-08T18:57:53.826Z] Step 22/23 : LABEL git_sha=50c6a6116dfdbae4c55dfd0671a85cb9e451c20b [2023-05-08T18:57:53.826Z] ---> Running in e336121abe64 [2023-05-08T18:57:54.092Z] Removing intermediate container e336121abe64 [2023-05-08T18:57:54.092Z] ---> 9483a5f02ebd [2023-05-08T18:57:54.092Z] Step 23/23 : LABEL version=0.0.0 [2023-05-08T18:57:54.092Z] ---> Running in 5301843fb938 [2023-05-08T18:57:54.357Z] Removing intermediate container 5301843fb938 [2023-05-08T18:57:54.357Z] ---> 96f78a7f34e0 [2023-05-08T18:57:54.357Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T18:57:54.357Z] Successfully built 96f78a7f34e0 [2023-05-08T18:57:54.357Z] 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-08T18:57:54.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:57:54.782Z] [2023-05-08T18:57:54.782Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:57:55.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:57:55.103Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T18:57:55.103Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T18:57:55.103Z] 04944245beec: Pulling fs layer [2023-05-08T18:57:55.103Z] 699f458cf7ca: Pulling fs layer [2023-05-08T18:57:55.103Z] 765212b225bb: Pulling fs layer [2023-05-08T18:57:55.103Z] f23df028b6ca: Pulling fs layer [2023-05-08T18:57:55.103Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T18:57:55.103Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T18:57:55.103Z] f23df028b6ca: Waiting [2023-05-08T18:57:55.103Z] d65c8cfc05b1: Waiting [2023-05-08T18:57:55.103Z] 2437ff75d9bd: Waiting [2023-05-08T18:57:55.103Z] 765212b225bb: Waiting [2023-05-08T18:57:55.369Z] 04944245beec: Verifying Checksum [2023-05-08T18:57:55.369Z] 04944245beec: Download complete [2023-05-08T18:57:55.369Z] 765212b225bb: Verifying Checksum [2023-05-08T18:57:55.369Z] 765212b225bb: Download complete [2023-05-08T18:57:55.369Z] f23df028b6ca: Verifying Checksum [2023-05-08T18:57:55.369Z] f23df028b6ca: Download complete [2023-05-08T18:57:55.369Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T18:57:55.369Z] d65c8cfc05b1: Download complete [2023-05-08T18:57:55.369Z] 699f458cf7ca: Verifying Checksum [2023-05-08T18:57:55.369Z] 699f458cf7ca: Download complete [2023-05-08T18:57:55.952Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T18:57:55.952Z] 8998bd30e6a1: Download complete [2023-05-08T18:57:57.884Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T18:57:57.884Z] 2437ff75d9bd: Download complete [2023-05-08T18:57:59.286Z] 8998bd30e6a1: Pull complete [2023-05-08T18:57:59.865Z] 04944245beec: Pull complete [2023-05-08T18:58:00.821Z] 699f458cf7ca: Pull complete [2023-05-08T18:58:01.086Z] 765212b225bb: Pull complete [2023-05-08T18:58:01.665Z] f23df028b6ca: Pull complete [2023-05-08T18:58:01.931Z] d65c8cfc05b1: Pull complete [2023-05-08T18:58:16.894Z] 2437ff75d9bd: Pull complete [2023-05-08T18:58:16.894Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T18:58:16.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:58:16.894Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:58:17.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-14525 does not seem to be running inside a container [2023-05-08T18:58:17.133Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-08T18:58:19.473Z] $ docker top 03570f26e693f137baae1e5119ed109409a99a7319101c167c6abe735f023f6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:58:19.972Z] ---> job-cost.sh [2023-05-08T18:58:20.237Z] lf-activate-venv: SKIPPING [2023-05-08T18:58:20.237Z] INFO: No Stack... [2023-05-08T18:58:20.501Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T18:58:21.455Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T18:58:21.771Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-05-08T18:58:21.771Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T18:58:21.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1444-4-stack-cost] [2023-05-08T18:58:21.836Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-4-stack-cost] did not exist. Created. [2023-05-08T18:58:21.837Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1444-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T18:58:22.168Z] /w/workspace/device-sdk-go/4@tmp/durable-6268eab5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T18:58:22.501Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T18:58:22.522Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T18:58:22.578Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T18:58:22.587Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1444-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T18:58:22.607Z] $ docker stop --time=1 03570f26e693f137baae1e5119ed109409a99a7319101c167c6abe735f023f6d [2023-05-08T18:58:24.079Z] $ docker rm -f --volumes 03570f26e693f137baae1e5119ed109409a99a7319101c167c6abe735f023f6d [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-08T18:58:24.435Z] provisioning config files... [2023-05-08T18:58:24.442Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config326590026699425801tmp [Pipeline] { [Pipeline] sh [2023-05-08T18:58:24.734Z] + set +x [2023-05-08T18:58:24.734Z] + curl -s https://codecov.io/bash [2023-05-08T18:58:24.734Z] + bash -s -- [2023-05-08T18:58:24.734Z] [2023-05-08T18:58:24.734Z] _____ _ [2023-05-08T18:58:24.734Z] / ____| | | [2023-05-08T18:58:24.734Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T18:58:24.734Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T18:58:24.734Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T18:58:24.734Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T18:58:24.734Z] Bash-1.0.6 [2023-05-08T18:58:24.734Z] [2023-05-08T18:58:24.734Z] [2023-05-08T18:58:24.734Z] ==> git version 2.25.1 found [2023-05-08T18:58:24.734Z] ==> 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-08T18:58:24.734Z] Release-Date: 2020-01-08 [2023-05-08T18:58:24.734Z] 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-08T18:58:24.734Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T18:58:24.734Z] ==> Jenkins CI detected. [2023-05-08T18:58:24.734Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1444 [2023-05-08T18:58:24.734Z] project root: . [2023-05-08T18:58:24.734Z] --> token set from env [2023-05-08T18:58:24.734Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T18:58:24.734Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T18:58:25.013Z] ==> Python coveragepy not found [2023-05-08T18:58:25.013Z] ==> Searching for coverage reports in: [2023-05-08T18:58:25.013Z] + . [2023-05-08T18:58:25.013Z] -> Found 1 reports [2023-05-08T18:58:25.013Z] ==> Detecting git/mercurial file structure [2023-05-08T18:58:25.013Z] ==> Reading reports [2023-05-08T18:58:25.013Z] + ./coverage.out bytes=106121 [2023-05-08T18:58:25.013Z] ==> Appending adjustments [2023-05-08T18:58:25.013Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T18:58:25.272Z] + Found adjustments [2023-05-08T18:58:25.272Z] ==> Gzipping contents [2023-05-08T18:58:25.272Z] 16K /tmp/codecov.6zym8N.gz [2023-05-08T18:58:25.272Z] ==> Uploading reports [2023-05-08T18:58:25.272Z] url: https://codecov.io [2023-05-08T18:58:25.272Z] query: branch=PR-1444&commit=666d60f96e6347d8bb7be4ea57dbd6feb429282a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1444%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1444&job=&cmd_args= [2023-05-08T18:58:25.272Z] -> Pinging Codecov [2023-05-08T18:58:25.272Z] 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=666d60f96e6347d8bb7be4ea57dbd6feb429282a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1444%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1444&job=&cmd_args= [2023-05-08T18:58:25.531Z] -> Uploading to [2023-05-08T18:58:25.531Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/7E55EF52A471D76F132DFD9A03CDDE97/666d60f96e6347d8bb7be4ea57dbd6feb429282a/15ac95d8-7baf-4edf-8132-622e2bd38b44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T185825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1adc01b773a3e2a39f434f6a163fee5073b1255d3bf82d5a4862000bbd72017d [2023-05-08T18:58:25.531Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:58:25.531Z] Dload Upload Total Spent Left Speed [2023-05-08T18:58:25.531Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15002 0 0 100 15002 0 69453 --:--:-- --:--:-- --:--:-- 69453 [2023-05-08T18:58:25.531Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/666d60f96e6347d8bb7be4ea57dbd6feb429282a [Pipeline] } [2023-05-08T18:58:25.538Z] 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-08T18:58:26.254Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives ] [2023-05-08T18:58:26.254Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-08T18:58:26.254Z] total 16 [2023-05-08T18:58:26.254Z] drwxr-xr-x 3 root root 4096 May 8 18:45 . [2023-05-08T18:58:26.254Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 18:45 .. [2023-05-08T18:58:26.254Z] drwxr-xr-x 2 root root 4096 May 8 18:45 cost [2023-05-08T18:58:26.254Z] -rw-r--r-- 1 root root 86 May 8 18:45 cost.csv [2023-05-08T18:58:26.254Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-08T18:58:26.254Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives [2023-05-08T18:58:26.254Z] total 16 [2023-05-08T18:58:26.255Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 18:45 . [2023-05-08T18:58:26.255Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 18:45 .. [2023-05-08T18:58:26.255Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 18:45 cost [2023-05-08T18:58:26.255Z] -rw-r--r-- 1 jenkins jenkins 86 May 8 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:58:26.546Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:58:27.401Z] ---> package-listing.sh [2023-05-08T18:58:27.401Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T18:58:27.401Z] ++ facter osfamily [2023-05-08T18:58:27.661Z] + OS_FAMILY=debian [2023-05-08T18:58:27.661Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1444 [2023-05-08T18:58:27.661Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T18:58:27.661Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T18:58:27.661Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T18:58:27.661Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T18:58:27.661Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1444 ']' [2023-05-08T18:58:27.661Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T18:58:27.661Z] + case "${OS_FAMILY}" in [2023-05-08T18:58:27.661Z] + dpkg -l [2023-05-08T18:58:27.661Z] + grep '^ii' [2023-05-08T18:58:27.661Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T18:58:27.661Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T18:58:27.661Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T18:58:27.661Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1444 ']' [2023-05-08T18:58:27.661Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1444/archives/ [2023-05-08T18:58:27.661Z] + 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-08T18:58:27.673Z] 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-08T18:58:27.950Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:58:28.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:58:28.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:58:28.593Z] prd-ubuntu20.04-docker-8c-8g-14524 does not seem to be running inside a container [2023-05-08T18:58:28.632Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1444 -v /w/workspace/gexfoundry_device-sdk-go_PR-1444:/w/workspace/gexfoundry_device-sdk-go_PR-1444:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T18:58:28.870Z] $ docker top cd152312161e2b1b7e788094e0c79c3880999b6a083db66e6b99d04fa1711cee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:58:29.217Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T18:58:29.502Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T18:58:29.786Z] + ls /var/log/sa-host [2023-05-08T18:58:29.786Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T18:58:29.853Z] provisioning config files... [2023-05-08T18:58:29.861Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1444@tmp/config3970766882874959369tmp [Pipeline] { [Pipeline] echo [2023-05-08T18:58:29.876Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:58:30.156Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T18:58:30.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:58:30.502Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T18:58:30.510Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:58:30.802Z] ---> sudo-logs.sh [2023-05-08T18:58:30.802Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T18:58:30.826Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:58:31.107Z] ---> job-cost.sh [2023-05-08T18:58:31.107Z] lf-activate-venv: SKIPPING [2023-05-08T18:58:31.107Z] DEBUG: total: 0.2199999988079071 [2023-05-08T18:58:31.107Z] INFO: Retrieving Stack Cost... [2023-05-08T18:58:31.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T18:58:31.934Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T18:58:31.945Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:58:32.228Z] ---> logs-deploy.sh [2023-05-08T18:58:32.228Z] lf-activate-venv: SKIPPING [2023-05-08T18:58:32.228Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1444/4 [2023-05-08T18:58:32.228Z] INFO: archiving workspace using pattern(s): [2023-05-08T18:58:33.178Z] Archives upload complete. [2023-05-08T18:58:33.178Z] INFO: archiving logs to Nexus