Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10d83f9598abba3559abd072fcd7553d77fa119a 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-ssh17176909616512698233.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11708935406533253885.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10705248141538267846.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1484233353869830089.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-ssh12554494536568128304.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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5977 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 10d83f9598abba3559abd072fcd7553d77fa119a (main) Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#1511)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10d83f9598abba3559abd072fcd7553d77fa119a # timeout=10 > git rev-list --no-walk fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T20:45:00.950Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T20:45:01.013Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T20:45:01.027Z] ========================================================= [2023-09-12T20:45:01.027Z] EdgeX Global Pipelines Version Info [2023-09-12T20:45:01.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:45:01.752Z] ------------------- [2023-09-12T20:45:01.753Z] stable info: [2023-09-12T20:45:01.753Z] ------------------- [2023-09-12T20:45:01.753Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T20:45:01.753Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T20:45:01.753Z] Message: update stable to v1.0.254 [2023-09-12T20:45:02.320Z] ------------------- [2023-09-12T20:45:02.320Z] experimental info: [2023-09-12T20:45:02.320Z] ------------------- [2023-09-12T20:45:02.320Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T20:45:02.320Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T20:45:02.320Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T20:45:02.528Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-12T20:45:02.543Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-12T20:45:02.556Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T20:45:02.574Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T20:45:02.592Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T20:45:02.606Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T20:45:02.620Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T20:45:02.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-12T20:45:02.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T20:45:02.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T20:45:02.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T20:45:02.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-12T20:45:02.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T20:45:02.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T20:45:02.740Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T20:45:02.759Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T20:45:02.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T20:45:02.785Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T20:45:02.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T20:45:02.813Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T20:45:02.829Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-12T20:45:02.842Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-12T20:45:02.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T20:45:02.870Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T20:45:02.884Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T20:45:02.896Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T20:45:02.909Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T20:45:02.923Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T20:45:02.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T20:45:02.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T20:45:02.960Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] echo [2023-09-12T20:45:02.979Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10d83f9 [Pipeline] echo [2023-09-12T20:45:02.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T20:45:03.037Z] provisioning config files... [2023-09-12T20:45:03.050Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18075775881415103840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:45:03.353Z] ---> docker-login.sh [2023-09-12T20:45:03.354Z] nexus3.edgexfoundry.org:10001 [2023-09-12T20:45:03.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:03.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:03.613Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:03.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:03.613Z] [2023-09-12T20:45:03.613Z] Login Succeeded [2023-09-12T20:45:03.613Z] nexus3.edgexfoundry.org:10002 [2023-09-12T20:45:03.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:03.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:03.613Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:03.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:03.613Z] [2023-09-12T20:45:03.613Z] Login Succeeded [2023-09-12T20:45:03.613Z] nexus3.edgexfoundry.org:10003 [2023-09-12T20:45:03.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:03.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:03.873Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:03.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:03.873Z] [2023-09-12T20:45:03.873Z] Login Succeeded [2023-09-12T20:45:03.873Z] nexus3.edgexfoundry.org:10004 [2023-09-12T20:45:03.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:03.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:03.873Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:03.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:03.873Z] [2023-09-12T20:45:03.873Z] Login Succeeded [2023-09-12T20:45:03.873Z] docker.io [2023-09-12T20:45:04.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:04.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:04.393Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:04.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:04.393Z] [2023-09-12T20:45:04.393Z] Login Succeeded [2023-09-12T20:45:04.393Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T20:45:04.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T20:45:04.794Z] + git rev-list -1 --merges 10d83f9598abba3559abd072fcd7553d77fa119a~1..10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] echo [2023-09-12T20:45:04.843Z] -----------> git rev-list -1 --merges 10d83f9598abba3559abd072fcd7553d77fa119a~1..10d83f9598abba3559abd072fcd7553d77fa119a 10d83f9598abba3559abd072fcd7553d77fa119a [false] [Pipeline] sh [2023-09-12T20:45:05.135Z] + git log --format=format:%s -1 10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] echo [2023-09-12T20:45:05.151Z] ========================================================= [2023-09-12T20:45:05.151Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T20:45:05.151Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T20:45:05.471Z] + git log --format=format:%s -1 10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] echo [2023-09-12T20:45:05.481Z] [semverPrep] GIT_COMMIT: 10d83f9598abba3559abd072fcd7553d77fa119a, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#1511) [Pipeline] echo [2023-09-12T20:45:05.489Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T20:45:05.851Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T20:45:05.851Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T20:45:05.851Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T20:45:05.851Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T20:45:05.851Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T20:45:05.851Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T20:45:05.851Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:45:06.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:45:06.191Z] [2023-09-12T20:45:06.191Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:45:06.501Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:45:06.501Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T20:45:06.501Z] b85a868b505f: Pulling fs layer [2023-09-12T20:45:06.502Z] e2be974225ed: Pulling fs layer [2023-09-12T20:45:06.502Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T20:45:06.502Z] 988bab9f4d93: Pulling fs layer [2023-09-12T20:45:06.502Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T20:45:06.502Z] eaf3925da568: Pulling fs layer [2023-09-12T20:45:06.502Z] bab4dde63d76: Pulling fs layer [2023-09-12T20:45:06.502Z] bde34c3a00c8: Pulling fs layer [2023-09-12T20:45:06.502Z] b352a97aabf1: Pulling fs layer [2023-09-12T20:45:06.502Z] 4872d77fe225: Pulling fs layer [2023-09-12T20:45:06.502Z] 5851b861e8e6: Pulling fs layer [2023-09-12T20:45:06.502Z] 988bab9f4d93: Waiting [2023-09-12T20:45:06.502Z] 1469e6f7b9e6: Waiting [2023-09-12T20:45:06.502Z] eaf3925da568: Waiting [2023-09-12T20:45:06.502Z] 4872d77fe225: Waiting [2023-09-12T20:45:06.502Z] 5851b861e8e6: Waiting [2023-09-12T20:45:06.502Z] bab4dde63d76: Waiting [2023-09-12T20:45:06.502Z] bde34c3a00c8: Waiting [2023-09-12T20:45:06.502Z] b352a97aabf1: Waiting [2023-09-12T20:45:06.502Z] e2be974225ed: Verifying Checksum [2023-09-12T20:45:06.502Z] e2be974225ed: Download complete [2023-09-12T20:45:06.502Z] 988bab9f4d93: Download complete [2023-09-12T20:45:06.502Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T20:45:06.502Z] 1469e6f7b9e6: Download complete [2023-09-12T20:45:06.502Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T20:45:06.502Z] 339a4e72a1f5: Download complete [2023-09-12T20:45:06.502Z] eaf3925da568: Verifying Checksum [2023-09-12T20:45:06.502Z] eaf3925da568: Download complete [2023-09-12T20:45:06.762Z] bde34c3a00c8: Verifying Checksum [2023-09-12T20:45:06.762Z] bde34c3a00c8: Download complete [2023-09-12T20:45:06.762Z] b352a97aabf1: Verifying Checksum [2023-09-12T20:45:06.762Z] b352a97aabf1: Download complete [2023-09-12T20:45:06.762Z] 4872d77fe225: Verifying Checksum [2023-09-12T20:45:06.762Z] 4872d77fe225: Download complete [2023-09-12T20:45:06.762Z] 5851b861e8e6: Download complete [2023-09-12T20:45:06.762Z] b85a868b505f: Download complete [2023-09-12T20:45:07.020Z] bab4dde63d76: Verifying Checksum [2023-09-12T20:45:07.020Z] bab4dde63d76: Download complete [2023-09-12T20:45:07.957Z] b85a868b505f: Pull complete [2023-09-12T20:45:08.216Z] e2be974225ed: Pull complete [2023-09-12T20:45:08.475Z] 339a4e72a1f5: Pull complete [2023-09-12T20:45:08.735Z] 988bab9f4d93: Pull complete [2023-09-12T20:45:08.994Z] 1469e6f7b9e6: Pull complete [2023-09-12T20:45:08.994Z] eaf3925da568: Pull complete [2023-09-12T20:45:10.902Z] bab4dde63d76: Pull complete [2023-09-12T20:45:10.902Z] bde34c3a00c8: Pull complete [2023-09-12T20:45:10.902Z] b352a97aabf1: Pull complete [2023-09-12T20:45:10.902Z] 4872d77fe225: Pull complete [2023-09-12T20:45:10.902Z] 5851b861e8e6: Pull complete [2023-09-12T20:45:10.902Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T20:45:10.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:45:10.902Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:45:10.997Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:45:11.029Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T20:45:13.607Z] $ docker top 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f -eo pid,comm [2023-09-12T20:45:13.663Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-12T20:45:13.663Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T20:45:13.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T20:45:13.703Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T20:45:13.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T20:45:13.800Z] $ docker exec 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f ssh-agent [2023-09-12T20:45:13.897Z] SSH_AUTH_SOCK=/tmp/ssh-gcgeruBcIJhT/agent.31 [2023-09-12T20:45:13.897Z] SSH_AGENT_PID=37 [2023-09-12T20:45:13.903Z] Running ssh-add (command line suppressed) [2023-09-12T20:45:13.999Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14811667856926464108.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14811667856926464108.key) [2023-09-12T20:45:14.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T20:45:14.309Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T20:45:14.316Z] $ docker exec --env ******** --env ******** 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f ssh-agent -k [2023-09-12T20:45:14.411Z] unset SSH_AUTH_SOCK; [2023-09-12T20:45:14.411Z] unset SSH_AGENT_PID; [2023-09-12T20:45:14.411Z] echo Agent pid 37 killed; [2023-09-12T20:45:14.426Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T20:45:14.452Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T20:45:14.452Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T20:45:14.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T20:45:14.550Z] $ docker exec 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f ssh-agent [2023-09-12T20:45:14.668Z] SSH_AUTH_SOCK=/tmp/ssh-Nz5TkmFKQBV8/agent.69 [2023-09-12T20:45:14.668Z] SSH_AGENT_PID=75 [2023-09-12T20:45:14.672Z] Running ssh-add (command line suppressed) [2023-09-12T20:45:14.784Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16661277611614345419.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16661277611614345419.key) [2023-09-12T20:45:14.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T20:45:15.089Z] + git semver init [2023-09-12T20:45:15.350Z] 2023-09-12 20:45:15,263 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T20:45:15.350Z] 2023-09-12 20:45:15,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-12T20:45:15.350Z] 2023-09-12 20:45:15,265 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-12T20:45:15.350Z] 2023-09-12 20:45:15,265 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T20:45:16.286Z] 2023-09-12 20:45:16,204 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-12T20:45:16.286Z] 2023-09-12 20:45:16,205 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-12T20:45:16.286Z] 2023-09-12 20:45:16,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T20:45:16.286Z] 2023-09-12 20:45:16,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T20:45:16.286Z] 3.1.0-dev.23 [Pipeline] } [2023-09-12T20:45:16.291Z] $ docker exec --env ******** --env ******** 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f ssh-agent -k [2023-09-12T20:45:16.385Z] unset SSH_AUTH_SOCK; [2023-09-12T20:45:16.386Z] unset SSH_AGENT_PID; [2023-09-12T20:45:16.386Z] echo Agent pid 75 killed; [2023-09-12T20:45:16.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T20:45:16.698Z] + git semver [Pipeline] } [2023-09-12T20:45:16.962Z] $ docker stop --time=1 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f [2023-09-12T20:45:18.283Z] $ docker rm -f --volumes 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T20:45:18.629Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T20:45:18.820Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T20:45:18.823Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T20:45:18.968Z] provisioning config files... [2023-09-12T20:45:18.977Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7802621480006504077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:45:19.270Z] ---> docker-login.sh [2023-09-12T20:45:19.270Z] nexus3.edgexfoundry.org:10001 [2023-09-12T20:45:19.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:19.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:19.270Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:19.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:19.270Z] [2023-09-12T20:45:19.270Z] Login Succeeded [2023-09-12T20:45:19.270Z] nexus3.edgexfoundry.org:10002 [2023-09-12T20:45:19.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:19.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:19.270Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:19.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:19.270Z] [2023-09-12T20:45:19.270Z] Login Succeeded [2023-09-12T20:45:19.270Z] nexus3.edgexfoundry.org:10003 [2023-09-12T20:45:19.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:19.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:19.529Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:19.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:19.529Z] [2023-09-12T20:45:19.529Z] Login Succeeded [2023-09-12T20:45:19.529Z] nexus3.edgexfoundry.org:10004 [2023-09-12T20:45:19.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:19.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:19.529Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:19.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:19.529Z] [2023-09-12T20:45:19.529Z] Login Succeeded [2023-09-12T20:45:19.529Z] docker.io [2023-09-12T20:45:19.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:45:19.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:45:19.788Z] Configure a credential helper to remove this warning. See [2023-09-12T20:45:19.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:45:19.788Z] [2023-09-12T20:45:19.788Z] Login Succeeded [2023-09-12T20:45:19.788Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T20:45:19.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T20:45:19.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T20:45:19.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T20:45:19.875Z] ========================================================= [2023-09-12T20:45:19.875Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T20:45:19.875Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:45:20.185Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T20:45:20.185Z] Sending build context to Docker daemon 11.1MB [2023-09-12T20:45:20.185Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T20:45:20.185Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T20:45:20.185Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T20:45:20.185Z] 7264a8db6415: Pulling fs layer [2023-09-12T20:45:20.185Z] c4d48a809fc2: Pulling fs layer [2023-09-12T20:45:20.185Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T20:45:20.185Z] ad3a456e5733: Pulling fs layer [2023-09-12T20:45:20.185Z] 9e4f439ed901: Pulling fs layer [2023-09-12T20:45:20.185Z] feaf6a47b606: Pulling fs layer [2023-09-12T20:45:20.185Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T20:45:20.185Z] 8ac70367396e: Pulling fs layer [2023-09-12T20:45:20.185Z] 6db16350a2e2: Pulling fs layer [2023-09-12T20:45:20.185Z] 9250d5d63582: Pulling fs layer [2023-09-12T20:45:20.185Z] feaf6a47b606: Waiting [2023-09-12T20:45:20.185Z] 5e8b037d7d82: Waiting [2023-09-12T20:45:20.185Z] 8ac70367396e: Waiting [2023-09-12T20:45:20.185Z] 9250d5d63582: Waiting [2023-09-12T20:45:20.185Z] 6db16350a2e2: Waiting [2023-09-12T20:45:20.185Z] ad3a456e5733: Waiting [2023-09-12T20:45:20.445Z] c4d48a809fc2: Download complete [2023-09-12T20:45:20.445Z] ad3a456e5733: Verifying Checksum [2023-09-12T20:45:20.445Z] ad3a456e5733: Download complete [2023-09-12T20:45:20.445Z] 9e4f439ed901: Verifying Checksum [2023-09-12T20:45:20.445Z] 9e4f439ed901: Download complete [2023-09-12T20:45:20.445Z] 7264a8db6415: Verifying Checksum [2023-09-12T20:45:20.445Z] 7264a8db6415: Download complete [2023-09-12T20:45:20.445Z] feaf6a47b606: Verifying Checksum [2023-09-12T20:45:20.445Z] feaf6a47b606: Download complete [2023-09-12T20:45:20.445Z] 7264a8db6415: Pull complete [2023-09-12T20:45:20.703Z] 8ac70367396e: Verifying Checksum [2023-09-12T20:45:20.703Z] 8ac70367396e: Download complete [2023-09-12T20:45:20.703Z] c4d48a809fc2: Pull complete [2023-09-12T20:45:20.703Z] 4f1c88b9dad5: Download complete [2023-09-12T20:45:20.972Z] 6db16350a2e2: Verifying Checksum [2023-09-12T20:45:20.972Z] 6db16350a2e2: Download complete [2023-09-12T20:45:21.231Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T20:45:21.231Z] 5e8b037d7d82: Download complete [2023-09-12T20:45:21.231Z] 9250d5d63582: Verifying Checksum [2023-09-12T20:45:21.231Z] 9250d5d63582: Download complete [2023-09-12T20:45:23.761Z] 4f1c88b9dad5: Pull complete [2023-09-12T20:45:23.761Z] ad3a456e5733: Pull complete [2023-09-12T20:45:23.761Z] 9e4f439ed901: Pull complete [2023-09-12T20:45:24.021Z] feaf6a47b606: Pull complete [2023-09-12T20:45:25.920Z] 5e8b037d7d82: Pull complete [2023-09-12T20:45:26.485Z] 8ac70367396e: Pull complete [2023-09-12T20:45:26.744Z] 6db16350a2e2: Pull complete [2023-09-12T20:45:27.309Z] 9250d5d63582: Pull complete [2023-09-12T20:45:27.309Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T20:45:27.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T20:45:27.309Z] ---> fa269f55d9b9 [2023-09-12T20:45:27.309Z] Step 3/10 : ARG MAKE=make build [2023-09-12T20:45:32.578Z] ---> Running in 68934c1666f7 [2023-09-12T20:45:32.578Z] Removing intermediate container 68934c1666f7 [2023-09-12T20:45:32.578Z] ---> 6c6c4a385962 [2023-09-12T20:45:32.578Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T20:45:32.578Z] ---> Running in 83e70648d5e6 [2023-09-12T20:45:32.578Z] Removing intermediate container 83e70648d5e6 [2023-09-12T20:45:32.578Z] ---> cc49d8522b70 [2023-09-12T20:45:32.578Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T20:45:32.578Z] ---> Running in 95bb0d62f051 [2023-09-12T20:45:32.578Z] Removing intermediate container 95bb0d62f051 [2023-09-12T20:45:32.578Z] ---> 5cf10050eda8 [2023-09-12T20:45:32.578Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T20:45:32.578Z] ---> Running in db91049fe41d [2023-09-12T20:45:32.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T20:45:32.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T20:45:32.578Z] OK: 265 MiB in 56 packages [2023-09-12T20:45:32.836Z] Removing intermediate container db91049fe41d [2023-09-12T20:45:32.836Z] ---> 3330e36ae630 [2023-09-12T20:45:32.836Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T20:45:32.836Z] ---> 4be6b590c31f [2023-09-12T20:45:32.836Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T20:45:32.836Z] ---> Running in a57dd93342a7 [2023-09-12T20:45:33.923Z] Still waiting to schedule task [2023-09-12T20:45:33.924Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T20:46:11.703Z] Removing intermediate container a57dd93342a7 [2023-09-12T20:46:11.703Z] ---> 62d9752195f7 [2023-09-12T20:46:11.703Z] Step 9/10 : COPY . . [2023-09-12T20:46:11.703Z] ---> 27ef453c04a2 [2023-09-12T20:46:11.703Z] Step 10/10 : RUN ${MAKE} [2023-09-12T20:46:11.703Z] ---> Running in 1220f39ab54f [2023-09-12T20:46:11.703Z] noop [2023-09-12T20:46:11.703Z] Removing intermediate container 1220f39ab54f [2023-09-12T20:46:11.703Z] ---> e3c5eb0d63da [2023-09-12T20:46:11.703Z] Successfully built e3c5eb0d63da [2023-09-12T20:46:11.703Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:46:12.006Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T20:46:12.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:46:12.075Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:46:12.101Z] $ 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 ******** ci-base-image-x86_64 cat [2023-09-12T20:46:12.418Z] $ docker top b72079e244a517ca1d044969995bbb8bb823406f826c5f1b95323cfc37af1c0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:46:12.779Z] + go version [2023-09-12T20:46:12.779Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T20:46:12.771Z] $ docker stop --time=1 b72079e244a517ca1d044969995bbb8bb823406f826c5f1b95323cfc37af1c0a [2023-09-12T20:46:14.232Z] $ docker rm -f --volumes b72079e244a517ca1d044969995bbb8bb823406f826c5f1b95323cfc37af1c0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:46:14.658Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T20:46:14.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:46:14.721Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:46:14.732Z] $ 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 ******** ci-base-image-x86_64 cat [2023-09-12T20:46:15.033Z] $ docker top b0d747a8bffacc543e81db08b72e6d1c3f0ac9649af5f3cb5b428b885c6879b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:46:15.390Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T20:46:15.686Z] + make test [2023-09-12T20:46:15.686Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T20:46:21.879Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T20:46:36.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T20:46:36.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T20:46:36.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T20:46:36.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T20:46:36.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T20:46:36.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T20:46:36.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T20:46:36.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.057s coverage: 27.6% of statements [2023-09-12T20:46:36.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T20:46:36.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.040s coverage: 80.2% of statements [2023-09-12T20:46:36.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.056s coverage: 86.0% of statements [2023-09-12T20:46:37.306Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.076s coverage: 71.8% of statements [2023-09-12T20:46:37.306Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T20:46:37.306Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T20:46:37.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T20:46:40.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.1% of statements [2023-09-12T20:46:40.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.163s coverage: 44.2% of statements [2023-09-12T20:46:40.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements [2023-09-12T20:46:40.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.110s coverage: 89.2% of statements [2023-09-12T20:46:40.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-09-12T20:46:55.758Z] GO111MODULE=on go vet ./... [2023-09-12T20:46:59.036Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T20:46:59.036Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T20:46:59.036Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T20:46:59.047Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T20:46:59.038Z] $ docker stop --time=1 b0d747a8bffacc543e81db08b72e6d1c3f0ac9649af5f3cb5b428b885c6879b3 [2023-09-12T20:47:02.339Z] $ docker rm -f --volumes b0d747a8bffacc543e81db08b72e6d1c3f0ac9649af5f3cb5b428b885c6879b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T20:47:02.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T20:47:02.983Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T20:47:03.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T20:47:03.850Z] + ls -al . [2023-09-12T20:47:03.850Z] total 304 [2023-09-12T20:47:03.850Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 20:46 . [2023-09-12T20:47:03.850Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:44 .. [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 20:45 .dockerignore [2023-09-12T20:47:03.850Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:46 .git [2023-09-12T20:47:03.850Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:45 .github [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 20:45 .gitignore [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 20:45 .golangci.yml [2023-09-12T20:47:03.850Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:45 .semver [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 20:45 CHANGELOG.md [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:45 GOVERNANCE.md [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 20:45 Jenkinsfile [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 20:45 LICENSE [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 20:45 Makefile [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 20:45 OWNERS.md [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 20:45 README.md [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 20:45 VERSION [2023-09-12T20:47:03.850Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:45 bin [2023-09-12T20:47:03.850Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 20:46 coverage.out [2023-09-12T20:47:03.850Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 20:45 example [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 20:45 go.mod [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 20:45 go.sum [2023-09-12T20:47:03.850Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:45 internal [2023-09-12T20:47:03.850Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:45 openapi [2023-09-12T20:47:03.850Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 20:45 pkg [2023-09-12T20:47:03.850Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:45 snap [2023-09-12T20:47:03.850Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:47:04.151Z] + 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=10d83f9598abba3559abd072fcd7553d77fa119a --label arch=amd64 --label version=3.1.0-dev.23 . [2023-09-12T20:47:04.151Z] Sending build context to Docker daemon 11.22MB [2023-09-12T20:47:04.151Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T20:47:04.151Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T20:47:04.151Z] ---> e3c5eb0d63da [2023-09-12T20:47:04.151Z] Step 3/23 : ARG MAKE=make build [2023-09-12T20:47:04.409Z] ---> Running in 76630977a520 [2023-09-12T20:47:04.409Z] Removing intermediate container 76630977a520 [2023-09-12T20:47:04.409Z] ---> 2d2cdc13787a [2023-09-12T20:47:04.409Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T20:47:04.409Z] ---> Running in 2bbd3154bdc1 [2023-09-12T20:47:04.409Z] Removing intermediate container 2bbd3154bdc1 [2023-09-12T20:47:04.409Z] ---> 13a83395ca76 [2023-09-12T20:47:04.409Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T20:47:04.670Z] ---> Running in 1155590f20cd [2023-09-12T20:47:04.670Z] Removing intermediate container 1155590f20cd [2023-09-12T20:47:04.670Z] ---> 49aae7812e0f [2023-09-12T20:47:04.670Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T20:47:04.670Z] ---> Running in a43c46da48c7 [2023-09-12T20:47:04.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T20:47:05.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T20:47:05.444Z] OK: 265 MiB in 56 packages [2023-09-12T20:47:05.703Z] Removing intermediate container a43c46da48c7 [2023-09-12T20:47:05.703Z] ---> ccbb89faabf8 [2023-09-12T20:47:05.703Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T20:47:05.703Z] ---> fdabc7b8b94f [2023-09-12T20:47:05.703Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T20:47:05.703Z] ---> Running in 6b846f4dc1fc [2023-09-12T20:47:06.272Z] Removing intermediate container 6b846f4dc1fc [2023-09-12T20:47:06.272Z] ---> 742d4750da4b [2023-09-12T20:47:06.272Z] Step 9/23 : COPY . . [2023-09-12T20:47:06.931Z] ---> 607185109a4c [2023-09-12T20:47:06.931Z] Step 10/23 : RUN ${MAKE} [2023-09-12T20:47:06.931Z] ---> Running in 19c3f520da40 [2023-09-12T20:47:07.188Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.23" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T20:47:25.285Z] Removing intermediate container 19c3f520da40 [2023-09-12T20:47:25.285Z] ---> 2f49a5bdca82 [2023-09-12T20:47:25.285Z] Step 11/23 : FROM alpine:3.18 [2023-09-12T20:47:25.285Z] 3.18: Pulling from library/alpine [2023-09-12T20:47:25.285Z] 7264a8db6415: Already exists [2023-09-12T20:47:25.285Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T20:47:25.285Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T20:47:25.285Z] ---> 7e01a0d0a1dc [2023-09-12T20:47:25.285Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T20:47:25.285Z] ---> Running in 2adb5fc82483 [2023-09-12T20:47:25.286Z] Removing intermediate container 2adb5fc82483 [2023-09-12T20:47:25.286Z] ---> f12aec8b1ecf [2023-09-12T20:47:25.286Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T20:47:25.286Z] ---> Running in 50bdcc6fe4dc [2023-09-12T20:47:25.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T20:47:25.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T20:47:25.544Z] OK: 7 MiB in 15 packages [2023-09-12T20:47:25.804Z] Removing intermediate container 50bdcc6fe4dc [2023-09-12T20:47:25.804Z] ---> f6af38632830 [2023-09-12T20:47:25.804Z] Step 14/23 : WORKDIR / [2023-09-12T20:47:25.804Z] ---> Running in f889f74dc23a [2023-09-12T20:47:26.063Z] Removing intermediate container f889f74dc23a [2023-09-12T20:47:26.063Z] ---> 27a88d68d663 [2023-09-12T20:47:26.063Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T20:47:26.063Z] ---> d734b1a9690f [2023-09-12T20:47:26.063Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T20:47:27.040Z] ---> 7e09259d7392 [2023-09-12T20:47:27.040Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T20:47:27.298Z] ---> 0c98772608fe [2023-09-12T20:47:27.298Z] Step 18/23 : EXPOSE 59999 [2023-09-12T20:47:27.298Z] ---> Running in 098936efa69e [2023-09-12T20:47:27.298Z] Removing intermediate container 098936efa69e [2023-09-12T20:47:27.298Z] ---> 90692264a53c [2023-09-12T20:47:27.298Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T20:47:27.298Z] ---> Running in 24aab69c0736 [2023-09-12T20:47:27.298Z] Removing intermediate container 24aab69c0736 [2023-09-12T20:47:27.298Z] ---> b0aedac4352c [2023-09-12T20:47:27.298Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T20:47:27.298Z] ---> Running in 7d5a124d0c82 [2023-09-12T20:47:27.556Z] Removing intermediate container 7d5a124d0c82 [2023-09-12T20:47:27.556Z] ---> 6f3f8b465739 [2023-09-12T20:47:27.556Z] Step 21/23 : LABEL arch=amd64 [2023-09-12T20:47:27.556Z] ---> Running in a92c2834947a [2023-09-12T20:47:27.556Z] Removing intermediate container a92c2834947a [2023-09-12T20:47:27.556Z] ---> 2547a45ce67e [2023-09-12T20:47:27.556Z] Step 22/23 : LABEL git_sha=10d83f9598abba3559abd072fcd7553d77fa119a [2023-09-12T20:47:27.556Z] ---> Running in 377d9f7c8529 [2023-09-12T20:47:27.556Z] Removing intermediate container 377d9f7c8529 [2023-09-12T20:47:27.556Z] ---> 2cc87da789b8 [2023-09-12T20:47:27.556Z] Step 23/23 : LABEL version=3.1.0-dev.23 [2023-09-12T20:47:27.556Z] ---> Running in 4cecb20000ef [2023-09-12T20:47:27.814Z] Removing intermediate container 4cecb20000ef [2023-09-12T20:47:27.814Z] ---> 26733289f302 [2023-09-12T20:47:27.814Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T20:47:27.814Z] Successfully built 26733289f302 [2023-09-12T20:47:27.814Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:47:28.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T20:47:28.268Z] [2023-09-12T20:47:28.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:47:28.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T20:47:28.561Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T20:47:28.561Z] 5eb5b503b376: Pulling fs layer [2023-09-12T20:47:28.561Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T20:47:28.561Z] ec43610c2a17: Pulling fs layer [2023-09-12T20:47:28.561Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T20:47:28.561Z] 33b1e0a273af: Pulling fs layer [2023-09-12T20:47:28.561Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T20:47:28.561Z] 2f39f015ded8: Pulling fs layer [2023-09-12T20:47:28.561Z] 3a2ae6a8a46f: Waiting [2023-09-12T20:47:28.561Z] 33b1e0a273af: Waiting [2023-09-12T20:47:28.561Z] 2f39f015ded8: Waiting [2023-09-12T20:47:28.561Z] 5d3b04190fa2: Waiting [2023-09-12T20:47:28.561Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T20:47:28.561Z] 5c69ac0246d0: Download complete [2023-09-12T20:47:28.561Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T20:47:28.561Z] 3a2ae6a8a46f: Download complete [2023-09-12T20:47:28.561Z] 33b1e0a273af: Verifying Checksum [2023-09-12T20:47:28.561Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T20:47:28.561Z] 5d3b04190fa2: Download complete [2023-09-12T20:47:28.561Z] ec43610c2a17: Verifying Checksum [2023-09-12T20:47:28.561Z] ec43610c2a17: Download complete [2023-09-12T20:47:28.819Z] 5eb5b503b376: Verifying Checksum [2023-09-12T20:47:28.819Z] 5eb5b503b376: Download complete [2023-09-12T20:47:29.383Z] 2f39f015ded8: Verifying Checksum [2023-09-12T20:47:29.383Z] 2f39f015ded8: Download complete [2023-09-12T20:47:29.949Z] 5eb5b503b376: Pull complete [2023-09-12T20:47:29.949Z] 5c69ac0246d0: Pull complete [2023-09-12T20:47:30.514Z] ec43610c2a17: Pull complete [2023-09-12T20:47:30.514Z] 3a2ae6a8a46f: Pull complete [2023-09-12T20:47:30.514Z] 33b1e0a273af: Pull complete [2023-09-12T20:47:30.772Z] 5d3b04190fa2: Pull complete [2023-09-12T20:47:34.954Z] 2f39f015ded8: Pull complete [2023-09-12T20:47:34.954Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T20:47:34.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T20:47:34.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:47:35.036Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:47:35.051Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T20:47:38.343Z] $ docker top ccf6f3b8e5fc24bfe3d9a34949e7b94cb31299b6bf471d7f618e75bfd03ea017 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:47:38.749Z] ---> job-cost.sh [2023-09-12T20:47:38.749Z] lf-activate-venv: SKIPPING [2023-09-12T20:47:38.749Z] INFO: No Stack... [2023-09-12T20:47:39.009Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T20:47:39.268Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T20:47:39.556Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-12T20:47:39.556Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T20:47:39.571Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [2023-09-12T20:47:39.577Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] did not exist. Created. [2023-09-12T20:47:39.577Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T20:47:39.889Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T20:47:39.925Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T20:47:39.931Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T20:47:39.926Z] $ docker stop --time=1 ccf6f3b8e5fc24bfe3d9a34949e7b94cb31299b6bf471d7f618e75bfd03ea017 [2023-09-12T20:47:41.065Z] $ docker rm -f --volumes ccf6f3b8e5fc24bfe3d9a34949e7b94cb31299b6bf471d7f618e75bfd03ea017 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T20:48:18.636Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5979 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-12T20:48:18.649Z] Running in /w/workspace/device-sdk-go/252 [Pipeline] { [Pipeline] checkout [2023-09-12T20:48:18.690Z] The recommended git tool is: git [2023-09-12T20:48:24.419Z] using credential edgex-jenkins-ssh [2023-09-12T20:48:24.439Z] Cloning the remote Git repository [2023-09-12T20:48:24.481Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T20:48:24.591Z] > git init /w/workspace/device-sdk-go/252 # timeout=10 [2023-09-12T20:48:24.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T20:48:24.749Z] > git --version # timeout=10 [2023-09-12T20:48:24.768Z] > git --version # 'git version 2.25.1' [2023-09-12T20:48:24.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T20:48:24.936Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T20:48:26.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T20:48:26.634Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T20:48:27.628Z] Avoid second fetch [2023-09-12T20:48:27.629Z] Checking out Revision 10d83f9598abba3559abd072fcd7553d77fa119a (main) [2023-09-12T20:48:28.255Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#1511)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T20:48:27.637Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T20:48:27.714Z] > git checkout -f 10d83f9598abba3559abd072fcd7553d77fa119a # timeout=10 [2023-09-12T20:48:29.154Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T20:48:29.154Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T20:48:29.154Z] Dload Upload Total Spent Left Speed [2023-09-12T20:48:29.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-09-12T20:48:29.809Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T20:48:30.159Z] + sudo tee /etc/docker/daemon.new [2023-09-12T20:48:30.159Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T20:48:30.159Z] { [2023-09-12T20:48:30.159Z] "registry-mirrors": [ [2023-09-12T20:48:30.159Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T20:48:30.159Z] ], [2023-09-12T20:48:30.159Z] "bip": "10.250.0.254/24", [2023-09-12T20:48:30.159Z] "hosts": [ [2023-09-12T20:48:30.159Z] "tcp://0.0.0.0:5555", [2023-09-12T20:48:30.159Z] "unix:///var/run/docker.sock" [2023-09-12T20:48:30.159Z] ], [2023-09-12T20:48:30.159Z] "mtu": 1458, [2023-09-12T20:48:30.159Z] "selinux-enabled": true, [2023-09-12T20:48:30.159Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T20:48:30.159Z] } [Pipeline] sh [2023-09-12T20:48:30.493Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T20:48:30.834Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T20:48:52.975Z] provisioning config files... [2023-09-12T20:48:53.010Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/252@tmp/config17273691174884468116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:48:53.381Z] ---> docker-login.sh [2023-09-12T20:48:53.381Z] nexus3.edgexfoundry.org:10001 [2023-09-12T20:48:53.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:48:54.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:48:54.244Z] Configure a credential helper to remove this warning. See [2023-09-12T20:48:54.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:48:54.244Z] [2023-09-12T20:48:54.244Z] Login Succeeded [2023-09-12T20:48:54.244Z] nexus3.edgexfoundry.org:10002 [2023-09-12T20:48:54.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:48:54.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:48:54.516Z] Configure a credential helper to remove this warning. See [2023-09-12T20:48:54.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:48:54.516Z] [2023-09-12T20:48:54.516Z] Login Succeeded [2023-09-12T20:48:54.516Z] nexus3.edgexfoundry.org:10003 [2023-09-12T20:48:54.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:48:54.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:48:54.785Z] Configure a credential helper to remove this warning. See [2023-09-12T20:48:54.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:48:54.785Z] [2023-09-12T20:48:54.785Z] Login Succeeded [2023-09-12T20:48:54.785Z] nexus3.edgexfoundry.org:10004 [2023-09-12T20:48:55.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:48:55.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:48:55.325Z] Configure a credential helper to remove this warning. See [2023-09-12T20:48:55.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:48:55.325Z] [2023-09-12T20:48:55.325Z] Login Succeeded [2023-09-12T20:48:55.325Z] docker.io [2023-09-12T20:48:55.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:48:55.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:48:55.912Z] Configure a credential helper to remove this warning. See [2023-09-12T20:48:55.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:48:55.912Z] [2023-09-12T20:48:55.912Z] Login Succeeded [2023-09-12T20:48:55.912Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T20:48:55.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T20:48:56.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T20:48:56.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T20:48:56.264Z] ========================================================= [2023-09-12T20:48:56.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T20:48:56.264Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:48:56.632Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T20:48:56.905Z] Sending build context to Docker daemon 5.93MB [2023-09-12T20:48:56.905Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T20:48:56.905Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T20:48:57.178Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T20:48:57.178Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T20:48:57.178Z] 5d54e960e981: Pulling fs layer [2023-09-12T20:48:57.178Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T20:48:57.178Z] f0e02332f6b5: Pulling fs layer [2023-09-12T20:48:57.178Z] 66412af1f25a: Pulling fs layer [2023-09-12T20:48:57.178Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T20:48:57.178Z] 9a37bb91b891: Pulling fs layer [2023-09-12T20:48:57.178Z] a29adfc67d43: Pulling fs layer [2023-09-12T20:48:57.178Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T20:48:57.178Z] f0e02332f6b5: Waiting [2023-09-12T20:48:57.178Z] 66412af1f25a: Waiting [2023-09-12T20:48:57.178Z] 9a37bb91b891: Waiting [2023-09-12T20:48:57.178Z] 1baf3a5c0e64: Waiting [2023-09-12T20:48:57.178Z] a29adfc67d43: Waiting [2023-09-12T20:48:57.178Z] d5de9f91c1a4: Waiting [2023-09-12T20:48:57.178Z] 5d54e960e981: Verifying Checksum [2023-09-12T20:48:57.178Z] 5d54e960e981: Download complete [2023-09-12T20:48:57.178Z] f0e02332f6b5: Verifying Checksum [2023-09-12T20:48:57.178Z] f0e02332f6b5: Download complete [2023-09-12T20:48:57.178Z] 66412af1f25a: Download complete [2023-09-12T20:48:57.178Z] 9fda8d8052c6: Verifying Checksum [2023-09-12T20:48:57.178Z] 9fda8d8052c6: Download complete [2023-09-12T20:48:57.774Z] 9a37bb91b891: Verifying Checksum [2023-09-12T20:48:57.774Z] 9a37bb91b891: Download complete [2023-09-12T20:48:58.365Z] a29adfc67d43: Verifying Checksum [2023-09-12T20:48:58.365Z] a29adfc67d43: Download complete [2023-09-12T20:48:58.365Z] 9fda8d8052c6: Pull complete [2023-09-12T20:48:58.976Z] 5d54e960e981: Pull complete [2023-09-12T20:48:59.248Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T20:48:59.248Z] d5de9f91c1a4: Download complete [2023-09-12T20:48:59.248Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T20:48:59.248Z] c4a7e357bf2a: Download complete [2023-09-12T20:49:00.215Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T20:49:00.215Z] 1baf3a5c0e64: Download complete [2023-09-12T20:49:10.317Z] c4a7e357bf2a: Pull complete [2023-09-12T20:49:10.317Z] f0e02332f6b5: Pull complete [2023-09-12T20:49:10.317Z] 66412af1f25a: Pull complete [2023-09-12T20:49:16.997Z] 1baf3a5c0e64: Pull complete [2023-09-12T20:49:18.437Z] 9a37bb91b891: Pull complete [2023-09-12T20:49:19.421Z] a29adfc67d43: Pull complete [2023-09-12T20:49:21.389Z] d5de9f91c1a4: Pull complete [2023-09-12T20:49:21.389Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T20:49:21.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T20:49:21.389Z] ---> 746ca1b523b5 [2023-09-12T20:49:21.389Z] Step 3/10 : ARG MAKE=make build [2023-09-12T20:49:23.429Z] ---> Running in 00e86090bb14 [2023-09-12T20:49:23.725Z] Removing intermediate container 00e86090bb14 [2023-09-12T20:49:23.725Z] ---> 7f455b083667 [2023-09-12T20:49:23.725Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T20:49:23.725Z] ---> Running in 18d883598e5b [2023-09-12T20:49:24.319Z] Removing intermediate container 18d883598e5b [2023-09-12T20:49:24.319Z] ---> a76b366be8b5 [2023-09-12T20:49:24.319Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T20:49:24.319Z] ---> Running in a1b2386e4ae6 [2023-09-12T20:49:24.596Z] Removing intermediate container a1b2386e4ae6 [2023-09-12T20:49:24.596Z] ---> b4b058e839b7 [2023-09-12T20:49:24.596Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T20:49:24.596Z] ---> Running in ccd8d88cebd8 [2023-09-12T20:49:26.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T20:49:26.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T20:49:27.698Z] OK: 267 MiB in 56 packages [2023-09-12T20:49:30.317Z] Removing intermediate container ccd8d88cebd8 [2023-09-12T20:49:30.317Z] ---> 4a89a17179ec [2023-09-12T20:49:30.317Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T20:49:30.317Z] ---> 85509a941166 [2023-09-12T20:49:30.317Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T20:49:30.590Z] ---> Running in 0f486c86b179 [2023-09-12T20:50:52.258Z] Removing intermediate container 0f486c86b179 [2023-09-12T20:50:52.258Z] ---> 11a87fab90fc [2023-09-12T20:50:52.258Z] Step 9/10 : COPY . . [2023-09-12T20:50:52.258Z] ---> fc5b4e7327e0 [2023-09-12T20:50:52.258Z] Step 10/10 : RUN ${MAKE} [2023-09-12T20:50:52.258Z] ---> Running in 234834844e05 [2023-09-12T20:50:52.258Z] noop [2023-09-12T20:50:52.258Z] Removing intermediate container 234834844e05 [2023-09-12T20:50:52.258Z] ---> 27bb907d3144 [2023-09-12T20:50:52.258Z] Successfully built 27bb907d3144 [2023-09-12T20:50:52.258Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:50:52.602Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T20:50:52.602Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:50:52.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container [2023-09-12T20:50:52.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/252 -v /w/workspace/device-sdk-go/252:/w/workspace/device-sdk-go/252:rw,z -v /w/workspace/device-sdk-go/252@tmp:/w/workspace/device-sdk-go/252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T20:50:53.936Z] $ docker top abf5b5f8bd1493fc3de0987c38df1a330941c73f7e891749f5bbd17b229818b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:50:54.778Z] + go version [2023-09-12T20:50:54.778Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T20:50:54.771Z] $ docker stop --time=1 abf5b5f8bd1493fc3de0987c38df1a330941c73f7e891749f5bbd17b229818b4 [2023-09-12T20:50:56.371Z] $ docker rm -f --volumes abf5b5f8bd1493fc3de0987c38df1a330941c73f7e891749f5bbd17b229818b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:50:56.936Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T20:50:56.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:50:57.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container [2023-09-12T20:50:57.176Z] $ 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/252 -v /w/workspace/device-sdk-go/252:/w/workspace/device-sdk-go/252:rw,z -v /w/workspace/device-sdk-go/252@tmp:/w/workspace/device-sdk-go/252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T20:50:58.393Z] $ docker top b44d83a4cd65887e78ca6fdeb77d9406fab92ec4c655fd1c0d6e72235c3953d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:50:59.421Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/252 [Pipeline] fileExists [Pipeline] sh [2023-09-12T20:51:00.085Z] + make test [2023-09-12T20:51:00.085Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T20:51:39.022Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T20:53:30.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T20:53:30.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T20:53:30.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T20:53:30.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T20:53:30.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T20:53:40.791Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.207s coverage: 27.6% of statements [2023-09-12T20:53:46.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.243s coverage: 80.2% of statements [2023-09-12T20:53:58.458Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T20:53:58.458Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T20:53:59.047Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.368s coverage: 86.0% of statements [2023-09-12T20:54:04.411Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T20:54:05.371Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.429s coverage: 71.8% of statements [2023-09-12T20:54:08.720Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.280s coverage: 14.1% of statements [2023-09-12T20:54:08.721Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.984s coverage: 44.2% of statements [2023-09-12T20:54:09.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T20:54:09.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T20:54:10.727Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.385s coverage: 68.5% of statements [2023-09-12T20:54:13.312Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.460s coverage: 89.2% of statements [2023-09-12T20:54:14.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T20:54:16.138Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.243s coverage: 5.5% of statements [2023-09-12T20:54:16.406Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T20:54:16.406Z] GO111MODULE=on go vet ./... [2023-09-12T20:56:08.068Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T20:56:08.068Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T20:56:08.068Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T20:56:08.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T20:56:08.105Z] $ docker stop --time=1 b44d83a4cd65887e78ca6fdeb77d9406fab92ec4c655fd1c0d6e72235c3953d7 [2023-09-12T20:56:09.964Z] $ docker rm -f --volumes b44d83a4cd65887e78ca6fdeb77d9406fab92ec4c655fd1c0d6e72235c3953d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T20:56:11.679Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T20:56:11.703Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T20:56:12.287Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T20:56:12.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T20:56:13.000Z] + ls -al . [2023-09-12T20:56:13.000Z] total 300 [2023-09-12T20:56:13.000Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:51 . [2023-09-12T20:56:13.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:48 .. [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 20:48 .dockerignore [2023-09-12T20:56:13.000Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:48 .git [2023-09-12T20:56:13.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:48 .github [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 20:48 .gitignore [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 20:48 .golangci.yml [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 20:48 CHANGELOG.md [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:48 GOVERNANCE.md [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 20:48 Jenkinsfile [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 20:48 LICENSE [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 20:48 Makefile [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 20:48 OWNERS.md [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 20:48 README.md [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 20:45 VERSION [2023-09-12T20:56:13.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:48 bin [2023-09-12T20:56:13.000Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 20:54 coverage.out [2023-09-12T20:56:13.000Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 20:48 example [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 20:48 go.mod [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 20:48 go.sum [2023-09-12T20:56:13.000Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:48 internal [2023-09-12T20:56:13.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:48 openapi [2023-09-12T20:56:13.000Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 20:48 pkg [2023-09-12T20:56:13.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:48 snap [2023-09-12T20:56:13.000Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:56:13.349Z] + 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=10d83f9598abba3559abd072fcd7553d77fa119a --label arch=arm64 --label version=3.1.0-dev.23 . [2023-09-12T20:56:13.622Z] Sending build context to Docker daemon 6.052MB [2023-09-12T20:56:13.622Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T20:56:13.622Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T20:56:13.622Z] ---> 27bb907d3144 [2023-09-12T20:56:13.622Z] Step 3/23 : ARG MAKE=make build [2023-09-12T20:56:15.029Z] ---> Running in 315a4456fbdc [2023-09-12T20:56:15.029Z] Removing intermediate container 315a4456fbdc [2023-09-12T20:56:15.030Z] ---> 00857e46c2d0 [2023-09-12T20:56:15.030Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T20:56:15.030Z] ---> Running in 3a61773f6daf [2023-09-12T20:56:15.613Z] Removing intermediate container 3a61773f6daf [2023-09-12T20:56:15.613Z] ---> 6d1c6c78195f [2023-09-12T20:56:15.613Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T20:56:15.613Z] ---> Running in 628e77636928 [2023-09-12T20:56:15.880Z] Removing intermediate container 628e77636928 [2023-09-12T20:56:15.880Z] ---> a636d7791587 [2023-09-12T20:56:15.880Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T20:56:15.880Z] ---> Running in a3e47b4951ea [2023-09-12T20:56:16.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T20:56:17.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T20:56:18.383Z] OK: 267 MiB in 56 packages [2023-09-12T20:56:19.346Z] Removing intermediate container a3e47b4951ea [2023-09-12T20:56:19.346Z] ---> ded35499e981 [2023-09-12T20:56:19.346Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T20:56:20.036Z] ---> 569c3e039c92 [2023-09-12T20:56:20.036Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T20:56:20.036Z] ---> Running in fdb974ed757c [2023-09-12T20:56:22.024Z] Removing intermediate container fdb974ed757c [2023-09-12T20:56:22.024Z] ---> 57cbf0f14225 [2023-09-12T20:56:22.024Z] Step 9/23 : COPY . . [2023-09-12T20:56:23.468Z] ---> 874fde3eb048 [2023-09-12T20:56:23.468Z] Step 10/23 : RUN ${MAKE} [2023-09-12T20:56:23.468Z] ---> Running in 4810c159b2cf [2023-09-12T20:56:24.434Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.23" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T20:58:16.079Z] Removing intermediate container 4810c159b2cf [2023-09-12T20:58:16.079Z] ---> 39cd590883ce [2023-09-12T20:58:16.079Z] Step 11/23 : FROM alpine:3.18 [2023-09-12T20:58:16.079Z] 3.18: Pulling from library/alpine [2023-09-12T20:58:16.079Z] 9fda8d8052c6: Already exists [2023-09-12T20:58:16.079Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T20:58:16.079Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T20:58:16.079Z] ---> f6648c04cd6c [2023-09-12T20:58:16.079Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T20:58:16.079Z] ---> Running in 632c6f85f459 [2023-09-12T20:58:16.079Z] Removing intermediate container 632c6f85f459 [2023-09-12T20:58:16.079Z] ---> 95ed8b8fdfb1 [2023-09-12T20:58:16.079Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T20:58:16.079Z] ---> Running in 755d4ff03fb1 [2023-09-12T20:58:16.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T20:58:16.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T20:58:16.079Z] OK: 8 MiB in 15 packages [2023-09-12T20:58:16.079Z] Removing intermediate container 755d4ff03fb1 [2023-09-12T20:58:16.079Z] ---> a15baf78dd17 [2023-09-12T20:58:16.079Z] Step 14/23 : WORKDIR / [2023-09-12T20:58:16.079Z] ---> Running in 8070ba944e34 [2023-09-12T20:58:16.079Z] Removing intermediate container 8070ba944e34 [2023-09-12T20:58:16.079Z] ---> 05c46a02c98a [2023-09-12T20:58:16.079Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T20:58:16.079Z] ---> 5b9c52227474 [2023-09-12T20:58:16.079Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T20:58:17.488Z] ---> ac6335e6e3b1 [2023-09-12T20:58:17.488Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T20:58:17.756Z] ---> 5e934cb21368 [2023-09-12T20:58:17.756Z] Step 18/23 : EXPOSE 59999 [2023-09-12T20:58:17.756Z] ---> Running in c74a63a82f86 [2023-09-12T20:58:18.339Z] Removing intermediate container c74a63a82f86 [2023-09-12T20:58:18.339Z] ---> 42b23e83ecea [2023-09-12T20:58:18.339Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T20:58:18.339Z] ---> Running in e93b4805b036 [2023-09-12T20:58:18.605Z] Removing intermediate container e93b4805b036 [2023-09-12T20:58:18.605Z] ---> a1cc3e3fc22c [2023-09-12T20:58:18.605Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T20:58:18.605Z] ---> Running in 981cabed736d [2023-09-12T20:58:18.875Z] Removing intermediate container 981cabed736d [2023-09-12T20:58:18.875Z] ---> 84017eae5d5c [2023-09-12T20:58:18.875Z] Step 21/23 : LABEL arch=arm64 [2023-09-12T20:58:18.875Z] ---> Running in 90ba84ac1d4a [2023-09-12T20:58:19.142Z] Removing intermediate container 90ba84ac1d4a [2023-09-12T20:58:19.142Z] ---> 90a93b23b931 [2023-09-12T20:58:19.142Z] Step 22/23 : LABEL git_sha=10d83f9598abba3559abd072fcd7553d77fa119a [2023-09-12T20:58:19.408Z] ---> Running in a57a6a61ecb7 [2023-09-12T20:58:19.674Z] Removing intermediate container a57a6a61ecb7 [2023-09-12T20:58:19.674Z] ---> 9f6dc18d4a05 [2023-09-12T20:58:19.674Z] Step 23/23 : LABEL version=3.1.0-dev.23 [2023-09-12T20:58:19.674Z] ---> Running in fdf71e33b80b [2023-09-12T20:58:19.939Z] Removing intermediate container fdf71e33b80b [2023-09-12T20:58:19.939Z] ---> c707012bf892 [2023-09-12T20:58:19.939Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T20:58:19.939Z] Successfully built c707012bf892 [2023-09-12T20:58:19.939Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:58:20.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T20:58:20.394Z] [2023-09-12T20:58:20.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:58:20.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T20:58:20.735Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T20:58:20.735Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T20:58:20.735Z] 04944245beec: Pulling fs layer [2023-09-12T20:58:20.735Z] 699f458cf7ca: Pulling fs layer [2023-09-12T20:58:20.735Z] 765212b225bb: Pulling fs layer [2023-09-12T20:58:20.735Z] f23df028b6ca: Pulling fs layer [2023-09-12T20:58:20.735Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T20:58:20.735Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T20:58:20.736Z] 765212b225bb: Waiting [2023-09-12T20:58:20.736Z] f23df028b6ca: Waiting [2023-09-12T20:58:20.736Z] d65c8cfc05b1: Waiting [2023-09-12T20:58:20.736Z] 2437ff75d9bd: Waiting [2023-09-12T20:58:21.004Z] 04944245beec: Verifying Checksum [2023-09-12T20:58:21.004Z] 04944245beec: Download complete [2023-09-12T20:58:21.004Z] 765212b225bb: Verifying Checksum [2023-09-12T20:58:21.004Z] 765212b225bb: Download complete [2023-09-12T20:58:21.004Z] f23df028b6ca: Verifying Checksum [2023-09-12T20:58:21.004Z] f23df028b6ca: Download complete [2023-09-12T20:58:21.004Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T20:58:21.004Z] d65c8cfc05b1: Download complete [2023-09-12T20:58:21.275Z] 699f458cf7ca: Verifying Checksum [2023-09-12T20:58:21.275Z] 699f458cf7ca: Download complete [2023-09-12T20:58:21.544Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T20:58:21.544Z] 8998bd30e6a1: Download complete [2023-09-12T20:58:24.136Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T20:58:24.136Z] 2437ff75d9bd: Download complete [2023-09-12T20:58:25.548Z] 8998bd30e6a1: Pull complete [2023-09-12T20:58:26.128Z] 04944245beec: Pull complete [2023-09-12T20:58:27.536Z] 699f458cf7ca: Pull complete [2023-09-12T20:58:27.536Z] 765212b225bb: Pull complete [2023-09-12T20:58:28.117Z] f23df028b6ca: Pull complete [2023-09-12T20:58:28.384Z] d65c8cfc05b1: Pull complete [2023-09-12T20:58:43.378Z] 2437ff75d9bd: Pull complete [2023-09-12T20:58:43.378Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T20:58:43.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T20:58:43.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:58:43.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container [2023-09-12T20:58:43.644Z] $ 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/252 -v /w/workspace/device-sdk-go/252:/w/workspace/device-sdk-go/252:rw,z -v /w/workspace/device-sdk-go/252@tmp:/w/workspace/device-sdk-go/252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T20:58:46.481Z] $ docker top 175a86a29b0a13fc0e17b7d419de0ee5a4dc21f7a5fc007e8f1fd25850da86f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:58:47.318Z] ---> job-cost.sh [2023-09-12T20:58:47.318Z] lf-activate-venv: SKIPPING [2023-09-12T20:58:47.318Z] INFO: No Stack... [2023-09-12T20:58:47.585Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T20:58:48.542Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T20:58:49.176Z] + cat /w/workspace/device-sdk-go/252/archives/cost.csv [2023-09-12T20:58:49.176Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T20:58:49.233Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [2023-09-12T20:58:49.240Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] did not exist. Created. [2023-09-12T20:58:49.240Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T20:58:49.573Z] /w/workspace/device-sdk-go/252@tmp/durable-52a87d83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T20:58:49.900Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T20:58:49.916Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T20:58:49.993Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T20:58:49.999Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T20:58:50.022Z] $ docker stop --time=1 175a86a29b0a13fc0e17b7d419de0ee5a4dc21f7a5fc007e8f1fd25850da86f5 [2023-09-12T20:58:51.675Z] $ docker rm -f --volumes 175a86a29b0a13fc0e17b7d419de0ee5a4dc21f7a5fc007e8f1fd25850da86f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-12T20:58:52.071Z] provisioning config files... [2023-09-12T20:58:52.078Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8818966982577992509tmp [Pipeline] { [Pipeline] sh [2023-09-12T20:58:52.363Z] + set +x [2023-09-12T20:58:52.363Z] + curl -s https://codecov.io/bash [2023-09-12T20:58:52.363Z] + bash -s -- [2023-09-12T20:58:52.363Z] [2023-09-12T20:58:52.363Z] _____ _ [2023-09-12T20:58:52.363Z] / ____| | | [2023-09-12T20:58:52.363Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T20:58:52.363Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T20:58:52.363Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T20:58:52.363Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T20:58:52.363Z] Bash-1.0.6 [2023-09-12T20:58:52.363Z] [2023-09-12T20:58:52.363Z] [2023-09-12T20:58:52.363Z] ==> git version 2.25.1 found [2023-09-12T20:58:52.363Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-12T20:58:52.363Z] Release-Date: 2020-01-08 [2023-09-12T20:58:52.363Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-12T20:58:52.363Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T20:58:52.363Z] ==> Jenkins CI detected. [2023-09-12T20:58:52.363Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-12T20:58:52.363Z] project root: . [2023-09-12T20:58:52.363Z] --> token set from env [2023-09-12T20:58:52.363Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T20:58:52.363Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T20:58:52.363Z] ==> Python coveragepy not found [2023-09-12T20:58:52.363Z] ==> Searching for coverage reports in: [2023-09-12T20:58:52.363Z] + . [2023-09-12T20:58:52.363Z] -> Found 1 reports [2023-09-12T20:58:52.363Z] ==> Detecting git/mercurial file structure [2023-09-12T20:58:52.363Z] ==> Reading reports [2023-09-12T20:58:52.363Z] + ./coverage.out bytes=120468 [2023-09-12T20:58:52.363Z] ==> Appending adjustments [2023-09-12T20:58:52.363Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T20:58:54.545Z] + Found adjustments [2023-09-12T20:58:54.545Z] ==> Gzipping contents [2023-09-12T20:58:54.545Z] 20K /tmp/codecov.OHcag1.gz [2023-09-12T20:58:54.545Z] ==> Uploading reports [2023-09-12T20:58:54.545Z] url: https://codecov.io [2023-09-12T20:58:54.545Z] query: branch=main&commit=10d83f9598abba3559abd072fcd7553d77fa119a&build=252&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F252%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T20:58:54.545Z] -> Pinging Codecov [2023-09-12T20:58:54.545Z] 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=10d83f9598abba3559abd072fcd7553d77fa119a&build=252&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F252%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T20:58:54.804Z] -> Uploading to [2023-09-12T20:58:54.804Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/10d83f9598abba3559abd072fcd7553d77fa119a/c4555854-a907-4d4a-aea0-ca0499ea41ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T205854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f8f187711d00413369079e8cba7edd70538b047e2515a0eec449edd497b832d [2023-09-12T20:58:54.804Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T20:58:54.804Z] Dload Upload Total Spent Left Speed [2023-09-12T20:58:55.064Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16431 0 0 100 16431 0 80151 --:--:-- --:--:-- --:--:-- 80151 [2023-09-12T20:58:55.064Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] } [2023-09-12T20:58:55.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T20:58:55.286Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T20:58:55.294Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:58:55.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T20:58:55.585Z] [2023-09-12T20:58:55.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:58:56.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T20:58:56.820Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T20:58:56.820Z] df9b9388f04a: Pulling fs layer [2023-09-12T20:58:56.820Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T20:58:56.820Z] 25bc292e5bac: Pulling fs layer [2023-09-12T20:58:56.820Z] 114826534d7a: Pulling fs layer [2023-09-12T20:58:56.820Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T20:58:56.820Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T20:58:56.820Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T20:58:56.820Z] 6ad1cebc031e: Waiting [2023-09-12T20:58:56.820Z] 114826534d7a: Waiting [2023-09-12T20:58:56.820Z] 4657fd5d0bcf: Waiting [2023-09-12T20:58:56.820Z] 8a3aa393b2d8: Waiting [2023-09-12T20:58:56.820Z] 25bc292e5bac: Verifying Checksum [2023-09-12T20:58:56.820Z] 25bc292e5bac: Download complete [2023-09-12T20:58:56.820Z] 52dc419b0ee2: Verifying Checksum [2023-09-12T20:58:56.820Z] 52dc419b0ee2: Download complete [2023-09-12T20:58:56.820Z] 4657fd5d0bcf: Verifying Checksum [2023-09-12T20:58:56.820Z] 4657fd5d0bcf: Download complete [2023-09-12T20:58:56.820Z] df9b9388f04a: Download complete [2023-09-12T20:58:56.820Z] df9b9388f04a: Pull complete [2023-09-12T20:58:56.820Z] 52dc419b0ee2: Pull complete [2023-09-12T20:58:56.820Z] 25bc292e5bac: Pull complete [2023-09-12T20:58:58.622Z] 6ad1cebc031e: Verifying Checksum [2023-09-12T20:58:58.622Z] 6ad1cebc031e: Download complete [2023-09-12T20:58:59.191Z] 114826534d7a: Verifying Checksum [2023-09-12T20:58:59.191Z] 114826534d7a: Download complete [2023-09-12T20:58:59.191Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T20:58:59.191Z] 8a3aa393b2d8: Download complete [2023-09-12T20:59:03.372Z] 114826534d7a: Pull complete [2023-09-12T20:59:03.372Z] 4657fd5d0bcf: Pull complete [2023-09-12T20:59:03.372Z] 6ad1cebc031e: Pull complete [2023-09-12T20:59:12.887Z] 8a3aa393b2d8: Pull complete [2023-09-12T20:59:12.887Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T20:59:12.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T20:59:12.887Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:59:12.974Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:59:12.985Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-12T20:59:17.046Z] $ docker top 679f693de0c520c66f784084c995bb9526c05f8567fa06cac0139217df93dc0a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T20:59:17.127Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-12T20:59:17.401Z] + set -o pipefail [2023-09-12T20:59:17.401Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-12T20:59:22.666Z] [2023-09-12T20:59:22.666Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-12T20:59:22.666Z] [2023-09-12T20:59:22.666Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/61b224a9-ea5d-4ed3-859e-b0e80b15c197 [2023-09-12T20:59:22.666Z] [2023-09-12T20:59:22.666Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T20:59:22.666Z] [2023-09-12T20:59:22.666Z] [2023-09-12T20:59:22.666Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T20:59:22.666Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T20:59:22.666Z] More details here: https://snyk.co/ue1NS [2023-09-12T20:59:22.666Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T20:59:22.666Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T20:59:22.655Z] $ docker stop --time=1 679f693de0c520c66f784084c995bb9526c05f8567fa06cac0139217df93dc0a [2023-09-12T20:59:26.241Z] $ docker rm -f --volumes 679f693de0c520c66f784084c995bb9526c05f8567fa06cac0139217df93dc0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-09-12T20:59:26.666Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T20:59:26.684Z] provisioning config files... [2023-09-12T20:59:26.691Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3172819481593904817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:59:26.986Z] --> edgex-publish-swagger.sh [2023-09-12T20:59:26.986Z] === Publish openapi/v3 API === [2023-09-12T20:59:26.986Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-12T20:59:26.986Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-12T20:59:26.986Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T20:59:26.986Z] Dload Upload Total Spent Left Speed [2023-09-12T20:59:27.556Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 37878 --:--:-- --:--:-- --:--:-- 37878 [2023-09-12T20:59:27.556Z] [2023-09-12T20:59:27.556Z] [Pipeline] } [2023-09-12T20:59:27.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T20:59:27.976Z] + git log --format=format:%s -1 10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] sh [2023-09-12T20:59:28.266Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T20:59:28.266Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:59:28.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:59:28.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:59:28.648Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:59:28.659Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T20:59:29.106Z] $ docker top 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e -eo pid,comm [2023-09-12T20:59:29.173Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-12T20:59:29.173Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T20:59:29.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T20:59:29.214Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T20:59:29.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T20:59:29.302Z] $ docker exec 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e ssh-agent [2023-09-12T20:59:29.434Z] SSH_AUTH_SOCK=/tmp/ssh-ZEzFWdoVGwe7/agent.32 [2023-09-12T20:59:29.434Z] SSH_AGENT_PID=38 [2023-09-12T20:59:29.439Z] Running ssh-add (command line suppressed) [2023-09-12T20:59:29.516Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9470671096368689312.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9470671096368689312.key) [2023-09-12T20:59:29.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T20:59:29.842Z] + git semver tag [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,965 [run_tag] DEBUG tag force:False [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,965 [check_head_tag] DEBUG check head tag [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,966 [execute] INFO git cat-file --batch-check [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,968 [execute] INFO git cat-file --batch [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,980 [execute] INFO git tag -a v3.1.0-dev.23 -m v3.1.0-dev.23 [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,980 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.23', '-m', 'v3.1.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T20:59:30.109Z] 2023-09-12 20:59:29,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T20:59:30.109Z] 3.1.0-dev.23 [Pipeline] } [2023-09-12T20:59:30.098Z] $ docker exec --env ******** --env ******** 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e ssh-agent -k [2023-09-12T20:59:30.177Z] unset SSH_AUTH_SOCK; [2023-09-12T20:59:30.177Z] unset SSH_AGENT_PID; [2023-09-12T20:59:30.177Z] echo Agent pid 38 killed; [2023-09-12T20:59:30.206Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T20:59:30.521Z] + git semver [Pipeline] } [2023-09-12T20:59:30.772Z] $ docker stop --time=1 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e [2023-09-12T20:59:32.017Z] $ docker rm -f --volumes 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:59:32.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T20:59:32.427Z] [2023-09-12T20:59:32.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:59:32.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T20:59:32.731Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T20:59:32.731Z] ab5ef0e58194: Pulling fs layer [2023-09-12T20:59:32.731Z] 9712f1f96733: Pulling fs layer [2023-09-12T20:59:32.731Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T20:59:32.731Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T20:59:32.731Z] e9a5061849ea: Pulling fs layer [2023-09-12T20:59:32.731Z] d747dcd14b5f: Pulling fs layer [2023-09-12T20:59:32.731Z] 2de7ff778b66: Pulling fs layer [2023-09-12T20:59:32.731Z] 0d9ebad4ef96: Waiting [2023-09-12T20:59:32.731Z] e9a5061849ea: Waiting [2023-09-12T20:59:32.731Z] d747dcd14b5f: Waiting [2023-09-12T20:59:32.731Z] 2de7ff778b66: Waiting [2023-09-12T20:59:32.731Z] 9712f1f96733: Download complete [2023-09-12T20:59:32.990Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T20:59:32.990Z] 63f879dbbcfc: Download complete [2023-09-12T20:59:32.990Z] e9a5061849ea: Verifying Checksum [2023-09-12T20:59:32.990Z] e9a5061849ea: Download complete [2023-09-12T20:59:33.249Z] d747dcd14b5f: Verifying Checksum [2023-09-12T20:59:33.249Z] d747dcd14b5f: Download complete [2023-09-12T20:59:33.249Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T20:59:33.249Z] 0d9ebad4ef96: Download complete [2023-09-12T20:59:33.249Z] ab5ef0e58194: Verifying Checksum [2023-09-12T20:59:33.249Z] ab5ef0e58194: Download complete [2023-09-12T20:59:33.249Z] 2de7ff778b66: Download complete [2023-09-12T20:59:35.794Z] ab5ef0e58194: Pull complete [2023-09-12T20:59:35.794Z] 9712f1f96733: Pull complete [2023-09-12T20:59:36.728Z] 63f879dbbcfc: Pull complete [2023-09-12T20:59:40.922Z] 0d9ebad4ef96: Pull complete [2023-09-12T20:59:40.922Z] e9a5061849ea: Pull complete [2023-09-12T20:59:40.922Z] d747dcd14b5f: Pull complete [2023-09-12T20:59:41.853Z] 2de7ff778b66: Pull complete [2023-09-12T20:59:42.110Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T20:59:42.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T20:59:42.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:59:42.183Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:59:42.188Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-12T20:59:47.485Z] $ docker top bb52899aa586b6513eac8f9c4ee16b337fe41ba8b136491bf982b4f719c699e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T20:59:47.575Z] provisioning config files... [2023-09-12T20:59:47.587Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13802015043871520472tmp [2023-09-12T20:59:47.596Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13859883715186640682tmp [2023-09-12T20:59:47.605Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9603615916560339839tmp [Pipeline] { [Pipeline] echo [2023-09-12T20:59:47.617Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:59:47.898Z] ---> sigul-configuration.sh [2023-09-12T20:59:47.898Z] gpg: directory `/root/.gnupg' created [2023-09-12T20:59:47.898Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T20:59:47.898Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T20:59:47.898Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T20:59:47.898Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T20:59:47.898Z] gpg: CAST5 encrypted data [2023-09-12T20:59:48.157Z] gpg: encrypted with 1 passphrase [2023-09-12T20:59:48.157Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T20:59:48.442Z] + mkdir /home/jenkins [2023-09-12T20:59:48.442Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T20:59:48.723Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-12T20:59:48.729Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:59:49.007Z] ---> sigul-install.sh [2023-09-12T20:59:49.007Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T20:59:49.285Z] + git tag --list [2023-09-12T20:59:49.285Z] 0.7.1 [2023-09-12T20:59:49.285Z] delhi-tag [2023-09-12T20:59:49.285Z] v1.0.0 [2023-09-12T20:59:49.285Z] v1.1.0 [2023-09-12T20:59:49.285Z] v1.1.1 [2023-09-12T20:59:49.285Z] v1.1.2 [2023-09-12T20:59:49.285Z] v1.2.0 [2023-09-12T20:59:49.285Z] v1.2.1 [2023-09-12T20:59:49.285Z] v1.2.2 [2023-09-12T20:59:49.285Z] v1.2.3 [2023-09-12T20:59:49.285Z] v1.3.0 [2023-09-12T20:59:49.285Z] v1.4.0 [2023-09-12T20:59:49.285Z] v2.0.0 [2023-09-12T20:59:49.285Z] v2.1.0 [2023-09-12T20:59:49.285Z] v2.1.1 [2023-09-12T20:59:49.285Z] v2.2.0 [2023-09-12T20:59:49.285Z] v2.3.0 [2023-09-12T20:59:49.285Z] v2.3.1 [2023-09-12T20:59:49.285Z] v3.0 [2023-09-12T20:59:49.285Z] v3.0.0 [2023-09-12T20:59:49.285Z] v3.0.1-dev.1 [2023-09-12T20:59:49.285Z] v3.1.0-dev.1 [2023-09-12T20:59:49.285Z] v3.1.0-dev.10 [2023-09-12T20:59:49.285Z] v3.1.0-dev.11 [2023-09-12T20:59:49.285Z] v3.1.0-dev.12 [2023-09-12T20:59:49.285Z] v3.1.0-dev.13 [2023-09-12T20:59:49.285Z] v3.1.0-dev.14 [2023-09-12T20:59:49.285Z] v3.1.0-dev.15 [2023-09-12T20:59:49.285Z] v3.1.0-dev.16 [2023-09-12T20:59:49.285Z] v3.1.0-dev.17 [2023-09-12T20:59:49.285Z] v3.1.0-dev.18 [2023-09-12T20:59:49.285Z] v3.1.0-dev.19 [2023-09-12T20:59:49.285Z] v3.1.0-dev.2 [2023-09-12T20:59:49.285Z] v3.1.0-dev.20 [2023-09-12T20:59:49.285Z] v3.1.0-dev.21 [2023-09-12T20:59:49.285Z] v3.1.0-dev.22 [2023-09-12T20:59:49.285Z] v3.1.0-dev.23 [2023-09-12T20:59:49.285Z] v3.1.0-dev.3 [2023-09-12T20:59:49.285Z] v3.1.0-dev.4 [2023-09-12T20:59:49.285Z] v3.1.0-dev.5 [2023-09-12T20:59:49.285Z] v3.1.0-dev.6 [2023-09-12T20:59:49.285Z] v3.1.0-dev.7 [2023-09-12T20:59:49.285Z] v3.1.0-dev.8 [2023-09-12T20:59:49.285Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-12T20:59:49.569Z] + lftools sign git-tag v3.1.0-dev.23 [2023-09-12T20:59:50.134Z] Signing Git tag with Sigul... [2023-09-12T20:59:50.134Z] Signing v3.1.0-dev.23 [Pipeline] echo [2023-09-12T20:59:50.399Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:59:50.691Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T20:59:50.699Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T20:59:50.698Z] $ docker stop --time=1 bb52899aa586b6513eac8f9c4ee16b337fe41ba8b136491bf982b4f719c699e6 [2023-09-12T20:59:52.046Z] $ docker rm -f --volumes bb52899aa586b6513eac8f9c4ee16b337fe41ba8b136491bf982b4f719c699e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T20:59:52.474Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T20:59:52.474Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:59:52.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:59:52.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:59:52.836Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:59:52.840Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T20:59:53.503Z] $ docker top 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T20:59:53.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T20:59:53.607Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T20:59:53.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T20:59:53.688Z] $ docker exec 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f ssh-agent [2023-09-12T20:59:53.813Z] SSH_AUTH_SOCK=/tmp/ssh-nJWF30Egs1OY/agent.33 [2023-09-12T20:59:53.813Z] SSH_AGENT_PID=39 [2023-09-12T20:59:53.818Z] Running ssh-add (command line suppressed) [2023-09-12T20:59:53.897Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6629525782579239319.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6629525782579239319.key) [2023-09-12T20:59:53.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T20:59:54.214Z] + git semver bump pre [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,426 [bump_version] DEBUG bumping version:3.1.0-dev.23 on axis:pre with prefix:dev [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,426 [bump_version] DEBUG bumped version:3.1.0-dev.24 [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,426 [write_version] DEBUG write version:3.1.0-dev.24 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,426 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,428 [execute] INFO git cat-file --batch-check [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,433 [execute] INFO git cat-file --batch [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T20:59:54.472Z] 2023-09-12 20:59:54,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T20:59:54.472Z] 3.1.0-dev.24 [Pipeline] } [2023-09-12T20:59:54.718Z] $ docker exec --env ******** --env ******** 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f ssh-agent -k [2023-09-12T20:59:54.824Z] unset SSH_AUTH_SOCK; [2023-09-12T20:59:54.824Z] unset SSH_AGENT_PID; [2023-09-12T20:59:54.824Z] echo Agent pid 39 killed; [2023-09-12T20:59:54.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T20:59:55.156Z] + git semver [Pipeline] } [2023-09-12T20:59:55.406Z] $ docker stop --time=1 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f [2023-09-12T20:59:57.023Z] $ docker rm -f --volumes 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T20:59:57.409Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T20:59:57.409Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:59:57.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:59:57.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:59:57.780Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T20:59:57.785Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T20:59:58.381Z] $ docker top ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da -eo pid,comm [2023-09-12T20:59:58.445Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-12T20:59:58.445Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T20:59:58.480Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T20:59:58.480Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T20:59:58.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T20:59:58.608Z] $ docker exec ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da ssh-agent [2023-09-12T20:59:58.746Z] SSH_AUTH_SOCK=/tmp/ssh-4lk3r67YR1s4/agent.32 [2023-09-12T20:59:58.746Z] SSH_AGENT_PID=39 [2023-09-12T20:59:58.751Z] Running ssh-add (command line suppressed) [2023-09-12T20:59:58.833Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4587046196999163129.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4587046196999163129.key) [2023-09-12T20:59:58.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T20:59:59.152Z] + git semver push [2023-09-12T20:59:59.410Z] 2023-09-12 20:59:59,342 [run_push] DEBUG push [2023-09-12T20:59:59.410Z] 2023-09-12 20:59:59,343 [execute] INFO git cat-file --batch-check [2023-09-12T20:59:59.410Z] 2023-09-12 20:59:59,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T20:59:59.411Z] 2023-09-12 20:59:59,347 [execute] INFO git rev-list e4a24020c09f816de6fa14e027036c38fd075583 -- [2023-09-12T20:59:59.411Z] 2023-09-12 20:59:59,347 [execute] DEBUG Popen(['git', 'rev-list', 'e4a24020c09f816de6fa14e027036c38fd075583', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T20:59:59.411Z] 2023-09-12 20:59:59,359 [execute] INFO git fetch -v origin [2023-09-12T20:59:59.411Z] 2023-09-12 20:59:59,359 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-12T20:59:59.976Z] 2023-09-12 20:59:59,822 [run_push] DEBUG no remote changes detected [2023-09-12T20:59:59.976Z] 2023-09-12 20:59:59,823 [execute] INFO git push origin semver [2023-09-12T20:59:59.976Z] 2023-09-12 20:59:59,823 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T21:00:00.909Z] 2023-09-12 21:00:00,606 [run_push] DEBUG push all version tags [2023-09-12T21:00:00.909Z] 2023-09-12 21:00:00,607 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T21:00:00.909Z] 2023-09-12 21:00:00,607 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T21:00:01.848Z] 2023-09-12 21:00:01,531 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-12T21:00:01.848Z] 3.1.0-dev.24 [Pipeline] } [2023-09-12T21:00:01.834Z] $ docker exec --env ******** --env ******** ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da ssh-agent -k [2023-09-12T21:00:01.919Z] unset SSH_AUTH_SOCK; [2023-09-12T21:00:01.919Z] unset SSH_AGENT_PID; [2023-09-12T21:00:01.919Z] echo Agent pid 39 killed; [2023-09-12T21:00:01.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T21:00:02.261Z] + git semver [Pipeline] } [2023-09-12T21:00:02.508Z] $ docker stop --time=1 ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da [2023-09-12T21:00:03.776Z] $ docker rm -f --volumes ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-12T21:00:04.359Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-12T21:00:04.359Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T21:00:04.359Z] total 16 [2023-09-12T21:00:04.359Z] drwxr-xr-x 3 root root 4096 Sep 12 20:47 . [2023-09-12T21:00:04.359Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:59 .. [2023-09-12T21:00:04.359Z] drwxr-xr-x 2 root root 4096 Sep 12 20:47 cost [2023-09-12T21:00:04.359Z] -rw-r--r-- 1 root root 85 Sep 12 20:47 cost.csv [2023-09-12T21:00:04.359Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T21:00:04.359Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-12T21:00:04.359Z] total 16 [2023-09-12T21:00:04.359Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:47 . [2023-09-12T21:00:04.359Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:59 .. [2023-09-12T21:00:04.359Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 20:47 cost [2023-09-12T21:00:04.359Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 12 20:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:00:04.648Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:00:05.503Z] ---> package-listing.sh [2023-09-12T21:00:05.504Z] ++ facter osfamily [2023-09-12T21:00:05.504Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T21:00:05.763Z] + OS_FAMILY=debian [2023-09-12T21:00:05.763Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-12T21:00:05.763Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T21:00:05.763Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T21:00:05.763Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T21:00:05.763Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T21:00:05.763Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-12T21:00:05.763Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T21:00:05.763Z] + case "${OS_FAMILY}" in [2023-09-12T21:00:05.763Z] + dpkg -l [2023-09-12T21:00:05.763Z] + grep '^ii' [2023-09-12T21:00:05.763Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T21:00:05.763Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T21:00:05.763Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T21:00:05.763Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-12T21:00:05.763Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-12T21:00:05.763Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-09-12T21:00:05.774Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T21:00:06.053Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:00:06.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:00:06.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:00:06.688Z] prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container [2023-09-12T21:00:06.698Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:00:06.898Z] $ docker top c8ed4e89fc9a61a863259731a1cb87910ebf9c1c3614e6a0bff7b53eb8415d5a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:00:07.265Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T21:00:07.549Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T21:00:07.921Z] + ls /var/log/sa-host [2023-09-12T21:00:07.921Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:00:08.011Z] provisioning config files... [2023-09-12T21:00:08.046Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15842257580379360216tmp [Pipeline] { [Pipeline] echo [2023-09-12T21:00:08.065Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:00:08.408Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T21:00:08.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:00:08.730Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T21:00:08.738Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:00:09.023Z] ---> sudo-logs.sh [2023-09-12T21:00:09.023Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T21:00:09.042Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:00:09.317Z] ---> job-cost.sh [2023-09-12T21:00:09.318Z] lf-activate-venv: SKIPPING [2023-09-12T21:00:09.318Z] DEBUG: total: 0.2199999988079071 [2023-09-12T21:00:09.318Z] INFO: Retrieving Stack Cost... [2023-09-12T21:00:09.576Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:00:10.143Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T21:00:10.153Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:00:10.437Z] ---> logs-deploy.sh [2023-09-12T21:00:10.437Z] lf-activate-venv: SKIPPING [2023-09-12T21:00:10.437Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/252 [2023-09-12T21:00:10.437Z] INFO: archiving workspace using pattern(s): [2023-09-12T21:00:11.370Z] Archives upload complete. [2023-09-12T21:00:11.370Z] INFO: archiving logs to Nexus