Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0269f5defae23ecfb21598e73301b9248fb3e022 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-ssh12156091249029589027.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3700692435546233198.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16145802011871303819.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12074837641596805115.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8770825643394642726.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17220 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision 0269f5defae23ecfb21598e73301b9248fb3e022 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 0269f5defae23ecfb21598e73301b9248fb3e022 # timeout=10 Commit message: "Merge pull request #1465 from jumpingliu/update-readme" > git rev-list --no-walk afe14f99071666e3a8a1e98015d177d59a71e5e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-30T00:15:51.963Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-30T00:15:52.023Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-30T00:15:52.038Z] ========================================================= [2023-05-30T00:15:52.038Z] EdgeX Global Pipelines Version Info [2023-05-30T00:15:52.038Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:15:52.750Z] ------------------- [2023-05-30T00:15:52.750Z] stable info: [2023-05-30T00:15:52.750Z] ------------------- [2023-05-30T00:15:52.750Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-30T00:15:52.750Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T00:15:52.750Z] Message: update stable to v1.0.249 [2023-05-30T00:15:53.321Z] ------------------- [2023-05-30T00:15:53.321Z] experimental info: [2023-05-30T00:15:53.321Z] ------------------- [2023-05-30T00:15:53.321Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-30T00:15:53.321Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T00:15:53.321Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-30T00:15:53.486Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-30T00:15:53.499Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-30T00:15:53.516Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-30T00:15:53.527Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-30T00:15:53.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-30T00:15:53.553Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-30T00:15:53.568Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-30T00:15:53.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-30T00:15:53.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-30T00:15:53.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-30T00:15:53.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-30T00:15:53.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-30T00:15:53.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-30T00:15:53.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-30T00:15:53.684Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-30T00:15:53.701Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T00:15:53.720Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T00:15:53.738Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T00:15:53.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-30T00:15:53.768Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-30T00:15:53.786Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-30T00:15:53.802Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-30T00:15:53.819Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-30T00:15:53.834Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-30T00:15:53.850Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-30T00:15:53.866Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-30T00:15:53.883Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-30T00:15:53.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-30T00:15:53.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-30T00:15:53.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-30T00:15:53.944Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] echo [2023-05-30T00:15:53.965Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0269f5d [Pipeline] echo [2023-05-30T00:15:53.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:15:54.032Z] provisioning config files... [2023-05-30T00:15:54.047Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12007351354045831538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:15:54.350Z] ---> docker-login.sh [2023-05-30T00:15:54.350Z] nexus3.edgexfoundry.org:10001 [2023-05-30T00:15:54.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:54.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:54.609Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:54.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:54.609Z] [2023-05-30T00:15:54.609Z] Login Succeeded [2023-05-30T00:15:54.609Z] nexus3.edgexfoundry.org:10002 [2023-05-30T00:15:54.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:54.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:54.871Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:54.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:54.871Z] [2023-05-30T00:15:54.871Z] Login Succeeded [2023-05-30T00:15:54.871Z] nexus3.edgexfoundry.org:10003 [2023-05-30T00:15:54.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:54.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:54.871Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:54.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:54.871Z] [2023-05-30T00:15:54.871Z] Login Succeeded [2023-05-30T00:15:54.871Z] nexus3.edgexfoundry.org:10004 [2023-05-30T00:15:54.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:55.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:55.133Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:55.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:55.133Z] [2023-05-30T00:15:55.133Z] Login Succeeded [2023-05-30T00:15:55.133Z] docker.io [2023-05-30T00:15:55.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:15:55.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:15:55.393Z] Configure a credential helper to remove this warning. See [2023-05-30T00:15:55.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:15:55.393Z] [2023-05-30T00:15:55.393Z] Login Succeeded [2023-05-30T00:15:55.393Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T00:15:55.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-30T00:15:55.762Z] + git rev-list -1 --merges 0269f5defae23ecfb21598e73301b9248fb3e022~1..0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] echo [2023-05-30T00:15:55.808Z] -----------> git rev-list -1 --merges 0269f5defae23ecfb21598e73301b9248fb3e022~1..0269f5defae23ecfb21598e73301b9248fb3e022 0269f5defae23ecfb21598e73301b9248fb3e022 [2023-05-30T00:15:55.808Z] 0269f5defae23ecfb21598e73301b9248fb3e022 [false] [Pipeline] sh [2023-05-30T00:15:56.099Z] + git log --format=format:%s -1 0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] echo [2023-05-30T00:15:56.138Z] ========================================================= [2023-05-30T00:15:56.138Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T00:15:56.138Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T00:15:56.452Z] + git log --format=format:%s -1 0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] echo [2023-05-30T00:15:56.463Z] [semverPrep] GIT_COMMIT: 0269f5defae23ecfb21598e73301b9248fb3e022, Commit Message: Merge pull request #1465 from jumpingliu/update-readme [Pipeline] echo [2023-05-30T00:15:56.473Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-30T00:15:56.814Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T00:15:56.814Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-30T00:15:56.814Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-30T00:15:56.814Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-30T00:15:56.814Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-30T00:15:56.814Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-30T00:15:56.814Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:15:57.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:15:57.156Z] [2023-05-30T00:15:57.156Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:15:57.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:15:57.453Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-30T00:15:57.453Z] b85a868b505f: Pulling fs layer [2023-05-30T00:15:57.453Z] e2be974225ed: Pulling fs layer [2023-05-30T00:15:57.453Z] 339a4e72a1f5: Pulling fs layer [2023-05-30T00:15:57.453Z] 988bab9f4d93: Pulling fs layer [2023-05-30T00:15:57.453Z] 1469e6f7b9e6: Pulling fs layer [2023-05-30T00:15:57.453Z] eaf3925da568: Pulling fs layer [2023-05-30T00:15:57.453Z] bab4dde63d76: Pulling fs layer [2023-05-30T00:15:57.453Z] bde34c3a00c8: Pulling fs layer [2023-05-30T00:15:57.453Z] b352a97aabf1: Pulling fs layer [2023-05-30T00:15:57.453Z] 4872d77fe225: Pulling fs layer [2023-05-30T00:15:57.453Z] 5851b861e8e6: Pulling fs layer [2023-05-30T00:15:57.453Z] bab4dde63d76: Waiting [2023-05-30T00:15:57.453Z] bde34c3a00c8: Waiting [2023-05-30T00:15:57.453Z] 1469e6f7b9e6: Waiting [2023-05-30T00:15:57.453Z] b352a97aabf1: Waiting [2023-05-30T00:15:57.453Z] eaf3925da568: Waiting [2023-05-30T00:15:57.453Z] 988bab9f4d93: Waiting [2023-05-30T00:15:57.453Z] 5851b861e8e6: Waiting [2023-05-30T00:15:57.453Z] 4872d77fe225: Waiting [2023-05-30T00:15:57.453Z] e2be974225ed: Download complete [2023-05-30T00:15:57.453Z] 988bab9f4d93: Download complete [2023-05-30T00:15:57.453Z] 339a4e72a1f5: Verifying Checksum [2023-05-30T00:15:57.453Z] 339a4e72a1f5: Download complete [2023-05-30T00:15:57.453Z] 1469e6f7b9e6: Verifying Checksum [2023-05-30T00:15:57.453Z] 1469e6f7b9e6: Download complete [2023-05-30T00:15:57.713Z] eaf3925da568: Verifying Checksum [2023-05-30T00:15:57.713Z] eaf3925da568: Download complete [2023-05-30T00:15:57.713Z] bde34c3a00c8: Verifying Checksum [2023-05-30T00:15:57.713Z] bde34c3a00c8: Download complete [2023-05-30T00:15:57.713Z] b352a97aabf1: Download complete [2023-05-30T00:15:57.713Z] 4872d77fe225: Download complete [2023-05-30T00:15:57.713Z] 5851b861e8e6: Verifying Checksum [2023-05-30T00:15:57.713Z] 5851b861e8e6: Download complete [2023-05-30T00:15:57.713Z] b85a868b505f: Verifying Checksum [2023-05-30T00:15:57.713Z] b85a868b505f: Download complete [2023-05-30T00:15:57.971Z] bab4dde63d76: Verifying Checksum [2023-05-30T00:15:57.971Z] bab4dde63d76: Download complete [2023-05-30T00:15:58.907Z] b85a868b505f: Pull complete [2023-05-30T00:15:59.166Z] e2be974225ed: Pull complete [2023-05-30T00:15:59.732Z] 339a4e72a1f5: Pull complete [2023-05-30T00:15:59.732Z] 988bab9f4d93: Pull complete [2023-05-30T00:15:59.993Z] 1469e6f7b9e6: Pull complete [2023-05-30T00:15:59.993Z] eaf3925da568: Pull complete [2023-05-30T00:16:01.906Z] bab4dde63d76: Pull complete [2023-05-30T00:16:01.906Z] bde34c3a00c8: Pull complete [2023-05-30T00:16:01.906Z] b352a97aabf1: Pull complete [2023-05-30T00:16:02.166Z] 4872d77fe225: Pull complete [2023-05-30T00:16:02.166Z] 5851b861e8e6: Pull complete [2023-05-30T00:16:02.166Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-30T00:16:02.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:16:02.166Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:16:02.273Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:16:02.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-30T00:16:05.278Z] $ docker top 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb -eo pid,comm [2023-05-30T00:16:05.343Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-30T00:16:05.343Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T00:16:05.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:16:05.381Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:16:05.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:16:05.470Z] $ docker exec 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb ssh-agent [2023-05-30T00:16:05.576Z] SSH_AUTH_SOCK=/tmp/ssh-W90RaTMMpzKD/agent.32 [2023-05-30T00:16:05.576Z] SSH_AGENT_PID=38 [2023-05-30T00:16:05.583Z] Running ssh-add (command line suppressed) [2023-05-30T00:16:05.659Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7586138855275870236.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7586138855275870236.key) [2023-05-30T00:16:05.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:16:05.974Z] + git tag --points-at HEAD [Pipeline] } [2023-05-30T00:16:05.980Z] $ docker exec --env ******** --env ******** 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb ssh-agent -k [2023-05-30T00:16:06.064Z] unset SSH_AUTH_SOCK; [2023-05-30T00:16:06.065Z] unset SSH_AGENT_PID; [2023-05-30T00:16:06.065Z] echo Agent pid 38 killed; [2023-05-30T00:16:06.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-30T00:16:06.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:16:06.112Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:16:06.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:16:06.207Z] $ docker exec 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb ssh-agent [2023-05-30T00:16:06.327Z] SSH_AUTH_SOCK=/tmp/ssh-GqTvoTMDnXXi/agent.70 [2023-05-30T00:16:06.327Z] SSH_AGENT_PID=77 [2023-05-30T00:16:06.332Z] Running ssh-add (command line suppressed) [2023-05-30T00:16:06.419Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1480724155318793710.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1480724155318793710.key) [2023-05-30T00:16:06.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:16:06.731Z] + git semver init [2023-05-30T00:16:06.990Z] 2023-05-30 00:16:06,880 [run_init] DEBUG init version:0.0.0 force:False [2023-05-30T00:16:06.990Z] 2023-05-30 00:16:06,881 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-05-30T00:16:06.991Z] 2023-05-30 00:16:06,881 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-05-30T00:16:06.991Z] 2023-05-30 00:16:06,882 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-30T00:16:07.925Z] 2023-05-30 00:16:07,753 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-05-30T00:16:07.925Z] 2023-05-30 00:16:07,754 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-05-30T00:16:07.925Z] 2023-05-30 00:16:07,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:16:07.925Z] 2023-05-30 00:16:07,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:16:07.925Z] 3.0.1-dev.1 [Pipeline] } [2023-05-30T00:16:07.925Z] $ docker exec --env ******** --env ******** 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb ssh-agent -k [2023-05-30T00:16:08.012Z] unset SSH_AUTH_SOCK; [2023-05-30T00:16:08.014Z] unset SSH_AGENT_PID; [2023-05-30T00:16:08.014Z] echo Agent pid 77 killed; [2023-05-30T00:16:08.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T00:16:08.341Z] + git semver [Pipeline] } [2023-05-30T00:16:08.606Z] $ docker stop --time=1 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb [2023-05-30T00:16:09.894Z] $ docker rm -f --volumes 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T00:16:10.242Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-30T00:16:10.453Z] Stashed 1 file(s) [Pipeline] echo [2023-05-30T00:16:10.456Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:16:10.572Z] provisioning config files... [2023-05-30T00:16:10.582Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11079139358918784764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:16:10.883Z] ---> docker-login.sh [2023-05-30T00:16:10.883Z] nexus3.edgexfoundry.org:10001 [2023-05-30T00:16:10.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:10.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:10.883Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:10.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:10.883Z] [2023-05-30T00:16:10.883Z] Login Succeeded [2023-05-30T00:16:10.883Z] nexus3.edgexfoundry.org:10002 [2023-05-30T00:16:10.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:10.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:10.883Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:10.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:10.883Z] [2023-05-30T00:16:10.883Z] Login Succeeded [2023-05-30T00:16:10.883Z] nexus3.edgexfoundry.org:10003 [2023-05-30T00:16:11.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:11.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:11.143Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:11.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:11.143Z] [2023-05-30T00:16:11.143Z] Login Succeeded [2023-05-30T00:16:11.143Z] nexus3.edgexfoundry.org:10004 [2023-05-30T00:16:11.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:11.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:11.143Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:11.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:11.143Z] [2023-05-30T00:16:11.143Z] Login Succeeded [2023-05-30T00:16:11.143Z] docker.io [2023-05-30T00:16:11.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:16:11.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:16:11.403Z] Configure a credential helper to remove this warning. See [2023-05-30T00:16:11.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:16:11.403Z] [2023-05-30T00:16:11.403Z] Login Succeeded [2023-05-30T00:16:11.403Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T00:16:11.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T00:16:11.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:16:11.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:16:11.492Z] ========================================================= [2023-05-30T00:16:11.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-30T00:16:11.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:16:11.810Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-30T00:16:11.811Z] Sending build context to Docker daemon 11.22MB [2023-05-30T00:16:11.811Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T00:16:11.811Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-30T00:16:11.811Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-30T00:16:11.811Z] f56be85fc22e: Pulling fs layer [2023-05-30T00:16:11.811Z] 85791d961cd3: Pulling fs layer [2023-05-30T00:16:11.811Z] d694b5ae8c79: Pulling fs layer [2023-05-30T00:16:11.811Z] 9f32a84ed3da: Pulling fs layer [2023-05-30T00:16:11.811Z] 4d19c01a9841: Pulling fs layer [2023-05-30T00:16:11.811Z] 9325e15d5711: Pulling fs layer [2023-05-30T00:16:11.811Z] 556b6ee489ea: Pulling fs layer [2023-05-30T00:16:11.811Z] c5a4b2cf53e6: Pulling fs layer [2023-05-30T00:16:11.811Z] 4d19c01a9841: Waiting [2023-05-30T00:16:11.811Z] 9325e15d5711: Waiting [2023-05-30T00:16:11.811Z] 556b6ee489ea: Waiting [2023-05-30T00:16:11.811Z] c5a4b2cf53e6: Waiting [2023-05-30T00:16:11.811Z] 9f32a84ed3da: Waiting [2023-05-30T00:16:12.071Z] 85791d961cd3: Verifying Checksum [2023-05-30T00:16:12.071Z] 85791d961cd3: Download complete [2023-05-30T00:16:12.071Z] 9f32a84ed3da: Verifying Checksum [2023-05-30T00:16:12.071Z] 9f32a84ed3da: Download complete [2023-05-30T00:16:12.071Z] 4d19c01a9841: Verifying Checksum [2023-05-30T00:16:12.071Z] 4d19c01a9841: Download complete [2023-05-30T00:16:12.071Z] f56be85fc22e: Download complete [2023-05-30T00:16:12.071Z] 9325e15d5711: Verifying Checksum [2023-05-30T00:16:12.071Z] 9325e15d5711: Download complete [2023-05-30T00:16:12.071Z] f56be85fc22e: Pull complete [2023-05-30T00:16:12.331Z] 85791d961cd3: Pull complete [2023-05-30T00:16:12.590Z] c5a4b2cf53e6: Verifying Checksum [2023-05-30T00:16:12.590Z] d694b5ae8c79: Verifying Checksum [2023-05-30T00:16:12.590Z] d694b5ae8c79: Download complete [2023-05-30T00:16:12.590Z] 556b6ee489ea: Verifying Checksum [2023-05-30T00:16:12.590Z] 556b6ee489ea: Download complete [2023-05-30T00:16:15.877Z] d694b5ae8c79: Pull complete [2023-05-30T00:16:15.877Z] 9f32a84ed3da: Pull complete [2023-05-30T00:16:16.136Z] 4d19c01a9841: Pull complete [2023-05-30T00:16:16.136Z] 9325e15d5711: Pull complete [2023-05-30T00:16:18.671Z] 556b6ee489ea: Pull complete [2023-05-30T00:16:19.237Z] c5a4b2cf53e6: Pull complete [2023-05-30T00:16:19.237Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-30T00:16:19.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-30T00:16:19.237Z] ---> c4be618373d6 [2023-05-30T00:16:19.237Z] Step 3/10 : ARG MAKE=make build [2023-05-30T00:16:24.513Z] ---> Running in 07d8670df3b6 [2023-05-30T00:16:24.513Z] Removing intermediate container 07d8670df3b6 [2023-05-30T00:16:24.513Z] ---> c9a64861504f [2023-05-30T00:16:24.513Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-30T00:16:24.513Z] ---> Running in 1a7ac4c6271d [2023-05-30T00:16:24.513Z] Removing intermediate container 1a7ac4c6271d [2023-05-30T00:16:24.513Z] ---> 19e7b0b968ba [2023-05-30T00:16:24.513Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-30T00:16:24.513Z] ---> Running in fdc6fbc4f8cd [2023-05-30T00:16:24.513Z] Removing intermediate container fdc6fbc4f8cd [2023-05-30T00:16:24.513Z] ---> f940baf4dba3 [2023-05-30T00:16:24.513Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-30T00:16:24.513Z] ---> Running in 901a6b4e7417 [2023-05-30T00:16:24.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T00:16:24.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T00:16:24.771Z] OK: 265 MiB in 53 packages [2023-05-30T00:16:25.029Z] Removing intermediate container 901a6b4e7417 [2023-05-30T00:16:25.029Z] ---> 90a43ff81ec3 [2023-05-30T00:16:25.029Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-30T00:16:25.029Z] ---> f7f1d7ac09f8 [2023-05-30T00:16:25.029Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T00:16:25.029Z] ---> Running in f713aad8a07c [2023-05-30T00:16:25.538Z] Still waiting to schedule task [2023-05-30T00:16:25.539Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-30T00:16:51.599Z] Removing intermediate container f713aad8a07c [2023-05-30T00:16:51.599Z] ---> 28d916fe0e75 [2023-05-30T00:16:51.599Z] Step 9/10 : COPY . . [2023-05-30T00:16:51.599Z] ---> 9392117265ea [2023-05-30T00:16:51.599Z] Step 10/10 : RUN ${MAKE} [2023-05-30T00:16:51.599Z] ---> Running in f4ce3d39b2a3 [2023-05-30T00:16:51.599Z] noop [2023-05-30T00:16:51.599Z] Removing intermediate container f4ce3d39b2a3 [2023-05-30T00:16:51.599Z] ---> 6bff24517e4e [2023-05-30T00:16:51.599Z] Successfully built 6bff24517e4e [2023-05-30T00:16:51.599Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:16:51.907Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T00:16:51.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:16:51.977Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:16:52.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2023-05-30T00:16:52.378Z] $ docker top 7ecd853c7ac1b950aa0421dffdc8e9e28d00dad0f1759ae1734038b76263acdf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:16:52.708Z] + go version [2023-05-30T00:16:52.708Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-30T00:16:52.724Z] $ docker stop --time=1 7ecd853c7ac1b950aa0421dffdc8e9e28d00dad0f1759ae1734038b76263acdf [2023-05-30T00:16:54.029Z] $ docker rm -f --volumes 7ecd853c7ac1b950aa0421dffdc8e9e28d00dad0f1759ae1734038b76263acdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:16:54.435Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T00:16:54.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:16:54.503Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:16:54.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2023-05-30T00:16:54.860Z] $ docker top 0c3ac8c46462ab8758c0969fbb4245216286d79a3c48c8c67eabfc76d5661c70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:16:55.190Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-30T00:16:55.481Z] + make test [2023-05-30T00:16:55.481Z] go test -race -coverprofile=coverage.out ./... [2023-05-30T00:17:03.592Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-30T00:17:18.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-30T00:17:18.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-30T00:17:18.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-30T00:17:18.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-30T00:17:18.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-30T00:17:18.461Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-05-30T00:17:18.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-30T00:17:18.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-30T00:17:18.461Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 80.2% of statements [2023-05-30T00:17:18.461Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.093s coverage: 86.0% of statements [2023-05-30T00:17:18.720Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-30T00:17:18.720Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-30T00:17:18.720Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.094s coverage: 77.5% of statements [2023-05-30T00:17:18.980Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-30T00:17:18.980Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-30T00:17:19.917Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-30T00:17:21.822Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.3% of statements [2023-05-30T00:17:21.822Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements [2023-05-30T00:17:21.822Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements [2023-05-30T00:17:21.822Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.7% of statements [2023-05-30T00:17:43.766Z] GO111MODULE=on go vet ./... [2023-05-30T00:17:47.043Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-30T00:17:47.043Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-30T00:17:47.302Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-30T00:17:47.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-30T00:17:47.336Z] $ docker stop --time=1 0c3ac8c46462ab8758c0969fbb4245216286d79a3c48c8c67eabfc76d5661c70 [2023-05-30T00:17:50.481Z] $ docker rm -f --volumes 0c3ac8c46462ab8758c0969fbb4245216286d79a3c48c8c67eabfc76d5661c70 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T00:17:51.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-30T00:17:51.190Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-30T00:17:51.632Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T00:17:51.921Z] + ls -al . [2023-05-30T00:17:51.921Z] total 284 [2023-05-30T00:17:51.921Z] drwxrwxr-x 11 jenkins jenkins 4096 May 30 00:16 . [2023-05-30T00:17:51.921Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:15 .. [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:15 .dockerignore [2023-05-30T00:17:51.921Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:16 .git [2023-05-30T00:17:51.921Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:15 .github [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 137 May 30 00:15 .gitignore [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 42 May 30 00:15 .golangci.yml [2023-05-30T00:17:51.921Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:16 .semver [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 44878 May 30 00:15 CHANGELOG.md [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:15 GOVERNANCE.md [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 885 May 30 00:15 Jenkinsfile [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 30 00:15 LICENSE [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 30 00:15 Makefile [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 619 May 30 00:15 OWNERS.md [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 30 00:15 README.md [2023-05-30T00:17:51.921Z] -rw-rw-r-- 1 jenkins jenkins 11 May 30 00:16 VERSION [2023-05-30T00:17:51.921Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:15 bin [2023-05-30T00:17:51.922Z] -rw-r--r-- 1 jenkins jenkins 106150 May 30 00:17 coverage.out [2023-05-30T00:17:51.922Z] drwxrwxr-x 5 jenkins jenkins 4096 May 30 00:15 example [2023-05-30T00:17:51.922Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 30 00:15 go.mod [2023-05-30T00:17:51.922Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 30 00:15 go.sum [2023-05-30T00:17:51.922Z] drwxrwxr-x 12 jenkins jenkins 4096 May 30 00:15 internal [2023-05-30T00:17:51.922Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:15 openapi [2023-05-30T00:17:51.922Z] drwxrwxr-x 6 jenkins jenkins 4096 May 30 00:15 pkg [2023-05-30T00:17:51.922Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:15 snap [2023-05-30T00:17:51.922Z] -rw-rw-r-- 1 jenkins jenkins 222 May 30 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:17:52.230Z] + 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=0269f5defae23ecfb21598e73301b9248fb3e022 --label arch=amd64 --label version=3.0.1-dev.1 . [2023-05-30T00:17:52.230Z] Sending build context to Docker daemon 11.33MB [2023-05-30T00:17:52.230Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T00:17:52.230Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-30T00:17:52.230Z] ---> 6bff24517e4e [2023-05-30T00:17:52.230Z] Step 3/23 : ARG MAKE=make build [2023-05-30T00:17:52.488Z] ---> Running in d91e874d5d02 [2023-05-30T00:17:52.488Z] Removing intermediate container d91e874d5d02 [2023-05-30T00:17:52.488Z] ---> f59d60c26a68 [2023-05-30T00:17:52.488Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-30T00:17:52.488Z] ---> Running in f5d333e0ab96 [2023-05-30T00:17:52.747Z] Removing intermediate container f5d333e0ab96 [2023-05-30T00:17:52.747Z] ---> 4a8490f890c7 [2023-05-30T00:17:52.747Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-30T00:17:52.747Z] ---> Running in 42bd7175c396 [2023-05-30T00:17:52.747Z] Removing intermediate container 42bd7175c396 [2023-05-30T00:17:52.747Z] ---> b4451d9f6e84 [2023-05-30T00:17:52.747Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-30T00:17:52.747Z] ---> Running in e569958b2ebf [2023-05-30T00:17:53.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T00:17:53.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T00:17:53.524Z] OK: 265 MiB in 53 packages [2023-05-30T00:17:53.783Z] Removing intermediate container e569958b2ebf [2023-05-30T00:17:53.783Z] ---> 42754e48885e [2023-05-30T00:17:53.783Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-30T00:17:53.783Z] ---> e3a35d4b532a [2023-05-30T00:17:53.783Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T00:17:53.783Z] ---> Running in 5cf738554a35 [2023-05-30T00:17:54.718Z] Removing intermediate container 5cf738554a35 [2023-05-30T00:17:54.718Z] ---> 3f6b58233366 [2023-05-30T00:17:54.718Z] Step 9/23 : COPY . . [2023-05-30T00:17:55.314Z] ---> cb6112f99531 [2023-05-30T00:17:55.314Z] Step 10/23 : RUN ${MAKE} [2023-05-30T00:17:55.314Z] ---> Running in c1a1e47f345e [2023-05-30T00:17:55.572Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.1-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-30T00:18:17.496Z] Removing intermediate container c1a1e47f345e [2023-05-30T00:18:17.496Z] ---> dc0c2ce3f8df [2023-05-30T00:18:17.496Z] Step 11/23 : FROM alpine:3.17 [2023-05-30T00:18:17.496Z] 3.17: Pulling from library/alpine [2023-05-30T00:18:17.496Z] f56be85fc22e: Already exists [2023-05-30T00:18:17.496Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-30T00:18:17.496Z] Status: Downloaded newer image for alpine:3.17 [2023-05-30T00:18:17.496Z] ---> 9ed4aefc74f6 [2023-05-30T00:18:17.496Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-30T00:18:17.496Z] ---> Running in d7f2f970d0f0 [2023-05-30T00:18:17.496Z] Removing intermediate container d7f2f970d0f0 [2023-05-30T00:18:17.496Z] ---> 7390692c6761 [2023-05-30T00:18:17.496Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-30T00:18:17.496Z] ---> Running in 817870e60682 [2023-05-30T00:18:17.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-30T00:18:17.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-30T00:18:17.496Z] OK: 7 MiB in 15 packages [2023-05-30T00:18:17.496Z] Removing intermediate container 817870e60682 [2023-05-30T00:18:17.496Z] ---> 0dc822fc5260 [2023-05-30T00:18:17.496Z] Step 14/23 : WORKDIR / [2023-05-30T00:18:17.496Z] ---> Running in 126cb7c3d47b [2023-05-30T00:18:17.496Z] Removing intermediate container 126cb7c3d47b [2023-05-30T00:18:17.496Z] ---> af259d7d6841 [2023-05-30T00:18:17.496Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-30T00:18:17.496Z] ---> 70590e79bb21 [2023-05-30T00:18:17.496Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-30T00:18:17.496Z] ---> 200823edc4ad [2023-05-30T00:18:17.496Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-30T00:18:17.496Z] ---> b390654050e1 [2023-05-30T00:18:17.496Z] Step 18/23 : EXPOSE 59999 [2023-05-30T00:18:17.496Z] ---> Running in 5b3def8da574 [2023-05-30T00:18:17.496Z] Removing intermediate container 5b3def8da574 [2023-05-30T00:18:17.496Z] ---> c7943b4df9eb [2023-05-30T00:18:17.496Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-30T00:18:17.496Z] ---> Running in cc0399ef2ab1 [2023-05-30T00:18:17.755Z] Removing intermediate container cc0399ef2ab1 [2023-05-30T00:18:17.755Z] ---> 85081f70bb51 [2023-05-30T00:18:17.755Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-30T00:18:17.755Z] ---> Running in 5c45762772e9 [2023-05-30T00:18:17.755Z] Removing intermediate container 5c45762772e9 [2023-05-30T00:18:17.755Z] ---> 053997025cdd [2023-05-30T00:18:17.755Z] Step 21/23 : LABEL arch=amd64 [2023-05-30T00:18:17.755Z] ---> Running in d2e1591a951e [2023-05-30T00:18:17.755Z] Removing intermediate container d2e1591a951e [2023-05-30T00:18:17.755Z] ---> 672c35b91a50 [2023-05-30T00:18:17.755Z] Step 22/23 : LABEL git_sha=0269f5defae23ecfb21598e73301b9248fb3e022 [2023-05-30T00:18:17.755Z] ---> Running in f66cee9b86b7 [2023-05-30T00:18:18.014Z] Removing intermediate container f66cee9b86b7 [2023-05-30T00:18:18.014Z] ---> 4352431a7cc1 [2023-05-30T00:18:18.014Z] Step 23/23 : LABEL version=3.0.1-dev.1 [2023-05-30T00:18:18.014Z] ---> Running in a1789e1d7571 [2023-05-30T00:18:18.014Z] Removing intermediate container a1789e1d7571 [2023-05-30T00:18:18.014Z] ---> ece007943397 [2023-05-30T00:18:18.014Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-30T00:18:18.014Z] Successfully built ece007943397 [2023-05-30T00:18:18.014Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:18:18.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T00:18:18.436Z] [2023-05-30T00:18:18.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:18:18.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T00:18:18.732Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-30T00:18:18.732Z] 5eb5b503b376: Pulling fs layer [2023-05-30T00:18:18.732Z] 5c69ac0246d0: Pulling fs layer [2023-05-30T00:18:18.732Z] ec43610c2a17: Pulling fs layer [2023-05-30T00:18:18.732Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-30T00:18:18.732Z] 33b1e0a273af: Pulling fs layer [2023-05-30T00:18:18.732Z] 5d3b04190fa2: Pulling fs layer [2023-05-30T00:18:18.732Z] 2f39f015ded8: Pulling fs layer [2023-05-30T00:18:18.732Z] 3a2ae6a8a46f: Waiting [2023-05-30T00:18:18.732Z] 33b1e0a273af: Waiting [2023-05-30T00:18:18.732Z] 5d3b04190fa2: Waiting [2023-05-30T00:18:18.732Z] 2f39f015ded8: Waiting [2023-05-30T00:18:18.732Z] 5c69ac0246d0: Verifying Checksum [2023-05-30T00:18:18.732Z] 5c69ac0246d0: Download complete [2023-05-30T00:18:18.732Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-30T00:18:18.732Z] 3a2ae6a8a46f: Download complete [2023-05-30T00:18:18.732Z] 33b1e0a273af: Verifying Checksum [2023-05-30T00:18:18.732Z] 33b1e0a273af: Download complete [2023-05-30T00:18:18.732Z] ec43610c2a17: Verifying Checksum [2023-05-30T00:18:18.732Z] ec43610c2a17: Download complete [2023-05-30T00:18:18.732Z] 5d3b04190fa2: Download complete [2023-05-30T00:18:18.989Z] 5eb5b503b376: Verifying Checksum [2023-05-30T00:18:18.989Z] 5eb5b503b376: Download complete [2023-05-30T00:18:19.557Z] 2f39f015ded8: Download complete [2023-05-30T00:18:20.123Z] 5eb5b503b376: Pull complete [2023-05-30T00:18:20.123Z] 5c69ac0246d0: Pull complete [2023-05-30T00:18:20.688Z] ec43610c2a17: Pull complete [2023-05-30T00:18:20.688Z] 3a2ae6a8a46f: Pull complete [2023-05-30T00:18:20.946Z] 33b1e0a273af: Pull complete [2023-05-30T00:18:20.946Z] 5d3b04190fa2: Pull complete [2023-05-30T00:18:25.131Z] 2f39f015ded8: Pull complete [2023-05-30T00:18:25.131Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-30T00:18:25.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T00:18:25.131Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:18:25.215Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:18:25.250Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-30T00:18:28.722Z] $ docker top 725e47b54cee0478efbb5d4cf27a5c647537e1c486f1ba7a6f071f6d34008759 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:18:29.088Z] ---> job-cost.sh [2023-05-30T00:18:29.088Z] lf-activate-venv: SKIPPING [2023-05-30T00:18:29.088Z] INFO: No Stack... [2023-05-30T00:18:29.347Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T00:18:29.606Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T00:18:29.893Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-05-30T00:18:29.893Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T00:18:29.906Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [2023-05-30T00:18:29.915Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] did not exist. Created. [2023-05-30T00:18:29.915Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T00:18:30.224Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-30T00:18:30.256Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T00:18:30.262Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T00:18:30.287Z] $ docker stop --time=1 725e47b54cee0478efbb5d4cf27a5c647537e1c486f1ba7a6f071f6d34008759 [2023-05-30T00:18:31.421Z] $ docker rm -f --volumes 725e47b54cee0478efbb5d4cf27a5c647537e1c486f1ba7a6f071f6d34008759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-30T00:19:27.978Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17223 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-05-30T00:19:27.991Z] Running in /w/workspace/device-sdk-go/229 [Pipeline] { [Pipeline] checkout [2023-05-30T00:19:28.030Z] The recommended git tool is: git [2023-05-30T00:19:35.034Z] using credential edgex-jenkins-ssh [2023-05-30T00:19:35.052Z] Cloning the remote Git repository [2023-05-30T00:19:35.113Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-30T00:19:35.227Z] > git init /w/workspace/device-sdk-go/229 # timeout=10 [2023-05-30T00:19:35.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-30T00:19:35.415Z] > git --version # timeout=10 [2023-05-30T00:19:35.442Z] > git --version # 'git version 2.25.1' [2023-05-30T00:19:35.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T00:19:35.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T00:19:37.600Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-30T00:19:37.625Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T00:19:38.753Z] Avoid second fetch [2023-05-30T00:19:38.753Z] Checking out Revision 0269f5defae23ecfb21598e73301b9248fb3e022 (main) [2023-05-30T00:19:39.535Z] Commit message: "Merge pull request #1465 from jumpingliu/update-readme" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T00:19:38.778Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T00:19:38.866Z] > git checkout -f 0269f5defae23ecfb21598e73301b9248fb3e022 # timeout=10 [2023-05-30T00:19:40.488Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-30T00:19:40.488Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T00:19:40.488Z] Dload Upload Total Spent Left Speed [2023-05-30T00:19:40.488Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh [2023-05-30T00:19:41.234Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-30T00:19:41.605Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-30T00:19:41.605Z] + sudo tee /etc/docker/daemon.new [2023-05-30T00:19:41.605Z] { [2023-05-30T00:19:41.605Z] "registry-mirrors": [ [2023-05-30T00:19:41.605Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-30T00:19:41.605Z] ], [2023-05-30T00:19:41.605Z] "bip": "10.250.0.254/24", [2023-05-30T00:19:41.605Z] "hosts": [ [2023-05-30T00:19:41.605Z] "tcp://0.0.0.0:5555", [2023-05-30T00:19:41.605Z] "unix:///var/run/docker.sock" [2023-05-30T00:19:41.605Z] ], [2023-05-30T00:19:41.605Z] "mtu": 1458, [2023-05-30T00:19:41.605Z] "selinux-enabled": true, [2023-05-30T00:19:41.605Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-30T00:19:41.605Z] } [Pipeline] sh [2023-05-30T00:19:41.966Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-30T00:19:42.314Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:20:00.659Z] provisioning config files... [2023-05-30T00:20:00.696Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/229@tmp/config10364098666492343034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:20:01.084Z] ---> docker-login.sh [2023-05-30T00:20:01.084Z] nexus3.edgexfoundry.org:10001 [2023-05-30T00:20:01.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:20:01.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:20:01.686Z] Configure a credential helper to remove this warning. See [2023-05-30T00:20:01.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:20:01.686Z] [2023-05-30T00:20:01.686Z] Login Succeeded [2023-05-30T00:20:01.686Z] nexus3.edgexfoundry.org:10002 [2023-05-30T00:20:02.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:20:02.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:20:02.285Z] Configure a credential helper to remove this warning. See [2023-05-30T00:20:02.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:20:02.285Z] [2023-05-30T00:20:02.285Z] Login Succeeded [2023-05-30T00:20:02.285Z] nexus3.edgexfoundry.org:10003 [2023-05-30T00:20:02.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:20:02.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:20:02.559Z] Configure a credential helper to remove this warning. See [2023-05-30T00:20:02.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:20:02.559Z] [2023-05-30T00:20:02.559Z] Login Succeeded [2023-05-30T00:20:02.559Z] nexus3.edgexfoundry.org:10004 [2023-05-30T00:20:02.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:20:03.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:20:03.118Z] Configure a credential helper to remove this warning. See [2023-05-30T00:20:03.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:20:03.118Z] [2023-05-30T00:20:03.118Z] Login Succeeded [2023-05-30T00:20:03.118Z] docker.io [2023-05-30T00:20:03.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T00:20:04.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T00:20:04.364Z] Configure a credential helper to remove this warning. See [2023-05-30T00:20:04.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T00:20:04.364Z] [2023-05-30T00:20:04.364Z] Login Succeeded [2023-05-30T00:20:04.364Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T00:20:04.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T00:20:04.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:20:04.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T00:20:04.747Z] ========================================================= [2023-05-30T00:20:04.747Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-30T00:20:04.747Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:20:05.115Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-30T00:20:05.727Z] Sending build context to Docker daemon 6.046MB [2023-05-30T00:20:05.728Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T00:20:05.728Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-30T00:20:05.728Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-30T00:20:05.728Z] c41833b44d91: Pulling fs layer [2023-05-30T00:20:05.728Z] ed15518f5707: Pulling fs layer [2023-05-30T00:20:05.728Z] feae8fd75edb: Pulling fs layer [2023-05-30T00:20:05.728Z] 242c74f7c9fa: Pulling fs layer [2023-05-30T00:20:05.728Z] 3cdef696dda3: Pulling fs layer [2023-05-30T00:20:05.728Z] 2ced38df9373: Pulling fs layer [2023-05-30T00:20:05.728Z] 58f1dce35555: Pulling fs layer [2023-05-30T00:20:05.728Z] 242c74f7c9fa: Waiting [2023-05-30T00:20:05.728Z] 3cdef696dda3: Waiting [2023-05-30T00:20:05.728Z] 58f1dce35555: Waiting [2023-05-30T00:20:05.728Z] 2ced38df9373: Waiting [2023-05-30T00:20:05.728Z] ed15518f5707: Download complete [2023-05-30T00:20:05.999Z] 242c74f7c9fa: Verifying Checksum [2023-05-30T00:20:05.999Z] 242c74f7c9fa: Download complete [2023-05-30T00:20:05.999Z] 3cdef696dda3: Verifying Checksum [2023-05-30T00:20:05.999Z] 3cdef696dda3: Download complete [2023-05-30T00:20:05.999Z] c41833b44d91: Verifying Checksum [2023-05-30T00:20:05.999Z] c41833b44d91: Download complete [2023-05-30T00:20:06.999Z] c41833b44d91: Pull complete [2023-05-30T00:20:07.612Z] 58f1dce35555: Verifying Checksum [2023-05-30T00:20:07.612Z] 58f1dce35555: Download complete [2023-05-30T00:20:07.890Z] ed15518f5707: Pull complete [2023-05-30T00:20:08.883Z] 2ced38df9373: Verifying Checksum [2023-05-30T00:20:08.883Z] 2ced38df9373: Download complete [2023-05-30T00:20:08.883Z] feae8fd75edb: Verifying Checksum [2023-05-30T00:20:08.883Z] feae8fd75edb: Download complete [2023-05-30T00:20:21.258Z] feae8fd75edb: Pull complete [2023-05-30T00:20:21.258Z] 242c74f7c9fa: Pull complete [2023-05-30T00:20:21.258Z] 3cdef696dda3: Pull complete [2023-05-30T00:20:29.514Z] 2ced38df9373: Pull complete [2023-05-30T00:20:31.479Z] 58f1dce35555: Pull complete [2023-05-30T00:20:31.479Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-30T00:20:31.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-30T00:20:31.479Z] ---> fadd8f120f05 [2023-05-30T00:20:31.479Z] Step 3/10 : ARG MAKE=make build [2023-05-30T00:20:33.441Z] ---> Running in 4dd944a10e30 [2023-05-30T00:20:34.032Z] Removing intermediate container 4dd944a10e30 [2023-05-30T00:20:34.032Z] ---> 40b4926318ec [2023-05-30T00:20:34.032Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-30T00:20:34.032Z] ---> Running in ef58365f8b25 [2023-05-30T00:20:34.316Z] Removing intermediate container ef58365f8b25 [2023-05-30T00:20:34.316Z] ---> 72d208617400 [2023-05-30T00:20:34.316Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-30T00:20:34.316Z] ---> Running in 912a7370dea6 [2023-05-30T00:20:34.905Z] Removing intermediate container 912a7370dea6 [2023-05-30T00:20:34.905Z] ---> 3587dc4c0b07 [2023-05-30T00:20:34.905Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-30T00:20:34.905Z] ---> Running in ec5d523039c1 [2023-05-30T00:20:35.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T00:20:36.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T00:20:37.912Z] OK: 263 MiB in 53 packages [2023-05-30T00:20:38.880Z] Removing intermediate container ec5d523039c1 [2023-05-30T00:20:38.880Z] ---> 3bb487068a6c [2023-05-30T00:20:38.880Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-30T00:20:39.468Z] ---> c6918c1daba6 [2023-05-30T00:20:39.468Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T00:20:39.468Z] ---> Running in e486fd69213e [2023-05-30T00:21:47.470Z] Removing intermediate container e486fd69213e [2023-05-30T00:21:47.470Z] ---> 127ddeddbb79 [2023-05-30T00:21:47.470Z] Step 9/10 : COPY . . [2023-05-30T00:21:47.470Z] ---> 40b32cbe7afa [2023-05-30T00:21:47.470Z] Step 10/10 : RUN ${MAKE} [2023-05-30T00:21:47.470Z] ---> Running in 1b3a79b9b7c7 [2023-05-30T00:21:47.470Z] noop [2023-05-30T00:21:47.470Z] Removing intermediate container 1b3a79b9b7c7 [2023-05-30T00:21:47.470Z] ---> 88d29d28ad18 [2023-05-30T00:21:47.470Z] Successfully built 88d29d28ad18 [2023-05-30T00:21:47.470Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:21:47.836Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T00:21:47.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:21:48.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-17223 does not seem to be running inside a container [2023-05-30T00:21:48.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/229 -v /w/workspace/device-sdk-go/229:/w/workspace/device-sdk-go/229:rw,z -v /w/workspace/device-sdk-go/229@tmp:/w/workspace/device-sdk-go/229@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 ******** ci-base-image-arm64 cat [2023-05-30T00:21:49.431Z] $ docker top 2553d7d00a0d9bd1df6456a1e0d304fcf8724ce4f5a5f35233bf85b8a88acce3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:21:50.274Z] + go version [2023-05-30T00:21:50.275Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-30T00:21:50.299Z] $ docker stop --time=1 2553d7d00a0d9bd1df6456a1e0d304fcf8724ce4f5a5f35233bf85b8a88acce3 [2023-05-30T00:21:52.768Z] $ docker rm -f --volumes 2553d7d00a0d9bd1df6456a1e0d304fcf8724ce4f5a5f35233bf85b8a88acce3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:21:53.346Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T00:21:53.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:21:53.553Z] prd-ubuntu20.04-docker-arm64-4c-16g-17223 does not seem to be running inside a container [2023-05-30T00:21:53.637Z] $ 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/229 -v /w/workspace/device-sdk-go/229:/w/workspace/device-sdk-go/229:rw,z -v /w/workspace/device-sdk-go/229@tmp:/w/workspace/device-sdk-go/229@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 ******** ci-base-image-arm64 cat [2023-05-30T00:21:54.926Z] $ docker top de5113bf14b845b4ef257159e5576248ef937f833dc0526fe9ebe01fceab1d7c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:21:55.777Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/229 [Pipeline] fileExists [Pipeline] sh [2023-05-30T00:21:56.443Z] + make test [2023-05-30T00:21:56.443Z] go test -race -coverprofile=coverage.out ./... [2023-05-30T00:22:43.329Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-30T00:25:35.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-30T00:25:35.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-30T00:25:35.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-30T00:25:35.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-30T00:25:35.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-30T00:25:35.116Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.233s coverage: 27.6% of statements [2023-05-30T00:25:36.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.304s coverage: 80.2% of statements [2023-05-30T00:25:48.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-30T00:25:48.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-30T00:25:48.435Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.464s coverage: 86.0% of statements [2023-05-30T00:25:53.839Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-30T00:25:53.839Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-30T00:25:54.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.563s coverage: 77.5% of statements [2023-05-30T00:25:57.476Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.302s coverage: 14.3% of statements [2023-05-30T00:26:00.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-30T00:26:00.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-30T00:26:00.840Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.505s coverage: 68.5% of statements [2023-05-30T00:26:02.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.506s coverage: 89.2% of statements [2023-05-30T00:26:07.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-30T00:26:07.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.297s coverage: 5.7% of statements [2023-05-30T00:26:07.732Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-30T00:26:07.732Z] GO111MODULE=on go vet ./... [2023-05-30T00:28:59.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-30T00:28:59.569Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-30T00:28:59.569Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-30T00:28:59.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-30T00:28:59.605Z] $ docker stop --time=1 de5113bf14b845b4ef257159e5576248ef937f833dc0526fe9ebe01fceab1d7c [2023-05-30T00:29:01.579Z] $ docker rm -f --volumes de5113bf14b845b4ef257159e5576248ef937f833dc0526fe9ebe01fceab1d7c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T00:29:03.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-30T00:29:03.428Z] Warning: overwriting stash ‘coverage-report’ [2023-05-30T00:29:04.171Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T00:29:04.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T00:29:04.900Z] + ls -al . [2023-05-30T00:29:04.900Z] total 280 [2023-05-30T00:29:04.900Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 00:21 . [2023-05-30T00:29:04.900Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:19 .. [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:19 .dockerignore [2023-05-30T00:29:04.900Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:19 .git [2023-05-30T00:29:04.900Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:19 .github [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 137 May 30 00:19 .gitignore [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 42 May 30 00:19 .golangci.yml [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 44878 May 30 00:19 CHANGELOG.md [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:19 GOVERNANCE.md [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 885 May 30 00:19 Jenkinsfile [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 30 00:19 LICENSE [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 30 00:19 Makefile [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 619 May 30 00:19 OWNERS.md [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 30 00:19 README.md [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 11 May 30 00:16 VERSION [2023-05-30T00:29:04.900Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:19 bin [2023-05-30T00:29:04.900Z] -rw-r--r-- 1 jenkins jenkins 106150 May 30 00:26 coverage.out [2023-05-30T00:29:04.900Z] drwxrwxr-x 5 jenkins jenkins 4096 May 30 00:19 example [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 3193 May 30 00:19 go.mod [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 30699 May 30 00:19 go.sum [2023-05-30T00:29:04.900Z] drwxrwxr-x 12 jenkins jenkins 4096 May 30 00:19 internal [2023-05-30T00:29:04.900Z] drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:19 openapi [2023-05-30T00:29:04.900Z] drwxrwxr-x 6 jenkins jenkins 4096 May 30 00:19 pkg [2023-05-30T00:29:04.900Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:19 snap [2023-05-30T00:29:04.900Z] -rw-rw-r-- 1 jenkins jenkins 222 May 30 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:29:05.244Z] + 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=0269f5defae23ecfb21598e73301b9248fb3e022 --label arch=arm64 --label version=3.0.1-dev.1 . [2023-05-30T00:29:05.834Z] Sending build context to Docker daemon 6.153MB [2023-05-30T00:29:05.834Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-30T00:29:05.834Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-30T00:29:05.834Z] ---> 88d29d28ad18 [2023-05-30T00:29:05.834Z] Step 3/23 : ARG MAKE=make build [2023-05-30T00:29:05.834Z] ---> Running in 314fb0b04506 [2023-05-30T00:29:06.103Z] Removing intermediate container 314fb0b04506 [2023-05-30T00:29:06.103Z] ---> e996afaf717f [2023-05-30T00:29:06.103Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-30T00:29:06.370Z] ---> Running in dbac24c20c6f [2023-05-30T00:29:06.640Z] Removing intermediate container dbac24c20c6f [2023-05-30T00:29:06.640Z] ---> da7db202e5b3 [2023-05-30T00:29:06.640Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-30T00:29:06.640Z] ---> Running in edb7e0533ab8 [2023-05-30T00:29:06.917Z] Removing intermediate container edb7e0533ab8 [2023-05-30T00:29:06.917Z] ---> 1b1e1528f152 [2023-05-30T00:29:06.917Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-30T00:29:07.188Z] ---> Running in 4a2b9374cb35 [2023-05-30T00:29:08.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T00:29:08.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T00:29:10.151Z] OK: 263 MiB in 53 packages [2023-05-30T00:29:12.103Z] Removing intermediate container 4a2b9374cb35 [2023-05-30T00:29:12.103Z] ---> a0873251b5b1 [2023-05-30T00:29:12.103Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-30T00:29:12.373Z] ---> a14fe804ab45 [2023-05-30T00:29:12.373Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-30T00:29:12.373Z] ---> Running in d019e96a609c [2023-05-30T00:29:14.964Z] Removing intermediate container d019e96a609c [2023-05-30T00:29:14.964Z] ---> 81908c1347c4 [2023-05-30T00:29:14.964Z] Step 9/23 : COPY . . [2023-05-30T00:29:16.939Z] ---> 37662b8673b0 [2023-05-30T00:29:16.939Z] Step 10/23 : RUN ${MAKE} [2023-05-30T00:29:16.940Z] ---> Running in c48e2cf72f74 [2023-05-30T00:29:17.915Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.1-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-30T00:31:39.621Z] Removing intermediate container c48e2cf72f74 [2023-05-30T00:31:39.621Z] ---> 70bc570996a0 [2023-05-30T00:31:39.621Z] Step 11/23 : FROM alpine:3.17 [2023-05-30T00:31:39.621Z] 3.17: Pulling from library/alpine [2023-05-30T00:31:39.621Z] c41833b44d91: Already exists [2023-05-30T00:31:39.621Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-30T00:31:39.621Z] Status: Downloaded newer image for alpine:3.17 [2023-05-30T00:31:39.621Z] ---> 51e60588ff2c [2023-05-30T00:31:39.621Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-30T00:31:39.621Z] ---> Running in aebe84346c67 [2023-05-30T00:31:39.621Z] Removing intermediate container aebe84346c67 [2023-05-30T00:31:39.621Z] ---> 9b3e463a1d9b [2023-05-30T00:31:39.621Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-30T00:31:39.621Z] ---> Running in 57e34859072d [2023-05-30T00:31:40.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-30T00:31:41.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-30T00:31:42.509Z] OK: 7 MiB in 15 packages [2023-05-30T00:31:43.471Z] Removing intermediate container 57e34859072d [2023-05-30T00:31:43.471Z] ---> 4ba24ff5e951 [2023-05-30T00:31:43.471Z] Step 14/23 : WORKDIR / [2023-05-30T00:31:43.471Z] ---> Running in 07ec33ac8ec4 [2023-05-30T00:31:43.739Z] Removing intermediate container 07ec33ac8ec4 [2023-05-30T00:31:43.739Z] ---> fa7b0f7a8411 [2023-05-30T00:31:43.739Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-30T00:31:44.326Z] ---> 0260062d6af7 [2023-05-30T00:31:44.326Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-30T00:31:45.736Z] ---> 544d05a0eae3 [2023-05-30T00:31:45.736Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-30T00:31:46.004Z] ---> 542fb920cc5c [2023-05-30T00:31:46.004Z] Step 18/23 : EXPOSE 59999 [2023-05-30T00:31:46.273Z] ---> Running in bb047dfe09f5 [2023-05-30T00:31:46.540Z] Removing intermediate container bb047dfe09f5 [2023-05-30T00:31:46.540Z] ---> c909b6d6fb1c [2023-05-30T00:31:46.540Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-30T00:31:46.540Z] ---> Running in 381c1a9eaf91 [2023-05-30T00:31:46.808Z] Removing intermediate container 381c1a9eaf91 [2023-05-30T00:31:46.808Z] ---> 45ff26430cc2 [2023-05-30T00:31:46.808Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-30T00:31:46.808Z] ---> Running in 8ab7e44b551d [2023-05-30T00:31:47.076Z] Removing intermediate container 8ab7e44b551d [2023-05-30T00:31:47.076Z] ---> e68bc1453f35 [2023-05-30T00:31:47.076Z] Step 21/23 : LABEL arch=arm64 [2023-05-30T00:31:47.344Z] ---> Running in 269b7b1bdd09 [2023-05-30T00:31:47.612Z] Removing intermediate container 269b7b1bdd09 [2023-05-30T00:31:47.612Z] ---> db7eab063b58 [2023-05-30T00:31:47.612Z] Step 22/23 : LABEL git_sha=0269f5defae23ecfb21598e73301b9248fb3e022 [2023-05-30T00:31:47.612Z] ---> Running in 137a253ce789 [2023-05-30T00:31:47.880Z] Removing intermediate container 137a253ce789 [2023-05-30T00:31:47.880Z] ---> b57c0815bc5a [2023-05-30T00:31:47.880Z] Step 23/23 : LABEL version=3.0.1-dev.1 [2023-05-30T00:31:47.880Z] ---> Running in 21eddf7ecbf4 [2023-05-30T00:31:48.469Z] Removing intermediate container 21eddf7ecbf4 [2023-05-30T00:31:48.469Z] ---> b7ece40b5072 [2023-05-30T00:31:48.469Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-30T00:31:48.469Z] Successfully built b7ece40b5072 [2023-05-30T00:31:48.469Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:31:48.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T00:31:48.911Z] [2023-05-30T00:31:48.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:31:49.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T00:31:49.251Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-30T00:31:49.251Z] 8998bd30e6a1: Pulling fs layer [2023-05-30T00:31:49.251Z] 04944245beec: Pulling fs layer [2023-05-30T00:31:49.251Z] 699f458cf7ca: Pulling fs layer [2023-05-30T00:31:49.251Z] 765212b225bb: Pulling fs layer [2023-05-30T00:31:49.251Z] f23df028b6ca: Pulling fs layer [2023-05-30T00:31:49.251Z] d65c8cfc05b1: Pulling fs layer [2023-05-30T00:31:49.251Z] 2437ff75d9bd: Pulling fs layer [2023-05-30T00:31:49.251Z] f23df028b6ca: Waiting [2023-05-30T00:31:49.252Z] 765212b225bb: Waiting [2023-05-30T00:31:49.252Z] 2437ff75d9bd: Waiting [2023-05-30T00:31:49.252Z] d65c8cfc05b1: Waiting [2023-05-30T00:31:49.525Z] 04944245beec: Verifying Checksum [2023-05-30T00:31:49.525Z] 04944245beec: Download complete [2023-05-30T00:31:49.525Z] 765212b225bb: Verifying Checksum [2023-05-30T00:31:49.525Z] 765212b225bb: Download complete [2023-05-30T00:31:49.525Z] f23df028b6ca: Verifying Checksum [2023-05-30T00:31:49.525Z] f23df028b6ca: Download complete [2023-05-30T00:31:49.525Z] d65c8cfc05b1: Verifying Checksum [2023-05-30T00:31:49.525Z] d65c8cfc05b1: Download complete [2023-05-30T00:31:49.797Z] 699f458cf7ca: Verifying Checksum [2023-05-30T00:31:49.797Z] 699f458cf7ca: Download complete [2023-05-30T00:31:50.067Z] 8998bd30e6a1: Download complete [2023-05-30T00:31:52.655Z] 2437ff75d9bd: Verifying Checksum [2023-05-30T00:31:52.655Z] 2437ff75d9bd: Download complete [2023-05-30T00:31:55.997Z] 8998bd30e6a1: Pull complete [2023-05-30T00:31:56.264Z] 04944245beec: Pull complete [2023-05-30T00:31:57.676Z] 699f458cf7ca: Pull complete [2023-05-30T00:31:57.676Z] 765212b225bb: Pull complete [2023-05-30T00:31:58.649Z] f23df028b6ca: Pull complete [2023-05-30T00:31:58.649Z] d65c8cfc05b1: Pull complete [2023-05-30T00:32:13.640Z] 2437ff75d9bd: Pull complete [2023-05-30T00:32:13.640Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-30T00:32:13.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T00:32:13.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:32:13.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-17223 does not seem to be running inside a container [2023-05-30T00:32:13.907Z] $ 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/229 -v /w/workspace/device-sdk-go/229:/w/workspace/device-sdk-go/229:rw,z -v /w/workspace/device-sdk-go/229@tmp:/w/workspace/device-sdk-go/229@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-30T00:32:16.822Z] $ docker top 2dfc5d22494642a84b75542da9597a6b04a98f612c22ed05c065a5a045ae0f60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:32:17.672Z] ---> job-cost.sh [2023-05-30T00:32:17.672Z] lf-activate-venv: SKIPPING [2023-05-30T00:32:17.672Z] INFO: No Stack... [2023-05-30T00:32:18.257Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-30T00:32:18.840Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T00:32:19.479Z] + cat /w/workspace/device-sdk-go/229/archives/cost.csv [2023-05-30T00:32:19.479Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T00:32:19.515Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [2023-05-30T00:32:19.520Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] did not exist. Created. [2023-05-30T00:32:19.520Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T00:32:20.184Z] /w/workspace/device-sdk-go/229@tmp/durable-1183da09/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-30T00:32:20.844Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-30T00:32:20.869Z] Warning: overwriting stash ‘stack-cost’ [2023-05-30T00:32:20.936Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T00:32:20.943Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T00:32:20.967Z] $ docker stop --time=1 2dfc5d22494642a84b75542da9597a6b04a98f612c22ed05c065a5a045ae0f60 [2023-05-30T00:32:23.195Z] $ docker rm -f --volumes 2dfc5d22494642a84b75542da9597a6b04a98f612c22ed05c065a5a045ae0f60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-30T00:32:23.564Z] provisioning config files... [2023-05-30T00:32:23.572Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10747330261493017312tmp [Pipeline] { [Pipeline] sh [2023-05-30T00:32:23.874Z] + set +x [2023-05-30T00:32:23.874Z] + + curl -s https://codecov.io/bash [2023-05-30T00:32:23.874Z] bash -s -- [2023-05-30T00:32:23.874Z] [2023-05-30T00:32:23.874Z] _____ _ [2023-05-30T00:32:23.874Z] / ____| | | [2023-05-30T00:32:23.874Z] | | ___ __| | ___ ___ _____ __ [2023-05-30T00:32:23.874Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-30T00:32:23.874Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-30T00:32:23.874Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-30T00:32:23.874Z] Bash-1.0.6 [2023-05-30T00:32:23.874Z] [2023-05-30T00:32:23.874Z] [2023-05-30T00:32:23.874Z] ==> git version 2.25.1 found [2023-05-30T00:32:23.874Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-30T00:32:23.874Z] Release-Date: 2020-01-08 [2023-05-30T00:32:23.874Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-30T00:32:23.874Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-30T00:32:23.874Z] ==> Jenkins CI detected. [2023-05-30T00:32:23.874Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-05-30T00:32:23.874Z] project root: . [2023-05-30T00:32:23.874Z] --> token set from env [2023-05-30T00:32:23.874Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-30T00:32:23.874Z] ==> Running gcov in . (disable via -X gcov) [2023-05-30T00:32:23.874Z] ==> Python coveragepy not found [2023-05-30T00:32:23.874Z] ==> Searching for coverage reports in: [2023-05-30T00:32:23.874Z] + . [2023-05-30T00:32:23.874Z] -> Found 1 reports [2023-05-30T00:32:23.874Z] ==> Detecting git/mercurial file structure [2023-05-30T00:32:23.874Z] ==> Reading reports [2023-05-30T00:32:23.874Z] + ./coverage.out bytes=106150 [2023-05-30T00:32:23.874Z] ==> Appending adjustments [2023-05-30T00:32:23.874Z] https://docs.codecov.io/docs/fixing-reports [2023-05-30T00:32:24.442Z] + Found adjustments [2023-05-30T00:32:24.442Z] ==> Gzipping contents [2023-05-30T00:32:24.442Z] 16K /tmp/codecov.rnO4PN.gz [2023-05-30T00:32:24.442Z] ==> Uploading reports [2023-05-30T00:32:24.442Z] url: https://codecov.io [2023-05-30T00:32:24.442Z] query: branch=main&commit=0269f5defae23ecfb21598e73301b9248fb3e022&build=229&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F229%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-30T00:32:24.442Z] -> Pinging Codecov [2023-05-30T00:32:24.442Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=0269f5defae23ecfb21598e73301b9248fb3e022&build=229&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F229%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-30T00:32:24.442Z] -> Uploading to [2023-05-30T00:32:24.442Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-30/7E55EF52A471D76F132DFD9A03CDDE97/0269f5defae23ecfb21598e73301b9248fb3e022/d7e741a6-9513-47d9-ae0f-dccf9b3fbcff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T003224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76e053e6ba9ef34a151955ee6743a2c65fb62a51193027ba8ac62bc7f91f95f7 [2023-05-30T00:32:24.442Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T00:32:24.442Z] Dload Upload Total Spent Left Speed [2023-05-30T00:32:24.701Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15123 0 0 100 15123 0 74866 --:--:-- --:--:-- --:--:-- 74866 [2023-05-30T00:32:24.701Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] } [2023-05-30T00:32:24.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-30T00:32:24.835Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-30T00:32:24.847Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:32:25.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-30T00:32:25.149Z] [2023-05-30T00:32:25.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:32:25.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-30T00:32:25.446Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-30T00:32:25.446Z] df9b9388f04a: Pulling fs layer [2023-05-30T00:32:25.446Z] 52dc419b0ee2: Pulling fs layer [2023-05-30T00:32:25.446Z] 25bc292e5bac: Pulling fs layer [2023-05-30T00:32:25.446Z] 114826534d7a: Pulling fs layer [2023-05-30T00:32:25.446Z] 4657fd5d0bcf: Pulling fs layer [2023-05-30T00:32:25.446Z] 6ad1cebc031e: Pulling fs layer [2023-05-30T00:32:25.446Z] 8a3aa393b2d8: Pulling fs layer [2023-05-30T00:32:25.446Z] 114826534d7a: Waiting [2023-05-30T00:32:25.446Z] 4657fd5d0bcf: Waiting [2023-05-30T00:32:25.446Z] 6ad1cebc031e: Waiting [2023-05-30T00:32:25.446Z] 8a3aa393b2d8: Waiting [2023-05-30T00:32:25.446Z] 25bc292e5bac: Verifying Checksum [2023-05-30T00:32:25.446Z] 25bc292e5bac: Download complete [2023-05-30T00:32:25.446Z] 52dc419b0ee2: Verifying Checksum [2023-05-30T00:32:25.446Z] 52dc419b0ee2: Download complete [2023-05-30T00:32:25.446Z] 4657fd5d0bcf: Download complete [2023-05-30T00:32:25.446Z] df9b9388f04a: Verifying Checksum [2023-05-30T00:32:25.446Z] df9b9388f04a: Download complete [2023-05-30T00:32:25.705Z] 6ad1cebc031e: Verifying Checksum [2023-05-30T00:32:25.705Z] 6ad1cebc031e: Download complete [2023-05-30T00:32:25.705Z] df9b9388f04a: Pull complete [2023-05-30T00:32:25.705Z] 52dc419b0ee2: Pull complete [2023-05-30T00:32:25.965Z] 25bc292e5bac: Pull complete [2023-05-30T00:32:26.224Z] 114826534d7a: Verifying Checksum [2023-05-30T00:32:26.224Z] 114826534d7a: Download complete [2023-05-30T00:32:26.224Z] 8a3aa393b2d8: Verifying Checksum [2023-05-30T00:32:26.224Z] 8a3aa393b2d8: Download complete [2023-05-30T00:32:30.408Z] 114826534d7a: Pull complete [2023-05-30T00:32:30.408Z] 4657fd5d0bcf: Pull complete [2023-05-30T00:32:30.408Z] 6ad1cebc031e: Pull complete [2023-05-30T00:32:32.942Z] 8a3aa393b2d8: Pull complete [2023-05-30T00:32:32.942Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-30T00:32:32.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-30T00:32:32.942Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:32:33.026Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:32:33.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-30T00:32:36.874Z] $ docker top 30c60d26b2762af1576b1c8ebf8e467a4dd1a1342ed92c1204636d5eeae7c9ae -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-30T00:32:36.921Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-05-30T00:32:37.199Z] + set -o pipefail [2023-05-30T00:32:37.200Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-05-30T00:32:41.385Z] [2023-05-30T00:32:41.385Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-05-30T00:32:41.385Z] [2023-05-30T00:32:41.385Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a57128f3-8f48-4c90-b309-aca9bab1259f [2023-05-30T00:32:41.385Z] [2023-05-30T00:32:41.385Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-30T00:32:41.385Z] [2023-05-30T00:32:42.334Z] [2023-05-30T00:32:42.334Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-30T00:32:42.334Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-30T00:32:42.334Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-30T00:32:42.368Z] $ docker stop --time=1 30c60d26b2762af1576b1c8ebf8e467a4dd1a1342ed92c1204636d5eeae7c9ae [2023-05-30T00:32:45.281Z] $ docker rm -f --volumes 30c60d26b2762af1576b1c8ebf8e467a4dd1a1342ed92c1204636d5eeae7c9ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-05-30T00:32:45.694Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:32:45.708Z] provisioning config files... [2023-05-30T00:32:45.713Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12429342766287182183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:32:46.007Z] --> edgex-publish-swagger.sh [2023-05-30T00:32:46.007Z] === Publish openapi/v3 API === [2023-05-30T00:32:46.007Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-05-30T00:32:46.007Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-05-30T00:32:46.007Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T00:32:46.007Z] Dload Upload Total Spent Left Speed [2023-05-30T00:32:46.575Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 36365 --:--:-- --:--:-- --:--:-- 36365 [2023-05-30T00:32:46.575Z] [2023-05-30T00:32:46.575Z] [Pipeline] } [2023-05-30T00:32:46.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T00:32:46.951Z] + git log --format=format:%s -1 0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] sh [2023-05-30T00:32:47.241Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T00:32:47.241Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:32:47.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:32:47.535Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:32:47.608Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:32:47.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-30T00:32:48.050Z] $ docker top dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea -eo pid,comm [2023-05-30T00:32:48.071Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-30T00:32:48.071Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T00:32:48.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:32:48.106Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:32:48.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:32:48.247Z] $ docker exec dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea ssh-agent [2023-05-30T00:32:48.331Z] SSH_AUTH_SOCK=/tmp/ssh-91jZkMrLjjpa/agent.33 [2023-05-30T00:32:48.331Z] SSH_AGENT_PID=39 [2023-05-30T00:32:48.337Z] Running ssh-add (command line suppressed) [2023-05-30T00:32:48.469Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1408859455144880783.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1408859455144880783.key) [2023-05-30T00:32:48.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:32:48.742Z] + git semver tag [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:48,974 [run_tag] DEBUG tag force:False [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:48,974 [check_head_tag] DEBUG check head tag [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:48,976 [execute] INFO git cat-file --batch-check [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:48,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:48,980 [execute] INFO git cat-file --batch [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:48,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:49,021 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:49,022 [execute] INFO git tag -a v3.0.1-dev.1 -m v3.0.1-dev.1 [2023-05-30T00:32:49.001Z] 2023-05-30 00:32:49,022 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.1', '-m', 'v3.0.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-30T00:32:49.260Z] 2023-05-30 00:32:49,028 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:32:49.260Z] 3.0.1-dev.1 [Pipeline] } [2023-05-30T00:32:49.291Z] $ docker exec --env ******** --env ******** dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea ssh-agent -k [2023-05-30T00:32:49.391Z] unset SSH_AUTH_SOCK; [2023-05-30T00:32:49.391Z] unset SSH_AGENT_PID; [2023-05-30T00:32:49.391Z] echo Agent pid 39 killed; [2023-05-30T00:32:49.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T00:32:49.680Z] + git semver [Pipeline] } [2023-05-30T00:32:49.973Z] $ docker stop --time=1 dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea [2023-05-30T00:32:51.253Z] $ docker rm -f --volumes dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:32:51.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T00:32:51.622Z] [2023-05-30T00:32:51.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:32:51.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T00:32:51.922Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-30T00:32:51.922Z] ab5ef0e58194: Pulling fs layer [2023-05-30T00:32:51.922Z] 9712f1f96733: Pulling fs layer [2023-05-30T00:32:51.922Z] 63f879dbbcfc: Pulling fs layer [2023-05-30T00:32:51.922Z] 0d9ebad4ef96: Pulling fs layer [2023-05-30T00:32:51.922Z] e9a5061849ea: Pulling fs layer [2023-05-30T00:32:51.922Z] d747dcd14b5f: Pulling fs layer [2023-05-30T00:32:51.922Z] 0d9ebad4ef96: Waiting [2023-05-30T00:32:51.922Z] 2de7ff778b66: Pulling fs layer [2023-05-30T00:32:51.922Z] d747dcd14b5f: Waiting [2023-05-30T00:32:51.922Z] e9a5061849ea: Waiting [2023-05-30T00:32:51.922Z] 2de7ff778b66: Waiting [2023-05-30T00:32:51.922Z] 9712f1f96733: Verifying Checksum [2023-05-30T00:32:51.922Z] 9712f1f96733: Download complete [2023-05-30T00:32:52.490Z] 63f879dbbcfc: Verifying Checksum [2023-05-30T00:32:52.490Z] 63f879dbbcfc: Download complete [2023-05-30T00:32:52.490Z] e9a5061849ea: Verifying Checksum [2023-05-30T00:32:52.490Z] e9a5061849ea: Download complete [2023-05-30T00:32:52.490Z] 0d9ebad4ef96: Verifying Checksum [2023-05-30T00:32:52.490Z] 0d9ebad4ef96: Download complete [2023-05-30T00:32:52.490Z] d747dcd14b5f: Download complete [2023-05-30T00:32:52.490Z] ab5ef0e58194: Verifying Checksum [2023-05-30T00:32:52.490Z] ab5ef0e58194: Download complete [2023-05-30T00:32:52.747Z] 2de7ff778b66: Verifying Checksum [2023-05-30T00:32:52.747Z] 2de7ff778b66: Download complete [2023-05-30T00:32:55.273Z] ab5ef0e58194: Pull complete [2023-05-30T00:32:55.273Z] 9712f1f96733: Pull complete [2023-05-30T00:32:56.207Z] 63f879dbbcfc: Pull complete [2023-05-30T00:33:00.386Z] 0d9ebad4ef96: Pull complete [2023-05-30T00:33:00.386Z] e9a5061849ea: Pull complete [2023-05-30T00:33:00.386Z] d747dcd14b5f: Pull complete [2023-05-30T00:33:01.790Z] 2de7ff778b66: Pull complete [2023-05-30T00:33:01.790Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-30T00:33:01.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T00:33:01.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:33:01.877Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:33:01.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-30T00:33:06.661Z] $ docker top c9d87dfc5130a6056cc908fd0d7d8855aba7c79e8fd66ade757c0e8cda442be1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:33:06.711Z] provisioning config files... [2023-05-30T00:33:06.718Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1394923308955044338tmp [2023-05-30T00:33:06.728Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5421252556641844225tmp [2023-05-30T00:33:06.739Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15754402680942217190tmp [Pipeline] { [Pipeline] echo [2023-05-30T00:33:06.755Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:07.039Z] ---> sigul-configuration.sh [2023-05-30T00:33:07.039Z] gpg: directory `/root/.gnupg' created [2023-05-30T00:33:07.039Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-30T00:33:07.039Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-30T00:33:07.039Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-30T00:33:07.039Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-30T00:33:07.039Z] gpg: CAST5 encrypted data [2023-05-30T00:33:07.039Z] gpg: encrypted with 1 passphrase [2023-05-30T00:33:07.039Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-30T00:33:07.331Z] + mkdir /home/jenkins [2023-05-30T00:33:07.331Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-30T00:33:07.618Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-05-30T00:33:07.625Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:07.911Z] ---> sigul-install.sh [2023-05-30T00:33:07.911Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-30T00:33:08.197Z] + git tag --list [2023-05-30T00:33:08.197Z] 0.7.1 [2023-05-30T00:33:08.197Z] delhi-tag [2023-05-30T00:33:08.197Z] v1.0.0 [2023-05-30T00:33:08.197Z] v1.1.0 [2023-05-30T00:33:08.197Z] v1.1.1 [2023-05-30T00:33:08.197Z] v1.1.2 [2023-05-30T00:33:08.197Z] v1.2.0 [2023-05-30T00:33:08.197Z] v1.2.1 [2023-05-30T00:33:08.197Z] v1.2.2 [2023-05-30T00:33:08.197Z] v1.2.3 [2023-05-30T00:33:08.197Z] v1.3.0 [2023-05-30T00:33:08.197Z] v1.4.0 [2023-05-30T00:33:08.197Z] v2.0.0 [2023-05-30T00:33:08.197Z] v2.1.0 [2023-05-30T00:33:08.197Z] v2.1.1 [2023-05-30T00:33:08.197Z] v2.1.1-dev.2 [2023-05-30T00:33:08.197Z] v2.1.1-dev.3 [2023-05-30T00:33:08.197Z] v2.2.0 [2023-05-30T00:33:08.197Z] v2.2.1-dev.1 [2023-05-30T00:33:08.197Z] v2.2.1-dev.10 [2023-05-30T00:33:08.197Z] v2.2.1-dev.11 [2023-05-30T00:33:08.197Z] v2.2.1-dev.12 [2023-05-30T00:33:08.197Z] v2.2.1-dev.13 [2023-05-30T00:33:08.197Z] v2.2.1-dev.14 [2023-05-30T00:33:08.197Z] v2.2.1-dev.2 [2023-05-30T00:33:08.197Z] v2.2.1-dev.3 [2023-05-30T00:33:08.197Z] v2.2.1-dev.4 [2023-05-30T00:33:08.197Z] v2.2.1-dev.5 [2023-05-30T00:33:08.197Z] v2.2.1-dev.6 [2023-05-30T00:33:08.197Z] v2.2.1-dev.7 [2023-05-30T00:33:08.197Z] v2.2.1-dev.8 [2023-05-30T00:33:08.197Z] v2.2.1-dev.9 [2023-05-30T00:33:08.197Z] v2.3.0 [2023-05-30T00:33:08.197Z] v2.3.0-dev.14 [2023-05-30T00:33:08.197Z] v2.3.0-dev.15 [2023-05-30T00:33:08.197Z] v2.3.0-dev.16 [2023-05-30T00:33:08.197Z] v2.3.0-dev.17 [2023-05-30T00:33:08.197Z] v2.3.0-dev.18 [2023-05-30T00:33:08.197Z] v2.3.0-dev.19 [2023-05-30T00:33:08.197Z] v2.3.0-dev.20 [2023-05-30T00:33:08.197Z] v2.3.0-dev.21 [2023-05-30T00:33:08.197Z] v2.3.0-dev.22 [2023-05-30T00:33:08.197Z] v2.3.0-dev.23 [2023-05-30T00:33:08.197Z] v2.3.0-dev.24 [2023-05-30T00:33:08.197Z] v2.3.0-dev.25 [2023-05-30T00:33:08.197Z] v2.3.0-dev.26 [2023-05-30T00:33:08.197Z] v2.3.0-dev.27 [2023-05-30T00:33:08.197Z] v2.3.0-dev.28 [2023-05-30T00:33:08.197Z] v2.3.0-dev.29 [2023-05-30T00:33:08.197Z] v2.3.0-dev.30 [2023-05-30T00:33:08.197Z] v2.3.0-dev.31 [2023-05-30T00:33:08.197Z] v2.3.0-dev.32 [2023-05-30T00:33:08.197Z] v2.3.0-dev.33 [2023-05-30T00:33:08.197Z] v2.3.0-dev.34 [2023-05-30T00:33:08.197Z] v2.3.0-dev.35 [2023-05-30T00:33:08.197Z] v2.3.0-dev.36 [2023-05-30T00:33:08.197Z] v2.3.0-dev.37 [2023-05-30T00:33:08.197Z] v2.3.0-dev.38 [2023-05-30T00:33:08.197Z] v2.3.0-dev.39 [2023-05-30T00:33:08.197Z] v2.3.0-dev.40 [2023-05-30T00:33:08.197Z] v2.3.0-dev.41 [2023-05-30T00:33:08.197Z] v2.3.0-dev.42 [2023-05-30T00:33:08.197Z] v2.3.0-dev.43 [2023-05-30T00:33:08.197Z] v2.3.0-dev.44 [2023-05-30T00:33:08.197Z] v2.3.0-dev.45 [2023-05-30T00:33:08.197Z] v2.3.0-dev.46 [2023-05-30T00:33:08.197Z] v2.3.0-dev.47 [2023-05-30T00:33:08.197Z] v2.3.0-dev.48 [2023-05-30T00:33:08.197Z] v2.3.0-dev.49 [2023-05-30T00:33:08.197Z] v2.3.0-dev.50 [2023-05-30T00:33:08.197Z] v2.3.0-dev.51 [2023-05-30T00:33:08.197Z] v2.3.1 [2023-05-30T00:33:08.197Z] v2.3.1-dev.1 [2023-05-30T00:33:08.197Z] v2.3.1-dev.2 [2023-05-30T00:33:08.197Z] v2.3.1-dev.3 [2023-05-30T00:33:08.197Z] v2.3.1-dev.4 [2023-05-30T00:33:08.197Z] v3.0 [2023-05-30T00:33:08.197Z] v3.0.0 [2023-05-30T00:33:08.197Z] v3.0.0-dev.1 [2023-05-30T00:33:08.197Z] v3.0.0-dev.10 [2023-05-30T00:33:08.197Z] v3.0.0-dev.11 [2023-05-30T00:33:08.197Z] v3.0.0-dev.12 [2023-05-30T00:33:08.197Z] v3.0.0-dev.13 [2023-05-30T00:33:08.197Z] v3.0.0-dev.14 [2023-05-30T00:33:08.197Z] v3.0.0-dev.15 [2023-05-30T00:33:08.197Z] v3.0.0-dev.16 [2023-05-30T00:33:08.197Z] v3.0.0-dev.17 [2023-05-30T00:33:08.197Z] v3.0.0-dev.18 [2023-05-30T00:33:08.197Z] v3.0.0-dev.19 [2023-05-30T00:33:08.197Z] v3.0.0-dev.2 [2023-05-30T00:33:08.197Z] v3.0.0-dev.20 [2023-05-30T00:33:08.197Z] v3.0.0-dev.21 [2023-05-30T00:33:08.197Z] v3.0.0-dev.22 [2023-05-30T00:33:08.197Z] v3.0.0-dev.23 [2023-05-30T00:33:08.197Z] v3.0.0-dev.24 [2023-05-30T00:33:08.197Z] v3.0.0-dev.25 [2023-05-30T00:33:08.197Z] v3.0.0-dev.26 [2023-05-30T00:33:08.197Z] v3.0.0-dev.27 [2023-05-30T00:33:08.197Z] v3.0.0-dev.28 [2023-05-30T00:33:08.197Z] v3.0.0-dev.29 [2023-05-30T00:33:08.197Z] v3.0.0-dev.3 [2023-05-30T00:33:08.197Z] v3.0.0-dev.30 [2023-05-30T00:33:08.197Z] v3.0.0-dev.31 [2023-05-30T00:33:08.197Z] v3.0.0-dev.32 [2023-05-30T00:33:08.197Z] v3.0.0-dev.33 [2023-05-30T00:33:08.197Z] v3.0.0-dev.34 [2023-05-30T00:33:08.197Z] v3.0.0-dev.35 [2023-05-30T00:33:08.197Z] v3.0.0-dev.36 [2023-05-30T00:33:08.197Z] v3.0.0-dev.37 [2023-05-30T00:33:08.197Z] v3.0.0-dev.38 [2023-05-30T00:33:08.197Z] v3.0.0-dev.39 [2023-05-30T00:33:08.197Z] v3.0.0-dev.4 [2023-05-30T00:33:08.197Z] v3.0.0-dev.40 [2023-05-30T00:33:08.197Z] v3.0.0-dev.41 [2023-05-30T00:33:08.197Z] v3.0.0-dev.42 [2023-05-30T00:33:08.197Z] v3.0.0-dev.43 [2023-05-30T00:33:08.197Z] v3.0.0-dev.44 [2023-05-30T00:33:08.197Z] v3.0.0-dev.45 [2023-05-30T00:33:08.197Z] v3.0.0-dev.46 [2023-05-30T00:33:08.197Z] v3.0.0-dev.47 [2023-05-30T00:33:08.197Z] v3.0.0-dev.48 [2023-05-30T00:33:08.197Z] v3.0.0-dev.49 [2023-05-30T00:33:08.197Z] v3.0.0-dev.5 [2023-05-30T00:33:08.197Z] v3.0.0-dev.50 [2023-05-30T00:33:08.197Z] v3.0.0-dev.51 [2023-05-30T00:33:08.197Z] v3.0.0-dev.52 [2023-05-30T00:33:08.197Z] v3.0.0-dev.53 [2023-05-30T00:33:08.197Z] v3.0.0-dev.54 [2023-05-30T00:33:08.197Z] v3.0.0-dev.55 [2023-05-30T00:33:08.197Z] v3.0.0-dev.56 [2023-05-30T00:33:08.197Z] v3.0.0-dev.57 [2023-05-30T00:33:08.197Z] v3.0.0-dev.58 [2023-05-30T00:33:08.197Z] v3.0.0-dev.59 [2023-05-30T00:33:08.197Z] v3.0.0-dev.6 [2023-05-30T00:33:08.197Z] v3.0.0-dev.60 [2023-05-30T00:33:08.197Z] v3.0.0-dev.61 [2023-05-30T00:33:08.197Z] v3.0.0-dev.62 [2023-05-30T00:33:08.197Z] v3.0.0-dev.63 [2023-05-30T00:33:08.197Z] v3.0.0-dev.64 [2023-05-30T00:33:08.197Z] v3.0.0-dev.65 [2023-05-30T00:33:08.197Z] v3.0.0-dev.66 [2023-05-30T00:33:08.197Z] v3.0.0-dev.67 [2023-05-30T00:33:08.197Z] v3.0.0-dev.68 [2023-05-30T00:33:08.197Z] v3.0.0-dev.69 [2023-05-30T00:33:08.197Z] v3.0.0-dev.7 [2023-05-30T00:33:08.197Z] v3.0.0-dev.70 [2023-05-30T00:33:08.197Z] v3.0.0-dev.71 [2023-05-30T00:33:08.197Z] v3.0.0-dev.72 [2023-05-30T00:33:08.197Z] v3.0.0-dev.73 [2023-05-30T00:33:08.197Z] v3.0.0-dev.74 [2023-05-30T00:33:08.197Z] v3.0.0-dev.75 [2023-05-30T00:33:08.197Z] v3.0.0-dev.76 [2023-05-30T00:33:08.197Z] v3.0.0-dev.77 [2023-05-30T00:33:08.197Z] v3.0.0-dev.78 [2023-05-30T00:33:08.197Z] v3.0.0-dev.79 [2023-05-30T00:33:08.197Z] v3.0.0-dev.8 [2023-05-30T00:33:08.197Z] v3.0.0-dev.80 [2023-05-30T00:33:08.197Z] v3.0.0-dev.81 [2023-05-30T00:33:08.197Z] v3.0.0-dev.82 [2023-05-30T00:33:08.197Z] v3.0.0-dev.83 [2023-05-30T00:33:08.197Z] v3.0.0-dev.84 [2023-05-30T00:33:08.197Z] v3.0.0-dev.85 [2023-05-30T00:33:08.197Z] v3.0.0-dev.86 [2023-05-30T00:33:08.197Z] v3.0.0-dev.87 [2023-05-30T00:33:08.197Z] v3.0.0-dev.88 [2023-05-30T00:33:08.197Z] v3.0.0-dev.89 [2023-05-30T00:33:08.197Z] v3.0.0-dev.9 [2023-05-30T00:33:08.197Z] v3.0.0-dev.90 [2023-05-30T00:33:08.197Z] v3.0.0-dev.91 [2023-05-30T00:33:08.197Z] v3.0.0-dev.92 [2023-05-30T00:33:08.197Z] v3.0.0-dev.93 [2023-05-30T00:33:08.197Z] v3.0.0-dev.94 [2023-05-30T00:33:08.197Z] v3.0.0-dev.95 [2023-05-30T00:33:08.197Z] v3.0.0-dev.96 [2023-05-30T00:33:08.197Z] v3.0.1-dev.1 [Pipeline] sh [2023-05-30T00:33:08.484Z] + lftools sign git-tag v3.0.1-dev.1 [2023-05-30T00:33:09.053Z] Signing Git tag with Sigul... [2023-05-30T00:33:09.053Z] Signing v3.0.1-dev.1 [Pipeline] echo [2023-05-30T00:33:09.630Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:09.913Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-30T00:33:09.920Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-30T00:33:09.961Z] $ docker stop --time=1 c9d87dfc5130a6056cc908fd0d7d8855aba7c79e8fd66ade757c0e8cda442be1 [2023-05-30T00:33:11.259Z] $ docker rm -f --volumes c9d87dfc5130a6056cc908fd0d7d8855aba7c79e8fd66ade757c0e8cda442be1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-30T00:33:11.660Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T00:33:11.660Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:33:11.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:33:11.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:33:12.027Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:33:12.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-30T00:33:12.434Z] $ docker top 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 -eo pid,comm [2023-05-30T00:33:12.468Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-30T00:33:12.468Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T00:33:12.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:33:12.512Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:33:12.625Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:33:12.650Z] $ docker exec 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 ssh-agent [2023-05-30T00:33:12.730Z] SSH_AUTH_SOCK=/tmp/ssh-JVukpyn1aAKe/agent.32 [2023-05-30T00:33:12.730Z] SSH_AGENT_PID=38 [2023-05-30T00:33:12.735Z] Running ssh-add (command line suppressed) [2023-05-30T00:33:12.848Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8667950434751858208.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8667950434751858208.key) [2023-05-30T00:33:12.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:33:13.128Z] + git semver bump pre [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,322 [bump_version] DEBUG bumping version:3.0.1-dev.1 on axis:pre with prefix:dev [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,322 [bump_version] DEBUG bumped version:3.0.1-dev.2 [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,322 [write_version] DEBUG write version:3.0.1-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,322 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,324 [execute] INFO git cat-file --batch-check [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,330 [execute] INFO git cat-file --batch [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T00:33:13.387Z] 2023-05-30 00:33:13,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:33:13.387Z] 3.0.1-dev.2 [Pipeline] } [2023-05-30T00:33:13.419Z] $ docker exec --env ******** --env ******** 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 ssh-agent -k [2023-05-30T00:33:13.530Z] unset SSH_AUTH_SOCK; [2023-05-30T00:33:13.530Z] unset SSH_AGENT_PID; [2023-05-30T00:33:13.530Z] echo Agent pid 38 killed; [2023-05-30T00:33:13.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T00:33:13.827Z] + git semver [Pipeline] } [2023-05-30T00:33:14.121Z] $ docker stop --time=1 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 [2023-05-30T00:33:15.374Z] $ docker rm -f --volumes 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T00:33:15.681Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T00:33:15.682Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:33:15.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T00:33:15.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:33:16.045Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:33:16.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-30T00:33:16.447Z] $ docker top 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 -eo pid,comm [2023-05-30T00:33:16.474Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-30T00:33:16.474Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T00:33:16.514Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T00:33:16.514Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T00:33:16.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T00:33:16.648Z] $ docker exec 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 ssh-agent [2023-05-30T00:33:16.744Z] SSH_AUTH_SOCK=/tmp/ssh-VCkAvsD4LTgd/agent.33 [2023-05-30T00:33:16.744Z] SSH_AGENT_PID=39 [2023-05-30T00:33:16.750Z] Running ssh-add (command line suppressed) [2023-05-30T00:33:16.864Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9653689983403503834.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9653689983403503834.key) [2023-05-30T00:33:16.854Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T00:33:17.138Z] + git semver push [2023-05-30T00:33:17.397Z] 2023-05-30 00:33:17,324 [run_push] DEBUG push [2023-05-30T00:33:17.397Z] 2023-05-30 00:33:17,325 [execute] INFO git cat-file --batch-check [2023-05-30T00:33:17.397Z] 2023-05-30 00:33:17,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T00:33:17.397Z] 2023-05-30 00:33:17,329 [execute] INFO git rev-list b71a39dda1913f2450c2b6d2f00a14bc0f3df8bb -- [2023-05-30T00:33:17.397Z] 2023-05-30 00:33:17,329 [execute] DEBUG Popen(['git', 'rev-list', 'b71a39dda1913f2450c2b6d2f00a14bc0f3df8bb', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-30T00:33:17.397Z] 2023-05-30 00:33:17,343 [execute] INFO git fetch -v origin [2023-05-30T00:33:17.397Z] 2023-05-30 00:33:17,343 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-30T00:33:17.964Z] 2023-05-30 00:33:17,787 [run_push] DEBUG no remote changes detected [2023-05-30T00:33:17.964Z] 2023-05-30 00:33:17,787 [execute] INFO git push origin semver [2023-05-30T00:33:17.964Z] 2023-05-30 00:33:17,788 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-30T00:33:18.903Z] 2023-05-30 00:33:18,635 [run_push] DEBUG push all version tags [2023-05-30T00:33:18.903Z] 2023-05-30 00:33:18,636 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-30T00:33:18.903Z] 2023-05-30 00:33:18,636 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-30T00:33:19.476Z] 2023-05-30 00:33:19,414 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-05-30T00:33:19.476Z] 3.0.1-dev.2 [Pipeline] } [2023-05-30T00:33:19.506Z] $ docker exec --env ******** --env ******** 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 ssh-agent -k [2023-05-30T00:33:19.600Z] unset SSH_AUTH_SOCK; [2023-05-30T00:33:19.600Z] unset SSH_AGENT_PID; [2023-05-30T00:33:19.600Z] echo Agent pid 39 killed; [2023-05-30T00:33:19.590Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T00:33:19.899Z] + git semver [Pipeline] } [2023-05-30T00:33:20.194Z] $ docker stop --time=1 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 [2023-05-30T00:33:21.477Z] $ docker rm -f --volumes 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-30T00:33:22.137Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-05-30T00:33:22.137Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-05-30T00:33:22.137Z] total 16 [2023-05-30T00:33:22.137Z] drwxr-xr-x 3 root root 4096 May 30 00:18 . [2023-05-30T00:33:22.137Z] drwxrwxr-x 12 jenkins jenkins 4096 May 30 00:33 .. [2023-05-30T00:33:22.137Z] drwxr-xr-x 2 root root 4096 May 30 00:18 cost [2023-05-30T00:33:22.137Z] -rw-r--r-- 1 root root 85 May 30 00:18 cost.csv [2023-05-30T00:33:22.137Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-05-30T00:33:22.137Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-05-30T00:33:22.137Z] total 16 [2023-05-30T00:33:22.137Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:18 . [2023-05-30T00:33:22.137Z] drwxrwxr-x 12 jenkins jenkins 4096 May 30 00:33 .. [2023-05-30T00:33:22.137Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 00:18 cost [2023-05-30T00:33:22.137Z] -rw-r--r-- 1 jenkins jenkins 85 May 30 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:22.505Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:23.378Z] ---> package-listing.sh [2023-05-30T00:33:23.378Z] ++ facter osfamily [2023-05-30T00:33:23.378Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-30T00:33:23.636Z] + OS_FAMILY=debian [2023-05-30T00:33:23.636Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-05-30T00:33:23.636Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-30T00:33:23.636Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-30T00:33:23.636Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-30T00:33:23.636Z] + PACKAGES=/tmp/packages_start.txt [2023-05-30T00:33:23.636Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-05-30T00:33:23.636Z] + PACKAGES=/tmp/packages_end.txt [2023-05-30T00:33:23.636Z] + case "${OS_FAMILY}" in [2023-05-30T00:33:23.636Z] + dpkg -l [2023-05-30T00:33:23.636Z] + grep '^ii' [2023-05-30T00:33:23.636Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-30T00:33:23.636Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-30T00:33:23.636Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-30T00:33:23.636Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-05-30T00:33:23.636Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-05-30T00:33:23.636Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-05-30T00:33:23.646Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-30T00:33:23.923Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T00:33:24.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T00:33:24.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T00:33:24.549Z] prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container [2023-05-30T00:33:24.601Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-30T00:33:24.819Z] $ docker top 02807695a24f7e6091abb25e5a70aeb11905c39aa06122e42cae26c1f2a56961 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T00:33:25.133Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-30T00:33:25.419Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-30T00:33:25.705Z] + ls /var/log/sa-host [2023-05-30T00:33:25.705Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T00:33:25.776Z] provisioning config files... [2023-05-30T00:33:25.785Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10544564187284985365tmp [Pipeline] { [Pipeline] echo [2023-05-30T00:33:25.799Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:26.082Z] ---> create-netrc.sh [Pipeline] } [2023-05-30T00:33:26.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:26.412Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-30T00:33:26.421Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:26.703Z] ---> sudo-logs.sh [2023-05-30T00:33:26.704Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-30T00:33:26.730Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:27.015Z] ---> job-cost.sh [2023-05-30T00:33:27.015Z] lf-activate-venv: SKIPPING [2023-05-30T00:33:27.015Z] DEBUG: total: 0.2199999988079071 [2023-05-30T00:33:27.015Z] INFO: Retrieving Stack Cost... [2023-05-30T00:33:27.273Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T00:33:27.840Z] INFO: Archiving Costs [Pipeline] echo [2023-05-30T00:33:27.851Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T00:33:28.134Z] ---> logs-deploy.sh [2023-05-30T00:33:28.134Z] lf-activate-venv: SKIPPING [2023-05-30T00:33:28.134Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/229 [2023-05-30T00:33:28.134Z] INFO: archiving workspace using pattern(s): [2023-05-30T00:33:29.072Z] Archives upload complete. [2023-05-30T00:33:29.072Z] INFO: archiving logs to Nexus