Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0da80382c0e288d5b5fa5ac238919125b7cf977 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-ssh487548219032629265.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh73927611578229299.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/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-ssh533712095294176433.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17432497800471840440.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-ssh16182422177207682783.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1443’ Running on prd-ubuntu20.04-docker-8c-8g-1445 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > 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 Checking out Revision a0da80382c0e288d5b5fa5ac238919125b7cf977 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1478)" > git config core.sparsecheckout # timeout=10 > git checkout -f a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 > git rev-list --no-walk 349d442d4da267b0cf06bf856b10c4b1ed668afd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-18T15:10:02.190Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-18T15:10:02.259Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-18T15:10:02.275Z] ========================================================= [2023-07-18T15:10:02.275Z] EdgeX Global Pipelines Version Info [2023-07-18T15:10:02.275Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:10:02.982Z] ------------------- [2023-07-18T15:10:02.982Z] stable info: [2023-07-18T15:10:02.982Z] ------------------- [2023-07-18T15:10:02.982Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-18T15:10:02.982Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T15:10:02.982Z] Message: update stable to v1.0.250 [2023-07-18T15:10:03.552Z] ------------------- [2023-07-18T15:10:03.552Z] experimental info: [2023-07-18T15:10:03.552Z] ------------------- [2023-07-18T15:10:03.552Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-18T15:10:03.552Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T15:10:03.552Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-18T15:10:03.718Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-18T15:10:03.736Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-18T15:10:03.755Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-18T15:10:03.774Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-18T15:10:03.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-18T15:10:03.816Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-18T15:10:03.834Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-18T15:10:03.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-18T15:10:03.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-18T15:10:03.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-18T15:10:03.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-18T15:10:03.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-18T15:10:03.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-18T15:10:03.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-18T15:10:03.974Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-18T15:10:03.983Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T15:10:03.999Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T15:10:04.019Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T15:10:04.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-18T15:10:04.054Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-18T15:10:04.074Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-18T15:10:04.100Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-18T15:10:04.121Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-18T15:10:04.142Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-18T15:10:04.154Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-18T15:10:04.173Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-18T15:10:04.197Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-18T15:10:04.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-18T15:10:04.234Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-18T15:10:04.252Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-18T15:10:04.271Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] echo [2023-07-18T15:10:04.290Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0da803 [Pipeline] echo [2023-07-18T15:10:04.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T15:10:04.356Z] provisioning config files... [2023-07-18T15:10:04.369Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1903085994973018368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:10:04.677Z] ---> docker-login.sh [2023-07-18T15:10:04.677Z] nexus3.edgexfoundry.org:10001 [2023-07-18T15:10:04.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:04.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:04.937Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:04.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:04.937Z] [2023-07-18T15:10:04.937Z] Login Succeeded [2023-07-18T15:10:04.937Z] nexus3.edgexfoundry.org:10002 [2023-07-18T15:10:04.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:04.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:04.937Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:04.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:04.937Z] [2023-07-18T15:10:04.937Z] Login Succeeded [2023-07-18T15:10:04.937Z] nexus3.edgexfoundry.org:10003 [2023-07-18T15:10:05.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:05.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:05.197Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:05.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:05.197Z] [2023-07-18T15:10:05.197Z] Login Succeeded [2023-07-18T15:10:05.197Z] nexus3.edgexfoundry.org:10004 [2023-07-18T15:10:05.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:05.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:05.197Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:05.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:05.197Z] [2023-07-18T15:10:05.197Z] Login Succeeded [2023-07-18T15:10:05.197Z] docker.io [2023-07-18T15:10:05.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:05.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:05.457Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:05.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:05.457Z] [2023-07-18T15:10:05.457Z] Login Succeeded [2023-07-18T15:10:05.457Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T15:10:05.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-18T15:10:05.814Z] + git rev-list -1 --merges a0da80382c0e288d5b5fa5ac238919125b7cf977~1..a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] echo [2023-07-18T15:10:05.872Z] -----------> git rev-list -1 --merges a0da80382c0e288d5b5fa5ac238919125b7cf977~1..a0da80382c0e288d5b5fa5ac238919125b7cf977 a0da80382c0e288d5b5fa5ac238919125b7cf977 [false] [Pipeline] sh [2023-07-18T15:10:06.162Z] + git log --format=format:%s -1 a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] echo [2023-07-18T15:10:06.176Z] ========================================================= [2023-07-18T15:10:06.176Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-18T15:10:06.176Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T15:10:06.510Z] + git log --format=format:%s -1 a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] echo [2023-07-18T15:10:06.522Z] [semverPrep] GIT_COMMIT: a0da80382c0e288d5b5fa5ac238919125b7cf977, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1478) [Pipeline] echo [2023-07-18T15:10:06.531Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-18T15:10:06.872Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-18T15:10:06.872Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-18T15:10:06.872Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-18T15:10:06.872Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-18T15:10:06.872Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-18T15:10:06.872Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-18T15:10:06.872Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:10:07.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T15:10:07.224Z] [2023-07-18T15:10:07.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:10:07.525Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T15:10:07.525Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-18T15:10:07.525Z] b85a868b505f: Pulling fs layer [2023-07-18T15:10:07.525Z] e2be974225ed: Pulling fs layer [2023-07-18T15:10:07.525Z] 339a4e72a1f5: Pulling fs layer [2023-07-18T15:10:07.525Z] 988bab9f4d93: Pulling fs layer [2023-07-18T15:10:07.525Z] 1469e6f7b9e6: Pulling fs layer [2023-07-18T15:10:07.525Z] eaf3925da568: Pulling fs layer [2023-07-18T15:10:07.525Z] bab4dde63d76: Pulling fs layer [2023-07-18T15:10:07.525Z] bde34c3a00c8: Pulling fs layer [2023-07-18T15:10:07.525Z] b352a97aabf1: Pulling fs layer [2023-07-18T15:10:07.525Z] 4872d77fe225: Pulling fs layer [2023-07-18T15:10:07.525Z] 5851b861e8e6: Pulling fs layer [2023-07-18T15:10:07.525Z] eaf3925da568: Waiting [2023-07-18T15:10:07.525Z] bab4dde63d76: Waiting [2023-07-18T15:10:07.525Z] bde34c3a00c8: Waiting [2023-07-18T15:10:07.525Z] b352a97aabf1: Waiting [2023-07-18T15:10:07.525Z] 5851b861e8e6: Waiting [2023-07-18T15:10:07.525Z] 4872d77fe225: Waiting [2023-07-18T15:10:07.525Z] 988bab9f4d93: Waiting [2023-07-18T15:10:07.525Z] 1469e6f7b9e6: Waiting [2023-07-18T15:10:07.525Z] e2be974225ed: Download complete [2023-07-18T15:10:07.525Z] 988bab9f4d93: Verifying Checksum [2023-07-18T15:10:07.525Z] 988bab9f4d93: Download complete [2023-07-18T15:10:07.785Z] 1469e6f7b9e6: Verifying Checksum [2023-07-18T15:10:07.785Z] 1469e6f7b9e6: Download complete [2023-07-18T15:10:07.785Z] eaf3925da568: Verifying Checksum [2023-07-18T15:10:07.785Z] eaf3925da568: Download complete [2023-07-18T15:10:07.785Z] 339a4e72a1f5: Verifying Checksum [2023-07-18T15:10:07.785Z] 339a4e72a1f5: Download complete [2023-07-18T15:10:07.785Z] bde34c3a00c8: Verifying Checksum [2023-07-18T15:10:07.785Z] bde34c3a00c8: Download complete [2023-07-18T15:10:07.785Z] b352a97aabf1: Verifying Checksum [2023-07-18T15:10:07.785Z] b352a97aabf1: Download complete [2023-07-18T15:10:07.785Z] 4872d77fe225: Verifying Checksum [2023-07-18T15:10:07.785Z] 4872d77fe225: Download complete [2023-07-18T15:10:07.785Z] 5851b861e8e6: Verifying Checksum [2023-07-18T15:10:07.785Z] 5851b861e8e6: Download complete [2023-07-18T15:10:07.785Z] b85a868b505f: Verifying Checksum [2023-07-18T15:10:07.785Z] b85a868b505f: Download complete [2023-07-18T15:10:08.045Z] bab4dde63d76: Verifying Checksum [2023-07-18T15:10:08.045Z] bab4dde63d76: Download complete [2023-07-18T15:10:08.983Z] b85a868b505f: Pull complete [2023-07-18T15:10:09.242Z] e2be974225ed: Pull complete [2023-07-18T15:10:09.808Z] 339a4e72a1f5: Pull complete [2023-07-18T15:10:09.808Z] 988bab9f4d93: Pull complete [2023-07-18T15:10:10.069Z] 1469e6f7b9e6: Pull complete [2023-07-18T15:10:10.069Z] eaf3925da568: Pull complete [2023-07-18T15:10:11.970Z] bab4dde63d76: Pull complete [2023-07-18T15:10:11.970Z] bde34c3a00c8: Pull complete [2023-07-18T15:10:12.230Z] b352a97aabf1: Pull complete [2023-07-18T15:10:12.230Z] 4872d77fe225: Pull complete [2023-07-18T15:10:12.491Z] 5851b861e8e6: Pull complete [2023-07-18T15:10:12.491Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-18T15:10:12.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T15:10:12.491Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:10:12.596Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:10:12.633Z] $ 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-07-18T15:10:15.927Z] $ docker top dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 -eo pid,comm [2023-07-18T15:10:15.985Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-18T15:10:15.985Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-18T15:10:16.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T15:10:16.030Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T15:10:16.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T15:10:16.153Z] $ docker exec dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 ssh-agent [2023-07-18T15:10:16.262Z] SSH_AUTH_SOCK=/tmp/ssh-ugMHx9HgjkjW/agent.32 [2023-07-18T15:10:16.262Z] SSH_AGENT_PID=38 [2023-07-18T15:10:16.271Z] Running ssh-add (command line suppressed) [2023-07-18T15:10:16.407Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6259062228490531988.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6259062228490531988.key) [2023-07-18T15:10:16.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T15:10:16.709Z] + git tag --points-at HEAD [Pipeline] } [2023-07-18T15:10:16.727Z] $ docker exec --env ******** --env ******** dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 ssh-agent -k [2023-07-18T15:10:16.841Z] unset SSH_AUTH_SOCK; [2023-07-18T15:10:16.842Z] unset SSH_AGENT_PID; [2023-07-18T15:10:16.842Z] echo Agent pid 38 killed; [2023-07-18T15:10:16.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-18T15:10:16.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T15:10:16.888Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T15:10:17.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T15:10:17.014Z] $ docker exec dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 ssh-agent [2023-07-18T15:10:17.126Z] SSH_AUTH_SOCK=/tmp/ssh-LUe6zkB1pbjd/agent.70 [2023-07-18T15:10:17.126Z] SSH_AGENT_PID=76 [2023-07-18T15:10:17.133Z] Running ssh-add (command line suppressed) [2023-07-18T15:10:17.250Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2390797472430248583.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2390797472430248583.key) [2023-07-18T15:10:17.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T15:10:17.575Z] + git semver init [2023-07-18T15:10:17.834Z] 2023-07-18 15:10:17,748 [run_init] DEBUG init version:0.0.0 force:False [2023-07-18T15:10:17.835Z] 2023-07-18 15:10:17,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-18T15:10:17.835Z] 2023-07-18 15:10:17,749 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-18T15:10:17.835Z] 2023-07-18 15:10:17,749 [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-07-18T15:10:18.771Z] 2023-07-18 15:10:18,633 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-07-18T15:10:18.771Z] 2023-07-18 15:10:18,633 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-07-18T15:10:18.771Z] 2023-07-18 15:10:18,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:10:18.771Z] 2023-07-18 15:10:18,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:10:18.771Z] 3.1.0-dev.4 [Pipeline] } [2023-07-18T15:10:18.789Z] $ docker exec --env ******** --env ******** dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 ssh-agent -k [2023-07-18T15:10:18.897Z] unset SSH_AUTH_SOCK; [2023-07-18T15:10:18.898Z] unset SSH_AGENT_PID; [2023-07-18T15:10:18.898Z] echo Agent pid 76 killed; [2023-07-18T15:10:18.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-18T15:10:19.206Z] + git semver [Pipeline] } [2023-07-18T15:10:19.484Z] $ docker stop --time=1 dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 [2023-07-18T15:10:20.792Z] $ docker rm -f --volumes dde482d7b6e7193151b1aeec79d3522e5769e42c25f8d35daf88455e92757519 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T15:10:21.127Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-18T15:10:21.369Z] Stashed 1 file(s) [Pipeline] echo [2023-07-18T15:10:21.372Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T15:10:21.507Z] provisioning config files... [2023-07-18T15:10:21.517Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11712719428011414453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:10:21.821Z] ---> docker-login.sh [2023-07-18T15:10:21.821Z] nexus3.edgexfoundry.org:10001 [2023-07-18T15:10:21.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:21.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:21.821Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:21.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:21.821Z] [2023-07-18T15:10:21.821Z] Login Succeeded [2023-07-18T15:10:21.821Z] nexus3.edgexfoundry.org:10002 [2023-07-18T15:10:21.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:21.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:21.821Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:21.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:21.821Z] [2023-07-18T15:10:21.821Z] Login Succeeded [2023-07-18T15:10:22.080Z] nexus3.edgexfoundry.org:10003 [2023-07-18T15:10:22.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:22.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:22.080Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:22.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:22.080Z] [2023-07-18T15:10:22.080Z] Login Succeeded [2023-07-18T15:10:22.080Z] nexus3.edgexfoundry.org:10004 [2023-07-18T15:10:22.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:22.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:22.080Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:22.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:22.080Z] [2023-07-18T15:10:22.080Z] Login Succeeded [2023-07-18T15:10:22.080Z] docker.io [2023-07-18T15:10:22.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:10:22.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:10:22.339Z] Configure a credential helper to remove this warning. See [2023-07-18T15:10:22.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:10:22.339Z] [2023-07-18T15:10:22.339Z] Login Succeeded [2023-07-18T15:10:22.339Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T15:10:22.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T15:10:22.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T15:10:22.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T15:10:22.428Z] ========================================================= [2023-07-18T15:10:22.428Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-18T15:10:22.428Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:10:22.750Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-18T15:10:22.750Z] Sending build context to Docker daemon 10.88MB [2023-07-18T15:10:22.750Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T15:10:22.750Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-18T15:10:22.750Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-18T15:10:22.750Z] 4db1b89c0bd1: Pulling fs layer [2023-07-18T15:10:22.750Z] 6911f1a30b25: Pulling fs layer [2023-07-18T15:10:22.750Z] e194b8c5c2a9: Pulling fs layer [2023-07-18T15:10:22.750Z] 6863d3e3a2b1: Pulling fs layer [2023-07-18T15:10:22.750Z] ec0bb842ea78: Pulling fs layer [2023-07-18T15:10:22.750Z] 40a00589a448: Pulling fs layer [2023-07-18T15:10:22.750Z] 6c08303d61cc: Pulling fs layer [2023-07-18T15:10:22.750Z] 798269fcf238: Pulling fs layer [2023-07-18T15:10:22.750Z] 6863d3e3a2b1: Waiting [2023-07-18T15:10:22.750Z] ec0bb842ea78: Waiting [2023-07-18T15:10:22.750Z] 40a00589a448: Waiting [2023-07-18T15:10:22.750Z] 6c08303d61cc: Waiting [2023-07-18T15:10:22.750Z] 798269fcf238: Waiting [2023-07-18T15:10:23.010Z] 6911f1a30b25: Verifying Checksum [2023-07-18T15:10:23.010Z] 6911f1a30b25: Download complete [2023-07-18T15:10:23.010Z] 6863d3e3a2b1: Verifying Checksum [2023-07-18T15:10:23.010Z] 6863d3e3a2b1: Download complete [2023-07-18T15:10:23.010Z] 4db1b89c0bd1: Verifying Checksum [2023-07-18T15:10:23.010Z] 4db1b89c0bd1: Download complete [2023-07-18T15:10:23.010Z] ec0bb842ea78: Verifying Checksum [2023-07-18T15:10:23.010Z] ec0bb842ea78: Download complete [2023-07-18T15:10:23.010Z] 40a00589a448: Verifying Checksum [2023-07-18T15:10:23.010Z] 40a00589a448: Download complete [2023-07-18T15:10:23.010Z] 4db1b89c0bd1: Pull complete [2023-07-18T15:10:23.269Z] 6911f1a30b25: Pull complete [2023-07-18T15:10:23.528Z] e194b8c5c2a9: Verifying Checksum [2023-07-18T15:10:23.528Z] e194b8c5c2a9: Download complete [2023-07-18T15:10:23.785Z] 798269fcf238: Verifying Checksum [2023-07-18T15:10:23.786Z] 798269fcf238: Download complete [2023-07-18T15:10:23.786Z] 6c08303d61cc: Verifying Checksum [2023-07-18T15:10:23.786Z] 6c08303d61cc: Download complete [2023-07-18T15:10:27.070Z] e194b8c5c2a9: Pull complete [2023-07-18T15:10:27.070Z] 6863d3e3a2b1: Pull complete [2023-07-18T15:10:27.070Z] ec0bb842ea78: Pull complete [2023-07-18T15:10:27.070Z] 40a00589a448: Pull complete [2023-07-18T15:10:29.602Z] 6c08303d61cc: Pull complete [2023-07-18T15:10:30.545Z] 798269fcf238: Pull complete [2023-07-18T15:10:30.545Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-18T15:10:30.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-18T15:10:30.545Z] ---> ec979cd7f677 [2023-07-18T15:10:30.545Z] Step 3/10 : ARG MAKE=make build [2023-07-18T15:10:35.824Z] ---> Running in ba9987ed0057 [2023-07-18T15:10:35.824Z] Removing intermediate container ba9987ed0057 [2023-07-18T15:10:35.824Z] ---> 5481ceff1dc6 [2023-07-18T15:10:35.824Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-18T15:10:36.083Z] ---> Running in 74fb530665eb [2023-07-18T15:10:36.083Z] Removing intermediate container 74fb530665eb [2023-07-18T15:10:36.083Z] ---> b2a654596af3 [2023-07-18T15:10:36.083Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T15:10:36.083Z] ---> Running in 2c22ced2e1bb [2023-07-18T15:10:36.083Z] Removing intermediate container 2c22ced2e1bb [2023-07-18T15:10:36.083Z] ---> 97fe4b2eb766 [2023-07-18T15:10:36.083Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-18T15:10:36.083Z] ---> Running in 05c090b6f6a2 [2023-07-18T15:10:36.472Z] Still waiting to schedule task [2023-07-18T15:10:36.472Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1444’ [2023-07-18T15:10:36.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-18T15:10:36.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-18T15:10:36.912Z] OK: 265 MiB in 53 packages [2023-07-18T15:10:37.480Z] Removing intermediate container 05c090b6f6a2 [2023-07-18T15:10:37.480Z] ---> b8c279fbcd1f [2023-07-18T15:10:37.480Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-18T15:10:37.480Z] ---> 0d5826efe1cf [2023-07-18T15:10:37.480Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T15:10:37.480Z] ---> Running in 15f5fa1eaf19 [2023-07-18T15:11:09.877Z] Removing intermediate container 15f5fa1eaf19 [2023-07-18T15:11:09.877Z] ---> 9b8d35f49407 [2023-07-18T15:11:09.877Z] Step 9/10 : COPY . . [2023-07-18T15:11:09.877Z] ---> 6bcc01eacbe8 [2023-07-18T15:11:09.877Z] Step 10/10 : RUN ${MAKE} [2023-07-18T15:11:09.877Z] ---> Running in cd3e6aed53ea [2023-07-18T15:11:09.877Z] noop [2023-07-18T15:11:09.877Z] Removing intermediate container cd3e6aed53ea [2023-07-18T15:11:09.877Z] ---> 968c65e8436f [2023-07-18T15:11:09.877Z] Successfully built 968c65e8436f [2023-07-18T15:11:09.877Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:11:10.196Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T15:11:10.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:11:10.269Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:11:10.303Z] $ 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-07-18T15:11:10.670Z] $ docker top eada7a4e433552cbef8704f4601102855e9d8227d13a15df09485b758ab01229 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T15:11:10.998Z] + go version [2023-07-18T15:11:10.998Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-18T15:11:11.013Z] $ docker stop --time=1 eada7a4e433552cbef8704f4601102855e9d8227d13a15df09485b758ab01229 [2023-07-18T15:11:12.351Z] $ docker rm -f --volumes eada7a4e433552cbef8704f4601102855e9d8227d13a15df09485b758ab01229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:11:12.760Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T15:11:12.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:11:12.833Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:11:12.867Z] $ 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-07-18T15:11:13.204Z] $ docker top 862ca12740a814de21e14173f4e34dc8af453eb2df0c48d491435d4490554e62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T15:11:13.545Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-07-18T15:11:13.841Z] + make test [2023-07-18T15:11:13.841Z] go test -race -coverprofile=coverage.out ./... [2023-07-18T15:11:20.404Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-18T15:11:35.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-18T15:11:35.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-18T15:11:35.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-18T15:11:35.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-18T15:11:35.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-18T15:11:36.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-07-18T15:11:36.205Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-18T15:11:36.205Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-18T15:11:36.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.077s coverage: 80.2% of statements [2023-07-18T15:11:36.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-07-18T15:11:37.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-18T15:11:37.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-18T15:11:37.401Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.140s coverage: 77.5% of statements [2023-07-18T15:11:37.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-18T15:11:37.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-18T15:11:38.338Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-18T15:11:40.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.091s coverage: 14.3% of statements [2023-07-18T15:11:40.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.082s coverage: 68.5% of statements [2023-07-18T15:11:40.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.117s coverage: 89.2% of statements [2023-07-18T15:11:40.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.7% of statements [2023-07-18T15:12:02.183Z] GO111MODULE=on go vet ./... [2023-07-18T15:12:06.379Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-18T15:12:06.379Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-18T15:12:06.379Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-18T15:12:06.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-18T15:12:06.413Z] $ docker stop --time=1 862ca12740a814de21e14173f4e34dc8af453eb2df0c48d491435d4490554e62 [2023-07-18T15:12:10.045Z] $ docker rm -f --volumes 862ca12740a814de21e14173f4e34dc8af453eb2df0c48d491435d4490554e62 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T15:12:10.629Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-18T15:12:10.694Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-18T15:12:11.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-18T15:12:11.648Z] + ls -al . [2023-07-18T15:12:11.648Z] total 284 [2023-07-18T15:12:11.648Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 15:11 . [2023-07-18T15:12:11.648Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 15:10 .. [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 15:10 .dockerignore [2023-07-18T15:12:11.648Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 15:10 .git [2023-07-18T15:12:11.648Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 15:10 .github [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 15:10 .gitignore [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 15:10 .golangci.yml [2023-07-18T15:12:11.648Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 15:10 .semver [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 15:10 CHANGELOG.md [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 15:10 GOVERNANCE.md [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 15:10 Jenkinsfile [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 15:10 LICENSE [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 15:10 Makefile [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 15:10 OWNERS.md [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 15:10 README.md [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 15:10 VERSION [2023-07-18T15:12:11.648Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 15:10 bin [2023-07-18T15:12:11.648Z] -rw-r--r-- 1 jenkins jenkins 106150 Jul 18 15:11 coverage.out [2023-07-18T15:12:11.648Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 15:10 example [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 15:10 go.mod [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 15:10 go.sum [2023-07-18T15:12:11.648Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 15:10 internal [2023-07-18T15:12:11.648Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 15:10 openapi [2023-07-18T15:12:11.648Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 15:10 pkg [2023-07-18T15:12:11.648Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 15:10 snap [2023-07-18T15:12:11.648Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 15:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:12:12.010Z] + 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=a0da80382c0e288d5b5fa5ac238919125b7cf977 --label arch=amd64 --label version=3.1.0-dev.4 . [2023-07-18T15:12:12.010Z] Sending build context to Docker daemon 10.99MB [2023-07-18T15:12:12.010Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T15:12:12.010Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-18T15:12:12.010Z] ---> 968c65e8436f [2023-07-18T15:12:12.010Z] Step 3/23 : ARG MAKE=make build [2023-07-18T15:12:12.270Z] ---> Running in 0bfc6b43ff07 [2023-07-18T15:12:12.270Z] Removing intermediate container 0bfc6b43ff07 [2023-07-18T15:12:12.270Z] ---> c9a8def72a11 [2023-07-18T15:12:12.270Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-18T15:12:12.270Z] ---> Running in 186db4418850 [2023-07-18T15:12:12.270Z] Removing intermediate container 186db4418850 [2023-07-18T15:12:12.270Z] ---> aaab33dcc373 [2023-07-18T15:12:12.270Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T15:12:12.530Z] ---> Running in bf071d74b74f [2023-07-18T15:12:12.530Z] Removing intermediate container bf071d74b74f [2023-07-18T15:12:12.530Z] ---> d206e6f5e0e0 [2023-07-18T15:12:12.530Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-18T15:12:12.530Z] ---> Running in 58a493047577 [2023-07-18T15:12:12.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-18T15:12:13.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-18T15:12:13.307Z] OK: 265 MiB in 53 packages [2023-07-18T15:12:13.566Z] Removing intermediate container 58a493047577 [2023-07-18T15:12:13.566Z] ---> b393054b0dfb [2023-07-18T15:12:13.566Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-18T15:12:13.566Z] ---> 27fe999011d3 [2023-07-18T15:12:13.566Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T15:12:13.826Z] ---> Running in 3c493eaaffe6 [2023-07-18T15:12:14.397Z] Removing intermediate container 3c493eaaffe6 [2023-07-18T15:12:14.397Z] ---> df68affae72c [2023-07-18T15:12:14.397Z] Step 9/23 : COPY . . [2023-07-18T15:12:14.658Z] ---> 7102acbc3f51 [2023-07-18T15:12:14.658Z] Step 10/23 : RUN ${MAKE} [2023-07-18T15:12:14.919Z] ---> Running in e992072a3c23 [2023-07-18T15:12:14.919Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.4" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-18T15:12:36.872Z] Removing intermediate container e992072a3c23 [2023-07-18T15:12:36.872Z] ---> 147499a2fc55 [2023-07-18T15:12:36.872Z] Step 11/23 : FROM alpine:3.17 [2023-07-18T15:12:36.872Z] 3.17: Pulling from library/alpine [2023-07-18T15:12:36.872Z] 4db1b89c0bd1: Already exists [2023-07-18T15:12:36.872Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-18T15:12:36.872Z] Status: Downloaded newer image for alpine:3.17 [2023-07-18T15:12:36.872Z] ---> 1f73a9d63274 [2023-07-18T15:12:36.872Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-18T15:12:36.872Z] ---> Running in 9231d4b6971f [2023-07-18T15:12:36.872Z] Removing intermediate container 9231d4b6971f [2023-07-18T15:12:36.873Z] ---> 2a95798e1c79 [2023-07-18T15:12:36.873Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-18T15:12:36.873Z] ---> Running in f2dbedef1a85 [2023-07-18T15:12:37.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-18T15:12:37.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-18T15:12:37.652Z] OK: 7 MiB in 15 packages [2023-07-18T15:12:37.911Z] Removing intermediate container f2dbedef1a85 [2023-07-18T15:12:37.911Z] ---> bf26a6e75255 [2023-07-18T15:12:37.911Z] Step 14/23 : WORKDIR / [2023-07-18T15:12:37.911Z] ---> Running in cd15359f5b59 [2023-07-18T15:12:37.911Z] Removing intermediate container cd15359f5b59 [2023-07-18T15:12:37.911Z] ---> 1dced81a3210 [2023-07-18T15:12:37.911Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-18T15:12:38.170Z] ---> fff2755a073f [2023-07-18T15:12:38.170Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-18T15:12:39.108Z] ---> 9411c52fb06b [2023-07-18T15:12:39.108Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-18T15:12:39.108Z] ---> 035499ceb904 [2023-07-18T15:12:39.108Z] Step 18/23 : EXPOSE 59999 [2023-07-18T15:12:39.108Z] ---> Running in cf06af6ac9d7 [2023-07-18T15:12:39.108Z] Removing intermediate container cf06af6ac9d7 [2023-07-18T15:12:39.108Z] ---> 32a648036391 [2023-07-18T15:12:39.108Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-18T15:12:39.108Z] ---> Running in 16642ab69591 [2023-07-18T15:12:39.366Z] Removing intermediate container 16642ab69591 [2023-07-18T15:12:39.366Z] ---> d4825f5b429d [2023-07-18T15:12:39.366Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-18T15:12:39.366Z] ---> Running in 374006e9d790 [2023-07-18T15:12:39.366Z] Removing intermediate container 374006e9d790 [2023-07-18T15:12:39.366Z] ---> 8215c3d2d9f5 [2023-07-18T15:12:39.366Z] Step 21/23 : LABEL arch=amd64 [2023-07-18T15:12:39.366Z] ---> Running in de1f5760002f [2023-07-18T15:12:39.366Z] Removing intermediate container de1f5760002f [2023-07-18T15:12:39.366Z] ---> ce0b8efec3da [2023-07-18T15:12:39.366Z] Step 22/23 : LABEL git_sha=a0da80382c0e288d5b5fa5ac238919125b7cf977 [2023-07-18T15:12:39.624Z] ---> Running in f30db4b147b5 [2023-07-18T15:12:39.624Z] Removing intermediate container f30db4b147b5 [2023-07-18T15:12:39.624Z] ---> b6f8a505bc8c [2023-07-18T15:12:39.624Z] Step 23/23 : LABEL version=3.1.0-dev.4 [2023-07-18T15:12:39.624Z] ---> Running in 6c0c77e97624 [2023-07-18T15:12:39.624Z] Removing intermediate container 6c0c77e97624 [2023-07-18T15:12:39.624Z] ---> 5be79e91c0b6 [2023-07-18T15:12:39.624Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-18T15:12:39.624Z] Successfully built 5be79e91c0b6 [2023-07-18T15:12:39.624Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:12:40.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T15:12:40.085Z] [2023-07-18T15:12:40.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:12:40.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T15:12:40.386Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-18T15:12:40.386Z] 5eb5b503b376: Pulling fs layer [2023-07-18T15:12:40.386Z] 5c69ac0246d0: Pulling fs layer [2023-07-18T15:12:40.386Z] ec43610c2a17: Pulling fs layer [2023-07-18T15:12:40.386Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-18T15:12:40.386Z] 33b1e0a273af: Pulling fs layer [2023-07-18T15:12:40.386Z] 5d3b04190fa2: Pulling fs layer [2023-07-18T15:12:40.386Z] 2f39f015ded8: Pulling fs layer [2023-07-18T15:12:40.386Z] 3a2ae6a8a46f: Waiting [2023-07-18T15:12:40.386Z] 33b1e0a273af: Waiting [2023-07-18T15:12:40.386Z] 5d3b04190fa2: Waiting [2023-07-18T15:12:40.386Z] 2f39f015ded8: Waiting [2023-07-18T15:12:40.386Z] 5c69ac0246d0: Verifying Checksum [2023-07-18T15:12:40.386Z] 5c69ac0246d0: Download complete [2023-07-18T15:12:40.386Z] 3a2ae6a8a46f: Download complete [2023-07-18T15:12:40.386Z] 33b1e0a273af: Verifying Checksum [2023-07-18T15:12:40.386Z] 33b1e0a273af: Download complete [2023-07-18T15:12:40.386Z] ec43610c2a17: Verifying Checksum [2023-07-18T15:12:40.386Z] ec43610c2a17: Download complete [2023-07-18T15:12:40.645Z] 5d3b04190fa2: Verifying Checksum [2023-07-18T15:12:40.645Z] 5eb5b503b376: Verifying Checksum [2023-07-18T15:12:40.645Z] 5eb5b503b376: Download complete [2023-07-18T15:12:41.213Z] 2f39f015ded8: Download complete [2023-07-18T15:12:41.798Z] 5eb5b503b376: Pull complete [2023-07-18T15:12:42.057Z] 5c69ac0246d0: Pull complete [2023-07-18T15:12:42.316Z] ec43610c2a17: Pull complete [2023-07-18T15:12:42.316Z] 3a2ae6a8a46f: Pull complete [2023-07-18T15:12:42.575Z] 33b1e0a273af: Pull complete [2023-07-18T15:12:42.575Z] 5d3b04190fa2: Pull complete [2023-07-18T15:12:46.762Z] 2f39f015ded8: Pull complete [2023-07-18T15:12:46.762Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-18T15:12:46.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T15:12:46.762Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:12:46.852Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:12:46.884Z] $ 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-07-18T15:12:52.177Z] $ docker top 7d61efa06f9269b7e4e2ced7be015cb92aba147202c322388843aacb52edb258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:12:52.568Z] ---> job-cost.sh [2023-07-18T15:12:52.569Z] lf-activate-venv: SKIPPING [2023-07-18T15:12:52.569Z] INFO: No Stack... [2023-07-18T15:12:52.828Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T15:12:53.089Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T15:12:53.379Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-07-18T15:12:53.379Z] + cut -d, -f6 [Pipeline] lock [2023-07-18T15:12:53.395Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [2023-07-18T15:12:53.402Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] did not exist. Created. [2023-07-18T15:12:53.402Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T15:12:53.706Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-18T15:12:53.745Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T15:12:53.753Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T15:12:53.773Z] $ docker stop --time=1 7d61efa06f9269b7e4e2ced7be015cb92aba147202c322388843aacb52edb258 [2023-07-18T15:12:54.935Z] $ docker rm -f --volumes 7d61efa06f9269b7e4e2ced7be015cb92aba147202c322388843aacb52edb258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-18T15:13:50.080Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1446 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-07-18T15:13:50.098Z] Running in /w/workspace/device-sdk-go/233 [Pipeline] { [Pipeline] checkout [2023-07-18T15:13:50.141Z] The recommended git tool is: git [2023-07-18T15:13:56.677Z] using credential edgex-jenkins-ssh [2023-07-18T15:13:56.696Z] Cloning the remote Git repository [2023-07-18T15:13:56.741Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T15:13:56.834Z] > git init /w/workspace/device-sdk-go/233 # timeout=10 [2023-07-18T15:13:56.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T15:13:56.974Z] > git --version # timeout=10 [2023-07-18T15:13:56.998Z] > git --version # 'git version 2.25.1' [2023-07-18T15:13:57.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T15:13:57.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T15:13:58.772Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-18T15:13:58.792Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T15:13:59.620Z] Avoid second fetch [2023-07-18T15:13:59.621Z] Checking out Revision a0da80382c0e288d5b5fa5ac238919125b7cf977 (main) [2023-07-18T15:14:00.224Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1478)" [2023-07-18T15:13:59.639Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T15:13:59.715Z] > git checkout -f a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T15:14:01.211Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-18T15:14:01.211Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-18T15:14:01.211Z] Dload Upload Total Spent Left Speed [2023-07-18T15:14:01.211Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-07-18T15:14:01.919Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-18T15:14:02.257Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-07-18T15:14:02.257Z] sudo tee /etc/docker/daemon.new [2023-07-18T15:14:02.257Z] { [2023-07-18T15:14:02.257Z] "registry-mirrors": [ [2023-07-18T15:14:02.257Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-18T15:14:02.257Z] ], [2023-07-18T15:14:02.257Z] "bip": "10.250.0.254/24", [2023-07-18T15:14:02.257Z] "hosts": [ [2023-07-18T15:14:02.257Z] "tcp://0.0.0.0:5555", [2023-07-18T15:14:02.257Z] "unix:///var/run/docker.sock" [2023-07-18T15:14:02.258Z] ], [2023-07-18T15:14:02.258Z] "mtu": 1458, [2023-07-18T15:14:02.258Z] "selinux-enabled": true, [2023-07-18T15:14:02.258Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-18T15:14:02.258Z] } [Pipeline] sh [2023-07-18T15:14:02.595Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-18T15:14:02.944Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T15:14:21.215Z] provisioning config files... [2023-07-18T15:14:21.240Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/233@tmp/config14693803624005446389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:14:21.592Z] ---> docker-login.sh [2023-07-18T15:14:21.593Z] nexus3.edgexfoundry.org:10001 [2023-07-18T15:14:21.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:14:22.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:14:22.130Z] Configure a credential helper to remove this warning. See [2023-07-18T15:14:22.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:14:22.130Z] [2023-07-18T15:14:22.130Z] Login Succeeded [2023-07-18T15:14:22.130Z] nexus3.edgexfoundry.org:10002 [2023-07-18T15:14:22.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:14:22.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:14:22.398Z] Configure a credential helper to remove this warning. See [2023-07-18T15:14:22.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:14:22.398Z] [2023-07-18T15:14:22.398Z] Login Succeeded [2023-07-18T15:14:22.666Z] nexus3.edgexfoundry.org:10003 [2023-07-18T15:14:22.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:14:22.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:14:22.935Z] Configure a credential helper to remove this warning. See [2023-07-18T15:14:22.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:14:22.935Z] [2023-07-18T15:14:22.935Z] Login Succeeded [2023-07-18T15:14:22.935Z] nexus3.edgexfoundry.org:10004 [2023-07-18T15:14:23.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:14:23.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:14:23.203Z] Configure a credential helper to remove this warning. See [2023-07-18T15:14:23.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:14:23.203Z] [2023-07-18T15:14:23.203Z] Login Succeeded [2023-07-18T15:14:23.203Z] docker.io [2023-07-18T15:14:23.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T15:14:23.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T15:14:23.743Z] Configure a credential helper to remove this warning. See [2023-07-18T15:14:23.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T15:14:23.743Z] [2023-07-18T15:14:23.743Z] Login Succeeded [2023-07-18T15:14:23.743Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T15:14:23.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T15:14:24.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T15:14:24.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T15:14:24.037Z] ========================================================= [2023-07-18T15:14:24.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-18T15:14:24.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:14:24.407Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-18T15:14:24.675Z] Sending build context to Docker daemon 5.797MB [2023-07-18T15:14:24.675Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T15:14:24.675Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-18T15:14:24.951Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-18T15:14:24.951Z] edb6bdbacee9: Pulling fs layer [2023-07-18T15:14:24.951Z] 5f9638ab2659: Pulling fs layer [2023-07-18T15:14:24.951Z] 8d51d6327a98: Pulling fs layer [2023-07-18T15:14:24.951Z] 8b374f2dd631: Pulling fs layer [2023-07-18T15:14:24.951Z] ec14aa9079de: Pulling fs layer [2023-07-18T15:14:24.951Z] 2f466654f4bb: Pulling fs layer [2023-07-18T15:14:24.951Z] 554e91adad29: Pulling fs layer [2023-07-18T15:14:24.951Z] ec14aa9079de: Waiting [2023-07-18T15:14:24.951Z] 2f466654f4bb: Waiting [2023-07-18T15:14:24.951Z] 8b374f2dd631: Waiting [2023-07-18T15:14:24.951Z] 554e91adad29: Waiting [2023-07-18T15:14:24.951Z] 5f9638ab2659: Verifying Checksum [2023-07-18T15:14:24.951Z] 5f9638ab2659: Download complete [2023-07-18T15:14:24.951Z] 8b374f2dd631: Verifying Checksum [2023-07-18T15:14:24.951Z] 8b374f2dd631: Download complete [2023-07-18T15:14:24.951Z] ec14aa9079de: Verifying Checksum [2023-07-18T15:14:24.951Z] ec14aa9079de: Download complete [2023-07-18T15:14:24.951Z] edb6bdbacee9: Verifying Checksum [2023-07-18T15:14:24.951Z] edb6bdbacee9: Download complete [2023-07-18T15:14:25.915Z] edb6bdbacee9: Pull complete [2023-07-18T15:14:26.184Z] 554e91adad29: Verifying Checksum [2023-07-18T15:14:26.184Z] 554e91adad29: Download complete [2023-07-18T15:14:26.451Z] 5f9638ab2659: Pull complete [2023-07-18T15:14:27.417Z] 8d51d6327a98: Verifying Checksum [2023-07-18T15:14:27.417Z] 8d51d6327a98: Download complete [2023-07-18T15:14:27.417Z] 2f466654f4bb: Verifying Checksum [2023-07-18T15:14:39.767Z] 8d51d6327a98: Pull complete [2023-07-18T15:14:39.767Z] 8b374f2dd631: Pull complete [2023-07-18T15:14:39.767Z] ec14aa9079de: Pull complete [2023-07-18T15:14:45.123Z] 2f466654f4bb: Pull complete [2023-07-18T15:14:47.091Z] 554e91adad29: Pull complete [2023-07-18T15:14:47.091Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-18T15:14:47.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-18T15:14:47.091Z] ---> 1e15ea492957 [2023-07-18T15:14:47.091Z] Step 3/10 : ARG MAKE=make build [2023-07-18T15:14:51.281Z] ---> Running in 84d834435a64 [2023-07-18T15:14:51.281Z] Removing intermediate container 84d834435a64 [2023-07-18T15:14:51.281Z] ---> 04b921c17f43 [2023-07-18T15:14:51.281Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-18T15:14:51.281Z] ---> Running in 159cd6dc07c8 [2023-07-18T15:14:51.551Z] Removing intermediate container 159cd6dc07c8 [2023-07-18T15:14:51.551Z] ---> b3379c537187 [2023-07-18T15:14:51.551Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T15:14:51.551Z] ---> Running in baa81d10befa [2023-07-18T15:14:51.824Z] Removing intermediate container baa81d10befa [2023-07-18T15:14:51.824Z] ---> 3dce589e0fec [2023-07-18T15:14:51.824Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-18T15:14:52.093Z] ---> Running in c0bbcaaba938 [2023-07-18T15:14:53.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T15:14:53.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T15:14:55.070Z] OK: 263 MiB in 53 packages [2023-07-18T15:14:55.730Z] Removing intermediate container c0bbcaaba938 [2023-07-18T15:14:55.730Z] ---> e5ec698df16e [2023-07-18T15:14:55.730Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-18T15:14:56.343Z] ---> 821665c49c2c [2023-07-18T15:14:56.343Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T15:14:56.343Z] ---> Running in 4d8d9edba6e5 [2023-07-18T15:16:04.301Z] Removing intermediate container 4d8d9edba6e5 [2023-07-18T15:16:04.301Z] ---> b737cc7205a0 [2023-07-18T15:16:04.301Z] Step 9/10 : COPY . . [2023-07-18T15:16:04.301Z] ---> 48251423cc62 [2023-07-18T15:16:04.301Z] Step 10/10 : RUN ${MAKE} [2023-07-18T15:16:04.301Z] ---> Running in 91dcd0fd6e89 [2023-07-18T15:16:04.301Z] noop [2023-07-18T15:16:04.301Z] Removing intermediate container 91dcd0fd6e89 [2023-07-18T15:16:04.301Z] ---> 0c746c7f12d6 [2023-07-18T15:16:04.301Z] Successfully built 0c746c7f12d6 [2023-07-18T15:16:04.301Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:16:04.662Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T15:16:04.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:16:04.876Z] prd-ubuntu20.04-docker-arm64-4c-16g-1446 does not seem to be running inside a container [2023-07-18T15:16:04.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/233 -v /w/workspace/device-sdk-go/233:/w/workspace/device-sdk-go/233:rw,z -v /w/workspace/device-sdk-go/233@tmp:/w/workspace/device-sdk-go/233@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-07-18T15:16:06.177Z] $ docker top cd2f02c0cce95ba97db4e81f6b34d14440d5fb5e6f9a46fac8c0fdd2939f37c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T15:16:07.016Z] + go version [2023-07-18T15:16:07.016Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-18T15:16:07.042Z] $ docker stop --time=1 cd2f02c0cce95ba97db4e81f6b34d14440d5fb5e6f9a46fac8c0fdd2939f37c7 [2023-07-18T15:16:08.652Z] $ docker rm -f --volumes cd2f02c0cce95ba97db4e81f6b34d14440d5fb5e6f9a46fac8c0fdd2939f37c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:16:09.192Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T15:16:09.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:16:09.379Z] prd-ubuntu20.04-docker-arm64-4c-16g-1446 does not seem to be running inside a container [2023-07-18T15:16:09.449Z] $ 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/233 -v /w/workspace/device-sdk-go/233:/w/workspace/device-sdk-go/233:rw,z -v /w/workspace/device-sdk-go/233@tmp:/w/workspace/device-sdk-go/233@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-07-18T15:16:10.613Z] $ docker top 8cc82746608a60f388f32fb186716b63d480cd4edb304912f741297237e52254 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T15:16:11.444Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/233 [Pipeline] fileExists [Pipeline] sh [2023-07-18T15:16:12.099Z] + make test [2023-07-18T15:16:12.100Z] go test -race -coverprofile=coverage.out ./... [2023-07-18T15:16:58.942Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-18T15:19:05.651Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-18T15:19:05.651Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-18T15:19:05.651Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-18T15:19:05.651Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-18T15:19:05.651Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-18T15:19:17.450Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.249s coverage: 27.6% of statements [2023-07-18T15:19:20.036Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.284s coverage: 80.2% of statements [2023-07-18T15:19:35.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-18T15:19:35.028Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-18T15:19:35.028Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 86.0% of statements [2023-07-18T15:19:40.369Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-18T15:19:40.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.411s coverage: 77.5% of statements [2023-07-18T15:19:45.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-18T15:19:45.975Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-18T15:19:45.975Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-18T15:19:47.924Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.263s coverage: 14.3% of statements [2023-07-18T15:19:47.924Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.435s coverage: 68.5% of statements [2023-07-18T15:19:49.869Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.469s coverage: 89.2% of statements [2023-07-18T15:19:50.826Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-18T15:19:51.094Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.7% of statements [2023-07-18T15:19:52.051Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-18T15:19:52.051Z] GO111MODULE=on go vet ./... [2023-07-18T15:22:13.761Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-18T15:22:13.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-18T15:22:13.761Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-18T15:22:13.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-18T15:22:13.797Z] $ docker stop --time=1 8cc82746608a60f388f32fb186716b63d480cd4edb304912f741297237e52254 [2023-07-18T15:22:15.663Z] $ docker rm -f --volumes 8cc82746608a60f388f32fb186716b63d480cd4edb304912f741297237e52254 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T15:22:17.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-18T15:22:17.157Z] Warning: overwriting stash ‘coverage-report’ [2023-07-18T15:22:17.659Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T15:22:18.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-18T15:22:18.363Z] + ls -al . [2023-07-18T15:22:18.363Z] total 280 [2023-07-18T15:22:18.363Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 15:16 . [2023-07-18T15:22:18.363Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 15:13 .. [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 15:13 .dockerignore [2023-07-18T15:22:18.363Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 15:13 .git [2023-07-18T15:22:18.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 15:13 .github [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 15:13 .gitignore [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 15:13 .golangci.yml [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 15:13 CHANGELOG.md [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 15:13 GOVERNANCE.md [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 15:13 Jenkinsfile [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 15:13 LICENSE [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 15:13 Makefile [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 15:13 OWNERS.md [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 15:13 README.md [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 15:10 VERSION [2023-07-18T15:22:18.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 15:13 bin [2023-07-18T15:22:18.363Z] -rw-r--r-- 1 jenkins jenkins 106152 Jul 18 15:19 coverage.out [2023-07-18T15:22:18.363Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 15:13 example [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 15:13 go.mod [2023-07-18T15:22:18.363Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 15:13 go.sum [2023-07-18T15:22:18.363Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 15:13 internal [2023-07-18T15:22:18.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 15:13 openapi [2023-07-18T15:22:18.363Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 15:13 pkg [2023-07-18T15:22:18.363Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 15:13 snap [2023-07-18T15:22:18.364Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 15:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:22:18.693Z] + 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=a0da80382c0e288d5b5fa5ac238919125b7cf977 --label arch=arm64 --label version=3.1.0-dev.4 . [2023-07-18T15:22:18.959Z] Sending build context to Docker daemon 5.904MB [2023-07-18T15:22:18.959Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T15:22:18.959Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-18T15:22:18.959Z] ---> 0c746c7f12d6 [2023-07-18T15:22:18.959Z] Step 3/23 : ARG MAKE=make build [2023-07-18T15:22:19.226Z] ---> Running in c3a6235d5fd6 [2023-07-18T15:22:19.493Z] Removing intermediate container c3a6235d5fd6 [2023-07-18T15:22:19.493Z] ---> d7a9fd598b34 [2023-07-18T15:22:19.493Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-18T15:22:19.493Z] ---> Running in daa42a863ee4 [2023-07-18T15:22:19.759Z] Removing intermediate container daa42a863ee4 [2023-07-18T15:22:19.759Z] ---> f3514f3a5adb [2023-07-18T15:22:19.759Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T15:22:19.759Z] ---> Running in 2cf367117aad [2023-07-18T15:22:20.026Z] Removing intermediate container 2cf367117aad [2023-07-18T15:22:20.026Z] ---> c7ae2c4cfada [2023-07-18T15:22:20.026Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-18T15:22:20.293Z] ---> Running in b305e1b68cdf [2023-07-18T15:22:21.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T15:22:21.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T15:22:22.803Z] OK: 263 MiB in 53 packages [2023-07-18T15:22:24.210Z] Removing intermediate container b305e1b68cdf [2023-07-18T15:22:24.210Z] ---> ed1a0bd5fad9 [2023-07-18T15:22:24.210Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-18T15:22:24.798Z] ---> 44b84c1c70c0 [2023-07-18T15:22:24.798Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T15:22:24.798Z] ---> Running in bd520206e597 [2023-07-18T15:22:26.743Z] Removing intermediate container bd520206e597 [2023-07-18T15:22:26.743Z] ---> 4ae38c5bb0ed [2023-07-18T15:22:26.743Z] Step 9/23 : COPY . . [2023-07-18T15:22:27.700Z] ---> bf618110dbca [2023-07-18T15:22:27.700Z] Step 10/23 : RUN ${MAKE} [2023-07-18T15:22:27.700Z] ---> Running in d47da3e7e940 [2023-07-18T15:22:28.672Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.4" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-18T15:24:50.343Z] Removing intermediate container d47da3e7e940 [2023-07-18T15:24:50.343Z] ---> 14a1202b83d2 [2023-07-18T15:24:50.343Z] Step 11/23 : FROM alpine:3.17 [2023-07-18T15:24:50.343Z] 3.17: Pulling from library/alpine [2023-07-18T15:24:50.343Z] edb6bdbacee9: Already exists [2023-07-18T15:24:50.343Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-18T15:24:50.343Z] Status: Downloaded newer image for alpine:3.17 [2023-07-18T15:24:50.343Z] ---> 779605e5fbc0 [2023-07-18T15:24:50.343Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-18T15:24:50.343Z] ---> Running in 2a6674cbfe87 [2023-07-18T15:24:50.343Z] Removing intermediate container 2a6674cbfe87 [2023-07-18T15:24:50.343Z] ---> 311fef4c94db [2023-07-18T15:24:50.343Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-18T15:24:50.343Z] ---> Running in d24e1783ce1f [2023-07-18T15:24:50.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T15:24:50.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T15:24:50.343Z] OK: 7 MiB in 15 packages [2023-07-18T15:24:50.343Z] Removing intermediate container d24e1783ce1f [2023-07-18T15:24:50.343Z] ---> caff0c4c1a15 [2023-07-18T15:24:50.343Z] Step 14/23 : WORKDIR / [2023-07-18T15:24:50.343Z] ---> Running in 7fcbb6f87b31 [2023-07-18T15:24:50.343Z] Removing intermediate container 7fcbb6f87b31 [2023-07-18T15:24:50.343Z] ---> 382f73ff1953 [2023-07-18T15:24:50.343Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-18T15:24:50.343Z] ---> 03f18dd768f5 [2023-07-18T15:24:50.343Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-18T15:24:50.343Z] ---> 25c785dfb17e [2023-07-18T15:24:50.343Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-18T15:24:50.343Z] ---> 4fa97beb57ec [2023-07-18T15:24:50.343Z] Step 18/23 : EXPOSE 59999 [2023-07-18T15:24:50.343Z] ---> Running in f6aee7aef1ae [2023-07-18T15:24:50.343Z] Removing intermediate container f6aee7aef1ae [2023-07-18T15:24:50.343Z] ---> 273f9e1065b3 [2023-07-18T15:24:50.343Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-18T15:24:50.343Z] ---> Running in e726f9250725 [2023-07-18T15:24:50.343Z] Removing intermediate container e726f9250725 [2023-07-18T15:24:50.343Z] ---> 65e15fab316a [2023-07-18T15:24:50.343Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-18T15:24:50.343Z] ---> Running in a1ac700bcc61 [2023-07-18T15:24:50.343Z] Removing intermediate container a1ac700bcc61 [2023-07-18T15:24:50.343Z] ---> 79f3cfd07c9b [2023-07-18T15:24:50.343Z] Step 21/23 : LABEL arch=arm64 [2023-07-18T15:24:50.343Z] ---> Running in 8d686c38c81b [2023-07-18T15:24:50.343Z] Removing intermediate container 8d686c38c81b [2023-07-18T15:24:50.343Z] ---> af0dea540e7f [2023-07-18T15:24:50.343Z] Step 22/23 : LABEL git_sha=a0da80382c0e288d5b5fa5ac238919125b7cf977 [2023-07-18T15:24:50.343Z] ---> Running in b5a1816b2ea6 [2023-07-18T15:24:50.343Z] Removing intermediate container b5a1816b2ea6 [2023-07-18T15:24:50.343Z] ---> 6a10664bc324 [2023-07-18T15:24:50.343Z] Step 23/23 : LABEL version=3.1.0-dev.4 [2023-07-18T15:24:50.343Z] ---> Running in 353248fe3e09 [2023-07-18T15:24:50.343Z] Removing intermediate container 353248fe3e09 [2023-07-18T15:24:50.343Z] ---> bc3819349409 [2023-07-18T15:24:50.343Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-18T15:24:50.343Z] Successfully built bc3819349409 [2023-07-18T15:24:50.343Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:24:50.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T15:24:50.798Z] [2023-07-18T15:24:50.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:24:51.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T15:24:51.127Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-18T15:24:51.127Z] 8998bd30e6a1: Pulling fs layer [2023-07-18T15:24:51.127Z] 04944245beec: Pulling fs layer [2023-07-18T15:24:51.127Z] 699f458cf7ca: Pulling fs layer [2023-07-18T15:24:51.127Z] 765212b225bb: Pulling fs layer [2023-07-18T15:24:51.127Z] f23df028b6ca: Pulling fs layer [2023-07-18T15:24:51.127Z] d65c8cfc05b1: Pulling fs layer [2023-07-18T15:24:51.127Z] 2437ff75d9bd: Pulling fs layer [2023-07-18T15:24:51.127Z] f23df028b6ca: Waiting [2023-07-18T15:24:51.127Z] 765212b225bb: Waiting [2023-07-18T15:24:51.127Z] d65c8cfc05b1: Waiting [2023-07-18T15:24:51.127Z] 2437ff75d9bd: Waiting [2023-07-18T15:24:51.396Z] 04944245beec: Verifying Checksum [2023-07-18T15:24:51.396Z] 04944245beec: Download complete [2023-07-18T15:24:51.396Z] 765212b225bb: Verifying Checksum [2023-07-18T15:24:51.396Z] 765212b225bb: Download complete [2023-07-18T15:24:51.396Z] f23df028b6ca: Verifying Checksum [2023-07-18T15:24:51.396Z] f23df028b6ca: Download complete [2023-07-18T15:24:51.396Z] d65c8cfc05b1: Verifying Checksum [2023-07-18T15:24:51.396Z] d65c8cfc05b1: Download complete [2023-07-18T15:24:51.396Z] 699f458cf7ca: Verifying Checksum [2023-07-18T15:24:51.396Z] 699f458cf7ca: Download complete [2023-07-18T15:24:52.056Z] 8998bd30e6a1: Verifying Checksum [2023-07-18T15:24:52.056Z] 8998bd30e6a1: Download complete [2023-07-18T15:24:54.063Z] 2437ff75d9bd: Verifying Checksum [2023-07-18T15:24:54.063Z] 2437ff75d9bd: Download complete [2023-07-18T15:24:56.059Z] 8998bd30e6a1: Pull complete [2023-07-18T15:24:56.328Z] 04944245beec: Pull complete [2023-07-18T15:24:57.735Z] 699f458cf7ca: Pull complete [2023-07-18T15:24:58.004Z] 765212b225bb: Pull complete [2023-07-18T15:24:58.588Z] f23df028b6ca: Pull complete [2023-07-18T15:24:58.855Z] d65c8cfc05b1: Pull complete [2023-07-18T15:25:13.833Z] 2437ff75d9bd: Pull complete [2023-07-18T15:25:13.833Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-18T15:25:13.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T15:25:13.833Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:25:14.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-1446 does not seem to be running inside a container [2023-07-18T15:25:14.087Z] $ 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/233 -v /w/workspace/device-sdk-go/233:/w/workspace/device-sdk-go/233:rw,z -v /w/workspace/device-sdk-go/233@tmp:/w/workspace/device-sdk-go/233@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-07-18T15:25:16.600Z] $ docker top f9a104626da29885e49aa29684fbbde8d15efbed5f3bcfb66b055d25e6b11c89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:25:17.089Z] ---> job-cost.sh [2023-07-18T15:25:17.355Z] lf-activate-venv: SKIPPING [2023-07-18T15:25:17.355Z] INFO: No Stack... [2023-07-18T15:25:17.622Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-18T15:25:18.588Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T15:25:18.906Z] + cut -d, -f6 [2023-07-18T15:25:18.906Z] + cat /w/workspace/device-sdk-go/233/archives/cost.csv [Pipeline] lock [2023-07-18T15:25:18.969Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [2023-07-18T15:25:18.974Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] did not exist. Created. [2023-07-18T15:25:18.974Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T15:25:19.622Z] /w/workspace/device-sdk-go/233@tmp/durable-d44aadf1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-18T15:25:20.266Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-18T15:25:20.287Z] Warning: overwriting stash ‘stack-cost’ [2023-07-18T15:25:20.370Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T15:25:20.380Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-233-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T15:25:20.404Z] $ docker stop --time=1 f9a104626da29885e49aa29684fbbde8d15efbed5f3bcfb66b055d25e6b11c89 [2023-07-18T15:25:21.889Z] $ docker rm -f --volumes f9a104626da29885e49aa29684fbbde8d15efbed5f3bcfb66b055d25e6b11c89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-07-18T15:25:22.319Z] provisioning config files... [2023-07-18T15:25:22.327Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7849285066191073598tmp [Pipeline] { [Pipeline] sh [2023-07-18T15:25:22.617Z] + set +x [2023-07-18T15:25:22.617Z] + curl -s https://codecov.io/bash [2023-07-18T15:25:22.617Z] + bash -s -- [2023-07-18T15:25:22.617Z] [2023-07-18T15:25:22.617Z] _____ _ [2023-07-18T15:25:22.617Z] / ____| | | [2023-07-18T15:25:22.617Z] | | ___ __| | ___ ___ _____ __ [2023-07-18T15:25:22.617Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-18T15:25:22.617Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-18T15:25:22.617Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-18T15:25:22.617Z] Bash-1.0.6 [2023-07-18T15:25:22.617Z] [2023-07-18T15:25:22.617Z] [2023-07-18T15:25:22.617Z] ==> git version 2.25.1 found [2023-07-18T15:25:22.617Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-07-18T15:25:22.617Z] Release-Date: 2020-01-08 [2023-07-18T15:25:22.617Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-18T15:25:22.617Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-18T15:25:22.617Z] ==> Jenkins CI detected. [2023-07-18T15:25:22.617Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-07-18T15:25:22.617Z] project root: . [2023-07-18T15:25:22.617Z] --> token set from env [2023-07-18T15:25:22.617Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-18T15:25:22.617Z] ==> Running gcov in . (disable via -X gcov) [2023-07-18T15:25:22.617Z] ==> Python coveragepy not found [2023-07-18T15:25:22.617Z] ==> Searching for coverage reports in: [2023-07-18T15:25:22.617Z] + . [2023-07-18T15:25:22.617Z] -> Found 1 reports [2023-07-18T15:25:22.617Z] ==> Detecting git/mercurial file structure [2023-07-18T15:25:22.617Z] ==> Reading reports [2023-07-18T15:25:22.876Z] + ./coverage.out bytes=106152 [2023-07-18T15:25:22.876Z] ==> Appending adjustments [2023-07-18T15:25:22.876Z] https://docs.codecov.io/docs/fixing-reports [2023-07-18T15:25:23.135Z] + Found adjustments [2023-07-18T15:25:23.135Z] ==> Gzipping contents [2023-07-18T15:25:23.135Z] 16K /tmp/codecov.CrkBje.gz [2023-07-18T15:25:23.135Z] ==> Uploading reports [2023-07-18T15:25:23.135Z] url: https://codecov.io [2023-07-18T15:25:23.135Z] query: branch=main&commit=a0da80382c0e288d5b5fa5ac238919125b7cf977&build=233&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F233%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-18T15:25:23.135Z] -> Pinging Codecov [2023-07-18T15:25:23.135Z] 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=a0da80382c0e288d5b5fa5ac238919125b7cf977&build=233&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F233%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-18T15:25:23.135Z] -> Uploading to [2023-07-18T15:25:23.135Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-18/7E55EF52A471D76F132DFD9A03CDDE97/a0da80382c0e288d5b5fa5ac238919125b7cf977/57092123-87bc-4c80-bfba-7ba0974bb579.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230718T152523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3dfb62aa7537e56c063a23f1d0796820fc962baf165bf173bf651a3c62d7969e [2023-07-18T15:25:23.135Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-18T15:25:23.135Z] Dload Upload Total Spent Left Speed [2023-07-18T15:25:23.395Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15153 0 0 100 15153 0 76145 --:--:-- --:--:-- --:--:-- 76145 [2023-07-18T15:25:23.395Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] } [2023-07-18T15:25:23.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-18T15:25:23.522Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-18T15:25:23.531Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:25:23.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-18T15:25:23.832Z] [2023-07-18T15:25:23.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:25:24.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-18T15:25:24.128Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-18T15:25:24.128Z] df9b9388f04a: Pulling fs layer [2023-07-18T15:25:24.128Z] 52dc419b0ee2: Pulling fs layer [2023-07-18T15:25:24.128Z] 25bc292e5bac: Pulling fs layer [2023-07-18T15:25:24.128Z] 114826534d7a: Pulling fs layer [2023-07-18T15:25:24.128Z] 4657fd5d0bcf: Pulling fs layer [2023-07-18T15:25:24.128Z] 6ad1cebc031e: Pulling fs layer [2023-07-18T15:25:24.128Z] 8a3aa393b2d8: Pulling fs layer [2023-07-18T15:25:24.128Z] 114826534d7a: Waiting [2023-07-18T15:25:24.128Z] 4657fd5d0bcf: Waiting [2023-07-18T15:25:24.128Z] 8a3aa393b2d8: Waiting [2023-07-18T15:25:24.128Z] 25bc292e5bac: Verifying Checksum [2023-07-18T15:25:24.128Z] 25bc292e5bac: Download complete [2023-07-18T15:25:24.128Z] 52dc419b0ee2: Verifying Checksum [2023-07-18T15:25:24.128Z] 52dc419b0ee2: Download complete [2023-07-18T15:25:24.128Z] 4657fd5d0bcf: Verifying Checksum [2023-07-18T15:25:24.128Z] 4657fd5d0bcf: Download complete [2023-07-18T15:25:24.128Z] df9b9388f04a: Verifying Checksum [2023-07-18T15:25:24.128Z] df9b9388f04a: Download complete [2023-07-18T15:25:24.385Z] 6ad1cebc031e: Verifying Checksum [2023-07-18T15:25:24.385Z] 6ad1cebc031e: Download complete [2023-07-18T15:25:24.385Z] df9b9388f04a: Pull complete [2023-07-18T15:25:24.644Z] 52dc419b0ee2: Pull complete [2023-07-18T15:25:24.644Z] 25bc292e5bac: Pull complete [2023-07-18T15:25:24.902Z] 114826534d7a: Download complete [2023-07-18T15:25:25.160Z] 8a3aa393b2d8: Verifying Checksum [2023-07-18T15:25:25.160Z] 8a3aa393b2d8: Download complete [2023-07-18T15:25:28.438Z] 114826534d7a: Pull complete [2023-07-18T15:25:28.438Z] 4657fd5d0bcf: Pull complete [2023-07-18T15:25:28.438Z] 6ad1cebc031e: Pull complete [2023-07-18T15:25:30.965Z] 8a3aa393b2d8: Pull complete [2023-07-18T15:25:30.966Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-18T15:25:30.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-18T15:25:30.966Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:25:31.049Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:25:31.078Z] $ 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-07-18T15:25:36.062Z] $ docker top 34dc9f4bc52d22ad51111bbbc8335e9ec576e225e3a1b865b3359cd0bbee2dda -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-18T15:25:36.122Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-07-18T15:25:36.399Z] + set -o pipefail [2023-07-18T15:25:36.399Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-07-18T15:25:40.586Z] [2023-07-18T15:25:40.587Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-07-18T15:25:40.587Z] [2023-07-18T15:25:40.587Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/cbfdc58e-db0d-4b09-ae7b-a66f4f833949 [2023-07-18T15:25:40.587Z] [2023-07-18T15:25:40.587Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-18T15:25:40.587Z] [2023-07-18T15:25:40.587Z] [2023-07-18T15:25:40.587Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-18T15:25:40.587Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-18T15:25:40.587Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-18T15:25:40.600Z] $ docker stop --time=1 34dc9f4bc52d22ad51111bbbc8335e9ec576e225e3a1b865b3359cd0bbee2dda [2023-07-18T15:25:45.044Z] $ docker rm -f --volumes 34dc9f4bc52d22ad51111bbbc8335e9ec576e225e3a1b865b3359cd0bbee2dda [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-07-18T15:25:45.485Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T15:25:45.497Z] provisioning config files... [2023-07-18T15:25:45.505Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15660152727859960989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:25:45.803Z] --> edgex-publish-swagger.sh [2023-07-18T15:25:45.803Z] === Publish openapi/v3 API === [2023-07-18T15:25:45.803Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-07-18T15:25:45.803Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-07-18T15:25:45.803Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-18T15:25:45.803Z] Dload Upload Total Spent Left Speed [2023-07-18T15:25:46.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 40746 --:--:-- --:--:-- --:--:-- 40746 [2023-07-18T15:25:46.372Z] [2023-07-18T15:25:46.372Z] [Pipeline] } [2023-07-18T15:25:46.379Z] 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-07-18T15:25:46.762Z] + git log --format=format:%s -1 a0da80382c0e288d5b5fa5ac238919125b7cf977 [Pipeline] sh [2023-07-18T15:25:47.053Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-18T15:25:47.053Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:25:47.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T15:25:47.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:25:47.425Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:25:47.452Z] $ 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-07-18T15:25:47.951Z] $ docker top 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-18T15:25:48.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T15:25:48.039Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T15:25:48.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T15:25:48.146Z] $ docker exec 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc ssh-agent [2023-07-18T15:25:48.250Z] SSH_AUTH_SOCK=/tmp/ssh-HEx2i3K4ASmB/agent.32 [2023-07-18T15:25:48.250Z] SSH_AGENT_PID=38 [2023-07-18T15:25:48.255Z] Running ssh-add (command line suppressed) [2023-07-18T15:25:48.359Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15766610288247289125.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15766610288247289125.key) [2023-07-18T15:25:48.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T15:25:48.656Z] + git semver tag [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,814 [run_tag] DEBUG tag force:False [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,814 [check_head_tag] DEBUG check head tag [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,815 [execute] INFO git cat-file --batch-check [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,819 [execute] INFO git cat-file --batch [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,828 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,829 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-18T15:25:48.917Z] 2023-07-18 15:25:48,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:25:48.917Z] 3.1.0-dev.4 [Pipeline] } [2023-07-18T15:25:48.925Z] $ docker exec --env ******** --env ******** 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc ssh-agent -k [2023-07-18T15:25:49.025Z] unset SSH_AUTH_SOCK; [2023-07-18T15:25:49.026Z] unset SSH_AGENT_PID; [2023-07-18T15:25:49.027Z] echo Agent pid 38 killed; [2023-07-18T15:25:49.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-18T15:25:49.338Z] + git semver [Pipeline] } [2023-07-18T15:25:49.609Z] $ docker stop --time=1 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc [2023-07-18T15:25:50.887Z] $ docker rm -f --volumes 956ffa03c6b39496bfbc18e676627ffa62c32a2c576de087f07d46f0a701e7dc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:25:51.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-18T15:25:51.252Z] [2023-07-18T15:25:51.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:25:51.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-18T15:25:51.547Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-18T15:25:51.547Z] ab5ef0e58194: Pulling fs layer [2023-07-18T15:25:51.547Z] 9712f1f96733: Pulling fs layer [2023-07-18T15:25:51.547Z] 63f879dbbcfc: Pulling fs layer [2023-07-18T15:25:51.547Z] 0d9ebad4ef96: Pulling fs layer [2023-07-18T15:25:51.547Z] e9a5061849ea: Pulling fs layer [2023-07-18T15:25:51.547Z] d747dcd14b5f: Pulling fs layer [2023-07-18T15:25:51.547Z] 2de7ff778b66: Pulling fs layer [2023-07-18T15:25:51.547Z] e9a5061849ea: Waiting [2023-07-18T15:25:51.547Z] 0d9ebad4ef96: Waiting [2023-07-18T15:25:51.547Z] 2de7ff778b66: Waiting [2023-07-18T15:25:51.547Z] 9712f1f96733: Verifying Checksum [2023-07-18T15:25:51.547Z] 9712f1f96733: Download complete [2023-07-18T15:25:51.805Z] 63f879dbbcfc: Verifying Checksum [2023-07-18T15:25:51.805Z] 63f879dbbcfc: Download complete [2023-07-18T15:25:52.062Z] ab5ef0e58194: Download complete [2023-07-18T15:25:52.062Z] d747dcd14b5f: Verifying Checksum [2023-07-18T15:25:52.062Z] d747dcd14b5f: Download complete [2023-07-18T15:25:52.062Z] e9a5061849ea: Verifying Checksum [2023-07-18T15:25:52.062Z] e9a5061849ea: Download complete [2023-07-18T15:25:52.062Z] 0d9ebad4ef96: Verifying Checksum [2023-07-18T15:25:52.062Z] 0d9ebad4ef96: Download complete [2023-07-18T15:25:52.320Z] 2de7ff778b66: Verifying Checksum [2023-07-18T15:25:52.320Z] 2de7ff778b66: Download complete [2023-07-18T15:25:54.846Z] ab5ef0e58194: Pull complete [2023-07-18T15:25:54.846Z] 9712f1f96733: Pull complete [2023-07-18T15:25:55.105Z] 63f879dbbcfc: Pull complete [2023-07-18T15:25:58.381Z] 0d9ebad4ef96: Pull complete [2023-07-18T15:25:58.639Z] e9a5061849ea: Pull complete [2023-07-18T15:25:58.896Z] d747dcd14b5f: Pull complete [2023-07-18T15:25:59.828Z] 2de7ff778b66: Pull complete [2023-07-18T15:25:59.828Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-18T15:25:59.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-18T15:25:59.828Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:25:59.900Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:25:59.926Z] $ 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-07-18T15:26:04.745Z] $ docker top 1884eeddcfa12b053e35418e4ed2fd209f5b0600a054206613c9d20815d69e5e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-18T15:26:04.815Z] provisioning config files... [2023-07-18T15:26:04.821Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17165184028058966805tmp [2023-07-18T15:26:04.830Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17310854390068766412tmp [2023-07-18T15:26:04.838Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16888731283365006316tmp [Pipeline] { [Pipeline] echo [2023-07-18T15:26:04.850Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:05.130Z] ---> sigul-configuration.sh [2023-07-18T15:26:05.130Z] gpg: directory `/root/.gnupg' created [2023-07-18T15:26:05.130Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-18T15:26:05.130Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-18T15:26:05.130Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-18T15:26:05.130Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-18T15:26:05.130Z] gpg: CAST5 encrypted data [2023-07-18T15:26:05.130Z] gpg: encrypted with 1 passphrase [2023-07-18T15:26:05.130Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-18T15:26:05.411Z] + mkdir /home/jenkins [2023-07-18T15:26:05.411Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-18T15:26:05.694Z] + 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-07-18T15:26:05.703Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:05.984Z] ---> sigul-install.sh [2023-07-18T15:26:05.984Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-18T15:26:06.266Z] + git tag --list [2023-07-18T15:26:06.266Z] 0.7.1 [2023-07-18T15:26:06.266Z] delhi-tag [2023-07-18T15:26:06.266Z] v1.0.0 [2023-07-18T15:26:06.266Z] v1.1.0 [2023-07-18T15:26:06.266Z] v1.1.1 [2023-07-18T15:26:06.266Z] v1.1.2 [2023-07-18T15:26:06.266Z] v1.2.0 [2023-07-18T15:26:06.266Z] v1.2.1 [2023-07-18T15:26:06.266Z] v1.2.2 [2023-07-18T15:26:06.266Z] v1.2.3 [2023-07-18T15:26:06.266Z] v1.3.0 [2023-07-18T15:26:06.266Z] v1.4.0 [2023-07-18T15:26:06.266Z] v2.0.0 [2023-07-18T15:26:06.266Z] v2.1.0 [2023-07-18T15:26:06.266Z] v2.1.1 [2023-07-18T15:26:06.266Z] v2.2.0 [2023-07-18T15:26:06.266Z] v2.3.0 [2023-07-18T15:26:06.266Z] v2.3.1 [2023-07-18T15:26:06.266Z] v3.0 [2023-07-18T15:26:06.266Z] v3.0.0 [2023-07-18T15:26:06.266Z] v3.0.1-dev.1 [2023-07-18T15:26:06.266Z] v3.1.0-dev.1 [2023-07-18T15:26:06.266Z] v3.1.0-dev.2 [2023-07-18T15:26:06.266Z] v3.1.0-dev.3 [2023-07-18T15:26:06.266Z] v3.1.0-dev.4 [Pipeline] sh [2023-07-18T15:26:06.551Z] + lftools sign git-tag v3.1.0-dev.4 [2023-07-18T15:26:07.497Z] Signing Git tag with Sigul... [2023-07-18T15:26:07.497Z] Signing v3.1.0-dev.4 [Pipeline] echo [2023-07-18T15:26:12.043Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:12.330Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-18T15:26:12.337Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-18T15:26:12.355Z] $ docker stop --time=1 1884eeddcfa12b053e35418e4ed2fd209f5b0600a054206613c9d20815d69e5e [2023-07-18T15:26:13.630Z] $ docker rm -f --volumes 1884eeddcfa12b053e35418e4ed2fd209f5b0600a054206613c9d20815d69e5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-18T15:26:14.026Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-18T15:26:14.026Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:26:14.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T15:26:14.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:26:14.391Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:26:14.417Z] $ 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-07-18T15:26:14.738Z] $ docker top a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 -eo pid,comm [2023-07-18T15:26:14.785Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-18T15:26:14.785Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-18T15:26:14.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T15:26:14.828Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T15:26:14.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T15:26:14.952Z] $ docker exec a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 ssh-agent [2023-07-18T15:26:15.047Z] SSH_AUTH_SOCK=/tmp/ssh-PV3XBNq7JBrN/agent.32 [2023-07-18T15:26:15.047Z] SSH_AGENT_PID=38 [2023-07-18T15:26:15.052Z] Running ssh-add (command line suppressed) [2023-07-18T15:26:15.153Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15321695773556033401.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15321695773556033401.key) [2023-07-18T15:26:15.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T15:26:15.451Z] + git semver bump pre [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,628 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,628 [bump_version] DEBUG bumped version:3.1.0-dev.5 [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,628 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,628 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,630 [execute] INFO git cat-file --batch-check [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,635 [execute] INFO git cat-file --batch [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T15:26:15.709Z] 2023-07-18 15:26:15,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:26:15.709Z] 3.1.0-dev.5 [Pipeline] } [2023-07-18T15:26:15.718Z] $ docker exec --env ******** --env ******** a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 ssh-agent -k [2023-07-18T15:26:15.803Z] unset SSH_AUTH_SOCK; [2023-07-18T15:26:15.804Z] unset SSH_AGENT_PID; [2023-07-18T15:26:15.804Z] echo Agent pid 38 killed; [2023-07-18T15:26:15.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-18T15:26:16.118Z] + git semver [Pipeline] } [2023-07-18T15:26:16.386Z] $ docker stop --time=1 a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 [2023-07-18T15:26:17.624Z] $ docker rm -f --volumes a6592d4fbd9df5c9c01496ab9604439c1a587ac8a598c5e5f215cb0753e294b8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T15:26:17.962Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-18T15:26:17.962Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:26:18.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T15:26:18.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:26:18.330Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:26:18.359Z] $ 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-07-18T15:26:18.688Z] $ docker top aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-18T15:26:18.774Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T15:26:18.774Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T15:26:18.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T15:26:18.888Z] $ docker exec aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af ssh-agent [2023-07-18T15:26:18.991Z] SSH_AUTH_SOCK=/tmp/ssh-jBrvjXzriYBy/agent.32 [2023-07-18T15:26:18.991Z] SSH_AGENT_PID=38 [2023-07-18T15:26:18.996Z] Running ssh-add (command line suppressed) [2023-07-18T15:26:19.096Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16186740179942988990.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16186740179942988990.key) [2023-07-18T15:26:19.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T15:26:19.396Z] + git semver push [2023-07-18T15:26:19.655Z] 2023-07-18 15:26:19,572 [run_push] DEBUG push [2023-07-18T15:26:19.655Z] 2023-07-18 15:26:19,573 [execute] INFO git cat-file --batch-check [2023-07-18T15:26:19.655Z] 2023-07-18 15:26:19,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T15:26:19.655Z] 2023-07-18 15:26:19,577 [execute] INFO git rev-list f87f7c4b10ea6c62c8cfdb751c1ad3b22f3332ce -- [2023-07-18T15:26:19.655Z] 2023-07-18 15:26:19,577 [execute] DEBUG Popen(['git', 'rev-list', 'f87f7c4b10ea6c62c8cfdb751c1ad3b22f3332ce', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-18T15:26:19.655Z] 2023-07-18 15:26:19,587 [execute] INFO git fetch -v origin [2023-07-18T15:26:19.655Z] 2023-07-18 15:26:19,587 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-18T15:26:20.222Z] 2023-07-18 15:26:20,082 [run_push] DEBUG no remote changes detected [2023-07-18T15:26:20.222Z] 2023-07-18 15:26:20,083 [execute] INFO git push origin semver [2023-07-18T15:26:20.222Z] 2023-07-18 15:26:20,083 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-18T15:26:21.159Z] 2023-07-18 15:26:20,855 [run_push] DEBUG push all version tags [2023-07-18T15:26:21.159Z] 2023-07-18 15:26:20,855 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-18T15:26:21.159Z] 2023-07-18 15:26:20,856 [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-07-18T15:26:22.096Z] 2023-07-18 15:26:21,764 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-18T15:26:22.096Z] 3.1.0-dev.5 [Pipeline] } [2023-07-18T15:26:22.104Z] $ docker exec --env ******** --env ******** aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af ssh-agent -k [2023-07-18T15:26:22.194Z] unset SSH_AUTH_SOCK; [2023-07-18T15:26:22.195Z] unset SSH_AGENT_PID; [2023-07-18T15:26:22.195Z] echo Agent pid 38 killed; [2023-07-18T15:26:22.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-18T15:26:22.502Z] + git semver [Pipeline] } [2023-07-18T15:26:22.772Z] $ docker stop --time=1 aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af [2023-07-18T15:26:24.040Z] $ docker rm -f --volumes aabe491dc300d4cb935c3a4eb346904c018e5d21911d77fdc7b23997df5960af [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-07-18T15:26:24.584Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-07-18T15:26:24.584Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-18T15:26:24.584Z] total 16 [2023-07-18T15:26:24.584Z] drwxr-xr-x 3 root root 4096 Jul 18 15:12 . [2023-07-18T15:26:24.584Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 15:26 .. [2023-07-18T15:26:24.584Z] drwxr-xr-x 2 root root 4096 Jul 18 15:12 cost [2023-07-18T15:26:24.584Z] -rw-r--r-- 1 root root 85 Jul 18 15:12 cost.csv [2023-07-18T15:26:24.584Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-18T15:26:24.584Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-18T15:26:24.584Z] total 16 [2023-07-18T15:26:24.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 15:12 . [2023-07-18T15:26:24.584Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 15:26 .. [2023-07-18T15:26:24.584Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 15:12 cost [2023-07-18T15:26:24.584Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 18 15:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:24.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:25.730Z] ---> package-listing.sh [2023-07-18T15:26:25.730Z] ++ facter osfamily [2023-07-18T15:26:25.730Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-18T15:26:25.990Z] + OS_FAMILY=debian [2023-07-18T15:26:25.990Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-07-18T15:26:25.990Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-18T15:26:25.990Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-18T15:26:25.990Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-18T15:26:25.990Z] + PACKAGES=/tmp/packages_start.txt [2023-07-18T15:26:25.990Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-18T15:26:25.990Z] + PACKAGES=/tmp/packages_end.txt [2023-07-18T15:26:25.990Z] + case "${OS_FAMILY}" in [2023-07-18T15:26:25.990Z] + dpkg -l [2023-07-18T15:26:25.990Z] + grep '^ii' [2023-07-18T15:26:25.990Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-18T15:26:25.990Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-18T15:26:25.990Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-18T15:26:25.990Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-18T15:26:25.990Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-07-18T15:26:25.990Z] + 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-07-18T15:26:26.001Z] 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-07-18T15:26:26.280Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T15:26:26.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T15:26:26.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T15:26:27.017Z] prd-ubuntu20.04-docker-8c-8g-1445 does not seem to be running inside a container [2023-07-18T15:26:27.107Z] $ 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-07-18T15:26:27.345Z] $ docker top 7f8880b9ee9ee119ca14f6fe647eadbd23de8cc5c08b73b3e0857f2ddbf7d88f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T15:26:27.677Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-18T15:26:27.960Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-18T15:26:28.243Z] + ls /var/log/sa-host [2023-07-18T15:26:28.243Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T15:26:28.313Z] provisioning config files... [2023-07-18T15:26:28.321Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6847975778636055838tmp [Pipeline] { [Pipeline] echo [2023-07-18T15:26:28.332Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:28.613Z] ---> create-netrc.sh [Pipeline] } [2023-07-18T15:26:28.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:28.955Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-18T15:26:28.965Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:29.248Z] ---> sudo-logs.sh [2023-07-18T15:26:29.248Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-18T15:26:29.278Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:29.561Z] ---> job-cost.sh [2023-07-18T15:26:29.562Z] lf-activate-venv: SKIPPING [2023-07-18T15:26:29.562Z] DEBUG: total: 0.2199999988079071 [2023-07-18T15:26:29.562Z] INFO: Retrieving Stack Cost... [2023-07-18T15:26:29.821Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T15:26:30.391Z] INFO: Archiving Costs [Pipeline] echo [2023-07-18T15:26:30.401Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T15:26:30.684Z] ---> logs-deploy.sh [2023-07-18T15:26:30.684Z] lf-activate-venv: SKIPPING [2023-07-18T15:26:30.684Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/233 [2023-07-18T15:26:30.684Z] INFO: archiving workspace using pattern(s): [2023-07-18T15:26:31.620Z] Archives upload complete. [2023-07-18T15:26:31.620Z] INFO: archiving logs to Nexus