Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c 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-ssh131990167035552220.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh4100221094396123979.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9371535302772309629.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh4614525302792148596.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-ssh17218259596095457429.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5422 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 > 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 Avoid second fetch Checking out Revision 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c (main) Commit message: "Merge pull request #1505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.29" > git config core.sparsecheckout # timeout=10 > git checkout -f 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 > git rev-list --no-walk a3c91960d92e52cbdab9fb2db5fec403345ab315 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-06T04:45:59.870Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-06T04:45:59.934Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-06T04:45:59.948Z] ========================================================= [2023-09-06T04:45:59.948Z] EdgeX Global Pipelines Version Info [2023-09-06T04:45:59.948Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:46:00.664Z] ------------------- [2023-09-06T04:46:00.664Z] stable info: [2023-09-06T04:46:00.664Z] ------------------- [2023-09-06T04:46:00.664Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-06T04:46:00.664Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T04:46:00.664Z] Message: update stable to v1.0.253 [2023-09-06T04:46:01.238Z] ------------------- [2023-09-06T04:46:01.238Z] experimental info: [2023-09-06T04:46:01.238Z] ------------------- [2023-09-06T04:46:01.238Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-06T04:46:01.238Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T04:46:01.238Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-06T04:46:01.406Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-06T04:46:01.419Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-06T04:46:01.435Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-06T04:46:01.452Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-06T04:46:01.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-06T04:46:01.481Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-06T04:46:01.497Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-06T04:46:01.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-06T04:46:01.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-06T04:46:01.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-06T04:46:01.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-06T04:46:01.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-06T04:46:01.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-06T04:46:01.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-06T04:46:01.642Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T04:46:01.654Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T04:46:01.670Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T04:46:01.683Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T04:46:01.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-06T04:46:01.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-06T04:46:01.727Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-06T04:46:01.742Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-06T04:46:01.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-06T04:46:01.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-06T04:46:01.794Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-06T04:46:01.815Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-06T04:46:01.834Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-06T04:46:01.847Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-06T04:46:01.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-06T04:46:01.877Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-06T04:46:01.890Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] echo [2023-09-06T04:46:01.907Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44a516e [Pipeline] echo [2023-09-06T04:46:01.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T04:46:01.976Z] provisioning config files... [2023-09-06T04:46:01.990Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1327848460598650897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:46:02.293Z] ---> docker-login.sh [2023-09-06T04:46:02.293Z] nexus3.edgexfoundry.org:10001 [2023-09-06T04:46:02.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:02.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:02.554Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:02.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:02.554Z] [2023-09-06T04:46:02.554Z] Login Succeeded [2023-09-06T04:46:02.554Z] nexus3.edgexfoundry.org:10002 [2023-09-06T04:46:02.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:02.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:02.814Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:02.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:02.814Z] [2023-09-06T04:46:02.814Z] Login Succeeded [2023-09-06T04:46:02.814Z] nexus3.edgexfoundry.org:10003 [2023-09-06T04:46:02.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:02.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:02.814Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:02.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:02.814Z] [2023-09-06T04:46:02.814Z] Login Succeeded [2023-09-06T04:46:02.814Z] nexus3.edgexfoundry.org:10004 [2023-09-06T04:46:03.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:03.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:03.081Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:03.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:03.081Z] [2023-09-06T04:46:03.081Z] Login Succeeded [2023-09-06T04:46:03.081Z] docker.io [2023-09-06T04:46:03.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:03.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:03.341Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:03.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:03.341Z] [2023-09-06T04:46:03.341Z] Login Succeeded [2023-09-06T04:46:03.341Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T04:46:03.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-06T04:46:03.699Z] + git rev-list -1 --merges 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c~1..44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] echo [2023-09-06T04:46:03.741Z] -----------> git rev-list -1 --merges 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c~1..44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [2023-09-06T04:46:03.741Z] 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [false] [Pipeline] sh [2023-09-06T04:46:04.025Z] + git log --format=format:%s -1 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] echo [2023-09-06T04:46:04.041Z] ========================================================= [2023-09-06T04:46:04.041Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-06T04:46:04.041Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T04:46:04.355Z] + git log --format=format:%s -1 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] echo [2023-09-06T04:46:04.367Z] [semverPrep] GIT_COMMIT: 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c, Commit Message: Merge pull request #1505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.29 [Pipeline] echo [2023-09-06T04:46:04.376Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-06T04:46:04.750Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T04:46:04.751Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-06T04:46:04.751Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-06T04:46:04.751Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-06T04:46:04.751Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-06T04:46:04.751Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-06T04:46:04.751Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:46:05.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T04:46:05.177Z] [2023-09-06T04:46:05.177Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:46:05.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T04:46:05.476Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-06T04:46:05.476Z] b85a868b505f: Pulling fs layer [2023-09-06T04:46:05.476Z] e2be974225ed: Pulling fs layer [2023-09-06T04:46:05.476Z] 339a4e72a1f5: Pulling fs layer [2023-09-06T04:46:05.476Z] 988bab9f4d93: Pulling fs layer [2023-09-06T04:46:05.476Z] 1469e6f7b9e6: Pulling fs layer [2023-09-06T04:46:05.476Z] eaf3925da568: Pulling fs layer [2023-09-06T04:46:05.476Z] bab4dde63d76: Pulling fs layer [2023-09-06T04:46:05.476Z] bde34c3a00c8: Pulling fs layer [2023-09-06T04:46:05.476Z] b352a97aabf1: Pulling fs layer [2023-09-06T04:46:05.476Z] 4872d77fe225: Pulling fs layer [2023-09-06T04:46:05.476Z] 5851b861e8e6: Pulling fs layer [2023-09-06T04:46:05.476Z] bde34c3a00c8: Waiting [2023-09-06T04:46:05.476Z] 1469e6f7b9e6: Waiting [2023-09-06T04:46:05.476Z] eaf3925da568: Waiting [2023-09-06T04:46:05.476Z] bab4dde63d76: Waiting [2023-09-06T04:46:05.476Z] 988bab9f4d93: Waiting [2023-09-06T04:46:05.476Z] b352a97aabf1: Waiting [2023-09-06T04:46:05.476Z] 4872d77fe225: Waiting [2023-09-06T04:46:05.476Z] 5851b861e8e6: Waiting [2023-09-06T04:46:05.476Z] e2be974225ed: Download complete [2023-09-06T04:46:05.476Z] 988bab9f4d93: Download complete [2023-09-06T04:46:05.476Z] 1469e6f7b9e6: Verifying Checksum [2023-09-06T04:46:05.476Z] 1469e6f7b9e6: Download complete [2023-09-06T04:46:05.476Z] 339a4e72a1f5: Verifying Checksum [2023-09-06T04:46:05.476Z] 339a4e72a1f5: Download complete [2023-09-06T04:46:05.476Z] eaf3925da568: Verifying Checksum [2023-09-06T04:46:05.476Z] eaf3925da568: Download complete [2023-09-06T04:46:05.733Z] bde34c3a00c8: Verifying Checksum [2023-09-06T04:46:05.733Z] bde34c3a00c8: Download complete [2023-09-06T04:46:05.733Z] b352a97aabf1: Download complete [2023-09-06T04:46:05.733Z] 4872d77fe225: Verifying Checksum [2023-09-06T04:46:05.733Z] 4872d77fe225: Download complete [2023-09-06T04:46:05.733Z] 5851b861e8e6: Verifying Checksum [2023-09-06T04:46:05.733Z] b85a868b505f: Verifying Checksum [2023-09-06T04:46:05.733Z] b85a868b505f: Download complete [2023-09-06T04:46:05.992Z] bab4dde63d76: Verifying Checksum [2023-09-06T04:46:05.992Z] bab4dde63d76: Download complete [2023-09-06T04:46:06.930Z] b85a868b505f: Pull complete [2023-09-06T04:46:07.189Z] e2be974225ed: Pull complete [2023-09-06T04:46:07.756Z] 339a4e72a1f5: Pull complete [2023-09-06T04:46:07.756Z] 988bab9f4d93: Pull complete [2023-09-06T04:46:08.015Z] 1469e6f7b9e6: Pull complete [2023-09-06T04:46:08.015Z] eaf3925da568: Pull complete [2023-09-06T04:46:09.918Z] bab4dde63d76: Pull complete [2023-09-06T04:46:09.918Z] bde34c3a00c8: Pull complete [2023-09-06T04:46:09.918Z] b352a97aabf1: Pull complete [2023-09-06T04:46:10.177Z] 4872d77fe225: Pull complete [2023-09-06T04:46:10.177Z] 5851b861e8e6: Pull complete [2023-09-06T04:46:10.178Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-06T04:46:10.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T04:46:10.178Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:46:10.266Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T04:46:10.306Z] $ 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-09-06T04:46:13.935Z] $ docker top 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 -eo pid,comm [2023-09-06T04:46:13.991Z] 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-09-06T04:46:13.991Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T04:46:14.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T04:46:14.029Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T04:46:14.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T04:46:14.147Z] $ docker exec 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 ssh-agent [2023-09-06T04:46:14.262Z] SSH_AUTH_SOCK=/tmp/ssh-KM2ePSKsmi2K/agent.34 [2023-09-06T04:46:14.262Z] SSH_AGENT_PID=40 [2023-09-06T04:46:14.267Z] Running ssh-add (command line suppressed) [2023-09-06T04:46:14.378Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_347197436632043182.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_347197436632043182.key) [2023-09-06T04:46:14.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T04:46:14.674Z] + git tag --points-at HEAD [Pipeline] } [2023-09-06T04:46:14.695Z] $ docker exec --env ******** --env ******** 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 ssh-agent -k [2023-09-06T04:46:14.812Z] unset SSH_AUTH_SOCK; [2023-09-06T04:46:14.813Z] unset SSH_AGENT_PID; [2023-09-06T04:46:14.813Z] echo Agent pid 40 killed; [2023-09-06T04:46:14.819Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-06T04:46:14.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T04:46:14.842Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T04:46:14.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T04:46:14.966Z] $ docker exec 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 ssh-agent [2023-09-06T04:46:15.086Z] SSH_AUTH_SOCK=/tmp/ssh-yvOS8JlQyRtX/agent.72 [2023-09-06T04:46:15.086Z] SSH_AGENT_PID=78 [2023-09-06T04:46:15.090Z] Running ssh-add (command line suppressed) [2023-09-06T04:46:15.195Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1712977585568275720.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1712977585568275720.key) [2023-09-06T04:46:15.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T04:46:15.493Z] + git semver init [2023-09-06T04:46:15.752Z] 2023-09-06 04:46:15,677 [run_init] DEBUG init version:0.0.0 force:False [2023-09-06T04:46:15.752Z] 2023-09-06 04:46:15,678 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-06T04:46:15.752Z] 2023-09-06 04:46:15,678 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-06T04:46:15.753Z] 2023-09-06 04:46:15,678 [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-09-06T04:46:16.690Z] 2023-09-06 04:46:16,567 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-06T04:46:16.690Z] 2023-09-06 04:46:16,567 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-06T04:46:16.690Z] 2023-09-06 04:46:16,568 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T04:46:16.690Z] 2023-09-06 04:46:16,568 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T04:46:16.690Z] 3.1.0-dev.19 [Pipeline] } [2023-09-06T04:46:16.700Z] $ docker exec --env ******** --env ******** 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 ssh-agent -k [2023-09-06T04:46:16.814Z] unset SSH_AUTH_SOCK; [2023-09-06T04:46:16.816Z] unset SSH_AGENT_PID; [2023-09-06T04:46:16.816Z] echo Agent pid 78 killed; [2023-09-06T04:46:16.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T04:46:17.122Z] + git semver [Pipeline] } [2023-09-06T04:46:17.398Z] $ docker stop --time=1 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 [2023-09-06T04:46:18.667Z] $ docker rm -f --volumes 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T04:46:19.012Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-06T04:46:19.234Z] Stashed 1 file(s) [Pipeline] echo [2023-09-06T04:46:19.238Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [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-09-06T04:46:19.444Z] provisioning config files... [2023-09-06T04:46:19.451Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1974046399174125213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:46:19.739Z] ---> docker-login.sh [2023-09-06T04:46:19.739Z] nexus3.edgexfoundry.org:10001 [2023-09-06T04:46:19.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:19.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:19.739Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:19.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:19.739Z] [2023-09-06T04:46:19.739Z] Login Succeeded [2023-09-06T04:46:19.739Z] nexus3.edgexfoundry.org:10002 [2023-09-06T04:46:19.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:19.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:19.739Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:19.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:19.739Z] [2023-09-06T04:46:19.739Z] Login Succeeded [2023-09-06T04:46:19.739Z] nexus3.edgexfoundry.org:10003 [2023-09-06T04:46:19.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:19.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:19.999Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:19.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:19.999Z] [2023-09-06T04:46:19.999Z] Login Succeeded [2023-09-06T04:46:19.999Z] nexus3.edgexfoundry.org:10004 [2023-09-06T04:46:19.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:19.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:19.999Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:19.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:19.999Z] [2023-09-06T04:46:19.999Z] Login Succeeded [2023-09-06T04:46:19.999Z] docker.io [2023-09-06T04:46:19.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:46:20.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:46:20.258Z] Configure a credential helper to remove this warning. See [2023-09-06T04:46:20.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:46:20.258Z] [2023-09-06T04:46:20.258Z] Login Succeeded [2023-09-06T04:46:20.258Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T04:46:20.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T04:46:20.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T04:46:20.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T04:46:20.345Z] ========================================================= [2023-09-06T04:46:20.345Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-06T04:46:20.345Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:46:20.652Z] + 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-09-06T04:46:20.652Z] Sending build context to Docker daemon 11.09MB [2023-09-06T04:46:20.652Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T04:46:20.652Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-06T04:46:20.652Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-06T04:46:20.652Z] 4db1b89c0bd1: Pulling fs layer [2023-09-06T04:46:20.652Z] 6911f1a30b25: Pulling fs layer [2023-09-06T04:46:20.652Z] e194b8c5c2a9: Pulling fs layer [2023-09-06T04:46:20.652Z] 6863d3e3a2b1: Pulling fs layer [2023-09-06T04:46:20.652Z] ec0bb842ea78: Pulling fs layer [2023-09-06T04:46:20.652Z] 40a00589a448: Pulling fs layer [2023-09-06T04:46:20.652Z] 6c08303d61cc: Pulling fs layer [2023-09-06T04:46:20.652Z] 798269fcf238: Pulling fs layer [2023-09-06T04:46:20.652Z] ec0bb842ea78: Waiting [2023-09-06T04:46:20.652Z] 6863d3e3a2b1: Waiting [2023-09-06T04:46:20.652Z] 40a00589a448: Waiting [2023-09-06T04:46:20.652Z] 6c08303d61cc: Waiting [2023-09-06T04:46:20.652Z] 798269fcf238: Waiting [2023-09-06T04:46:20.652Z] 6911f1a30b25: Verifying Checksum [2023-09-06T04:46:20.652Z] 6911f1a30b25: Download complete [2023-09-06T04:46:20.912Z] 6863d3e3a2b1: Verifying Checksum [2023-09-06T04:46:20.912Z] 6863d3e3a2b1: Download complete [2023-09-06T04:46:20.912Z] 4db1b89c0bd1: Download complete [2023-09-06T04:46:20.912Z] ec0bb842ea78: Download complete [2023-09-06T04:46:20.912Z] 40a00589a448: Verifying Checksum [2023-09-06T04:46:20.912Z] 40a00589a448: Download complete [2023-09-06T04:46:20.912Z] 4db1b89c0bd1: Pull complete [2023-09-06T04:46:21.177Z] 6911f1a30b25: Pull complete [2023-09-06T04:46:21.436Z] 798269fcf238: Verifying Checksum [2023-09-06T04:46:21.436Z] 798269fcf238: Download complete [2023-09-06T04:46:21.436Z] e194b8c5c2a9: Verifying Checksum [2023-09-06T04:46:21.436Z] e194b8c5c2a9: Download complete [2023-09-06T04:46:21.695Z] 6c08303d61cc: Verifying Checksum [2023-09-06T04:46:24.992Z] e194b8c5c2a9: Pull complete [2023-09-06T04:46:25.254Z] 6863d3e3a2b1: Pull complete [2023-09-06T04:46:25.254Z] ec0bb842ea78: Pull complete [2023-09-06T04:46:25.254Z] 40a00589a448: Pull complete [2023-09-06T04:46:27.784Z] 6c08303d61cc: Pull complete [2023-09-06T04:46:29.161Z] 798269fcf238: Pull complete [2023-09-06T04:46:29.161Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-06T04:46:29.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-06T04:46:29.161Z] ---> ec979cd7f677 [2023-09-06T04:46:29.161Z] Step 3/10 : ARG MAKE=make build [2023-09-06T04:46:33.370Z] ---> Running in 24b03c46fac9 [2023-09-06T04:46:33.370Z] Removing intermediate container 24b03c46fac9 [2023-09-06T04:46:33.370Z] ---> 0528047905a5 [2023-09-06T04:46:33.370Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-06T04:46:33.370Z] ---> Running in 0b5af9298eaf [2023-09-06T04:46:33.370Z] Removing intermediate container 0b5af9298eaf [2023-09-06T04:46:33.370Z] ---> 313240c9da3d [2023-09-06T04:46:33.370Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T04:46:33.370Z] ---> Running in 623901faebe2 [2023-09-06T04:46:33.370Z] Removing intermediate container 623901faebe2 [2023-09-06T04:46:33.370Z] ---> 88b368f01d8a [2023-09-06T04:46:33.370Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-06T04:46:33.370Z] ---> Running in 4390a7286c0e [2023-09-06T04:46:33.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T04:46:33.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T04:46:34.151Z] OK: 265 MiB in 53 packages [2023-09-06T04:46:34.355Z] Still waiting to schedule task [2023-09-06T04:46:34.356Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-06T04:46:34.412Z] Removing intermediate container 4390a7286c0e [2023-09-06T04:46:34.412Z] ---> 178519ded076 [2023-09-06T04:46:34.412Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-06T04:46:34.672Z] ---> 0f24fa5399ae [2023-09-06T04:46:34.672Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T04:46:34.672Z] ---> Running in f789e8a47078 [2023-09-06T04:47:31.067Z] Removing intermediate container f789e8a47078 [2023-09-06T04:47:31.067Z] ---> c9ecd228adf9 [2023-09-06T04:47:31.067Z] Step 9/10 : COPY . . [2023-09-06T04:47:31.067Z] ---> 3722d143b166 [2023-09-06T04:47:31.067Z] Step 10/10 : RUN ${MAKE} [2023-09-06T04:47:31.067Z] ---> Running in 9a00b1b1c469 [2023-09-06T04:47:31.067Z] noop [2023-09-06T04:47:31.067Z] Removing intermediate container 9a00b1b1c469 [2023-09-06T04:47:31.067Z] ---> 7fa334ef915a [2023-09-06T04:47:31.067Z] Successfully built 7fa334ef915a [2023-09-06T04:47:31.067Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:47:31.382Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T04:47:31.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:47:31.455Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T04:47:31.489Z] $ 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-09-06T04:47:31.819Z] $ docker top 76f2b6c4906f50af29062e3af5820f64acd0ae3ff5b062b24e416257e6d91821 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:47:32.162Z] + go version [2023-09-06T04:47:32.163Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-06T04:47:32.178Z] $ docker stop --time=1 76f2b6c4906f50af29062e3af5820f64acd0ae3ff5b062b24e416257e6d91821 [2023-09-06T04:47:33.462Z] $ docker rm -f --volumes 76f2b6c4906f50af29062e3af5820f64acd0ae3ff5b062b24e416257e6d91821 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:47:33.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T04:47:33.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:47:33.936Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T04:47:33.972Z] $ 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-09-06T04:47:34.304Z] $ docker top 49c5b98c9b6654d1ac7b6cb716fe24bd0931c9c006ebebe9a3c4b82a0458b136 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:47:34.643Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-06T04:47:34.937Z] + make test [2023-09-06T04:47:34.937Z] go test -race -coverprofile=coverage.out ./... [2023-09-06T04:47:41.501Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-06T04:47:56.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-06T04:47:56.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-06T04:47:56.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-06T04:47:56.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-06T04:47:56.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-06T04:47:56.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.093s coverage: 27.6% of statements [2023-09-06T04:47:56.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-06T04:47:56.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-06T04:47:56.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 80.2% of statements [2023-09-06T04:47:56.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements [2023-09-06T04:47:56.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-06T04:47:56.903Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 71.8% of statements [2023-09-06T04:47:57.469Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-06T04:47:57.469Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-06T04:47:58.040Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-06T04:48:00.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.076s coverage: 14.1% of statements [2023-09-06T04:48:00.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.950s coverage: 43.8% of statements [2023-09-06T04:48:00.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-09-06T04:48:00.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.141s coverage: 89.2% of statements [2023-09-06T04:48:00.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.5% of statements [2023-09-06T04:48:02.292Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5423 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-06T04:48:02.305Z] Running in /w/workspace/device-sdk-go/248 [Pipeline] { [Pipeline] checkout [2023-09-06T04:48:02.343Z] The recommended git tool is: git [2023-09-06T04:48:07.273Z] using credential edgex-jenkins-ssh [2023-09-06T04:48:07.290Z] Cloning the remote Git repository [2023-09-06T04:48:07.325Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-06T04:48:07.412Z] > git init /w/workspace/device-sdk-go/248 # timeout=10 [2023-09-06T04:48:07.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-06T04:48:07.545Z] > git --version # timeout=10 [2023-09-06T04:48:07.569Z] > git --version # 'git version 2.25.1' [2023-09-06T04:48:07.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T04:48:07.719Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T04:48:09.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-06T04:48:09.243Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T04:48:10.022Z] Avoid second fetch [2023-09-06T04:48:10.023Z] Checking out Revision 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c (main) [2023-09-06T04:48:10.570Z] Commit message: "Merge pull request #1505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.29" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T04:48:10.037Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T04:48:10.108Z] > git checkout -f 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 [2023-09-06T04:48:11.552Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-06T04:48:11.553Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T04:48:11.553Z] Dload Upload Total Spent Left Speed [2023-09-06T04:48:11.553Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2023-09-06T04:48:12.158Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-06T04:48:12.484Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-06T04:48:12.485Z] + sudo tee /etc/docker/daemon.new [2023-09-06T04:48:12.485Z] { [2023-09-06T04:48:12.485Z] "registry-mirrors": [ [2023-09-06T04:48:12.485Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-06T04:48:12.485Z] ], [2023-09-06T04:48:12.485Z] "bip": "10.250.0.254/24", [2023-09-06T04:48:12.485Z] "hosts": [ [2023-09-06T04:48:12.485Z] "tcp://0.0.0.0:5555", [2023-09-06T04:48:12.485Z] "unix:///var/run/docker.sock" [2023-09-06T04:48:12.485Z] ], [2023-09-06T04:48:12.485Z] "mtu": 1458, [2023-09-06T04:48:12.485Z] "selinux-enabled": true, [2023-09-06T04:48:12.485Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-06T04:48:12.485Z] } [Pipeline] sh [2023-09-06T04:48:12.815Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-06T04:48:13.154Z] + sudo service docker restart [2023-09-06T04:48:22.835Z] GO111MODULE=on go vet ./... [2023-09-06T04:48:27.026Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T04:48:27.026Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T04:48:27.026Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T04:48:27.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T04:48:27.059Z] $ docker stop --time=1 49c5b98c9b6654d1ac7b6cb716fe24bd0931c9c006ebebe9a3c4b82a0458b136 [2023-09-06T04:48:31.695Z] $ docker rm -f --volumes 49c5b98c9b6654d1ac7b6cb716fe24bd0931c9c006ebebe9a3c4b82a0458b136 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T04:48:31.978Z] provisioning config files... [2023-09-06T04:48:32.005Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/248@tmp/config9788019217869448352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:48:32.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T04:48:32.275Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-09-06T04:48:32.347Z] ---> docker-login.sh [2023-09-06T04:48:32.347Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2023-09-06T04:48:32.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:48:32.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T04:48:32.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:48:32.885Z] Configure a credential helper to remove this warning. See [2023-09-06T04:48:32.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:48:32.886Z] [2023-09-06T04:48:32.886Z] Login Succeeded [2023-09-06T04:48:32.886Z] nexus3.edgexfoundry.org:10002 [2023-09-06T04:48:33.137Z] + ls -al . [2023-09-06T04:48:33.137Z] total 304 [2023-09-06T04:48:33.137Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 04:47 . [2023-09-06T04:48:33.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:45 .. [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:45 .dockerignore [2023-09-06T04:48:33.137Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:46 .git [2023-09-06T04:48:33.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:45 .github [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:45 .gitignore [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:45 .golangci.yml [2023-09-06T04:48:33.137Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:46 .semver [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 6 04:45 CHANGELOG.md [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:45 GOVERNANCE.md [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:45 Jenkinsfile [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:45 LICENSE [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:45 Makefile [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:45 OWNERS.md [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 6 04:45 README.md [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 04:46 VERSION [2023-09-06T04:48:33.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:45 bin [2023-09-06T04:48:33.137Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 6 04:48 coverage.out [2023-09-06T04:48:33.137Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:45 example [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 6 04:45 go.mod [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 6 04:45 go.sum [2023-09-06T04:48:33.137Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:45 internal [2023-09-06T04:48:33.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:45 openapi [2023-09-06T04:48:33.137Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:45 pkg [2023-09-06T04:48:33.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:45 snap [2023-09-06T04:48:33.137Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:45 version.go [Pipeline] isUnix [2023-09-06T04:48:33.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:48:33.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:48:33.153Z] Configure a credential helper to remove this warning. See [2023-09-06T04:48:33.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:48:33.153Z] [2023-09-06T04:48:33.153Z] Login Succeeded [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:48:33.423Z] nexus3.edgexfoundry.org:10003 [2023-09-06T04:48:33.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:48:33.438Z] + 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=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c --label arch=amd64 --label version=3.1.0-dev.19 . [2023-09-06T04:48:33.438Z] Sending build context to Docker daemon 11.21MB [2023-09-06T04:48:33.438Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T04:48:33.438Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-06T04:48:33.438Z] ---> 7fa334ef915a [2023-09-06T04:48:33.438Z] Step 3/23 : ARG MAKE=make build [2023-09-06T04:48:33.697Z] ---> Running in 63a78f33dc71 [2023-09-06T04:48:33.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:48:33.701Z] Configure a credential helper to remove this warning. See [2023-09-06T04:48:33.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:48:33.701Z] [2023-09-06T04:48:33.701Z] Login Succeeded [2023-09-06T04:48:33.701Z] nexus3.edgexfoundry.org:10004 [2023-09-06T04:48:33.956Z] Removing intermediate container 63a78f33dc71 [2023-09-06T04:48:33.956Z] ---> a8cd4bf70b4f [2023-09-06T04:48:33.956Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-06T04:48:33.956Z] ---> Running in 87e3c4adcf84 [2023-09-06T04:48:33.956Z] Removing intermediate container 87e3c4adcf84 [2023-09-06T04:48:33.956Z] ---> f991df776700 [2023-09-06T04:48:33.956Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T04:48:33.956Z] ---> Running in 0638b6bac220 [2023-09-06T04:48:33.957Z] Removing intermediate container 0638b6bac220 [2023-09-06T04:48:33.957Z] ---> 470725d070da [2023-09-06T04:48:33.957Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-06T04:48:33.957Z] ---> Running in 7c42b25f9c17 [2023-09-06T04:48:33.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:48:33.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:48:33.970Z] Configure a credential helper to remove this warning. See [2023-09-06T04:48:33.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:48:33.970Z] [2023-09-06T04:48:33.970Z] Login Succeeded [2023-09-06T04:48:33.970Z] docker.io [2023-09-06T04:48:34.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T04:48:34.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:48:34.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T04:48:34.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:48:34.509Z] Configure a credential helper to remove this warning. See [2023-09-06T04:48:34.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:48:34.509Z] [2023-09-06T04:48:34.509Z] Login Succeeded [2023-09-06T04:48:34.509Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T04:48:34.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-06T04:48:34.733Z] OK: 265 MiB in 53 packages [Pipeline] echo [2023-09-06T04:48:34.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T04:48:34.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T04:48:34.805Z] ========================================================= [2023-09-06T04:48:34.805Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-06T04:48:34.805Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:48:34.991Z] Removing intermediate container 7c42b25f9c17 [2023-09-06T04:48:34.991Z] ---> ba3bae76778a [2023-09-06T04:48:34.991Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-06T04:48:35.146Z] + 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-09-06T04:48:35.250Z] ---> 7cd630cb9444 [2023-09-06T04:48:35.250Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T04:48:35.250Z] ---> Running in b6a6698be4ad [2023-09-06T04:48:35.416Z] Sending build context to Docker daemon 5.924MB [2023-09-06T04:48:35.416Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T04:48:35.416Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-06T04:48:35.686Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-06T04:48:35.686Z] edb6bdbacee9: Pulling fs layer [2023-09-06T04:48:35.686Z] 5f9638ab2659: Pulling fs layer [2023-09-06T04:48:35.686Z] 8d51d6327a98: Pulling fs layer [2023-09-06T04:48:35.686Z] 8b374f2dd631: Pulling fs layer [2023-09-06T04:48:35.686Z] ec14aa9079de: Pulling fs layer [2023-09-06T04:48:35.686Z] 2f466654f4bb: Pulling fs layer [2023-09-06T04:48:35.686Z] 554e91adad29: Pulling fs layer [2023-09-06T04:48:35.686Z] ec14aa9079de: Waiting [2023-09-06T04:48:35.686Z] 2f466654f4bb: Waiting [2023-09-06T04:48:35.686Z] 8b374f2dd631: Waiting [2023-09-06T04:48:35.686Z] 554e91adad29: Waiting [2023-09-06T04:48:35.686Z] 5f9638ab2659: Verifying Checksum [2023-09-06T04:48:35.686Z] 5f9638ab2659: Download complete [2023-09-06T04:48:35.686Z] 8b374f2dd631: Verifying Checksum [2023-09-06T04:48:35.686Z] 8b374f2dd631: Download complete [2023-09-06T04:48:35.686Z] ec14aa9079de: Verifying Checksum [2023-09-06T04:48:35.686Z] ec14aa9079de: Download complete [2023-09-06T04:48:35.686Z] edb6bdbacee9: Verifying Checksum [2023-09-06T04:48:35.686Z] edb6bdbacee9: Download complete [2023-09-06T04:48:35.816Z] Removing intermediate container b6a6698be4ad [2023-09-06T04:48:35.816Z] ---> 9b19e912e451 [2023-09-06T04:48:35.816Z] Step 9/23 : COPY . . [2023-09-06T04:48:36.442Z] ---> 0b3ff4004376 [2023-09-06T04:48:36.442Z] Step 10/23 : RUN ${MAKE} [2023-09-06T04:48:36.653Z] edb6bdbacee9: Pull complete [2023-09-06T04:48:36.701Z] ---> Running in 3a35c5f8eecc [2023-09-06T04:48:36.959Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.19" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-06T04:48:37.247Z] 554e91adad29: Verifying Checksum [2023-09-06T04:48:37.247Z] 554e91adad29: Download complete [2023-09-06T04:48:37.247Z] 5f9638ab2659: Pull complete [2023-09-06T04:48:38.224Z] 8d51d6327a98: Verifying Checksum [2023-09-06T04:48:38.224Z] 8d51d6327a98: Download complete [2023-09-06T04:48:38.224Z] 2f466654f4bb: Verifying Checksum [2023-09-06T04:48:38.224Z] 2f466654f4bb: Download complete [2023-09-06T04:48:50.561Z] 8d51d6327a98: Pull complete [2023-09-06T04:48:50.561Z] 8b374f2dd631: Pull complete [2023-09-06T04:48:50.561Z] ec14aa9079de: Pull complete [2023-09-06T04:48:55.911Z] 2f466654f4bb: Pull complete [2023-09-06T04:48:58.504Z] 554e91adad29: Pull complete [2023-09-06T04:48:58.504Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-06T04:48:58.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-06T04:48:58.504Z] ---> 1e15ea492957 [2023-09-06T04:48:58.504Z] Step 3/10 : ARG MAKE=make build [2023-09-06T04:48:59.922Z] ---> Running in f261d38c1312 [2023-09-06T04:49:00.189Z] Removing intermediate container f261d38c1312 [2023-09-06T04:49:00.189Z] ---> a2fffbbb839d [2023-09-06T04:49:00.189Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-06T04:49:00.189Z] ---> Running in eb6a20dc0aab [2023-09-06T04:49:00.463Z] Removing intermediate container eb6a20dc0aab [2023-09-06T04:49:00.463Z] ---> 46de7ce8c7dd [2023-09-06T04:49:00.463Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T04:49:00.463Z] ---> Running in 6968f3fe9525 [2023-09-06T04:49:00.736Z] Removing intermediate container 6968f3fe9525 [2023-09-06T04:49:00.736Z] ---> 98f5caba8b5b [2023-09-06T04:49:00.736Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-06T04:49:01.009Z] ---> Running in 12896818687e [2023-09-06T04:49:01.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T04:49:02.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T04:49:03.523Z] OK: 263 MiB in 53 packages [2023-09-06T04:49:03.666Z] Removing intermediate container 3a35c5f8eecc [2023-09-06T04:49:03.667Z] ---> 330fc854fb4a [2023-09-06T04:49:03.667Z] Step 11/23 : FROM alpine:3.17 [2023-09-06T04:49:03.667Z] 3.17: Pulling from library/alpine [2023-09-06T04:49:03.667Z] 9398808236ff: Pulling fs layer [2023-09-06T04:49:03.667Z] 9398808236ff: Pull complete [2023-09-06T04:49:03.667Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T04:49:03.667Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T04:49:03.667Z] ---> 1e0b8b5322fc [2023-09-06T04:49:03.667Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-06T04:49:03.667Z] ---> Running in e19e7e06013a [2023-09-06T04:49:03.667Z] Removing intermediate container e19e7e06013a [2023-09-06T04:49:03.667Z] ---> abd7eb4ba101 [2023-09-06T04:49:03.667Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-06T04:49:03.667Z] ---> Running in 4cd7a8b506b1 [2023-09-06T04:49:03.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T04:49:03.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T04:49:03.667Z] OK: 7 MiB in 15 packages [2023-09-06T04:49:03.667Z] Removing intermediate container 4cd7a8b506b1 [2023-09-06T04:49:03.667Z] ---> 13385ec51308 [2023-09-06T04:49:03.667Z] Step 14/23 : WORKDIR / [2023-09-06T04:49:03.667Z] ---> Running in 7c90c43db2f1 [2023-09-06T04:49:03.667Z] Removing intermediate container 7c90c43db2f1 [2023-09-06T04:49:03.667Z] ---> 303005e68fe4 [2023-09-06T04:49:03.667Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-06T04:49:03.667Z] ---> 66bcae2eb0d5 [2023-09-06T04:49:03.667Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-06T04:49:03.667Z] ---> e13e1f8ad3d3 [2023-09-06T04:49:03.667Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-06T04:49:03.667Z] ---> 949dee65ee6b [2023-09-06T04:49:03.667Z] Step 18/23 : EXPOSE 59999 [2023-09-06T04:49:03.667Z] ---> Running in 7b293f42514f [2023-09-06T04:49:03.667Z] Removing intermediate container 7b293f42514f [2023-09-06T04:49:03.667Z] ---> 812b33ef8e33 [2023-09-06T04:49:03.667Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-06T04:49:03.667Z] ---> Running in 3f9e58f01ea8 [2023-09-06T04:49:03.667Z] Removing intermediate container 3f9e58f01ea8 [2023-09-06T04:49:03.667Z] ---> a7a3fc1d0ae1 [2023-09-06T04:49:03.667Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-06T04:49:03.667Z] ---> Running in 27e21095009f [2023-09-06T04:49:03.667Z] Removing intermediate container 27e21095009f [2023-09-06T04:49:03.667Z] ---> 911b52016311 [2023-09-06T04:49:03.667Z] Step 21/23 : LABEL arch=amd64 [2023-09-06T04:49:03.667Z] ---> Running in d73240a12bb6 [2023-09-06T04:49:03.667Z] Removing intermediate container d73240a12bb6 [2023-09-06T04:49:03.667Z] ---> dc4a9832eb7c [2023-09-06T04:49:03.667Z] Step 22/23 : LABEL git_sha=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [2023-09-06T04:49:03.667Z] ---> Running in 1c23a31f1de0 [2023-09-06T04:49:03.667Z] Removing intermediate container 1c23a31f1de0 [2023-09-06T04:49:03.667Z] ---> 38294151bed3 [2023-09-06T04:49:03.667Z] Step 23/23 : LABEL version=3.1.0-dev.19 [2023-09-06T04:49:03.667Z] ---> Running in 00e304cf1759 [2023-09-06T04:49:03.667Z] Removing intermediate container 00e304cf1759 [2023-09-06T04:49:03.667Z] ---> 731e000fe209 [2023-09-06T04:49:03.667Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T04:49:03.667Z] Successfully built 731e000fe209 [2023-09-06T04:49:03.667Z] 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-09-06T04:49:04.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T04:49:04.087Z] [2023-09-06T04:49:04.087Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:49:04.196Z] Removing intermediate container 12896818687e [2023-09-06T04:49:04.196Z] ---> 7d49840aac05 [2023-09-06T04:49:04.196Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-06T04:49:04.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T04:49:04.381Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-06T04:49:04.381Z] 5eb5b503b376: Pulling fs layer [2023-09-06T04:49:04.381Z] 5c69ac0246d0: Pulling fs layer [2023-09-06T04:49:04.381Z] ec43610c2a17: Pulling fs layer [2023-09-06T04:49:04.381Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-06T04:49:04.381Z] 33b1e0a273af: Pulling fs layer [2023-09-06T04:49:04.381Z] 5d3b04190fa2: Pulling fs layer [2023-09-06T04:49:04.381Z] 2f39f015ded8: Pulling fs layer [2023-09-06T04:49:04.381Z] 3a2ae6a8a46f: Waiting [2023-09-06T04:49:04.381Z] 33b1e0a273af: Waiting [2023-09-06T04:49:04.381Z] 5d3b04190fa2: Waiting [2023-09-06T04:49:04.381Z] 2f39f015ded8: Waiting [2023-09-06T04:49:04.381Z] 5c69ac0246d0: Verifying Checksum [2023-09-06T04:49:04.381Z] 5c69ac0246d0: Download complete [2023-09-06T04:49:04.381Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-06T04:49:04.381Z] 3a2ae6a8a46f: Download complete [2023-09-06T04:49:04.381Z] 33b1e0a273af: Verifying Checksum [2023-09-06T04:49:04.381Z] 33b1e0a273af: Download complete [2023-09-06T04:49:04.381Z] 5d3b04190fa2: Verifying Checksum [2023-09-06T04:49:04.381Z] 5d3b04190fa2: Download complete [2023-09-06T04:49:04.381Z] ec43610c2a17: Verifying Checksum [2023-09-06T04:49:04.381Z] ec43610c2a17: Download complete [2023-09-06T04:49:04.642Z] 5eb5b503b376: Verifying Checksum [2023-09-06T04:49:04.642Z] 5eb5b503b376: Download complete [2023-09-06T04:49:04.807Z] ---> 32c25579a580 [2023-09-06T04:49:04.807Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T04:49:04.807Z] ---> Running in f3830014c6de [2023-09-06T04:49:05.209Z] 2f39f015ded8: Download complete [2023-09-06T04:49:06.147Z] 5eb5b503b376: Pull complete [2023-09-06T04:49:06.147Z] 5c69ac0246d0: Pull complete [2023-09-06T04:49:06.405Z] ec43610c2a17: Pull complete [2023-09-06T04:49:06.664Z] 3a2ae6a8a46f: Pull complete [2023-09-06T04:49:06.664Z] 33b1e0a273af: Pull complete [2023-09-06T04:49:06.923Z] 5d3b04190fa2: Pull complete [2023-09-06T04:49:11.110Z] 2f39f015ded8: Pull complete [2023-09-06T04:49:11.110Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-06T04:49:11.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T04:49:11.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:49:11.200Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T04:49:11.234Z] $ 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-09-06T04:49:16.377Z] $ docker top 7931ec18b71f9dd7d33df5cb6f122890be37eb6382eb96357cbe6c4d75c55224 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:49:16.766Z] ---> job-cost.sh [2023-09-06T04:49:16.766Z] lf-activate-venv: SKIPPING [2023-09-06T04:49:16.766Z] INFO: No Stack... [2023-09-06T04:49:17.025Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T04:49:17.284Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T04:49:17.831Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-06T04:49:17.831Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T04:49:17.845Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [2023-09-06T04:49:17.851Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] did not exist. Created. [2023-09-06T04:49:17.851Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T04:49:18.156Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-06T04:49:18.183Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T04:49:18.189Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T04:49:18.213Z] $ docker stop --time=1 7931ec18b71f9dd7d33df5cb6f122890be37eb6382eb96357cbe6c4d75c55224 [2023-09-06T04:49:19.371Z] $ docker rm -f --volumes 7931ec18b71f9dd7d33df5cb6f122890be37eb6382eb96357cbe6c4d75c55224 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-06T04:50:12.719Z] Removing intermediate container f3830014c6de [2023-09-06T04:50:12.720Z] ---> 78510f3fbc6d [2023-09-06T04:50:12.720Z] Step 9/10 : COPY . . [2023-09-06T04:50:12.720Z] ---> 1a4409413cde [2023-09-06T04:50:12.720Z] Step 10/10 : RUN ${MAKE} [2023-09-06T04:50:12.720Z] ---> Running in 01bf7570c19a [2023-09-06T04:50:12.720Z] noop [2023-09-06T04:50:12.720Z] Removing intermediate container 01bf7570c19a [2023-09-06T04:50:12.720Z] ---> 710c56f7a4a2 [2023-09-06T04:50:12.720Z] Successfully built 710c56f7a4a2 [2023-09-06T04:50:12.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:50:13.063Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T04:50:13.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:50:13.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-5423 does not seem to be running inside a container [2023-09-06T04:50:13.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/248 -v /w/workspace/device-sdk-go/248:/w/workspace/device-sdk-go/248:rw,z -v /w/workspace/device-sdk-go/248@tmp:/w/workspace/device-sdk-go/248@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-arm64 cat [2023-09-06T04:50:14.571Z] $ docker top a639df6d4dfc32471618cc64dcbc1e5c6b7abd02fac98893b8261bc1a375b313 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:50:15.377Z] + go version [2023-09-06T04:50:15.377Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-06T04:50:15.402Z] $ docker stop --time=1 a639df6d4dfc32471618cc64dcbc1e5c6b7abd02fac98893b8261bc1a375b313 [2023-09-06T04:50:17.301Z] $ docker rm -f --volumes a639df6d4dfc32471618cc64dcbc1e5c6b7abd02fac98893b8261bc1a375b313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:50:17.795Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T04:50:17.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:50:17.959Z] prd-ubuntu20.04-docker-arm64-4c-16g-5423 does not seem to be running inside a container [2023-09-06T04:50:18.028Z] $ 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/248 -v /w/workspace/device-sdk-go/248:/w/workspace/device-sdk-go/248:rw,z -v /w/workspace/device-sdk-go/248@tmp:/w/workspace/device-sdk-go/248@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-arm64 cat [2023-09-06T04:50:19.133Z] $ docker top 992c78fb60f637f93a03ed8b7811fbe5d3a8fb85609045b4d1f06a0c3d9c4493 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:50:19.617Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/248 [Pipeline] fileExists [Pipeline] sh [2023-09-06T04:50:20.256Z] + make test [2023-09-06T04:50:20.257Z] go test -race -coverprofile=coverage.out ./... [2023-09-06T04:50:59.108Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-06T04:53:05.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-06T04:53:05.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-06T04:53:05.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-06T04:53:05.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-06T04:53:05.875Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-06T04:53:09.210Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.232s coverage: 27.6% of statements [2023-09-06T04:53:14.548Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.260s coverage: 80.2% of statements [2023-09-06T04:53:26.846Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-06T04:53:26.846Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-06T04:53:26.846Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.364s coverage: 86.0% of statements [2023-09-06T04:53:32.190Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-06T04:53:32.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.482s coverage: 71.8% of statements [2023-09-06T04:53:36.124Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.284s coverage: 14.1% of statements [2023-09-06T04:53:38.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-06T04:53:38.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-06T04:53:39.665Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.261s coverage: 43.8% of statements [2023-09-06T04:53:39.665Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.407s coverage: 68.5% of statements [2023-09-06T04:53:42.245Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.427s coverage: 89.2% of statements [2023-09-06T04:53:43.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-06T04:53:43.660Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.247s coverage: 5.5% of statements [2023-09-06T04:53:44.618Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-06T04:53:44.618Z] GO111MODULE=on go vet ./... [2023-09-06T04:56:06.312Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T04:56:06.312Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T04:56:06.312Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T04:56:06.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T04:56:06.354Z] $ docker stop --time=1 992c78fb60f637f93a03ed8b7811fbe5d3a8fb85609045b4d1f06a0c3d9c4493 [2023-09-06T04:56:08.839Z] $ docker rm -f --volumes 992c78fb60f637f93a03ed8b7811fbe5d3a8fb85609045b4d1f06a0c3d9c4493 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T04:56:10.435Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T04:56:10.457Z] Warning: overwriting stash ‘coverage-report’ [2023-09-06T04:56:10.957Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T04:56:11.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T04:56:11.665Z] + ls -al . [2023-09-06T04:56:11.665Z] total 300 [2023-09-06T04:56:11.665Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 04:50 . [2023-09-06T04:56:11.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:48 .. [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:48 .dockerignore [2023-09-06T04:56:11.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:48 .git [2023-09-06T04:56:11.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:48 .github [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:48 .gitignore [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:48 .golangci.yml [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 6 04:48 CHANGELOG.md [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:48 GOVERNANCE.md [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:48 Jenkinsfile [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:48 LICENSE [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:48 Makefile [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:48 OWNERS.md [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 6 04:48 README.md [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 04:46 VERSION [2023-09-06T04:56:11.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:48 bin [2023-09-06T04:56:11.665Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 6 04:53 coverage.out [2023-09-06T04:56:11.665Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:48 example [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 6 04:48 go.mod [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 6 04:48 go.sum [2023-09-06T04:56:11.665Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:48 internal [2023-09-06T04:56:11.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:48 openapi [2023-09-06T04:56:11.665Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:48 pkg [2023-09-06T04:56:11.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:48 snap [2023-09-06T04:56:11.665Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:56:11.996Z] + 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=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c --label arch=arm64 --label version=3.1.0-dev.19 . [2023-09-06T04:56:12.265Z] Sending build context to Docker daemon 6.046MB [2023-09-06T04:56:12.265Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T04:56:12.265Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-06T04:56:12.265Z] ---> 710c56f7a4a2 [2023-09-06T04:56:12.265Z] Step 3/23 : ARG MAKE=make build [2023-09-06T04:56:12.533Z] ---> Running in e530e9459125 [2023-09-06T04:56:12.800Z] Removing intermediate container e530e9459125 [2023-09-06T04:56:12.800Z] ---> 685da667d83b [2023-09-06T04:56:12.800Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-06T04:56:12.800Z] ---> Running in 5c5ef691da91 [2023-09-06T04:56:13.067Z] Removing intermediate container 5c5ef691da91 [2023-09-06T04:56:13.067Z] ---> 92326cb02a4a [2023-09-06T04:56:13.067Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T04:56:13.067Z] ---> Running in 85a365e7ec63 [2023-09-06T04:56:13.341Z] Removing intermediate container 85a365e7ec63 [2023-09-06T04:56:13.341Z] ---> f806ffa8317c [2023-09-06T04:56:13.341Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-06T04:56:13.618Z] ---> Running in 59d425700dd4 [2023-09-06T04:56:14.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T04:56:15.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T04:56:16.121Z] OK: 263 MiB in 53 packages [2023-09-06T04:56:16.707Z] Removing intermediate container 59d425700dd4 [2023-09-06T04:56:16.708Z] ---> fba959fb4335 [2023-09-06T04:56:16.708Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-06T04:56:17.299Z] ---> 6b292057a2ef [2023-09-06T04:56:17.299Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T04:56:17.299Z] ---> Running in 96a7e160673a [2023-09-06T04:56:19.244Z] Removing intermediate container 96a7e160673a [2023-09-06T04:56:19.244Z] ---> 6321256d9dd9 [2023-09-06T04:56:19.244Z] Step 9/23 : COPY . . [2023-09-06T04:56:22.583Z] ---> 1419f6f0890e [2023-09-06T04:56:22.583Z] Step 10/23 : RUN ${MAKE} [2023-09-06T04:56:22.583Z] ---> Running in 2c0fd492797b [2023-09-06T04:56:23.167Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.19" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-06T04:58:44.821Z] Removing intermediate container 2c0fd492797b [2023-09-06T04:58:44.821Z] ---> e8aeb10ae44c [2023-09-06T04:58:44.821Z] Step 11/23 : FROM alpine:3.17 [2023-09-06T04:58:44.821Z] 3.17: Pulling from library/alpine [2023-09-06T04:58:44.821Z] 4060ece20d7a: Pulling fs layer [2023-09-06T04:58:44.821Z] 4060ece20d7a: Verifying Checksum [2023-09-06T04:58:44.821Z] 4060ece20d7a: Pull complete [2023-09-06T04:58:44.821Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T04:58:44.821Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T04:58:44.821Z] ---> 8650cd65339b [2023-09-06T04:58:44.821Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-06T04:58:44.821Z] ---> Running in bb933c73b71a [2023-09-06T04:58:44.821Z] Removing intermediate container bb933c73b71a [2023-09-06T04:58:44.821Z] ---> 44047a2dbcc8 [2023-09-06T04:58:44.821Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-06T04:58:44.821Z] ---> Running in 19d2bd81e9a9 [2023-09-06T04:58:44.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T04:58:44.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T04:58:44.822Z] OK: 7 MiB in 15 packages [2023-09-06T04:58:44.822Z] Removing intermediate container 19d2bd81e9a9 [2023-09-06T04:58:44.822Z] ---> b6092fbdd9c2 [2023-09-06T04:58:44.822Z] Step 14/23 : WORKDIR / [2023-09-06T04:58:44.822Z] ---> Running in a3c51803b403 [2023-09-06T04:58:44.822Z] Removing intermediate container a3c51803b403 [2023-09-06T04:58:44.822Z] ---> 1f80c994c17a [2023-09-06T04:58:44.822Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-06T04:58:44.822Z] ---> 8ae34f630eba [2023-09-06T04:58:44.822Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-06T04:58:44.822Z] ---> b60034e4cfde [2023-09-06T04:58:44.822Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-06T04:58:44.822Z] ---> c472cf4bbcb9 [2023-09-06T04:58:44.822Z] Step 18/23 : EXPOSE 59999 [2023-09-06T04:58:44.822Z] ---> Running in 8e8cf91ad9df [2023-09-06T04:58:44.822Z] Removing intermediate container 8e8cf91ad9df [2023-09-06T04:58:44.822Z] ---> ed49ac073835 [2023-09-06T04:58:44.822Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-06T04:58:44.822Z] ---> Running in cce05423fa14 [2023-09-06T04:58:44.822Z] Removing intermediate container cce05423fa14 [2023-09-06T04:58:44.822Z] ---> 25f19af29fcd [2023-09-06T04:58:44.822Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-06T04:58:44.822Z] ---> Running in 1bd2bcc93f2d [2023-09-06T04:58:44.822Z] Removing intermediate container 1bd2bcc93f2d [2023-09-06T04:58:44.822Z] ---> a2e51eece5a5 [2023-09-06T04:58:44.822Z] Step 21/23 : LABEL arch=arm64 [2023-09-06T04:58:44.822Z] ---> Running in 979e47110410 [2023-09-06T04:58:44.822Z] Removing intermediate container 979e47110410 [2023-09-06T04:58:44.822Z] ---> 7aeb57e1c41e [2023-09-06T04:58:44.822Z] Step 22/23 : LABEL git_sha=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [2023-09-06T04:58:44.822Z] ---> Running in 9d98b941e223 [2023-09-06T04:58:44.822Z] Removing intermediate container 9d98b941e223 [2023-09-06T04:58:44.822Z] ---> db772c61d5e5 [2023-09-06T04:58:44.822Z] Step 23/23 : LABEL version=3.1.0-dev.19 [2023-09-06T04:58:44.822Z] ---> Running in dd9bf75595cc [2023-09-06T04:58:44.822Z] Removing intermediate container dd9bf75595cc [2023-09-06T04:58:44.822Z] ---> d81364a34458 [2023-09-06T04:58:44.822Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T04:58:44.822Z] Successfully built d81364a34458 [2023-09-06T04:58:44.822Z] 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-09-06T04:58:45.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T04:58:45.251Z] [2023-09-06T04:58:45.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:58:45.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T04:58:45.579Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-06T04:58:45.579Z] 8998bd30e6a1: Pulling fs layer [2023-09-06T04:58:45.579Z] 04944245beec: Pulling fs layer [2023-09-06T04:58:45.579Z] 699f458cf7ca: Pulling fs layer [2023-09-06T04:58:45.579Z] 765212b225bb: Pulling fs layer [2023-09-06T04:58:45.579Z] f23df028b6ca: Pulling fs layer [2023-09-06T04:58:45.579Z] d65c8cfc05b1: Pulling fs layer [2023-09-06T04:58:45.579Z] 2437ff75d9bd: Pulling fs layer [2023-09-06T04:58:45.579Z] f23df028b6ca: Waiting [2023-09-06T04:58:45.579Z] d65c8cfc05b1: Waiting [2023-09-06T04:58:45.579Z] 2437ff75d9bd: Waiting [2023-09-06T04:58:45.579Z] 765212b225bb: Waiting [2023-09-06T04:58:45.990Z] 04944245beec: Verifying Checksum [2023-09-06T04:58:45.990Z] 04944245beec: Download complete [2023-09-06T04:58:45.990Z] 765212b225bb: Verifying Checksum [2023-09-06T04:58:45.990Z] 765212b225bb: Download complete [2023-09-06T04:58:45.990Z] f23df028b6ca: Verifying Checksum [2023-09-06T04:58:45.990Z] f23df028b6ca: Download complete [2023-09-06T04:58:45.990Z] d65c8cfc05b1: Verifying Checksum [2023-09-06T04:58:45.990Z] d65c8cfc05b1: Download complete [2023-09-06T04:58:45.990Z] 699f458cf7ca: Verifying Checksum [2023-09-06T04:58:45.990Z] 699f458cf7ca: Download complete [2023-09-06T04:58:46.606Z] 8998bd30e6a1: Verifying Checksum [2023-09-06T04:58:46.606Z] 8998bd30e6a1: Download complete [2023-09-06T04:58:48.607Z] 2437ff75d9bd: Verifying Checksum [2023-09-06T04:58:48.607Z] 2437ff75d9bd: Download complete [2023-09-06T04:58:51.217Z] 8998bd30e6a1: Pull complete [2023-09-06T04:58:51.482Z] 04944245beec: Pull complete [2023-09-06T04:58:52.888Z] 699f458cf7ca: Pull complete [2023-09-06T04:58:53.154Z] 765212b225bb: Pull complete [2023-09-06T04:58:53.738Z] f23df028b6ca: Pull complete [2023-09-06T04:58:54.004Z] d65c8cfc05b1: Pull complete [2023-09-06T04:59:09.006Z] 2437ff75d9bd: Pull complete [2023-09-06T04:59:09.006Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-06T04:59:09.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T04:59:09.006Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:59:09.180Z] prd-ubuntu20.04-docker-arm64-4c-16g-5423 does not seem to be running inside a container [2023-09-06T04:59:09.248Z] $ 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/248 -v /w/workspace/device-sdk-go/248:/w/workspace/device-sdk-go/248:rw,z -v /w/workspace/device-sdk-go/248@tmp:/w/workspace/device-sdk-go/248@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:arm64 cat [2023-09-06T04:59:11.586Z] $ docker top eaac0a7a4596a15e3b52bb0d66fc05b1a7e0c9117e78a89c2f2c628d5fba6b52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:59:12.097Z] ---> job-cost.sh [2023-09-06T04:59:12.363Z] lf-activate-venv: SKIPPING [2023-09-06T04:59:12.363Z] INFO: No Stack... [2023-09-06T04:59:12.945Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-06T04:59:13.526Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T04:59:13.842Z] + cat /w/workspace/device-sdk-go/248/archives/cost.csv [2023-09-06T04:59:13.842Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T04:59:13.895Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [2023-09-06T04:59:13.902Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] did not exist. Created. [2023-09-06T04:59:13.902Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T04:59:14.235Z] /w/workspace/device-sdk-go/248@tmp/durable-a425bdc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-06T04:59:14.876Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-06T04:59:14.900Z] Warning: overwriting stash ‘stack-cost’ [2023-09-06T04:59:14.972Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T04:59:14.981Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T04:59:15.008Z] $ docker stop --time=1 eaac0a7a4596a15e3b52bb0d66fc05b1a7e0c9117e78a89c2f2c628d5fba6b52 [2023-09-06T04:59:18.210Z] $ docker rm -f --volumes eaac0a7a4596a15e3b52bb0d66fc05b1a7e0c9117e78a89c2f2c628d5fba6b52 [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-09-06T04:59:18.671Z] provisioning config files... [2023-09-06T04:59:18.677Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6094652725373919748tmp [Pipeline] { [Pipeline] sh [2023-09-06T04:59:18.972Z] + set +x [2023-09-06T04:59:18.972Z] + bash -s -- [2023-09-06T04:59:18.972Z] + curl -s https://codecov.io/bash [2023-09-06T04:59:18.972Z] [2023-09-06T04:59:18.972Z] _____ _ [2023-09-06T04:59:18.972Z] / ____| | | [2023-09-06T04:59:18.972Z] | | ___ __| | ___ ___ _____ __ [2023-09-06T04:59:18.972Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-06T04:59:18.972Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-06T04:59:18.972Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-06T04:59:18.972Z] Bash-1.0.6 [2023-09-06T04:59:18.972Z] [2023-09-06T04:59:18.972Z] [2023-09-06T04:59:18.972Z] ==> git version 2.25.1 found [2023-09-06T04:59:18.972Z] ==> 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-09-06T04:59:18.972Z] Release-Date: 2020-01-08 [2023-09-06T04:59:18.972Z] 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-09-06T04:59:18.972Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-06T04:59:18.972Z] ==> Jenkins CI detected. [2023-09-06T04:59:18.972Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-06T04:59:18.972Z] project root: . [2023-09-06T04:59:18.972Z] --> token set from env [2023-09-06T04:59:18.972Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-06T04:59:18.972Z] ==> Running gcov in . (disable via -X gcov) [2023-09-06T04:59:18.972Z] ==> Python coveragepy not found [2023-09-06T04:59:18.972Z] ==> Searching for coverage reports in: [2023-09-06T04:59:18.972Z] + . [2023-09-06T04:59:19.232Z] -> Found 1 reports [2023-09-06T04:59:19.232Z] ==> Detecting git/mercurial file structure [2023-09-06T04:59:19.232Z] ==> Reading reports [2023-09-06T04:59:19.232Z] + ./coverage.out bytes=120468 [2023-09-06T04:59:19.232Z] ==> Appending adjustments [2023-09-06T04:59:19.232Z] https://docs.codecov.io/docs/fixing-reports [2023-09-06T04:59:19.492Z] + Found adjustments [2023-09-06T04:59:19.492Z] ==> Gzipping contents [2023-09-06T04:59:19.492Z] 20K /tmp/codecov.KNCl8L.gz [2023-09-06T04:59:19.492Z] ==> Uploading reports [2023-09-06T04:59:19.492Z] url: https://codecov.io [2023-09-06T04:59:19.492Z] query: branch=main&commit=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c&build=248&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F248%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-06T04:59:19.492Z] -> Pinging Codecov [2023-09-06T04:59:19.492Z] 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=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c&build=248&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F248%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-06T04:59:19.751Z] -> Uploading to [2023-09-06T04:59:19.751Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-06/7E55EF52A471D76F132DFD9A03CDDE97/44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c/bf512057-29af-48d4-8d08-5ed16606fab1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230906T045919Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=115defedbe63e8d92d8dd500a48a4bd162961d47466d085897e81b4121433c55 [2023-09-06T04:59:19.751Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T04:59:19.751Z] Dload Upload Total Spent Left Speed [2023-09-06T04:59:19.751Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16426 0 0 100 16426 0 80126 --:--:-- --:--:-- --:--:-- 79737 100 16426 0 0 100 16426 0 80126 --:--:-- --:--:-- --:--:-- 79737 [2023-09-06T04:59:19.751Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] } [2023-09-06T04:59:19.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-06T04:59:20.006Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-06T04:59:20.018Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:59:20.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-06T04:59:20.317Z] [2023-09-06T04:59:20.317Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:59:20.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-06T04:59:20.621Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-06T04:59:20.621Z] df9b9388f04a: Pulling fs layer [2023-09-06T04:59:20.621Z] 52dc419b0ee2: Pulling fs layer [2023-09-06T04:59:20.621Z] 25bc292e5bac: Pulling fs layer [2023-09-06T04:59:20.621Z] 114826534d7a: Pulling fs layer [2023-09-06T04:59:20.621Z] 4657fd5d0bcf: Pulling fs layer [2023-09-06T04:59:20.621Z] 6ad1cebc031e: Pulling fs layer [2023-09-06T04:59:20.621Z] 8a3aa393b2d8: Pulling fs layer [2023-09-06T04:59:20.621Z] 114826534d7a: Waiting [2023-09-06T04:59:20.621Z] 4657fd5d0bcf: Waiting [2023-09-06T04:59:20.621Z] 6ad1cebc031e: Waiting [2023-09-06T04:59:20.621Z] 8a3aa393b2d8: Waiting [2023-09-06T04:59:20.621Z] 25bc292e5bac: Download complete [2023-09-06T04:59:20.621Z] 52dc419b0ee2: Verifying Checksum [2023-09-06T04:59:20.621Z] 52dc419b0ee2: Download complete [2023-09-06T04:59:20.621Z] 4657fd5d0bcf: Verifying Checksum [2023-09-06T04:59:20.621Z] 4657fd5d0bcf: Download complete [2023-09-06T04:59:20.621Z] df9b9388f04a: Verifying Checksum [2023-09-06T04:59:20.621Z] df9b9388f04a: Download complete [2023-09-06T04:59:20.880Z] 6ad1cebc031e: Verifying Checksum [2023-09-06T04:59:20.880Z] 6ad1cebc031e: Download complete [2023-09-06T04:59:20.880Z] df9b9388f04a: Pull complete [2023-09-06T04:59:20.880Z] 52dc419b0ee2: Pull complete [2023-09-06T04:59:21.143Z] 25bc292e5bac: Pull complete [2023-09-06T04:59:21.402Z] 114826534d7a: Verifying Checksum [2023-09-06T04:59:21.402Z] 114826534d7a: Download complete [2023-09-06T04:59:21.660Z] 8a3aa393b2d8: Verifying Checksum [2023-09-06T04:59:21.660Z] 8a3aa393b2d8: Download complete [2023-09-06T04:59:25.844Z] 114826534d7a: Pull complete [2023-09-06T04:59:25.844Z] 4657fd5d0bcf: Pull complete [2023-09-06T04:59:25.844Z] 6ad1cebc031e: Pull complete [2023-09-06T04:59:29.128Z] 8a3aa393b2d8: Pull complete [2023-09-06T04:59:29.128Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-06T04:59:29.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-06T04:59:29.128Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:59:29.215Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T04:59:29.250Z] $ 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-09-06T04:59:33.625Z] $ docker top 95ba64f452447470ebb4b5a0f19c9afc30f13152c79b185fed45765bcd51d299 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-06T04:59:33.696Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-06T04:59:33.974Z] + set -o pipefail [2023-09-06T04:59:33.974Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-06T04:59:39.245Z] [2023-09-06T04:59:39.245Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-06T04:59:39.245Z] [2023-09-06T04:59:39.245Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/13578b84-71fa-4397-a350-7bd4dd649e83 [2023-09-06T04:59:39.245Z] [2023-09-06T04:59:39.245Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-06T04:59:39.245Z] [2023-09-06T04:59:39.245Z] [2023-09-06T04:59:39.245Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-06T04:59:39.245Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-06T04:59:39.245Z] More details here: https://snyk.co/ue1NS [2023-09-06T04:59:39.245Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-06T04:59:39.245Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-06T04:59:39.259Z] $ docker stop --time=1 95ba64f452447470ebb4b5a0f19c9afc30f13152c79b185fed45765bcd51d299 [2023-09-06T04:59:43.036Z] $ docker rm -f --volumes 95ba64f452447470ebb4b5a0f19c9afc30f13152c79b185fed45765bcd51d299 [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-09-06T04:59:43.442Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T04:59:43.455Z] provisioning config files... [2023-09-06T04:59:43.463Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4649322706476741226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:59:43.751Z] --> edgex-publish-swagger.sh [2023-09-06T04:59:43.751Z] === Publish openapi/v3 API === [2023-09-06T04:59:43.751Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-06T04:59:43.751Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-06T04:59:43.751Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T04:59:43.751Z] Dload Upload Total Spent Left Speed [2023-09-06T04:59:44.009Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 51131 --:--:-- --:--:-- --:--:-- 51021 [2023-09-06T04:59:44.009Z] [2023-09-06T04:59:44.009Z] [Pipeline] } [2023-09-06T04:59:44.014Z] 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-09-06T04:59:44.376Z] + git log --format=format:%s -1 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] sh [2023-09-06T04:59:44.666Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T04:59:44.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:59:44.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T04:59:44.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:59:45.039Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T04:59:45.080Z] $ 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-09-06T04:59:45.572Z] $ docker top 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 -eo pid,comm [2023-09-06T04:59:45.622Z] 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-09-06T04:59:45.622Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T04:59:45.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T04:59:45.662Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T04:59:45.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T04:59:45.805Z] $ docker exec 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 ssh-agent [2023-09-06T04:59:45.916Z] SSH_AUTH_SOCK=/tmp/ssh-D1sbQqrmGjtb/agent.31 [2023-09-06T04:59:45.916Z] SSH_AGENT_PID=37 [2023-09-06T04:59:45.921Z] Running ssh-add (command line suppressed) [2023-09-06T04:59:46.053Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1888202983739990385.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1888202983739990385.key) [2023-09-06T04:59:46.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T04:59:46.353Z] + git semver tag [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,531 [run_tag] DEBUG tag force:False [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,531 [check_head_tag] DEBUG check head tag [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,532 [execute] INFO git cat-file --batch-check [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,537 [execute] INFO git cat-file --batch [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,553 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,553 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,553 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-06T04:59:46.612Z] 2023-09-06 04:59:46,559 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T04:59:46.612Z] 3.1.0-dev.19 [Pipeline] } [2023-09-06T04:59:46.624Z] $ docker exec --env ******** --env ******** 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 ssh-agent -k [2023-09-06T04:59:46.729Z] unset SSH_AUTH_SOCK; [2023-09-06T04:59:46.730Z] unset SSH_AGENT_PID; [2023-09-06T04:59:46.730Z] echo Agent pid 37 killed; [2023-09-06T04:59:46.741Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T04:59:47.039Z] + git semver [Pipeline] } [2023-09-06T04:59:47.315Z] $ docker stop --time=1 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 [2023-09-06T04:59:48.587Z] $ docker rm -f --volumes 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:59:48.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-06T04:59:48.958Z] [2023-09-06T04:59:48.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:59:49.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-06T04:59:49.255Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-06T04:59:49.255Z] ab5ef0e58194: Pulling fs layer [2023-09-06T04:59:49.255Z] 9712f1f96733: Pulling fs layer [2023-09-06T04:59:49.255Z] 63f879dbbcfc: Pulling fs layer [2023-09-06T04:59:49.255Z] 0d9ebad4ef96: Pulling fs layer [2023-09-06T04:59:49.255Z] e9a5061849ea: Pulling fs layer [2023-09-06T04:59:49.255Z] d747dcd14b5f: Pulling fs layer [2023-09-06T04:59:49.255Z] 2de7ff778b66: Pulling fs layer [2023-09-06T04:59:49.255Z] d747dcd14b5f: Waiting [2023-09-06T04:59:49.255Z] e9a5061849ea: Waiting [2023-09-06T04:59:49.255Z] 2de7ff778b66: Waiting [2023-09-06T04:59:49.255Z] 0d9ebad4ef96: Waiting [2023-09-06T04:59:49.255Z] 9712f1f96733: Verifying Checksum [2023-09-06T04:59:49.255Z] 9712f1f96733: Download complete [2023-09-06T04:59:49.515Z] 63f879dbbcfc: Verifying Checksum [2023-09-06T04:59:49.515Z] 63f879dbbcfc: Download complete [2023-09-06T04:59:49.775Z] e9a5061849ea: Verifying Checksum [2023-09-06T04:59:49.775Z] e9a5061849ea: Download complete [2023-09-06T04:59:49.775Z] d747dcd14b5f: Download complete [2023-09-06T04:59:50.034Z] 0d9ebad4ef96: Verifying Checksum [2023-09-06T04:59:50.034Z] 0d9ebad4ef96: Download complete [2023-09-06T04:59:50.034Z] ab5ef0e58194: Download complete [2023-09-06T04:59:50.034Z] 2de7ff778b66: Verifying Checksum [2023-09-06T04:59:50.034Z] 2de7ff778b66: Download complete [2023-09-06T04:59:53.319Z] ab5ef0e58194: Pull complete [2023-09-06T04:59:53.319Z] 9712f1f96733: Pull complete [2023-09-06T04:59:53.885Z] 63f879dbbcfc: Pull complete [2023-09-06T04:59:58.158Z] 0d9ebad4ef96: Pull complete [2023-09-06T04:59:58.158Z] e9a5061849ea: Pull complete [2023-09-06T04:59:58.158Z] d747dcd14b5f: Pull complete [2023-09-06T04:59:59.095Z] 2de7ff778b66: Pull complete [2023-09-06T04:59:59.095Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-06T04:59:59.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-06T04:59:59.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:59:59.434Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T04:59:59.472Z] $ 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-09-06T05:00:16.330Z] $ docker top 692129edf52ea583d852d3c62d3ce98a82e81e781cd59b95e5e1465f4acfb38b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-06T05:00:16.403Z] provisioning config files... [2023-09-06T05:00:16.412Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13097773722305243677tmp [2023-09-06T05:00:16.423Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15638852833526566176tmp [2023-09-06T05:00:16.435Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4377606083432507226tmp [Pipeline] { [Pipeline] echo [2023-09-06T05:00:16.447Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:18.500Z] ---> sigul-configuration.sh [2023-09-06T05:00:18.500Z] gpg: directory `/root/.gnupg' created [2023-09-06T05:00:18.500Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-06T05:00:18.500Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-06T05:00:18.500Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-06T05:00:18.500Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-06T05:00:18.500Z] gpg: CAST5 encrypted data [2023-09-06T05:00:18.500Z] gpg: encrypted with 1 passphrase [2023-09-06T05:00:18.500Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-06T05:00:18.791Z] + mkdir /home/jenkins [2023-09-06T05:00:18.791Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-06T05:00:19.128Z] + 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-09-06T05:00:19.136Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:19.420Z] ---> sigul-install.sh [2023-09-06T05:00:19.420Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-06T05:00:19.708Z] + git tag --list [2023-09-06T05:00:19.708Z] 0.7.1 [2023-09-06T05:00:19.708Z] delhi-tag [2023-09-06T05:00:19.708Z] v1.0.0 [2023-09-06T05:00:19.708Z] v1.1.0 [2023-09-06T05:00:19.708Z] v1.1.1 [2023-09-06T05:00:19.708Z] v1.1.2 [2023-09-06T05:00:19.708Z] v1.2.0 [2023-09-06T05:00:19.708Z] v1.2.1 [2023-09-06T05:00:19.708Z] v1.2.2 [2023-09-06T05:00:19.708Z] v1.2.3 [2023-09-06T05:00:19.708Z] v1.3.0 [2023-09-06T05:00:19.708Z] v1.4.0 [2023-09-06T05:00:19.708Z] v2.0.0 [2023-09-06T05:00:19.708Z] v2.1.0 [2023-09-06T05:00:19.708Z] v2.1.1 [2023-09-06T05:00:19.708Z] v2.2.0 [2023-09-06T05:00:19.708Z] v2.3.0 [2023-09-06T05:00:19.708Z] v2.3.1 [2023-09-06T05:00:19.708Z] v3.0 [2023-09-06T05:00:19.708Z] v3.0.0 [2023-09-06T05:00:19.708Z] v3.0.1-dev.1 [2023-09-06T05:00:19.708Z] v3.1.0-dev.1 [2023-09-06T05:00:19.708Z] v3.1.0-dev.10 [2023-09-06T05:00:19.708Z] v3.1.0-dev.11 [2023-09-06T05:00:19.708Z] v3.1.0-dev.12 [2023-09-06T05:00:19.708Z] v3.1.0-dev.13 [2023-09-06T05:00:19.708Z] v3.1.0-dev.14 [2023-09-06T05:00:19.708Z] v3.1.0-dev.15 [2023-09-06T05:00:19.708Z] v3.1.0-dev.16 [2023-09-06T05:00:19.708Z] v3.1.0-dev.17 [2023-09-06T05:00:19.708Z] v3.1.0-dev.18 [2023-09-06T05:00:19.708Z] v3.1.0-dev.19 [2023-09-06T05:00:19.708Z] v3.1.0-dev.2 [2023-09-06T05:00:19.708Z] v3.1.0-dev.3 [2023-09-06T05:00:19.708Z] v3.1.0-dev.4 [2023-09-06T05:00:19.708Z] v3.1.0-dev.5 [2023-09-06T05:00:19.708Z] v3.1.0-dev.6 [2023-09-06T05:00:19.708Z] v3.1.0-dev.7 [2023-09-06T05:00:19.708Z] v3.1.0-dev.8 [2023-09-06T05:00:19.708Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-06T05:00:19.996Z] + lftools sign git-tag v3.1.0-dev.19 [2023-09-06T05:00:20.565Z] Signing Git tag with Sigul... [2023-09-06T05:00:20.565Z] Signing v3.1.0-dev.19 [Pipeline] echo [2023-09-06T05:00:21.143Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:21.432Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-06T05:00:21.439Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-06T05:00:21.461Z] $ docker stop --time=1 692129edf52ea583d852d3c62d3ce98a82e81e781cd59b95e5e1465f4acfb38b [2023-09-06T05:00:22.797Z] $ docker rm -f --volumes 692129edf52ea583d852d3c62d3ce98a82e81e781cd59b95e5e1465f4acfb38b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-06T05:00:23.182Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T05:00:23.182Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T05:00:23.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T05:00:23.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T05:00:23.564Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T05:00:23.600Z] $ 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-09-06T05:00:23.984Z] $ docker top c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 -eo pid,comm [2023-09-06T05:00:24.028Z] 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-09-06T05:00:24.028Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T05:00:24.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T05:00:24.068Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T05:00:24.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T05:00:24.185Z] $ docker exec c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 ssh-agent [2023-09-06T05:00:24.296Z] SSH_AUTH_SOCK=/tmp/ssh-tjuqpxAAqrk7/agent.31 [2023-09-06T05:00:24.296Z] SSH_AGENT_PID=37 [2023-09-06T05:00:24.300Z] Running ssh-add (command line suppressed) [2023-09-06T05:00:24.406Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4455987890949569723.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4455987890949569723.key) [2023-09-06T05:00:24.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T05:00:24.701Z] + git semver bump pre [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,916 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,916 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,916 [bump_version] DEBUG bumped version:3.1.0-dev.20 [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,916 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,916 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,916 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,919 [execute] INFO git cat-file --batch-check [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,924 [execute] INFO git cat-file --batch [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T05:00:24.959Z] 2023-09-06 05:00:24,930 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T05:00:24.959Z] 3.1.0-dev.20 [Pipeline] } [2023-09-06T05:00:24.972Z] $ docker exec --env ******** --env ******** c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 ssh-agent -k [2023-09-06T05:00:25.105Z] unset SSH_AUTH_SOCK; [2023-09-06T05:00:25.105Z] unset SSH_AGENT_PID; [2023-09-06T05:00:25.105Z] echo Agent pid 37 killed; [2023-09-06T05:00:25.111Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T05:00:25.415Z] + git semver [Pipeline] } [2023-09-06T05:00:25.689Z] $ docker stop --time=1 c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 [2023-09-06T05:00:26.971Z] $ docker rm -f --volumes c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T05:00:27.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T05:00:27.303Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T05:00:27.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T05:00:27.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T05:00:27.670Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T05:00:27.706Z] $ 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-09-06T05:00:28.060Z] $ docker top b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T05:00:28.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T05:00:28.142Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T05:00:28.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T05:00:28.261Z] $ docker exec b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 ssh-agent [2023-09-06T05:00:28.371Z] SSH_AUTH_SOCK=/tmp/ssh-SmtL3rnUTuPB/agent.34 [2023-09-06T05:00:28.371Z] SSH_AGENT_PID=40 [2023-09-06T05:00:28.375Z] Running ssh-add (command line suppressed) [2023-09-06T05:00:28.482Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9280247562852859956.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9280247562852859956.key) [2023-09-06T05:00:28.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T05:00:28.777Z] + git semver push [2023-09-06T05:00:29.038Z] 2023-09-06 05:00:28,983 [run_push] DEBUG push [2023-09-06T05:00:29.038Z] 2023-09-06 05:00:28,983 [execute] INFO git cat-file --batch-check [2023-09-06T05:00:29.038Z] 2023-09-06 05:00:28,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T05:00:29.038Z] 2023-09-06 05:00:28,988 [execute] INFO git rev-list 008f92dd39c215414e1d4fd596cfd4ea065671bd -- [2023-09-06T05:00:29.038Z] 2023-09-06 05:00:28,988 [execute] DEBUG Popen(['git', 'rev-list', '008f92dd39c215414e1d4fd596cfd4ea065671bd', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-06T05:00:29.038Z] 2023-09-06 05:00:29,001 [execute] INFO git fetch -v origin [2023-09-06T05:00:29.038Z] 2023-09-06 05:00:29,002 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-06T05:00:29.606Z] 2023-09-06 05:00:29,464 [run_push] DEBUG no remote changes detected [2023-09-06T05:00:29.606Z] 2023-09-06 05:00:29,464 [execute] INFO git push origin semver [2023-09-06T05:00:29.606Z] 2023-09-06 05:00:29,465 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-06T05:00:30.543Z] 2023-09-06 05:00:30,376 [run_push] DEBUG push all version tags [2023-09-06T05:00:30.543Z] 2023-09-06 05:00:30,377 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-06T05:00:30.543Z] 2023-09-06 05:00:30,378 [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-09-06T05:00:31.479Z] 2023-09-06 05:00:31,171 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-06T05:00:31.480Z] 3.1.0-dev.20 [Pipeline] } [2023-09-06T05:00:31.493Z] $ docker exec --env ******** --env ******** b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 ssh-agent -k [2023-09-06T05:00:31.602Z] unset SSH_AUTH_SOCK; [2023-09-06T05:00:31.602Z] unset SSH_AGENT_PID; [2023-09-06T05:00:31.602Z] echo Agent pid 40 killed; [2023-09-06T05:00:31.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T05:00:31.913Z] + git semver [Pipeline] } [2023-09-06T05:00:32.188Z] $ docker stop --time=1 b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 [2023-09-06T05:00:33.503Z] $ docker rm -f --volumes b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 [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-09-06T05:00:34.038Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-06T05:00:34.038Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-06T05:00:34.038Z] total 16 [2023-09-06T05:00:34.038Z] drwxr-xr-x 3 root root 4096 Sep 6 04:49 . [2023-09-06T05:00:34.038Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 05:00 .. [2023-09-06T05:00:34.038Z] drwxr-xr-x 2 root root 4096 Sep 6 04:49 cost [2023-09-06T05:00:34.038Z] -rw-r--r-- 1 root root 85 Sep 6 04:49 cost.csv [2023-09-06T05:00:34.038Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-06T05:00:34.038Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-06T05:00:34.038Z] total 16 [2023-09-06T05:00:34.038Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:49 . [2023-09-06T05:00:34.038Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 05:00 .. [2023-09-06T05:00:34.038Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 04:49 cost [2023-09-06T05:00:34.038Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 6 04:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:34.324Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:35.178Z] ---> package-listing.sh [2023-09-06T05:00:35.178Z] ++ facter osfamily [2023-09-06T05:00:35.178Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-06T05:00:35.436Z] + OS_FAMILY=debian [2023-09-06T05:00:35.436Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-06T05:00:35.436Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-06T05:00:35.436Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-06T05:00:35.436Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-06T05:00:35.436Z] + PACKAGES=/tmp/packages_start.txt [2023-09-06T05:00:35.436Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-06T05:00:35.436Z] + PACKAGES=/tmp/packages_end.txt [2023-09-06T05:00:35.436Z] + case "${OS_FAMILY}" in [2023-09-06T05:00:35.436Z] + dpkg -l [2023-09-06T05:00:35.436Z] + grep '^ii' [2023-09-06T05:00:35.436Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-06T05:00:35.436Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-06T05:00:35.436Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-06T05:00:35.436Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-06T05:00:35.436Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-06T05:00:35.436Z] + 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-09-06T05:00:35.446Z] 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-09-06T05:00:35.720Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T05:00:36.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T05:00:36.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T05:00:36.357Z] prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container [2023-09-06T05:00:36.388Z] $ 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-09-06T05:00:36.602Z] $ docker top 925c93b2b00cc717f08e04b73e96e46d353c6386db4eda6f41e449319e328536 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T05:00:36.941Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-06T05:00:37.298Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-06T05:00:37.610Z] + ls /var/log/sa-host [2023-09-06T05:00:37.610Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T05:00:37.675Z] provisioning config files... [2023-09-06T05:00:37.697Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4309349330274069206tmp [Pipeline] { [Pipeline] echo [2023-09-06T05:00:37.722Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:38.050Z] ---> create-netrc.sh [Pipeline] } [2023-09-06T05:00:38.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:38.369Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-06T05:00:38.376Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:38.666Z] ---> sudo-logs.sh [2023-09-06T05:00:38.666Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-06T05:00:38.699Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:38.981Z] ---> job-cost.sh [2023-09-06T05:00:38.982Z] lf-activate-venv: SKIPPING [2023-09-06T05:00:38.982Z] DEBUG: total: 0.2199999988079071 [2023-09-06T05:00:38.982Z] INFO: Retrieving Stack Cost... [2023-09-06T05:00:39.242Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T05:00:39.810Z] INFO: Archiving Costs [Pipeline] echo [2023-09-06T05:00:39.820Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T05:00:40.100Z] ---> logs-deploy.sh [2023-09-06T05:00:40.101Z] lf-activate-venv: SKIPPING [2023-09-06T05:00:40.101Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/248 [2023-09-06T05:00:40.101Z] INFO: archiving workspace using pattern(s): [2023-09-06T05:00:41.036Z] Archives upload complete. [2023-09-06T05:00:41.295Z] INFO: archiving logs to Nexus