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 bnevis-i for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0788bfb21fb273ad7b45151f543634661d4fb024+d74039b1e75348ec690936aee1c1bcbaac678fee (0b9fd450da8f13b2a02c25b18e3311e06a928ed5) 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-ssh10491747171727048151.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh10652905453761374653.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1475/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-1475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7276282732108302440.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh556602656528860795.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-1475/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-1475/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5524351050139449039.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1563 in /w/workspace/gexfoundry_device-sdk-go_PR-1475 [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-1475 # 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 d74039b1e75348ec690936aee1c1bcbaac678fee into PR head commit 0788bfb21fb273ad7b45151f543634661d4fb024 Merge succeeded, producing 0a975aeae5b7990f59e544da2ee2fdded13f22bb Checking out Revision 0a975aeae5b7990f59e544da2ee2fdded13f22bb (PR-1475) > 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/1475/head:refs/remotes/origin/PR-1475 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0788bfb21fb273ad7b45151f543634661d4fb024 # 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 d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a975aeae5b7990f59e544da2ee2fdded13f22bb # timeout=10 Commit message: "Merge commit 'd74039b1e75348ec690936aee1c1bcbaac678fee' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-19T18:42:44.611Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-19T18:42:44.665Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-19T18:42:44.679Z] ========================================================= [2023-07-19T18:42:44.679Z] EdgeX Global Pipelines Version Info [2023-07-19T18:42:44.679Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 512ba7d6fbcfbedd7e243df7a60f1bc082c79fd3 # timeout=10 [2023-07-19T18:42:45.430Z] ------------------- [2023-07-19T18:42:45.430Z] stable info: [2023-07-19T18:42:45.430Z] ------------------- [2023-07-19T18:42:45.430Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-19T18:42:45.430Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T18:42:45.430Z] Message: update stable to v1.0.250 [2023-07-19T18:42:46.001Z] ------------------- [2023-07-19T18:42:46.001Z] experimental info: [2023-07-19T18:42:46.001Z] ------------------- [2023-07-19T18:42:46.001Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-19T18:42:46.001Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T18:42:46.001Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-19T18:42:46.218Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-19T18:42:46.226Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-19T18:42:46.234Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-19T18:42:46.243Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-19T18:42:46.251Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-19T18:42:46.270Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-19T18:42:46.279Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-19T18:42:46.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-19T18:42:46.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-19T18:42:46.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-19T18:42:46.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-19T18:42:46.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-19T18:42:46.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-19T18:42:46.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-19T18:42:46.384Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T18:42:46.398Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:42:46.413Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:42:46.427Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:42:46.438Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-19T18:42:46.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-19T18:42:46.471Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-19T18:42:46.489Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-19T18:42:46.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-19T18:42:46.516Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-19T18:42:46.529Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-19T18:42:46.543Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-19T18:42:46.561Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-19T18:42:46.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1475 [Pipeline] echo [2023-07-19T18:42:46.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1475 [Pipeline] echo [2023-07-19T18:42:46.618Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1475 [Pipeline] echo [2023-07-19T18:42:46.633Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a975aeae5b7990f59e544da2ee2fdded13f22bb [Pipeline] echo [2023-07-19T18:42:46.645Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a975ae [Pipeline] echo [2023-07-19T18:42:46.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:42:46.704Z] provisioning config files... [2023-07-19T18:42:46.721Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config16716148295442745040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:42:47.022Z] ---> docker-login.sh [2023-07-19T18:42:47.022Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:42:47.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:47.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:47.282Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:47.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:47.282Z] [2023-07-19T18:42:47.282Z] Login Succeeded [2023-07-19T18:42:47.282Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:42:47.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:47.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:47.282Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:47.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:47.282Z] [2023-07-19T18:42:47.282Z] Login Succeeded [2023-07-19T18:42:47.282Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:42:47.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:47.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:47.542Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:47.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:47.542Z] [2023-07-19T18:42:47.542Z] Login Succeeded [2023-07-19T18:42:47.542Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:42:47.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:47.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:47.542Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:47.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:47.542Z] [2023-07-19T18:42:47.542Z] Login Succeeded [2023-07-19T18:42:47.542Z] docker.io [2023-07-19T18:42:47.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:42:47.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:42:47.803Z] Configure a credential helper to remove this warning. See [2023-07-19T18:42:47.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:42:47.803Z] [2023-07-19T18:42:47.803Z] Login Succeeded [2023-07-19T18:42:47.803Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:42:47.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-19T18:42:48.207Z] + git rev-list -1 --merges 0a975aeae5b7990f59e544da2ee2fdded13f22bb~1..0a975aeae5b7990f59e544da2ee2fdded13f22bb [Pipeline] echo [2023-07-19T18:42:48.250Z] -----------> git rev-list -1 --merges 0a975aeae5b7990f59e544da2ee2fdded13f22bb~1..0a975aeae5b7990f59e544da2ee2fdded13f22bb 0a975aeae5b7990f59e544da2ee2fdded13f22bb [2023-07-19T18:42:48.250Z] 0a975aeae5b7990f59e544da2ee2fdded13f22bb [false] [Pipeline] sh [2023-07-19T18:42:48.536Z] + git log --format=format:%s -1 0a975aeae5b7990f59e544da2ee2fdded13f22bb [Pipeline] echo [2023-07-19T18:42:48.551Z] ========================================================= [2023-07-19T18:42:48.551Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-19T18:42:48.551Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:42:48.905Z] + git log --format=format:%s -1 0a975aeae5b7990f59e544da2ee2fdded13f22bb [Pipeline] echo [2023-07-19T18:42:48.914Z] [semverPrep] GIT_COMMIT: 0a975aeae5b7990f59e544da2ee2fdded13f22bb, Commit Message: Merge commit 'd74039b1e75348ec690936aee1c1bcbaac678fee' into HEAD [Pipeline] echo [2023-07-19T18:42:48.927Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-19T18:42:49.280Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T18:42:49.280Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-19T18:42:49.280Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-19T18:42:49.280Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-19T18:42:49.280Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-19T18:42:49.280Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-19T18:42:49.280Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:42:49.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:42:49.633Z] [2023-07-19T18:42:49.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:42:49.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:42:49.941Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-19T18:42:49.941Z] b85a868b505f: Pulling fs layer [2023-07-19T18:42:49.941Z] e2be974225ed: Pulling fs layer [2023-07-19T18:42:49.941Z] 339a4e72a1f5: Pulling fs layer [2023-07-19T18:42:49.941Z] 988bab9f4d93: Pulling fs layer [2023-07-19T18:42:49.941Z] 1469e6f7b9e6: Pulling fs layer [2023-07-19T18:42:49.941Z] eaf3925da568: Pulling fs layer [2023-07-19T18:42:49.941Z] bab4dde63d76: Pulling fs layer [2023-07-19T18:42:49.941Z] bde34c3a00c8: Pulling fs layer [2023-07-19T18:42:49.941Z] b352a97aabf1: Pulling fs layer [2023-07-19T18:42:49.941Z] 4872d77fe225: Pulling fs layer [2023-07-19T18:42:49.941Z] 5851b861e8e6: Pulling fs layer [2023-07-19T18:42:49.941Z] 4872d77fe225: Waiting [2023-07-19T18:42:49.941Z] 988bab9f4d93: Waiting [2023-07-19T18:42:49.941Z] 1469e6f7b9e6: Waiting [2023-07-19T18:42:49.941Z] 5851b861e8e6: Waiting [2023-07-19T18:42:49.941Z] bde34c3a00c8: Waiting [2023-07-19T18:42:49.941Z] eaf3925da568: Waiting [2023-07-19T18:42:49.941Z] bab4dde63d76: Waiting [2023-07-19T18:42:49.941Z] e2be974225ed: Download complete [2023-07-19T18:42:49.941Z] 988bab9f4d93: Verifying Checksum [2023-07-19T18:42:49.941Z] 988bab9f4d93: Download complete [2023-07-19T18:42:49.941Z] 1469e6f7b9e6: Verifying Checksum [2023-07-19T18:42:49.941Z] 1469e6f7b9e6: Download complete [2023-07-19T18:42:50.200Z] eaf3925da568: Verifying Checksum [2023-07-19T18:42:50.200Z] eaf3925da568: Download complete [2023-07-19T18:42:50.200Z] 339a4e72a1f5: Verifying Checksum [2023-07-19T18:42:50.200Z] 339a4e72a1f5: Download complete [2023-07-19T18:42:50.200Z] bde34c3a00c8: Verifying Checksum [2023-07-19T18:42:50.200Z] bde34c3a00c8: Download complete [2023-07-19T18:42:50.200Z] b352a97aabf1: Download complete [2023-07-19T18:42:50.200Z] 4872d77fe225: Verifying Checksum [2023-07-19T18:42:50.200Z] 4872d77fe225: Download complete [2023-07-19T18:42:50.200Z] 5851b861e8e6: Download complete [2023-07-19T18:42:50.200Z] b85a868b505f: Verifying Checksum [2023-07-19T18:42:50.200Z] b85a868b505f: Download complete [2023-07-19T18:42:50.460Z] bab4dde63d76: Verifying Checksum [2023-07-19T18:42:50.460Z] bab4dde63d76: Download complete [2023-07-19T18:42:51.398Z] b85a868b505f: Pull complete [2023-07-19T18:42:51.658Z] e2be974225ed: Pull complete [2023-07-19T18:42:52.225Z] 339a4e72a1f5: Pull complete [2023-07-19T18:42:52.225Z] 988bab9f4d93: Pull complete [2023-07-19T18:42:52.485Z] 1469e6f7b9e6: Pull complete [2023-07-19T18:42:52.485Z] eaf3925da568: Pull complete [2023-07-19T18:42:54.389Z] bab4dde63d76: Pull complete [2023-07-19T18:42:54.389Z] bde34c3a00c8: Pull complete [2023-07-19T18:42:54.647Z] b352a97aabf1: Pull complete [2023-07-19T18:42:54.647Z] 4872d77fe225: Pull complete [2023-07-19T18:42:54.647Z] 5851b861e8e6: Pull complete [2023-07-19T18:42:54.647Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-19T18:42:54.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:42:54.647Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:42:54.746Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2023-07-19T18:42:54.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-19T18:42:59.596Z] $ docker top 027af145c08f746e1afde8a9cd7dd049360793dbac100866c454e7e7f4e55e2f -eo pid,comm [2023-07-19T18:42:59.647Z] 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-07-19T18:42:59.647Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T18:42:59.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:42:59.691Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:42:59.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:42:59.806Z] $ docker exec 027af145c08f746e1afde8a9cd7dd049360793dbac100866c454e7e7f4e55e2f ssh-agent [2023-07-19T18:42:59.911Z] SSH_AUTH_SOCK=/tmp/ssh-XQIZpRYNVwsh/agent.33 [2023-07-19T18:42:59.911Z] SSH_AGENT_PID=39 [2023-07-19T18:42:59.917Z] Running ssh-add (command line suppressed) [2023-07-19T18:43:00.011Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_8732065357340191581.key (/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_8732065357340191581.key) [2023-07-19T18:43:00.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:43:00.317Z] + git tag --points-at HEAD [Pipeline] } [2023-07-19T18:43:00.336Z] $ docker exec --env ******** --env ******** 027af145c08f746e1afde8a9cd7dd049360793dbac100866c454e7e7f4e55e2f ssh-agent -k [2023-07-19T18:43:00.430Z] unset SSH_AUTH_SOCK; [2023-07-19T18:43:00.430Z] unset SSH_AGENT_PID; [2023-07-19T18:43:00.430Z] echo Agent pid 39 killed; [2023-07-19T18:43:00.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-19T18:43:00.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:43:00.472Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:43:00.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:43:00.598Z] $ docker exec 027af145c08f746e1afde8a9cd7dd049360793dbac100866c454e7e7f4e55e2f ssh-agent [2023-07-19T18:43:00.705Z] SSH_AUTH_SOCK=/tmp/ssh-dIXNUj8qAdh2/agent.71 [2023-07-19T18:43:00.705Z] SSH_AGENT_PID=77 [2023-07-19T18:43:00.710Z] Running ssh-add (command line suppressed) [2023-07-19T18:43:00.807Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_10337924882262549167.key (/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_10337924882262549167.key) [2023-07-19T18:43:00.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:43:01.106Z] + git semver init [2023-07-19T18:43:01.365Z] 2023-07-19 18:43:01,294 [run_init] DEBUG init version:0.0.0 force:False [2023-07-19T18:43:01.365Z] 2023-07-19 18:43:01,294 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver [2023-07-19T18:43:01.365Z] 2023-07-19 18:43:01,295 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver [2023-07-19T18:43:01.365Z] 2023-07-19 18:43:01,295 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475, universal_newlines=False, shell=None, istream=None) [2023-07-19T18:43:02.304Z] 2023-07-19 18:43:02,277 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.git/info/exclude [2023-07-19T18:43:02.304Z] 2023-07-19 18:43:02,277 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 with force:False [2023-07-19T18:43:02.304Z] 2023-07-19 18:43:02,277 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 [2023-07-19T18:43:02.304Z] 2023-07-19 18:43:02,281 [execute] INFO git cat-file --batch-check [2023-07-19T18:43:02.304Z] 2023-07-19 18:43:02,282 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T18:43:02.304Z] 2023-07-19 18:43:02,287 [execute] INFO git cat-file --batch [2023-07-19T18:43:02.304Z] 2023-07-19 18:43:02,288 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T18:43:02.305Z] 2023-07-19 18:43:02,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 [2023-07-19T18:43:02.305Z] 0.0.0 [Pipeline] } [2023-07-19T18:43:02.574Z] $ docker exec --env ******** --env ******** 027af145c08f746e1afde8a9cd7dd049360793dbac100866c454e7e7f4e55e2f ssh-agent -k [2023-07-19T18:43:02.664Z] unset SSH_AUTH_SOCK; [2023-07-19T18:43:02.665Z] unset SSH_AGENT_PID; [2023-07-19T18:43:02.665Z] echo Agent pid 77 killed; [2023-07-19T18:43:02.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T18:43:02.978Z] + git semver [Pipeline] } [2023-07-19T18:43:03.253Z] $ docker stop --time=1 027af145c08f746e1afde8a9cd7dd049360793dbac100866c454e7e7f4e55e2f [2023-07-19T18:43:04.536Z] $ docker rm -f --volumes 027af145c08f746e1afde8a9cd7dd049360793dbac100866c454e7e7f4e55e2f [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:43:04.871Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-19T18:43:05.076Z] Stashed 1 file(s) [Pipeline] echo [2023-07-19T18:43:05.080Z] [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-07-19T18:43:05.222Z] provisioning config files... [2023-07-19T18:43:05.232Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config5554104701313717567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:43:05.529Z] ---> docker-login.sh [2023-07-19T18:43:05.529Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:43:05.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:43:05.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:43:05.529Z] Configure a credential helper to remove this warning. See [2023-07-19T18:43:05.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:43:05.529Z] [2023-07-19T18:43:05.529Z] Login Succeeded [2023-07-19T18:43:05.529Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:43:05.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:43:05.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:43:05.529Z] Configure a credential helper to remove this warning. See [2023-07-19T18:43:05.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:43:05.529Z] [2023-07-19T18:43:05.529Z] Login Succeeded [2023-07-19T18:43:05.529Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:43:05.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:43:05.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:43:05.789Z] Configure a credential helper to remove this warning. See [2023-07-19T18:43:05.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:43:05.789Z] [2023-07-19T18:43:05.789Z] Login Succeeded [2023-07-19T18:43:05.789Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:43:05.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:43:05.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:43:05.789Z] Configure a credential helper to remove this warning. See [2023-07-19T18:43:05.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:43:05.789Z] [2023-07-19T18:43:05.789Z] Login Succeeded [2023-07-19T18:43:05.789Z] docker.io [2023-07-19T18:43:05.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:43:06.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:43:06.048Z] Configure a credential helper to remove this warning. See [2023-07-19T18:43:06.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:43:06.048Z] [2023-07-19T18:43:06.048Z] Login Succeeded [2023-07-19T18:43:06.048Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:43:06.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T18:43:06.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:43:06.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:43:06.137Z] ========================================================= [2023-07-19T18:43:06.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-19T18:43:06.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:43:06.441Z] + 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-07-19T18:43:06.441Z] Sending build context to Docker daemon 10.94MB [2023-07-19T18:43:06.441Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:43:06.441Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T18:43:06.442Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-19T18:43:06.442Z] 4db1b89c0bd1: Pulling fs layer [2023-07-19T18:43:06.442Z] 6911f1a30b25: Pulling fs layer [2023-07-19T18:43:06.442Z] e194b8c5c2a9: Pulling fs layer [2023-07-19T18:43:06.442Z] 6863d3e3a2b1: Pulling fs layer [2023-07-19T18:43:06.442Z] ec0bb842ea78: Pulling fs layer [2023-07-19T18:43:06.442Z] 40a00589a448: Pulling fs layer [2023-07-19T18:43:06.442Z] 6c08303d61cc: Pulling fs layer [2023-07-19T18:43:06.442Z] 798269fcf238: Pulling fs layer [2023-07-19T18:43:06.442Z] 6863d3e3a2b1: Waiting [2023-07-19T18:43:06.442Z] ec0bb842ea78: Waiting [2023-07-19T18:43:06.442Z] 40a00589a448: Waiting [2023-07-19T18:43:06.442Z] 6c08303d61cc: Waiting [2023-07-19T18:43:06.442Z] 798269fcf238: Waiting [2023-07-19T18:43:06.442Z] 6911f1a30b25: Download complete [2023-07-19T18:43:06.701Z] 6863d3e3a2b1: Verifying Checksum [2023-07-19T18:43:06.701Z] 6863d3e3a2b1: Download complete [2023-07-19T18:43:06.701Z] ec0bb842ea78: Verifying Checksum [2023-07-19T18:43:06.701Z] ec0bb842ea78: Download complete [2023-07-19T18:43:06.701Z] 4db1b89c0bd1: Verifying Checksum [2023-07-19T18:43:06.701Z] 4db1b89c0bd1: Download complete [2023-07-19T18:43:06.701Z] 40a00589a448: Verifying Checksum [2023-07-19T18:43:06.701Z] 40a00589a448: Download complete [2023-07-19T18:43:06.701Z] 4db1b89c0bd1: Pull complete [2023-07-19T18:43:06.963Z] 6911f1a30b25: Pull complete [2023-07-19T18:43:07.221Z] 798269fcf238: Verifying Checksum [2023-07-19T18:43:07.221Z] 798269fcf238: Download complete [2023-07-19T18:43:07.221Z] e194b8c5c2a9: Download complete [2023-07-19T18:43:07.479Z] 6c08303d61cc: Verifying Checksum [2023-07-19T18:43:07.479Z] 6c08303d61cc: Download complete [2023-07-19T18:43:10.759Z] e194b8c5c2a9: Pull complete [2023-07-19T18:43:10.759Z] 6863d3e3a2b1: Pull complete [2023-07-19T18:43:10.759Z] ec0bb842ea78: Pull complete [2023-07-19T18:43:10.759Z] 40a00589a448: Pull complete [2023-07-19T18:43:12.657Z] 6c08303d61cc: Pull complete [2023-07-19T18:43:13.591Z] 798269fcf238: Pull complete [2023-07-19T18:43:13.591Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-19T18:43:13.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-19T18:43:13.591Z] ---> ec979cd7f677 [2023-07-19T18:43:13.591Z] Step 3/10 : ARG MAKE=make build [2023-07-19T18:43:20.183Z] Still waiting to schedule task [2023-07-19T18:43:20.184Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-19T18:43:21.703Z] ---> Running in 4074089e0527 [2023-07-19T18:43:21.703Z] Removing intermediate container 4074089e0527 [2023-07-19T18:43:21.703Z] ---> ded9fcd56e8e [2023-07-19T18:43:21.703Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T18:43:21.703Z] ---> Running in dc3ecc12384f [2023-07-19T18:43:21.703Z] Removing intermediate container dc3ecc12384f [2023-07-19T18:43:21.703Z] ---> 0d967fe7f430 [2023-07-19T18:43:21.703Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:43:21.962Z] ---> Running in 6a3c1d70d82d [2023-07-19T18:43:21.962Z] Removing intermediate container 6a3c1d70d82d [2023-07-19T18:43:21.962Z] ---> 5bf22aa5a54a [2023-07-19T18:43:21.962Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T18:43:21.962Z] ---> Running in fa03b4afdccd [2023-07-19T18:43:22.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T18:43:22.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:43:22.737Z] OK: 265 MiB in 53 packages [2023-07-19T18:43:22.995Z] Removing intermediate container fa03b4afdccd [2023-07-19T18:43:22.995Z] ---> b2bb54f4ee24 [2023-07-19T18:43:22.995Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T18:43:22.995Z] ---> 85ddc92d147c [2023-07-19T18:43:22.995Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:43:23.256Z] ---> Running in e3ce07318134 [2023-07-19T18:44:09.942Z] Removing intermediate container e3ce07318134 [2023-07-19T18:44:09.942Z] ---> d82265b8e91c [2023-07-19T18:44:09.942Z] Step 9/10 : COPY . . [2023-07-19T18:44:09.942Z] ---> 155a26487b27 [2023-07-19T18:44:09.942Z] Step 10/10 : RUN ${MAKE} [2023-07-19T18:44:09.942Z] ---> Running in 62809868ff81 [2023-07-19T18:44:09.942Z] noop [2023-07-19T18:44:09.942Z] Removing intermediate container 62809868ff81 [2023-07-19T18:44:09.942Z] ---> e50da1c10e1b [2023-07-19T18:44:09.942Z] Successfully built e50da1c10e1b [2023-07-19T18:44:09.942Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:44:10.252Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T18:44:10.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:44:10.318Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2023-07-19T18:44:10.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-19T18:44:10.672Z] $ docker top 718d3d260f62cdd6ba0997a594239040d7658067b6d8b757bb621f4bf50fd8bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:44:11.019Z] + go version [2023-07-19T18:44:11.019Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-19T18:44:11.033Z] $ docker stop --time=1 718d3d260f62cdd6ba0997a594239040d7658067b6d8b757bb621f4bf50fd8bb [2023-07-19T18:44:12.286Z] $ docker rm -f --volumes 718d3d260f62cdd6ba0997a594239040d7658067b6d8b757bb621f4bf50fd8bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:44:12.694Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T18:44:12.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:44:12.763Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2023-07-19T18:44:12.798Z] $ 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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-19T18:44:13.129Z] $ docker top b72504acbb08a2a384a06ee963c6ae6f8b4269c3fa6b538d806cb96ce21ebaf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:44:13.462Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1475 [Pipeline] fileExists [Pipeline] sh [2023-07-19T18:44:13.755Z] + make test [2023-07-19T18:44:13.755Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T18:44:20.317Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T18:44:32.510Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T18:44:32.510Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T18:44:32.510Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T18:44:32.510Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T18:44:32.510Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T18:44:33.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.082s coverage: 27.6% of statements [2023-07-19T18:44:33.444Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T18:44:33.444Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T18:44:33.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements [2023-07-19T18:44:33.701Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-07-19T18:44:33.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T18:44:34.223Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.083s coverage: 70.6% of statements [2023-07-19T18:44:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-19T18:44:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T18:44:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T18:44:35.050Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T18:44:37.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.3% of statements [2023-07-19T18:44:37.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements [2023-07-19T18:44:37.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.117s coverage: 89.2% of statements [2023-07-19T18:44:37.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.6% of statements [2023-07-19T18:44:55.647Z] GO111MODULE=on go vet ./... [2023-07-19T18:44:59.837Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T18:44:59.837Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T18:44:59.837Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T18:44:59.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T18:44:59.864Z] $ docker stop --time=1 b72504acbb08a2a384a06ee963c6ae6f8b4269c3fa6b538d806cb96ce21ebaf6 [2023-07-19T18:45:05.710Z] $ docker rm -f --volumes b72504acbb08a2a384a06ee963c6ae6f8b4269c3fa6b538d806cb96ce21ebaf6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:45:06.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T18:45:06.279Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-19T18:45:06.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T18:45:06.999Z] + ls -al . [2023-07-19T18:45:06.999Z] total 284 [2023-07-19T18:45:06.999Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 18:44 . [2023-07-19T18:45:06.999Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:42 .. [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:42 .dockerignore [2023-07-19T18:45:06.999Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:43 .git [2023-07-19T18:45:06.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:42 .github [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 18:42 .gitignore [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:42 .golangci.yml [2023-07-19T18:45:06.999Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:43 .semver [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 18:42 CHANGELOG.md [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 18:42 GOVERNANCE.md [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 18:42 Jenkinsfile [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 18:42 LICENSE [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 18:42 Makefile [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 18:42 OWNERS.md [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 18:42 README.md [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 18:43 VERSION [2023-07-19T18:45:06.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:42 bin [2023-07-19T18:45:06.999Z] -rw-r--r-- 1 jenkins jenkins 104932 Jul 19 18:44 coverage.out [2023-07-19T18:45:06.999Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 18:42 example [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 18:42 go.mod [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 18:42 go.sum [2023-07-19T18:45:06.999Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:42 internal [2023-07-19T18:45:06.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:42 openapi [2023-07-19T18:45:06.999Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 18:42 pkg [2023-07-19T18:45:06.999Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:42 snap [2023-07-19T18:45:06.999Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:45:07.422Z] + 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=0a975aeae5b7990f59e544da2ee2fdded13f22bb --label arch=amd64 --label version=0.0.0 . [2023-07-19T18:45:07.422Z] Sending build context to Docker daemon 11.05MB [2023-07-19T18:45:07.422Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:45:07.422Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T18:45:07.422Z] ---> e50da1c10e1b [2023-07-19T18:45:07.422Z] Step 3/23 : ARG MAKE=make build [2023-07-19T18:45:07.681Z] ---> Running in da0e1715b09c [2023-07-19T18:45:07.681Z] Removing intermediate container da0e1715b09c [2023-07-19T18:45:07.681Z] ---> c684fc6d4056 [2023-07-19T18:45:07.681Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T18:45:07.940Z] ---> Running in 988f96a383a2 [2023-07-19T18:45:07.941Z] Removing intermediate container 988f96a383a2 [2023-07-19T18:45:07.941Z] ---> e1069d6b10c0 [2023-07-19T18:45:07.941Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:45:07.941Z] ---> Running in 824c86140075 [2023-07-19T18:45:07.941Z] Removing intermediate container 824c86140075 [2023-07-19T18:45:07.941Z] ---> 869296d6b360 [2023-07-19T18:45:07.941Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T18:45:07.941Z] ---> Running in 01fb4c22750d [2023-07-19T18:45:08.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T18:45:08.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:45:08.721Z] OK: 265 MiB in 53 packages [2023-07-19T18:45:09.287Z] Removing intermediate container 01fb4c22750d [2023-07-19T18:45:09.287Z] ---> b03b60c66cff [2023-07-19T18:45:09.287Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T18:45:09.287Z] ---> 6259605b36eb [2023-07-19T18:45:09.287Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:45:09.287Z] ---> Running in 7a2610209d9f [2023-07-19T18:45:09.852Z] Removing intermediate container 7a2610209d9f [2023-07-19T18:45:09.852Z] ---> 433c98e88d3a [2023-07-19T18:45:09.852Z] Step 9/23 : COPY . . [2023-07-19T18:45:10.788Z] ---> 01083aebf886 [2023-07-19T18:45:10.788Z] Step 10/23 : RUN ${MAKE} [2023-07-19T18:45:10.788Z] ---> Running in 3006ff4551a9 [2023-07-19T18:45:10.788Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-19T18:45:32.722Z] Removing intermediate container 3006ff4551a9 [2023-07-19T18:45:32.722Z] ---> 906810edec84 [2023-07-19T18:45:32.722Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T18:45:32.722Z] 3.17: Pulling from library/alpine [2023-07-19T18:45:32.722Z] 4db1b89c0bd1: Already exists [2023-07-19T18:45:32.722Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T18:45:32.722Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T18:45:32.722Z] ---> 1f73a9d63274 [2023-07-19T18:45:32.722Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T18:45:32.722Z] ---> Running in e009ee41a238 [2023-07-19T18:45:32.981Z] Removing intermediate container e009ee41a238 [2023-07-19T18:45:32.981Z] ---> 1203dd511f24 [2023-07-19T18:45:32.981Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T18:45:32.981Z] ---> Running in 325114a490f4 [2023-07-19T18:45:33.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T18:45:33.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:45:33.757Z] OK: 7 MiB in 15 packages [2023-07-19T18:45:34.015Z] Removing intermediate container 325114a490f4 [2023-07-19T18:45:34.015Z] ---> 67b4c5d89b7a [2023-07-19T18:45:34.015Z] Step 14/23 : WORKDIR / [2023-07-19T18:45:34.015Z] ---> Running in dd6172598981 [2023-07-19T18:45:34.015Z] Removing intermediate container dd6172598981 [2023-07-19T18:45:34.015Z] ---> b40e296ff296 [2023-07-19T18:45:34.015Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T18:45:34.273Z] ---> 3c25e5b36cfc [2023-07-19T18:45:34.273Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T18:45:35.207Z] ---> 7f70eb68e0cc [2023-07-19T18:45:35.207Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T18:45:35.464Z] ---> d9272ec40ef2 [2023-07-19T18:45:35.464Z] Step 18/23 : EXPOSE 59999 [2023-07-19T18:45:35.464Z] ---> Running in 555149cf65b7 [2023-07-19T18:45:35.464Z] Removing intermediate container 555149cf65b7 [2023-07-19T18:45:35.464Z] ---> 1c7e0beac436 [2023-07-19T18:45:35.464Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T18:45:35.464Z] ---> Running in 6749dd84c95f [2023-07-19T18:45:35.464Z] Removing intermediate container 6749dd84c95f [2023-07-19T18:45:35.464Z] ---> bd6346f7ae98 [2023-07-19T18:45:35.464Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T18:45:35.722Z] ---> Running in d0a61bfd5cef [2023-07-19T18:45:35.722Z] Removing intermediate container d0a61bfd5cef [2023-07-19T18:45:35.722Z] ---> f860e357ea87 [2023-07-19T18:45:35.722Z] Step 21/23 : LABEL arch=amd64 [2023-07-19T18:45:35.722Z] ---> Running in 71b04e8b9483 [2023-07-19T18:45:35.722Z] Removing intermediate container 71b04e8b9483 [2023-07-19T18:45:35.722Z] ---> 0db0c1cc9f7b [2023-07-19T18:45:35.722Z] Step 22/23 : LABEL git_sha=0a975aeae5b7990f59e544da2ee2fdded13f22bb [2023-07-19T18:45:35.722Z] ---> Running in 31c50ea1fb44 [2023-07-19T18:45:35.722Z] Removing intermediate container 31c50ea1fb44 [2023-07-19T18:45:35.722Z] ---> 0c3873edc39a [2023-07-19T18:45:35.722Z] Step 23/23 : LABEL version=0.0.0 [2023-07-19T18:45:35.982Z] ---> Running in 4a420347db0c [2023-07-19T18:45:35.982Z] Removing intermediate container 4a420347db0c [2023-07-19T18:45:35.982Z] ---> b19c5c13f816 [2023-07-19T18:45:35.982Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T18:45:35.982Z] Successfully built b19c5c13f816 [2023-07-19T18:45:35.982Z] 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-07-19T18:45:36.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:45:36.433Z] [2023-07-19T18:45:36.433Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:45:36.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:45:36.732Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-19T18:45:36.732Z] 5eb5b503b376: Pulling fs layer [2023-07-19T18:45:36.732Z] 5c69ac0246d0: Pulling fs layer [2023-07-19T18:45:36.732Z] ec43610c2a17: Pulling fs layer [2023-07-19T18:45:36.732Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-19T18:45:36.732Z] 33b1e0a273af: Pulling fs layer [2023-07-19T18:45:36.732Z] 5d3b04190fa2: Pulling fs layer [2023-07-19T18:45:36.732Z] 2f39f015ded8: Pulling fs layer [2023-07-19T18:45:36.732Z] 3a2ae6a8a46f: Waiting [2023-07-19T18:45:36.732Z] 33b1e0a273af: Waiting [2023-07-19T18:45:36.732Z] 5d3b04190fa2: Waiting [2023-07-19T18:45:36.732Z] 2f39f015ded8: Waiting [2023-07-19T18:45:36.732Z] 5c69ac0246d0: Download complete [2023-07-19T18:45:36.732Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-19T18:45:36.732Z] 3a2ae6a8a46f: Download complete [2023-07-19T18:45:36.732Z] 33b1e0a273af: Verifying Checksum [2023-07-19T18:45:36.732Z] 33b1e0a273af: Download complete [2023-07-19T18:45:36.732Z] 5d3b04190fa2: Verifying Checksum [2023-07-19T18:45:36.732Z] 5d3b04190fa2: Download complete [2023-07-19T18:45:36.732Z] ec43610c2a17: Download complete [2023-07-19T18:45:36.990Z] 5eb5b503b376: Verifying Checksum [2023-07-19T18:45:36.990Z] 5eb5b503b376: Download complete [2023-07-19T18:45:37.561Z] 2f39f015ded8: Download complete [2023-07-19T18:45:38.129Z] 5eb5b503b376: Pull complete [2023-07-19T18:45:38.388Z] 5c69ac0246d0: Pull complete [2023-07-19T18:45:38.645Z] ec43610c2a17: Pull complete [2023-07-19T18:45:38.645Z] 3a2ae6a8a46f: Pull complete [2023-07-19T18:45:38.903Z] 33b1e0a273af: Pull complete [2023-07-19T18:45:38.903Z] 5d3b04190fa2: Pull complete [2023-07-19T18:45:48.047Z] 2f39f015ded8: Pull complete [2023-07-19T18:45:48.047Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-19T18:45:48.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:45:48.047Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:45:48.192Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2023-07-19T18:45:48.222Z] $ 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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-19T18:45:55.986Z] $ docker top 98309c1a5e542d521f87b2a59b107bfec2dcc833b4e474d93cbdf4a3075e6431 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:45:56.351Z] ---> job-cost.sh [2023-07-19T18:45:56.351Z] lf-activate-venv: SKIPPING [2023-07-19T18:45:56.351Z] INFO: No Stack... [2023-07-19T18:45:56.611Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T18:45:56.869Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T18:45:57.050Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1567 in /w/workspace/gexfoundry_device-sdk-go_PR-1475 [Pipeline] { [Pipeline] ws [2023-07-19T18:45:57.064Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-07-19T18:45:57.103Z] The recommended git tool is: git [2023-07-19T18:45:57.158Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/cost.csv [2023-07-19T18:45:57.158Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T18:45:57.171Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1475-4-stack-cost] [2023-07-19T18:45:57.181Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-4-stack-cost] did not exist. Created. [2023-07-19T18:45:57.181Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1475-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T18:45:57.489Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-19T18:45:57.521Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T18:45:57.529Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T18:45:57.551Z] $ docker stop --time=1 98309c1a5e542d521f87b2a59b107bfec2dcc833b4e474d93cbdf4a3075e6431 [2023-07-19T18:45:58.686Z] $ docker rm -f --volumes 98309c1a5e542d521f87b2a59b107bfec2dcc833b4e474d93cbdf4a3075e6431 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-19T18:46:02.836Z] using credential edgex-jenkins-ssh [2023-07-19T18:46:02.853Z] Cloning the remote Git repository [2023-07-19T18:46:02.898Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T18:46:03.004Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-07-19T18:46:03.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T18:46:03.165Z] > git --version # timeout=10 [2023-07-19T18:46:03.194Z] > git --version # 'git version 2.25.1' [2023-07-19T18:46:03.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T18:46:03.357Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T18:46:04.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-19T18:46:04.983Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T18:46:05.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-19T18:46:05.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T18:46:05.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T18:46:05.900Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1475/head:refs/remotes/origin/PR-1475 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-19T18:46:06.524Z] Merging remotes/origin/main commit d74039b1e75348ec690936aee1c1bcbaac678fee into PR head commit 0788bfb21fb273ad7b45151f543634661d4fb024 [2023-07-19T18:46:06.939Z] Merge succeeded, producing 862aa1b5961df12d1d664446c1a87082cc23647a [2023-07-19T18:46:06.939Z] Checking out Revision 862aa1b5961df12d1d664446c1a87082cc23647a (PR-1475) [2023-07-19T18:46:06.537Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T18:46:06.625Z] > git checkout -f 0788bfb21fb273ad7b45151f543634661d4fb024 # timeout=10 [2023-07-19T18:46:06.737Z] > git remote # timeout=10 [2023-07-19T18:46:06.761Z] > git config --get remote.origin.url # timeout=10 [2023-07-19T18:46:06.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T18:46:06.802Z] > git merge d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 [2023-07-19T18:46:06.920Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-19T18:46:06.942Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T18:46:06.957Z] > git checkout -f 862aa1b5961df12d1d664446c1a87082cc23647a # timeout=10 [2023-07-19T18:46:10.491Z] Commit message: "Merge commit 'd74039b1e75348ec690936aee1c1bcbaac678fee' into HEAD" [2023-07-19T18:46:10.513Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:46:11.312Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-19T18:46:11.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T18:46:11.312Z] Dload Upload Total Spent Left Speed [2023-07-19T18:46:11.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh [2023-07-19T18:46:11.972Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-19T18:46:10.495Z] > git rev-list --no-walk 512ba7d6fbcfbedd7e243df7a60f1bc082c79fd3 # timeout=10 [2023-07-19T18:46:12.299Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-19T18:46:12.299Z] + sudo tee /etc/docker/daemon.new [2023-07-19T18:46:12.299Z] { [2023-07-19T18:46:12.299Z] "registry-mirrors": [ [2023-07-19T18:46:12.299Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-19T18:46:12.299Z] ], [2023-07-19T18:46:12.299Z] "bip": "10.250.0.254/24", [2023-07-19T18:46:12.299Z] "hosts": [ [2023-07-19T18:46:12.299Z] "tcp://0.0.0.0:5555", [2023-07-19T18:46:12.299Z] "unix:///var/run/docker.sock" [2023-07-19T18:46:12.299Z] ], [2023-07-19T18:46:12.299Z] "mtu": 1458, [2023-07-19T18:46:12.299Z] "selinux-enabled": true, [2023-07-19T18:46:12.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-19T18:46:12.299Z] } [Pipeline] sh [2023-07-19T18:46:12.630Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-19T18:46:12.970Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:46:31.222Z] provisioning config files... [2023-07-19T18:46:31.246Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config12432990206650107157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:46:31.597Z] ---> docker-login.sh [2023-07-19T18:46:31.597Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:46:31.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:46:32.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:46:32.457Z] Configure a credential helper to remove this warning. See [2023-07-19T18:46:32.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:46:32.457Z] [2023-07-19T18:46:32.457Z] Login Succeeded [2023-07-19T18:46:32.457Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:46:32.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:46:32.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:46:32.727Z] Configure a credential helper to remove this warning. See [2023-07-19T18:46:32.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:46:32.727Z] [2023-07-19T18:46:32.727Z] Login Succeeded [2023-07-19T18:46:32.727Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:46:32.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:46:32.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:46:32.999Z] Configure a credential helper to remove this warning. See [2023-07-19T18:46:32.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:46:32.999Z] [2023-07-19T18:46:32.999Z] Login Succeeded [2023-07-19T18:46:32.999Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:46:33.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:46:33.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:46:33.267Z] Configure a credential helper to remove this warning. See [2023-07-19T18:46:33.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:46:33.267Z] [2023-07-19T18:46:33.267Z] Login Succeeded [2023-07-19T18:46:33.267Z] docker.io [2023-07-19T18:46:33.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:46:33.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:46:33.812Z] Configure a credential helper to remove this warning. See [2023-07-19T18:46:33.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:46:33.812Z] [2023-07-19T18:46:33.812Z] Login Succeeded [2023-07-19T18:46:33.812Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:46:33.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T18:46:34.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:46:34.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:46:34.151Z] ========================================================= [2023-07-19T18:46:34.151Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-19T18:46:34.151Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:46:34.506Z] + 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-07-19T18:46:34.791Z] Sending build context to Docker daemon 5.841MB [2023-07-19T18:46:34.791Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:46:34.791Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T18:46:35.070Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-19T18:46:35.070Z] edb6bdbacee9: Pulling fs layer [2023-07-19T18:46:35.070Z] 5f9638ab2659: Pulling fs layer [2023-07-19T18:46:35.070Z] 8d51d6327a98: Pulling fs layer [2023-07-19T18:46:35.070Z] 8b374f2dd631: Pulling fs layer [2023-07-19T18:46:35.070Z] ec14aa9079de: Pulling fs layer [2023-07-19T18:46:35.070Z] 2f466654f4bb: Pulling fs layer [2023-07-19T18:46:35.070Z] 554e91adad29: Pulling fs layer [2023-07-19T18:46:35.070Z] ec14aa9079de: Waiting [2023-07-19T18:46:35.070Z] 2f466654f4bb: Waiting [2023-07-19T18:46:35.070Z] 554e91adad29: Waiting [2023-07-19T18:46:35.070Z] 8b374f2dd631: Waiting [2023-07-19T18:46:35.070Z] 5f9638ab2659: Verifying Checksum [2023-07-19T18:46:35.070Z] 5f9638ab2659: Download complete [2023-07-19T18:46:35.070Z] 8b374f2dd631: Verifying Checksum [2023-07-19T18:46:35.070Z] 8b374f2dd631: Download complete [2023-07-19T18:46:35.070Z] ec14aa9079de: Verifying Checksum [2023-07-19T18:46:35.070Z] ec14aa9079de: Download complete [2023-07-19T18:46:35.070Z] edb6bdbacee9: Verifying Checksum [2023-07-19T18:46:35.070Z] edb6bdbacee9: Download complete [2023-07-19T18:46:36.045Z] edb6bdbacee9: Pull complete [2023-07-19T18:46:36.635Z] 554e91adad29: Verifying Checksum [2023-07-19T18:46:36.635Z] 554e91adad29: Download complete [2023-07-19T18:46:36.906Z] 5f9638ab2659: Pull complete [2023-07-19T18:46:37.877Z] 8d51d6327a98: Verifying Checksum [2023-07-19T18:46:37.877Z] 8d51d6327a98: Download complete [2023-07-19T18:46:37.877Z] 2f466654f4bb: Verifying Checksum [2023-07-19T18:46:37.877Z] 2f466654f4bb: Download complete [2023-07-19T18:46:50.228Z] 8d51d6327a98: Pull complete [2023-07-19T18:46:50.228Z] 8b374f2dd631: Pull complete [2023-07-19T18:46:50.228Z] ec14aa9079de: Pull complete [2023-07-19T18:46:56.888Z] 2f466654f4bb: Pull complete [2023-07-19T18:46:58.856Z] 554e91adad29: Pull complete [2023-07-19T18:46:58.856Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-19T18:46:58.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-19T18:46:58.856Z] ---> 1e15ea492957 [2023-07-19T18:46:58.856Z] Step 3/10 : ARG MAKE=make build [2023-07-19T18:47:00.824Z] ---> Running in 902cc7ba81fe [2023-07-19T18:47:00.824Z] Removing intermediate container 902cc7ba81fe [2023-07-19T18:47:00.824Z] ---> 8c376a3e3413 [2023-07-19T18:47:00.824Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T18:47:00.824Z] ---> Running in ba08b5014147 [2023-07-19T18:47:01.096Z] Removing intermediate container ba08b5014147 [2023-07-19T18:47:01.096Z] ---> 4e043daa3d09 [2023-07-19T18:47:01.096Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:47:01.363Z] ---> Running in 476c7a13ef89 [2023-07-19T18:47:01.633Z] Removing intermediate container 476c7a13ef89 [2023-07-19T18:47:01.633Z] ---> 24938984c8ca [2023-07-19T18:47:01.633Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T18:47:01.633Z] ---> Running in 189c3e8edc0d [2023-07-19T18:47:03.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:47:03.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:47:04.735Z] OK: 263 MiB in 53 packages [2023-07-19T18:47:05.323Z] Removing intermediate container 189c3e8edc0d [2023-07-19T18:47:05.323Z] ---> a9c7ef391be9 [2023-07-19T18:47:05.323Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T18:47:05.925Z] ---> 30c3982511eb [2023-07-19T18:47:05.925Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:47:05.925Z] ---> Running in 2a9da770b5a6 [2023-07-19T18:48:13.862Z] Removing intermediate container 2a9da770b5a6 [2023-07-19T18:48:13.862Z] ---> caeca7b269cd [2023-07-19T18:48:13.862Z] Step 9/10 : COPY . . [2023-07-19T18:48:13.862Z] ---> 68383f7c9b8c [2023-07-19T18:48:13.862Z] Step 10/10 : RUN ${MAKE} [2023-07-19T18:48:13.862Z] ---> Running in 807f5aa28db0 [2023-07-19T18:48:14.131Z] noop [2023-07-19T18:48:15.100Z] Removing intermediate container 807f5aa28db0 [2023-07-19T18:48:15.100Z] ---> 6c9853f61ff2 [2023-07-19T18:48:15.100Z] Successfully built 6c9853f61ff2 [2023-07-19T18:48:15.100Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:48:15.441Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T18:48:15.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:48:15.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-1567 does not seem to be running inside a container [2023-07-19T18:48:15.727Z] $ 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 ******** ci-base-image-arm64 cat [2023-07-19T18:48:18.265Z] $ docker top ff9acf07a055377536ba76a0039624504ac95ea45f178feb3b70b7c3f7c0b4c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:48:19.097Z] + go version [2023-07-19T18:48:19.097Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-19T18:48:19.116Z] $ docker stop --time=1 ff9acf07a055377536ba76a0039624504ac95ea45f178feb3b70b7c3f7c0b4c9 [2023-07-19T18:48:20.768Z] $ docker rm -f --volumes ff9acf07a055377536ba76a0039624504ac95ea45f178feb3b70b7c3f7c0b4c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:48:21.344Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T18:48:21.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:48:21.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-1567 does not seem to be running inside a container [2023-07-19T18:48:21.612Z] $ 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 ******** ci-base-image-arm64 cat [2023-07-19T18:48:22.859Z] $ docker top c87d21b6240bdd918710a4dc8ae9ba5745a8f1ce7bd53d5890951009129cc595 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:48:23.699Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-07-19T18:48:24.033Z] + make test [2023-07-19T18:48:24.302Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T18:49:11.178Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T18:51:32.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T18:51:32.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T18:51:32.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T18:51:32.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T18:51:32.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T18:51:43.013Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.229s coverage: 27.6% of statements [2023-07-19T18:51:48.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.269s coverage: 80.2% of statements [2023-07-19T18:52:03.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T18:52:03.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T18:52:03.343Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.320s coverage: 86.0% of statements [2023-07-19T18:52:07.603Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T18:52:07.603Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.389s coverage: 70.6% of statements [2023-07-19T18:52:11.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-19T18:52:13.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T18:52:13.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T18:52:14.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.273s coverage: 14.3% of statements [2023-07-19T18:52:14.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.468s coverage: 68.5% of statements [2023-07-19T18:52:18.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.457s coverage: 89.2% of statements [2023-07-19T18:52:19.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T18:52:19.294Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.6% of statements [2023-07-19T18:52:20.254Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-19T18:52:20.254Z] GO111MODULE=on go vet ./... [2023-07-19T18:54:56.993Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T18:54:56.993Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T18:54:56.993Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T18:54:57.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T18:54:57.016Z] $ docker stop --time=1 c87d21b6240bdd918710a4dc8ae9ba5745a8f1ce7bd53d5890951009129cc595 [2023-07-19T18:54:58.904Z] $ docker rm -f --volumes c87d21b6240bdd918710a4dc8ae9ba5745a8f1ce7bd53d5890951009129cc595 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:55:00.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T18:55:00.603Z] Warning: overwriting stash ‘coverage-report’ [2023-07-19T18:55:01.181Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:55:01.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T18:55:01.883Z] + ls -al . [2023-07-19T18:55:01.883Z] total 280 [2023-07-19T18:55:01.883Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 18:48 . [2023-07-19T18:55:01.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:46 .. [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:46 .dockerignore [2023-07-19T18:55:01.883Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:46 .git [2023-07-19T18:55:01.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:46 .github [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 18:46 .gitignore [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:46 .golangci.yml [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 18:46 CHANGELOG.md [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 18:46 GOVERNANCE.md [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 18:46 Jenkinsfile [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 18:46 LICENSE [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 18:46 Makefile [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 18:46 OWNERS.md [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 18:46 README.md [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 18:43 VERSION [2023-07-19T18:55:01.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:46 bin [2023-07-19T18:55:01.883Z] -rw-r--r-- 1 jenkins jenkins 104932 Jul 19 18:52 coverage.out [2023-07-19T18:55:01.883Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 18:46 example [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 18:46 go.mod [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 18:46 go.sum [2023-07-19T18:55:01.883Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:46 internal [2023-07-19T18:55:01.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:46 openapi [2023-07-19T18:55:01.883Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 18:46 pkg [2023-07-19T18:55:01.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:46 snap [2023-07-19T18:55:01.883Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:55:02.216Z] + 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=862aa1b5961df12d1d664446c1a87082cc23647a --label arch=arm64 --label version=0.0.0 . [2023-07-19T18:55:02.482Z] Sending build context to Docker daemon 5.947MB [2023-07-19T18:55:02.482Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:55:02.482Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T18:55:02.482Z] ---> 6c9853f61ff2 [2023-07-19T18:55:02.482Z] Step 3/23 : ARG MAKE=make build [2023-07-19T18:55:02.751Z] ---> Running in 4ac326d44f23 [2023-07-19T18:55:03.017Z] Removing intermediate container 4ac326d44f23 [2023-07-19T18:55:03.017Z] ---> 0724cbffd43c [2023-07-19T18:55:03.017Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T18:55:03.017Z] ---> Running in 70efad102cf1 [2023-07-19T18:55:03.284Z] Removing intermediate container 70efad102cf1 [2023-07-19T18:55:03.284Z] ---> 3caa2d7eb24d [2023-07-19T18:55:03.284Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:55:03.553Z] ---> Running in 8115f20e8c43 [2023-07-19T18:55:03.819Z] Removing intermediate container 8115f20e8c43 [2023-07-19T18:55:03.819Z] ---> cb1988a933b5 [2023-07-19T18:55:03.819Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T18:55:03.819Z] ---> Running in 7fda28d804f1 [2023-07-19T18:55:04.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:55:05.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:55:06.327Z] OK: 263 MiB in 53 packages [2023-07-19T18:55:07.285Z] Removing intermediate container 7fda28d804f1 [2023-07-19T18:55:07.285Z] ---> 71be026a075f [2023-07-19T18:55:07.285Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T18:55:07.555Z] ---> eeab7eb7cf4a [2023-07-19T18:55:07.555Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:55:07.821Z] ---> Running in d61d42268777 [2023-07-19T18:55:09.765Z] Removing intermediate container d61d42268777 [2023-07-19T18:55:09.765Z] ---> 16f4fc284221 [2023-07-19T18:55:09.765Z] Step 9/23 : COPY . . [2023-07-19T18:55:11.173Z] ---> dfa6f204cde7 [2023-07-19T18:55:11.173Z] Step 10/23 : RUN ${MAKE} [2023-07-19T18:55:11.173Z] ---> Running in 0e997a95911a [2023-07-19T18:55:12.138Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-19T18:57:33.811Z] Removing intermediate container 0e997a95911a [2023-07-19T18:57:33.811Z] ---> e463db45dfdd [2023-07-19T18:57:33.811Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T18:57:33.811Z] 3.17: Pulling from library/alpine [2023-07-19T18:57:33.811Z] edb6bdbacee9: Already exists [2023-07-19T18:57:33.811Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T18:57:33.811Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T18:57:33.811Z] ---> 779605e5fbc0 [2023-07-19T18:57:33.811Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T18:57:33.811Z] ---> Running in 39ce693bd0fb [2023-07-19T18:57:33.811Z] Removing intermediate container 39ce693bd0fb [2023-07-19T18:57:33.811Z] ---> e4ab14ec2caf [2023-07-19T18:57:33.811Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T18:57:33.811Z] ---> Running in 482df2a062ec [2023-07-19T18:57:33.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:57:33.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:57:33.811Z] OK: 7 MiB in 15 packages [2023-07-19T18:57:33.811Z] Removing intermediate container 482df2a062ec [2023-07-19T18:57:33.811Z] ---> e21d2dcdbfe7 [2023-07-19T18:57:33.811Z] Step 14/23 : WORKDIR / [2023-07-19T18:57:33.811Z] ---> Running in 39f2b50757e3 [2023-07-19T18:57:33.811Z] Removing intermediate container 39f2b50757e3 [2023-07-19T18:57:33.811Z] ---> d75f003929c2 [2023-07-19T18:57:33.811Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T18:57:33.811Z] ---> 62931ac33b87 [2023-07-19T18:57:33.811Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T18:57:34.396Z] ---> 5d2b3dad9754 [2023-07-19T18:57:34.396Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T18:57:34.979Z] ---> a6644877d8fd [2023-07-19T18:57:34.979Z] Step 18/23 : EXPOSE 59999 [2023-07-19T18:57:34.979Z] ---> Running in 2e90b429fd27 [2023-07-19T18:57:35.245Z] Removing intermediate container 2e90b429fd27 [2023-07-19T18:57:35.245Z] ---> 748e05626365 [2023-07-19T18:57:35.245Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T18:57:35.245Z] ---> Running in a7598ee9ee84 [2023-07-19T18:57:35.513Z] Removing intermediate container a7598ee9ee84 [2023-07-19T18:57:35.513Z] ---> d58b3b2c700c [2023-07-19T18:57:35.513Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T18:57:35.780Z] ---> Running in edbb95085a87 [2023-07-19T18:57:36.045Z] Removing intermediate container edbb95085a87 [2023-07-19T18:57:36.045Z] ---> 740591913702 [2023-07-19T18:57:36.045Z] Step 21/23 : LABEL arch=arm64 [2023-07-19T18:57:36.045Z] ---> Running in 69fdcfad4be2 [2023-07-19T18:57:36.311Z] Removing intermediate container 69fdcfad4be2 [2023-07-19T18:57:36.311Z] ---> b0cffc28d375 [2023-07-19T18:57:36.311Z] Step 22/23 : LABEL git_sha=862aa1b5961df12d1d664446c1a87082cc23647a [2023-07-19T18:57:36.311Z] ---> Running in e68643734fa2 [2023-07-19T18:57:36.579Z] Removing intermediate container e68643734fa2 [2023-07-19T18:57:36.579Z] ---> 3949ddb3774c [2023-07-19T18:57:36.579Z] Step 23/23 : LABEL version=0.0.0 [2023-07-19T18:57:36.579Z] ---> Running in e94b6d4a1f98 [2023-07-19T18:57:36.845Z] Removing intermediate container e94b6d4a1f98 [2023-07-19T18:57:36.845Z] ---> ac3e3f295556 [2023-07-19T18:57:36.845Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T18:57:37.111Z] Successfully built ac3e3f295556 [2023-07-19T18:57:37.111Z] 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-07-19T18:57:37.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:57:37.538Z] [2023-07-19T18:57:37.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:57:37.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:57:37.869Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-19T18:57:37.869Z] 8998bd30e6a1: Pulling fs layer [2023-07-19T18:57:37.869Z] 04944245beec: Pulling fs layer [2023-07-19T18:57:37.869Z] 699f458cf7ca: Pulling fs layer [2023-07-19T18:57:37.869Z] 765212b225bb: Pulling fs layer [2023-07-19T18:57:37.869Z] f23df028b6ca: Pulling fs layer [2023-07-19T18:57:37.869Z] d65c8cfc05b1: Pulling fs layer [2023-07-19T18:57:37.869Z] 2437ff75d9bd: Pulling fs layer [2023-07-19T18:57:37.869Z] f23df028b6ca: Waiting [2023-07-19T18:57:37.869Z] d65c8cfc05b1: Waiting [2023-07-19T18:57:37.869Z] 2437ff75d9bd: Waiting [2023-07-19T18:57:37.869Z] 765212b225bb: Waiting [2023-07-19T18:57:38.136Z] 04944245beec: Verifying Checksum [2023-07-19T18:57:38.136Z] 04944245beec: Download complete [2023-07-19T18:57:38.136Z] 765212b225bb: Verifying Checksum [2023-07-19T18:57:38.136Z] 765212b225bb: Download complete [2023-07-19T18:57:38.136Z] f23df028b6ca: Verifying Checksum [2023-07-19T18:57:38.136Z] f23df028b6ca: Download complete [2023-07-19T18:57:38.136Z] d65c8cfc05b1: Verifying Checksum [2023-07-19T18:57:38.136Z] d65c8cfc05b1: Download complete [2023-07-19T18:57:38.136Z] 699f458cf7ca: Verifying Checksum [2023-07-19T18:57:38.136Z] 699f458cf7ca: Download complete [2023-07-19T18:57:38.718Z] 8998bd30e6a1: Verifying Checksum [2023-07-19T18:57:38.718Z] 8998bd30e6a1: Download complete [2023-07-19T18:57:41.324Z] 2437ff75d9bd: Verifying Checksum [2023-07-19T18:57:41.324Z] 2437ff75d9bd: Download complete [2023-07-19T18:57:42.736Z] 8998bd30e6a1: Pull complete [2023-07-19T18:57:43.004Z] 04944245beec: Pull complete [2023-07-19T18:57:46.344Z] 699f458cf7ca: Pull complete [2023-07-19T18:57:46.344Z] 765212b225bb: Pull complete [2023-07-19T18:57:46.929Z] f23df028b6ca: Pull complete [2023-07-19T18:57:47.197Z] d65c8cfc05b1: Pull complete [2023-07-19T18:58:02.189Z] 2437ff75d9bd: Pull complete [2023-07-19T18:58:02.189Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-19T18:58:02.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:58:02.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:58:02.393Z] prd-ubuntu20.04-docker-arm64-4c-16g-1567 does not seem to be running inside a container [2023-07-19T18:58:02.437Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-19T18:58:05.055Z] $ docker top a35cc295418bbb3e1de98ba91b7ce7ed5ff367031a1ad05bfe3b40a619bf0a44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:58:05.592Z] ---> job-cost.sh [2023-07-19T18:58:05.857Z] lf-activate-venv: SKIPPING [2023-07-19T18:58:05.857Z] INFO: No Stack... [2023-07-19T18:58:06.435Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-19T18:58:07.013Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T18:58:07.331Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-07-19T18:58:07.331Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T18:58:07.656Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1475-4-stack-cost] [2023-07-19T18:58:07.663Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-4-stack-cost] did not exist. Created. [2023-07-19T18:58:07.663Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1475-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T18:58:07.994Z] /w/workspace/device-sdk-go/4@tmp/durable-b9057d67/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-19T18:58:08.324Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-19T18:58:08.347Z] Warning: overwriting stash ‘stack-cost’ [2023-07-19T18:58:08.423Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T18:58:08.431Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T18:58:08.436Z] $ docker stop --time=1 a35cc295418bbb3e1de98ba91b7ce7ed5ff367031a1ad05bfe3b40a619bf0a44 [2023-07-19T18:58:09.939Z] $ docker rm -f --volumes a35cc295418bbb3e1de98ba91b7ce7ed5ff367031a1ad05bfe3b40a619bf0a44 [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-07-19T18:58:10.340Z] provisioning config files... [2023-07-19T18:58:10.347Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config434816258248483819tmp [Pipeline] { [Pipeline] sh [2023-07-19T18:58:10.635Z] + set +x [2023-07-19T18:58:10.635Z] + curl -s https://codecov.io/bash+ [2023-07-19T18:58:10.635Z] bash -s -- [2023-07-19T18:58:10.635Z] [2023-07-19T18:58:10.635Z] _____ _ [2023-07-19T18:58:10.635Z] / ____| | | [2023-07-19T18:58:10.635Z] | | ___ __| | ___ ___ _____ __ [2023-07-19T18:58:10.635Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-19T18:58:10.635Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-19T18:58:10.635Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-19T18:58:10.635Z] Bash-1.0.6 [2023-07-19T18:58:10.635Z] [2023-07-19T18:58:10.635Z] [2023-07-19T18:58:10.635Z] ==> git version 2.25.1 found [2023-07-19T18:58:10.635Z] ==> 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-07-19T18:58:10.635Z] Release-Date: 2020-01-08 [2023-07-19T18:58:10.635Z] 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-07-19T18:58:10.635Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-19T18:58:10.635Z] ==> Jenkins CI detected. [2023-07-19T18:58:10.635Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1475 [2023-07-19T18:58:10.635Z] project root: . [2023-07-19T18:58:10.635Z] --> token set from env [2023-07-19T18:58:10.635Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-19T18:58:10.635Z] ==> Running gcov in . (disable via -X gcov) [2023-07-19T18:58:10.635Z] ==> Python coveragepy not found [2023-07-19T18:58:10.635Z] ==> Searching for coverage reports in: [2023-07-19T18:58:10.635Z] + . [2023-07-19T18:58:10.635Z] -> Found 1 reports [2023-07-19T18:58:10.635Z] ==> Detecting git/mercurial file structure [2023-07-19T18:58:10.635Z] ==> Reading reports [2023-07-19T18:58:10.635Z] + ./coverage.out bytes=104932 [2023-07-19T18:58:10.635Z] ==> Appending adjustments [2023-07-19T18:58:10.635Z] https://docs.codecov.io/docs/fixing-reports [2023-07-19T18:58:10.894Z] + Found adjustments [2023-07-19T18:58:10.894Z] ==> Gzipping contents [2023-07-19T18:58:10.894Z] 16K /tmp/codecov.cQ7DlL.gz [2023-07-19T18:58:10.894Z] ==> Uploading reports [2023-07-19T18:58:10.894Z] url: https://codecov.io [2023-07-19T18:58:10.894Z] query: branch=PR-1475&commit=0a975aeae5b7990f59e544da2ee2fdded13f22bb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1475%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1475&job=&cmd_args= [2023-07-19T18:58:11.154Z] -> Pinging Codecov [2023-07-19T18:58:11.154Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1475&commit=0a975aeae5b7990f59e544da2ee2fdded13f22bb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1475%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1475&job=&cmd_args= [2023-07-19T18:58:11.154Z] -> Uploading to [2023-07-19T18:58:11.154Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/0a975aeae5b7990f59e544da2ee2fdded13f22bb/9cd351f5-8dec-4be6-97a4-8a051f041b5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T185811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42fc95687d2eca795840700b50edf0887341b1e3ed1098a2dc18223206d9aa79 [2023-07-19T18:58:11.154Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T18:58:11.154Z] Dload Upload Total Spent Left Speed [2023-07-19T18:58:11.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14902 0 0 100 14902 0 74884 --:--:-- --:--:-- --:--:-- 74884 [2023-07-19T18:58:11.414Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0a975aeae5b7990f59e544da2ee2fdded13f22bb [Pipeline] } [2023-07-19T18:58:11.420Z] 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-07-19T18:58:12.134Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives ] [2023-07-19T18:58:12.134Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-19T18:58:12.134Z] total 16 [2023-07-19T18:58:12.134Z] drwxr-xr-x 3 root root 4096 Jul 19 18:45 . [2023-07-19T18:58:12.134Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:45 .. [2023-07-19T18:58:12.134Z] drwxr-xr-x 2 root root 4096 Jul 19 18:45 cost [2023-07-19T18:58:12.134Z] -rw-r--r-- 1 root root 86 Jul 19 18:45 cost.csv [2023-07-19T18:58:12.135Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-19T18:58:12.135Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-19T18:58:12.135Z] total 16 [2023-07-19T18:58:12.135Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:45 . [2023-07-19T18:58:12.135Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:45 .. [2023-07-19T18:58:12.135Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 18:45 cost [2023-07-19T18:58:12.135Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 19 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:58:12.425Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:58:13.284Z] ---> package-listing.sh [2023-07-19T18:58:13.284Z] ++ facter osfamily [2023-07-19T18:58:13.284Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-19T18:58:13.544Z] + OS_FAMILY=debian [2023-07-19T18:58:13.544Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1475 [2023-07-19T18:58:13.544Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-19T18:58:13.544Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-19T18:58:13.544Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-19T18:58:13.544Z] + PACKAGES=/tmp/packages_start.txt [2023-07-19T18:58:13.544Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1475 ']' [2023-07-19T18:58:13.544Z] + PACKAGES=/tmp/packages_end.txt [2023-07-19T18:58:13.544Z] + case "${OS_FAMILY}" in [2023-07-19T18:58:13.544Z] + dpkg -l [2023-07-19T18:58:13.544Z] + grep '^ii' [2023-07-19T18:58:13.544Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-19T18:58:13.544Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-19T18:58:13.544Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-19T18:58:13.544Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1475 ']' [2023-07-19T18:58:13.544Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/ [2023-07-19T18:58:13.544Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/ [Pipeline] echo [2023-07-19T18:58:13.555Z] 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-1475/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-19T18:58:13.834Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:58:14.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:58:14.389Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:58:14.457Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2023-07-19T18:58:14.489Z] $ 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-1475/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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@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-07-19T18:58:14.677Z] $ docker top c52ee2fe3bca0f722e85a7419645c958b791aeabd09cc6c3ea1618706d5b24de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:58:15.019Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-19T18:58:15.303Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-19T18:58:15.589Z] + ls /var/log/sa-host [2023-07-19T18:58:15.589Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:58:15.656Z] provisioning config files... [2023-07-19T18:58:15.664Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config13110696216635154532tmp [Pipeline] { [Pipeline] echo [2023-07-19T18:58:15.674Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:58:15.958Z] ---> create-netrc.sh [Pipeline] } [2023-07-19T18:58:15.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:58:16.284Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-19T18:58:16.292Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:58:16.579Z] ---> sudo-logs.sh [2023-07-19T18:58:16.579Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-19T18:58:16.611Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:58:16.893Z] ---> job-cost.sh [2023-07-19T18:58:16.894Z] lf-activate-venv: SKIPPING [2023-07-19T18:58:16.894Z] DEBUG: total: 0.2199999988079071 [2023-07-19T18:58:16.894Z] INFO: Retrieving Stack Cost... [2023-07-19T18:58:17.461Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T18:58:17.721Z] INFO: Archiving Costs [Pipeline] echo [2023-07-19T18:58:17.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:58:18.017Z] ---> logs-deploy.sh [2023-07-19T18:58:18.017Z] lf-activate-venv: SKIPPING [2023-07-19T18:58:18.017Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1475/4 [2023-07-19T18:58:18.017Z] INFO: archiving workspace using pattern(s): [2023-07-19T18:58:18.956Z] Archives upload complete. [2023-07-19T18:58:18.956Z] INFO: archiving logs to Nexus [2023-07-19T18:58:19.525Z] ---> uname -a: [2023-07-19T18:58:19.525Z] Linux prd-ubuntu20-04-docker-8c-8g-1563 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-07-19T18:58:19.525Z] [2023-07-19T18:58:19.525Z] [2023-07-19T18:58:19.525Z] ---> lscpu: [2023-07-19T18:58:19.525Z] Architecture: x86_64 [2023-07-19T18:58:19.525Z] CPU op-mode(s): 32-bit, 64-bit [2023-07-19T18:58:19.525Z] Byte Order: Little Endian [2023-07-19T18:58:19.525Z] Address sizes: 40 bits physical, 48 bits virtual [2023-07-19T18:58:19.525Z] CPU(s): 8 [2023-07-19T18:58:19.525Z] On-line CPU(s) list: 0-7 [2023-07-19T18:58:19.525Z] Thread(s) per core: 1 [2023-07-19T18:58:19.525Z] Core(s) per socket: 1 [2023-07-19T18:58:19.525Z] Socket(s): 8 [2023-07-19T18:58:19.525Z] NUMA node(s): 1 [2023-07-19T18:58:19.525Z] Vendor ID: AuthenticAMD [2023-07-19T18:58:19.525Z] CPU family: 23 [2023-07-19T18:58:19.525Z] Model: 49 [2023-07-19T18:58:19.525Z] Model name: AMD EPYC-Rome Processor [2023-07-19T18:58:19.525Z] Stepping: 0 [2023-07-19T18:58:19.525Z] CPU MHz: 2799.998 [2023-07-19T18:58:19.525Z] BogoMIPS: 5599.99 [2023-07-19T18:58:19.525Z] Virtualization: AMD-V [2023-07-19T18:58:19.525Z] Hypervisor vendor: KVM [2023-07-19T18:58:19.525Z] Virtualization type: full [2023-07-19T18:58:19.525Z] L1d cache: 256 KiB [2023-07-19T18:58:19.525Z] L1i cache: 256 KiB [2023-07-19T18:58:19.525Z] L2 cache: 4 MiB [2023-07-19T18:58:19.525Z] L3 cache: 128 MiB [2023-07-19T18:58:19.525Z] NUMA node0 CPU(s): 0-7 [2023-07-19T18:58:19.525Z] Vulnerability Itlb multihit: Not affected [2023-07-19T18:58:19.525Z] Vulnerability L1tf: Not affected [2023-07-19T18:58:19.525Z] Vulnerability Mds: Not affected [2023-07-19T18:58:19.525Z] Vulnerability Meltdown: Not affected [2023-07-19T18:58:19.525Z] Vulnerability Mmio stale data: Not affected [2023-07-19T18:58:19.525Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-07-19T18:58:19.525Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-07-19T18:58:19.525Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-07-19T18:58:19.525Z] Vulnerability Srbds: Not affected [2023-07-19T18:58:19.525Z] Vulnerability Tsx async abort: Not affected [2023-07-19T18:58:19.525Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-07-19T18:58:19.525Z] [2023-07-19T18:58:19.525Z]