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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ab99ac020c4ef8666ef85bc46b0905445c54f9fd+4c78050fc70b733cd627e11bc3f887100bb2ef6f (391fa97bdb9fcdaa8b2577e3254db3ffa942ba76) 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-ssh9108589768102174320.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5754568815118081749.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1379/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-1379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17284606969864232892.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17676695870593259829.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-1379/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-1379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11618012019265356106.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 ‘prd-ubuntu20.04-docker-8c-8g-4418’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4419 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [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-1379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c78050fc70b733cd627e11bc3f887100bb2ef6f into PR head commit ab99ac020c4ef8666ef85bc46b0905445c54f9fd Merge succeeded, producing 3681a20f5128cb6b8073225f0ffb59a7dec605ff Checking out Revision 3681a20f5128cb6b8073225f0ffb59a7dec605ff (PR-1379) > git config core.sparsecheckout # timeout=10 > git checkout -f ab99ac020c4ef8666ef85bc46b0905445c54f9fd # 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 4c78050fc70b733cd627e11bc3f887100bb2ef6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3681a20f5128cb6b8073225f0ffb59a7dec605ff # timeout=10 Commit message: "Merge commit '4c78050fc70b733cd627e11bc3f887100bb2ef6f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk a4258e9f69915ace54ddb646a74b87255ac1a43b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T18:41:46.187Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T18:41:46.248Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T18:41:46.261Z] ========================================================= [2023-03-17T18:41:46.261Z] EdgeX Global Pipelines Version Info [2023-03-17T18:41:46.261Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:41:46.973Z] ------------------- [2023-03-17T18:41:46.974Z] stable info: [2023-03-17T18:41:46.974Z] ------------------- [2023-03-17T18:41:46.974Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T18:41:46.974Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T18:41:46.974Z] Message: update stable to v1.0.245 [2023-03-17T18:41:47.546Z] ------------------- [2023-03-17T18:41:47.546Z] experimental info: [2023-03-17T18:41:47.546Z] ------------------- [2023-03-17T18:41:47.546Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T18:41:47.546Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T18:41:47.546Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T18:41:47.741Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-17T18:41:47.753Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-17T18:41:47.764Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T18:41:47.783Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T18:41:47.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T18:41:47.815Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T18:41:47.824Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T18:41:47.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-17T18:41:47.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T18:41:47.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T18:41:47.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T18:41:47.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-17T18:41:47.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T18:41:47.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T18:41:47.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T18:41:47.940Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T18:41:47.955Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T18:41:47.967Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T18:41:47.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T18:41:47.997Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T18:41:48.014Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T18:41:48.032Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-17T18:41:48.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T18:41:48.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T18:41:48.076Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T18:41:48.094Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T18:41:48.109Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T18:41:48.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1379 [Pipeline] echo [2023-03-17T18:41:48.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1379 [Pipeline] echo [2023-03-17T18:41:48.154Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1379 [Pipeline] echo [2023-03-17T18:41:48.164Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3681a20f5128cb6b8073225f0ffb59a7dec605ff [Pipeline] echo [2023-03-17T18:41:48.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3681a20 [Pipeline] echo [2023-03-17T18:41:48.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T18:41:48.236Z] provisioning config files... [2023-03-17T18:41:48.250Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config9926290345106734290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:41:48.556Z] ---> docker-login.sh [2023-03-17T18:41:48.556Z] nexus3.edgexfoundry.org:10001 [2023-03-17T18:41:48.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:41:48.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:41:48.816Z] Configure a credential helper to remove this warning. See [2023-03-17T18:41:48.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:41:48.816Z] [2023-03-17T18:41:48.816Z] Login Succeeded [2023-03-17T18:41:48.816Z] nexus3.edgexfoundry.org:10002 [2023-03-17T18:41:49.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:41:49.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:41:49.077Z] Configure a credential helper to remove this warning. See [2023-03-17T18:41:49.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:41:49.077Z] [2023-03-17T18:41:49.077Z] Login Succeeded [2023-03-17T18:41:49.077Z] nexus3.edgexfoundry.org:10003 [2023-03-17T18:41:49.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:41:49.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:41:49.077Z] Configure a credential helper to remove this warning. See [2023-03-17T18:41:49.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:41:49.077Z] [2023-03-17T18:41:49.077Z] Login Succeeded [2023-03-17T18:41:49.077Z] nexus3.edgexfoundry.org:10004 [2023-03-17T18:41:49.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:41:49.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:41:49.341Z] Configure a credential helper to remove this warning. See [2023-03-17T18:41:49.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:41:49.341Z] [2023-03-17T18:41:49.341Z] Login Succeeded [2023-03-17T18:41:49.341Z] docker.io [2023-03-17T18:41:49.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:41:49.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:41:49.605Z] Configure a credential helper to remove this warning. See [2023-03-17T18:41:49.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:41:49.605Z] [2023-03-17T18:41:49.605Z] Login Succeeded [2023-03-17T18:41:49.605Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T18:41:49.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T18:41:49.982Z] + git rev-list -1 --merges 3681a20f5128cb6b8073225f0ffb59a7dec605ff~1..3681a20f5128cb6b8073225f0ffb59a7dec605ff [Pipeline] echo [2023-03-17T18:41:50.029Z] -----------> git rev-list -1 --merges 3681a20f5128cb6b8073225f0ffb59a7dec605ff~1..3681a20f5128cb6b8073225f0ffb59a7dec605ff 3681a20f5128cb6b8073225f0ffb59a7dec605ff [2023-03-17T18:41:50.029Z] 3681a20f5128cb6b8073225f0ffb59a7dec605ff [false] [Pipeline] sh [2023-03-17T18:41:50.322Z] + git log --format=format:%s -1 3681a20f5128cb6b8073225f0ffb59a7dec605ff [Pipeline] echo [2023-03-17T18:41:50.337Z] ========================================================= [2023-03-17T18:41:50.337Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T18:41:50.337Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T18:41:50.652Z] + git log --format=format:%s -1 3681a20f5128cb6b8073225f0ffb59a7dec605ff [Pipeline] echo [2023-03-17T18:41:50.665Z] [semverPrep] GIT_COMMIT: 3681a20f5128cb6b8073225f0ffb59a7dec605ff, Commit Message: Merge commit '4c78050fc70b733cd627e11bc3f887100bb2ef6f' into HEAD [Pipeline] echo [2023-03-17T18:41:50.673Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T18:41:51.026Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T18:41:51.026Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T18:41:51.026Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T18:41:51.026Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T18:41:51.026Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-03-17T18:41:51.026Z] tee -a /etc/ssh/ssh_known_hosts [2023-03-17T18:41:51.026Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:41:51.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T18:41:51.382Z] [2023-03-17T18:41:51.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:41:51.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T18:41:51.686Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T18:41:51.686Z] b85a868b505f: Pulling fs layer [2023-03-17T18:41:51.686Z] e2be974225ed: Pulling fs layer [2023-03-17T18:41:51.686Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T18:41:51.686Z] 988bab9f4d93: Pulling fs layer [2023-03-17T18:41:51.686Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T18:41:51.686Z] eaf3925da568: Pulling fs layer [2023-03-17T18:41:51.686Z] bab4dde63d76: Pulling fs layer [2023-03-17T18:41:51.686Z] bde34c3a00c8: Pulling fs layer [2023-03-17T18:41:51.686Z] b352a97aabf1: Pulling fs layer [2023-03-17T18:41:51.686Z] 4872d77fe225: Pulling fs layer [2023-03-17T18:41:51.686Z] 5851b861e8e6: Pulling fs layer [2023-03-17T18:41:51.686Z] eaf3925da568: Waiting [2023-03-17T18:41:51.686Z] 988bab9f4d93: Waiting [2023-03-17T18:41:51.686Z] 1469e6f7b9e6: Waiting [2023-03-17T18:41:51.686Z] bab4dde63d76: Waiting [2023-03-17T18:41:51.686Z] 4872d77fe225: Waiting [2023-03-17T18:41:51.686Z] bde34c3a00c8: Waiting [2023-03-17T18:41:51.686Z] 5851b861e8e6: Waiting [2023-03-17T18:41:51.686Z] e2be974225ed: Download complete [2023-03-17T18:41:51.686Z] 988bab9f4d93: Verifying Checksum [2023-03-17T18:41:51.686Z] 988bab9f4d93: Download complete [2023-03-17T18:41:51.948Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T18:41:51.949Z] 1469e6f7b9e6: Download complete [2023-03-17T18:41:51.949Z] eaf3925da568: Download complete [2023-03-17T18:41:51.949Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T18:41:51.949Z] 339a4e72a1f5: Download complete [2023-03-17T18:41:51.949Z] bde34c3a00c8: Verifying Checksum [2023-03-17T18:41:51.949Z] bde34c3a00c8: Download complete [2023-03-17T18:41:51.949Z] b352a97aabf1: Download complete [2023-03-17T18:41:51.949Z] 4872d77fe225: Verifying Checksum [2023-03-17T18:41:51.949Z] 4872d77fe225: Download complete [2023-03-17T18:41:51.949Z] 5851b861e8e6: Verifying Checksum [2023-03-17T18:41:51.949Z] 5851b861e8e6: Download complete [2023-03-17T18:41:51.949Z] b85a868b505f: Download complete [2023-03-17T18:41:52.207Z] bab4dde63d76: Verifying Checksum [2023-03-17T18:41:52.207Z] bab4dde63d76: Download complete [2023-03-17T18:41:53.583Z] b85a868b505f: Pull complete [2023-03-17T18:41:53.583Z] e2be974225ed: Pull complete [2023-03-17T18:41:53.842Z] 339a4e72a1f5: Pull complete [2023-03-17T18:41:54.100Z] 988bab9f4d93: Pull complete [2023-03-17T18:41:54.358Z] 1469e6f7b9e6: Pull complete [2023-03-17T18:41:54.358Z] eaf3925da568: Pull complete [2023-03-17T18:41:56.256Z] bab4dde63d76: Pull complete [2023-03-17T18:41:56.256Z] bde34c3a00c8: Pull complete [2023-03-17T18:41:56.516Z] b352a97aabf1: Pull complete [2023-03-17T18:41:56.516Z] 4872d77fe225: Pull complete [2023-03-17T18:41:56.516Z] 5851b861e8e6: Pull complete [2023-03-17T18:41:56.516Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T18:41:56.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T18:41:56.775Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T18:41:56.931Z] prd-ubuntu20.04-docker-8c-8g-4419 does not seem to be running inside a container [2023-03-17T18:41:56.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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-03-17T18:42:00.323Z] $ docker top 671b60c341604a195191de706e01d3e6766da23fa7ea1ff3b222efab85742186 -eo pid,comm [2023-03-17T18:42:00.376Z] 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-03-17T18:42:00.376Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T18:42:00.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T18:42:00.414Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T18:42:00.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T18:42:00.537Z] $ docker exec 671b60c341604a195191de706e01d3e6766da23fa7ea1ff3b222efab85742186 ssh-agent [2023-03-17T18:42:00.639Z] SSH_AUTH_SOCK=/tmp/ssh-pJLAZ30USYr7/agent.32 [2023-03-17T18:42:00.639Z] SSH_AGENT_PID=38 [2023-03-17T18:42:00.646Z] Running ssh-add (command line suppressed) [2023-03-17T18:42:00.751Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_17629943613966278262.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_17629943613966278262.key) [2023-03-17T18:42:00.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T18:42:01.054Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T18:42:01.077Z] $ docker exec --env ******** --env ******** 671b60c341604a195191de706e01d3e6766da23fa7ea1ff3b222efab85742186 ssh-agent -k [2023-03-17T18:42:01.182Z] unset SSH_AUTH_SOCK; [2023-03-17T18:42:01.183Z] unset SSH_AGENT_PID; [2023-03-17T18:42:01.183Z] echo Agent pid 38 killed; [2023-03-17T18:42:01.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T18:42:01.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T18:42:01.215Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T18:42:01.330Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T18:42:01.336Z] $ docker exec 671b60c341604a195191de706e01d3e6766da23fa7ea1ff3b222efab85742186 ssh-agent [2023-03-17T18:42:01.456Z] SSH_AUTH_SOCK=/tmp/ssh-rqKaW00u8SWA/agent.70 [2023-03-17T18:42:01.456Z] SSH_AGENT_PID=76 [2023-03-17T18:42:01.461Z] Running ssh-add (command line suppressed) [2023-03-17T18:42:01.580Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_16762217005180640521.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_16762217005180640521.key) [2023-03-17T18:42:01.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T18:42:01.884Z] + git semver init [2023-03-17T18:42:02.144Z] 2023-03-17 18:42:02,080 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T18:42:02.144Z] 2023-03-17 18:42:02,081 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-17T18:42:02.144Z] 2023-03-17 18:42:02,081 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-17T18:42:02.144Z] 2023-03-17 18:42:02,082 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379, universal_newlines=False, shell=None, istream=None) [2023-03-17T18:42:03.096Z] 2023-03-17 18:42:03,054 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.git/info/exclude [2023-03-17T18:42:03.096Z] 2023-03-17 18:42:03,055 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 with force:False [2023-03-17T18:42:03.096Z] 2023-03-17 18:42:03,055 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-17T18:42:03.096Z] 2023-03-17 18:42:03,059 [execute] INFO git cat-file --batch-check [2023-03-17T18:42:03.096Z] 2023-03-17 18:42:03,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T18:42:03.096Z] 2023-03-17 18:42:03,065 [execute] INFO git cat-file --batch [2023-03-17T18:42:03.096Z] 2023-03-17 18:42:03,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T18:42:03.096Z] 2023-03-17 18:42:03,070 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-17T18:42:03.096Z] 0.0.0 [Pipeline] } [2023-03-17T18:42:03.112Z] $ docker exec --env ******** --env ******** 671b60c341604a195191de706e01d3e6766da23fa7ea1ff3b222efab85742186 ssh-agent -k [2023-03-17T18:42:03.206Z] unset SSH_AUTH_SOCK; [2023-03-17T18:42:03.207Z] unset SSH_AGENT_PID; [2023-03-17T18:42:03.207Z] echo Agent pid 76 killed; [2023-03-17T18:42:03.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T18:42:03.518Z] + git semver [Pipeline] } [2023-03-17T18:42:03.796Z] $ docker stop --time=1 671b60c341604a195191de706e01d3e6766da23fa7ea1ff3b222efab85742186 [2023-03-17T18:42:05.133Z] $ docker rm -f --volumes 671b60c341604a195191de706e01d3e6766da23fa7ea1ff3b222efab85742186 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T18:42:05.461Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T18:42:05.650Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T18:42:05.653Z] [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-03-17T18:42:05.800Z] provisioning config files... [2023-03-17T18:42:05.809Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config14575054117370043286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:42:06.106Z] ---> docker-login.sh [2023-03-17T18:42:06.106Z] nexus3.edgexfoundry.org:10001 [2023-03-17T18:42:06.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:42:06.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:42:06.106Z] Configure a credential helper to remove this warning. See [2023-03-17T18:42:06.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:42:06.106Z] [2023-03-17T18:42:06.106Z] Login Succeeded [2023-03-17T18:42:06.106Z] nexus3.edgexfoundry.org:10002 [2023-03-17T18:42:06.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:42:06.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:42:06.106Z] Configure a credential helper to remove this warning. See [2023-03-17T18:42:06.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:42:06.106Z] [2023-03-17T18:42:06.106Z] Login Succeeded [2023-03-17T18:42:06.106Z] nexus3.edgexfoundry.org:10003 [2023-03-17T18:42:06.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:42:06.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:42:06.363Z] Configure a credential helper to remove this warning. See [2023-03-17T18:42:06.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:42:06.363Z] [2023-03-17T18:42:06.363Z] Login Succeeded [2023-03-17T18:42:06.363Z] nexus3.edgexfoundry.org:10004 [2023-03-17T18:42:06.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:42:06.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:42:06.363Z] Configure a credential helper to remove this warning. See [2023-03-17T18:42:06.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:42:06.364Z] [2023-03-17T18:42:06.364Z] Login Succeeded [2023-03-17T18:42:06.364Z] docker.io [2023-03-17T18:42:06.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:42:06.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:42:06.623Z] Configure a credential helper to remove this warning. See [2023-03-17T18:42:06.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:42:06.623Z] [2023-03-17T18:42:06.623Z] Login Succeeded [2023-03-17T18:42:06.623Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T18:42:06.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T18:42:06.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T18:42:06.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T18:42:06.716Z] ========================================================= [2023-03-17T18:42:06.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T18:42:06.716Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:42:07.034Z] + 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-03-17T18:42:07.035Z] Sending build context to Docker daemon 10.78MB [2023-03-17T18:42:07.035Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T18:42:07.035Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-17T18:42:07.035Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T18:42:07.035Z] 63b65145d645: Pulling fs layer [2023-03-17T18:42:07.035Z] a2d21d5440eb: Pulling fs layer [2023-03-17T18:42:07.035Z] 935e6c44a52c: Pulling fs layer [2023-03-17T18:42:07.035Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T18:42:07.035Z] 30dea6a524f1: Pulling fs layer [2023-03-17T18:42:07.035Z] a2aff8979fd8: Pulling fs layer [2023-03-17T18:42:07.035Z] 6808be2612f2: Pulling fs layer [2023-03-17T18:42:07.035Z] f25807f1079a: Pulling fs layer [2023-03-17T18:42:07.035Z] 6808be2612f2: Waiting [2023-03-17T18:42:07.035Z] 94cc34f8dd06: Waiting [2023-03-17T18:42:07.035Z] 30dea6a524f1: Waiting [2023-03-17T18:42:07.035Z] f25807f1079a: Waiting [2023-03-17T18:42:07.297Z] a2d21d5440eb: Verifying Checksum [2023-03-17T18:42:07.297Z] a2d21d5440eb: Download complete [2023-03-17T18:42:07.297Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T18:42:07.297Z] 94cc34f8dd06: Download complete [2023-03-17T18:42:07.297Z] 30dea6a524f1: Verifying Checksum [2023-03-17T18:42:07.297Z] 30dea6a524f1: Download complete [2023-03-17T18:42:07.297Z] 63b65145d645: Download complete [2023-03-17T18:42:07.297Z] a2aff8979fd8: Verifying Checksum [2023-03-17T18:42:07.297Z] a2aff8979fd8: Download complete [2023-03-17T18:42:07.569Z] 63b65145d645: Pull complete [2023-03-17T18:42:07.569Z] a2d21d5440eb: Pull complete [2023-03-17T18:42:07.836Z] f25807f1079a: Verifying Checksum [2023-03-17T18:42:07.836Z] f25807f1079a: Download complete [2023-03-17T18:42:08.097Z] 935e6c44a52c: Verifying Checksum [2023-03-17T18:42:08.097Z] 935e6c44a52c: Download complete [2023-03-17T18:42:08.355Z] 6808be2612f2: Verifying Checksum [2023-03-17T18:42:08.355Z] 6808be2612f2: Download complete [2023-03-17T18:42:11.639Z] 935e6c44a52c: Pull complete [2023-03-17T18:42:11.639Z] 94cc34f8dd06: Pull complete [2023-03-17T18:42:11.639Z] 30dea6a524f1: Pull complete [2023-03-17T18:42:11.897Z] a2aff8979fd8: Pull complete [2023-03-17T18:42:14.427Z] 6808be2612f2: Pull complete [2023-03-17T18:42:14.995Z] f25807f1079a: Pull complete [2023-03-17T18:42:14.995Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T18:42:14.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T18:42:14.995Z] ---> 3b553350e43f [2023-03-17T18:42:14.995Z] Step 3/10 : ARG MAKE=make build [2023-03-17T18:42:18.286Z] ---> Running in e9942f38002a [2023-03-17T18:42:18.546Z] Removing intermediate container e9942f38002a [2023-03-17T18:42:18.546Z] ---> 924473d3c6ba [2023-03-17T18:42:18.546Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-17T18:42:18.546Z] ---> Running in ab483b57535b [2023-03-17T18:42:18.546Z] Removing intermediate container ab483b57535b [2023-03-17T18:42:18.546Z] ---> db80aedd61a4 [2023-03-17T18:42:18.546Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T18:42:18.546Z] ---> Running in 09055df6a57f [2023-03-17T18:42:18.805Z] Removing intermediate container 09055df6a57f [2023-03-17T18:42:18.805Z] ---> f843026f468d [2023-03-17T18:42:18.805Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-17T18:42:18.805Z] ---> Running in 00a3225c56a4 [2023-03-17T18:42:19.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T18:42:19.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T18:42:19.323Z] OK: 265 MiB in 53 packages [2023-03-17T18:42:19.891Z] Removing intermediate container 00a3225c56a4 [2023-03-17T18:42:19.891Z] ---> db459f4d9007 [2023-03-17T18:42:19.891Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-17T18:42:19.891Z] ---> 8cf6336fcafb [2023-03-17T18:42:19.891Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T18:42:19.891Z] ---> Running in 9f66734709e8 [2023-03-17T18:42:20.755Z] Still waiting to schedule task [2023-03-17T18:42:20.755Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-17T18:42:51.971Z] Removing intermediate container 9f66734709e8 [2023-03-17T18:42:51.971Z] ---> 147e9dad5e9b [2023-03-17T18:42:51.971Z] Step 9/10 : COPY . . [2023-03-17T18:42:51.971Z] ---> 7b6034ae23cc [2023-03-17T18:42:51.971Z] Step 10/10 : RUN ${MAKE} [2023-03-17T18:42:51.971Z] ---> Running in 27e2b14c223b [2023-03-17T18:42:51.971Z] noop [2023-03-17T18:42:51.971Z] Removing intermediate container 27e2b14c223b [2023-03-17T18:42:51.971Z] ---> 061a15d8072f [2023-03-17T18:42:51.971Z] Successfully built 061a15d8072f [2023-03-17T18:42:51.971Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:42:52.287Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T18:42:52.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T18:42:52.362Z] prd-ubuntu20.04-docker-8c-8g-4419 does not seem to be running inside a container [2023-03-17T18:42:52.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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-03-17T18:42:52.752Z] $ docker top fd8a97bf240075468362d0bd30002d9b3e1e6ddf00351cb43ad3aaa7004b6be5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T18:42:53.094Z] + go version [2023-03-17T18:42:53.095Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T18:42:53.109Z] $ docker stop --time=1 fd8a97bf240075468362d0bd30002d9b3e1e6ddf00351cb43ad3aaa7004b6be5 [2023-03-17T18:42:54.375Z] $ docker rm -f --volumes fd8a97bf240075468362d0bd30002d9b3e1e6ddf00351cb43ad3aaa7004b6be5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:42:54.986Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T18:42:54.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T18:42:55.057Z] prd-ubuntu20.04-docker-8c-8g-4419 does not seem to be running inside a container [2023-03-17T18:42:55.093Z] $ 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-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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-03-17T18:42:55.464Z] $ docker top 13c7a7316a00c7d1b278267f437d4da3937b950990037c470376443d64219dbb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T18:42:55.881Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] fileExists [Pipeline] sh [2023-03-17T18:42:56.168Z] + make test [2023-03-17T18:42:56.168Z] go test -race -coverprofile=coverage.out ./... [2023-03-17T18:43:04.288Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-17T18:43:19.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.073s coverage: 27.6% of statements [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-17T18:43:19.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.064s coverage: 78.9% of statements [2023-03-17T18:43:19.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.074s coverage: 86.0% of statements [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-17T18:43:19.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 75.7% of statements [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-17T18:43:19.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-17T18:43:19.755Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-17T18:43:22.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 14.9% of statements [2023-03-17T18:43:22.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 65.7% of statements [2023-03-17T18:43:22.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements [2023-03-17T18:43:22.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-03-17T18:43:44.220Z] GO111MODULE=on go vet ./... [2023-03-17T18:43:47.499Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T18:43:47.499Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T18:43:47.499Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T18:43:47.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T18:43:47.527Z] $ docker stop --time=1 13c7a7316a00c7d1b278267f437d4da3937b950990037c470376443d64219dbb [2023-03-17T18:43:50.148Z] $ docker rm -f --volumes 13c7a7316a00c7d1b278267f437d4da3937b950990037c470376443d64219dbb [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T18:43:50.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T18:43:50.759Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-17T18:43:51.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T18:43:51.563Z] + ls -al . [2023-03-17T18:43:51.563Z] total 276 [2023-03-17T18:43:51.563Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 18:42 . [2023-03-17T18:43:51.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:41 .. [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 18:41 .dockerignore [2023-03-17T18:43:51.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 18:42 .git [2023-03-17T18:43:51.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 18:41 .github [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 18:41 .gitignore [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 18:41 .golangci.yml [2023-03-17T18:43:51.563Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 18:42 .semver [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 17 18:41 CHANGELOG.md [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 18:41 GOVERNANCE.md [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 17 18:41 Jenkinsfile [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 18:41 LICENSE [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 17 18:41 Makefile [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 18:41 OWNERS.md [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 17 18:41 README.md [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 18:42 VERSION [2023-03-17T18:43:51.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 18:41 bin [2023-03-17T18:43:51.563Z] -rw-r--r-- 1 jenkins jenkins 109924 Mar 17 18:43 coverage.out [2023-03-17T18:43:51.563Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 18:41 example [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 17 18:41 go.mod [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 17 18:41 go.sum [2023-03-17T18:43:51.563Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 18:41 internal [2023-03-17T18:43:51.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 18:41 openapi [2023-03-17T18:43:51.563Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 18:41 pkg [2023-03-17T18:43:51.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:41 snap [2023-03-17T18:43:51.563Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:43:51.873Z] + 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=3681a20f5128cb6b8073225f0ffb59a7dec605ff --label arch=amd64 --label version=0.0.0 . [2023-03-17T18:43:51.873Z] Sending build context to Docker daemon 10.89MB [2023-03-17T18:43:51.873Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T18:43:51.873Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-17T18:43:51.873Z] ---> 061a15d8072f [2023-03-17T18:43:51.873Z] Step 3/23 : ARG MAKE=make build [2023-03-17T18:43:52.132Z] ---> Running in 3c7220356b01 [2023-03-17T18:43:52.132Z] Removing intermediate container 3c7220356b01 [2023-03-17T18:43:52.132Z] ---> 5e4ff3222078 [2023-03-17T18:43:52.132Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-17T18:43:52.132Z] ---> Running in fae443995af6 [2023-03-17T18:43:52.132Z] Removing intermediate container fae443995af6 [2023-03-17T18:43:52.132Z] ---> 2d0562638a77 [2023-03-17T18:43:52.132Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T18:43:52.132Z] ---> Running in a1642de8e113 [2023-03-17T18:43:52.390Z] Removing intermediate container a1642de8e113 [2023-03-17T18:43:52.390Z] ---> db0d0700ab03 [2023-03-17T18:43:52.390Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-17T18:43:52.390Z] ---> Running in ee1d0fd2fced [2023-03-17T18:43:52.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T18:43:52.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T18:43:52.908Z] OK: 265 MiB in 53 packages [2023-03-17T18:43:53.167Z] Removing intermediate container ee1d0fd2fced [2023-03-17T18:43:53.167Z] ---> beb298274fc9 [2023-03-17T18:43:53.167Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-17T18:43:53.426Z] ---> 76940b7633c6 [2023-03-17T18:43:53.426Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T18:43:53.426Z] ---> Running in 564d89e57036 [2023-03-17T18:43:54.361Z] Removing intermediate container 564d89e57036 [2023-03-17T18:43:54.361Z] ---> 387a6dbe4238 [2023-03-17T18:43:54.361Z] Step 9/23 : COPY . . [2023-03-17T18:43:54.928Z] ---> 31d8d6f68020 [2023-03-17T18:43:54.928Z] Step 10/23 : RUN ${MAKE} [2023-03-17T18:43:54.928Z] ---> Running in e72e2ed8e570 [2023-03-17T18:43:55.187Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-17T18:44:17.130Z] Removing intermediate container e72e2ed8e570 [2023-03-17T18:44:17.130Z] ---> 1175f004fa14 [2023-03-17T18:44:17.130Z] Step 11/23 : FROM alpine:3.17 [2023-03-17T18:44:17.130Z] 3.17: Pulling from library/alpine [2023-03-17T18:44:17.130Z] 63b65145d645: Already exists [2023-03-17T18:44:17.130Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T18:44:17.130Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T18:44:17.130Z] ---> b2aa39c304c2 [2023-03-17T18:44:17.130Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-17T18:44:17.130Z] ---> Running in 2b03816e6635 [2023-03-17T18:44:17.130Z] Removing intermediate container 2b03816e6635 [2023-03-17T18:44:17.130Z] ---> e3c071aa6c31 [2023-03-17T18:44:17.130Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-17T18:44:17.130Z] ---> Running in e6b4493db31a [2023-03-17T18:44:17.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T18:44:17.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T18:44:17.130Z] OK: 7 MiB in 15 packages [2023-03-17T18:44:17.130Z] Removing intermediate container e6b4493db31a [2023-03-17T18:44:17.130Z] ---> b01e0f6b7fa8 [2023-03-17T18:44:17.130Z] Step 14/23 : WORKDIR / [2023-03-17T18:44:17.130Z] ---> Running in a571c5bfc5aa [2023-03-17T18:44:17.130Z] Removing intermediate container a571c5bfc5aa [2023-03-17T18:44:17.130Z] ---> 231832488cc9 [2023-03-17T18:44:17.130Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-17T18:44:17.130Z] ---> f7479f9d14f2 [2023-03-17T18:44:17.130Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-17T18:44:17.699Z] ---> ea9bfc04e38e [2023-03-17T18:44:17.699Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-17T18:44:17.699Z] ---> d00e0d3430bf [2023-03-17T18:44:17.699Z] Step 18/23 : EXPOSE 59999 [2023-03-17T18:44:17.699Z] ---> Running in 0955f55ec20a [2023-03-17T18:44:17.958Z] Removing intermediate container 0955f55ec20a [2023-03-17T18:44:17.958Z] ---> 5ce8d0df7bac [2023-03-17T18:44:17.958Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-17T18:44:17.958Z] ---> Running in 01a00d095708 [2023-03-17T18:44:17.958Z] Removing intermediate container 01a00d095708 [2023-03-17T18:44:17.958Z] ---> a51efce1098f [2023-03-17T18:44:17.958Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T18:44:17.958Z] ---> Running in 3a8f5ebc2b9d [2023-03-17T18:44:17.958Z] Removing intermediate container 3a8f5ebc2b9d [2023-03-17T18:44:17.958Z] ---> 48ef8b991b17 [2023-03-17T18:44:17.958Z] Step 21/23 : LABEL arch=amd64 [2023-03-17T18:44:17.958Z] ---> Running in 75d2936a188f [2023-03-17T18:44:18.216Z] Removing intermediate container 75d2936a188f [2023-03-17T18:44:18.216Z] ---> 4d8f051d65b9 [2023-03-17T18:44:18.216Z] Step 22/23 : LABEL git_sha=3681a20f5128cb6b8073225f0ffb59a7dec605ff [2023-03-17T18:44:18.216Z] ---> Running in 6eccf5dd8456 [2023-03-17T18:44:18.216Z] Removing intermediate container 6eccf5dd8456 [2023-03-17T18:44:18.216Z] ---> 00201b4960a6 [2023-03-17T18:44:18.216Z] Step 23/23 : LABEL version=0.0.0 [2023-03-17T18:44:18.216Z] ---> Running in 8adc4a9e9b4e [2023-03-17T18:44:18.216Z] Removing intermediate container 8adc4a9e9b4e [2023-03-17T18:44:18.216Z] ---> ac529ca6e342 [2023-03-17T18:44:18.216Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T18:44:18.475Z] Successfully built ac529ca6e342 [2023-03-17T18:44:18.475Z] 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-03-17T18:44:18.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T18:44:18.922Z] [2023-03-17T18:44:18.922Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:44:19.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T18:44:19.227Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T18:44:19.227Z] 5eb5b503b376: Pulling fs layer [2023-03-17T18:44:19.227Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T18:44:19.227Z] ec43610c2a17: Pulling fs layer [2023-03-17T18:44:19.227Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T18:44:19.227Z] 33b1e0a273af: Pulling fs layer [2023-03-17T18:44:19.227Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T18:44:19.227Z] 2f39f015ded8: Pulling fs layer [2023-03-17T18:44:19.227Z] 33b1e0a273af: Waiting [2023-03-17T18:44:19.227Z] 5d3b04190fa2: Waiting [2023-03-17T18:44:19.227Z] 3a2ae6a8a46f: Waiting [2023-03-17T18:44:19.227Z] 2f39f015ded8: Waiting [2023-03-17T18:44:19.227Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T18:44:19.227Z] 5c69ac0246d0: Download complete [2023-03-17T18:44:19.227Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T18:44:19.227Z] 3a2ae6a8a46f: Download complete [2023-03-17T18:44:19.486Z] ec43610c2a17: Verifying Checksum [2023-03-17T18:44:19.486Z] ec43610c2a17: Download complete [2023-03-17T18:44:19.486Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T18:44:19.486Z] 5d3b04190fa2: Download complete [2023-03-17T18:44:19.486Z] 33b1e0a273af: Verifying Checksum [2023-03-17T18:44:19.486Z] 33b1e0a273af: Download complete [2023-03-17T18:44:19.486Z] 5eb5b503b376: Verifying Checksum [2023-03-17T18:44:19.486Z] 5eb5b503b376: Download complete [2023-03-17T18:44:20.420Z] 2f39f015ded8: Download complete [2023-03-17T18:44:20.678Z] 5eb5b503b376: Pull complete [2023-03-17T18:44:20.936Z] 5c69ac0246d0: Pull complete [2023-03-17T18:44:21.501Z] ec43610c2a17: Pull complete [2023-03-17T18:44:21.501Z] 3a2ae6a8a46f: Pull complete [2023-03-17T18:44:21.758Z] 33b1e0a273af: Pull complete [2023-03-17T18:44:21.758Z] 5d3b04190fa2: Pull complete [2023-03-17T18:44:27.020Z] 2f39f015ded8: Pull complete [2023-03-17T18:44:27.020Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T18:44:27.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T18:44:27.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T18:44:27.123Z] prd-ubuntu20.04-docker-8c-8g-4419 does not seem to be running inside a container [2023-03-17T18:44:27.159Z] $ 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-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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-03-17T18:44:30.873Z] $ docker top c6884ac736b8d4b69b6b09e88b6422078676fd73eed599758a6dae741a635c33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:44:31.280Z] ---> job-cost.sh [2023-03-17T18:44:31.280Z] lf-activate-venv: SKIPPING [2023-03-17T18:44:31.280Z] INFO: No Stack... [2023-03-17T18:44:31.539Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T18:44:32.105Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T18:44:32.393Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/cost.csv [2023-03-17T18:44:32.393Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T18:44:32.406Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-4-stack-cost] [2023-03-17T18:44:32.415Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-4-stack-cost] did not exist. Created. [2023-03-17T18:44:32.415Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T18:44:32.712Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T18:44:32.745Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T18:44:32.753Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T18:44:32.775Z] $ docker stop --time=1 c6884ac736b8d4b69b6b09e88b6422078676fd73eed599758a6dae741a635c33 [2023-03-17T18:44:33.943Z] $ docker rm -f --volumes c6884ac736b8d4b69b6b09e88b6422078676fd73eed599758a6dae741a635c33 [2023-03-17T18:44:33.980Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4422 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] { [Pipeline] // script [Pipeline] ws [2023-03-17T18:44:34.013Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-03-17T18:44:34.051Z] The recommended git tool is: git [Pipeline] // stage [Pipeline] } [2023-03-17T18:44:40.093Z] using credential edgex-jenkins-ssh [2023-03-17T18:44:40.118Z] Cloning the remote Git repository [2023-03-17T18:44:40.174Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T18:44:40.294Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-03-17T18:44:40.473Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T18:44:40.474Z] > git --version # timeout=10 [2023-03-17T18:44:40.504Z] > git --version # 'git version 2.25.1' [2023-03-17T18:44:40.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T18:44:40.708Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T18:44:44.345Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-17T18:44:44.375Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T18:44:45.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-17T18:44:45.364Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T18:44:45.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T18:44:45.382Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T18:44:46.047Z] Merging remotes/origin/main commit 4c78050fc70b733cd627e11bc3f887100bb2ef6f into PR head commit ab99ac020c4ef8666ef85bc46b0905445c54f9fd [2023-03-17T18:44:46.455Z] Merge succeeded, producing aae4d1a1d74f2c64cf58ab0bece5b9cd83356be1 [2023-03-17T18:44:46.456Z] Checking out Revision aae4d1a1d74f2c64cf58ab0bece5b9cd83356be1 (PR-1379) [2023-03-17T18:44:46.064Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T18:44:46.151Z] > git checkout -f ab99ac020c4ef8666ef85bc46b0905445c54f9fd # timeout=10 [2023-03-17T18:44:46.260Z] > git remote # timeout=10 [2023-03-17T18:44:46.284Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T18:44:46.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T18:44:46.326Z] > git merge 4c78050fc70b733cd627e11bc3f887100bb2ef6f # timeout=10 [2023-03-17T18:44:46.437Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T18:44:46.463Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T18:44:46.479Z] > git checkout -f aae4d1a1d74f2c64cf58ab0bece5b9cd83356be1 # timeout=10 [2023-03-17T18:44:49.974Z] Commit message: "Merge commit '4c78050fc70b733cd627e11bc3f887100bb2ef6f' into HEAD" [2023-03-17T18:44:50.001Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T18:44:49.985Z] > git rev-list --no-walk a4258e9f69915ace54ddb646a74b87255ac1a43b # timeout=10 [2023-03-17T18:44:50.875Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T18:44:50.875Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T18:44:50.875Z] Dload Upload Total Spent Left Speed [2023-03-17T18:44:50.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-03-17T18:44:51.675Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T18:44:52.006Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T18:44:52.006Z] + sudo tee /etc/docker/daemon.new [2023-03-17T18:44:52.006Z] { [2023-03-17T18:44:52.006Z] "registry-mirrors": [ [2023-03-17T18:44:52.006Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T18:44:52.006Z] ], [2023-03-17T18:44:52.006Z] "bip": "10.250.0.254/24", [2023-03-17T18:44:52.006Z] "hosts": [ [2023-03-17T18:44:52.006Z] "tcp://0.0.0.0:5555", [2023-03-17T18:44:52.006Z] "unix:///var/run/docker.sock" [2023-03-17T18:44:52.006Z] ], [2023-03-17T18:44:52.006Z] "mtu": 1458, [2023-03-17T18:44:52.006Z] "selinux-enabled": true, [2023-03-17T18:44:52.006Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T18:44:52.006Z] } [Pipeline] sh [2023-03-17T18:44:52.337Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T18:44:52.668Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T18:45:10.943Z] provisioning config files... [2023-03-17T18:45:10.973Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config16709442724071618285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:45:11.328Z] ---> docker-login.sh [2023-03-17T18:45:11.328Z] nexus3.edgexfoundry.org:10001 [2023-03-17T18:45:11.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:45:11.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:45:11.871Z] Configure a credential helper to remove this warning. See [2023-03-17T18:45:11.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:45:11.871Z] [2023-03-17T18:45:11.871Z] Login Succeeded [2023-03-17T18:45:11.871Z] nexus3.edgexfoundry.org:10002 [2023-03-17T18:45:12.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:45:12.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:45:12.142Z] Configure a credential helper to remove this warning. See [2023-03-17T18:45:12.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:45:12.142Z] [2023-03-17T18:45:12.142Z] Login Succeeded [2023-03-17T18:45:12.413Z] nexus3.edgexfoundry.org:10003 [2023-03-17T18:45:12.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:45:12.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:45:12.683Z] Configure a credential helper to remove this warning. See [2023-03-17T18:45:12.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:45:12.683Z] [2023-03-17T18:45:12.683Z] Login Succeeded [2023-03-17T18:45:12.683Z] nexus3.edgexfoundry.org:10004 [2023-03-17T18:45:12.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:45:12.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:45:12.951Z] Configure a credential helper to remove this warning. See [2023-03-17T18:45:12.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:45:12.951Z] [2023-03-17T18:45:12.951Z] Login Succeeded [2023-03-17T18:45:12.951Z] docker.io [2023-03-17T18:45:13.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T18:45:13.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T18:45:13.489Z] Configure a credential helper to remove this warning. See [2023-03-17T18:45:13.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T18:45:13.489Z] [2023-03-17T18:45:13.489Z] Login Succeeded [2023-03-17T18:45:13.489Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T18:45:13.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T18:45:13.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T18:45:13.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T18:45:13.785Z] ========================================================= [2023-03-17T18:45:13.785Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T18:45:13.785Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:45:14.127Z] + 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-03-17T18:45:14.732Z] Sending build context to Docker daemon 5.812MB [2023-03-17T18:45:14.732Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T18:45:14.732Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-17T18:45:14.732Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T18:45:14.732Z] af6eaf76a39c: Pulling fs layer [2023-03-17T18:45:14.732Z] 55522c791124: Pulling fs layer [2023-03-17T18:45:14.732Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T18:45:14.732Z] 169dfbe0d373: Pulling fs layer [2023-03-17T18:45:14.732Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T18:45:14.732Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T18:45:14.732Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T18:45:14.732Z] e1ff8fa3b103: Waiting [2023-03-17T18:45:14.732Z] 52ebb69f0ebf: Waiting [2023-03-17T18:45:14.732Z] 5abe8eddf0d5: Waiting [2023-03-17T18:45:14.732Z] 169dfbe0d373: Waiting [2023-03-17T18:45:14.732Z] 55522c791124: Verifying Checksum [2023-03-17T18:45:14.732Z] 55522c791124: Download complete [2023-03-17T18:45:14.732Z] 169dfbe0d373: Verifying Checksum [2023-03-17T18:45:14.732Z] 169dfbe0d373: Download complete [2023-03-17T18:45:15.006Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T18:45:15.006Z] e1ff8fa3b103: Download complete [2023-03-17T18:45:15.006Z] af6eaf76a39c: Verifying Checksum [2023-03-17T18:45:15.006Z] af6eaf76a39c: Download complete [2023-03-17T18:45:16.001Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T18:45:16.001Z] 5abe8eddf0d5: Download complete [2023-03-17T18:45:16.987Z] af6eaf76a39c: Pull complete [2023-03-17T18:45:17.257Z] ce5c4a1c91eb: Download complete [2023-03-17T18:45:17.257Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T18:45:17.257Z] 52ebb69f0ebf: Download complete [2023-03-17T18:45:17.534Z] 55522c791124: Pull complete [2023-03-17T18:45:27.610Z] ce5c4a1c91eb: Pull complete [2023-03-17T18:45:27.610Z] 169dfbe0d373: Pull complete [2023-03-17T18:45:27.610Z] e1ff8fa3b103: Pull complete [2023-03-17T18:45:34.262Z] 52ebb69f0ebf: Pull complete [2023-03-17T18:45:35.227Z] 5abe8eddf0d5: Pull complete [2023-03-17T18:45:35.227Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T18:45:35.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T18:45:35.227Z] ---> 6cb57ee374ae [2023-03-17T18:45:35.227Z] Step 3/10 : ARG MAKE=make build [2023-03-17T18:45:37.183Z] ---> Running in a536d51cc761 [2023-03-17T18:45:37.452Z] Removing intermediate container a536d51cc761 [2023-03-17T18:45:37.452Z] ---> 7086bf6cf6f0 [2023-03-17T18:45:37.452Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-17T18:45:37.452Z] ---> Running in 922dfa85c323 [2023-03-17T18:45:37.723Z] Removing intermediate container 922dfa85c323 [2023-03-17T18:45:37.723Z] ---> b5f0db8f2ceb [2023-03-17T18:45:37.723Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T18:45:37.990Z] ---> Running in 4c0bd1b1a3f5 [2023-03-17T18:45:38.266Z] Removing intermediate container 4c0bd1b1a3f5 [2023-03-17T18:45:38.266Z] ---> e1af66cd6973 [2023-03-17T18:45:38.266Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-17T18:45:38.266Z] ---> Running in 5e9f5b4dce63 [2023-03-17T18:45:39.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T18:45:40.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T18:45:41.233Z] OK: 263 MiB in 53 packages [2023-03-17T18:45:42.199Z] Removing intermediate container 5e9f5b4dce63 [2023-03-17T18:45:42.199Z] ---> 95932be33e01 [2023-03-17T18:45:42.199Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-17T18:45:42.469Z] ---> 0d524ab88f47 [2023-03-17T18:45:42.469Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T18:45:42.742Z] ---> Running in 4f91ecd950e0 [2023-03-17T18:46:50.650Z] Removing intermediate container 4f91ecd950e0 [2023-03-17T18:46:50.650Z] ---> 75115f34f7d7 [2023-03-17T18:46:50.650Z] Step 9/10 : COPY . . [2023-03-17T18:46:50.650Z] ---> ead6cdaa2097 [2023-03-17T18:46:50.650Z] Step 10/10 : RUN ${MAKE} [2023-03-17T18:46:50.650Z] ---> Running in 8630cd0ac07a [2023-03-17T18:46:50.650Z] noop [2023-03-17T18:46:50.650Z] Removing intermediate container 8630cd0ac07a [2023-03-17T18:46:50.650Z] ---> 073a323b19eb [2023-03-17T18:46:50.650Z] Successfully built 073a323b19eb [2023-03-17T18:46:50.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:46:50.991Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T18:46:50.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T18:46:51.221Z] prd-ubuntu20.04-docker-arm64-4c-16g-4422 does not seem to be running inside a container [2023-03-17T18:46:51.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T18:46:52.535Z] $ docker top 2f8f4c5259d5d8a12f489e7982f03845b95b2c699138acc4e3b588b8c5e3ae8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T18:46:53.338Z] + go version [2023-03-17T18:46:53.338Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T18:46:53.368Z] $ docker stop --time=1 2f8f4c5259d5d8a12f489e7982f03845b95b2c699138acc4e3b588b8c5e3ae8b [2023-03-17T18:46:54.983Z] $ docker rm -f --volumes 2f8f4c5259d5d8a12f489e7982f03845b95b2c699138acc4e3b588b8c5e3ae8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:46:55.511Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T18:46:55.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T18:46:55.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-4422 does not seem to be running inside a container [2023-03-17T18:46:55.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T18:46:57.065Z] $ docker top 29a3e85c21270c54bf788284de7f07c6dbba9ccb7f9a55dffe876dcf8bbe41f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T18:46:57.569Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-03-17T18:46:58.166Z] + make test [2023-03-17T18:46:58.166Z] go test -race -coverprofile=coverage.out ./... [2023-03-17T18:47:45.041Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-17T18:50:06.741Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-17T18:50:06.741Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-17T18:50:06.741Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-17T18:50:06.741Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-17T18:50:06.741Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-17T18:50:12.091Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.231s coverage: 27.6% of statements [2023-03-17T18:50:17.449Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.261s coverage: 78.9% of statements [2023-03-17T18:50:32.477Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-17T18:50:32.477Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-17T18:50:32.477Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.368s coverage: 86.0% of statements [2023-03-17T18:50:39.143Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-17T18:50:39.410Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.477s coverage: 75.7% of statements [2023-03-17T18:50:43.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-17T18:50:46.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-17T18:50:46.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-17T18:50:46.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.278s coverage: 14.9% of statements [2023-03-17T18:50:46.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.475s coverage: 65.7% of statements [2023-03-17T18:50:51.140Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.469s coverage: 89.2% of statements [2023-03-17T18:50:52.181Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-17T18:50:52.457Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.268s coverage: 5.5% of statements [2023-03-17T18:50:53.054Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-17T18:50:53.054Z] GO111MODULE=on go vet ./... [2023-03-17T18:53:29.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T18:53:29.914Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T18:53:29.914Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T18:53:29.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T18:53:29.961Z] $ docker stop --time=1 29a3e85c21270c54bf788284de7f07c6dbba9ccb7f9a55dffe876dcf8bbe41f4 [2023-03-17T18:53:32.938Z] $ docker rm -f --volumes 29a3e85c21270c54bf788284de7f07c6dbba9ccb7f9a55dffe876dcf8bbe41f4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T18:53:34.632Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T18:53:34.658Z] Warning: overwriting stash ‘coverage-report’ [2023-03-17T18:53:35.291Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T18:53:35.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T18:53:36.004Z] + ls -al . [2023-03-17T18:53:36.004Z] total 272 [2023-03-17T18:53:36.004Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 18:47 . [2023-03-17T18:53:36.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:44 .. [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 18:44 .dockerignore [2023-03-17T18:53:36.004Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 18:44 .git [2023-03-17T18:53:36.004Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 18:44 .github [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 18:44 .gitignore [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 18:44 .golangci.yml [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 17 18:44 CHANGELOG.md [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 18:44 GOVERNANCE.md [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 17 18:44 Jenkinsfile [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 18:44 LICENSE [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 17 18:44 Makefile [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 18:44 OWNERS.md [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 17 18:44 README.md [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 18:42 VERSION [2023-03-17T18:53:36.004Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 18:44 bin [2023-03-17T18:53:36.004Z] -rw-r--r-- 1 jenkins jenkins 109923 Mar 17 18:50 coverage.out [2023-03-17T18:53:36.004Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 18:44 example [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 17 18:44 go.mod [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 17 18:44 go.sum [2023-03-17T18:53:36.004Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 18:44 internal [2023-03-17T18:53:36.004Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 18:44 openapi [2023-03-17T18:53:36.004Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 18:44 pkg [2023-03-17T18:53:36.004Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 18:44 snap [2023-03-17T18:53:36.004Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:53:36.355Z] + 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=aae4d1a1d74f2c64cf58ab0bece5b9cd83356be1 --label arch=arm64 --label version=0.0.0 . [2023-03-17T18:53:36.941Z] Sending build context to Docker daemon 5.923MB [2023-03-17T18:53:36.941Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T18:53:36.941Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-17T18:53:36.941Z] ---> 073a323b19eb [2023-03-17T18:53:36.941Z] Step 3/23 : ARG MAKE=make build [2023-03-17T18:53:36.941Z] ---> Running in 84922e662fa6 [2023-03-17T18:53:37.216Z] Removing intermediate container 84922e662fa6 [2023-03-17T18:53:37.216Z] ---> 8e1bbdb68ed0 [2023-03-17T18:53:37.216Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-17T18:53:37.485Z] ---> Running in d94842b39763 [2023-03-17T18:53:37.754Z] Removing intermediate container d94842b39763 [2023-03-17T18:53:37.754Z] ---> c0a9b5da0469 [2023-03-17T18:53:37.754Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T18:53:37.754Z] ---> Running in ad6869c3d746 [2023-03-17T18:53:38.024Z] Removing intermediate container ad6869c3d746 [2023-03-17T18:53:38.024Z] ---> fdcd41ce176f [2023-03-17T18:53:38.024Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-17T18:53:38.300Z] ---> Running in 13d01ac2909c [2023-03-17T18:53:39.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T18:53:39.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T18:53:41.265Z] OK: 263 MiB in 53 packages [2023-03-17T18:53:41.854Z] Removing intermediate container 13d01ac2909c [2023-03-17T18:53:41.854Z] ---> 355543e65c55 [2023-03-17T18:53:41.854Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-17T18:53:42.443Z] ---> 622b6c7c1c94 [2023-03-17T18:53:42.443Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T18:53:45.023Z] ---> Running in 9061e80cffff [2023-03-17T18:53:47.610Z] Removing intermediate container 9061e80cffff [2023-03-17T18:53:47.610Z] ---> 7783792a55e9 [2023-03-17T18:53:47.610Z] Step 9/23 : COPY . . [2023-03-17T18:53:49.020Z] ---> 29214e6df4c0 [2023-03-17T18:53:49.020Z] Step 10/23 : RUN ${MAKE} [2023-03-17T18:53:49.020Z] ---> Running in 4c96098aa87a [2023-03-17T18:53:49.987Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-17T18:56:11.704Z] Removing intermediate container 4c96098aa87a [2023-03-17T18:56:11.704Z] ---> 726915689133 [2023-03-17T18:56:11.704Z] Step 11/23 : FROM alpine:3.17 [2023-03-17T18:56:11.704Z] 3.17: Pulling from library/alpine [2023-03-17T18:56:11.704Z] af6eaf76a39c: Already exists [2023-03-17T18:56:11.704Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T18:56:11.704Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T18:56:11.704Z] ---> d74e625d9115 [2023-03-17T18:56:11.704Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-17T18:56:11.704Z] ---> Running in f57f0dd3d6b9 [2023-03-17T18:56:11.704Z] Removing intermediate container f57f0dd3d6b9 [2023-03-17T18:56:11.704Z] ---> b0cc8f2f4bf3 [2023-03-17T18:56:11.704Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-17T18:56:11.704Z] ---> Running in e8930597d690 [2023-03-17T18:56:11.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T18:56:11.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T18:56:11.704Z] OK: 7 MiB in 15 packages [2023-03-17T18:56:11.704Z] Removing intermediate container e8930597d690 [2023-03-17T18:56:11.704Z] ---> 1a73edc162a8 [2023-03-17T18:56:11.704Z] Step 14/23 : WORKDIR / [2023-03-17T18:56:11.704Z] ---> Running in 1365cddba9a7 [2023-03-17T18:56:11.704Z] Removing intermediate container 1365cddba9a7 [2023-03-17T18:56:11.704Z] ---> 1035a68fca99 [2023-03-17T18:56:11.704Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-17T18:56:11.704Z] ---> d0eca15ae676 [2023-03-17T18:56:11.704Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-17T18:56:12.287Z] ---> 1ca6e4c5c7fa [2023-03-17T18:56:12.287Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-17T18:56:12.868Z] ---> 798fe4950895 [2023-03-17T18:56:12.868Z] Step 18/23 : EXPOSE 59999 [2023-03-17T18:56:12.868Z] ---> Running in 3575d3a0d0f8 [2023-03-17T18:56:13.136Z] Removing intermediate container 3575d3a0d0f8 [2023-03-17T18:56:13.136Z] ---> 065c24c99202 [2023-03-17T18:56:13.136Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-17T18:56:13.136Z] ---> Running in 2348c348cc9f [2023-03-17T18:56:13.404Z] Removing intermediate container 2348c348cc9f [2023-03-17T18:56:13.404Z] ---> 997cd444b85b [2023-03-17T18:56:13.404Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T18:56:13.404Z] ---> Running in 05d0822daacd [2023-03-17T18:56:13.671Z] Removing intermediate container 05d0822daacd [2023-03-17T18:56:13.671Z] ---> b6fa92d34f0c [2023-03-17T18:56:13.671Z] Step 21/23 : LABEL arch=arm64 [2023-03-17T18:56:13.939Z] ---> Running in 756d49ee5a5b [2023-03-17T18:56:14.208Z] Removing intermediate container 756d49ee5a5b [2023-03-17T18:56:14.208Z] ---> 6f7e3f2d9e9d [2023-03-17T18:56:14.208Z] Step 22/23 : LABEL git_sha=aae4d1a1d74f2c64cf58ab0bece5b9cd83356be1 [2023-03-17T18:56:14.208Z] ---> Running in 725cc24164fd [2023-03-17T18:56:14.476Z] Removing intermediate container 725cc24164fd [2023-03-17T18:56:14.476Z] ---> 4f9716fa1dd9 [2023-03-17T18:56:14.476Z] Step 23/23 : LABEL version=0.0.0 [2023-03-17T18:56:14.476Z] ---> Running in e9b179a84284 [2023-03-17T18:56:14.742Z] Removing intermediate container e9b179a84284 [2023-03-17T18:56:14.742Z] ---> cf15918de1b0 [2023-03-17T18:56:14.742Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T18:56:15.008Z] Successfully built cf15918de1b0 [2023-03-17T18:56:15.008Z] 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-03-17T18:56:15.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T18:56:15.442Z] [2023-03-17T18:56:15.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:56:15.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T18:56:15.777Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T18:56:15.777Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T18:56:15.777Z] 04944245beec: Pulling fs layer [2023-03-17T18:56:15.777Z] 699f458cf7ca: Pulling fs layer [2023-03-17T18:56:15.777Z] 765212b225bb: Pulling fs layer [2023-03-17T18:56:15.777Z] f23df028b6ca: Pulling fs layer [2023-03-17T18:56:15.777Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T18:56:15.777Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T18:56:15.777Z] f23df028b6ca: Waiting [2023-03-17T18:56:15.777Z] d65c8cfc05b1: Waiting [2023-03-17T18:56:15.777Z] 765212b225bb: Waiting [2023-03-17T18:56:15.777Z] 2437ff75d9bd: Waiting [2023-03-17T18:56:16.047Z] 04944245beec: Verifying Checksum [2023-03-17T18:56:16.047Z] 04944245beec: Download complete [2023-03-17T18:56:16.047Z] 765212b225bb: Verifying Checksum [2023-03-17T18:56:16.047Z] 765212b225bb: Download complete [2023-03-17T18:56:16.047Z] f23df028b6ca: Verifying Checksum [2023-03-17T18:56:16.047Z] f23df028b6ca: Download complete [2023-03-17T18:56:16.047Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T18:56:16.047Z] d65c8cfc05b1: Download complete [2023-03-17T18:56:16.316Z] 699f458cf7ca: Verifying Checksum [2023-03-17T18:56:16.316Z] 699f458cf7ca: Download complete [2023-03-17T18:56:16.587Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T18:56:16.587Z] 8998bd30e6a1: Download complete [2023-03-17T18:56:19.173Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T18:56:19.173Z] 2437ff75d9bd: Download complete [2023-03-17T18:56:22.522Z] 8998bd30e6a1: Pull complete [2023-03-17T18:56:22.789Z] 04944245beec: Pull complete [2023-03-17T18:56:24.195Z] 699f458cf7ca: Pull complete [2023-03-17T18:56:24.463Z] 765212b225bb: Pull complete [2023-03-17T18:56:25.047Z] f23df028b6ca: Pull complete [2023-03-17T18:56:25.314Z] d65c8cfc05b1: Pull complete [2023-03-17T18:56:40.304Z] 2437ff75d9bd: Pull complete [2023-03-17T18:56:40.304Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T18:56:40.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T18:56:40.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T18:56:40.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-4422 does not seem to be running inside a container [2023-03-17T18:56:40.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T18:56:43.375Z] $ docker top 68ac649409a54f69219435e14aa04221aa88f408f0ab23325f304770dabec2f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:56:44.197Z] ---> job-cost.sh [2023-03-17T18:56:44.197Z] lf-activate-venv: SKIPPING [2023-03-17T18:56:44.197Z] INFO: No Stack... [2023-03-17T18:56:44.463Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T18:56:45.420Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T18:56:46.058Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-03-17T18:56:46.058Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T18:56:46.128Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-4-stack-cost] [2023-03-17T18:56:46.134Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-4-stack-cost] did not exist. Created. [2023-03-17T18:56:46.134Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T18:56:46.786Z] /w/workspace/device-sdk-go/4@tmp/durable-c4db5038/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T18:56:47.438Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T18:56:47.460Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T18:56:47.527Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T18:56:47.534Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T18:56:47.566Z] $ docker stop --time=1 68ac649409a54f69219435e14aa04221aa88f408f0ab23325f304770dabec2f0 [2023-03-17T18:56:49.050Z] $ docker rm -f --volumes 68ac649409a54f69219435e14aa04221aa88f408f0ab23325f304770dabec2f0 [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-03-17T18:56:49.434Z] provisioning config files... [2023-03-17T18:56:49.441Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config6196624919014076102tmp [Pipeline] { [Pipeline] sh [2023-03-17T18:56:49.730Z] + set +x [2023-03-17T18:56:49.730Z] + curl -s https://codecov.io/bash [2023-03-17T18:56:49.730Z] + bash -s -- [2023-03-17T18:56:49.731Z] [2023-03-17T18:56:49.731Z] _____ _ [2023-03-17T18:56:49.731Z] / ____| | | [2023-03-17T18:56:49.731Z] | | ___ __| | ___ ___ _____ __ [2023-03-17T18:56:49.731Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-17T18:56:49.731Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-17T18:56:49.731Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-17T18:56:49.731Z] Bash-1.0.6 [2023-03-17T18:56:49.731Z] [2023-03-17T18:56:49.731Z] [2023-03-17T18:56:49.731Z] ==> git version 2.25.1 found [2023-03-17T18:56:49.731Z] ==> 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-03-17T18:56:49.731Z] Release-Date: 2020-01-08 [2023-03-17T18:56:49.731Z] 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-03-17T18:56:49.731Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-17T18:56:49.731Z] ==> Jenkins CI detected. [2023-03-17T18:56:49.731Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-17T18:56:49.731Z] project root: . [2023-03-17T18:56:49.731Z] --> token set from env [2023-03-17T18:56:49.731Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-17T18:56:49.731Z] ==> Running gcov in . (disable via -X gcov) [2023-03-17T18:56:49.731Z] ==> Python coveragepy not found [2023-03-17T18:56:49.731Z] ==> Searching for coverage reports in: [2023-03-17T18:56:49.731Z] + . [2023-03-17T18:56:49.731Z] -> Found 1 reports [2023-03-17T18:56:49.731Z] ==> Detecting git/mercurial file structure [2023-03-17T18:56:49.731Z] ==> Reading reports [2023-03-17T18:56:49.990Z] + ./coverage.out bytes=109923 [2023-03-17T18:56:49.990Z] ==> Appending adjustments [2023-03-17T18:56:49.990Z] https://docs.codecov.io/docs/fixing-reports [2023-03-17T18:56:50.249Z] + Found adjustments [2023-03-17T18:56:50.249Z] ==> Gzipping contents [2023-03-17T18:56:50.249Z] 16K /tmp/codecov.onZPnQ.gz [2023-03-17T18:56:50.249Z] ==> Uploading reports [2023-03-17T18:56:50.249Z] url: https://codecov.io [2023-03-17T18:56:50.249Z] query: branch=PR-1379&commit=3681a20f5128cb6b8073225f0ffb59a7dec605ff&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-17T18:56:50.249Z] -> Pinging Codecov [2023-03-17T18:56:50.249Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1379&commit=3681a20f5128cb6b8073225f0ffb59a7dec605ff&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-17T18:56:50.249Z] -> Uploading to [2023-03-17T18:56:50.249Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-17/7E55EF52A471D76F132DFD9A03CDDE97/3681a20f5128cb6b8073225f0ffb59a7dec605ff/aadeef97-80b4-4cd8-aea0-20a8531f3864.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T185650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c199936449158132d48803877abcc16e7c6600ae33d716581744e44bfcb3e7a2 [2023-03-17T18:56:50.249Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T18:56:50.249Z] Dload Upload Total Spent Left Speed [2023-03-17T18:56:50.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15284 0 0 100 15284 0 62897 --:--:-- --:--:-- --:--:-- 62897 [2023-03-17T18:56:50.509Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3681a20f5128cb6b8073225f0ffb59a7dec605ff [Pipeline] } [2023-03-17T18:56:50.517Z] 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-03-17T18:56:51.193Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives ] [2023-03-17T18:56:51.193Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-17T18:56:51.193Z] total 16 [2023-03-17T18:56:51.193Z] drwxr-xr-x 3 root root 4096 Mar 17 18:44 . [2023-03-17T18:56:51.193Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 18:44 .. [2023-03-17T18:56:51.193Z] drwxr-xr-x 2 root root 4096 Mar 17 18:44 cost [2023-03-17T18:56:51.193Z] -rw-r--r-- 1 root root 86 Mar 17 18:44 cost.csv [2023-03-17T18:56:51.193Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-17T18:56:51.193Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-17T18:56:51.193Z] total 16 [2023-03-17T18:56:51.193Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 18:44 . [2023-03-17T18:56:51.193Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 18:44 .. [2023-03-17T18:56:51.193Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 18:44 cost [2023-03-17T18:56:51.193Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 17 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:56:51.484Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:56:52.349Z] ---> package-listing.sh [2023-03-17T18:56:52.349Z] ++ facter osfamily [2023-03-17T18:56:52.349Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T18:56:52.609Z] + OS_FAMILY=debian [2023-03-17T18:56:52.609Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-17T18:56:52.609Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T18:56:52.609Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T18:56:52.609Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T18:56:52.609Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T18:56:52.609Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-17T18:56:52.609Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T18:56:52.609Z] + case "${OS_FAMILY}" in [2023-03-17T18:56:52.609Z] + dpkg -l [2023-03-17T18:56:52.609Z] + grep '^ii' [2023-03-17T18:56:52.609Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T18:56:52.609Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T18:56:52.609Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T18:56:52.609Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-17T18:56:52.609Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [2023-03-17T18:56:52.609Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [Pipeline] echo [2023-03-17T18:56:52.619Z] 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-1379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T18:56:52.895Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T18:56:53.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T18:56:53.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T18:56:53.533Z] prd-ubuntu20.04-docker-8c-8g-4419 does not seem to be running inside a container [2023-03-17T18:56:53.558Z] $ 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-1379/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-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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-03-17T18:56:53.836Z] $ docker top 6806a063c862151c68ee8a42faa9878a9bba3fe02b4dfe3344155413de4843f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T18:56:54.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T18:56:54.468Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T18:56:54.751Z] + ls /var/log/sa-host [2023-03-17T18:56:54.751Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T18:56:54.812Z] provisioning config files... [2023-03-17T18:56:54.821Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config5939438432572286041tmp [Pipeline] { [Pipeline] echo [2023-03-17T18:56:54.835Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:56:55.117Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T18:56:55.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:56:55.449Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T18:56:55.457Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:56:55.738Z] ---> sudo-logs.sh [2023-03-17T18:56:55.738Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T18:56:55.768Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:56:56.051Z] ---> job-cost.sh [2023-03-17T18:56:56.051Z] lf-activate-venv: SKIPPING [2023-03-17T18:56:56.051Z] DEBUG: total: 0.2199999988079071 [2023-03-17T18:56:56.051Z] INFO: Retrieving Stack Cost... [2023-03-17T18:56:56.618Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T18:56:56.877Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T18:56:56.888Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T18:56:57.168Z] ---> logs-deploy.sh [2023-03-17T18:56:57.169Z] lf-activate-venv: SKIPPING [2023-03-17T18:56:57.169Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1379/4 [2023-03-17T18:56:57.169Z] INFO: archiving workspace using pattern(s): [2023-03-17T18:56:58.105Z] Archives upload complete. [2023-03-17T18:56:58.105Z] INFO: archiving logs to Nexus