Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d1a40f8b95de1d6d37730263f65300101497f92 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-ssh8057231374325196987.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-ssh13244381789288643386.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-ssh4804984885647144404.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-ssh8925498636509218346.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-ssh9161747801320165686.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18466 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2d1a40f8b95de1d6d37730263f65300101497f92 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#1466)" > git rev-list --no-walk 0269f5defae23ecfb21598e73301b9248fb3e022 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-12T17:52:17.178Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-12T17:52:17.244Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-12T17:52:17.261Z] ========================================================= [2023-06-12T17:52:17.261Z] EdgeX Global Pipelines Version Info [2023-06-12T17:52:17.261Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:52:17.971Z] ------------------- [2023-06-12T17:52:17.971Z] stable info: [2023-06-12T17:52:17.972Z] ------------------- [2023-06-12T17:52:17.972Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-12T17:52:17.972Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T17:52:17.972Z] Message: update stable to v1.0.250 [2023-06-12T17:52:18.543Z] ------------------- [2023-06-12T17:52:18.543Z] experimental info: [2023-06-12T17:52:18.543Z] ------------------- [2023-06-12T17:52:18.543Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-12T17:52:18.543Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T17:52:18.543Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-12T17:52:18.711Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-06-12T17:52:18.725Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-06-12T17:52:18.741Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-12T17:52:18.758Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-12T17:52:18.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-12T17:52:18.794Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-12T17:52:18.814Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-12T17:52:18.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-06-12T17:52:18.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-12T17:52:18.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-12T17:52:18.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-12T17:52:18.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-06-12T17:52:18.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-12T17:52:18.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-12T17:52:18.938Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T17:52:18.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:52:18.974Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:52:18.994Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T17:52:19.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-12T17:52:19.030Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-12T17:52:19.044Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-06-12T17:52:19.059Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-06-12T17:52:19.081Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-12T17:52:19.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-12T17:52:19.111Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-12T17:52:19.121Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-12T17:52:19.130Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-12T17:52:19.141Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-06-12T17:52:19.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-06-12T17:52:19.161Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-06-12T17:52:19.170Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] echo [2023-06-12T17:52:19.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d1a40f [Pipeline] echo [2023-06-12T17:52:19.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:52:19.253Z] provisioning config files... [2023-06-12T17:52:19.268Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6566802018649851132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:52:19.577Z] ---> docker-login.sh [2023-06-12T17:52:19.577Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:52:19.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:19.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:19.838Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:19.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:19.838Z] [2023-06-12T17:52:19.838Z] Login Succeeded [2023-06-12T17:52:19.838Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:52:19.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:20.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:20.103Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:20.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:20.103Z] [2023-06-12T17:52:20.103Z] Login Succeeded [2023-06-12T17:52:20.103Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:52:20.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:20.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:20.103Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:20.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:20.103Z] [2023-06-12T17:52:20.103Z] Login Succeeded [2023-06-12T17:52:20.103Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:52:20.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:20.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:20.103Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:20.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:20.103Z] [2023-06-12T17:52:20.103Z] Login Succeeded [2023-06-12T17:52:20.103Z] docker.io [2023-06-12T17:52:20.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:20.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:20.364Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:20.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:20.364Z] [2023-06-12T17:52:20.364Z] Login Succeeded [2023-06-12T17:52:20.625Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:52:20.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-12T17:52:21.008Z] + git rev-list -1 --merges 2d1a40f8b95de1d6d37730263f65300101497f92~1..2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] echo [2023-06-12T17:52:21.057Z] -----------> git rev-list -1 --merges 2d1a40f8b95de1d6d37730263f65300101497f92~1..2d1a40f8b95de1d6d37730263f65300101497f92 2d1a40f8b95de1d6d37730263f65300101497f92 [false] [Pipeline] sh [2023-06-12T17:52:21.346Z] + git log --format=format:%s -1 2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] echo [2023-06-12T17:52:21.383Z] ========================================================= [2023-06-12T17:52:21.383Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-12T17:52:21.383Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:52:21.725Z] + git log --format=format:%s -1 2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] echo [2023-06-12T17:52:21.735Z] [semverPrep] GIT_COMMIT: 2d1a40f8b95de1d6d37730263f65300101497f92, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#1466) [Pipeline] echo [2023-06-12T17:52:21.748Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-12T17:52:22.094Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T17:52:22.094Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-12T17:52:22.094Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-12T17:52:22.094Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-12T17:52:22.094Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-06-12T17:52:22.094Z] tee -a /etc/ssh/ssh_known_hosts [2023-06-12T17:52:22.094Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:52:22.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:52:22.456Z] [2023-06-12T17:52:22.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:52:22.752Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:52:22.752Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-12T17:52:22.752Z] b85a868b505f: Pulling fs layer [2023-06-12T17:52:22.752Z] e2be974225ed: Pulling fs layer [2023-06-12T17:52:22.752Z] 339a4e72a1f5: Pulling fs layer [2023-06-12T17:52:22.752Z] 988bab9f4d93: Pulling fs layer [2023-06-12T17:52:22.752Z] 1469e6f7b9e6: Pulling fs layer [2023-06-12T17:52:22.752Z] eaf3925da568: Pulling fs layer [2023-06-12T17:52:22.752Z] bab4dde63d76: Pulling fs layer [2023-06-12T17:52:22.752Z] bde34c3a00c8: Pulling fs layer [2023-06-12T17:52:22.752Z] b352a97aabf1: Pulling fs layer [2023-06-12T17:52:22.752Z] 4872d77fe225: Pulling fs layer [2023-06-12T17:52:22.752Z] 5851b861e8e6: Pulling fs layer [2023-06-12T17:52:22.752Z] 1469e6f7b9e6: Waiting [2023-06-12T17:52:22.752Z] b352a97aabf1: Waiting [2023-06-12T17:52:22.752Z] eaf3925da568: Waiting [2023-06-12T17:52:22.752Z] 4872d77fe225: Waiting [2023-06-12T17:52:22.752Z] 5851b861e8e6: Waiting [2023-06-12T17:52:22.752Z] bab4dde63d76: Waiting [2023-06-12T17:52:22.752Z] e2be974225ed: Download complete [2023-06-12T17:52:22.752Z] 988bab9f4d93: Download complete [2023-06-12T17:52:23.028Z] 1469e6f7b9e6: Verifying Checksum [2023-06-12T17:52:23.028Z] 1469e6f7b9e6: Download complete [2023-06-12T17:52:23.028Z] 339a4e72a1f5: Verifying Checksum [2023-06-12T17:52:23.028Z] 339a4e72a1f5: Download complete [2023-06-12T17:52:23.028Z] eaf3925da568: Download complete [2023-06-12T17:52:23.028Z] bde34c3a00c8: Download complete [2023-06-12T17:52:23.028Z] b352a97aabf1: Verifying Checksum [2023-06-12T17:52:23.028Z] b352a97aabf1: Download complete [2023-06-12T17:52:23.028Z] 4872d77fe225: Verifying Checksum [2023-06-12T17:52:23.028Z] 4872d77fe225: Download complete [2023-06-12T17:52:23.028Z] 5851b861e8e6: Verifying Checksum [2023-06-12T17:52:23.028Z] 5851b861e8e6: Download complete [2023-06-12T17:52:23.028Z] b85a868b505f: Verifying Checksum [2023-06-12T17:52:23.028Z] b85a868b505f: Download complete [2023-06-12T17:52:23.287Z] bab4dde63d76: Verifying Checksum [2023-06-12T17:52:23.287Z] bab4dde63d76: Download complete [2023-06-12T17:52:24.227Z] b85a868b505f: Pull complete [2023-06-12T17:52:24.486Z] e2be974225ed: Pull complete [2023-06-12T17:52:25.058Z] 339a4e72a1f5: Pull complete [2023-06-12T17:52:25.058Z] 988bab9f4d93: Pull complete [2023-06-12T17:52:25.324Z] 1469e6f7b9e6: Pull complete [2023-06-12T17:52:25.324Z] eaf3925da568: Pull complete [2023-06-12T17:52:27.232Z] bab4dde63d76: Pull complete [2023-06-12T17:52:27.232Z] bde34c3a00c8: Pull complete [2023-06-12T17:52:27.232Z] b352a97aabf1: Pull complete [2023-06-12T17:52:27.232Z] 4872d77fe225: Pull complete [2023-06-12T17:52:27.494Z] 5851b861e8e6: Pull complete [2023-06-12T17:52:27.494Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-12T17:52:27.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T17:52:27.494Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:52:27.600Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T17:52:27.646Z] $ 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-06-12T17:52:30.012Z] $ docker top 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 -eo pid,comm [2023-06-12T17:52:30.070Z] 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-06-12T17:52:30.070Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T17:52:30.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:52:30.106Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:52:30.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:52:30.224Z] $ docker exec 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 ssh-agent [2023-06-12T17:52:30.337Z] SSH_AUTH_SOCK=/tmp/ssh-CuNQZgyvAYFj/agent.32 [2023-06-12T17:52:30.337Z] SSH_AGENT_PID=38 [2023-06-12T17:52:30.345Z] Running ssh-add (command line suppressed) [2023-06-12T17:52:30.450Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6768944324592520140.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6768944324592520140.key) [2023-06-12T17:52:30.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:52:30.756Z] + git tag --points-at HEAD [Pipeline] } [2023-06-12T17:52:30.768Z] $ docker exec --env ******** --env ******** 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 ssh-agent -k [2023-06-12T17:52:30.874Z] unset SSH_AUTH_SOCK; [2023-06-12T17:52:30.875Z] unset SSH_AGENT_PID; [2023-06-12T17:52:30.875Z] echo Agent pid 38 killed; [2023-06-12T17:52:30.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-12T17:52:30.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T17:52:30.918Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T17:52:31.029Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T17:52:31.031Z] $ docker exec 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 ssh-agent [2023-06-12T17:52:31.148Z] SSH_AUTH_SOCK=/tmp/ssh-C44xLwt43eud/agent.70 [2023-06-12T17:52:31.148Z] SSH_AGENT_PID=76 [2023-06-12T17:52:31.153Z] Running ssh-add (command line suppressed) [2023-06-12T17:52:31.256Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9028606723441328361.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9028606723441328361.key) [2023-06-12T17:52:31.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T17:52:31.558Z] + git semver init [2023-06-12T17:52:31.818Z] 2023-06-12 17:52:31,750 [run_init] DEBUG init version:0.0.0 force:False [2023-06-12T17:52:31.818Z] 2023-06-12 17:52:31,750 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-06-12T17:52:31.818Z] 2023-06-12 17:52:31,751 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-06-12T17:52:31.818Z] 2023-06-12 17:52:31,751 [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-06-12T17:52:32.765Z] 2023-06-12 17:52:32,658 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-06-12T17:52:32.765Z] 2023-06-12 17:52:32,659 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-06-12T17:52:32.765Z] 2023-06-12 17:52:32,659 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T17:52:32.765Z] 2023-06-12 17:52:32,659 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T17:52:32.765Z] 3.1.0-dev.1 [Pipeline] } [2023-06-12T17:52:32.779Z] $ docker exec --env ******** --env ******** 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 ssh-agent -k [2023-06-12T17:52:32.880Z] unset SSH_AUTH_SOCK; [2023-06-12T17:52:32.881Z] unset SSH_AGENT_PID; [2023-06-12T17:52:32.883Z] echo Agent pid 76 killed; [2023-06-12T17:52:32.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T17:52:33.194Z] + git semver [Pipeline] } [2023-06-12T17:52:33.481Z] $ docker stop --time=1 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 [2023-06-12T17:52:34.784Z] $ docker rm -f --volumes 03dd156517770edda2bb699dea9222e61e402e943297569eac89efd45bebb817 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:52:35.126Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-12T17:52:35.364Z] Stashed 1 file(s) [Pipeline] echo [2023-06-12T17:52:35.368Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:52:35.537Z] provisioning config files... [2023-06-12T17:52:35.547Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5360604281814213928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:52:35.849Z] ---> docker-login.sh [2023-06-12T17:52:35.849Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:52:35.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:35.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:35.849Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:35.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:35.849Z] [2023-06-12T17:52:35.849Z] Login Succeeded [2023-06-12T17:52:35.849Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:52:35.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:35.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:35.849Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:35.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:35.849Z] [2023-06-12T17:52:35.849Z] Login Succeeded [2023-06-12T17:52:35.849Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:52:36.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:36.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:36.109Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:36.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:36.109Z] [2023-06-12T17:52:36.109Z] Login Succeeded [2023-06-12T17:52:36.109Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:52:36.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:36.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:36.109Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:36.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:36.109Z] [2023-06-12T17:52:36.109Z] Login Succeeded [2023-06-12T17:52:36.109Z] docker.io [2023-06-12T17:52:36.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:52:36.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:52:36.368Z] Configure a credential helper to remove this warning. See [2023-06-12T17:52:36.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:52:36.368Z] [2023-06-12T17:52:36.368Z] Login Succeeded [2023-06-12T17:52:36.368Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:52:36.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T17:52:36.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:52:36.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:52:36.450Z] ========================================================= [2023-06-12T17:52:36.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-12T17:52:36.450Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:52:36.762Z] + 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-06-12T17:52:36.762Z] Sending build context to Docker daemon 10.87MB [2023-06-12T17:52:36.762Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:52:36.762Z] Step 2/10 : FROM ${BASE} AS builder [2023-06-12T17:52:36.762Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-12T17:52:36.762Z] f56be85fc22e: Pulling fs layer [2023-06-12T17:52:36.762Z] 85791d961cd3: Pulling fs layer [2023-06-12T17:52:36.762Z] d694b5ae8c79: Pulling fs layer [2023-06-12T17:52:36.762Z] 9f32a84ed3da: Pulling fs layer [2023-06-12T17:52:36.762Z] 4d19c01a9841: Pulling fs layer [2023-06-12T17:52:36.762Z] 9325e15d5711: Pulling fs layer [2023-06-12T17:52:36.762Z] 556b6ee489ea: Pulling fs layer [2023-06-12T17:52:36.762Z] c5a4b2cf53e6: Pulling fs layer [2023-06-12T17:52:36.762Z] 9f32a84ed3da: Waiting [2023-06-12T17:52:36.762Z] 4d19c01a9841: Waiting [2023-06-12T17:52:36.762Z] 9325e15d5711: Waiting [2023-06-12T17:52:36.762Z] 556b6ee489ea: Waiting [2023-06-12T17:52:36.762Z] c5a4b2cf53e6: Waiting [2023-06-12T17:52:37.021Z] 85791d961cd3: Download complete [2023-06-12T17:52:37.021Z] 9f32a84ed3da: Verifying Checksum [2023-06-12T17:52:37.021Z] 9f32a84ed3da: Download complete [2023-06-12T17:52:37.021Z] 4d19c01a9841: Download complete [2023-06-12T17:52:37.021Z] f56be85fc22e: Verifying Checksum [2023-06-12T17:52:37.021Z] f56be85fc22e: Download complete [2023-06-12T17:52:37.021Z] 9325e15d5711: Verifying Checksum [2023-06-12T17:52:37.021Z] 9325e15d5711: Download complete [2023-06-12T17:52:37.021Z] f56be85fc22e: Pull complete [2023-06-12T17:52:37.284Z] 85791d961cd3: Pull complete [2023-06-12T17:52:37.545Z] d694b5ae8c79: Verifying Checksum [2023-06-12T17:52:37.545Z] d694b5ae8c79: Download complete [2023-06-12T17:52:37.545Z] c5a4b2cf53e6: Verifying Checksum [2023-06-12T17:52:37.545Z] c5a4b2cf53e6: Download complete [2023-06-12T17:52:37.803Z] 556b6ee489ea: Verifying Checksum [2023-06-12T17:52:37.803Z] 556b6ee489ea: Download complete [2023-06-12T17:52:41.087Z] d694b5ae8c79: Pull complete [2023-06-12T17:52:41.087Z] 9f32a84ed3da: Pull complete [2023-06-12T17:52:41.087Z] 4d19c01a9841: Pull complete [2023-06-12T17:52:41.087Z] 9325e15d5711: Pull complete [2023-06-12T17:52:42.987Z] 556b6ee489ea: Pull complete [2023-06-12T17:52:43.917Z] c5a4b2cf53e6: Pull complete [2023-06-12T17:52:43.917Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-12T17:52:43.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-12T17:52:43.917Z] ---> c4be618373d6 [2023-06-12T17:52:43.917Z] Step 3/10 : ARG MAKE=make build [2023-06-12T17:52:48.263Z] ---> Running in 3a6ce4961d4a [2023-06-12T17:52:48.263Z] Removing intermediate container 3a6ce4961d4a [2023-06-12T17:52:48.263Z] ---> b5fdb5a5a924 [2023-06-12T17:52:48.263Z] Step 4/10 : WORKDIR /device-sdk-go [2023-06-12T17:52:48.263Z] ---> Running in c2578b704098 [2023-06-12T17:52:48.263Z] Removing intermediate container c2578b704098 [2023-06-12T17:52:48.263Z] ---> 735b45846123 [2023-06-12T17:52:48.263Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-06-12T17:52:48.263Z] ---> Running in 70b5d40eddcc [2023-06-12T17:52:48.263Z] Removing intermediate container 70b5d40eddcc [2023-06-12T17:52:48.263Z] ---> 84e86f0ba1df [2023-06-12T17:52:48.263Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-06-12T17:52:48.263Z] ---> Running in f9ed260b0234 [2023-06-12T17:52:48.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:52:48.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:52:48.522Z] OK: 265 MiB in 53 packages [2023-06-12T17:52:48.780Z] Removing intermediate container f9ed260b0234 [2023-06-12T17:52:48.780Z] ---> 9c9f5eef25e4 [2023-06-12T17:52:48.780Z] Step 7/10 : COPY go.mod vendor* ./ [2023-06-12T17:52:49.039Z] ---> 934265d90574 [2023-06-12T17:52:49.039Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:52:49.039Z] ---> Running in 87c781dfbade [2023-06-12T17:52:50.485Z] Still waiting to schedule task [2023-06-12T17:52:50.486Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-06-12T17:53:15.612Z] Removing intermediate container 87c781dfbade [2023-06-12T17:53:15.612Z] ---> f111558125d2 [2023-06-12T17:53:15.612Z] Step 9/10 : COPY . . [2023-06-12T17:53:15.612Z] ---> 4eb454602a7f [2023-06-12T17:53:15.612Z] Step 10/10 : RUN ${MAKE} [2023-06-12T17:53:15.612Z] ---> Running in f6c07e6157b4 [2023-06-12T17:53:15.612Z] noop [2023-06-12T17:53:15.612Z] Removing intermediate container f6c07e6157b4 [2023-06-12T17:53:15.612Z] ---> a7757d548847 [2023-06-12T17:53:15.612Z] Successfully built a7757d548847 [2023-06-12T17:53:15.612Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:53:15.928Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T17:53:15.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:53:15.997Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T17:53:16.028Z] $ 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-06-12T17:53:16.343Z] $ docker top 067aa019e6e30e70c968aefafef2bc9792e4e7b3c868729496c218ab7249f552 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:53:16.671Z] + go version [2023-06-12T17:53:16.671Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-12T17:53:16.686Z] $ docker stop --time=1 067aa019e6e30e70c968aefafef2bc9792e4e7b3c868729496c218ab7249f552 [2023-06-12T17:53:17.941Z] $ docker rm -f --volumes 067aa019e6e30e70c968aefafef2bc9792e4e7b3c868729496c218ab7249f552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:53:18.317Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T17:53:18.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:53:18.384Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T17:53:18.417Z] $ 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-06-12T17:53:18.737Z] $ docker top c2880d4392d707205118ec55339167b7d95e8492fe55db592b168c4e6c59236b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:53:19.071Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-06-12T17:53:19.363Z] + make test [2023-06-12T17:53:19.363Z] go test -race -coverprofile=coverage.out ./... [2023-06-12T17:53:25.920Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-06-12T17:53:40.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-06-12T17:53:40.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-06-12T17:53:40.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-06-12T17:53:40.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-06-12T17:53:40.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-06-12T17:53:40.785Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.047s coverage: 27.6% of statements [2023-06-12T17:53:40.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-06-12T17:53:40.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-06-12T17:53:40.785Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.047s coverage: 80.2% of statements [2023-06-12T17:53:40.785Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.066s coverage: 86.0% of statements [2023-06-12T17:53:41.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-06-12T17:53:41.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-06-12T17:53:41.979Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 77.5% of statements [2023-06-12T17:53:41.979Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-06-12T17:53:41.979Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-06-12T17:53:42.917Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-06-12T17:53:44.819Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.089s coverage: 14.3% of statements [2023-06-12T17:53:44.819Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.075s coverage: 68.5% of statements [2023-06-12T17:53:44.819Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements [2023-06-12T17:53:44.819Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements [2023-06-12T17:54:06.739Z] GO111MODULE=on go vet ./... [2023-06-12T17:54:09.267Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T17:54:09.267Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T17:54:09.267Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T17:54:09.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T17:54:09.297Z] $ docker stop --time=1 c2880d4392d707205118ec55339167b7d95e8492fe55db592b168c4e6c59236b [2023-06-12T17:54:12.234Z] $ docker rm -f --volumes c2880d4392d707205118ec55339167b7d95e8492fe55db592b168c4e6c59236b [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T17:54:12.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T17:54:12.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-12T17:54:13.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T17:54:13.721Z] + ls -al . [2023-06-12T17:54:13.721Z] total 284 [2023-06-12T17:54:13.721Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 17:53 . [2023-06-12T17:54:13.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:52 .. [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:52 .dockerignore [2023-06-12T17:54:13.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:52 .git [2023-06-12T17:54:13.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:52 .github [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 137 Jun 12 17:52 .gitignore [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 12 17:52 .golangci.yml [2023-06-12T17:54:13.721Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:52 .semver [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jun 12 17:52 CHANGELOG.md [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:52 GOVERNANCE.md [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 885 Jun 12 17:52 Jenkinsfile [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 12 17:52 LICENSE [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jun 12 17:52 Makefile [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 12 17:52 OWNERS.md [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jun 12 17:52 README.md [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:52 VERSION [2023-06-12T17:54:13.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:52 bin [2023-06-12T17:54:13.721Z] -rw-r--r-- 1 jenkins jenkins 106150 Jun 12 17:53 coverage.out [2023-06-12T17:54:13.721Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 12 17:52 example [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 3193 Jun 12 17:52 go.mod [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 30789 Jun 12 17:52 go.sum [2023-06-12T17:54:13.721Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 12 17:52 internal [2023-06-12T17:54:13.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:52 openapi [2023-06-12T17:54:13.721Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 12 17:52 pkg [2023-06-12T17:54:13.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:52 snap [2023-06-12T17:54:13.721Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 12 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:14.026Z] + 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=2d1a40f8b95de1d6d37730263f65300101497f92 --label arch=amd64 --label version=3.1.0-dev.1 . [2023-06-12T17:54:14.027Z] Sending build context to Docker daemon 10.98MB [2023-06-12T17:54:14.027Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:54:14.027Z] Step 2/23 : FROM ${BASE} AS builder [2023-06-12T17:54:14.027Z] ---> a7757d548847 [2023-06-12T17:54:14.027Z] Step 3/23 : ARG MAKE=make build [2023-06-12T17:54:14.027Z] ---> Running in 180dd7bf4520 [2023-06-12T17:54:14.288Z] Removing intermediate container 180dd7bf4520 [2023-06-12T17:54:14.288Z] ---> 998950af6e36 [2023-06-12T17:54:14.288Z] Step 4/23 : WORKDIR /device-sdk-go [2023-06-12T17:54:14.288Z] ---> Running in d03071cfdd9c [2023-06-12T17:54:14.288Z] Removing intermediate container d03071cfdd9c [2023-06-12T17:54:14.288Z] ---> 2e8b7c2a4cc4 [2023-06-12T17:54:14.288Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-06-12T17:54:14.288Z] ---> Running in fd6f6b4faaa5 [2023-06-12T17:54:14.288Z] Removing intermediate container fd6f6b4faaa5 [2023-06-12T17:54:14.288Z] ---> 8695fe7cf299 [2023-06-12T17:54:14.288Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-06-12T17:54:14.548Z] ---> Running in 676a859f9005 [2023-06-12T17:54:14.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:14.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:15.064Z] OK: 265 MiB in 53 packages [2023-06-12T17:54:15.331Z] Removing intermediate container 676a859f9005 [2023-06-12T17:54:15.331Z] ---> 0fd22c7a2978 [2023-06-12T17:54:15.331Z] Step 7/23 : COPY go.mod vendor* ./ [2023-06-12T17:54:15.590Z] ---> d31454195a00 [2023-06-12T17:54:15.590Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:54:15.590Z] ---> Running in b2556d7dadf2 [2023-06-12T17:54:16.168Z] Removing intermediate container b2556d7dadf2 [2023-06-12T17:54:16.168Z] ---> ee31377cbd2e [2023-06-12T17:54:16.168Z] Step 9/23 : COPY . . [2023-06-12T17:54:16.735Z] ---> 953039ebd626 [2023-06-12T17:54:16.735Z] Step 10/23 : RUN ${MAKE} [2023-06-12T17:54:16.735Z] ---> Running in e76b3346d8b4 [2023-06-12T17:54:17.301Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-06-12T17:54:39.286Z] Removing intermediate container e76b3346d8b4 [2023-06-12T17:54:39.286Z] ---> bab61a823d4f [2023-06-12T17:54:39.286Z] Step 11/23 : FROM alpine:3.17 [2023-06-12T17:54:39.286Z] 3.17: Pulling from library/alpine [2023-06-12T17:54:39.286Z] f56be85fc22e: Already exists [2023-06-12T17:54:39.286Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T17:54:39.286Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T17:54:39.286Z] ---> 9ed4aefc74f6 [2023-06-12T17:54:39.286Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-06-12T17:54:39.286Z] ---> Running in 232d04140fc4 [2023-06-12T17:54:39.286Z] Removing intermediate container 232d04140fc4 [2023-06-12T17:54:39.286Z] ---> b373c450dc01 [2023-06-12T17:54:39.286Z] Step 13/23 : RUN apk add --update --no-cache [2023-06-12T17:54:39.286Z] ---> Running in eb4b53be479e [2023-06-12T17:54:39.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:39.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T17:54:39.286Z] OK: 7 MiB in 15 packages [2023-06-12T17:54:39.286Z] Removing intermediate container eb4b53be479e [2023-06-12T17:54:39.286Z] ---> 9cf5bbd47f91 [2023-06-12T17:54:39.286Z] Step 14/23 : WORKDIR / [2023-06-12T17:54:39.286Z] ---> Running in 009e162db11a [2023-06-12T17:54:39.286Z] Removing intermediate container 009e162db11a [2023-06-12T17:54:39.286Z] ---> fa3db4956fe5 [2023-06-12T17:54:39.286Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-06-12T17:54:39.286Z] ---> 7fd0dc937476 [2023-06-12T17:54:39.286Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-06-12T17:54:39.544Z] ---> 8be85b5413bc [2023-06-12T17:54:39.544Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-06-12T17:54:39.544Z] ---> d5d186dbb4db [2023-06-12T17:54:39.544Z] Step 18/23 : EXPOSE 59999 [2023-06-12T17:54:39.544Z] ---> Running in 0db2d1007148 [2023-06-12T17:54:39.802Z] Removing intermediate container 0db2d1007148 [2023-06-12T17:54:39.802Z] ---> 16635ac0971d [2023-06-12T17:54:39.802Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-06-12T17:54:39.802Z] ---> Running in 1c7a9f4e0ad8 [2023-06-12T17:54:39.802Z] Removing intermediate container 1c7a9f4e0ad8 [2023-06-12T17:54:39.802Z] ---> 55c1a7e97e92 [2023-06-12T17:54:39.802Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-06-12T17:54:39.802Z] ---> Running in b248e3f29c09 [2023-06-12T17:54:39.802Z] Removing intermediate container b248e3f29c09 [2023-06-12T17:54:39.802Z] ---> 5c3640e091b9 [2023-06-12T17:54:39.802Z] Step 21/23 : LABEL arch=amd64 [2023-06-12T17:54:40.061Z] ---> Running in 5cafe4bd12a7 [2023-06-12T17:54:40.061Z] Removing intermediate container 5cafe4bd12a7 [2023-06-12T17:54:40.061Z] ---> f1834353dad4 [2023-06-12T17:54:40.061Z] Step 22/23 : LABEL git_sha=2d1a40f8b95de1d6d37730263f65300101497f92 [2023-06-12T17:54:40.061Z] ---> Running in 617eb7813d13 [2023-06-12T17:54:40.061Z] Removing intermediate container 617eb7813d13 [2023-06-12T17:54:40.061Z] ---> d5a229e27def [2023-06-12T17:54:40.061Z] Step 23/23 : LABEL version=3.1.0-dev.1 [2023-06-12T17:54:40.061Z] ---> Running in deacad329812 [2023-06-12T17:54:40.320Z] Removing intermediate container deacad329812 [2023-06-12T17:54:40.320Z] ---> 715a303145ee [2023-06-12T17:54:40.320Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T17:54:40.320Z] Successfully built 715a303145ee [2023-06-12T17:54:40.320Z] 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-06-12T17:54:40.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:54:40.754Z] [2023-06-12T17:54:40.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:54:41.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:54:41.052Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-12T17:54:41.052Z] 5eb5b503b376: Pulling fs layer [2023-06-12T17:54:41.052Z] 5c69ac0246d0: Pulling fs layer [2023-06-12T17:54:41.052Z] ec43610c2a17: Pulling fs layer [2023-06-12T17:54:41.052Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-12T17:54:41.052Z] 33b1e0a273af: Pulling fs layer [2023-06-12T17:54:41.052Z] 5d3b04190fa2: Pulling fs layer [2023-06-12T17:54:41.052Z] 2f39f015ded8: Pulling fs layer [2023-06-12T17:54:41.052Z] 2f39f015ded8: Waiting [2023-06-12T17:54:41.052Z] 33b1e0a273af: Waiting [2023-06-12T17:54:41.052Z] 5d3b04190fa2: Waiting [2023-06-12T17:54:41.052Z] 3a2ae6a8a46f: Waiting [2023-06-12T17:54:41.052Z] 5c69ac0246d0: Download complete [2023-06-12T17:54:41.052Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-12T17:54:41.052Z] 3a2ae6a8a46f: Download complete [2023-06-12T17:54:41.052Z] ec43610c2a17: Verifying Checksum [2023-06-12T17:54:41.052Z] ec43610c2a17: Download complete [2023-06-12T17:54:41.052Z] 33b1e0a273af: Verifying Checksum [2023-06-12T17:54:41.052Z] 33b1e0a273af: Download complete [2023-06-12T17:54:41.052Z] 5d3b04190fa2: Verifying Checksum [2023-06-12T17:54:41.052Z] 5d3b04190fa2: Download complete [2023-06-12T17:54:41.309Z] 5eb5b503b376: Download complete [2023-06-12T17:54:41.874Z] 2f39f015ded8: Verifying Checksum [2023-06-12T17:54:42.439Z] 5eb5b503b376: Pull complete [2023-06-12T17:54:42.700Z] 5c69ac0246d0: Pull complete [2023-06-12T17:54:43.266Z] ec43610c2a17: Pull complete [2023-06-12T17:54:43.266Z] 3a2ae6a8a46f: Pull complete [2023-06-12T17:54:43.523Z] 33b1e0a273af: Pull complete [2023-06-12T17:54:43.523Z] 5d3b04190fa2: Pull complete [2023-06-12T17:54:48.789Z] 2f39f015ded8: Pull complete [2023-06-12T17:54:48.789Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-12T17:54:48.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T17:54:48.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:54:48.868Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T17:54:48.901Z] $ 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-06-12T17:54:51.843Z] $ docker top 3f901e0006744344222f5fff90a3857beae036d6344f39407f8c7f23eb228d3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:54:52.220Z] ---> job-cost.sh [2023-06-12T17:54:52.220Z] lf-activate-venv: SKIPPING [2023-06-12T17:54:52.220Z] INFO: No Stack... [2023-06-12T17:54:52.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T17:54:52.737Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T17:54:53.040Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv+ [2023-06-12T17:54:53.040Z] cut -d, -f6 [Pipeline] lock [2023-06-12T17:54:53.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [2023-06-12T17:54:53.062Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] did not exist. Created. [2023-06-12T17:54:53.063Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T17:54:53.362Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-12T17:54:53.398Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T17:54:53.404Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T17:54:53.433Z] $ docker stop --time=1 3f901e0006744344222f5fff90a3857beae036d6344f39407f8c7f23eb228d3a [2023-06-12T17:54:54.589Z] $ docker rm -f --volumes 3f901e0006744344222f5fff90a3857beae036d6344f39407f8c7f23eb228d3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-12T17:55:28.191Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18471 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-06-12T17:55:28.203Z] Running in /w/workspace/device-sdk-go/230 [Pipeline] { [Pipeline] checkout [2023-06-12T17:55:28.237Z] The recommended git tool is: git [2023-06-12T17:55:34.857Z] using credential edgex-jenkins-ssh [2023-06-12T17:55:34.877Z] Cloning the remote Git repository [2023-06-12T17:55:34.933Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-06-12T17:55:35.052Z] > git init /w/workspace/device-sdk-go/230 # timeout=10 [2023-06-12T17:55:35.227Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-06-12T17:55:35.228Z] > git --version # timeout=10 [2023-06-12T17:55:35.257Z] > git --version # 'git version 2.25.1' [2023-06-12T17:55:35.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T17:55:35.455Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T17:55:38.131Z] Avoid second fetch [2023-06-12T17:55:38.131Z] Checking out Revision 2d1a40f8b95de1d6d37730263f65300101497f92 (main) [2023-06-12T17:55:37.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-06-12T17:55:37.152Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T17:55:38.149Z] > git config core.sparsecheckout # timeout=10 [2023-06-12T17:55:38.231Z] > git checkout -f 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 [2023-06-12T17:55:38.790Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#1466)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T17:55:39.682Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-12T17:55:39.682Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T17:55:39.682Z] Dload Upload Total Spent Left Speed [2023-06-12T17:55:39.682Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh [2023-06-12T17:55:40.436Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-12T17:55:40.773Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-12T17:55:40.773Z] + sudo tee /etc/docker/daemon.new [2023-06-12T17:55:40.773Z] { [2023-06-12T17:55:40.773Z] "registry-mirrors": [ [2023-06-12T17:55:40.773Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-12T17:55:40.773Z] ], [2023-06-12T17:55:40.773Z] "bip": "10.250.0.254/24", [2023-06-12T17:55:40.773Z] "hosts": [ [2023-06-12T17:55:40.773Z] "tcp://0.0.0.0:5555", [2023-06-12T17:55:40.773Z] "unix:///var/run/docker.sock" [2023-06-12T17:55:40.773Z] ], [2023-06-12T17:55:40.773Z] "mtu": 1458, [2023-06-12T17:55:40.773Z] "selinux-enabled": true, [2023-06-12T17:55:40.773Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-12T17:55:40.773Z] } [Pipeline] sh [2023-06-12T17:55:41.111Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-12T17:55:41.454Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T17:55:59.747Z] provisioning config files... [2023-06-12T17:55:59.781Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/230@tmp/config16686973987174141335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T17:56:00.179Z] ---> docker-login.sh [2023-06-12T17:56:00.179Z] nexus3.edgexfoundry.org:10001 [2023-06-12T17:56:00.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:01.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:01.058Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:01.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:01.058Z] [2023-06-12T17:56:01.058Z] Login Succeeded [2023-06-12T17:56:01.058Z] nexus3.edgexfoundry.org:10002 [2023-06-12T17:56:01.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:01.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:01.329Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:01.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:01.329Z] [2023-06-12T17:56:01.329Z] Login Succeeded [2023-06-12T17:56:01.329Z] nexus3.edgexfoundry.org:10003 [2023-06-12T17:56:01.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:01.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:01.874Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:01.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:01.874Z] [2023-06-12T17:56:01.874Z] Login Succeeded [2023-06-12T17:56:01.874Z] nexus3.edgexfoundry.org:10004 [2023-06-12T17:56:02.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:02.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:02.150Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:02.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:02.150Z] [2023-06-12T17:56:02.150Z] Login Succeeded [2023-06-12T17:56:02.150Z] docker.io [2023-06-12T17:56:02.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T17:56:02.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T17:56:02.694Z] Configure a credential helper to remove this warning. See [2023-06-12T17:56:02.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T17:56:02.694Z] [2023-06-12T17:56:02.694Z] Login Succeeded [2023-06-12T17:56:02.694Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T17:56:02.710Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T17:56:03.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:56:03.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T17:56:03.103Z] ========================================================= [2023-06-12T17:56:03.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-12T17:56:03.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:56:03.470Z] + 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-06-12T17:56:03.744Z] Sending build context to Docker daemon 5.786MB [2023-06-12T17:56:04.018Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T17:56:04.018Z] Step 2/10 : FROM ${BASE} AS builder [2023-06-12T17:56:04.018Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-12T17:56:04.018Z] c41833b44d91: Pulling fs layer [2023-06-12T17:56:04.018Z] ed15518f5707: Pulling fs layer [2023-06-12T17:56:04.018Z] feae8fd75edb: Pulling fs layer [2023-06-12T17:56:04.018Z] 242c74f7c9fa: Pulling fs layer [2023-06-12T17:56:04.018Z] 3cdef696dda3: Pulling fs layer [2023-06-12T17:56:04.018Z] 2ced38df9373: Pulling fs layer [2023-06-12T17:56:04.018Z] 58f1dce35555: Pulling fs layer [2023-06-12T17:56:04.018Z] 242c74f7c9fa: Waiting [2023-06-12T17:56:04.018Z] 3cdef696dda3: Waiting [2023-06-12T17:56:04.018Z] 58f1dce35555: Waiting [2023-06-12T17:56:04.018Z] 2ced38df9373: Waiting [2023-06-12T17:56:04.018Z] ed15518f5707: Verifying Checksum [2023-06-12T17:56:04.018Z] ed15518f5707: Download complete [2023-06-12T17:56:04.294Z] 242c74f7c9fa: Verifying Checksum [2023-06-12T17:56:04.294Z] 242c74f7c9fa: Download complete [2023-06-12T17:56:04.295Z] 3cdef696dda3: Verifying Checksum [2023-06-12T17:56:04.295Z] 3cdef696dda3: Download complete [2023-06-12T17:56:04.295Z] c41833b44d91: Verifying Checksum [2023-06-12T17:56:04.295Z] c41833b44d91: Download complete [2023-06-12T17:56:05.276Z] c41833b44d91: Pull complete [2023-06-12T17:56:05.876Z] 58f1dce35555: Verifying Checksum [2023-06-12T17:56:06.153Z] ed15518f5707: Pull complete [2023-06-12T17:56:07.147Z] feae8fd75edb: Verifying Checksum [2023-06-12T17:56:07.147Z] feae8fd75edb: Download complete [2023-06-12T17:56:07.147Z] 2ced38df9373: Verifying Checksum [2023-06-12T17:56:07.147Z] 2ced38df9373: Download complete [2023-06-12T17:56:19.558Z] feae8fd75edb: Pull complete [2023-06-12T17:56:19.558Z] 242c74f7c9fa: Pull complete [2023-06-12T17:56:19.558Z] 3cdef696dda3: Pull complete [2023-06-12T17:56:26.251Z] 2ced38df9373: Pull complete [2023-06-12T17:56:28.850Z] 58f1dce35555: Pull complete [2023-06-12T17:56:28.850Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-12T17:56:28.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-12T17:56:28.850Z] ---> fadd8f120f05 [2023-06-12T17:56:28.850Z] Step 3/10 : ARG MAKE=make build [2023-06-12T17:56:31.447Z] ---> Running in 3065cbe6592c [2023-06-12T17:56:31.447Z] Removing intermediate container 3065cbe6592c [2023-06-12T17:56:31.447Z] ---> eea1870a2c33 [2023-06-12T17:56:31.447Z] Step 4/10 : WORKDIR /device-sdk-go [2023-06-12T17:56:31.447Z] ---> Running in cde63da10cfc [2023-06-12T17:56:31.723Z] Removing intermediate container cde63da10cfc [2023-06-12T17:56:31.723Z] ---> 7b07e87622ba [2023-06-12T17:56:31.723Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-06-12T17:56:31.994Z] ---> Running in 71dc3ad0d792 [2023-06-12T17:56:32.265Z] Removing intermediate container 71dc3ad0d792 [2023-06-12T17:56:32.265Z] ---> 0f6d4d0ed98b [2023-06-12T17:56:32.265Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-06-12T17:56:32.265Z] ---> Running in c201321db68c [2023-06-12T17:56:33.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T17:56:34.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T17:56:35.788Z] OK: 263 MiB in 53 packages [2023-06-12T17:56:36.759Z] Removing intermediate container c201321db68c [2023-06-12T17:56:36.759Z] ---> 42341265216a [2023-06-12T17:56:36.759Z] Step 7/10 : COPY go.mod vendor* ./ [2023-06-12T17:56:37.353Z] ---> fb03044ed146 [2023-06-12T17:56:37.353Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T17:56:37.353Z] ---> Running in 6a9d11cd4b9e [2023-06-12T17:57:45.309Z] Removing intermediate container 6a9d11cd4b9e [2023-06-12T17:57:45.309Z] ---> faaf32ea9c6f [2023-06-12T17:57:45.309Z] Step 9/10 : COPY . . [2023-06-12T17:57:45.309Z] ---> cfa8ccabfe8f [2023-06-12T17:57:45.309Z] Step 10/10 : RUN ${MAKE} [2023-06-12T17:57:45.309Z] ---> Running in ef85b215f389 [2023-06-12T17:57:45.309Z] noop [2023-06-12T17:57:45.309Z] Removing intermediate container ef85b215f389 [2023-06-12T17:57:45.309Z] ---> 2f333892c516 [2023-06-12T17:57:45.309Z] Successfully built 2f333892c516 [2023-06-12T17:57:45.309Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:45.670Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T17:57:45.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:57:45.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-18471 does not seem to be running inside a container [2023-06-12T17:57:46.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/230 -v /w/workspace/device-sdk-go/230:/w/workspace/device-sdk-go/230:rw,z -v /w/workspace/device-sdk-go/230@tmp:/w/workspace/device-sdk-go/230@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-06-12T17:57:47.364Z] $ docker top 601fb83425e08b11ab10345d03474a93be40345b2af4338edfd36bcc2a59aa11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:57:48.241Z] + go version [2023-06-12T17:57:48.241Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-12T17:57:48.261Z] $ docker stop --time=1 601fb83425e08b11ab10345d03474a93be40345b2af4338edfd36bcc2a59aa11 [2023-06-12T17:57:49.994Z] $ docker rm -f --volumes 601fb83425e08b11ab10345d03474a93be40345b2af4338edfd36bcc2a59aa11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T17:57:50.568Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T17:57:50.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T17:57:50.785Z] prd-ubuntu20.04-docker-arm64-4c-16g-18471 does not seem to be running inside a container [2023-06-12T17:57:50.867Z] $ 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/230 -v /w/workspace/device-sdk-go/230:/w/workspace/device-sdk-go/230:rw,z -v /w/workspace/device-sdk-go/230@tmp:/w/workspace/device-sdk-go/230@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-06-12T17:57:52.160Z] $ docker top 2d9561b00baadfb62dd8f0289f7b28c33729f40e6203f7dadabe80fad3d79bc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T17:57:53.025Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/230 [Pipeline] fileExists [Pipeline] sh [2023-06-12T17:57:53.744Z] + make test [2023-06-12T17:57:53.744Z] go test -race -coverprofile=coverage.out ./... [2023-06-12T17:58:50.262Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-06-12T18:01:26.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-06-12T18:01:26.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-06-12T18:01:26.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-06-12T18:01:26.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-06-12T18:01:26.977Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-06-12T18:01:29.563Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.252s coverage: 27.6% of statements [2023-06-12T18:01:36.224Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.288s coverage: 80.2% of statements [2023-06-12T18:01:51.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-06-12T18:01:51.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-06-12T18:01:51.234Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.406s coverage: 86.0% of statements [2023-06-12T18:01:59.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-06-12T18:01:59.710Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.522s coverage: 77.5% of statements [2023-06-12T18:02:05.066Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-06-12T18:02:07.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-06-12T18:02:07.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-06-12T18:02:07.988Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.298s coverage: 14.3% of statements [2023-06-12T18:02:07.988Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.485s coverage: 68.5% of statements [2023-06-12T18:02:12.272Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.508s coverage: 89.2% of statements [2023-06-12T18:02:13.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-06-12T18:02:13.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.282s coverage: 5.7% of statements [2023-06-12T18:02:14.483Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-12T18:02:14.483Z] GO111MODULE=on go vet ./... [2023-06-12T18:05:06.271Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:05:06.271Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:05:06.271Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:05:06.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:05:06.299Z] $ docker stop --time=1 2d9561b00baadfb62dd8f0289f7b28c33729f40e6203f7dadabe80fad3d79bc1 [2023-06-12T18:05:08.369Z] $ docker rm -f --volumes 2d9561b00baadfb62dd8f0289f7b28c33729f40e6203f7dadabe80fad3d79bc1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:05:10.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:05:10.058Z] Warning: overwriting stash ‘coverage-report’ [2023-06-12T18:05:10.683Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:05:11.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:05:11.385Z] + ls -al . [2023-06-12T18:05:11.385Z] total 280 [2023-06-12T18:05:11.385Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:57 . [2023-06-12T18:05:11.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:55 .. [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:55 .dockerignore [2023-06-12T18:05:11.385Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:55 .git [2023-06-12T18:05:11.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:55 .github [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 137 Jun 12 17:55 .gitignore [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 12 17:55 .golangci.yml [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jun 12 17:55 CHANGELOG.md [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:55 GOVERNANCE.md [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 885 Jun 12 17:55 Jenkinsfile [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 12 17:55 LICENSE [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jun 12 17:55 Makefile [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 12 17:55 OWNERS.md [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jun 12 17:55 README.md [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:52 VERSION [2023-06-12T18:05:11.385Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:55 bin [2023-06-12T18:05:11.385Z] -rw-r--r-- 1 jenkins jenkins 106150 Jun 12 18:02 coverage.out [2023-06-12T18:05:11.385Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 12 17:55 example [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 3193 Jun 12 17:55 go.mod [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 30789 Jun 12 17:55 go.sum [2023-06-12T18:05:11.385Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 12 17:55 internal [2023-06-12T18:05:11.385Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:55 openapi [2023-06-12T18:05:11.385Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 12 17:55 pkg [2023-06-12T18:05:11.385Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:55 snap [2023-06-12T18:05:11.385Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 12 17:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:05:11.741Z] + 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=2d1a40f8b95de1d6d37730263f65300101497f92 --label arch=arm64 --label version=3.1.0-dev.1 . [2023-06-12T18:05:12.014Z] Sending build context to Docker daemon 5.893MB [2023-06-12T18:05:12.285Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:05:12.285Z] Step 2/23 : FROM ${BASE} AS builder [2023-06-12T18:05:12.285Z] ---> 2f333892c516 [2023-06-12T18:05:12.285Z] Step 3/23 : ARG MAKE=make build [2023-06-12T18:05:12.285Z] ---> Running in 7be12fc890eb [2023-06-12T18:05:12.556Z] Removing intermediate container 7be12fc890eb [2023-06-12T18:05:12.556Z] ---> 0772315db8b9 [2023-06-12T18:05:12.556Z] Step 4/23 : WORKDIR /device-sdk-go [2023-06-12T18:05:12.828Z] ---> Running in e0e02e0747e5 [2023-06-12T18:05:13.098Z] Removing intermediate container e0e02e0747e5 [2023-06-12T18:05:13.098Z] ---> 655783c9b929 [2023-06-12T18:05:13.098Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-06-12T18:05:13.098Z] ---> Running in d5c9e871f9bb [2023-06-12T18:05:13.374Z] Removing intermediate container d5c9e871f9bb [2023-06-12T18:05:13.374Z] ---> 06e9b92756dd [2023-06-12T18:05:13.374Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-06-12T18:05:13.643Z] ---> Running in edad5b4600cb [2023-06-12T18:05:14.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:05:15.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:05:16.602Z] OK: 263 MiB in 53 packages [2023-06-12T18:05:17.568Z] Removing intermediate container edad5b4600cb [2023-06-12T18:05:17.568Z] ---> ce270315bece [2023-06-12T18:05:17.568Z] Step 7/23 : COPY go.mod vendor* ./ [2023-06-12T18:05:18.159Z] ---> d4b0e1e070f9 [2023-06-12T18:05:18.159Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:05:18.159Z] ---> Running in aae85b18d966 [2023-06-12T18:05:20.748Z] Removing intermediate container aae85b18d966 [2023-06-12T18:05:20.748Z] ---> 87c50774bdb2 [2023-06-12T18:05:20.748Z] Step 9/23 : COPY . . [2023-06-12T18:05:22.173Z] ---> 22befe0709a1 [2023-06-12T18:05:22.173Z] Step 10/23 : RUN ${MAKE} [2023-06-12T18:05:22.173Z] ---> Running in 06631d9312c0 [2023-06-12T18:05:23.138Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-06-12T18:07:45.900Z] Removing intermediate container 06631d9312c0 [2023-06-12T18:07:45.900Z] ---> 891b10f098fd [2023-06-12T18:07:45.900Z] Step 11/23 : FROM alpine:3.17 [2023-06-12T18:07:45.900Z] 3.17: Pulling from library/alpine [2023-06-12T18:07:45.900Z] c41833b44d91: Already exists [2023-06-12T18:07:45.900Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:07:45.900Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:07:45.900Z] ---> 51e60588ff2c [2023-06-12T18:07:45.900Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-06-12T18:07:45.900Z] ---> Running in 85d8a72bd6f3 [2023-06-12T18:07:45.900Z] Removing intermediate container 85d8a72bd6f3 [2023-06-12T18:07:45.900Z] ---> 269537f778ae [2023-06-12T18:07:45.900Z] Step 13/23 : RUN apk add --update --no-cache [2023-06-12T18:07:45.900Z] ---> Running in 0e8c541b9762 [2023-06-12T18:07:46.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:07:46.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:07:48.162Z] OK: 7 MiB in 15 packages [2023-06-12T18:07:48.776Z] Removing intermediate container 0e8c541b9762 [2023-06-12T18:07:48.776Z] ---> 42d47f1fbe96 [2023-06-12T18:07:48.776Z] Step 14/23 : WORKDIR / [2023-06-12T18:07:48.776Z] ---> Running in 06917ef56c46 [2023-06-12T18:07:49.059Z] Removing intermediate container 06917ef56c46 [2023-06-12T18:07:49.059Z] ---> 3ee671703f74 [2023-06-12T18:07:49.059Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-06-12T18:07:49.651Z] ---> 745aab65364b [2023-06-12T18:07:49.651Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-06-12T18:07:51.103Z] ---> 7db5fb771e8d [2023-06-12T18:07:51.103Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-06-12T18:07:51.707Z] ---> de34cf17cc07 [2023-06-12T18:07:51.707Z] Step 18/23 : EXPOSE 59999 [2023-06-12T18:07:51.707Z] ---> Running in fe1ec5af23e5 [2023-06-12T18:07:51.976Z] Removing intermediate container fe1ec5af23e5 [2023-06-12T18:07:51.976Z] ---> a5fbb89e9ffe [2023-06-12T18:07:51.976Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-06-12T18:07:51.976Z] ---> Running in 704616aaedd7 [2023-06-12T18:07:52.246Z] Removing intermediate container 704616aaedd7 [2023-06-12T18:07:52.246Z] ---> d9b9a67c7594 [2023-06-12T18:07:52.246Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-06-12T18:07:52.518Z] ---> Running in 302d1ae6074a [2023-06-12T18:07:52.788Z] Removing intermediate container 302d1ae6074a [2023-06-12T18:07:52.788Z] ---> 5f6e7f736393 [2023-06-12T18:07:52.788Z] Step 21/23 : LABEL arch=arm64 [2023-06-12T18:07:52.788Z] ---> Running in 81806479e1cf [2023-06-12T18:07:53.055Z] Removing intermediate container 81806479e1cf [2023-06-12T18:07:53.055Z] ---> 230cad2ebdd0 [2023-06-12T18:07:53.055Z] Step 22/23 : LABEL git_sha=2d1a40f8b95de1d6d37730263f65300101497f92 [2023-06-12T18:07:53.055Z] ---> Running in 054082af807c [2023-06-12T18:07:53.321Z] Removing intermediate container 054082af807c [2023-06-12T18:07:53.321Z] ---> 3dcc849baef0 [2023-06-12T18:07:53.321Z] Step 23/23 : LABEL version=3.1.0-dev.1 [2023-06-12T18:07:53.587Z] ---> Running in 96b7ddc371e2 [2023-06-12T18:07:53.856Z] Removing intermediate container 96b7ddc371e2 [2023-06-12T18:07:53.856Z] ---> 6503195fe7af [2023-06-12T18:07:53.856Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:07:53.856Z] Successfully built 6503195fe7af [2023-06-12T18:07:53.856Z] 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-06-12T18:07:54.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:07:54.307Z] [2023-06-12T18:07:54.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:07:54.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:07:54.910Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-12T18:07:54.910Z] 8998bd30e6a1: Pulling fs layer [2023-06-12T18:07:54.910Z] 04944245beec: Pulling fs layer [2023-06-12T18:07:54.910Z] 699f458cf7ca: Pulling fs layer [2023-06-12T18:07:54.910Z] 765212b225bb: Pulling fs layer [2023-06-12T18:07:54.910Z] f23df028b6ca: Pulling fs layer [2023-06-12T18:07:54.910Z] d65c8cfc05b1: Pulling fs layer [2023-06-12T18:07:54.910Z] 2437ff75d9bd: Pulling fs layer [2023-06-12T18:07:54.910Z] 765212b225bb: Waiting [2023-06-12T18:07:54.910Z] f23df028b6ca: Waiting [2023-06-12T18:07:54.910Z] d65c8cfc05b1: Waiting [2023-06-12T18:07:54.910Z] 2437ff75d9bd: Waiting [2023-06-12T18:07:54.910Z] 04944245beec: Verifying Checksum [2023-06-12T18:07:54.910Z] 04944245beec: Download complete [2023-06-12T18:07:54.910Z] 765212b225bb: Verifying Checksum [2023-06-12T18:07:54.910Z] 765212b225bb: Download complete [2023-06-12T18:07:54.910Z] f23df028b6ca: Verifying Checksum [2023-06-12T18:07:54.910Z] f23df028b6ca: Download complete [2023-06-12T18:07:55.178Z] d65c8cfc05b1: Verifying Checksum [2023-06-12T18:07:55.178Z] d65c8cfc05b1: Download complete [2023-06-12T18:07:55.178Z] 699f458cf7ca: Verifying Checksum [2023-06-12T18:07:55.178Z] 699f458cf7ca: Download complete [2023-06-12T18:07:55.446Z] 8998bd30e6a1: Download complete [2023-06-12T18:07:58.031Z] 2437ff75d9bd: Download complete [2023-06-12T18:07:59.440Z] 8998bd30e6a1: Pull complete [2023-06-12T18:07:59.708Z] 04944245beec: Pull complete [2023-06-12T18:08:01.116Z] 699f458cf7ca: Pull complete [2023-06-12T18:08:01.383Z] 765212b225bb: Pull complete [2023-06-12T18:08:02.343Z] f23df028b6ca: Pull complete [2023-06-12T18:08:02.343Z] d65c8cfc05b1: Pull complete [2023-06-12T18:08:17.332Z] 2437ff75d9bd: Pull complete [2023-06-12T18:08:17.332Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-12T18:08:17.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:08:17.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:08:17.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-18471 does not seem to be running inside a container [2023-06-12T18:08:17.590Z] $ 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/230 -v /w/workspace/device-sdk-go/230:/w/workspace/device-sdk-go/230:rw,z -v /w/workspace/device-sdk-go/230@tmp:/w/workspace/device-sdk-go/230@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-06-12T18:08:20.560Z] $ docker top 23650a37394f2fa5c67ececd1cf0f30316113c8a1fd770b48b24d36f91a4235f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:21.423Z] ---> job-cost.sh [2023-06-12T18:08:21.423Z] lf-activate-venv: SKIPPING [2023-06-12T18:08:21.423Z] INFO: No Stack... [2023-06-12T18:08:22.005Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-12T18:08:22.962Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:08:23.607Z] + + cat /w/workspace/device-sdk-go/230/archives/cost.csvcut [2023-06-12T18:08:23.607Z] -d, -f6 [Pipeline] lock [2023-06-12T18:08:23.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [2023-06-12T18:08:23.690Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] did not exist. Created. [2023-06-12T18:08:23.691Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:08:24.031Z] /w/workspace/device-sdk-go/230@tmp/durable-43d3e045/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-12T18:08:24.378Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-12T18:08:24.400Z] Warning: overwriting stash ‘stack-cost’ [2023-06-12T18:08:24.462Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:08:24.470Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-230-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:08:24.478Z] $ docker stop --time=1 23650a37394f2fa5c67ececd1cf0f30316113c8a1fd770b48b24d36f91a4235f [2023-06-12T18:08:25.970Z] $ docker rm -f --volumes 23650a37394f2fa5c67ececd1cf0f30316113c8a1fd770b48b24d36f91a4235f [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-06-12T18:08:26.360Z] provisioning config files... [2023-06-12T18:08:26.367Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16524792034296617613tmp [Pipeline] { [Pipeline] sh [2023-06-12T18:08:26.672Z] + set +x [2023-06-12T18:08:26.672Z] + curl -s https://codecov.io/bash [2023-06-12T18:08:26.672Z] + bash -s -- [2023-06-12T18:08:26.672Z] [2023-06-12T18:08:26.672Z] _____ _ [2023-06-12T18:08:26.672Z] / ____| | | [2023-06-12T18:08:26.672Z] | | ___ __| | ___ ___ _____ __ [2023-06-12T18:08:26.672Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-12T18:08:26.672Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-12T18:08:26.672Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-12T18:08:26.672Z] Bash-1.0.6 [2023-06-12T18:08:26.672Z] [2023-06-12T18:08:26.672Z] [2023-06-12T18:08:26.672Z] ==> git version 2.25.1 found [2023-06-12T18:08:26.672Z] ==> 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-06-12T18:08:26.672Z] Release-Date: 2020-01-08 [2023-06-12T18:08:26.672Z] 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-06-12T18:08:26.672Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-12T18:08:26.672Z] ==> Jenkins CI detected. [2023-06-12T18:08:26.672Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-06-12T18:08:26.672Z] project root: . [2023-06-12T18:08:26.672Z] --> token set from env [2023-06-12T18:08:26.672Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-12T18:08:26.672Z] ==> Running gcov in . (disable via -X gcov) [2023-06-12T18:08:26.672Z] ==> Python coveragepy not found [2023-06-12T18:08:26.672Z] ==> Searching for coverage reports in: [2023-06-12T18:08:26.672Z] + . [2023-06-12T18:08:26.672Z] -> Found 1 reports [2023-06-12T18:08:26.672Z] ==> Detecting git/mercurial file structure [2023-06-12T18:08:26.672Z] ==> Reading reports [2023-06-12T18:08:26.672Z] + ./coverage.out bytes=106150 [2023-06-12T18:08:26.672Z] ==> Appending adjustments [2023-06-12T18:08:26.672Z] https://docs.codecov.io/docs/fixing-reports [2023-06-12T18:08:27.242Z] + Found adjustments [2023-06-12T18:08:27.242Z] ==> Gzipping contents [2023-06-12T18:08:27.242Z] 16K /tmp/codecov.RGEnXv.gz [2023-06-12T18:08:27.242Z] ==> Uploading reports [2023-06-12T18:08:27.242Z] url: https://codecov.io [2023-06-12T18:08:27.242Z] query: branch=main&commit=2d1a40f8b95de1d6d37730263f65300101497f92&build=230&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F230%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:08:27.242Z] -> Pinging Codecov [2023-06-12T18:08:27.242Z] 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=2d1a40f8b95de1d6d37730263f65300101497f92&build=230&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F230%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-06-12T18:08:27.242Z] -> Uploading to [2023-06-12T18:08:27.242Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-12/7E55EF52A471D76F132DFD9A03CDDE97/2d1a40f8b95de1d6d37730263f65300101497f92/6f25543a-4a0e-4a84-b833-d70b91b3faf9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T180827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78872ec63427875644f35217c6af214b02de3ff739ca07ccb07bc8e8a40c2835 [2023-06-12T18:08:27.242Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:08:27.242Z] Dload Upload Total Spent Left Speed [2023-06-12T18:08:27.501Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15152 0 0 100 15152 0 76140 --:--:-- --:--:-- --:--:-- 76140 [2023-06-12T18:08:27.501Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] } [2023-06-12T18:08:27.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-06-12T18:08:27.647Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-06-12T18:08:27.659Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:08:27.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:08:27.965Z] [2023-06-12T18:08:27.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:08:28.263Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:08:28.263Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-06-12T18:08:28.263Z] df9b9388f04a: Pulling fs layer [2023-06-12T18:08:28.263Z] 52dc419b0ee2: Pulling fs layer [2023-06-12T18:08:28.263Z] 25bc292e5bac: Pulling fs layer [2023-06-12T18:08:28.263Z] 114826534d7a: Pulling fs layer [2023-06-12T18:08:28.263Z] 4657fd5d0bcf: Pulling fs layer [2023-06-12T18:08:28.263Z] 6ad1cebc031e: Pulling fs layer [2023-06-12T18:08:28.263Z] 8a3aa393b2d8: Pulling fs layer [2023-06-12T18:08:28.263Z] 4657fd5d0bcf: Waiting [2023-06-12T18:08:28.263Z] 6ad1cebc031e: Waiting [2023-06-12T18:08:28.263Z] 114826534d7a: Waiting [2023-06-12T18:08:28.263Z] 8a3aa393b2d8: Waiting [2023-06-12T18:08:28.263Z] 25bc292e5bac: Download complete [2023-06-12T18:08:28.263Z] 52dc419b0ee2: Verifying Checksum [2023-06-12T18:08:28.263Z] 52dc419b0ee2: Download complete [2023-06-12T18:08:28.263Z] 4657fd5d0bcf: Download complete [2023-06-12T18:08:28.263Z] df9b9388f04a: Download complete [2023-06-12T18:08:28.531Z] df9b9388f04a: Pull complete [2023-06-12T18:08:28.531Z] 6ad1cebc031e: Verifying Checksum [2023-06-12T18:08:28.531Z] 6ad1cebc031e: Download complete [2023-06-12T18:08:28.531Z] 52dc419b0ee2: Pull complete [2023-06-12T18:08:28.531Z] 25bc292e5bac: Pull complete [2023-06-12T18:08:29.099Z] 114826534d7a: Verifying Checksum [2023-06-12T18:08:29.099Z] 114826534d7a: Download complete [2023-06-12T18:08:29.100Z] 8a3aa393b2d8: Verifying Checksum [2023-06-12T18:08:29.100Z] 8a3aa393b2d8: Download complete [2023-06-12T18:08:32.384Z] 114826534d7a: Pull complete [2023-06-12T18:08:32.384Z] 4657fd5d0bcf: Pull complete [2023-06-12T18:08:32.643Z] 6ad1cebc031e: Pull complete [2023-06-12T18:08:35.174Z] 8a3aa393b2d8: Pull complete [2023-06-12T18:08:35.174Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-06-12T18:08:35.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-06-12T18:08:35.174Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:08:35.254Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T18:08:35.293Z] $ 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-06-12T18:08:38.434Z] $ docker top 898deff23f0279109aa11f237675251e96be4cb260d2c6a71b2d5c8c9201c9fe -eo pid,comm [Pipeline] { [Pipeline] echo [2023-06-12T18:08:38.484Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-06-12T18:08:38.763Z] + set -o pipefail [2023-06-12T18:08:38.763Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-06-12T18:08:42.950Z] [2023-06-12T18:08:42.950Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-06-12T18:08:42.950Z] [2023-06-12T18:08:42.950Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/c4412271-1444-49ec-ae0c-021449b847e6 [2023-06-12T18:08:42.950Z] [2023-06-12T18:08:42.950Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-06-12T18:08:42.950Z] [2023-06-12T18:08:42.950Z] [2023-06-12T18:08:42.950Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-06-12T18:08:42.950Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-06-12T18:08:42.950Z] More details here: https://snyk.co/ue1NS [2023-06-12T18:08:42.950Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-06-12T18:08:42.950Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-06-12T18:08:42.970Z] $ docker stop --time=1 898deff23f0279109aa11f237675251e96be4cb260d2c6a71b2d5c8c9201c9fe [2023-06-12T18:08:45.990Z] $ docker rm -f --volumes 898deff23f0279109aa11f237675251e96be4cb260d2c6a71b2d5c8c9201c9fe [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-06-12T18:08:46.341Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:08:46.355Z] provisioning config files... [2023-06-12T18:08:46.367Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11078594926829825472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:08:46.661Z] --> edgex-publish-swagger.sh [2023-06-12T18:08:46.661Z] === Publish openapi/v3 API === [2023-06-12T18:08:46.661Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-06-12T18:08:46.661Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-06-12T18:08:46.661Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:08:46.661Z] Dload Upload Total Spent Left Speed [2023-06-12T18:08:47.230Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 110k --:--:-- --:--:-- --:--:-- 110k 100 23674 0 0 100 23674 0 40537 --:--:-- --:--:-- --:--:-- 40468 [2023-06-12T18:08:47.230Z] [2023-06-12T18:08:47.230Z] [Pipeline] } [2023-06-12T18:08:47.237Z] 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-06-12T18:08:47.643Z] + git log --format=format:%s -1 2d1a40f8b95de1d6d37730263f65300101497f92 [Pipeline] sh [2023-06-12T18:08:47.938Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:08:47.938Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:08:48.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:08:48.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:08:48.313Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T18:08:48.357Z] $ 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-06-12T18:08:48.751Z] $ docker top 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f -eo pid,comm [2023-06-12T18:08:48.790Z] 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-06-12T18:08:48.790Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:08:48.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:08:48.830Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:08:48.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:08:48.958Z] $ docker exec 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f ssh-agent [2023-06-12T18:08:49.060Z] SSH_AUTH_SOCK=/tmp/ssh-XEyv3h8B5R8Q/agent.33 [2023-06-12T18:08:49.060Z] SSH_AGENT_PID=39 [2023-06-12T18:08:49.064Z] Running ssh-add (command line suppressed) [2023-06-12T18:08:49.177Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3419981305379903941.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3419981305379903941.key) [2023-06-12T18:08:49.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:08:49.471Z] + git semver tag [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,677 [run_tag] DEBUG tag force:False [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,677 [check_head_tag] DEBUG check head tag [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,678 [execute] INFO git cat-file --batch-check [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,682 [execute] INFO git cat-file --batch [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,691 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,691 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,692 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:08:49.729Z] 2023-06-12 18:08:49,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T18:08:49.729Z] 3.1.0-dev.1 [Pipeline] } [2023-06-12T18:08:49.749Z] $ docker exec --env ******** --env ******** 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f ssh-agent -k [2023-06-12T18:08:49.845Z] unset SSH_AUTH_SOCK; [2023-06-12T18:08:49.845Z] unset SSH_AGENT_PID; [2023-06-12T18:08:49.845Z] echo Agent pid 39 killed; [2023-06-12T18:08:49.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:08:50.164Z] + git semver [Pipeline] } [2023-06-12T18:08:50.445Z] $ docker stop --time=1 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f [2023-06-12T18:08:51.726Z] $ docker rm -f --volumes 64cd3b3b6d44c6439591d7348d052531994edd25684ae1a30fe068c81553166f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:08:52.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:08:52.109Z] [2023-06-12T18:08:52.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:08:52.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:08:52.406Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-06-12T18:08:52.406Z] ab5ef0e58194: Pulling fs layer [2023-06-12T18:08:52.406Z] 9712f1f96733: Pulling fs layer [2023-06-12T18:08:52.406Z] 63f879dbbcfc: Pulling fs layer [2023-06-12T18:08:52.406Z] 0d9ebad4ef96: Pulling fs layer [2023-06-12T18:08:52.406Z] e9a5061849ea: Pulling fs layer [2023-06-12T18:08:52.406Z] d747dcd14b5f: Pulling fs layer [2023-06-12T18:08:52.407Z] 2de7ff778b66: Pulling fs layer [2023-06-12T18:08:52.407Z] d747dcd14b5f: Waiting [2023-06-12T18:08:52.407Z] 2de7ff778b66: Waiting [2023-06-12T18:08:52.407Z] e9a5061849ea: Waiting [2023-06-12T18:08:52.407Z] 0d9ebad4ef96: Waiting [2023-06-12T18:08:52.407Z] 9712f1f96733: Verifying Checksum [2023-06-12T18:08:52.407Z] 9712f1f96733: Download complete [2023-06-12T18:08:52.666Z] 63f879dbbcfc: Verifying Checksum [2023-06-12T18:08:52.666Z] 63f879dbbcfc: Download complete [2023-06-12T18:08:52.924Z] e9a5061849ea: Verifying Checksum [2023-06-12T18:08:52.924Z] e9a5061849ea: Download complete [2023-06-12T18:08:52.924Z] d747dcd14b5f: Verifying Checksum [2023-06-12T18:08:52.924Z] d747dcd14b5f: Download complete [2023-06-12T18:08:52.924Z] 0d9ebad4ef96: Verifying Checksum [2023-06-12T18:08:52.924Z] 0d9ebad4ef96: Download complete [2023-06-12T18:08:52.924Z] ab5ef0e58194: Verifying Checksum [2023-06-12T18:08:52.924Z] ab5ef0e58194: Download complete [2023-06-12T18:08:52.924Z] 2de7ff778b66: Verifying Checksum [2023-06-12T18:08:52.924Z] 2de7ff778b66: Download complete [2023-06-12T18:08:56.206Z] ab5ef0e58194: Pull complete [2023-06-12T18:08:56.206Z] 9712f1f96733: Pull complete [2023-06-12T18:08:56.465Z] 63f879dbbcfc: Pull complete [2023-06-12T18:09:00.651Z] 0d9ebad4ef96: Pull complete [2023-06-12T18:09:00.651Z] e9a5061849ea: Pull complete [2023-06-12T18:09:00.651Z] d747dcd14b5f: Pull complete [2023-06-12T18:09:02.024Z] 2de7ff778b66: Pull complete [2023-06-12T18:09:02.025Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-06-12T18:09:02.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-06-12T18:09:02.025Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:09:02.110Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T18:09:02.150Z] $ 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-06-12T18:09:05.897Z] $ docker top e75d143980361819d1e91d40cfed6d38cd7d3032c65b530fb2cf454d14338966 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:09:05.950Z] provisioning config files... [2023-06-12T18:09:05.955Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config982812529493694831tmp [2023-06-12T18:09:05.964Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12687880460943341881tmp [2023-06-12T18:09:05.973Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13440600509950606340tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:09:05.987Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:06.269Z] ---> sigul-configuration.sh [2023-06-12T18:09:06.269Z] gpg: directory `/root/.gnupg' created [2023-06-12T18:09:06.269Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-06-12T18:09:06.269Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-06-12T18:09:06.269Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-06-12T18:09:06.269Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-06-12T18:09:06.269Z] gpg: CAST5 encrypted data [2023-06-12T18:09:06.269Z] gpg: encrypted with 1 passphrase [2023-06-12T18:09:06.269Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-06-12T18:09:06.550Z] + mkdir /home/jenkins [2023-06-12T18:09:06.550Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-06-12T18:09:06.836Z] + 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-06-12T18:09:06.845Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:07.128Z] ---> sigul-install.sh [2023-06-12T18:09:07.128Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-06-12T18:09:07.409Z] + git tag --list [2023-06-12T18:09:07.409Z] 0.7.1 [2023-06-12T18:09:07.409Z] delhi-tag [2023-06-12T18:09:07.409Z] v1.0.0 [2023-06-12T18:09:07.409Z] v1.1.0 [2023-06-12T18:09:07.409Z] v1.1.1 [2023-06-12T18:09:07.409Z] v1.1.2 [2023-06-12T18:09:07.409Z] v1.2.0 [2023-06-12T18:09:07.409Z] v1.2.1 [2023-06-12T18:09:07.409Z] v1.2.2 [2023-06-12T18:09:07.409Z] v1.2.3 [2023-06-12T18:09:07.409Z] v1.3.0 [2023-06-12T18:09:07.409Z] v1.4.0 [2023-06-12T18:09:07.409Z] v2.0.0 [2023-06-12T18:09:07.409Z] v2.1.0 [2023-06-12T18:09:07.409Z] v2.1.1 [2023-06-12T18:09:07.409Z] v2.2.0 [2023-06-12T18:09:07.409Z] v2.3.0 [2023-06-12T18:09:07.409Z] v2.3.1 [2023-06-12T18:09:07.409Z] v3.0 [2023-06-12T18:09:07.409Z] v3.0.0 [2023-06-12T18:09:07.409Z] v3.0.1-dev.1 [2023-06-12T18:09:07.409Z] v3.1.0-dev.1 [Pipeline] sh [2023-06-12T18:09:07.695Z] + lftools sign git-tag v3.1.0-dev.1 [2023-06-12T18:09:08.260Z] Signing Git tag with Sigul... [2023-06-12T18:09:08.260Z] Signing v3.1.0-dev.1 [Pipeline] echo [2023-06-12T18:09:08.529Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:08.812Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-06-12T18:09:08.819Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-06-12T18:09:08.848Z] $ docker stop --time=1 e75d143980361819d1e91d40cfed6d38cd7d3032c65b530fb2cf454d14338966 [2023-06-12T18:09:10.140Z] $ docker rm -f --volumes e75d143980361819d1e91d40cfed6d38cd7d3032c65b530fb2cf454d14338966 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-06-12T18:09:10.540Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:09:10.541Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:10.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:09:10.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:09:10.918Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T18:09:10.960Z] $ 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-06-12T18:09:11.296Z] $ docker top 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 -eo pid,comm [2023-06-12T18:09:11.332Z] 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-06-12T18:09:11.332Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:09:11.373Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:09:11.373Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:09:11.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:09:11.501Z] $ docker exec 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 ssh-agent [2023-06-12T18:09:11.611Z] SSH_AUTH_SOCK=/tmp/ssh-uEFGN0iup9pY/agent.34 [2023-06-12T18:09:11.611Z] SSH_AGENT_PID=40 [2023-06-12T18:09:11.616Z] Running ssh-add (command line suppressed) [2023-06-12T18:09:11.729Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11198971258719886798.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11198971258719886798.key) [2023-06-12T18:09:11.734Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:09:12.021Z] + git semver bump pre [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,212 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,212 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,212 [bump_version] DEBUG bumped version:3.1.0-dev.2 [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,212 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,212 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,212 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,214 [execute] INFO git cat-file --batch-check [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,219 [execute] INFO git cat-file --batch [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:09:12.280Z] 2023-06-12 18:09:12,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T18:09:12.280Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:09:12.299Z] $ docker exec --env ******** --env ******** 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 ssh-agent -k [2023-06-12T18:09:12.397Z] unset SSH_AUTH_SOCK; [2023-06-12T18:09:12.398Z] unset SSH_AGENT_PID; [2023-06-12T18:09:12.398Z] echo Agent pid 40 killed; [2023-06-12T18:09:12.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:09:12.707Z] + git semver [Pipeline] } [2023-06-12T18:09:12.988Z] $ docker stop --time=1 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 [2023-06-12T18:09:14.256Z] $ docker rm -f --volumes 74657c0df893e7a1be85aa7f890e8f580365401aee66d76f182517e89345d323 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:09:14.591Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:09:14.591Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:14.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:09:14.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:09:14.954Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T18:09:14.989Z] $ 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-06-12T18:09:15.322Z] $ docker top 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:09:15.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:09:15.400Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:09:15.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:09:15.521Z] $ docker exec 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 ssh-agent [2023-06-12T18:09:15.613Z] SSH_AUTH_SOCK=/tmp/ssh-OneauvTOOW6e/agent.32 [2023-06-12T18:09:15.613Z] SSH_AGENT_PID=38 [2023-06-12T18:09:15.618Z] Running ssh-add (command line suppressed) [2023-06-12T18:09:15.731Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_690582519338911825.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_690582519338911825.key) [2023-06-12T18:09:15.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:09:16.030Z] + git semver push [2023-06-12T18:09:16.288Z] 2023-06-12 18:09:16,223 [run_push] DEBUG push [2023-06-12T18:09:16.288Z] 2023-06-12 18:09:16,224 [execute] INFO git cat-file --batch-check [2023-06-12T18:09:16.288Z] 2023-06-12 18:09:16,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:09:16.288Z] 2023-06-12 18:09:16,228 [execute] INFO git rev-list bc699c1aa7d41db2d68a4dca0d6309a334418be8 -- [2023-06-12T18:09:16.288Z] 2023-06-12 18:09:16,228 [execute] DEBUG Popen(['git', 'rev-list', 'bc699c1aa7d41db2d68a4dca0d6309a334418be8', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:09:16.288Z] 2023-06-12 18:09:16,242 [execute] INFO git fetch -v origin [2023-06-12T18:09:16.288Z] 2023-06-12 18:09:16,242 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-06-12T18:09:16.856Z] 2023-06-12 18:09:16,700 [run_push] DEBUG no remote changes detected [2023-06-12T18:09:16.856Z] 2023-06-12 18:09:16,700 [execute] INFO git push origin semver [2023-06-12T18:09:16.856Z] 2023-06-12 18:09:16,701 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:09:17.794Z] 2023-06-12 18:09:17,483 [run_push] DEBUG push all version tags [2023-06-12T18:09:17.794Z] 2023-06-12 18:09:17,485 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-06-12T18:09:17.794Z] 2023-06-12 18:09:17,486 [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-06-12T18:09:18.364Z] 2023-06-12 18:09:18,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-06-12T18:09:18.364Z] 3.1.0-dev.2 [Pipeline] } [2023-06-12T18:09:18.385Z] $ docker exec --env ******** --env ******** 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 ssh-agent -k [2023-06-12T18:09:18.488Z] unset SSH_AUTH_SOCK; [2023-06-12T18:09:18.488Z] unset SSH_AGENT_PID; [2023-06-12T18:09:18.489Z] echo Agent pid 38 killed; [2023-06-12T18:09:18.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:09:18.788Z] + git semver [Pipeline] } [2023-06-12T18:09:19.067Z] $ docker stop --time=1 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 [2023-06-12T18:09:20.330Z] $ docker rm -f --volumes 4be963385491bf9854aee54b28df8b1fef5b3dc7cae9de0360adb68a6fd75240 [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-06-12T18:09:20.893Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-06-12T18:09:20.893Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-06-12T18:09:20.893Z] total 16 [2023-06-12T18:09:20.893Z] drwxr-xr-x 3 root root 4096 Jun 12 17:54 . [2023-06-12T18:09:20.893Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 12 18:09 .. [2023-06-12T18:09:20.893Z] drwxr-xr-x 2 root root 4096 Jun 12 17:54 cost [2023-06-12T18:09:20.893Z] -rw-r--r-- 1 root root 85 Jun 12 17:54 cost.csv [2023-06-12T18:09:20.893Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-06-12T18:09:20.893Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-06-12T18:09:20.893Z] total 16 [2023-06-12T18:09:20.893Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:54 . [2023-06-12T18:09:20.893Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 12 18:09 .. [2023-06-12T18:09:20.893Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:54 cost [2023-06-12T18:09:20.893Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 12 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:21.181Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:22.038Z] ---> package-listing.sh [2023-06-12T18:09:22.039Z] ++ facter osfamily [2023-06-12T18:09:22.039Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-12T18:09:22.298Z] + OS_FAMILY=debian [2023-06-12T18:09:22.298Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-06-12T18:09:22.298Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-12T18:09:22.298Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-12T18:09:22.298Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-12T18:09:22.298Z] + PACKAGES=/tmp/packages_start.txt [2023-06-12T18:09:22.298Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-06-12T18:09:22.298Z] + PACKAGES=/tmp/packages_end.txt [2023-06-12T18:09:22.298Z] + case "${OS_FAMILY}" in [2023-06-12T18:09:22.298Z] + dpkg -l [2023-06-12T18:09:22.298Z] + grep '^ii' [2023-06-12T18:09:22.298Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-12T18:09:22.298Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-12T18:09:22.298Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-12T18:09:22.298Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-06-12T18:09:22.298Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-06-12T18:09:22.298Z] + 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-06-12T18:09:22.306Z] 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-06-12T18:09:22.581Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:23.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:09:23.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:09:23.217Z] prd-ubuntu20.04-docker-8c-8g-18466 does not seem to be running inside a container [2023-06-12T18:09:23.257Z] $ 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-06-12T18:09:23.464Z] $ docker top ba4e55e7644d31388a0a123fa0d83ebbc455670b0f29d8fa789dc3fac6c8d20a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:09:23.798Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-12T18:09:24.082Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-12T18:09:24.365Z] + ls /var/log/sa-host [2023-06-12T18:09:24.365Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:09:24.435Z] provisioning config files... [2023-06-12T18:09:24.443Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1589712806888324354tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:09:24.459Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:24.742Z] ---> create-netrc.sh [Pipeline] } [2023-06-12T18:09:24.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:25.082Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-12T18:09:25.092Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:25.445Z] ---> sudo-logs.sh [2023-06-12T18:09:25.445Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-12T18:09:25.473Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:25.824Z] ---> job-cost.sh [2023-06-12T18:09:25.824Z] lf-activate-venv: SKIPPING [2023-06-12T18:09:25.824Z] DEBUG: total: 0.2199999988079071 [2023-06-12T18:09:25.824Z] INFO: Retrieving Stack Cost... [2023-06-12T18:09:26.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:09:26.408Z] INFO: Archiving Costs [Pipeline] echo [2023-06-12T18:09:26.428Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:26.709Z] ---> logs-deploy.sh [2023-06-12T18:09:26.709Z] lf-activate-venv: SKIPPING [2023-06-12T18:09:26.709Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/230 [2023-06-12T18:09:26.709Z] INFO: archiving workspace using pattern(s): [2023-06-12T18:09:27.644Z] Archives upload complete. [2023-06-12T18:09:27.905Z] INFO: archiving logs to Nexus