Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9643316300e59272a09f9c1d01562286ee215d0b 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-ssh11483002574081556667.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-ssh18337705846777964363.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-ssh7436897240483189270.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-ssh11897811729313390043.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-ssh6211274779264386568.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-2867 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 9643316300e59272a09f9c1d01562286ee215d0b (main) Commit message: "Merge pull request #1488 from lindseysimple/issue-1487" > 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 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 > git rev-list --no-walk 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-04T00:41:28.363Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-04T00:41:28.430Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-04T00:41:28.444Z] ========================================================= [2023-08-04T00:41:28.444Z] EdgeX Global Pipelines Version Info [2023-08-04T00:41:28.444Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:41:29.183Z] ------------------- [2023-08-04T00:41:29.183Z] stable info: [2023-08-04T00:41:29.183Z] ------------------- [2023-08-04T00:41:29.183Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-04T00:41:29.183Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T00:41:29.183Z] Message: update stable to v1.0.250 [2023-08-04T00:41:29.755Z] ------------------- [2023-08-04T00:41:29.755Z] experimental info: [2023-08-04T00:41:29.755Z] ------------------- [2023-08-04T00:41:29.755Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-04T00:41:29.755Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T00:41:29.755Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-04T00:41:29.941Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-04T00:41:29.954Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-04T00:41:29.969Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-04T00:41:29.985Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-04T00:41:30.003Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-04T00:41:30.019Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-04T00:41:30.032Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-04T00:41:30.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-04T00:41:30.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-04T00:41:30.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-04T00:41:30.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-04T00:41:30.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-04T00:41:30.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-04T00:41:30.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-04T00:41:30.130Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-04T00:41:30.141Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T00:41:30.152Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T00:41:30.164Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T00:41:30.179Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-04T00:41:30.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-04T00:41:30.213Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-04T00:41:30.225Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-04T00:41:30.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-04T00:41:30.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-04T00:41:30.265Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-04T00:41:30.277Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-04T00:41:30.289Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-04T00:41:30.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-04T00:41:30.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-04T00:41:30.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-04T00:41:30.341Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] echo [2023-08-04T00:41:30.359Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9643316 [Pipeline] echo [2023-08-04T00:41:30.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:41:30.429Z] provisioning config files... [2023-08-04T00:41:30.443Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7474280269818946280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:41:30.745Z] ---> docker-login.sh [2023-08-04T00:41:30.745Z] nexus3.edgexfoundry.org:10001 [2023-08-04T00:41:31.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:31.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:31.264Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:31.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:31.264Z] [2023-08-04T00:41:31.264Z] Login Succeeded [2023-08-04T00:41:31.264Z] nexus3.edgexfoundry.org:10002 [2023-08-04T00:41:31.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:31.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:31.264Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:31.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:31.264Z] [2023-08-04T00:41:31.264Z] Login Succeeded [2023-08-04T00:41:31.264Z] nexus3.edgexfoundry.org:10003 [2023-08-04T00:41:31.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:31.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:31.526Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:31.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:31.526Z] [2023-08-04T00:41:31.526Z] Login Succeeded [2023-08-04T00:41:31.526Z] nexus3.edgexfoundry.org:10004 [2023-08-04T00:41:31.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:31.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:31.526Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:31.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:31.526Z] [2023-08-04T00:41:31.526Z] Login Succeeded [2023-08-04T00:41:31.526Z] docker.io [2023-08-04T00:41:31.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:31.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:31.787Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:31.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:31.787Z] [2023-08-04T00:41:31.787Z] Login Succeeded [2023-08-04T00:41:31.787Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T00:41:31.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-04T00:41:32.164Z] + git rev-list -1 --merges 9643316300e59272a09f9c1d01562286ee215d0b~1..9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] echo [2023-08-04T00:41:32.217Z] -----------> git rev-list -1 --merges 9643316300e59272a09f9c1d01562286ee215d0b~1..9643316300e59272a09f9c1d01562286ee215d0b 9643316300e59272a09f9c1d01562286ee215d0b [2023-08-04T00:41:32.217Z] 9643316300e59272a09f9c1d01562286ee215d0b [false] [Pipeline] sh [2023-08-04T00:41:32.510Z] + git log --format=format:%s -1 9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] echo [2023-08-04T00:41:32.526Z] ========================================================= [2023-08-04T00:41:32.526Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-04T00:41:32.526Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T00:41:32.848Z] + git log --format=format:%s -1 9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] echo [2023-08-04T00:41:32.859Z] [semverPrep] GIT_COMMIT: 9643316300e59272a09f9c1d01562286ee215d0b, Commit Message: Merge pull request #1488 from lindseysimple/issue-1487 [Pipeline] echo [2023-08-04T00:41:32.870Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-04T00:41:33.243Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T00:41:33.243Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-04T00:41:33.243Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-04T00:41:33.243Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-04T00:41:33.243Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-04T00:41:33.243Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-04T00:41:33.243Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:41:33.662Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:41:33.662Z] [2023-08-04T00:41:33.662Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:41:33.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:41:33.962Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-04T00:41:33.962Z] b85a868b505f: Pulling fs layer [2023-08-04T00:41:33.962Z] e2be974225ed: Pulling fs layer [2023-08-04T00:41:33.962Z] 339a4e72a1f5: Pulling fs layer [2023-08-04T00:41:33.962Z] 988bab9f4d93: Pulling fs layer [2023-08-04T00:41:33.962Z] 1469e6f7b9e6: Pulling fs layer [2023-08-04T00:41:33.962Z] eaf3925da568: Pulling fs layer [2023-08-04T00:41:33.962Z] bab4dde63d76: Pulling fs layer [2023-08-04T00:41:33.962Z] bde34c3a00c8: Pulling fs layer [2023-08-04T00:41:33.962Z] b352a97aabf1: Pulling fs layer [2023-08-04T00:41:33.962Z] 4872d77fe225: Pulling fs layer [2023-08-04T00:41:33.962Z] 5851b861e8e6: Pulling fs layer [2023-08-04T00:41:33.962Z] eaf3925da568: Waiting [2023-08-04T00:41:33.962Z] 988bab9f4d93: Waiting [2023-08-04T00:41:33.962Z] bab4dde63d76: Waiting [2023-08-04T00:41:33.962Z] 1469e6f7b9e6: Waiting [2023-08-04T00:41:33.962Z] bde34c3a00c8: Waiting [2023-08-04T00:41:33.962Z] 5851b861e8e6: Waiting [2023-08-04T00:41:33.962Z] 4872d77fe225: Waiting [2023-08-04T00:41:33.962Z] e2be974225ed: Download complete [2023-08-04T00:41:33.962Z] 988bab9f4d93: Download complete [2023-08-04T00:41:34.253Z] 1469e6f7b9e6: Verifying Checksum [2023-08-04T00:41:34.253Z] 1469e6f7b9e6: Download complete [2023-08-04T00:41:34.253Z] eaf3925da568: Download complete [2023-08-04T00:41:34.253Z] 339a4e72a1f5: Verifying Checksum [2023-08-04T00:41:34.253Z] 339a4e72a1f5: Download complete [2023-08-04T00:41:34.253Z] bde34c3a00c8: Verifying Checksum [2023-08-04T00:41:34.253Z] bde34c3a00c8: Download complete [2023-08-04T00:41:34.253Z] b352a97aabf1: Download complete [2023-08-04T00:41:34.253Z] 4872d77fe225: Verifying Checksum [2023-08-04T00:41:34.253Z] 4872d77fe225: Download complete [2023-08-04T00:41:34.253Z] 5851b861e8e6: Verifying Checksum [2023-08-04T00:41:34.253Z] 5851b861e8e6: Download complete [2023-08-04T00:41:34.253Z] b85a868b505f: Verifying Checksum [2023-08-04T00:41:34.253Z] b85a868b505f: Download complete [2023-08-04T00:41:34.822Z] bab4dde63d76: Verifying Checksum [2023-08-04T00:41:34.822Z] bab4dde63d76: Download complete [2023-08-04T00:41:35.761Z] b85a868b505f: Pull complete [2023-08-04T00:41:35.761Z] e2be974225ed: Pull complete [2023-08-04T00:41:36.329Z] 339a4e72a1f5: Pull complete [2023-08-04T00:41:36.329Z] 988bab9f4d93: Pull complete [2023-08-04T00:41:36.616Z] 1469e6f7b9e6: Pull complete [2023-08-04T00:41:36.616Z] eaf3925da568: Pull complete [2023-08-04T00:41:38.531Z] bab4dde63d76: Pull complete [2023-08-04T00:41:38.531Z] bde34c3a00c8: Pull complete [2023-08-04T00:41:38.792Z] b352a97aabf1: Pull complete [2023-08-04T00:41:38.792Z] 4872d77fe225: Pull complete [2023-08-04T00:41:38.792Z] 5851b861e8e6: Pull complete [2023-08-04T00:41:38.792Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-04T00:41:38.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:41:38.792Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:41:38.901Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:41:38.941Z] $ 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-08-04T00:41:42.444Z] $ docker top ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 -eo pid,comm [2023-08-04T00:41:42.500Z] 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-08-04T00:41:42.500Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T00:41:42.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T00:41:42.531Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T00:41:42.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T00:41:42.653Z] $ docker exec ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 ssh-agent [2023-08-04T00:41:42.779Z] SSH_AUTH_SOCK=/tmp/ssh-SdLfLJIEAR1W/agent.32 [2023-08-04T00:41:42.779Z] SSH_AGENT_PID=38 [2023-08-04T00:41:42.787Z] Running ssh-add (command line suppressed) [2023-08-04T00:41:42.893Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2301032125721802705.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2301032125721802705.key) [2023-08-04T00:41:42.906Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T00:41:43.197Z] + git tag --points-at HEAD [Pipeline] } [2023-08-04T00:41:43.218Z] $ docker exec --env ******** --env ******** ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 ssh-agent -k [2023-08-04T00:41:43.313Z] unset SSH_AUTH_SOCK; [2023-08-04T00:41:43.314Z] unset SSH_AGENT_PID; [2023-08-04T00:41:43.314Z] echo Agent pid 38 killed; [2023-08-04T00:41:43.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-04T00:41:43.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T00:41:43.349Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T00:41:43.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T00:41:43.465Z] $ docker exec ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 ssh-agent [2023-08-04T00:41:43.575Z] SSH_AUTH_SOCK=/tmp/ssh-hH0xUg3BGbL0/agent.69 [2023-08-04T00:41:43.575Z] SSH_AGENT_PID=75 [2023-08-04T00:41:43.580Z] Running ssh-add (command line suppressed) [2023-08-04T00:41:43.695Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5444922648246600287.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5444922648246600287.key) [2023-08-04T00:41:43.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T00:41:43.996Z] + git semver init [2023-08-04T00:41:44.257Z] 2023-08-04 00:41:44,169 [run_init] DEBUG init version:0.0.0 force:False [2023-08-04T00:41:44.257Z] 2023-08-04 00:41:44,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-04T00:41:44.257Z] 2023-08-04 00:41:44,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-04T00:41:44.257Z] 2023-08-04 00:41:44,170 [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-08-04T00:41:45.198Z] 2023-08-04 00:41:45,118 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-08-04T00:41:45.198Z] 2023-08-04 00:41:45,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-08-04T00:41:45.198Z] 2023-08-04 00:41:45,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:41:45.198Z] 2023-08-04 00:41:45,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:41:45.198Z] 3.1.0-dev.9 [Pipeline] } [2023-08-04T00:41:45.211Z] $ docker exec --env ******** --env ******** ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 ssh-agent -k [2023-08-04T00:41:45.312Z] unset SSH_AUTH_SOCK; [2023-08-04T00:41:45.312Z] unset SSH_AGENT_PID; [2023-08-04T00:41:45.312Z] echo Agent pid 75 killed; [2023-08-04T00:41:45.322Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T00:41:45.636Z] + git semver [Pipeline] } [2023-08-04T00:41:45.913Z] $ docker stop --time=1 ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 [2023-08-04T00:41:47.221Z] $ docker rm -f --volumes ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T00:41:47.559Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-04T00:41:47.803Z] Stashed 1 file(s) [Pipeline] echo [2023-08-04T00:41:47.806Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [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-08-04T00:41:47.918Z] provisioning config files... [2023-08-04T00:41:47.927Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16470916578209183698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:41:48.220Z] ---> docker-login.sh [2023-08-04T00:41:48.220Z] nexus3.edgexfoundry.org:10001 [2023-08-04T00:41:48.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:48.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:48.220Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:48.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:48.220Z] [2023-08-04T00:41:48.220Z] Login Succeeded [2023-08-04T00:41:48.220Z] nexus3.edgexfoundry.org:10002 [2023-08-04T00:41:48.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:48.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:48.220Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:48.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:48.220Z] [2023-08-04T00:41:48.220Z] Login Succeeded [2023-08-04T00:41:48.220Z] nexus3.edgexfoundry.org:10003 [2023-08-04T00:41:48.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:48.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:48.479Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:48.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:48.479Z] [2023-08-04T00:41:48.479Z] Login Succeeded [2023-08-04T00:41:48.479Z] nexus3.edgexfoundry.org:10004 [2023-08-04T00:41:48.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:48.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:48.479Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:48.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:48.480Z] [2023-08-04T00:41:48.480Z] Login Succeeded [2023-08-04T00:41:48.480Z] docker.io [2023-08-04T00:41:48.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:41:48.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:41:48.740Z] Configure a credential helper to remove this warning. See [2023-08-04T00:41:48.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:41:48.740Z] [2023-08-04T00:41:48.740Z] Login Succeeded [2023-08-04T00:41:48.740Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T00:41:48.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T00:41:48.813Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T00:41:48.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T00:41:48.837Z] ========================================================= [2023-08-04T00:41:48.837Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-04T00:41:48.837Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:41:49.145Z] + 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-08-04T00:41:49.145Z] Sending build context to Docker daemon 11.03MB [2023-08-04T00:41:49.145Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T00:41:49.145Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-04T00:41:49.145Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-04T00:41:49.145Z] 4db1b89c0bd1: Pulling fs layer [2023-08-04T00:41:49.145Z] 6911f1a30b25: Pulling fs layer [2023-08-04T00:41:49.145Z] e194b8c5c2a9: Pulling fs layer [2023-08-04T00:41:49.145Z] 6863d3e3a2b1: Pulling fs layer [2023-08-04T00:41:49.145Z] ec0bb842ea78: Pulling fs layer [2023-08-04T00:41:49.145Z] 40a00589a448: Pulling fs layer [2023-08-04T00:41:49.145Z] 6c08303d61cc: Pulling fs layer [2023-08-04T00:41:49.145Z] 798269fcf238: Pulling fs layer [2023-08-04T00:41:49.145Z] 798269fcf238: Waiting [2023-08-04T00:41:49.145Z] 40a00589a448: Waiting [2023-08-04T00:41:49.145Z] 6c08303d61cc: Waiting [2023-08-04T00:41:49.145Z] 6863d3e3a2b1: Waiting [2023-08-04T00:41:49.407Z] 6911f1a30b25: Download complete [2023-08-04T00:41:49.407Z] 6863d3e3a2b1: Verifying Checksum [2023-08-04T00:41:49.407Z] 6863d3e3a2b1: Download complete [2023-08-04T00:41:49.407Z] ec0bb842ea78: Download complete [2023-08-04T00:41:49.407Z] 4db1b89c0bd1: Verifying Checksum [2023-08-04T00:41:49.407Z] 4db1b89c0bd1: Download complete [2023-08-04T00:41:49.407Z] 40a00589a448: Verifying Checksum [2023-08-04T00:41:49.407Z] 40a00589a448: Download complete [2023-08-04T00:41:49.407Z] 4db1b89c0bd1: Pull complete [2023-08-04T00:41:49.668Z] 6911f1a30b25: Pull complete [2023-08-04T00:41:50.277Z] 798269fcf238: Verifying Checksum [2023-08-04T00:41:50.277Z] 798269fcf238: Download complete [2023-08-04T00:41:50.536Z] e194b8c5c2a9: Verifying Checksum [2023-08-04T00:41:50.536Z] e194b8c5c2a9: Download complete [2023-08-04T00:41:50.536Z] 6c08303d61cc: Verifying Checksum [2023-08-04T00:41:50.536Z] 6c08303d61cc: Download complete [2023-08-04T00:41:54.731Z] e194b8c5c2a9: Pull complete [2023-08-04T00:41:54.731Z] 6863d3e3a2b1: Pull complete [2023-08-04T00:41:54.731Z] ec0bb842ea78: Pull complete [2023-08-04T00:41:54.731Z] 40a00589a448: Pull complete [2023-08-04T00:41:57.281Z] 6c08303d61cc: Pull complete [2023-08-04T00:41:58.219Z] 798269fcf238: Pull complete [2023-08-04T00:41:58.478Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-04T00:41:58.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-04T00:41:58.478Z] ---> ec979cd7f677 [2023-08-04T00:41:58.478Z] Step 3/10 : ARG MAKE=make build [2023-08-04T00:42:02.884Z] Still waiting to schedule task [2023-08-04T00:42:02.884Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2864’ [2023-08-04T00:42:08.461Z] ---> Running in 44a114822422 [2023-08-04T00:42:08.461Z] Removing intermediate container 44a114822422 [2023-08-04T00:42:08.461Z] ---> eaa87d425f52 [2023-08-04T00:42:08.461Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-04T00:42:08.461Z] ---> Running in 77e5c87b316e [2023-08-04T00:42:08.461Z] Removing intermediate container 77e5c87b316e [2023-08-04T00:42:08.461Z] ---> ad9f7b3a4ced [2023-08-04T00:42:08.461Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T00:42:08.461Z] ---> Running in e7ef0824c13c [2023-08-04T00:42:08.461Z] Removing intermediate container e7ef0824c13c [2023-08-04T00:42:08.461Z] ---> 7dbecf562e3d [2023-08-04T00:42:08.461Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-04T00:42:08.461Z] ---> Running in 0e6ed352783b [2023-08-04T00:42:08.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T00:42:08.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T00:42:08.461Z] OK: 265 MiB in 53 packages [2023-08-04T00:42:08.720Z] Removing intermediate container 0e6ed352783b [2023-08-04T00:42:08.721Z] ---> 55b7544be0e7 [2023-08-04T00:42:08.721Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-04T00:42:08.980Z] ---> 94a3f3bfbd04 [2023-08-04T00:42:08.980Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T00:42:08.980Z] ---> Running in 14711199311f [2023-08-04T00:43:05.257Z] Removing intermediate container 14711199311f [2023-08-04T00:43:05.258Z] ---> fa011dffc3c5 [2023-08-04T00:43:05.258Z] Step 9/10 : COPY . . [2023-08-04T00:43:05.258Z] ---> 41c0d8c698da [2023-08-04T00:43:05.258Z] Step 10/10 : RUN ${MAKE} [2023-08-04T00:43:05.258Z] ---> Running in 1285c8f7c1a6 [2023-08-04T00:43:05.258Z] noop [2023-08-04T00:43:05.258Z] Removing intermediate container 1285c8f7c1a6 [2023-08-04T00:43:05.258Z] ---> a0654dcd4078 [2023-08-04T00:43:05.258Z] Successfully built a0654dcd4078 [2023-08-04T00:43:05.258Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:43:05.574Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T00:43:05.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:43:05.686Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:43:05.724Z] $ 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-08-04T00:43:06.089Z] $ docker top fc671db61dc72ff4af74536ad4f6ad923e2cdcadebbdbcd020b3dbd8c386586a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:43:06.426Z] + go version [2023-08-04T00:43:06.426Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-04T00:43:06.442Z] $ docker stop --time=1 fc671db61dc72ff4af74536ad4f6ad923e2cdcadebbdbcd020b3dbd8c386586a [2023-08-04T00:43:07.707Z] $ docker rm -f --volumes fc671db61dc72ff4af74536ad4f6ad923e2cdcadebbdbcd020b3dbd8c386586a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:43:08.107Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T00:43:08.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:43:08.190Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:43:08.233Z] $ 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-08-04T00:43:08.575Z] $ docker top 276dbfb1dd6611b2d6391ea16b1afb5edae089e9cb5f559f29de5ce481eb9cb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:43:08.915Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-04T00:43:09.216Z] + make test [2023-08-04T00:43:09.217Z] go test -race -coverprofile=coverage.out ./... [2023-08-04T00:43:17.342Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-04T00:43:32.224Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-04T00:43:32.224Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-04T00:43:32.224Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-04T00:43:32.224Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-04T00:43:32.224Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-04T00:43:32.224Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-04T00:43:32.224Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-04T00:43:32.224Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-08-04T00:43:32.224Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements [2023-08-04T00:43:32.224Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.088s coverage: 86.0% of statements [2023-08-04T00:43:32.224Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-04T00:43:32.224Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.083s coverage: 71.8% of statements [2023-08-04T00:43:32.789Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-04T00:43:32.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-04T00:43:33.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-04T00:43:35.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.097s coverage: 14.3% of statements [2023-08-04T00:43:35.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.426s coverage: 43.8% of statements [2023-08-04T00:43:35.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements [2023-08-04T00:43:35.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements [2023-08-04T00:43:35.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 5.5% of statements [2023-08-04T00:44:02.200Z] GO111MODULE=on go vet ./... [2023-08-04T00:44:02.768Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T00:44:02.768Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T00:44:02.768Z] ./bin/test-attribution-txt.sh [2023-08-04T00:44:02.768Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T00:44:02.768Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T00:44:02.768Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T00:44:02.768Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T00:44:02.768Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T00:44:02.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T00:44:02.804Z] $ docker stop --time=1 276dbfb1dd6611b2d6391ea16b1afb5edae089e9cb5f559f29de5ce481eb9cb4 [2023-08-04T00:44:06.518Z] $ docker rm -f --volumes 276dbfb1dd6611b2d6391ea16b1afb5edae089e9cb5f559f29de5ce481eb9cb4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T00:44:07.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T00:44:07.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-04T00:44:07.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T00:44:08.020Z] + ls -al . [2023-08-04T00:44:08.020Z] total 304 [2023-08-04T00:44:08.020Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 00:43 . [2023-08-04T00:44:08.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:41 .. [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 00:41 .dockerignore [2023-08-04T00:44:08.020Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 00:41 .git [2023-08-04T00:44:08.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:41 .github [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 00:41 .gitignore [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 00:41 .golangci.yml [2023-08-04T00:44:08.020Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 00:41 .semver [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 00:41 CHANGELOG.md [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 00:41 GOVERNANCE.md [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 00:41 Jenkinsfile [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 00:41 LICENSE [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 00:41 Makefile [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 00:41 OWNERS.md [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 00:41 README.md [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 4 00:41 VERSION [2023-08-04T00:44:08.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:41 bin [2023-08-04T00:44:08.020Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 00:43 coverage.out [2023-08-04T00:44:08.020Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 00:41 example [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 00:41 go.mod [2023-08-04T00:44:08.020Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 00:41 go.sum [2023-08-04T00:44:08.021Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:41 internal [2023-08-04T00:44:08.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 00:41 openapi [2023-08-04T00:44:08.021Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 00:41 pkg [2023-08-04T00:44:08.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:41 snap [2023-08-04T00:44:08.021Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 00:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:44:08.458Z] + 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=9643316300e59272a09f9c1d01562286ee215d0b --label arch=amd64 --label version=3.1.0-dev.9 . [2023-08-04T00:44:08.458Z] Sending build context to Docker daemon 11.15MB [2023-08-04T00:44:08.458Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T00:44:08.458Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-04T00:44:08.458Z] ---> a0654dcd4078 [2023-08-04T00:44:08.458Z] Step 3/23 : ARG MAKE=make build [2023-08-04T00:44:08.720Z] ---> Running in 83d2d3483ba3 [2023-08-04T00:44:08.720Z] Removing intermediate container 83d2d3483ba3 [2023-08-04T00:44:08.720Z] ---> 457c051d1270 [2023-08-04T00:44:08.720Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-04T00:44:08.720Z] ---> Running in 942c3415012c [2023-08-04T00:44:08.979Z] Removing intermediate container 942c3415012c [2023-08-04T00:44:08.979Z] ---> c7add333fa6a [2023-08-04T00:44:08.979Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T00:44:08.979Z] ---> Running in 2971df18a5d6 [2023-08-04T00:44:08.979Z] Removing intermediate container 2971df18a5d6 [2023-08-04T00:44:08.979Z] ---> 84b0bdf6a868 [2023-08-04T00:44:08.979Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-04T00:44:08.979Z] ---> Running in ed24cd6e63b1 [2023-08-04T00:44:09.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T00:44:09.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T00:44:09.759Z] OK: 265 MiB in 53 packages [2023-08-04T00:44:10.017Z] Removing intermediate container ed24cd6e63b1 [2023-08-04T00:44:10.017Z] ---> cc288f8817d8 [2023-08-04T00:44:10.017Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-04T00:44:10.279Z] ---> e620f3a56322 [2023-08-04T00:44:10.279Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T00:44:10.279Z] ---> Running in daf8ac8853a7 [2023-08-04T00:44:10.847Z] Removing intermediate container daf8ac8853a7 [2023-08-04T00:44:10.847Z] ---> 342b5d86f8ed [2023-08-04T00:44:10.847Z] Step 9/23 : COPY . . [2023-08-04T00:44:11.434Z] ---> c8fcae2b684e [2023-08-04T00:44:11.434Z] Step 10/23 : RUN ${MAKE} [2023-08-04T00:44:11.434Z] ---> Running in e2d855b21e09 [2023-08-04T00:44:11.693Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.9" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-04T00:44:29.648Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2870 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-08-04T00:44:29.659Z] Running in /w/workspace/device-sdk-go/238 [Pipeline] { [Pipeline] checkout [2023-08-04T00:44:29.689Z] The recommended git tool is: git [2023-08-04T00:44:33.693Z] Removing intermediate container e2d855b21e09 [2023-08-04T00:44:33.693Z] ---> b3759ec55455 [2023-08-04T00:44:33.693Z] Step 11/23 : FROM alpine:3.17 [2023-08-04T00:44:33.693Z] 3.17: Pulling from library/alpine [2023-08-04T00:44:33.953Z] 4db1b89c0bd1: Already exists [2023-08-04T00:44:33.953Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T00:44:33.953Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T00:44:33.953Z] ---> 1f73a9d63274 [2023-08-04T00:44:33.953Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-04T00:44:33.953Z] ---> Running in 2759842d1068 [2023-08-04T00:44:34.217Z] Removing intermediate container 2759842d1068 [2023-08-04T00:44:34.217Z] ---> 473e1cc2f16a [2023-08-04T00:44:34.217Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-04T00:44:34.217Z] ---> Running in 7574434ddae0 [2023-08-04T00:44:34.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T00:44:34.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T00:44:35.011Z] OK: 7 MiB in 15 packages [2023-08-04T00:44:35.271Z] Removing intermediate container 7574434ddae0 [2023-08-04T00:44:35.271Z] ---> 9ea852837f89 [2023-08-04T00:44:35.271Z] Step 14/23 : WORKDIR / [2023-08-04T00:44:35.271Z] ---> Running in 32e7c1803b87 [2023-08-04T00:44:35.271Z] Removing intermediate container 32e7c1803b87 [2023-08-04T00:44:35.271Z] ---> e73a02eda8fe [2023-08-04T00:44:35.271Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-04T00:44:35.532Z] ---> 8574415c9f4b [2023-08-04T00:44:35.532Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-04T00:44:35.754Z] using credential edgex-jenkins-ssh [2023-08-04T00:44:35.770Z] Cloning the remote Git repository [2023-08-04T00:44:36.469Z] ---> d31c0ae0fecf [2023-08-04T00:44:36.469Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-04T00:44:36.469Z] ---> 76766b863d3b [2023-08-04T00:44:36.469Z] Step 18/23 : EXPOSE 59999 [2023-08-04T00:44:36.469Z] ---> Running in 6169e714f0bb [2023-08-04T00:44:36.729Z] Removing intermediate container 6169e714f0bb [2023-08-04T00:44:36.729Z] ---> d954c00214cc [2023-08-04T00:44:36.729Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-04T00:44:36.729Z] ---> Running in 5cff3c4e4cbb [2023-08-04T00:44:36.729Z] Removing intermediate container 5cff3c4e4cbb [2023-08-04T00:44:36.729Z] ---> bee43ab4bb0a [2023-08-04T00:44:36.729Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T00:44:36.729Z] ---> Running in a00929978d44 [2023-08-04T00:44:36.989Z] Removing intermediate container a00929978d44 [2023-08-04T00:44:36.989Z] ---> a4b15160496e [2023-08-04T00:44:36.989Z] Step 21/23 : LABEL arch=amd64 [2023-08-04T00:44:36.989Z] ---> Running in be9fe11baa86 [2023-08-04T00:44:36.989Z] Removing intermediate container be9fe11baa86 [2023-08-04T00:44:36.989Z] ---> f7f27c39b364 [2023-08-04T00:44:36.989Z] Step 22/23 : LABEL git_sha=9643316300e59272a09f9c1d01562286ee215d0b [2023-08-04T00:44:36.989Z] ---> Running in a4b7a5fe7de7 [2023-08-04T00:44:36.989Z] Removing intermediate container a4b7a5fe7de7 [2023-08-04T00:44:36.989Z] ---> 9d1e27c2406c [2023-08-04T00:44:36.989Z] Step 23/23 : LABEL version=3.1.0-dev.9 [2023-08-04T00:44:35.816Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-04T00:44:35.909Z] > git init /w/workspace/device-sdk-go/238 # timeout=10 [2023-08-04T00:44:36.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-04T00:44:36.054Z] > git --version # timeout=10 [2023-08-04T00:44:36.078Z] > git --version # 'git version 2.25.1' [2023-08-04T00:44:36.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T00:44:36.237Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T00:44:37.247Z] ---> Running in 44b387b2e943 [2023-08-04T00:44:37.247Z] Removing intermediate container 44b387b2e943 [2023-08-04T00:44:37.247Z] ---> c4e86e04d3f2 [2023-08-04T00:44:37.247Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T00:44:37.247Z] Successfully built c4e86e04d3f2 [2023-08-04T00:44:37.247Z] 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-08-04T00:44:37.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T00:44:37.684Z] [2023-08-04T00:44:37.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:44:37.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T00:44:37.984Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-04T00:44:37.984Z] 5eb5b503b376: Pulling fs layer [2023-08-04T00:44:37.984Z] 5c69ac0246d0: Pulling fs layer [2023-08-04T00:44:37.984Z] ec43610c2a17: Pulling fs layer [2023-08-04T00:44:37.984Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-04T00:44:37.984Z] 33b1e0a273af: Pulling fs layer [2023-08-04T00:44:37.984Z] 5d3b04190fa2: Pulling fs layer [2023-08-04T00:44:37.984Z] 2f39f015ded8: Pulling fs layer [2023-08-04T00:44:37.984Z] 33b1e0a273af: Waiting [2023-08-04T00:44:37.984Z] 5d3b04190fa2: Waiting [2023-08-04T00:44:37.984Z] 3a2ae6a8a46f: Waiting [2023-08-04T00:44:37.984Z] 2f39f015ded8: Waiting [2023-08-04T00:44:37.984Z] 5c69ac0246d0: Verifying Checksum [2023-08-04T00:44:37.984Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-04T00:44:37.984Z] 3a2ae6a8a46f: Download complete [2023-08-04T00:44:38.249Z] 33b1e0a273af: Verifying Checksum [2023-08-04T00:44:38.249Z] 33b1e0a273af: Download complete [2023-08-04T00:44:38.249Z] ec43610c2a17: Verifying Checksum [2023-08-04T00:44:38.249Z] ec43610c2a17: Download complete [2023-08-04T00:44:38.249Z] 5d3b04190fa2: Download complete [2023-08-04T00:44:38.249Z] 5eb5b503b376: Verifying Checksum [2023-08-04T00:44:38.249Z] 5eb5b503b376: Download complete [2023-08-04T00:44:37.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-04T00:44:37.845Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T00:44:38.722Z] Avoid second fetch [2023-08-04T00:44:38.723Z] Checking out Revision 9643316300e59272a09f9c1d01562286ee215d0b (main) [2023-08-04T00:44:38.817Z] 2f39f015ded8: Verifying Checksum [2023-08-04T00:44:38.817Z] 2f39f015ded8: Download complete [2023-08-04T00:44:39.281Z] Commit message: "Merge pull request #1488 from lindseysimple/issue-1487" [2023-08-04T00:44:39.679Z] [2023-08-04T00:44:39.679Z] GitHub has been notified of this commit’s build result [2023-08-04T00:44:39.679Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-08-04T00:44:39.755Z] 5eb5b503b376: Pull complete [2023-08-04T00:44:39.755Z] 5c69ac0246d0: Pull complete [Pipeline] sh [2023-08-04T00:44:38.739Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T00:44:38.805Z] > git checkout -f 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 [2023-08-04T00:44:40.233Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-04T00:44:40.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T00:44:40.233Z] Dload Upload Total Spent Left Speed [2023-08-04T00:44:40.233Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [2023-08-04T00:44:40.323Z] ec43610c2a17: Pull complete [2023-08-04T00:44:40.323Z] 3a2ae6a8a46f: Pull complete [Pipeline] sh [2023-08-04T00:44:40.581Z] 33b1e0a273af: Pull complete [2023-08-04T00:44:40.581Z] 5d3b04190fa2: Pull complete [2023-08-04T00:44:40.872Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-04T00:44:41.213Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-04T00:44:41.213Z] + sudo tee /etc/docker/daemon.new [2023-08-04T00:44:41.213Z] { [2023-08-04T00:44:41.213Z] "registry-mirrors": [ [2023-08-04T00:44:41.213Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-04T00:44:41.213Z] ], [2023-08-04T00:44:41.213Z] "bip": "10.250.0.254/24", [2023-08-04T00:44:41.213Z] "hosts": [ [2023-08-04T00:44:41.213Z] "tcp://0.0.0.0:5555", [2023-08-04T00:44:41.213Z] "unix:///var/run/docker.sock" [2023-08-04T00:44:41.213Z] ], [2023-08-04T00:44:41.213Z] "mtu": 1458, [2023-08-04T00:44:41.213Z] "selinux-enabled": true, [2023-08-04T00:44:41.213Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-04T00:44:41.213Z] } [Pipeline] sh [2023-08-04T00:44:41.548Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-04T00:44:41.909Z] + sudo service docker restart [2023-08-04T00:44:45.853Z] 2f39f015ded8: Pull complete [2023-08-04T00:44:45.853Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-04T00:44:45.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T00:44:45.853Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:44:45.946Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:44:45.980Z] $ 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-08-04T00:44:51.199Z] $ docker top 328c9fbc11d28010fa82d1b497fc57c09450c91a121f4254449922c109de9231 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:44:51.580Z] ---> job-cost.sh [2023-08-04T00:44:51.580Z] lf-activate-venv: SKIPPING [2023-08-04T00:44:51.580Z] INFO: No Stack... [2023-08-04T00:44:51.838Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T00:44:52.098Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T00:44:52.647Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-08-04T00:44:52.647Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T00:44:52.660Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [2023-08-04T00:44:52.666Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] did not exist. Created. [2023-08-04T00:44:52.666Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T00:44:52.973Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-04T00:44:53.007Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T00:44:53.013Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T00:44:53.041Z] $ docker stop --time=1 328c9fbc11d28010fa82d1b497fc57c09450c91a121f4254449922c109de9231 [2023-08-04T00:44:54.199Z] $ docker rm -f --volumes 328c9fbc11d28010fa82d1b497fc57c09450c91a121f4254449922c109de9231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:45:00.187Z] provisioning config files... [2023-08-04T00:45:00.214Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/238@tmp/config17064996843200187659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:45:00.564Z] ---> docker-login.sh [2023-08-04T00:45:00.564Z] nexus3.edgexfoundry.org:10001 [2023-08-04T00:45:00.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:45:01.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:45:01.102Z] Configure a credential helper to remove this warning. See [2023-08-04T00:45:01.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:45:01.102Z] [2023-08-04T00:45:01.102Z] Login Succeeded [2023-08-04T00:45:01.102Z] nexus3.edgexfoundry.org:10002 [2023-08-04T00:45:01.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:45:01.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:45:01.643Z] Configure a credential helper to remove this warning. See [2023-08-04T00:45:01.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:45:01.643Z] [2023-08-04T00:45:01.643Z] Login Succeeded [2023-08-04T00:45:01.643Z] nexus3.edgexfoundry.org:10003 [2023-08-04T00:45:01.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:45:01.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:45:01.917Z] Configure a credential helper to remove this warning. See [2023-08-04T00:45:01.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:45:01.917Z] [2023-08-04T00:45:01.917Z] Login Succeeded [2023-08-04T00:45:01.917Z] nexus3.edgexfoundry.org:10004 [2023-08-04T00:45:02.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:45:02.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:45:02.187Z] Configure a credential helper to remove this warning. See [2023-08-04T00:45:02.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:45:02.187Z] [2023-08-04T00:45:02.187Z] Login Succeeded [2023-08-04T00:45:02.187Z] docker.io [2023-08-04T00:45:02.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T00:45:03.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T00:45:03.868Z] Configure a credential helper to remove this warning. See [2023-08-04T00:45:03.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T00:45:03.868Z] [2023-08-04T00:45:03.868Z] Login Succeeded [2023-08-04T00:45:03.868Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T00:45:03.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T00:45:04.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T00:45:04.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T00:45:04.161Z] ========================================================= [2023-08-04T00:45:04.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-04T00:45:04.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:45:04.520Z] + 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-08-04T00:45:04.789Z] Sending build context to Docker daemon 5.884MB [2023-08-04T00:45:04.789Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T00:45:04.789Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-04T00:45:05.063Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-04T00:45:05.063Z] edb6bdbacee9: Pulling fs layer [2023-08-04T00:45:05.063Z] 5f9638ab2659: Pulling fs layer [2023-08-04T00:45:05.063Z] 8d51d6327a98: Pulling fs layer [2023-08-04T00:45:05.063Z] 8b374f2dd631: Pulling fs layer [2023-08-04T00:45:05.063Z] ec14aa9079de: Pulling fs layer [2023-08-04T00:45:05.063Z] 2f466654f4bb: Pulling fs layer [2023-08-04T00:45:05.063Z] 554e91adad29: Pulling fs layer [2023-08-04T00:45:05.063Z] 8b374f2dd631: Waiting [2023-08-04T00:45:05.063Z] ec14aa9079de: Waiting [2023-08-04T00:45:05.063Z] 554e91adad29: Waiting [2023-08-04T00:45:05.063Z] 5f9638ab2659: Verifying Checksum [2023-08-04T00:45:05.063Z] 5f9638ab2659: Download complete [2023-08-04T00:45:05.063Z] 8b374f2dd631: Verifying Checksum [2023-08-04T00:45:05.063Z] 8b374f2dd631: Download complete [2023-08-04T00:45:05.063Z] ec14aa9079de: Verifying Checksum [2023-08-04T00:45:05.063Z] ec14aa9079de: Download complete [2023-08-04T00:45:05.063Z] edb6bdbacee9: Verifying Checksum [2023-08-04T00:45:06.496Z] edb6bdbacee9: Pull complete [2023-08-04T00:45:06.496Z] 554e91adad29: Verifying Checksum [2023-08-04T00:45:06.496Z] 554e91adad29: Download complete [2023-08-04T00:45:06.765Z] 5f9638ab2659: Pull complete [2023-08-04T00:45:07.738Z] 8d51d6327a98: Verifying Checksum [2023-08-04T00:45:07.738Z] 8d51d6327a98: Download complete [2023-08-04T00:45:07.738Z] 2f466654f4bb: Verifying Checksum [2023-08-04T00:45:07.738Z] 2f466654f4bb: Download complete [2023-08-04T00:45:20.082Z] 8d51d6327a98: Pull complete [2023-08-04T00:45:20.082Z] 8b374f2dd631: Pull complete [2023-08-04T00:45:20.082Z] ec14aa9079de: Pull complete [2023-08-04T00:45:25.438Z] 2f466654f4bb: Pull complete [2023-08-04T00:45:28.055Z] 554e91adad29: Pull complete [2023-08-04T00:45:28.055Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-04T00:45:28.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-04T00:45:28.055Z] ---> 1e15ea492957 [2023-08-04T00:45:28.055Z] Step 3/10 : ARG MAKE=make build [2023-08-04T00:45:30.095Z] ---> Running in 7beb1b9bf3c3 [2023-08-04T00:45:30.386Z] Removing intermediate container 7beb1b9bf3c3 [2023-08-04T00:45:30.386Z] ---> fc2233642348 [2023-08-04T00:45:30.386Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-04T00:45:30.386Z] ---> Running in 8b73256eaa81 [2023-08-04T00:45:30.660Z] Removing intermediate container 8b73256eaa81 [2023-08-04T00:45:30.660Z] ---> 331f6cc9a469 [2023-08-04T00:45:30.660Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T00:45:30.940Z] ---> Running in ff1e835b5c51 [2023-08-04T00:45:31.217Z] Removing intermediate container ff1e835b5c51 [2023-08-04T00:45:31.217Z] ---> 8cedd35acafa [2023-08-04T00:45:31.217Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-04T00:45:31.217Z] ---> Running in 2b8a093f9ab5 [2023-08-04T00:45:32.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T00:45:32.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T00:45:33.890Z] OK: 263 MiB in 53 packages [2023-08-04T00:45:34.865Z] Removing intermediate container 2b8a093f9ab5 [2023-08-04T00:45:34.865Z] ---> 6a32eacd4c16 [2023-08-04T00:45:34.865Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-04T00:45:35.454Z] ---> e92b7e474870 [2023-08-04T00:45:35.454Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T00:45:35.454Z] ---> Running in 73359e8d6173 [2023-08-04T00:46:43.338Z] Removing intermediate container 73359e8d6173 [2023-08-04T00:46:43.338Z] ---> f71f08a6d57b [2023-08-04T00:46:43.338Z] Step 9/10 : COPY . . [2023-08-04T00:46:43.338Z] ---> f40f810135d7 [2023-08-04T00:46:43.338Z] Step 10/10 : RUN ${MAKE} [2023-08-04T00:46:43.338Z] ---> Running in c206fad8ae88 [2023-08-04T00:46:43.338Z] noop [2023-08-04T00:46:43.338Z] Removing intermediate container c206fad8ae88 [2023-08-04T00:46:43.338Z] ---> 3e8ecffd96e9 [2023-08-04T00:46:43.338Z] Successfully built 3e8ecffd96e9 [2023-08-04T00:46:43.338Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:46:43.679Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T00:46:43.679Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:46:43.868Z] prd-ubuntu20.04-docker-arm64-4c-16g-2870 does not seem to be running inside a container [2023-08-04T00:46:43.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/238 -v /w/workspace/device-sdk-go/238:/w/workspace/device-sdk-go/238:rw,z -v /w/workspace/device-sdk-go/238@tmp:/w/workspace/device-sdk-go/238@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-08-04T00:46:45.033Z] $ docker top a573efcf9d852272ed2d728e725a1de8a95f18d5315b34b3db36b5260d591b93 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:46:45.831Z] + go version [2023-08-04T00:46:45.831Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-04T00:46:45.854Z] $ docker stop --time=1 a573efcf9d852272ed2d728e725a1de8a95f18d5315b34b3db36b5260d591b93 [2023-08-04T00:46:47.425Z] $ docker rm -f --volumes a573efcf9d852272ed2d728e725a1de8a95f18d5315b34b3db36b5260d591b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:46:47.955Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T00:46:47.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:46:48.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-2870 does not seem to be running inside a container [2023-08-04T00:46:48.177Z] $ 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/238 -v /w/workspace/device-sdk-go/238:/w/workspace/device-sdk-go/238:rw,z -v /w/workspace/device-sdk-go/238@tmp:/w/workspace/device-sdk-go/238@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-08-04T00:46:49.195Z] $ docker top 82d6fc159053988efd07810c1a9b0b2e75462d994cbcc7ebf0bfa37f9cfead83 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:46:49.677Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/238 [Pipeline] fileExists [Pipeline] sh [2023-08-04T00:46:50.007Z] + make test [2023-08-04T00:46:50.007Z] go test -race -coverprofile=coverage.out ./... [2023-08-04T00:47:36.868Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-04T00:50:13.574Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-04T00:50:13.574Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-04T00:50:13.574Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-04T00:50:13.574Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-04T00:50:13.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-04T00:50:20.229Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.243s coverage: 27.6% of statements [2023-08-04T00:50:26.886Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.304s coverage: 80.2% of statements [2023-08-04T00:50:41.907Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-04T00:50:41.907Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-04T00:50:42.495Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.420s coverage: 86.0% of statements [2023-08-04T00:50:50.734Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-04T00:50:50.734Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.605s coverage: 71.8% of statements [2023-08-04T00:50:54.075Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.291s coverage: 14.3% of statements [2023-08-04T00:50:57.424Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.003s coverage: 43.8% of statements [2023-08-04T00:50:57.424Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-04T00:50:57.424Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-04T00:50:57.424Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.429s coverage: 68.5% of statements [2023-08-04T00:51:00.767Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.439s coverage: 89.2% of statements [2023-08-04T00:51:03.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-04T00:51:03.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.270s coverage: 5.5% of statements [2023-08-04T00:51:04.330Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-04T00:51:04.330Z] GO111MODULE=on go vet ./... [2023-08-04T00:53:41.052Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T00:53:41.052Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T00:53:41.052Z] ./bin/test-attribution-txt.sh [2023-08-04T00:53:41.052Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T00:53:41.052Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T00:53:41.052Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T00:53:41.052Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T00:53:41.052Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T00:53:41.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T00:53:41.094Z] $ docker stop --time=1 82d6fc159053988efd07810c1a9b0b2e75462d994cbcc7ebf0bfa37f9cfead83 [2023-08-04T00:53:44.167Z] $ docker rm -f --volumes 82d6fc159053988efd07810c1a9b0b2e75462d994cbcc7ebf0bfa37f9cfead83 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T00:53:45.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T00:53:45.967Z] Warning: overwriting stash ‘coverage-report’ [2023-08-04T00:53:46.577Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T00:53:46.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T00:53:47.309Z] + ls -al . [2023-08-04T00:53:47.309Z] total 300 [2023-08-04T00:53:47.309Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 00:46 . [2023-08-04T00:53:47.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:44 .. [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 00:44 .dockerignore [2023-08-04T00:53:47.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 00:44 .git [2023-08-04T00:53:47.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:44 .github [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 00:44 .gitignore [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 00:44 .golangci.yml [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 00:44 CHANGELOG.md [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 00:44 GOVERNANCE.md [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 00:44 Jenkinsfile [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 00:44 LICENSE [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 00:44 Makefile [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 00:44 OWNERS.md [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 00:44 README.md [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 4 00:41 VERSION [2023-08-04T00:53:47.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:44 bin [2023-08-04T00:53:47.309Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 00:51 coverage.out [2023-08-04T00:53:47.309Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 00:44 example [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 00:44 go.mod [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 00:44 go.sum [2023-08-04T00:53:47.309Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:44 internal [2023-08-04T00:53:47.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 00:44 openapi [2023-08-04T00:53:47.309Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 00:44 pkg [2023-08-04T00:53:47.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:44 snap [2023-08-04T00:53:47.309Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 00:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:53:47.647Z] + 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=9643316300e59272a09f9c1d01562286ee215d0b --label arch=arm64 --label version=3.1.0-dev.9 . [2023-08-04T00:53:47.916Z] Sending build context to Docker daemon 6.005MB [2023-08-04T00:53:48.184Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T00:53:48.184Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-04T00:53:48.184Z] ---> 3e8ecffd96e9 [2023-08-04T00:53:48.184Z] Step 3/23 : ARG MAKE=make build [2023-08-04T00:53:48.184Z] ---> Running in c4cf7d4a5250 [2023-08-04T00:53:48.453Z] Removing intermediate container c4cf7d4a5250 [2023-08-04T00:53:48.453Z] ---> 81fddfa71075 [2023-08-04T00:53:48.453Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-04T00:53:48.721Z] ---> Running in b4a6d5e73d1b [2023-08-04T00:53:48.988Z] Removing intermediate container b4a6d5e73d1b [2023-08-04T00:53:48.988Z] ---> c4954ae9d8ba [2023-08-04T00:53:48.988Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-04T00:53:48.988Z] ---> Running in 76dfd989efca [2023-08-04T00:53:49.263Z] Removing intermediate container 76dfd989efca [2023-08-04T00:53:49.263Z] ---> 7e23b3977f08 [2023-08-04T00:53:49.263Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-04T00:53:49.533Z] ---> Running in af409a1c137e [2023-08-04T00:53:50.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T00:53:51.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T00:53:52.571Z] OK: 263 MiB in 53 packages [2023-08-04T00:53:53.168Z] Removing intermediate container af409a1c137e [2023-08-04T00:53:53.168Z] ---> 610888ee68dc [2023-08-04T00:53:53.168Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-04T00:53:53.769Z] ---> c042687d27c7 [2023-08-04T00:53:53.769Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T00:53:53.769Z] ---> Running in 85047d7e227c [2023-08-04T00:53:59.136Z] Removing intermediate container 85047d7e227c [2023-08-04T00:53:59.136Z] ---> 36185c21272e [2023-08-04T00:53:59.136Z] Step 9/23 : COPY . . [2023-08-04T00:53:59.722Z] ---> c3e0bba0cb4f [2023-08-04T00:53:59.722Z] Step 10/23 : RUN ${MAKE} [2023-08-04T00:53:59.992Z] ---> Running in fb0ddeec575d [2023-08-04T00:54:00.956Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.9" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-04T00:56:37.667Z] Removing intermediate container fb0ddeec575d [2023-08-04T00:56:37.667Z] ---> fa8cb2a4d4c7 [2023-08-04T00:56:37.668Z] Step 11/23 : FROM alpine:3.17 [2023-08-04T00:56:37.668Z] 3.17: Pulling from library/alpine [2023-08-04T00:56:37.668Z] edb6bdbacee9: Already exists [2023-08-04T00:56:37.668Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T00:56:37.668Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T00:56:37.668Z] ---> 779605e5fbc0 [2023-08-04T00:56:37.668Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-04T00:56:37.668Z] ---> Running in a72dc617c77f [2023-08-04T00:56:37.668Z] Removing intermediate container a72dc617c77f [2023-08-04T00:56:37.668Z] ---> 721c5f67efdb [2023-08-04T00:56:37.668Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-04T00:56:37.668Z] ---> Running in 4564f0b1e16d [2023-08-04T00:56:37.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T00:56:37.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T00:56:37.668Z] OK: 7 MiB in 15 packages [2023-08-04T00:56:37.668Z] Removing intermediate container 4564f0b1e16d [2023-08-04T00:56:37.668Z] ---> 3fffbcd3d9df [2023-08-04T00:56:37.668Z] Step 14/23 : WORKDIR / [2023-08-04T00:56:37.668Z] ---> Running in 9158a0312ac1 [2023-08-04T00:56:37.668Z] Removing intermediate container 9158a0312ac1 [2023-08-04T00:56:37.668Z] ---> ba10c24fffe0 [2023-08-04T00:56:37.668Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-04T00:56:37.668Z] ---> 43c12cd4c238 [2023-08-04T00:56:37.668Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-04T00:56:37.668Z] ---> 30bde6ca44fd [2023-08-04T00:56:37.668Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-04T00:56:37.668Z] ---> 706f7c49f863 [2023-08-04T00:56:37.668Z] Step 18/23 : EXPOSE 59999 [2023-08-04T00:56:37.668Z] ---> Running in 2ace1b1807e1 [2023-08-04T00:56:37.668Z] Removing intermediate container 2ace1b1807e1 [2023-08-04T00:56:37.668Z] ---> c66001ff5c9e [2023-08-04T00:56:37.668Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-04T00:56:37.668Z] ---> Running in 547cb96b27ce [2023-08-04T00:56:37.668Z] Removing intermediate container 547cb96b27ce [2023-08-04T00:56:37.668Z] ---> aff0469bb50e [2023-08-04T00:56:37.668Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T00:56:37.668Z] ---> Running in 49df5c92a763 [2023-08-04T00:56:37.668Z] Removing intermediate container 49df5c92a763 [2023-08-04T00:56:37.668Z] ---> a7db211642b4 [2023-08-04T00:56:37.668Z] Step 21/23 : LABEL arch=arm64 [2023-08-04T00:56:37.668Z] ---> Running in bc451371de60 [2023-08-04T00:56:37.668Z] Removing intermediate container bc451371de60 [2023-08-04T00:56:37.668Z] ---> e3fe0b4e1435 [2023-08-04T00:56:37.668Z] Step 22/23 : LABEL git_sha=9643316300e59272a09f9c1d01562286ee215d0b [2023-08-04T00:56:37.668Z] ---> Running in ba56f38e06f7 [2023-08-04T00:56:37.668Z] Removing intermediate container ba56f38e06f7 [2023-08-04T00:56:37.668Z] ---> 428ce25e125c [2023-08-04T00:56:37.668Z] Step 23/23 : LABEL version=3.1.0-dev.9 [2023-08-04T00:56:37.668Z] ---> Running in e9d1f2b08176 [2023-08-04T00:56:37.668Z] Removing intermediate container e9d1f2b08176 [2023-08-04T00:56:37.668Z] ---> 8957c6cd3896 [2023-08-04T00:56:37.668Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T00:56:37.668Z] Successfully built 8957c6cd3896 [2023-08-04T00:56:37.668Z] 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-08-04T00:56:38.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T00:56:38.100Z] [2023-08-04T00:56:38.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:56:38.430Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T00:56:38.431Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-04T00:56:38.431Z] 8998bd30e6a1: Pulling fs layer [2023-08-04T00:56:38.431Z] 04944245beec: Pulling fs layer [2023-08-04T00:56:38.431Z] 699f458cf7ca: Pulling fs layer [2023-08-04T00:56:38.431Z] 765212b225bb: Pulling fs layer [2023-08-04T00:56:38.431Z] f23df028b6ca: Pulling fs layer [2023-08-04T00:56:38.431Z] d65c8cfc05b1: Pulling fs layer [2023-08-04T00:56:38.431Z] 2437ff75d9bd: Pulling fs layer [2023-08-04T00:56:38.431Z] 765212b225bb: Waiting [2023-08-04T00:56:38.431Z] f23df028b6ca: Waiting [2023-08-04T00:56:38.431Z] d65c8cfc05b1: Waiting [2023-08-04T00:56:38.431Z] 2437ff75d9bd: Waiting [2023-08-04T00:56:38.701Z] 04944245beec: Verifying Checksum [2023-08-04T00:56:38.701Z] 04944245beec: Download complete [2023-08-04T00:56:38.701Z] 765212b225bb: Verifying Checksum [2023-08-04T00:56:38.701Z] 765212b225bb: Download complete [2023-08-04T00:56:38.701Z] f23df028b6ca: Verifying Checksum [2023-08-04T00:56:38.701Z] f23df028b6ca: Download complete [2023-08-04T00:56:38.701Z] d65c8cfc05b1: Verifying Checksum [2023-08-04T00:56:38.701Z] d65c8cfc05b1: Download complete [2023-08-04T00:56:38.701Z] 699f458cf7ca: Download complete [2023-08-04T00:56:39.282Z] 8998bd30e6a1: Verifying Checksum [2023-08-04T00:56:39.282Z] 8998bd30e6a1: Download complete [2023-08-04T00:56:41.220Z] 2437ff75d9bd: Verifying Checksum [2023-08-04T00:56:41.220Z] 2437ff75d9bd: Download complete [2023-08-04T00:56:42.623Z] 8998bd30e6a1: Pull complete [2023-08-04T00:56:43.205Z] 04944245beec: Pull complete [2023-08-04T00:56:44.611Z] 699f458cf7ca: Pull complete [2023-08-04T00:56:44.611Z] 765212b225bb: Pull complete [2023-08-04T00:56:45.196Z] f23df028b6ca: Pull complete [2023-08-04T00:56:45.462Z] d65c8cfc05b1: Pull complete [2023-08-04T00:57:00.469Z] 2437ff75d9bd: Pull complete [2023-08-04T00:57:00.469Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-04T00:57:00.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T00:57:00.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:57:00.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-2870 does not seem to be running inside a container [2023-08-04T00:57:00.723Z] $ 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/238 -v /w/workspace/device-sdk-go/238:/w/workspace/device-sdk-go/238:rw,z -v /w/workspace/device-sdk-go/238@tmp:/w/workspace/device-sdk-go/238@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-08-04T00:57:03.292Z] $ docker top ab54ecc1ae2daa2d3955bf31594dc2072be8af2cf6116ae8a15dbd0d13cff19f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:57:03.801Z] ---> job-cost.sh [2023-08-04T00:57:04.067Z] lf-activate-venv: SKIPPING [2023-08-04T00:57:04.067Z] INFO: No Stack... [2023-08-04T00:57:04.649Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-04T00:57:05.232Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T00:57:05.552Z] + cat /w/workspace/device-sdk-go/238/archives/cost.csv [2023-08-04T00:57:05.552Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T00:57:05.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [2023-08-04T00:57:05.891Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] did not exist. Created. [2023-08-04T00:57:05.892Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T00:57:06.549Z] /w/workspace/device-sdk-go/238@tmp/durable-0f1ef6b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-04T00:57:06.885Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-04T00:57:06.909Z] Warning: overwriting stash ‘stack-cost’ [2023-08-04T00:57:06.993Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T00:57:07.002Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T00:57:07.027Z] $ docker stop --time=1 ab54ecc1ae2daa2d3955bf31594dc2072be8af2cf6116ae8a15dbd0d13cff19f [2023-08-04T00:57:10.134Z] $ docker rm -f --volumes ab54ecc1ae2daa2d3955bf31594dc2072be8af2cf6116ae8a15dbd0d13cff19f [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-08-04T00:57:10.564Z] provisioning config files... [2023-08-04T00:57:10.571Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14624988270140436914tmp [Pipeline] { [Pipeline] sh [2023-08-04T00:57:10.866Z] + set +x [2023-08-04T00:57:10.866Z] + curl -s https://codecov.io/bash [2023-08-04T00:57:10.866Z] + bash -s -- [2023-08-04T00:57:10.866Z] [2023-08-04T00:57:10.866Z] _____ _ [2023-08-04T00:57:10.866Z] / ____| | | [2023-08-04T00:57:10.866Z] | | ___ __| | ___ ___ _____ __ [2023-08-04T00:57:10.866Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-04T00:57:10.866Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-04T00:57:10.866Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-04T00:57:10.866Z] Bash-1.0.6 [2023-08-04T00:57:10.866Z] [2023-08-04T00:57:10.866Z] [2023-08-04T00:57:10.866Z] ==> git version 2.25.1 found [2023-08-04T00:57:10.867Z] ==> 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-08-04T00:57:10.867Z] Release-Date: 2020-01-08 [2023-08-04T00:57:10.867Z] 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-08-04T00:57:10.867Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-04T00:57:10.867Z] ==> Jenkins CI detected. [2023-08-04T00:57:10.867Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-04T00:57:10.867Z] project root: . [2023-08-04T00:57:10.867Z] --> token set from env [2023-08-04T00:57:10.867Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-04T00:57:10.867Z] ==> Running gcov in . (disable via -X gcov) [2023-08-04T00:57:10.867Z] ==> Python coveragepy not found [2023-08-04T00:57:10.867Z] ==> Searching for coverage reports in: [2023-08-04T00:57:10.867Z] + . [2023-08-04T00:57:11.126Z] -> Found 1 reports [2023-08-04T00:57:11.126Z] ==> Detecting git/mercurial file structure [2023-08-04T00:57:11.126Z] ==> Reading reports [2023-08-04T00:57:11.126Z] + ./coverage.out bytes=120271 [2023-08-04T00:57:11.126Z] ==> Appending adjustments [2023-08-04T00:57:11.126Z] https://docs.codecov.io/docs/fixing-reports [2023-08-04T00:57:11.384Z] + Found adjustments [2023-08-04T00:57:11.384Z] ==> Gzipping contents [2023-08-04T00:57:11.384Z] 20K /tmp/codecov.m9WwjJ.gz [2023-08-04T00:57:11.384Z] ==> Uploading reports [2023-08-04T00:57:11.384Z] url: https://codecov.io [2023-08-04T00:57:11.384Z] query: branch=main&commit=9643316300e59272a09f9c1d01562286ee215d0b&build=238&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F238%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-04T00:57:11.384Z] -> Pinging Codecov [2023-08-04T00:57:11.384Z] 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=9643316300e59272a09f9c1d01562286ee215d0b&build=238&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F238%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-04T00:57:11.384Z] -> Uploading to [2023-08-04T00:57:11.384Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-04/7E55EF52A471D76F132DFD9A03CDDE97/9643316300e59272a09f9c1d01562286ee215d0b/8b1e265f-0355-4fac-8ccb-c50a130bee64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230804T005711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7688435a1e91e74af156f366e694df6bdd63e0a06cb5b8e44b454aed8c393f8 [2023-08-04T00:57:11.384Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T00:57:11.384Z] Dload Upload Total Spent Left Speed [2023-08-04T00:57:11.643Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16434 0 0 100 16434 0 79776 --:--:-- --:--:-- --:--:-- 79776 [2023-08-04T00:57:11.643Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] } [2023-08-04T00:57:11.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-04T00:57:11.860Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-04T00:57:11.869Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:57:12.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T00:57:12.162Z] [2023-08-04T00:57:12.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:57:12.463Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T00:57:12.463Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-04T00:57:12.463Z] df9b9388f04a: Pulling fs layer [2023-08-04T00:57:12.463Z] 52dc419b0ee2: Pulling fs layer [2023-08-04T00:57:12.463Z] 25bc292e5bac: Pulling fs layer [2023-08-04T00:57:12.463Z] 114826534d7a: Pulling fs layer [2023-08-04T00:57:12.463Z] 4657fd5d0bcf: Pulling fs layer [2023-08-04T00:57:12.463Z] 114826534d7a: Waiting [2023-08-04T00:57:12.463Z] 6ad1cebc031e: Pulling fs layer [2023-08-04T00:57:12.463Z] 4657fd5d0bcf: Waiting [2023-08-04T00:57:12.463Z] 8a3aa393b2d8: Pulling fs layer [2023-08-04T00:57:12.463Z] 6ad1cebc031e: Waiting [2023-08-04T00:57:12.463Z] 8a3aa393b2d8: Waiting [2023-08-04T00:57:12.463Z] 25bc292e5bac: Download complete [2023-08-04T00:57:12.463Z] 52dc419b0ee2: Download complete [2023-08-04T00:57:12.464Z] 4657fd5d0bcf: Verifying Checksum [2023-08-04T00:57:12.464Z] 4657fd5d0bcf: Download complete [2023-08-04T00:57:12.760Z] df9b9388f04a: Pull complete [2023-08-04T00:57:12.760Z] 6ad1cebc031e: Verifying Checksum [2023-08-04T00:57:12.760Z] 6ad1cebc031e: Download complete [2023-08-04T00:57:12.760Z] 52dc419b0ee2: Pull complete [2023-08-04T00:57:13.034Z] 25bc292e5bac: Pull complete [2023-08-04T00:57:13.603Z] 114826534d7a: Verifying Checksum [2023-08-04T00:57:13.603Z] 114826534d7a: Download complete [2023-08-04T00:57:13.603Z] 8a3aa393b2d8: Verifying Checksum [2023-08-04T00:57:13.603Z] 8a3aa393b2d8: Download complete [2023-08-04T00:57:17.791Z] 114826534d7a: Pull complete [2023-08-04T00:57:17.791Z] 4657fd5d0bcf: Pull complete [2023-08-04T00:57:17.791Z] 6ad1cebc031e: Pull complete [2023-08-04T00:57:20.330Z] 8a3aa393b2d8: Pull complete [2023-08-04T00:57:20.330Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-04T00:57:20.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-04T00:57:20.330Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:57:20.422Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:57:20.470Z] $ 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-08-04T00:57:27.690Z] $ docker top 75b9eec6fb32b120069705b7c8b9d6ad0f9bde1a12966fc977f7263404d74f3f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-04T00:57:27.760Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-08-04T00:57:28.040Z] + set -o pipefail [2023-08-04T00:57:28.040Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-08-04T00:57:36.166Z] [2023-08-04T00:57:36.166Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-08-04T00:57:36.166Z] [2023-08-04T00:57:36.166Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/36d25522-0cdf-458d-81ae-1defcb7fdf98 [2023-08-04T00:57:36.166Z] [2023-08-04T00:57:36.166Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-04T00:57:36.166Z] [2023-08-04T00:57:36.166Z] [2023-08-04T00:57:36.166Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-04T00:57:36.166Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-04T00:57:36.166Z] More details here: https://snyk.co/ue1NS [2023-08-04T00:57:36.166Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-04T00:57:36.166Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-04T00:57:36.185Z] $ docker stop --time=1 75b9eec6fb32b120069705b7c8b9d6ad0f9bde1a12966fc977f7263404d74f3f [2023-08-04T00:57:46.711Z] $ docker rm -f --volumes 75b9eec6fb32b120069705b7c8b9d6ad0f9bde1a12966fc977f7263404d74f3f [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-08-04T00:57:47.305Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:57:47.315Z] provisioning config files... [2023-08-04T00:57:47.321Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4291110418684336916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:57:47.609Z] --> edgex-publish-swagger.sh [2023-08-04T00:57:47.609Z] === Publish openapi/v3 API === [2023-08-04T00:57:47.609Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-08-04T00:57:47.609Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-08-04T00:57:47.609Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T00:57:47.609Z] Dload Upload Total Spent Left Speed [2023-08-04T00:57:48.178Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 98232 --:--:-- --:--:-- --:--:-- 97826 100 23674 0 0 100 23674 0 46972 --:--:-- --:--:-- --:--:-- 46879 [2023-08-04T00:57:48.178Z] [2023-08-04T00:57:48.178Z] [Pipeline] } [2023-08-04T00:57:48.185Z] 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-08-04T00:57:48.556Z] + git log --format=format:%s -1 9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] sh [2023-08-04T00:57:48.849Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T00:57:48.850Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:57:49.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:57:49.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:57:49.223Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:57:49.260Z] $ 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-08-04T00:57:50.380Z] $ docker top 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef -eo pid,comm [2023-08-04T00:57:50.425Z] 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-08-04T00:57:50.425Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T00:57:50.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T00:57:50.463Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T00:57:50.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T00:57:50.608Z] $ docker exec 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef ssh-agent [2023-08-04T00:57:50.709Z] SSH_AUTH_SOCK=/tmp/ssh-YNwBnUit5qak/agent.14 [2023-08-04T00:57:50.709Z] SSH_AGENT_PID=20 [2023-08-04T00:57:50.714Z] Running ssh-add (command line suppressed) [2023-08-04T00:57:50.815Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_82196914192817042.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_82196914192817042.key) [2023-08-04T00:57:50.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T00:57:51.108Z] + git semver tag [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,339 [run_tag] DEBUG tag force:False [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,339 [check_head_tag] DEBUG check head tag [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,341 [execute] INFO git cat-file --batch-check [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,347 [execute] INFO git cat-file --batch [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,360 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,360 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,361 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-04T00:57:51.368Z] 2023-08-04 00:57:51,366 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:57:51.368Z] 3.1.0-dev.9 [Pipeline] } [2023-08-04T00:57:51.642Z] $ docker exec --env ******** --env ******** 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef ssh-agent -k [2023-08-04T00:57:51.753Z] unset SSH_AUTH_SOCK; [2023-08-04T00:57:51.753Z] unset SSH_AGENT_PID; [2023-08-04T00:57:51.753Z] echo Agent pid 20 killed; [2023-08-04T00:57:51.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T00:57:52.062Z] + git semver [Pipeline] } [2023-08-04T00:57:52.341Z] $ docker stop --time=1 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef [2023-08-04T00:57:53.624Z] $ docker rm -f --volumes 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:57:54.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T00:57:54.012Z] [2023-08-04T00:57:54.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:57:54.316Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T00:57:54.316Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-04T00:57:54.316Z] ab5ef0e58194: Pulling fs layer [2023-08-04T00:57:54.316Z] 9712f1f96733: Pulling fs layer [2023-08-04T00:57:54.316Z] 63f879dbbcfc: Pulling fs layer [2023-08-04T00:57:54.316Z] 0d9ebad4ef96: Pulling fs layer [2023-08-04T00:57:54.316Z] e9a5061849ea: Pulling fs layer [2023-08-04T00:57:54.316Z] d747dcd14b5f: Pulling fs layer [2023-08-04T00:57:54.316Z] 2de7ff778b66: Pulling fs layer [2023-08-04T00:57:54.316Z] 0d9ebad4ef96: Waiting [2023-08-04T00:57:54.316Z] e9a5061849ea: Waiting [2023-08-04T00:57:54.316Z] 2de7ff778b66: Waiting [2023-08-04T00:57:54.316Z] 9712f1f96733: Download complete [2023-08-04T00:57:54.582Z] 63f879dbbcfc: Verifying Checksum [2023-08-04T00:57:54.582Z] 63f879dbbcfc: Download complete [2023-08-04T00:57:54.841Z] 0d9ebad4ef96: Verifying Checksum [2023-08-04T00:57:54.841Z] 0d9ebad4ef96: Download complete [2023-08-04T00:57:54.841Z] ab5ef0e58194: Verifying Checksum [2023-08-04T00:57:54.841Z] ab5ef0e58194: Download complete [2023-08-04T00:57:55.099Z] e9a5061849ea: Verifying Checksum [2023-08-04T00:57:55.099Z] e9a5061849ea: Download complete [2023-08-04T00:57:55.099Z] d747dcd14b5f: Verifying Checksum [2023-08-04T00:57:55.099Z] d747dcd14b5f: Download complete [2023-08-04T00:57:55.099Z] 2de7ff778b66: Verifying Checksum [2023-08-04T00:57:55.099Z] 2de7ff778b66: Download complete [2023-08-04T00:57:58.385Z] ab5ef0e58194: Pull complete [2023-08-04T00:57:58.385Z] 9712f1f96733: Pull complete [2023-08-04T00:57:58.950Z] 63f879dbbcfc: Pull complete [2023-08-04T00:58:03.132Z] 0d9ebad4ef96: Pull complete [2023-08-04T00:58:03.132Z] e9a5061849ea: Pull complete [2023-08-04T00:58:03.132Z] d747dcd14b5f: Pull complete [2023-08-04T00:58:04.065Z] 2de7ff778b66: Pull complete [2023-08-04T00:58:04.065Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-04T00:58:04.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-04T00:58:04.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:58:04.159Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:58:04.193Z] $ 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-08-04T00:58:10.777Z] $ docker top 7ca74ca3ba294b93f5382cdeff9963617c53cfd0d35865fdcffc7b4acd12ae0b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:58:10.840Z] provisioning config files... [2023-08-04T00:58:10.846Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18065141426300953334tmp [2023-08-04T00:58:10.856Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14877076670697839952tmp [2023-08-04T00:58:10.865Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9430030911103284426tmp [Pipeline] { [Pipeline] echo [2023-08-04T00:58:10.880Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:11.163Z] ---> sigul-configuration.sh [2023-08-04T00:58:11.163Z] gpg: directory `/root/.gnupg' created [2023-08-04T00:58:11.163Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-04T00:58:11.163Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-04T00:58:11.163Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-04T00:58:11.163Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-04T00:58:11.163Z] gpg: CAST5 encrypted data [2023-08-04T00:58:11.163Z] gpg: encrypted with 1 passphrase [2023-08-04T00:58:11.163Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-04T00:58:11.450Z] + mkdir /home/jenkins [2023-08-04T00:58:11.450Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-04T00:58:11.736Z] + 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-08-04T00:58:11.744Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:12.028Z] ---> sigul-install.sh [2023-08-04T00:58:12.028Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-04T00:58:12.312Z] + git tag --list [2023-08-04T00:58:12.313Z] 0.7.1 [2023-08-04T00:58:12.313Z] delhi-tag [2023-08-04T00:58:12.313Z] v1.0.0 [2023-08-04T00:58:12.313Z] v1.1.0 [2023-08-04T00:58:12.313Z] v1.1.1 [2023-08-04T00:58:12.313Z] v1.1.2 [2023-08-04T00:58:12.313Z] v1.2.0 [2023-08-04T00:58:12.313Z] v1.2.1 [2023-08-04T00:58:12.313Z] v1.2.2 [2023-08-04T00:58:12.313Z] v1.2.3 [2023-08-04T00:58:12.313Z] v1.3.0 [2023-08-04T00:58:12.313Z] v1.4.0 [2023-08-04T00:58:12.313Z] v2.0.0 [2023-08-04T00:58:12.313Z] v2.1.0 [2023-08-04T00:58:12.313Z] v2.1.1 [2023-08-04T00:58:12.313Z] v2.2.0 [2023-08-04T00:58:12.313Z] v2.3.0 [2023-08-04T00:58:12.313Z] v2.3.1 [2023-08-04T00:58:12.313Z] v3.0 [2023-08-04T00:58:12.313Z] v3.0.0 [2023-08-04T00:58:12.313Z] v3.0.1-dev.1 [2023-08-04T00:58:12.313Z] v3.1.0-dev.1 [2023-08-04T00:58:12.313Z] v3.1.0-dev.2 [2023-08-04T00:58:12.313Z] v3.1.0-dev.3 [2023-08-04T00:58:12.313Z] v3.1.0-dev.4 [2023-08-04T00:58:12.313Z] v3.1.0-dev.5 [2023-08-04T00:58:12.313Z] v3.1.0-dev.6 [2023-08-04T00:58:12.313Z] v3.1.0-dev.7 [2023-08-04T00:58:12.313Z] v3.1.0-dev.8 [2023-08-04T00:58:12.313Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-04T00:58:12.599Z] + lftools sign git-tag v3.1.0-dev.9 [2023-08-04T00:58:13.167Z] Signing Git tag with Sigul... [2023-08-04T00:58:13.167Z] Signing v3.1.0-dev.9 [Pipeline] echo [2023-08-04T00:58:13.434Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:13.715Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-04T00:58:13.722Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-04T00:58:13.754Z] $ docker stop --time=1 7ca74ca3ba294b93f5382cdeff9963617c53cfd0d35865fdcffc7b4acd12ae0b [2023-08-04T00:58:15.017Z] $ docker rm -f --volumes 7ca74ca3ba294b93f5382cdeff9963617c53cfd0d35865fdcffc7b4acd12ae0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-04T00:58:15.424Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T00:58:15.424Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:58:15.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:58:15.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:58:15.796Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:58:15.832Z] $ 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-08-04T00:58:16.189Z] $ docker top 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T00:58:16.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T00:58:16.270Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T00:58:16.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T00:58:16.394Z] $ docker exec 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c ssh-agent [2023-08-04T00:58:16.498Z] SSH_AUTH_SOCK=/tmp/ssh-iHuc6ejRrTm6/agent.32 [2023-08-04T00:58:16.498Z] SSH_AGENT_PID=38 [2023-08-04T00:58:16.503Z] Running ssh-add (command line suppressed) [2023-08-04T00:58:16.611Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7679176657509118302.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7679176657509118302.key) [2023-08-04T00:58:16.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T00:58:16.908Z] + git semver bump pre [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,152 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,152 [bump_version] DEBUG bumped version:3.1.0-dev.10 [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,152 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,153 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,156 [execute] INFO git cat-file --batch-check [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,157 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,161 [execute] INFO git cat-file --batch [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T00:58:17.167Z] 2023-08-04 00:58:17,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:58:17.167Z] 3.1.0-dev.10 [Pipeline] } [2023-08-04T00:58:17.440Z] $ docker exec --env ******** --env ******** 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c ssh-agent -k [2023-08-04T00:58:17.537Z] unset SSH_AUTH_SOCK; [2023-08-04T00:58:17.538Z] unset SSH_AGENT_PID; [2023-08-04T00:58:17.538Z] echo Agent pid 38 killed; [2023-08-04T00:58:17.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T00:58:17.856Z] + git semver [Pipeline] } [2023-08-04T00:58:18.133Z] $ docker stop --time=1 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c [2023-08-04T00:58:19.796Z] $ docker rm -f --volumes 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T00:58:20.178Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T00:58:20.178Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:58:20.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T00:58:20.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:58:20.556Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:58:20.597Z] $ 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-08-04T00:58:20.941Z] $ docker top c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 -eo pid,comm [2023-08-04T00:58:20.980Z] 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-08-04T00:58:20.980Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T00:58:21.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T00:58:21.013Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T00:58:21.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T00:58:21.141Z] $ docker exec c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 ssh-agent [2023-08-04T00:58:21.252Z] SSH_AUTH_SOCK=/tmp/ssh-XJc4tXGSIM9j/agent.33 [2023-08-04T00:58:21.252Z] SSH_AGENT_PID=39 [2023-08-04T00:58:21.257Z] Running ssh-add (command line suppressed) [2023-08-04T00:58:21.362Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16259956493716222645.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16259956493716222645.key) [2023-08-04T00:58:21.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T00:58:21.658Z] + git semver push [2023-08-04T00:58:21.923Z] 2023-08-04 00:58:21,856 [run_push] DEBUG push [2023-08-04T00:58:21.923Z] 2023-08-04 00:58:21,857 [execute] INFO git cat-file --batch-check [2023-08-04T00:58:21.923Z] 2023-08-04 00:58:21,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T00:58:21.923Z] 2023-08-04 00:58:21,861 [execute] INFO git rev-list 83a0b6233bf3e11c804dc53056c4b68fc1af8ff7 -- [2023-08-04T00:58:21.923Z] 2023-08-04 00:58:21,861 [execute] DEBUG Popen(['git', 'rev-list', '83a0b6233bf3e11c804dc53056c4b68fc1af8ff7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-04T00:58:21.923Z] 2023-08-04 00:58:21,871 [execute] INFO git fetch -v origin [2023-08-04T00:58:21.923Z] 2023-08-04 00:58:21,872 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-04T00:58:22.493Z] 2023-08-04 00:58:22,446 [run_push] DEBUG no remote changes detected [2023-08-04T00:58:22.493Z] 2023-08-04 00:58:22,447 [execute] INFO git push origin semver [2023-08-04T00:58:22.493Z] 2023-08-04 00:58:22,447 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-04T00:58:23.433Z] 2023-08-04 00:58:23,312 [run_push] DEBUG push all version tags [2023-08-04T00:58:23.433Z] 2023-08-04 00:58:23,313 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-04T00:58:23.433Z] 2023-08-04 00:58:23,313 [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-08-04T00:58:24.372Z] 2023-08-04 00:58:24,142 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-04T00:58:24.372Z] 3.1.0-dev.10 [Pipeline] } [2023-08-04T00:58:24.388Z] $ docker exec --env ******** --env ******** c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 ssh-agent -k [2023-08-04T00:58:24.495Z] unset SSH_AUTH_SOCK; [2023-08-04T00:58:24.495Z] unset SSH_AGENT_PID; [2023-08-04T00:58:24.495Z] echo Agent pid 39 killed; [2023-08-04T00:58:24.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T00:58:24.815Z] + git semver [Pipeline] } [2023-08-04T00:58:25.093Z] $ docker stop --time=1 c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 [2023-08-04T00:58:26.389Z] $ docker rm -f --volumes c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 [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-08-04T00:58:26.960Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-08-04T00:58:26.960Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-04T00:58:26.960Z] total 16 [2023-08-04T00:58:26.960Z] drwxr-xr-x 3 root root 4096 Aug 4 00:44 . [2023-08-04T00:58:26.960Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:58 .. [2023-08-04T00:58:26.960Z] drwxr-xr-x 2 root root 4096 Aug 4 00:44 cost [2023-08-04T00:58:26.960Z] -rw-r--r-- 1 root root 85 Aug 4 00:44 cost.csv [2023-08-04T00:58:26.960Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-04T00:58:26.960Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-04T00:58:26.960Z] total 16 [2023-08-04T00:58:26.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 00:44 . [2023-08-04T00:58:26.960Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:58 .. [2023-08-04T00:58:26.960Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 00:44 cost [2023-08-04T00:58:26.960Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 4 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:27.242Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:28.096Z] ---> package-listing.sh [2023-08-04T00:58:28.096Z] ++ facter osfamily [2023-08-04T00:58:28.096Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-04T00:58:28.355Z] + OS_FAMILY=debian [2023-08-04T00:58:28.355Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-08-04T00:58:28.355Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-04T00:58:28.355Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-04T00:58:28.355Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-04T00:58:28.355Z] + PACKAGES=/tmp/packages_start.txt [2023-08-04T00:58:28.355Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-04T00:58:28.355Z] + PACKAGES=/tmp/packages_end.txt [2023-08-04T00:58:28.355Z] + case "${OS_FAMILY}" in [2023-08-04T00:58:28.355Z] + dpkg -l [2023-08-04T00:58:28.355Z] + grep '^ii' [2023-08-04T00:58:28.355Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-04T00:58:28.355Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-04T00:58:28.355Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-04T00:58:28.355Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-04T00:58:28.355Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-08-04T00:58:28.355Z] + 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-08-04T00:58:28.364Z] 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-08-04T00:58:28.639Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T00:58:29.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T00:58:29.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T00:58:29.372Z] prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container [2023-08-04T00:58:29.465Z] $ 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-08-04T00:58:29.677Z] $ docker top 47c7a5a69d3938274554488ba7e22a6104a18c34bbccfcbe92309e34f58661c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T00:58:30.015Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-04T00:58:30.302Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-04T00:58:30.587Z] + ls /var/log/sa-host [2023-08-04T00:58:30.587Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T00:58:30.668Z] provisioning config files... [2023-08-04T00:58:30.676Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10886222772296802308tmp [Pipeline] { [Pipeline] echo [2023-08-04T00:58:30.686Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:30.972Z] ---> create-netrc.sh [Pipeline] } [2023-08-04T00:58:30.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:31.308Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-04T00:58:31.317Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:31.604Z] ---> sudo-logs.sh [2023-08-04T00:58:31.604Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-04T00:58:31.629Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:31.906Z] ---> job-cost.sh [2023-08-04T00:58:31.906Z] lf-activate-venv: SKIPPING [2023-08-04T00:58:31.906Z] DEBUG: total: 0.2199999988079071 [2023-08-04T00:58:31.906Z] INFO: Retrieving Stack Cost... [2023-08-04T00:58:32.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T00:58:32.732Z] INFO: Archiving Costs [Pipeline] echo [2023-08-04T00:58:32.746Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T00:58:33.027Z] ---> logs-deploy.sh [2023-08-04T00:58:33.027Z] lf-activate-venv: SKIPPING [2023-08-04T00:58:33.027Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/238 [2023-08-04T00:58:33.027Z] INFO: archiving workspace using pattern(s): [2023-08-04T00:58:33.965Z] Archives upload complete. [2023-08-04T00:58:34.225Z] INFO: archiving logs to Nexus