Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 349d442d4da267b0cf06bf856b10c4b1ed668afd 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-ssh7296614808515749007.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-ssh5192414645548496181.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-ssh8385127837537736555.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-ssh3064844461907818066.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-ssh16673725054815362350.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1135’ Running on prd-ubuntu20.04-docker-8c-8g-1137 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 349d442d4da267b0cf06bf856b10c4b1ed668afd (main) Commit message: "Merge pull request #1476 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.5" > git config core.sparsecheckout # timeout=10 > git checkout -f 349d442d4da267b0cf06bf856b10c4b1ed668afd # timeout=10 > git rev-list --no-walk 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-14T07:02:29.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-14T07:02:29.290Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-14T07:02:29.307Z] ========================================================= [2023-07-14T07:02:29.308Z] EdgeX Global Pipelines Version Info [2023-07-14T07:02:29.308Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:02:31.151Z] ------------------- [2023-07-14T07:02:31.151Z] stable info: [2023-07-14T07:02:31.151Z] ------------------- [2023-07-14T07:02:31.151Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-14T07:02:31.151Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-14T07:02:31.151Z] Message: update stable to v1.0.250 [2023-07-14T07:02:31.724Z] ------------------- [2023-07-14T07:02:31.724Z] experimental info: [2023-07-14T07:02:31.724Z] ------------------- [2023-07-14T07:02:31.724Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-14T07:02:31.724Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-14T07:02:31.724Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-14T07:02:31.897Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-14T07:02:31.913Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-14T07:02:31.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-14T07:02:31.950Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-14T07:02:31.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-14T07:02:31.987Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-14T07:02:32.002Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-14T07:02:32.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-14T07:02:32.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-14T07:02:32.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-14T07:02:32.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-14T07:02:32.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-14T07:02:32.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-14T07:02:32.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-14T07:02:32.143Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-14T07:02:32.157Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T07:02:32.177Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T07:02:32.192Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T07:02:32.211Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-14T07:02:32.222Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-14T07:02:32.232Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-14T07:02:32.242Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-14T07:02:32.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-14T07:02:32.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-14T07:02:32.282Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-14T07:02:32.301Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-14T07:02:32.318Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-14T07:02:32.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-14T07:02:32.348Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-14T07:02:32.371Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-14T07:02:32.391Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 349d442d4da267b0cf06bf856b10c4b1ed668afd [Pipeline] echo [2023-07-14T07:02:32.406Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 349d442 [Pipeline] echo [2023-07-14T07:02:32.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T07:02:32.470Z] provisioning config files... [2023-07-14T07:02:32.485Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13184623633677561773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:02:32.783Z] ---> docker-login.sh [2023-07-14T07:02:32.783Z] nexus3.edgexfoundry.org:10001 [2023-07-14T07:02:33.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:33.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:33.043Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:33.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:33.043Z] [2023-07-14T07:02:33.043Z] Login Succeeded [2023-07-14T07:02:33.043Z] nexus3.edgexfoundry.org:10002 [2023-07-14T07:02:33.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:33.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:33.043Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:33.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:33.043Z] [2023-07-14T07:02:33.043Z] Login Succeeded [2023-07-14T07:02:33.043Z] nexus3.edgexfoundry.org:10003 [2023-07-14T07:02:33.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:33.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:33.302Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:33.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:33.302Z] [2023-07-14T07:02:33.302Z] Login Succeeded [2023-07-14T07:02:33.302Z] nexus3.edgexfoundry.org:10004 [2023-07-14T07:02:33.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:33.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:33.302Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:33.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:33.302Z] [2023-07-14T07:02:33.302Z] Login Succeeded [2023-07-14T07:02:33.302Z] docker.io [2023-07-14T07:02:33.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:33.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:33.871Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:33.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:33.871Z] [2023-07-14T07:02:33.871Z] Login Succeeded [2023-07-14T07:02:33.871Z] ---> docker-login.sh ends [Pipeline] } [2023-07-14T07:02:33.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-14T07:02:34.255Z] + git rev-list -1 --merges 349d442d4da267b0cf06bf856b10c4b1ed668afd~1..349d442d4da267b0cf06bf856b10c4b1ed668afd [Pipeline] echo [2023-07-14T07:02:34.301Z] -----------> git rev-list -1 --merges 349d442d4da267b0cf06bf856b10c4b1ed668afd~1..349d442d4da267b0cf06bf856b10c4b1ed668afd 349d442d4da267b0cf06bf856b10c4b1ed668afd [2023-07-14T07:02:34.301Z] 349d442d4da267b0cf06bf856b10c4b1ed668afd [false] [Pipeline] sh [2023-07-14T07:02:34.588Z] + git log --format=format:%s -1 349d442d4da267b0cf06bf856b10c4b1ed668afd [Pipeline] echo [2023-07-14T07:02:34.602Z] ========================================================= [2023-07-14T07:02:34.602Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-14T07:02:34.602Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-14T07:02:34.931Z] + git log --format=format:%s -1 349d442d4da267b0cf06bf856b10c4b1ed668afd [Pipeline] echo [2023-07-14T07:02:34.943Z] [semverPrep] GIT_COMMIT: 349d442d4da267b0cf06bf856b10c4b1ed668afd, Commit Message: Merge pull request #1476 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.5 [Pipeline] echo [2023-07-14T07:02:34.948Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-14T07:02:35.331Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-14T07:02:35.331Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-14T07:02:35.331Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-14T07:02:35.331Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-14T07:02:35.331Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-14T07:02:35.331Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-14T07:02:35.332Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:02:35.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T07:02:35.756Z] [2023-07-14T07:02:35.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:02:36.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T07:02:36.052Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-14T07:02:36.052Z] b85a868b505f: Pulling fs layer [2023-07-14T07:02:36.052Z] e2be974225ed: Pulling fs layer [2023-07-14T07:02:36.052Z] 339a4e72a1f5: Pulling fs layer [2023-07-14T07:02:36.052Z] 988bab9f4d93: Pulling fs layer [2023-07-14T07:02:36.052Z] 1469e6f7b9e6: Pulling fs layer [2023-07-14T07:02:36.052Z] eaf3925da568: Pulling fs layer [2023-07-14T07:02:36.052Z] bab4dde63d76: Pulling fs layer [2023-07-14T07:02:36.052Z] bde34c3a00c8: Pulling fs layer [2023-07-14T07:02:36.052Z] b352a97aabf1: Pulling fs layer [2023-07-14T07:02:36.052Z] 4872d77fe225: Pulling fs layer [2023-07-14T07:02:36.052Z] 5851b861e8e6: Pulling fs layer [2023-07-14T07:02:36.052Z] bde34c3a00c8: Waiting [2023-07-14T07:02:36.052Z] 4872d77fe225: Waiting [2023-07-14T07:02:36.052Z] b352a97aabf1: Waiting [2023-07-14T07:02:36.052Z] 988bab9f4d93: Waiting [2023-07-14T07:02:36.052Z] 5851b861e8e6: Waiting [2023-07-14T07:02:36.052Z] 1469e6f7b9e6: Waiting [2023-07-14T07:02:36.052Z] eaf3925da568: Waiting [2023-07-14T07:02:36.052Z] bab4dde63d76: Waiting [2023-07-14T07:02:36.052Z] e2be974225ed: Download complete [2023-07-14T07:02:36.052Z] 988bab9f4d93: Verifying Checksum [2023-07-14T07:02:36.052Z] 988bab9f4d93: Download complete [2023-07-14T07:02:36.311Z] 1469e6f7b9e6: Verifying Checksum [2023-07-14T07:02:36.311Z] 1469e6f7b9e6: Download complete [2023-07-14T07:02:36.311Z] eaf3925da568: Download complete [2023-07-14T07:02:36.311Z] 339a4e72a1f5: Verifying Checksum [2023-07-14T07:02:36.311Z] 339a4e72a1f5: Download complete [2023-07-14T07:02:36.311Z] bde34c3a00c8: Download complete [2023-07-14T07:02:36.311Z] b352a97aabf1: Verifying Checksum [2023-07-14T07:02:36.311Z] b352a97aabf1: Download complete [2023-07-14T07:02:36.311Z] 4872d77fe225: Download complete [2023-07-14T07:02:36.311Z] 5851b861e8e6: Verifying Checksum [2023-07-14T07:02:36.311Z] 5851b861e8e6: Download complete [2023-07-14T07:02:36.311Z] b85a868b505f: Verifying Checksum [2023-07-14T07:02:36.311Z] b85a868b505f: Download complete [2023-07-14T07:02:36.569Z] bab4dde63d76: Verifying Checksum [2023-07-14T07:02:36.569Z] bab4dde63d76: Download complete [2023-07-14T07:02:37.506Z] b85a868b505f: Pull complete [2023-07-14T07:02:37.506Z] e2be974225ed: Pull complete [2023-07-14T07:02:38.072Z] 339a4e72a1f5: Pull complete [2023-07-14T07:02:38.072Z] 988bab9f4d93: Pull complete [2023-07-14T07:02:38.329Z] 1469e6f7b9e6: Pull complete [2023-07-14T07:02:38.329Z] eaf3925da568: Pull complete [2023-07-14T07:02:40.231Z] bab4dde63d76: Pull complete [2023-07-14T07:02:40.231Z] bde34c3a00c8: Pull complete [2023-07-14T07:02:40.231Z] b352a97aabf1: Pull complete [2023-07-14T07:02:40.232Z] 4872d77fe225: Pull complete [2023-07-14T07:02:40.232Z] 5851b861e8e6: Pull complete [2023-07-14T07:02:40.232Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-14T07:02:40.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T07:02:40.232Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:02:40.322Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:02:40.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-14T07:02:44.240Z] $ docker top e475de7df4c5392816400eac121af5c0f6bd15e11200a1f4508ac97309346e86 -eo pid,comm [2023-07-14T07:02:44.288Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-14T07:02:44.288Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-14T07:02:44.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T07:02:44.325Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T07:02:44.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T07:02:44.432Z] $ docker exec e475de7df4c5392816400eac121af5c0f6bd15e11200a1f4508ac97309346e86 ssh-agent [2023-07-14T07:02:44.536Z] SSH_AUTH_SOCK=/tmp/ssh-XlmXTGTx0vdj/agent.32 [2023-07-14T07:02:44.536Z] SSH_AGENT_PID=38 [2023-07-14T07:02:44.542Z] Running ssh-add (command line suppressed) [2023-07-14T07:02:44.645Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16860443690507912544.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16860443690507912544.key) [2023-07-14T07:02:44.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T07:02:44.949Z] + git tag --points-at HEAD [Pipeline] } [2023-07-14T07:02:44.971Z] $ docker exec --env ******** --env ******** e475de7df4c5392816400eac121af5c0f6bd15e11200a1f4508ac97309346e86 ssh-agent -k [2023-07-14T07:02:45.070Z] unset SSH_AUTH_SOCK; [2023-07-14T07:02:45.070Z] unset SSH_AGENT_PID; [2023-07-14T07:02:45.070Z] echo Agent pid 38 killed; [2023-07-14T07:02:45.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-14T07:02:45.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T07:02:45.101Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T07:02:45.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T07:02:45.219Z] $ docker exec e475de7df4c5392816400eac121af5c0f6bd15e11200a1f4508ac97309346e86 ssh-agent [2023-07-14T07:02:45.370Z] SSH_AUTH_SOCK=/tmp/ssh-1YUf6hXp5wS3/agent.70 [2023-07-14T07:02:45.370Z] SSH_AGENT_PID=76 [2023-07-14T07:02:45.375Z] Running ssh-add (command line suppressed) [2023-07-14T07:02:45.471Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7763610650692654052.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7763610650692654052.key) [2023-07-14T07:02:45.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T07:02:45.769Z] + git semver init [2023-07-14T07:02:46.028Z] 2023-07-14 07:02:45,975 [run_init] DEBUG init version:0.0.0 force:False [2023-07-14T07:02:46.028Z] 2023-07-14 07:02:45,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-14T07:02:46.028Z] 2023-07-14 07:02:45,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-14T07:02:46.028Z] 2023-07-14 07:02:45,976 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-14T07:02:46.967Z] 2023-07-14 07:02:46,873 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-07-14T07:02:46.967Z] 2023-07-14 07:02:46,874 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-07-14T07:02:46.967Z] 2023-07-14 07:02:46,874 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:02:46.967Z] 2023-07-14 07:02:46,874 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:02:46.967Z] 3.1.0-dev.3 [Pipeline] } [2023-07-14T07:02:46.977Z] $ docker exec --env ******** --env ******** e475de7df4c5392816400eac121af5c0f6bd15e11200a1f4508ac97309346e86 ssh-agent -k [2023-07-14T07:02:47.062Z] unset SSH_AUTH_SOCK; [2023-07-14T07:02:47.062Z] unset SSH_AGENT_PID; [2023-07-14T07:02:47.063Z] echo Agent pid 76 killed; [2023-07-14T07:02:47.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-14T07:02:47.378Z] + git semver [Pipeline] } [2023-07-14T07:02:47.651Z] $ docker stop --time=1 e475de7df4c5392816400eac121af5c0f6bd15e11200a1f4508ac97309346e86 [2023-07-14T07:02:48.918Z] $ docker rm -f --volumes e475de7df4c5392816400eac121af5c0f6bd15e11200a1f4508ac97309346e86 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-14T07:02:49.251Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-14T07:02:49.455Z] Stashed 1 file(s) [Pipeline] echo [2023-07-14T07:02:49.458Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T07:02:49.621Z] provisioning config files... [2023-07-14T07:02:49.630Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8630744200642068847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:02:49.925Z] ---> docker-login.sh [2023-07-14T07:02:49.925Z] nexus3.edgexfoundry.org:10001 [2023-07-14T07:02:49.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:49.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:49.925Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:49.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:49.925Z] [2023-07-14T07:02:49.925Z] Login Succeeded [2023-07-14T07:02:49.925Z] nexus3.edgexfoundry.org:10002 [2023-07-14T07:02:49.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:49.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:49.925Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:49.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:49.925Z] [2023-07-14T07:02:49.925Z] Login Succeeded [2023-07-14T07:02:49.925Z] nexus3.edgexfoundry.org:10003 [2023-07-14T07:02:50.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:50.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:50.243Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:50.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:50.243Z] [2023-07-14T07:02:50.243Z] Login Succeeded [2023-07-14T07:02:50.243Z] nexus3.edgexfoundry.org:10004 [2023-07-14T07:02:50.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:50.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:50.243Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:50.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:50.243Z] [2023-07-14T07:02:50.243Z] Login Succeeded [2023-07-14T07:02:50.243Z] docker.io [2023-07-14T07:02:50.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:02:50.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:02:50.501Z] Configure a credential helper to remove this warning. See [2023-07-14T07:02:50.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:02:50.501Z] [2023-07-14T07:02:50.501Z] Login Succeeded [2023-07-14T07:02:50.501Z] ---> docker-login.sh ends [Pipeline] } [2023-07-14T07:02:50.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-14T07:02:50.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T07:02:50.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T07:02:50.618Z] ========================================================= [2023-07-14T07:02:50.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-14T07:02:50.618Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:02:50.935Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-14T07:02:50.935Z] Sending build context to Docker daemon 10.89MB [2023-07-14T07:02:50.935Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-14T07:02:50.935Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-14T07:02:50.935Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-14T07:02:50.935Z] 4db1b89c0bd1: Pulling fs layer [2023-07-14T07:02:50.935Z] 6911f1a30b25: Pulling fs layer [2023-07-14T07:02:50.935Z] e194b8c5c2a9: Pulling fs layer [2023-07-14T07:02:50.935Z] 6863d3e3a2b1: Pulling fs layer [2023-07-14T07:02:50.935Z] ec0bb842ea78: Pulling fs layer [2023-07-14T07:02:50.935Z] 40a00589a448: Pulling fs layer [2023-07-14T07:02:50.935Z] 6c08303d61cc: Pulling fs layer [2023-07-14T07:02:50.935Z] 798269fcf238: Pulling fs layer [2023-07-14T07:02:50.935Z] ec0bb842ea78: Waiting [2023-07-14T07:02:50.935Z] 40a00589a448: Waiting [2023-07-14T07:02:50.935Z] 6c08303d61cc: Waiting [2023-07-14T07:02:50.935Z] 798269fcf238: Waiting [2023-07-14T07:02:50.935Z] 6863d3e3a2b1: Waiting [2023-07-14T07:02:51.200Z] 6911f1a30b25: Download complete [2023-07-14T07:02:51.200Z] 6863d3e3a2b1: Verifying Checksum [2023-07-14T07:02:51.200Z] 6863d3e3a2b1: Download complete [2023-07-14T07:02:51.200Z] ec0bb842ea78: Verifying Checksum [2023-07-14T07:02:51.200Z] ec0bb842ea78: Download complete [2023-07-14T07:02:51.200Z] 4db1b89c0bd1: Verifying Checksum [2023-07-14T07:02:51.200Z] 4db1b89c0bd1: Download complete [2023-07-14T07:02:51.200Z] 40a00589a448: Verifying Checksum [2023-07-14T07:02:51.200Z] 40a00589a448: Download complete [2023-07-14T07:02:51.200Z] 4db1b89c0bd1: Pull complete [2023-07-14T07:02:51.463Z] 6911f1a30b25: Pull complete [2023-07-14T07:02:51.723Z] 798269fcf238: Verifying Checksum [2023-07-14T07:02:51.723Z] 798269fcf238: Download complete [2023-07-14T07:02:51.723Z] e194b8c5c2a9: Verifying Checksum [2023-07-14T07:02:51.723Z] e194b8c5c2a9: Download complete [2023-07-14T07:02:51.981Z] 6c08303d61cc: Verifying Checksum [2023-07-14T07:02:51.982Z] 6c08303d61cc: Download complete [2023-07-14T07:02:55.266Z] e194b8c5c2a9: Pull complete [2023-07-14T07:02:55.266Z] 6863d3e3a2b1: Pull complete [2023-07-14T07:02:55.266Z] ec0bb842ea78: Pull complete [2023-07-14T07:02:55.266Z] 40a00589a448: Pull complete [2023-07-14T07:02:57.797Z] 6c08303d61cc: Pull complete [2023-07-14T07:02:58.733Z] 798269fcf238: Pull complete [2023-07-14T07:02:58.734Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-14T07:02:58.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-14T07:02:58.734Z] ---> ec979cd7f677 [2023-07-14T07:02:58.734Z] Step 3/10 : ARG MAKE=make build [2023-07-14T07:03:04.047Z] ---> Running in 8cc61d47499f [2023-07-14T07:03:04.047Z] Removing intermediate container 8cc61d47499f [2023-07-14T07:03:04.047Z] ---> d82f4865d73a [2023-07-14T07:03:04.047Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-14T07:03:04.047Z] ---> Running in c4f1abd270ea [2023-07-14T07:03:04.306Z] Removing intermediate container c4f1abd270ea [2023-07-14T07:03:04.306Z] ---> ce4b7fe63af3 [2023-07-14T07:03:04.306Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-14T07:03:04.306Z] ---> Running in b655bb987ed8 [2023-07-14T07:03:04.306Z] Removing intermediate container b655bb987ed8 [2023-07-14T07:03:04.306Z] ---> bf34325116bc [2023-07-14T07:03:04.306Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-14T07:03:04.306Z] ---> Running in 14d1b30ff8ec [2023-07-14T07:03:04.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-14T07:03:04.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-14T07:03:04.571Z] Still waiting to schedule task [2023-07-14T07:03:04.571Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1136’ [2023-07-14T07:03:04.823Z] OK: 265 MiB in 53 packages [2023-07-14T07:03:05.391Z] Removing intermediate container 14d1b30ff8ec [2023-07-14T07:03:05.391Z] ---> 1c9d1bf208fe [2023-07-14T07:03:05.391Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-14T07:03:05.391Z] ---> 61b1d0aaf8d3 [2023-07-14T07:03:05.391Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-14T07:03:05.649Z] ---> Running in 1bb03c500de8 [2023-07-14T07:03:37.728Z] Removing intermediate container 1bb03c500de8 [2023-07-14T07:03:37.728Z] ---> 1a94319d0c19 [2023-07-14T07:03:37.728Z] Step 9/10 : COPY . . [2023-07-14T07:03:38.362Z] ---> 87123fe6357c [2023-07-14T07:03:38.362Z] Step 10/10 : RUN ${MAKE} [2023-07-14T07:03:38.620Z] ---> Running in d6715a2a7fa7 [2023-07-14T07:03:38.880Z] noop [2023-07-14T07:03:39.138Z] Removing intermediate container d6715a2a7fa7 [2023-07-14T07:03:39.138Z] ---> 00403b7c7dba [2023-07-14T07:03:39.138Z] Successfully built 00403b7c7dba [2023-07-14T07:03:39.138Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:03:39.469Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-14T07:03:39.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:03:39.549Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:03:39.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-14T07:03:39.903Z] $ docker top 7b6e1bae62aa343e6f8e447cbe35f8cda6a2b208209c793de242c09ccc758a6a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T07:03:40.238Z] + go version [2023-07-14T07:03:40.238Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-14T07:03:40.253Z] $ docker stop --time=1 7b6e1bae62aa343e6f8e447cbe35f8cda6a2b208209c793de242c09ccc758a6a [2023-07-14T07:03:41.689Z] $ docker rm -f --volumes 7b6e1bae62aa343e6f8e447cbe35f8cda6a2b208209c793de242c09ccc758a6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:03:42.146Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-14T07:03:42.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:03:42.218Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:03:42.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-14T07:03:42.733Z] $ docker top 783adcfc4676864b3e4c300892d08962990c52970cb9d676799cd0596e9420ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T07:03:43.069Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-07-14T07:03:43.365Z] + make test [2023-07-14T07:03:43.365Z] go test -race -coverprofile=coverage.out ./... [2023-07-14T07:03:49.929Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-14T07:04:04.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-14T07:04:04.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-14T07:04:04.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-14T07:04:04.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-14T07:04:04.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-14T07:04:04.788Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-07-14T07:04:04.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-14T07:04:04.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-14T07:04:04.788Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements [2023-07-14T07:04:04.788Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.068s coverage: 86.0% of statements [2023-07-14T07:04:05.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-14T07:04:05.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-14T07:04:05.304Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.113s coverage: 77.5% of statements [2023-07-14T07:04:05.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-14T07:04:05.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-14T07:04:06.240Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-14T07:04:08.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.078s coverage: 14.3% of statements [2023-07-14T07:04:08.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 68.5% of statements [2023-07-14T07:04:08.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.121s coverage: 89.2% of statements [2023-07-14T07:04:08.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.7% of statements [2023-07-14T07:04:30.094Z] GO111MODULE=on go vet ./... [2023-07-14T07:04:30.352Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-14T07:04:30.352Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-14T07:04:30.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-14T07:04:30.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-14T07:04:30.651Z] $ docker stop --time=1 783adcfc4676864b3e4c300892d08962990c52970cb9d676799cd0596e9420ba [2023-07-14T07:04:35.772Z] $ docker rm -f --volumes 783adcfc4676864b3e4c300892d08962990c52970cb9d676799cd0596e9420ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-14T07:04:36.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-14T07:04:36.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-14T07:04:36.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-14T07:04:37.169Z] + ls -al . [2023-07-14T07:04:37.169Z] total 284 [2023-07-14T07:04:37.169Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 07:03 . [2023-07-14T07:04:37.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 07:02 .. [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 14 07:02 .dockerignore [2023-07-14T07:04:37.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 07:02 .git [2023-07-14T07:04:37.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 07:02 .github [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 14 07:02 .gitignore [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 07:02 .golangci.yml [2023-07-14T07:04:37.169Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 07:02 .semver [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 14 07:02 CHANGELOG.md [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 07:02 GOVERNANCE.md [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 14 07:02 Jenkinsfile [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 14 07:02 LICENSE [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 14 07:02 Makefile [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 14 07:02 OWNERS.md [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 14 07:02 README.md [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 14 07:02 VERSION [2023-07-14T07:04:37.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 07:02 bin [2023-07-14T07:04:37.169Z] -rw-r--r-- 1 jenkins jenkins 106150 Jul 14 07:04 coverage.out [2023-07-14T07:04:37.169Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 14 07:02 example [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 14 07:02 go.mod [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 14 07:02 go.sum [2023-07-14T07:04:37.169Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 14 07:02 internal [2023-07-14T07:04:37.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 07:02 openapi [2023-07-14T07:04:37.169Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 14 07:02 pkg [2023-07-14T07:04:37.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 07:02 snap [2023-07-14T07:04:37.169Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 14 07:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:04:37.574Z] + 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=349d442d4da267b0cf06bf856b10c4b1ed668afd --label arch=amd64 --label version=3.1.0-dev.3 . [2023-07-14T07:04:37.574Z] Sending build context to Docker daemon 11MB [2023-07-14T07:04:37.574Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-14T07:04:37.574Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-14T07:04:37.574Z] ---> 00403b7c7dba [2023-07-14T07:04:37.574Z] Step 3/23 : ARG MAKE=make build [2023-07-14T07:04:37.837Z] ---> Running in 7f74cc5d3185 [2023-07-14T07:04:37.837Z] Removing intermediate container 7f74cc5d3185 [2023-07-14T07:04:37.837Z] ---> 33bf8fddba68 [2023-07-14T07:04:37.837Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-14T07:04:37.837Z] ---> Running in d396f97211fd [2023-07-14T07:04:37.837Z] Removing intermediate container d396f97211fd [2023-07-14T07:04:37.837Z] ---> 5df024a8deb6 [2023-07-14T07:04:37.837Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-14T07:04:37.837Z] ---> Running in d7bf185af05e [2023-07-14T07:04:38.095Z] Removing intermediate container d7bf185af05e [2023-07-14T07:04:38.095Z] ---> c1dcbe2712a2 [2023-07-14T07:04:38.095Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-14T07:04:38.095Z] ---> Running in c6ed9abda848 [2023-07-14T07:04:38.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-14T07:04:38.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-14T07:04:38.612Z] OK: 265 MiB in 53 packages [2023-07-14T07:04:39.179Z] Removing intermediate container c6ed9abda848 [2023-07-14T07:04:39.179Z] ---> f7ff5ed8e7e3 [2023-07-14T07:04:39.179Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-14T07:04:39.179Z] ---> a5df31193b45 [2023-07-14T07:04:39.179Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-14T07:04:39.179Z] ---> Running in 1d39ebf05f20 [2023-07-14T07:04:39.748Z] Removing intermediate container 1d39ebf05f20 [2023-07-14T07:04:39.748Z] ---> 2c9f86646bc9 [2023-07-14T07:04:39.748Z] Step 9/23 : COPY . . [2023-07-14T07:04:40.315Z] ---> bd2043a8279f [2023-07-14T07:04:40.315Z] Step 10/23 : RUN ${MAKE} [2023-07-14T07:04:40.315Z] ---> Running in ddda57c14cbe [2023-07-14T07:04:40.573Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.3" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-14T07:05:02.508Z] Removing intermediate container ddda57c14cbe [2023-07-14T07:05:02.508Z] ---> d9e9155f8fec [2023-07-14T07:05:02.508Z] Step 11/23 : FROM alpine:3.17 [2023-07-14T07:05:02.508Z] 3.17: Pulling from library/alpine [2023-07-14T07:05:02.508Z] 4db1b89c0bd1: Already exists [2023-07-14T07:05:02.508Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-14T07:05:02.508Z] Status: Downloaded newer image for alpine:3.17 [2023-07-14T07:05:02.508Z] ---> 1f73a9d63274 [2023-07-14T07:05:02.508Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-14T07:05:02.508Z] ---> Running in 2694bc8a69c7 [2023-07-14T07:05:02.508Z] Removing intermediate container 2694bc8a69c7 [2023-07-14T07:05:02.508Z] ---> 80a087bc81f9 [2023-07-14T07:05:02.508Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-14T07:05:02.508Z] ---> Running in 163b6b83f614 [2023-07-14T07:05:02.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-14T07:05:03.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-14T07:05:03.285Z] OK: 7 MiB in 15 packages [2023-07-14T07:05:03.544Z] Removing intermediate container 163b6b83f614 [2023-07-14T07:05:03.544Z] ---> b91bb0bb505f [2023-07-14T07:05:03.544Z] Step 14/23 : WORKDIR / [2023-07-14T07:05:03.544Z] ---> Running in f1228218f32c [2023-07-14T07:05:03.544Z] Removing intermediate container f1228218f32c [2023-07-14T07:05:03.544Z] ---> 9ac9353cddd0 [2023-07-14T07:05:03.544Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-14T07:05:03.803Z] ---> 5c13d10dbd23 [2023-07-14T07:05:03.803Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-14T07:05:05.182Z] ---> 6ba3097bb710 [2023-07-14T07:05:05.182Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-14T07:05:05.182Z] ---> 5ea58483c81a [2023-07-14T07:05:05.182Z] Step 18/23 : EXPOSE 59999 [2023-07-14T07:05:05.182Z] ---> Running in 95ae904ad7a1 [2023-07-14T07:05:05.441Z] Removing intermediate container 95ae904ad7a1 [2023-07-14T07:05:05.441Z] ---> aa7568922ff4 [2023-07-14T07:05:05.441Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-14T07:05:05.441Z] ---> Running in 493cec0e095c [2023-07-14T07:05:05.441Z] Removing intermediate container 493cec0e095c [2023-07-14T07:05:05.441Z] ---> ac742b5e6bd0 [2023-07-14T07:05:05.441Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-14T07:05:05.441Z] ---> Running in 8d85af305230 [2023-07-14T07:05:05.441Z] Removing intermediate container 8d85af305230 [2023-07-14T07:05:05.441Z] ---> 5077a77b0995 [2023-07-14T07:05:05.441Z] Step 21/23 : LABEL arch=amd64 [2023-07-14T07:05:05.441Z] ---> Running in 6bf5e4a8e15f [2023-07-14T07:05:05.700Z] Removing intermediate container 6bf5e4a8e15f [2023-07-14T07:05:05.700Z] ---> e4530c55da62 [2023-07-14T07:05:05.700Z] Step 22/23 : LABEL git_sha=349d442d4da267b0cf06bf856b10c4b1ed668afd [2023-07-14T07:05:05.700Z] ---> Running in f0c4b9481f07 [2023-07-14T07:05:05.700Z] Removing intermediate container f0c4b9481f07 [2023-07-14T07:05:05.700Z] ---> e5e57622de32 [2023-07-14T07:05:05.700Z] Step 23/23 : LABEL version=3.1.0-dev.3 [2023-07-14T07:05:05.700Z] ---> Running in 345a76520873 [2023-07-14T07:05:05.700Z] Removing intermediate container 345a76520873 [2023-07-14T07:05:05.700Z] ---> 8e3f84082eb3 [2023-07-14T07:05:05.700Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-14T07:05:05.700Z] Successfully built 8e3f84082eb3 [2023-07-14T07:05:05.700Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:05:06.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T07:05:06.125Z] [2023-07-14T07:05:06.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:05:06.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T07:05:06.426Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-14T07:05:06.426Z] 5eb5b503b376: Pulling fs layer [2023-07-14T07:05:06.426Z] 5c69ac0246d0: Pulling fs layer [2023-07-14T07:05:06.426Z] ec43610c2a17: Pulling fs layer [2023-07-14T07:05:06.426Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-14T07:05:06.426Z] 33b1e0a273af: Pulling fs layer [2023-07-14T07:05:06.426Z] 5d3b04190fa2: Pulling fs layer [2023-07-14T07:05:06.426Z] 2f39f015ded8: Pulling fs layer [2023-07-14T07:05:06.426Z] 3a2ae6a8a46f: Waiting [2023-07-14T07:05:06.426Z] 33b1e0a273af: Waiting [2023-07-14T07:05:06.426Z] 5d3b04190fa2: Waiting [2023-07-14T07:05:06.426Z] 2f39f015ded8: Waiting [2023-07-14T07:05:06.426Z] 5c69ac0246d0: Verifying Checksum [2023-07-14T07:05:06.426Z] 5c69ac0246d0: Download complete [2023-07-14T07:05:06.426Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-14T07:05:06.426Z] 3a2ae6a8a46f: Download complete [2023-07-14T07:05:06.426Z] 33b1e0a273af: Verifying Checksum [2023-07-14T07:05:06.426Z] 33b1e0a273af: Download complete [2023-07-14T07:05:06.426Z] 5d3b04190fa2: Download complete [2023-07-14T07:05:06.427Z] ec43610c2a17: Verifying Checksum [2023-07-14T07:05:06.427Z] ec43610c2a17: Download complete [2023-07-14T07:05:06.684Z] 5eb5b503b376: Download complete [2023-07-14T07:05:07.250Z] 2f39f015ded8: Download complete [2023-07-14T07:05:07.817Z] 5eb5b503b376: Pull complete [2023-07-14T07:05:07.817Z] 5c69ac0246d0: Pull complete [2023-07-14T07:05:08.389Z] ec43610c2a17: Pull complete [2023-07-14T07:05:08.389Z] 3a2ae6a8a46f: Pull complete [2023-07-14T07:05:08.389Z] 33b1e0a273af: Pull complete [2023-07-14T07:05:08.648Z] 5d3b04190fa2: Pull complete [2023-07-14T07:05:12.839Z] 2f39f015ded8: Pull complete [2023-07-14T07:05:12.839Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-14T07:05:12.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T07:05:12.839Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:05:12.922Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:05:12.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-14T07:05:18.546Z] $ docker top b856b9a91d5ddd0ce099fd293b90c8659c6daf4057b0695c364a5bb877bc0710 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:05:18.951Z] ---> job-cost.sh [2023-07-14T07:05:18.951Z] lf-activate-venv: SKIPPING [2023-07-14T07:05:18.951Z] INFO: No Stack... [2023-07-14T07:05:19.532Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-14T07:05:20.112Z] INFO: Archiving Costs [Pipeline] sh [2023-07-14T07:05:20.417Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-07-14T07:05:20.417Z] + cut -d, -f6 [Pipeline] lock [2023-07-14T07:05:20.429Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-232-stack-cost] [2023-07-14T07:05:20.435Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-232-stack-cost] did not exist. Created. [2023-07-14T07:05:20.435Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-232-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-14T07:05:20.734Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-14T07:05:20.775Z] Stashed 1 file(s) [Pipeline] } [2023-07-14T07:05:20.781Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-232-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-14T07:05:20.803Z] $ docker stop --time=1 b856b9a91d5ddd0ce099fd293b90c8659c6daf4057b0695c364a5bb877bc0710 [2023-07-14T07:05:21.965Z] $ docker rm -f --volumes b856b9a91d5ddd0ce099fd293b90c8659c6daf4057b0695c364a5bb877bc0710 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-14T07:06:47.047Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1139 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-07-14T07:06:47.061Z] Running in /w/workspace/device-sdk-go/232 [Pipeline] { [Pipeline] checkout [2023-07-14T07:06:47.095Z] The recommended git tool is: git [2023-07-14T07:06:52.562Z] using credential edgex-jenkins-ssh [2023-07-14T07:06:52.580Z] Cloning the remote Git repository [2023-07-14T07:06:52.631Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-14T07:06:52.738Z] > git init /w/workspace/device-sdk-go/232 # timeout=10 [2023-07-14T07:06:52.915Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-14T07:06:52.916Z] > git --version # timeout=10 [2023-07-14T07:06:52.941Z] > git --version # 'git version 2.25.1' [2023-07-14T07:06:52.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-14T07:06:53.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-14T07:06:57.133Z] Avoid second fetch [2023-07-14T07:06:57.134Z] Checking out Revision 349d442d4da267b0cf06bf856b10c4b1ed668afd (main) [2023-07-14T07:06:56.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-14T07:06:56.224Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-14T07:06:57.156Z] > git config core.sparsecheckout # timeout=10 [2023-07-14T07:06:57.762Z] Commit message: "Merge pull request #1476 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-14T07:06:57.241Z] > git checkout -f 349d442d4da267b0cf06bf856b10c4b1ed668afd # timeout=10 [2023-07-14T07:06:58.798Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-14T07:06:58.798Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-14T07:06:58.798Z] Dload Upload Total Spent Left Speed [2023-07-14T07:06:58.798Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-07-14T07:06:59.482Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-14T07:06:59.814Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-14T07:06:59.814Z] + sudo tee /etc/docker/daemon.new [2023-07-14T07:06:59.814Z] { [2023-07-14T07:06:59.814Z] "registry-mirrors": [ [2023-07-14T07:06:59.814Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-14T07:06:59.814Z] ], [2023-07-14T07:06:59.814Z] "bip": "10.250.0.254/24", [2023-07-14T07:06:59.814Z] "hosts": [ [2023-07-14T07:06:59.814Z] "tcp://0.0.0.0:5555", [2023-07-14T07:06:59.814Z] "unix:///var/run/docker.sock" [2023-07-14T07:06:59.814Z] ], [2023-07-14T07:06:59.814Z] "mtu": 1458, [2023-07-14T07:06:59.814Z] "selinux-enabled": true, [2023-07-14T07:06:59.814Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-14T07:06:59.814Z] } [Pipeline] sh [2023-07-14T07:07:00.151Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-14T07:07:00.486Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T07:07:18.765Z] provisioning config files... [2023-07-14T07:07:18.792Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/232@tmp/config15506836808720179032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:07:19.144Z] ---> docker-login.sh [2023-07-14T07:07:19.144Z] nexus3.edgexfoundry.org:10001 [2023-07-14T07:07:19.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:07:19.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:07:19.734Z] Configure a credential helper to remove this warning. See [2023-07-14T07:07:19.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:07:19.734Z] [2023-07-14T07:07:19.734Z] Login Succeeded [2023-07-14T07:07:19.734Z] nexus3.edgexfoundry.org:10002 [2023-07-14T07:07:20.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:07:20.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:07:20.274Z] Configure a credential helper to remove this warning. See [2023-07-14T07:07:20.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:07:20.274Z] [2023-07-14T07:07:20.274Z] Login Succeeded [2023-07-14T07:07:20.274Z] nexus3.edgexfoundry.org:10003 [2023-07-14T07:07:20.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:07:20.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:07:20.545Z] Configure a credential helper to remove this warning. See [2023-07-14T07:07:20.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:07:20.545Z] [2023-07-14T07:07:20.545Z] Login Succeeded [2023-07-14T07:07:20.545Z] nexus3.edgexfoundry.org:10004 [2023-07-14T07:07:20.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:07:20.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:07:20.815Z] Configure a credential helper to remove this warning. See [2023-07-14T07:07:20.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:07:20.815Z] [2023-07-14T07:07:20.815Z] Login Succeeded [2023-07-14T07:07:20.815Z] docker.io [2023-07-14T07:07:21.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T07:07:21.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T07:07:21.364Z] Configure a credential helper to remove this warning. See [2023-07-14T07:07:21.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T07:07:21.364Z] [2023-07-14T07:07:21.364Z] Login Succeeded [2023-07-14T07:07:21.364Z] ---> docker-login.sh ends [Pipeline] } [2023-07-14T07:07:21.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-14T07:07:21.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T07:07:21.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T07:07:21.667Z] ========================================================= [2023-07-14T07:07:21.667Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-14T07:07:21.667Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:07:22.018Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-14T07:07:22.288Z] Sending build context to Docker daemon 5.796MB [2023-07-14T07:07:22.563Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-14T07:07:22.563Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-14T07:07:22.563Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-14T07:07:22.563Z] edb6bdbacee9: Pulling fs layer [2023-07-14T07:07:22.563Z] 5f9638ab2659: Pulling fs layer [2023-07-14T07:07:22.563Z] 8d51d6327a98: Pulling fs layer [2023-07-14T07:07:22.563Z] 8b374f2dd631: Pulling fs layer [2023-07-14T07:07:22.563Z] ec14aa9079de: Pulling fs layer [2023-07-14T07:07:22.563Z] 2f466654f4bb: Pulling fs layer [2023-07-14T07:07:22.563Z] 554e91adad29: Pulling fs layer [2023-07-14T07:07:22.563Z] ec14aa9079de: Waiting [2023-07-14T07:07:22.563Z] 2f466654f4bb: Waiting [2023-07-14T07:07:22.563Z] 8b374f2dd631: Waiting [2023-07-14T07:07:22.563Z] 554e91adad29: Waiting [2023-07-14T07:07:22.563Z] 5f9638ab2659: Download complete [2023-07-14T07:07:22.563Z] 8b374f2dd631: Verifying Checksum [2023-07-14T07:07:22.563Z] 8b374f2dd631: Download complete [2023-07-14T07:07:22.835Z] ec14aa9079de: Verifying Checksum [2023-07-14T07:07:22.835Z] ec14aa9079de: Download complete [2023-07-14T07:07:22.835Z] edb6bdbacee9: Download complete [2023-07-14T07:07:23.810Z] edb6bdbacee9: Pull complete [2023-07-14T07:07:24.404Z] 5f9638ab2659: Pull complete [2023-07-14T07:07:24.678Z] 554e91adad29: Verifying Checksum [2023-07-14T07:07:24.678Z] 554e91adad29: Download complete [2023-07-14T07:07:25.650Z] 8d51d6327a98: Verifying Checksum [2023-07-14T07:07:25.650Z] 8d51d6327a98: Download complete [2023-07-14T07:07:25.650Z] 2f466654f4bb: Verifying Checksum [2023-07-14T07:07:25.650Z] 2f466654f4bb: Download complete [2023-07-14T07:07:37.989Z] 8d51d6327a98: Pull complete [2023-07-14T07:07:37.989Z] 8b374f2dd631: Pull complete [2023-07-14T07:07:37.989Z] ec14aa9079de: Pull complete [2023-07-14T07:07:43.351Z] 2f466654f4bb: Pull complete [2023-07-14T07:07:45.320Z] 554e91adad29: Pull complete [2023-07-14T07:07:45.320Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-14T07:07:45.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-14T07:07:45.320Z] ---> 1e15ea492957 [2023-07-14T07:07:45.320Z] Step 3/10 : ARG MAKE=make build [2023-07-14T07:07:47.285Z] ---> Running in d91f58552e93 [2023-07-14T07:07:47.554Z] Removing intermediate container d91f58552e93 [2023-07-14T07:07:47.554Z] ---> 52012bee0ffc [2023-07-14T07:07:47.554Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-14T07:07:47.554Z] ---> Running in 829ff745809e [2023-07-14T07:07:48.152Z] Removing intermediate container 829ff745809e [2023-07-14T07:07:48.152Z] ---> 7c6658e4e17f [2023-07-14T07:07:48.152Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-14T07:07:48.152Z] ---> Running in 0465095a2682 [2023-07-14T07:07:48.424Z] Removing intermediate container 0465095a2682 [2023-07-14T07:07:48.424Z] ---> 35f1cd2b2247 [2023-07-14T07:07:48.424Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-14T07:07:48.424Z] ---> Running in 58c34e9bd4d1 [2023-07-14T07:07:49.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-14T07:07:53.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-14T07:07:53.850Z] OK: 263 MiB in 53 packages [2023-07-14T07:07:54.463Z] Removing intermediate container 58c34e9bd4d1 [2023-07-14T07:07:54.463Z] ---> 13eb2d9332c1 [2023-07-14T07:07:54.463Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-14T07:07:55.068Z] ---> 97a6304c4cd9 [2023-07-14T07:07:55.068Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-14T07:07:55.337Z] ---> Running in a1c572ca72f9 [2023-07-14T07:09:03.235Z] Removing intermediate container a1c572ca72f9 [2023-07-14T07:09:03.235Z] ---> b4e6e9c77112 [2023-07-14T07:09:03.235Z] Step 9/10 : COPY . . [2023-07-14T07:09:03.235Z] ---> dbabe0cf7c4e [2023-07-14T07:09:03.235Z] Step 10/10 : RUN ${MAKE} [2023-07-14T07:09:03.235Z] ---> Running in 7dc69867053a [2023-07-14T07:09:03.235Z] noop [2023-07-14T07:09:03.501Z] Removing intermediate container 7dc69867053a [2023-07-14T07:09:03.501Z] ---> bde71b4cddc9 [2023-07-14T07:09:03.501Z] Successfully built bde71b4cddc9 [2023-07-14T07:09:03.501Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:09:03.853Z] + docker inspect -f . ci-base-image-arm64 [2023-07-14T07:09:03.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:09:04.069Z] prd-ubuntu20.04-docker-arm64-4c-16g-1139 does not seem to be running inside a container [2023-07-14T07:09:04.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/232 -v /w/workspace/device-sdk-go/232:/w/workspace/device-sdk-go/232:rw,z -v /w/workspace/device-sdk-go/232@tmp:/w/workspace/device-sdk-go/232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-14T07:09:05.348Z] $ docker top ba61729fa05a1ab0a5182d0cf9dbc796a477bdea7e8965592093d86f1607b981 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T07:09:06.182Z] + go version [2023-07-14T07:09:06.182Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-14T07:09:06.208Z] $ docker stop --time=1 ba61729fa05a1ab0a5182d0cf9dbc796a477bdea7e8965592093d86f1607b981 [2023-07-14T07:09:09.475Z] $ docker rm -f --volumes ba61729fa05a1ab0a5182d0cf9dbc796a477bdea7e8965592093d86f1607b981 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:09:10.062Z] + docker inspect -f . ci-base-image-arm64 [2023-07-14T07:09:10.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:09:10.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-1139 does not seem to be running inside a container [2023-07-14T07:09:10.320Z] $ 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/232 -v /w/workspace/device-sdk-go/232:/w/workspace/device-sdk-go/232:rw,z -v /w/workspace/device-sdk-go/232@tmp:/w/workspace/device-sdk-go/232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-14T07:09:11.478Z] $ docker top a2b30127d6408d059485693c85db9ed5b51dc8c8d9961feaa61ae9b2bdda74c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T07:09:12.316Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/232 [Pipeline] fileExists [Pipeline] sh [2023-07-14T07:09:12.970Z] + make test [2023-07-14T07:09:12.970Z] go test -race -coverprofile=coverage.out ./... [2023-07-14T07:09:51.858Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-14T07:12:14.982Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-14T07:12:14.982Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-14T07:12:14.982Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-14T07:12:14.982Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-14T07:12:14.982Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-14T07:12:20.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements [2023-07-14T07:12:25.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.269s coverage: 80.2% of statements [2023-07-14T07:12:37.981Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-14T07:12:37.981Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-14T07:12:38.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.343s coverage: 86.0% of statements [2023-07-14T07:12:44.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-14T07:12:45.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.441s coverage: 77.5% of statements [2023-07-14T07:12:49.763Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-14T07:12:51.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-14T07:12:51.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-14T07:12:53.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.296s coverage: 14.3% of statements [2023-07-14T07:12:53.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.408s coverage: 68.5% of statements [2023-07-14T07:12:55.061Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.460s coverage: 89.2% of statements [2023-07-14T07:12:56.471Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-14T07:12:56.471Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.253s coverage: 5.7% of statements [2023-07-14T07:12:57.436Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-14T07:12:57.436Z] GO111MODULE=on go vet ./... [2023-07-14T07:15:34.159Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-14T07:15:34.159Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-14T07:15:34.159Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-14T07:15:34.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-14T07:15:34.194Z] $ docker stop --time=1 a2b30127d6408d059485693c85db9ed5b51dc8c8d9961feaa61ae9b2bdda74c5 [2023-07-14T07:15:36.073Z] $ docker rm -f --volumes a2b30127d6408d059485693c85db9ed5b51dc8c8d9961feaa61ae9b2bdda74c5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-14T07:15:37.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-14T07:15:37.721Z] Warning: overwriting stash ‘coverage-report’ [2023-07-14T07:15:38.299Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-14T07:15:38.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-14T07:15:39.061Z] + ls -al . [2023-07-14T07:15:39.061Z] total 280 [2023-07-14T07:15:39.061Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 07:09 . [2023-07-14T07:15:39.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 07:06 .. [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 14 07:06 .dockerignore [2023-07-14T07:15:39.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 07:06 .git [2023-07-14T07:15:39.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 07:06 .github [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 14 07:06 .gitignore [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 07:06 .golangci.yml [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 14 07:06 CHANGELOG.md [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 07:06 GOVERNANCE.md [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 14 07:06 Jenkinsfile [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 14 07:06 LICENSE [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 14 07:06 Makefile [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 14 07:06 OWNERS.md [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 14 07:06 README.md [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 14 07:02 VERSION [2023-07-14T07:15:39.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 07:06 bin [2023-07-14T07:15:39.061Z] -rw-r--r-- 1 jenkins jenkins 106150 Jul 14 07:12 coverage.out [2023-07-14T07:15:39.061Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 14 07:06 example [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 14 07:06 go.mod [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 14 07:06 go.sum [2023-07-14T07:15:39.061Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 14 07:06 internal [2023-07-14T07:15:39.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 07:06 openapi [2023-07-14T07:15:39.061Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 14 07:06 pkg [2023-07-14T07:15:39.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 07:06 snap [2023-07-14T07:15:39.061Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 14 07:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:15:39.399Z] + 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=349d442d4da267b0cf06bf856b10c4b1ed668afd --label arch=arm64 --label version=3.1.0-dev.3 . [2023-07-14T07:15:39.665Z] Sending build context to Docker daemon 5.903MB [2023-07-14T07:15:39.666Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-14T07:15:39.666Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-14T07:15:39.666Z] ---> bde71b4cddc9 [2023-07-14T07:15:39.666Z] Step 3/23 : ARG MAKE=make build [2023-07-14T07:15:39.932Z] ---> Running in 786d6d0bb135 [2023-07-14T07:15:40.199Z] Removing intermediate container 786d6d0bb135 [2023-07-14T07:15:40.199Z] ---> 1836646e771a [2023-07-14T07:15:40.199Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-14T07:15:40.199Z] ---> Running in bc9218673183 [2023-07-14T07:15:40.471Z] Removing intermediate container bc9218673183 [2023-07-14T07:15:40.471Z] ---> be085e361950 [2023-07-14T07:15:40.471Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-14T07:15:40.738Z] ---> Running in 1c11ede4465a [2023-07-14T07:15:41.005Z] Removing intermediate container 1c11ede4465a [2023-07-14T07:15:41.005Z] ---> 7d6e49388ad7 [2023-07-14T07:15:41.005Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-14T07:15:41.005Z] ---> Running in 9bc4b226ac0c [2023-07-14T07:15:41.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-14T07:15:42.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-14T07:15:43.957Z] OK: 263 MiB in 53 packages [2023-07-14T07:15:47.300Z] Removing intermediate container 9bc4b226ac0c [2023-07-14T07:15:47.300Z] ---> a9a00b72bb29 [2023-07-14T07:15:47.300Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-14T07:15:47.574Z] ---> 88981bd1ff47 [2023-07-14T07:15:47.574Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-14T07:15:47.574Z] ---> Running in 503bacea8e81 [2023-07-14T07:15:49.524Z] Removing intermediate container 503bacea8e81 [2023-07-14T07:15:49.524Z] ---> 79a5c1f75f66 [2023-07-14T07:15:49.524Z] Step 9/23 : COPY . . [2023-07-14T07:15:50.557Z] ---> b6a2a21a0d70 [2023-07-14T07:15:50.557Z] Step 10/23 : RUN ${MAKE} [2023-07-14T07:15:50.838Z] ---> Running in d5809f1da57a [2023-07-14T07:15:51.817Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.3" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-14T07:18:13.551Z] Removing intermediate container d5809f1da57a [2023-07-14T07:18:13.551Z] ---> fe5a03909865 [2023-07-14T07:18:13.551Z] Step 11/23 : FROM alpine:3.17 [2023-07-14T07:18:13.551Z] 3.17: Pulling from library/alpine [2023-07-14T07:18:13.551Z] edb6bdbacee9: Already exists [2023-07-14T07:18:13.551Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-14T07:18:13.551Z] Status: Downloaded newer image for alpine:3.17 [2023-07-14T07:18:13.551Z] ---> 779605e5fbc0 [2023-07-14T07:18:13.551Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-14T07:18:13.551Z] ---> Running in b6885feab390 [2023-07-14T07:18:13.551Z] Removing intermediate container b6885feab390 [2023-07-14T07:18:13.551Z] ---> 69b2f418515d [2023-07-14T07:18:13.551Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-14T07:18:13.551Z] ---> Running in 57140b981da4 [2023-07-14T07:18:13.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-14T07:18:13.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-14T07:18:13.551Z] OK: 7 MiB in 15 packages [2023-07-14T07:18:13.551Z] Removing intermediate container 57140b981da4 [2023-07-14T07:18:13.551Z] ---> 5fe5815dae56 [2023-07-14T07:18:13.551Z] Step 14/23 : WORKDIR / [2023-07-14T07:18:13.551Z] ---> Running in a0be97107a28 [2023-07-14T07:18:13.551Z] Removing intermediate container a0be97107a28 [2023-07-14T07:18:13.551Z] ---> c88fa4da5575 [2023-07-14T07:18:13.551Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-14T07:18:13.551Z] ---> a3713d58de18 [2023-07-14T07:18:13.551Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-14T07:18:14.512Z] ---> 63ddc6abe42d [2023-07-14T07:18:14.512Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-14T07:18:15.096Z] ---> 833dd84a2857 [2023-07-14T07:18:15.096Z] Step 18/23 : EXPOSE 59999 [2023-07-14T07:18:15.096Z] ---> Running in 95ae55816503 [2023-07-14T07:18:15.365Z] Removing intermediate container 95ae55816503 [2023-07-14T07:18:15.365Z] ---> f818b73b12e0 [2023-07-14T07:18:15.365Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-14T07:18:15.634Z] ---> Running in 4eb9b8e4cce6 [2023-07-14T07:18:15.902Z] Removing intermediate container 4eb9b8e4cce6 [2023-07-14T07:18:15.902Z] ---> 8d2eda1e2d29 [2023-07-14T07:18:15.902Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-14T07:18:15.902Z] ---> Running in 070cc23c28c2 [2023-07-14T07:18:16.171Z] Removing intermediate container 070cc23c28c2 [2023-07-14T07:18:16.171Z] ---> 1ecebd7869fd [2023-07-14T07:18:16.171Z] Step 21/23 : LABEL arch=arm64 [2023-07-14T07:18:16.171Z] ---> Running in 75f9ce6403f8 [2023-07-14T07:18:16.438Z] Removing intermediate container 75f9ce6403f8 [2023-07-14T07:18:16.438Z] ---> 4c89cef8cce6 [2023-07-14T07:18:16.438Z] Step 22/23 : LABEL git_sha=349d442d4da267b0cf06bf856b10c4b1ed668afd [2023-07-14T07:18:16.709Z] ---> Running in b7192af85a36 [2023-07-14T07:18:16.977Z] Removing intermediate container b7192af85a36 [2023-07-14T07:18:16.977Z] ---> ed0dfea45de5 [2023-07-14T07:18:16.977Z] Step 23/23 : LABEL version=3.1.0-dev.3 [2023-07-14T07:18:16.977Z] ---> Running in b02ac4bc87c5 [2023-07-14T07:18:17.244Z] Removing intermediate container b02ac4bc87c5 [2023-07-14T07:18:17.244Z] ---> 3a01ee771ba1 [2023-07-14T07:18:17.244Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-14T07:18:17.244Z] Successfully built 3a01ee771ba1 [2023-07-14T07:18:17.244Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:18:17.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T07:18:17.702Z] [2023-07-14T07:18:17.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:18:18.041Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T07:18:18.041Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-14T07:18:18.041Z] 8998bd30e6a1: Pulling fs layer [2023-07-14T07:18:18.041Z] 04944245beec: Pulling fs layer [2023-07-14T07:18:18.041Z] 699f458cf7ca: Pulling fs layer [2023-07-14T07:18:18.041Z] 765212b225bb: Pulling fs layer [2023-07-14T07:18:18.041Z] f23df028b6ca: Pulling fs layer [2023-07-14T07:18:18.041Z] d65c8cfc05b1: Pulling fs layer [2023-07-14T07:18:18.041Z] 2437ff75d9bd: Pulling fs layer [2023-07-14T07:18:18.041Z] 765212b225bb: Waiting [2023-07-14T07:18:18.041Z] f23df028b6ca: Waiting [2023-07-14T07:18:18.041Z] d65c8cfc05b1: Waiting [2023-07-14T07:18:18.041Z] 2437ff75d9bd: Waiting [2023-07-14T07:18:18.308Z] 04944245beec: Verifying Checksum [2023-07-14T07:18:18.308Z] 04944245beec: Download complete [2023-07-14T07:18:18.308Z] 765212b225bb: Verifying Checksum [2023-07-14T07:18:18.308Z] 765212b225bb: Download complete [2023-07-14T07:18:18.308Z] f23df028b6ca: Verifying Checksum [2023-07-14T07:18:18.308Z] f23df028b6ca: Download complete [2023-07-14T07:18:18.308Z] d65c8cfc05b1: Download complete [2023-07-14T07:18:18.578Z] 699f458cf7ca: Verifying Checksum [2023-07-14T07:18:18.578Z] 699f458cf7ca: Download complete [2023-07-14T07:18:18.845Z] 8998bd30e6a1: Verifying Checksum [2023-07-14T07:18:18.845Z] 8998bd30e6a1: Download complete [2023-07-14T07:18:21.427Z] 2437ff75d9bd: Verifying Checksum [2023-07-14T07:18:21.427Z] 2437ff75d9bd: Download complete [2023-07-14T07:18:22.850Z] 8998bd30e6a1: Pull complete [2023-07-14T07:18:25.445Z] 04944245beec: Pull complete [2023-07-14T07:18:26.404Z] 699f458cf7ca: Pull complete [2023-07-14T07:18:26.671Z] 765212b225bb: Pull complete [2023-07-14T07:18:27.255Z] f23df028b6ca: Pull complete [2023-07-14T07:18:27.522Z] d65c8cfc05b1: Pull complete [2023-07-14T07:18:42.519Z] 2437ff75d9bd: Pull complete [2023-07-14T07:18:42.519Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-14T07:18:42.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T07:18:42.519Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:18:42.721Z] prd-ubuntu20.04-docker-arm64-4c-16g-1139 does not seem to be running inside a container [2023-07-14T07:18:42.790Z] $ 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/232 -v /w/workspace/device-sdk-go/232:/w/workspace/device-sdk-go/232:rw,z -v /w/workspace/device-sdk-go/232@tmp:/w/workspace/device-sdk-go/232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-14T07:18:45.469Z] $ docker top 423a95e743a8a47220d8e627330b3549f5c974951529f6ef95e00df8e400cdbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:18:46.308Z] ---> job-cost.sh [2023-07-14T07:18:46.308Z] lf-activate-venv: SKIPPING [2023-07-14T07:18:46.308Z] INFO: No Stack... [2023-07-14T07:18:46.890Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-14T07:18:47.472Z] INFO: Archiving Costs [Pipeline] sh [2023-07-14T07:18:48.113Z] + cat /w/workspace/device-sdk-go/232/archives/cost.csv [2023-07-14T07:18:48.113Z] + cut -d, -f6 [Pipeline] lock [2023-07-14T07:18:48.181Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-232-stack-cost] [2023-07-14T07:18:48.188Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-232-stack-cost] did not exist. Created. [2023-07-14T07:18:48.188Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-232-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-14T07:18:48.847Z] /w/workspace/device-sdk-go/232@tmp/durable-69351034/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-14T07:18:49.178Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-14T07:18:49.469Z] Warning: overwriting stash ‘stack-cost’ [2023-07-14T07:18:49.551Z] Stashed 1 file(s) [Pipeline] } [2023-07-14T07:18:49.557Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-232-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-14T07:18:49.577Z] $ docker stop --time=1 423a95e743a8a47220d8e627330b3549f5c974951529f6ef95e00df8e400cdbd [2023-07-14T07:18:53.382Z] $ docker rm -f --volumes 423a95e743a8a47220d8e627330b3549f5c974951529f6ef95e00df8e400cdbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-07-14T07:18:53.826Z] provisioning config files... [2023-07-14T07:18:53.833Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11344920428295696854tmp [Pipeline] { [Pipeline] sh [2023-07-14T07:18:54.126Z] + set +x [2023-07-14T07:18:54.126Z] + bash -s -- [2023-07-14T07:18:54.126Z] + curl -s https://codecov.io/bash [2023-07-14T07:18:59.403Z] [2023-07-14T07:18:59.403Z] _____ _ [2023-07-14T07:18:59.403Z] / ____| | | [2023-07-14T07:18:59.403Z] | | ___ __| | ___ ___ _____ __ [2023-07-14T07:18:59.403Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-14T07:18:59.403Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-14T07:18:59.403Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-14T07:18:59.403Z] Bash-1.0.6 [2023-07-14T07:18:59.403Z] [2023-07-14T07:18:59.403Z] [2023-07-14T07:18:59.403Z] ==> git version 2.25.1 found [2023-07-14T07:18:59.403Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-07-14T07:18:59.403Z] Release-Date: 2020-01-08 [2023-07-14T07:18:59.403Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-14T07:18:59.403Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-14T07:18:59.403Z] ==> Jenkins CI detected. [2023-07-14T07:18:59.403Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-07-14T07:18:59.403Z] project root: . [2023-07-14T07:18:59.403Z] --> token set from env [2023-07-14T07:18:59.403Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-14T07:18:59.403Z] ==> Running gcov in . (disable via -X gcov) [2023-07-14T07:18:59.403Z] ==> Python coveragepy not found [2023-07-14T07:18:59.403Z] ==> Searching for coverage reports in: [2023-07-14T07:18:59.403Z] + . [2023-07-14T07:18:59.403Z] -> Found 1 reports [2023-07-14T07:18:59.403Z] ==> Detecting git/mercurial file structure [2023-07-14T07:18:59.403Z] ==> Reading reports [2023-07-14T07:18:59.403Z] + ./coverage.out bytes=106150 [2023-07-14T07:18:59.404Z] ==> Appending adjustments [2023-07-14T07:18:59.404Z] https://docs.codecov.io/docs/fixing-reports [2023-07-14T07:18:59.404Z] + Found adjustments [2023-07-14T07:18:59.404Z] ==> Gzipping contents [2023-07-14T07:18:59.404Z] 16K /tmp/codecov.c1c5al.gz [2023-07-14T07:18:59.404Z] ==> Uploading reports [2023-07-14T07:18:59.404Z] url: https://codecov.io [2023-07-14T07:18:59.404Z] query: branch=main&commit=349d442d4da267b0cf06bf856b10c4b1ed668afd&build=232&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F232%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-14T07:18:59.404Z] -> Pinging Codecov [2023-07-14T07:18:59.404Z] 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=349d442d4da267b0cf06bf856b10c4b1ed668afd&build=232&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F232%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-14T07:18:59.404Z] -> Uploading to [2023-07-14T07:18:59.404Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-14/7E55EF52A471D76F132DFD9A03CDDE97/349d442d4da267b0cf06bf856b10c4b1ed668afd/ccc909ff-1c6a-4292-9181-647e275427d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230714%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230714T071859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b65e96dbed12526b09b8506b9edbf2588f13947f5e4128e6f65ef85340921b0f [2023-07-14T07:18:59.404Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-14T07:18:59.404Z] Dload Upload Total Spent Left Speed [2023-07-14T07:18:59.404Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15153 0 0 100 15153 0 69829 --:--:-- --:--:-- --:--:-- 69829 [2023-07-14T07:18:59.404Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/349d442d4da267b0cf06bf856b10c4b1ed668afd [Pipeline] } [2023-07-14T07:18:59.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-14T07:18:59.608Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-14T07:18:59.621Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:18:59.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-14T07:18:59.936Z] [2023-07-14T07:18:59.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:19:00.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-14T07:19:00.239Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-14T07:19:00.239Z] df9b9388f04a: Pulling fs layer [2023-07-14T07:19:00.239Z] 52dc419b0ee2: Pulling fs layer [2023-07-14T07:19:00.239Z] 25bc292e5bac: Pulling fs layer [2023-07-14T07:19:00.239Z] 114826534d7a: Pulling fs layer [2023-07-14T07:19:00.239Z] 4657fd5d0bcf: Pulling fs layer [2023-07-14T07:19:00.239Z] 6ad1cebc031e: Pulling fs layer [2023-07-14T07:19:00.239Z] 8a3aa393b2d8: Pulling fs layer [2023-07-14T07:19:00.239Z] 4657fd5d0bcf: Waiting [2023-07-14T07:19:00.239Z] 6ad1cebc031e: Waiting [2023-07-14T07:19:00.239Z] 8a3aa393b2d8: Waiting [2023-07-14T07:19:00.239Z] 114826534d7a: Waiting [2023-07-14T07:19:00.239Z] 25bc292e5bac: Verifying Checksum [2023-07-14T07:19:00.239Z] 25bc292e5bac: Download complete [2023-07-14T07:19:00.239Z] 4657fd5d0bcf: Download complete [2023-07-14T07:19:00.239Z] df9b9388f04a: Verifying Checksum [2023-07-14T07:19:00.239Z] df9b9388f04a: Download complete [2023-07-14T07:19:00.500Z] df9b9388f04a: Pull complete [2023-07-14T07:19:00.500Z] 6ad1cebc031e: Verifying Checksum [2023-07-14T07:19:00.500Z] 6ad1cebc031e: Download complete [2023-07-14T07:19:00.500Z] 52dc419b0ee2: Pull complete [2023-07-14T07:19:00.765Z] 25bc292e5bac: Pull complete [2023-07-14T07:19:01.336Z] 114826534d7a: Verifying Checksum [2023-07-14T07:19:01.336Z] 114826534d7a: Download complete [2023-07-14T07:19:01.336Z] 8a3aa393b2d8: Verifying Checksum [2023-07-14T07:19:01.336Z] 8a3aa393b2d8: Download complete [2023-07-14T07:19:06.628Z] 114826534d7a: Pull complete [2023-07-14T07:19:06.628Z] 4657fd5d0bcf: Pull complete [2023-07-14T07:19:06.628Z] 6ad1cebc031e: Pull complete [2023-07-14T07:19:09.152Z] 8a3aa393b2d8: Pull complete [2023-07-14T07:19:09.152Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-14T07:19:09.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-14T07:19:09.152Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:19:09.233Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:19:09.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-07-14T07:19:14.888Z] $ docker top 5a0acf538bbdba143366474785fa371a0b58a4051374c4a18c668e3e31d3e583 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-14T07:19:14.943Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-07-14T07:19:15.219Z] + set -o pipefail [2023-07-14T07:19:15.219Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-07-14T07:19:20.485Z] [2023-07-14T07:19:20.485Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-07-14T07:19:20.485Z] [2023-07-14T07:19:20.485Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/f88e2d26-f36f-4675-8559-8bae516fd396 [2023-07-14T07:19:20.485Z] [2023-07-14T07:19:20.485Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-14T07:19:20.485Z] [2023-07-14T07:19:20.485Z] [2023-07-14T07:19:20.485Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-14T07:19:20.485Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-14T07:19:20.485Z] More details here: https://snyk.co/ue1NS [2023-07-14T07:19:20.485Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-07-14T07:19:20.485Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-07-14T07:19:20.502Z] $ docker stop --time=1 5a0acf538bbdba143366474785fa371a0b58a4051374c4a18c668e3e31d3e583 [2023-07-14T07:19:26.353Z] $ docker rm -f --volumes 5a0acf538bbdba143366474785fa371a0b58a4051374c4a18c668e3e31d3e583 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-07-14T07:19:26.751Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T07:19:26.763Z] provisioning config files... [2023-07-14T07:19:26.771Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6626332645734948018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:19:27.065Z] --> edgex-publish-swagger.sh [2023-07-14T07:19:27.065Z] === Publish openapi/v3 API === [2023-07-14T07:19:27.065Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-07-14T07:19:27.065Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-07-14T07:19:27.065Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-14T07:19:27.065Z] Dload Upload Total Spent Left Speed [2023-07-14T07:19:27.633Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 33916 --:--:-- --:--:-- --:--:-- 33916 [2023-07-14T07:19:27.633Z] [2023-07-14T07:19:27.633Z] [Pipeline] } [2023-07-14T07:19:27.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-14T07:19:28.032Z] + git log --format=format:%s -1 349d442d4da267b0cf06bf856b10c4b1ed668afd [Pipeline] sh [2023-07-14T07:19:28.321Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-14T07:19:28.321Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:19:28.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T07:19:28.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:19:28.679Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:19:28.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-14T07:19:29.346Z] $ docker top 4224e42de2c30acfdd6cdd8551da3468bbcb787d93c3b0ae7f5844785032dd89 -eo pid,comm [2023-07-14T07:19:29.384Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-14T07:19:29.384Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-14T07:19:29.421Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T07:19:29.421Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T07:19:29.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T07:19:29.554Z] $ docker exec 4224e42de2c30acfdd6cdd8551da3468bbcb787d93c3b0ae7f5844785032dd89 ssh-agent [2023-07-14T07:19:29.651Z] SSH_AUTH_SOCK=/tmp/ssh-SRa5Hhp9B6w6/agent.32 [2023-07-14T07:19:29.651Z] SSH_AGENT_PID=38 [2023-07-14T07:19:29.655Z] Running ssh-add (command line suppressed) [2023-07-14T07:19:29.762Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11518301412391186577.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11518301412391186577.key) [2023-07-14T07:19:29.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T07:19:30.049Z] + git semver tag [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,236 [run_tag] DEBUG tag force:False [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,236 [check_head_tag] DEBUG check head tag [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,236 [execute] INFO git cat-file --batch-check [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,241 [execute] INFO git cat-file --batch [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,255 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,255 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-14T07:19:30.307Z] 2023-07-14 07:19:30,261 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:19:30.307Z] 3.1.0-dev.3 [Pipeline] } [2023-07-14T07:19:30.323Z] $ docker exec --env ******** --env ******** 4224e42de2c30acfdd6cdd8551da3468bbcb787d93c3b0ae7f5844785032dd89 ssh-agent -k [2023-07-14T07:19:30.415Z] unset SSH_AUTH_SOCK; [2023-07-14T07:19:30.416Z] unset SSH_AGENT_PID; [2023-07-14T07:19:30.416Z] echo Agent pid 38 killed; [2023-07-14T07:19:30.414Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-14T07:19:30.710Z] + git semver [Pipeline] } [2023-07-14T07:19:30.988Z] $ docker stop --time=1 4224e42de2c30acfdd6cdd8551da3468bbcb787d93c3b0ae7f5844785032dd89 [2023-07-14T07:19:32.453Z] $ docker rm -f --volumes 4224e42de2c30acfdd6cdd8551da3468bbcb787d93c3b0ae7f5844785032dd89 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:19:32.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-14T07:19:32.824Z] [2023-07-14T07:19:32.824Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:19:33.124Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-14T07:19:33.124Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-14T07:19:33.124Z] ab5ef0e58194: Pulling fs layer [2023-07-14T07:19:33.124Z] 9712f1f96733: Pulling fs layer [2023-07-14T07:19:33.124Z] 63f879dbbcfc: Pulling fs layer [2023-07-14T07:19:33.124Z] 0d9ebad4ef96: Pulling fs layer [2023-07-14T07:19:33.124Z] e9a5061849ea: Pulling fs layer [2023-07-14T07:19:33.124Z] d747dcd14b5f: Pulling fs layer [2023-07-14T07:19:33.124Z] 2de7ff778b66: Pulling fs layer [2023-07-14T07:19:33.124Z] e9a5061849ea: Waiting [2023-07-14T07:19:33.124Z] d747dcd14b5f: Waiting [2023-07-14T07:19:33.124Z] 2de7ff778b66: Waiting [2023-07-14T07:19:33.124Z] 0d9ebad4ef96: Waiting [2023-07-14T07:19:33.124Z] 9712f1f96733: Verifying Checksum [2023-07-14T07:19:33.124Z] 9712f1f96733: Download complete [2023-07-14T07:19:33.384Z] 63f879dbbcfc: Verifying Checksum [2023-07-14T07:19:33.385Z] 63f879dbbcfc: Download complete [2023-07-14T07:19:33.644Z] 0d9ebad4ef96: Verifying Checksum [2023-07-14T07:19:33.644Z] 0d9ebad4ef96: Download complete [2023-07-14T07:19:33.644Z] e9a5061849ea: Verifying Checksum [2023-07-14T07:19:33.644Z] e9a5061849ea: Download complete [2023-07-14T07:19:33.644Z] d747dcd14b5f: Verifying Checksum [2023-07-14T07:19:33.644Z] d747dcd14b5f: Download complete [2023-07-14T07:19:33.644Z] ab5ef0e58194: Verifying Checksum [2023-07-14T07:19:33.644Z] ab5ef0e58194: Download complete [2023-07-14T07:19:33.903Z] 2de7ff778b66: Verifying Checksum [2023-07-14T07:19:33.903Z] 2de7ff778b66: Download complete [2023-07-14T07:19:37.185Z] ab5ef0e58194: Pull complete [2023-07-14T07:19:37.185Z] 9712f1f96733: Pull complete [2023-07-14T07:19:37.753Z] 63f879dbbcfc: Pull complete [2023-07-14T07:19:41.938Z] 0d9ebad4ef96: Pull complete [2023-07-14T07:19:41.938Z] e9a5061849ea: Pull complete [2023-07-14T07:19:41.938Z] d747dcd14b5f: Pull complete [2023-07-14T07:19:42.875Z] 2de7ff778b66: Pull complete [2023-07-14T07:19:42.875Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-14T07:19:42.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-14T07:19:42.875Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:19:42.967Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:19:43.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-07-14T07:19:50.500Z] $ docker top cfa104031b64b01bfc239e5965660f561efda92714ce9c2805b9f73e50c15372 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-14T07:19:50.566Z] provisioning config files... [2023-07-14T07:19:50.573Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1066800687594035076tmp [2023-07-14T07:19:50.584Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16569652900135212568tmp [2023-07-14T07:19:50.594Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9735776341978184704tmp [Pipeline] { [Pipeline] echo [2023-07-14T07:19:50.606Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:19:50.888Z] ---> sigul-configuration.sh [2023-07-14T07:19:50.888Z] gpg: directory `/root/.gnupg' created [2023-07-14T07:19:50.888Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-14T07:19:50.888Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-14T07:19:50.888Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-14T07:19:50.888Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-14T07:19:50.888Z] gpg: CAST5 encrypted data [2023-07-14T07:19:50.888Z] gpg: encrypted with 1 passphrase [2023-07-14T07:19:50.888Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-14T07:19:51.172Z] + mkdir /home/jenkins [2023-07-14T07:19:51.172Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-14T07:19:51.457Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-07-14T07:19:51.463Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:19:51.746Z] ---> sigul-install.sh [2023-07-14T07:19:51.746Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-14T07:19:52.026Z] + git tag --list [2023-07-14T07:19:52.027Z] 0.7.1 [2023-07-14T07:19:52.027Z] delhi-tag [2023-07-14T07:19:52.027Z] v1.0.0 [2023-07-14T07:19:52.027Z] v1.1.0 [2023-07-14T07:19:52.027Z] v1.1.1 [2023-07-14T07:19:52.027Z] v1.1.2 [2023-07-14T07:19:52.027Z] v1.2.0 [2023-07-14T07:19:52.027Z] v1.2.1 [2023-07-14T07:19:52.027Z] v1.2.2 [2023-07-14T07:19:52.027Z] v1.2.3 [2023-07-14T07:19:52.027Z] v1.3.0 [2023-07-14T07:19:52.027Z] v1.4.0 [2023-07-14T07:19:52.027Z] v2.0.0 [2023-07-14T07:19:52.027Z] v2.1.0 [2023-07-14T07:19:52.027Z] v2.1.1 [2023-07-14T07:19:52.027Z] v2.2.0 [2023-07-14T07:19:52.027Z] v2.3.0 [2023-07-14T07:19:52.027Z] v2.3.1 [2023-07-14T07:19:52.027Z] v3.0 [2023-07-14T07:19:52.027Z] v3.0.0 [2023-07-14T07:19:52.027Z] v3.0.1-dev.1 [2023-07-14T07:19:52.027Z] v3.1.0-dev.1 [2023-07-14T07:19:52.027Z] v3.1.0-dev.2 [2023-07-14T07:19:52.027Z] v3.1.0-dev.3 [Pipeline] sh [2023-07-14T07:19:52.311Z] + lftools sign git-tag v3.1.0-dev.3 [2023-07-14T07:19:52.881Z] Signing Git tag with Sigul... [2023-07-14T07:19:52.881Z] Signing v3.1.0-dev.3 [Pipeline] echo [2023-07-14T07:19:53.149Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:19:53.433Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-14T07:19:53.440Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-14T07:19:53.468Z] $ docker stop --time=1 cfa104031b64b01bfc239e5965660f561efda92714ce9c2805b9f73e50c15372 [2023-07-14T07:19:54.881Z] $ docker rm -f --volumes cfa104031b64b01bfc239e5965660f561efda92714ce9c2805b9f73e50c15372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-14T07:19:55.274Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-14T07:19:55.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:19:55.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T07:19:55.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:19:55.636Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:19:55.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-14T07:19:56.000Z] $ docker top 1f87406afccaba796115f43b2b5ff77ed92d5bceb6cc4df48cdeeffeb748f02b -eo pid,comm [2023-07-14T07:19:56.046Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-14T07:19:56.046Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-14T07:19:56.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T07:19:56.082Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T07:19:56.192Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T07:19:56.202Z] $ docker exec 1f87406afccaba796115f43b2b5ff77ed92d5bceb6cc4df48cdeeffeb748f02b ssh-agent [2023-07-14T07:19:56.312Z] SSH_AUTH_SOCK=/tmp/ssh-X9B5Y0tWB3nZ/agent.32 [2023-07-14T07:19:56.312Z] SSH_AGENT_PID=38 [2023-07-14T07:19:56.317Z] Running ssh-add (command line suppressed) [2023-07-14T07:19:56.421Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16743524706488366730.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16743524706488366730.key) [2023-07-14T07:19:56.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T07:19:56.715Z] + git semver bump pre [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,886 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,886 [bump_version] DEBUG bumped version:3.1.0-dev.4 [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,886 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,887 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,888 [execute] INFO git cat-file --batch-check [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,893 [execute] INFO git cat-file --batch [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-14T07:19:56.975Z] 2023-07-14 07:19:56,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:19:56.975Z] 3.1.0-dev.4 [Pipeline] } [2023-07-14T07:19:56.992Z] $ docker exec --env ******** --env ******** 1f87406afccaba796115f43b2b5ff77ed92d5bceb6cc4df48cdeeffeb748f02b ssh-agent -k [2023-07-14T07:19:57.079Z] unset SSH_AUTH_SOCK; [2023-07-14T07:19:57.079Z] unset SSH_AGENT_PID; [2023-07-14T07:19:57.079Z] echo Agent pid 38 killed; [2023-07-14T07:19:57.080Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-14T07:19:57.391Z] + git semver [Pipeline] } [2023-07-14T07:19:57.668Z] $ docker stop --time=1 1f87406afccaba796115f43b2b5ff77ed92d5bceb6cc4df48cdeeffeb748f02b [2023-07-14T07:19:58.920Z] $ docker rm -f --volumes 1f87406afccaba796115f43b2b5ff77ed92d5bceb6cc4df48cdeeffeb748f02b [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-14T07:19:59.248Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-14T07:19:59.248Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:19:59.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T07:19:59.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:19:59.614Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:19:59.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-14T07:19:59.989Z] $ docker top 7229f5097699bc67fa21e13218ca0b2fe58b5a63e41cac0ed2313265c421ce86 -eo pid,comm [2023-07-14T07:20:00.028Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-14T07:20:00.028Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-14T07:20:00.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T07:20:00.063Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T07:20:00.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T07:20:00.202Z] $ docker exec 7229f5097699bc67fa21e13218ca0b2fe58b5a63e41cac0ed2313265c421ce86 ssh-agent [2023-07-14T07:20:00.292Z] SSH_AUTH_SOCK=/tmp/ssh-DAQIG8MlEX7H/agent.33 [2023-07-14T07:20:00.292Z] SSH_AGENT_PID=39 [2023-07-14T07:20:00.297Z] Running ssh-add (command line suppressed) [2023-07-14T07:20:00.411Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16671833357243643676.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16671833357243643676.key) [2023-07-14T07:20:00.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T07:20:00.704Z] + git semver push [2023-07-14T07:20:00.963Z] 2023-07-14 07:20:00,929 [run_push] DEBUG push [2023-07-14T07:20:00.963Z] 2023-07-14 07:20:00,929 [execute] INFO git cat-file --batch-check [2023-07-14T07:20:00.963Z] 2023-07-14 07:20:00,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-14T07:20:00.963Z] 2023-07-14 07:20:00,934 [execute] INFO git rev-list c8c03d8d8b65c29e352e5612c766cec9bc2cc79d -- [2023-07-14T07:20:00.963Z] 2023-07-14 07:20:00,934 [execute] DEBUG Popen(['git', 'rev-list', 'c8c03d8d8b65c29e352e5612c766cec9bc2cc79d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-14T07:20:00.963Z] 2023-07-14 07:20:00,947 [execute] INFO git fetch -v origin [2023-07-14T07:20:00.963Z] 2023-07-14 07:20:00,947 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-14T07:20:01.543Z] 2023-07-14 07:20:01,437 [run_push] DEBUG no remote changes detected [2023-07-14T07:20:01.543Z] 2023-07-14 07:20:01,437 [execute] INFO git push origin semver [2023-07-14T07:20:01.543Z] 2023-07-14 07:20:01,438 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-14T07:20:02.483Z] 2023-07-14 07:20:02,472 [run_push] DEBUG push all version tags [2023-07-14T07:20:02.483Z] 2023-07-14 07:20:02,473 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-14T07:20:02.483Z] 2023-07-14 07:20:02,473 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-14T07:20:03.423Z] 2023-07-14 07:20:03,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-14T07:20:03.424Z] 3.1.0-dev.4 [Pipeline] } [2023-07-14T07:20:03.441Z] $ docker exec --env ******** --env ******** 7229f5097699bc67fa21e13218ca0b2fe58b5a63e41cac0ed2313265c421ce86 ssh-agent -k [2023-07-14T07:20:03.558Z] unset SSH_AUTH_SOCK; [2023-07-14T07:20:03.558Z] unset SSH_AGENT_PID; [2023-07-14T07:20:03.558Z] echo Agent pid 39 killed; [2023-07-14T07:20:03.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-14T07:20:03.870Z] + git semver [Pipeline] } [2023-07-14T07:20:04.153Z] $ docker stop --time=1 7229f5097699bc67fa21e13218ca0b2fe58b5a63e41cac0ed2313265c421ce86 [2023-07-14T07:20:05.495Z] $ docker rm -f --volumes 7229f5097699bc67fa21e13218ca0b2fe58b5a63e41cac0ed2313265c421ce86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-14T07:20:06.078Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-07-14T07:20:06.078Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-14T07:20:06.079Z] total 16 [2023-07-14T07:20:06.079Z] drwxr-xr-x 3 root root 4096 Jul 14 07:05 . [2023-07-14T07:20:06.079Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 14 07:19 .. [2023-07-14T07:20:06.079Z] drwxr-xr-x 2 root root 4096 Jul 14 07:05 cost [2023-07-14T07:20:06.079Z] -rw-r--r-- 1 root root 85 Jul 14 07:05 cost.csv [2023-07-14T07:20:06.079Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-14T07:20:06.079Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-14T07:20:06.079Z] total 16 [2023-07-14T07:20:06.079Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 07:05 . [2023-07-14T07:20:06.079Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 14 07:19 .. [2023-07-14T07:20:06.079Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 07:05 cost [2023-07-14T07:20:06.079Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 14 07:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:20:06.369Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:20:07.229Z] ---> package-listing.sh [2023-07-14T07:20:07.229Z] ++ facter osfamily [2023-07-14T07:20:07.229Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-14T07:20:07.489Z] + OS_FAMILY=debian [2023-07-14T07:20:07.489Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-07-14T07:20:07.489Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-14T07:20:07.489Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-14T07:20:07.489Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-14T07:20:07.489Z] + PACKAGES=/tmp/packages_start.txt [2023-07-14T07:20:07.489Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-14T07:20:07.489Z] + PACKAGES=/tmp/packages_end.txt [2023-07-14T07:20:07.489Z] + case "${OS_FAMILY}" in [2023-07-14T07:20:07.489Z] + dpkg -l [2023-07-14T07:20:07.489Z] + grep '^ii' [2023-07-14T07:20:07.489Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-14T07:20:07.489Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-14T07:20:07.489Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-14T07:20:07.489Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-14T07:20:07.489Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-07-14T07:20:07.489Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-07-14T07:20:07.498Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-14T07:20:07.774Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T07:20:08.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T07:20:08.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T07:20:08.407Z] prd-ubuntu20.04-docker-8c-8g-1137 does not seem to be running inside a container [2023-07-14T07:20:08.445Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-14T07:20:08.653Z] $ docker top 14729b2cbb1e5a4b7cfb016f32eb0fa90db0cc0ddac15ac059165d3372b373fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T07:20:09.073Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-14T07:20:09.397Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-14T07:20:09.684Z] + ls /var/log/sa-host [2023-07-14T07:20:09.685Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T07:20:09.835Z] provisioning config files... [2023-07-14T07:20:09.844Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1407701515419297716tmp [Pipeline] { [Pipeline] echo [2023-07-14T07:20:09.854Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:20:10.138Z] ---> create-netrc.sh [Pipeline] } [2023-07-14T07:20:10.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:20:10.476Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-14T07:20:10.483Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:20:10.765Z] ---> sudo-logs.sh [2023-07-14T07:20:10.765Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-14T07:20:10.786Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:20:11.067Z] ---> job-cost.sh [2023-07-14T07:20:11.067Z] lf-activate-venv: SKIPPING [2023-07-14T07:20:11.067Z] DEBUG: total: 0.2199999988079071 [2023-07-14T07:20:11.067Z] INFO: Retrieving Stack Cost... [2023-07-14T07:20:11.635Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-14T07:20:11.895Z] INFO: Archiving Costs [Pipeline] echo [2023-07-14T07:20:11.906Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T07:20:12.189Z] ---> logs-deploy.sh [2023-07-14T07:20:12.189Z] lf-activate-venv: SKIPPING [2023-07-14T07:20:12.189Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/232 [2023-07-14T07:20:12.189Z] INFO: archiving workspace using pattern(s): [2023-07-14T07:20:13.126Z] Archives upload complete. [2023-07-14T07:20:13.126Z] INFO: archiving logs to Nexus