Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b56f98b359607ae8777d3b496d3ffaedfbff1a58 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-ssh4144815678739597905.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh17221325946593067703.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2879007343394089064.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh13814655640528026411.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-ssh17625914619068046197.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3701 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b56f98b359607ae8777d3b496d3ffaedfbff1a58 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1493)" > git config core.sparsecheckout # timeout=10 > git checkout -f b56f98b359607ae8777d3b496d3ffaedfbff1a58 # timeout=10 > git rev-list --no-walk 2bcb30427b801ff9ed3b105e71011a55aed1d51b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-15T15:41:38.385Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-15T15:41:38.443Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-15T15:41:38.460Z] ========================================================= [2023-08-15T15:41:38.460Z] EdgeX Global Pipelines Version Info [2023-08-15T15:41:38.460Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:41:39.185Z] ------------------- [2023-08-15T15:41:39.185Z] stable info: [2023-08-15T15:41:39.185Z] ------------------- [2023-08-15T15:41:39.185Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-15T15:41:39.185Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-15T15:41:39.185Z] Message: update stable to v1.0.253 [2023-08-15T15:41:39.754Z] ------------------- [2023-08-15T15:41:39.754Z] experimental info: [2023-08-15T15:41:39.754Z] ------------------- [2023-08-15T15:41:39.754Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-15T15:41:39.754Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-15T15:41:39.754Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-15T15:41:39.913Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-15T15:41:39.924Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-15T15:41:39.942Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-15T15:41:39.961Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-15T15:41:39.981Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-15T15:41:40.001Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-15T15:41:40.021Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-15T15:41:40.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-15T15:41:40.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-15T15:41:40.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-15T15:41:40.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-15T15:41:40.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-15T15:41:40.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-15T15:41:40.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-15T15:41:40.154Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-15T15:41:40.171Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-15T15:41:40.187Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-15T15:41:40.200Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-15T15:41:40.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-15T15:41:40.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-15T15:41:40.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-15T15:41:40.259Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-15T15:41:40.278Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-15T15:41:40.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-15T15:41:40.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-15T15:41:40.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-15T15:41:40.348Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-15T15:41:40.368Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-15T15:41:40.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-15T15:41:40.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-15T15:41:40.422Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] echo [2023-08-15T15:41:40.441Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b56f98b [Pipeline] echo [2023-08-15T15:41:40.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T15:41:40.506Z] provisioning config files... [2023-08-15T15:41:40.519Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config632112589424293381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:41:40.820Z] ---> docker-login.sh [2023-08-15T15:41:40.820Z] nexus3.edgexfoundry.org:10001 [2023-08-15T15:41:41.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:41.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:41.081Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:41.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:41.081Z] [2023-08-15T15:41:41.081Z] Login Succeeded [2023-08-15T15:41:41.081Z] nexus3.edgexfoundry.org:10002 [2023-08-15T15:41:41.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:41.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:41.342Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:41.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:41.342Z] [2023-08-15T15:41:41.342Z] Login Succeeded [2023-08-15T15:41:41.342Z] nexus3.edgexfoundry.org:10003 [2023-08-15T15:41:41.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:41.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:41.342Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:41.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:41.342Z] [2023-08-15T15:41:41.342Z] Login Succeeded [2023-08-15T15:41:41.342Z] nexus3.edgexfoundry.org:10004 [2023-08-15T15:41:41.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:41.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:41.603Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:41.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:41.603Z] [2023-08-15T15:41:41.603Z] Login Succeeded [2023-08-15T15:41:41.603Z] docker.io [2023-08-15T15:41:41.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:41.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:41.865Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:41.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:41.865Z] [2023-08-15T15:41:41.865Z] Login Succeeded [2023-08-15T15:41:41.865Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T15:41:41.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-15T15:41:42.253Z] + git rev-list -1 --merges b56f98b359607ae8777d3b496d3ffaedfbff1a58~1..b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] echo [2023-08-15T15:41:42.316Z] -----------> git rev-list -1 --merges b56f98b359607ae8777d3b496d3ffaedfbff1a58~1..b56f98b359607ae8777d3b496d3ffaedfbff1a58 b56f98b359607ae8777d3b496d3ffaedfbff1a58 [false] [Pipeline] sh [2023-08-15T15:41:42.606Z] + git log --format=format:%s -1 b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] echo [2023-08-15T15:41:42.619Z] ========================================================= [2023-08-15T15:41:42.619Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-15T15:41:42.619Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-15T15:41:42.948Z] + git log --format=format:%s -1 b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] echo [2023-08-15T15:41:42.960Z] [semverPrep] GIT_COMMIT: b56f98b359607ae8777d3b496d3ffaedfbff1a58, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1493) [Pipeline] echo [2023-08-15T15:41:42.971Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-15T15:41:43.316Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-15T15:41:43.316Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-15T15:41:43.316Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-15T15:41:43.316Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-15T15:41:43.317Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-15T15:41:43.317Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-15T15:41:43.317Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:41:43.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T15:41:43.671Z] [2023-08-15T15:41:43.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:41:43.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T15:41:43.983Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-15T15:41:43.983Z] b85a868b505f: Pulling fs layer [2023-08-15T15:41:43.983Z] e2be974225ed: Pulling fs layer [2023-08-15T15:41:43.983Z] 339a4e72a1f5: Pulling fs layer [2023-08-15T15:41:43.983Z] 988bab9f4d93: Pulling fs layer [2023-08-15T15:41:43.983Z] 1469e6f7b9e6: Pulling fs layer [2023-08-15T15:41:43.983Z] eaf3925da568: Pulling fs layer [2023-08-15T15:41:43.983Z] bab4dde63d76: Pulling fs layer [2023-08-15T15:41:43.983Z] bde34c3a00c8: Pulling fs layer [2023-08-15T15:41:43.983Z] b352a97aabf1: Pulling fs layer [2023-08-15T15:41:43.983Z] 4872d77fe225: Pulling fs layer [2023-08-15T15:41:43.983Z] 5851b861e8e6: Pulling fs layer [2023-08-15T15:41:43.983Z] 988bab9f4d93: Waiting [2023-08-15T15:41:43.983Z] 1469e6f7b9e6: Waiting [2023-08-15T15:41:43.983Z] eaf3925da568: Waiting [2023-08-15T15:41:43.983Z] bab4dde63d76: Waiting [2023-08-15T15:41:43.983Z] bde34c3a00c8: Waiting [2023-08-15T15:41:43.983Z] 4872d77fe225: Waiting [2023-08-15T15:41:43.983Z] 5851b861e8e6: Waiting [2023-08-15T15:41:43.983Z] b352a97aabf1: Waiting [2023-08-15T15:41:43.983Z] e2be974225ed: Verifying Checksum [2023-08-15T15:41:43.983Z] e2be974225ed: Download complete [2023-08-15T15:41:43.983Z] 988bab9f4d93: Verifying Checksum [2023-08-15T15:41:43.983Z] 988bab9f4d93: Download complete [2023-08-15T15:41:44.242Z] 1469e6f7b9e6: Verifying Checksum [2023-08-15T15:41:44.242Z] 1469e6f7b9e6: Download complete [2023-08-15T15:41:44.242Z] 339a4e72a1f5: Verifying Checksum [2023-08-15T15:41:44.242Z] 339a4e72a1f5: Download complete [2023-08-15T15:41:44.242Z] eaf3925da568: Verifying Checksum [2023-08-15T15:41:44.242Z] eaf3925da568: Download complete [2023-08-15T15:41:44.242Z] bde34c3a00c8: Download complete [2023-08-15T15:41:44.242Z] 4872d77fe225: Verifying Checksum [2023-08-15T15:41:44.242Z] 4872d77fe225: Download complete [2023-08-15T15:41:44.242Z] 5851b861e8e6: Verifying Checksum [2023-08-15T15:41:44.242Z] 5851b861e8e6: Download complete [2023-08-15T15:41:44.242Z] b85a868b505f: Verifying Checksum [2023-08-15T15:41:44.242Z] b85a868b505f: Download complete [2023-08-15T15:41:44.501Z] bab4dde63d76: Verifying Checksum [2023-08-15T15:41:44.501Z] bab4dde63d76: Download complete [2023-08-15T15:41:45.884Z] b85a868b505f: Pull complete [2023-08-15T15:41:45.884Z] e2be974225ed: Pull complete [2023-08-15T15:41:46.143Z] 339a4e72a1f5: Pull complete [2023-08-15T15:41:46.412Z] 988bab9f4d93: Pull complete [2023-08-15T15:41:46.672Z] 1469e6f7b9e6: Pull complete [2023-08-15T15:41:46.672Z] eaf3925da568: Pull complete [2023-08-15T15:41:48.577Z] bab4dde63d76: Pull complete [2023-08-15T15:41:48.577Z] bde34c3a00c8: Pull complete [2023-08-15T15:41:48.577Z] b352a97aabf1: Pull complete [2023-08-15T15:41:48.577Z] 4872d77fe225: Pull complete [2023-08-15T15:41:48.577Z] 5851b861e8e6: Pull complete [2023-08-15T15:41:48.837Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-15T15:41:48.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T15:41:48.837Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:41:48.930Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:41:48.949Z] $ 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-08-15T15:41:52.830Z] $ docker top b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c -eo pid,comm [2023-08-15T15:41:52.896Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-15T15:41:52.896Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-15T15:41:52.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T15:41:52.930Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T15:41:53.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T15:41:53.041Z] $ docker exec b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c ssh-agent [2023-08-15T15:41:53.160Z] SSH_AUTH_SOCK=/tmp/ssh-t2S2gdQeaJXH/agent.32 [2023-08-15T15:41:53.160Z] SSH_AGENT_PID=38 [2023-08-15T15:41:53.166Z] Running ssh-add (command line suppressed) [2023-08-15T15:41:53.248Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13493170374884047055.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13493170374884047055.key) [2023-08-15T15:41:53.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T15:41:53.559Z] + git tag --points-at HEAD [Pipeline] } [2023-08-15T15:41:53.562Z] $ docker exec --env ******** --env ******** b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c ssh-agent -k [2023-08-15T15:41:53.663Z] unset SSH_AUTH_SOCK; [2023-08-15T15:41:53.663Z] unset SSH_AGENT_PID; [2023-08-15T15:41:53.663Z] echo Agent pid 38 killed; [2023-08-15T15:41:53.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-15T15:41:53.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T15:41:53.704Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T15:41:53.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T15:41:53.808Z] $ docker exec b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c ssh-agent [2023-08-15T15:41:53.937Z] SSH_AUTH_SOCK=/tmp/ssh-syKvAtMu1a2Y/agent.70 [2023-08-15T15:41:53.937Z] SSH_AGENT_PID=76 [2023-08-15T15:41:53.943Z] Running ssh-add (command line suppressed) [2023-08-15T15:41:54.042Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11579004316722975819.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11579004316722975819.key) [2023-08-15T15:41:54.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T15:41:54.353Z] + git semver init [2023-08-15T15:41:54.612Z] 2023-08-15 15:41:54,548 [run_init] DEBUG init version:0.0.0 force:False [2023-08-15T15:41:54.612Z] 2023-08-15 15:41:54,549 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-15T15:41:54.612Z] 2023-08-15 15:41:54,550 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-15T15:41:54.612Z] 2023-08-15 15:41:54,550 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-15T15:41:55.554Z] 2023-08-15 15:41:55,433 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-08-15T15:41:55.554Z] 2023-08-15 15:41:55,434 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-08-15T15:41:55.554Z] 2023-08-15 15:41:55,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:41:55.554Z] 2023-08-15 15:41:55,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:41:55.554Z] 3.1.0-dev.12 [Pipeline] } [2023-08-15T15:41:55.557Z] $ docker exec --env ******** --env ******** b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c ssh-agent -k [2023-08-15T15:41:55.650Z] unset SSH_AUTH_SOCK; [2023-08-15T15:41:55.652Z] unset SSH_AGENT_PID; [2023-08-15T15:41:55.652Z] echo Agent pid 76 killed; [2023-08-15T15:41:55.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-15T15:41:55.978Z] + git semver [Pipeline] } [2023-08-15T15:41:56.244Z] $ docker stop --time=1 b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c [2023-08-15T15:41:57.628Z] $ docker rm -f --volumes b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-15T15:41:57.981Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-15T15:41:58.195Z] Stashed 1 file(s) [Pipeline] echo [2023-08-15T15:41:58.197Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T15:41:58.354Z] provisioning config files... [2023-08-15T15:41:58.362Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15845111246605229422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:41:58.654Z] ---> docker-login.sh [2023-08-15T15:41:58.654Z] nexus3.edgexfoundry.org:10001 [2023-08-15T15:41:58.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:58.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:58.655Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:58.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:58.655Z] [2023-08-15T15:41:58.655Z] Login Succeeded [2023-08-15T15:41:58.655Z] nexus3.edgexfoundry.org:10002 [2023-08-15T15:41:58.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:58.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:58.655Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:58.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:58.655Z] [2023-08-15T15:41:58.655Z] Login Succeeded [2023-08-15T15:41:58.655Z] nexus3.edgexfoundry.org:10003 [2023-08-15T15:41:58.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:58.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:58.914Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:58.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:58.914Z] [2023-08-15T15:41:58.914Z] Login Succeeded [2023-08-15T15:41:58.914Z] nexus3.edgexfoundry.org:10004 [2023-08-15T15:41:58.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:58.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:58.914Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:58.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:58.914Z] [2023-08-15T15:41:58.914Z] Login Succeeded [2023-08-15T15:41:58.914Z] docker.io [2023-08-15T15:41:58.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:41:59.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:41:59.173Z] Configure a credential helper to remove this warning. See [2023-08-15T15:41:59.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:41:59.173Z] [2023-08-15T15:41:59.173Z] Login Succeeded [2023-08-15T15:41:59.173Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T15:41:59.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-15T15:41:59.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T15:41:59.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T15:41:59.258Z] ========================================================= [2023-08-15T15:41:59.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-15T15:41:59.258Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:41:59.573Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-15T15:41:59.573Z] Sending build context to Docker daemon 11.04MB [2023-08-15T15:41:59.573Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T15:41:59.573Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-15T15:41:59.573Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-15T15:41:59.573Z] 4db1b89c0bd1: Pulling fs layer [2023-08-15T15:41:59.573Z] 6911f1a30b25: Pulling fs layer [2023-08-15T15:41:59.573Z] e194b8c5c2a9: Pulling fs layer [2023-08-15T15:41:59.573Z] 6863d3e3a2b1: Pulling fs layer [2023-08-15T15:41:59.573Z] ec0bb842ea78: Pulling fs layer [2023-08-15T15:41:59.573Z] 40a00589a448: Pulling fs layer [2023-08-15T15:41:59.573Z] 6c08303d61cc: Pulling fs layer [2023-08-15T15:41:59.573Z] 798269fcf238: Pulling fs layer [2023-08-15T15:41:59.573Z] ec0bb842ea78: Waiting [2023-08-15T15:41:59.573Z] 40a00589a448: Waiting [2023-08-15T15:41:59.573Z] 6c08303d61cc: Waiting [2023-08-15T15:41:59.573Z] 798269fcf238: Waiting [2023-08-15T15:41:59.573Z] 6863d3e3a2b1: Waiting [2023-08-15T15:41:59.573Z] 6911f1a30b25: Verifying Checksum [2023-08-15T15:41:59.573Z] 6911f1a30b25: Download complete [2023-08-15T15:41:59.573Z] 6863d3e3a2b1: Verifying Checksum [2023-08-15T15:41:59.573Z] 6863d3e3a2b1: Download complete [2023-08-15T15:41:59.573Z] ec0bb842ea78: Download complete [2023-08-15T15:41:59.850Z] 4db1b89c0bd1: Verifying Checksum [2023-08-15T15:41:59.850Z] 4db1b89c0bd1: Download complete [2023-08-15T15:41:59.850Z] 40a00589a448: Verifying Checksum [2023-08-15T15:41:59.850Z] 40a00589a448: Download complete [2023-08-15T15:41:59.850Z] 4db1b89c0bd1: Pull complete [2023-08-15T15:42:00.126Z] 6911f1a30b25: Pull complete [2023-08-15T15:42:00.704Z] e194b8c5c2a9: Verifying Checksum [2023-08-15T15:42:00.704Z] e194b8c5c2a9: Download complete [2023-08-15T15:42:00.704Z] 798269fcf238: Verifying Checksum [2023-08-15T15:42:00.704Z] 798269fcf238: Download complete [2023-08-15T15:42:00.963Z] 6c08303d61cc: Verifying Checksum [2023-08-15T15:42:00.963Z] 6c08303d61cc: Download complete [2023-08-15T15:42:04.251Z] e194b8c5c2a9: Pull complete [2023-08-15T15:42:04.251Z] 6863d3e3a2b1: Pull complete [2023-08-15T15:42:04.251Z] ec0bb842ea78: Pull complete [2023-08-15T15:42:04.251Z] 40a00589a448: Pull complete [2023-08-15T15:42:06.782Z] 6c08303d61cc: Pull complete [2023-08-15T15:42:07.717Z] 798269fcf238: Pull complete [2023-08-15T15:42:07.717Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-15T15:42:07.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-15T15:42:07.717Z] ---> ec979cd7f677 [2023-08-15T15:42:07.717Z] Step 3/10 : ARG MAKE=make build [2023-08-15T15:42:13.318Z] Still waiting to schedule task [2023-08-15T15:42:13.319Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-15T15:42:14.288Z] ---> Running in 5807e8fd8eed [2023-08-15T15:42:14.288Z] Removing intermediate container 5807e8fd8eed [2023-08-15T15:42:14.288Z] ---> 235b00916c44 [2023-08-15T15:42:14.288Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-15T15:42:14.288Z] ---> Running in 553747de6f9d [2023-08-15T15:42:14.288Z] Removing intermediate container 553747de6f9d [2023-08-15T15:42:14.288Z] ---> b1f73549a73f [2023-08-15T15:42:14.288Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-15T15:42:14.288Z] ---> Running in a3086cbd0482 [2023-08-15T15:42:14.288Z] Removing intermediate container a3086cbd0482 [2023-08-15T15:42:14.288Z] ---> 6d2cf595987e [2023-08-15T15:42:14.288Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-15T15:42:14.546Z] ---> Running in fea722361dea [2023-08-15T15:42:15.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-15T15:42:15.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-15T15:42:15.372Z] OK: 265 MiB in 53 packages [2023-08-15T15:42:15.630Z] Removing intermediate container fea722361dea [2023-08-15T15:42:15.630Z] ---> c6a64cd3c5f3 [2023-08-15T15:42:15.630Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-15T15:42:15.890Z] ---> 2bb8b80a77ae [2023-08-15T15:42:15.890Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T15:42:15.890Z] ---> Running in 8b13df6c9956 [2023-08-15T15:42:54.613Z] Removing intermediate container 8b13df6c9956 [2023-08-15T15:42:54.614Z] ---> adfb6a6d7d4e [2023-08-15T15:42:54.614Z] Step 9/10 : COPY . . [2023-08-15T15:42:54.614Z] ---> b72427606724 [2023-08-15T15:42:54.614Z] Step 10/10 : RUN ${MAKE} [2023-08-15T15:42:54.614Z] ---> Running in 34339fe8e2fc [2023-08-15T15:42:54.614Z] noop [2023-08-15T15:42:54.614Z] Removing intermediate container 34339fe8e2fc [2023-08-15T15:42:54.614Z] ---> 14c4ec1c9a26 [2023-08-15T15:42:54.614Z] Successfully built 14c4ec1c9a26 [2023-08-15T15:42:54.614Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:42:54.939Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-15T15:42:54.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:42:55.018Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:42:55.058Z] $ 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-08-15T15:42:56.227Z] $ docker top 36c546b53fcc10293ab73c83c295e396f176bd8f2f946a6ad6713b3200151712 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T15:42:56.574Z] + go version [2023-08-15T15:42:56.574Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-15T15:42:56.590Z] $ docker stop --time=1 36c546b53fcc10293ab73c83c295e396f176bd8f2f946a6ad6713b3200151712 [2023-08-15T15:42:58.295Z] $ docker rm -f --volumes 36c546b53fcc10293ab73c83c295e396f176bd8f2f946a6ad6713b3200151712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:42:58.761Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-15T15:42:58.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:42:58.837Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:42:58.874Z] $ 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-08-15T15:43:00.023Z] $ docker top bd32048e3e55a21c90079ca6a29280d76ca269a8df82beb42bbab2fd9417dac9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T15:43:00.365Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-15T15:43:00.660Z] + make test [2023-08-15T15:43:00.660Z] go test -race -coverprofile=coverage.out ./... [2023-08-15T15:43:07.221Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-15T15:43:19.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-15T15:43:19.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-15T15:43:19.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-15T15:43:19.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-15T15:43:19.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-15T15:43:19.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements [2023-08-15T15:43:19.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements [2023-08-15T15:43:20.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-15T15:43:20.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-15T15:43:20.920Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements [2023-08-15T15:43:20.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-15T15:43:20.920Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 71.8% of statements [2023-08-15T15:43:21.856Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-15T15:43:21.856Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-15T15:43:22.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-15T15:43:24.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.081s coverage: 14.3% of statements [2023-08-15T15:43:24.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.763s coverage: 43.8% of statements [2023-08-15T15:43:24.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.111s coverage: 68.5% of statements [2023-08-15T15:43:24.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.141s coverage: 89.2% of statements [2023-08-15T15:43:24.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-08-15T15:43:46.013Z] GO111MODULE=on go vet ./... [2023-08-15T15:43:50.260Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-15T15:43:50.260Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-15T15:43:50.260Z] ./bin/test-attribution-txt.sh [2023-08-15T15:43:50.260Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-15T15:43:50.260Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-15T15:43:50.260Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-15T15:43:50.260Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-15T15:43:50.260Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-15T15:43:50.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-15T15:43:50.294Z] $ docker stop --time=1 bd32048e3e55a21c90079ca6a29280d76ca269a8df82beb42bbab2fd9417dac9 [2023-08-15T15:43:56.237Z] $ docker rm -f --volumes bd32048e3e55a21c90079ca6a29280d76ca269a8df82beb42bbab2fd9417dac9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-15T15:43:56.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-15T15:43:56.842Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-15T15:43:57.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-15T15:43:57.566Z] + ls -al . [2023-08-15T15:43:57.566Z] total 304 [2023-08-15T15:43:57.566Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 15:43 . [2023-08-15T15:43:57.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 15:41 .. [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 15:41 .dockerignore [2023-08-15T15:43:57.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 15:41 .git [2023-08-15T15:43:57.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 15:41 .github [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 15 15:41 .gitignore [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 15:41 .golangci.yml [2023-08-15T15:43:57.566Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 15:41 .semver [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 15 15:41 CHANGELOG.md [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 15:41 GOVERNANCE.md [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 15 15:41 Jenkinsfile [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 15 15:41 LICENSE [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 15 15:41 Makefile [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 15 15:41 OWNERS.md [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 15 15:41 README.md [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 15:41 VERSION [2023-08-15T15:43:57.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 15:41 bin [2023-08-15T15:43:57.566Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 15 15:43 coverage.out [2023-08-15T15:43:57.566Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 15 15:41 example [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 15 15:41 go.mod [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 15 15:41 go.sum [2023-08-15T15:43:57.566Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 15 15:41 internal [2023-08-15T15:43:57.566Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 15:41 openapi [2023-08-15T15:43:57.566Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 15 15:41 pkg [2023-08-15T15:43:57.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 15:41 snap [2023-08-15T15:43:57.566Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 15 15:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:43:57.958Z] + 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=b56f98b359607ae8777d3b496d3ffaedfbff1a58 --label arch=amd64 --label version=3.1.0-dev.12 . [2023-08-15T15:43:57.958Z] Sending build context to Docker daemon 11.16MB [2023-08-15T15:43:57.958Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T15:43:57.958Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-15T15:43:57.958Z] ---> 14c4ec1c9a26 [2023-08-15T15:43:57.958Z] Step 3/23 : ARG MAKE=make build [2023-08-15T15:43:58.218Z] ---> Running in d3af8f067c53 [2023-08-15T15:43:58.218Z] Removing intermediate container d3af8f067c53 [2023-08-15T15:43:58.218Z] ---> ea7c4ea834ec [2023-08-15T15:43:58.218Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-15T15:43:58.479Z] ---> Running in 12d81f0b6f40 [2023-08-15T15:43:59.065Z] Removing intermediate container 12d81f0b6f40 [2023-08-15T15:43:59.065Z] ---> f9a5ced07b7a [2023-08-15T15:43:59.065Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-15T15:43:59.325Z] ---> Running in 5ea39cc1f00c [2023-08-15T15:43:59.325Z] Removing intermediate container 5ea39cc1f00c [2023-08-15T15:43:59.325Z] ---> 2460260a682c [2023-08-15T15:43:59.325Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-15T15:43:59.325Z] ---> Running in 30da3db1579a [2023-08-15T15:43:59.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-15T15:43:59.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-15T15:44:00.100Z] OK: 265 MiB in 53 packages [2023-08-15T15:44:00.359Z] Removing intermediate container 30da3db1579a [2023-08-15T15:44:00.359Z] ---> 14b88fb0e5fe [2023-08-15T15:44:00.359Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-15T15:44:00.616Z] ---> 1c219c01e27c [2023-08-15T15:44:00.616Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T15:44:00.616Z] ---> Running in 954f68cea70d [2023-08-15T15:44:01.182Z] Removing intermediate container 954f68cea70d [2023-08-15T15:44:01.182Z] ---> 0732e684ab20 [2023-08-15T15:44:01.182Z] Step 9/23 : COPY . . [2023-08-15T15:44:02.147Z] ---> c9c37fac2ef9 [2023-08-15T15:44:02.147Z] Step 10/23 : RUN ${MAKE} [2023-08-15T15:44:02.147Z] ---> Running in 566e7bd01cd8 [2023-08-15T15:44:02.404Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.12" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-15T15:44:24.329Z] Removing intermediate container 566e7bd01cd8 [2023-08-15T15:44:24.329Z] ---> e043697cb6c3 [2023-08-15T15:44:24.329Z] Step 11/23 : FROM alpine:3.17 [2023-08-15T15:44:24.329Z] 3.17: Pulling from library/alpine [2023-08-15T15:44:24.329Z] 9398808236ff: Pulling fs layer [2023-08-15T15:44:24.589Z] 9398808236ff: Verifying Checksum [2023-08-15T15:44:24.589Z] 9398808236ff: Download complete [2023-08-15T15:44:24.848Z] 9398808236ff: Pull complete [2023-08-15T15:44:24.848Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-15T15:44:24.848Z] Status: Downloaded newer image for alpine:3.17 [2023-08-15T15:44:24.848Z] ---> 1e0b8b5322fc [2023-08-15T15:44:24.848Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-15T15:44:24.848Z] ---> Running in f122922db0ea [2023-08-15T15:44:25.107Z] Removing intermediate container f122922db0ea [2023-08-15T15:44:25.107Z] ---> 6ffe1dd71e1e [2023-08-15T15:44:25.107Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-15T15:44:25.107Z] ---> Running in 3072d8af427e [2023-08-15T15:44:25.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-15T15:44:25.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-15T15:44:25.884Z] OK: 7 MiB in 15 packages [2023-08-15T15:44:26.143Z] Removing intermediate container 3072d8af427e [2023-08-15T15:44:26.143Z] ---> a25fa8057881 [2023-08-15T15:44:26.143Z] Step 14/23 : WORKDIR / [2023-08-15T15:44:26.143Z] ---> Running in 83f97793e246 [2023-08-15T15:44:26.143Z] Removing intermediate container 83f97793e246 [2023-08-15T15:44:26.143Z] ---> 156a7fcba6b6 [2023-08-15T15:44:26.143Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-15T15:44:26.401Z] ---> ebc65d57f1d1 [2023-08-15T15:44:26.401Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-15T15:44:27.778Z] ---> 8dafb82c19a4 [2023-08-15T15:44:27.778Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-15T15:44:27.778Z] ---> 5bca9c6fa100 [2023-08-15T15:44:27.778Z] Step 18/23 : EXPOSE 59999 [2023-08-15T15:44:27.778Z] ---> Running in 9d837e0f1726 [2023-08-15T15:44:27.778Z] Removing intermediate container 9d837e0f1726 [2023-08-15T15:44:27.778Z] ---> 86d20d38c520 [2023-08-15T15:44:27.778Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-15T15:44:28.036Z] ---> Running in 68f5d388a1df [2023-08-15T15:44:28.036Z] Removing intermediate container 68f5d388a1df [2023-08-15T15:44:28.036Z] ---> f70e1698bf4b [2023-08-15T15:44:28.036Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-15T15:44:28.036Z] ---> Running in 90ef49a3ad3f [2023-08-15T15:44:28.295Z] Removing intermediate container 90ef49a3ad3f [2023-08-15T15:44:28.296Z] ---> b4bb68f9ab44 [2023-08-15T15:44:28.296Z] Step 21/23 : LABEL arch=amd64 [2023-08-15T15:44:28.296Z] ---> Running in 2e32b953222a [2023-08-15T15:44:28.296Z] Removing intermediate container 2e32b953222a [2023-08-15T15:44:28.296Z] ---> 3610c8256e8f [2023-08-15T15:44:28.296Z] Step 22/23 : LABEL git_sha=b56f98b359607ae8777d3b496d3ffaedfbff1a58 [2023-08-15T15:44:28.296Z] ---> Running in fc707174103c [2023-08-15T15:44:28.296Z] Removing intermediate container fc707174103c [2023-08-15T15:44:28.296Z] ---> 1f96b149982e [2023-08-15T15:44:28.296Z] Step 23/23 : LABEL version=3.1.0-dev.12 [2023-08-15T15:44:28.296Z] ---> Running in bd114ac1851b [2023-08-15T15:44:28.555Z] Removing intermediate container bd114ac1851b [2023-08-15T15:44:28.555Z] ---> b35360f9c2f9 [2023-08-15T15:44:28.555Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-15T15:44:28.555Z] Successfully built b35360f9c2f9 [2023-08-15T15:44:28.555Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:44:28.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T15:44:28.970Z] [2023-08-15T15:44:28.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:44:29.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T15:44:29.265Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-15T15:44:29.265Z] 5eb5b503b376: Pulling fs layer [2023-08-15T15:44:29.265Z] 5c69ac0246d0: Pulling fs layer [2023-08-15T15:44:29.265Z] ec43610c2a17: Pulling fs layer [2023-08-15T15:44:29.265Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-15T15:44:29.265Z] 33b1e0a273af: Pulling fs layer [2023-08-15T15:44:29.265Z] 5d3b04190fa2: Pulling fs layer [2023-08-15T15:44:29.265Z] 2f39f015ded8: Pulling fs layer [2023-08-15T15:44:29.265Z] 33b1e0a273af: Waiting [2023-08-15T15:44:29.265Z] 5d3b04190fa2: Waiting [2023-08-15T15:44:29.265Z] 2f39f015ded8: Waiting [2023-08-15T15:44:29.265Z] 3a2ae6a8a46f: Waiting [2023-08-15T15:44:29.265Z] 5c69ac0246d0: Verifying Checksum [2023-08-15T15:44:29.265Z] 5c69ac0246d0: Download complete [2023-08-15T15:44:29.265Z] 3a2ae6a8a46f: Download complete [2023-08-15T15:44:29.528Z] 33b1e0a273af: Verifying Checksum [2023-08-15T15:44:29.528Z] 33b1e0a273af: Download complete [2023-08-15T15:44:29.528Z] 5d3b04190fa2: Download complete [2023-08-15T15:44:29.528Z] ec43610c2a17: Verifying Checksum [2023-08-15T15:44:29.528Z] ec43610c2a17: Download complete [2023-08-15T15:44:29.528Z] 5eb5b503b376: Verifying Checksum [2023-08-15T15:44:29.528Z] 5eb5b503b376: Download complete [2023-08-15T15:44:30.464Z] 2f39f015ded8: Download complete [2023-08-15T15:44:30.723Z] 5eb5b503b376: Pull complete [2023-08-15T15:44:31.296Z] 5c69ac0246d0: Pull complete [2023-08-15T15:44:31.863Z] ec43610c2a17: Pull complete [2023-08-15T15:44:32.122Z] 3a2ae6a8a46f: Pull complete [2023-08-15T15:44:32.688Z] 33b1e0a273af: Pull complete [2023-08-15T15:44:32.688Z] 5d3b04190fa2: Pull complete [2023-08-15T15:44:36.885Z] 2f39f015ded8: Pull complete [2023-08-15T15:44:36.885Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-15T15:44:36.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T15:44:36.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:44:37.097Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:44:37.150Z] $ 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-08-15T15:44:44.799Z] $ docker top e6c1d67810d97f040bddc85a40b09ee54dfe096e0b6d039eae3583b1d9ca83e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:44:45.163Z] ---> job-cost.sh [2023-08-15T15:44:45.163Z] lf-activate-venv: SKIPPING [2023-08-15T15:44:45.163Z] INFO: No Stack... [2023-08-15T15:44:45.422Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-15T15:44:45.680Z] INFO: Archiving Costs [Pipeline] sh [2023-08-15T15:44:45.961Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-08-15T15:44:45.962Z] + cut -d, -f6 [Pipeline] lock [2023-08-15T15:44:45.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [2023-08-15T15:44:45.980Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] did not exist. Created. [2023-08-15T15:44:45.980Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-15T15:44:46.281Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-15T15:44:46.314Z] Stashed 1 file(s) [Pipeline] } [2023-08-15T15:44:46.321Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-15T15:44:46.349Z] $ docker stop --time=1 e6c1d67810d97f040bddc85a40b09ee54dfe096e0b6d039eae3583b1d9ca83e0 [2023-08-15T15:44:47.497Z] $ docker rm -f --volumes e6c1d67810d97f040bddc85a40b09ee54dfe096e0b6d039eae3583b1d9ca83e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-15T15:46:41.684Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3702 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-08-15T15:46:41.697Z] Running in /w/workspace/device-sdk-go/241 [Pipeline] { [Pipeline] checkout [2023-08-15T15:46:41.729Z] The recommended git tool is: git [2023-08-15T15:46:46.990Z] using credential edgex-jenkins-ssh [2023-08-15T15:46:47.010Z] Cloning the remote Git repository [2023-08-15T15:46:47.062Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-15T15:46:47.163Z] > git init /w/workspace/device-sdk-go/241 # timeout=10 [2023-08-15T15:46:47.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-15T15:46:47.316Z] > git --version # timeout=10 [2023-08-15T15:46:47.337Z] > git --version # 'git version 2.25.1' [2023-08-15T15:46:47.340Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-15T15:46:47.517Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-15T15:46:50.151Z] Avoid second fetch [2023-08-15T15:46:50.151Z] Checking out Revision b56f98b359607ae8777d3b496d3ffaedfbff1a58 (main) [2023-08-15T15:46:49.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-15T15:46:49.246Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-15T15:46:50.170Z] > git config core.sparsecheckout # timeout=10 [2023-08-15T15:46:50.252Z] > git checkout -f b56f98b359607ae8777d3b496d3ffaedfbff1a58 # timeout=10 [2023-08-15T15:46:50.840Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1493)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-15T15:46:51.849Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-15T15:46:51.849Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-15T15:46:51.849Z] Dload Upload Total Spent Left Speed [2023-08-15T15:46:51.849Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 75 12751 75 9637 0 0 57023 0 --:--:-- --:--:-- --:--:-- 56688 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74133 [Pipeline] sh [2023-08-15T15:46:52.525Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-15T15:46:52.857Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-15T15:46:52.857Z] + sudo tee /etc/docker/daemon.new [2023-08-15T15:46:52.857Z] { [2023-08-15T15:46:52.857Z] "registry-mirrors": [ [2023-08-15T15:46:52.857Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-15T15:46:52.857Z] ], [2023-08-15T15:46:52.857Z] "bip": "10.250.0.254/24", [2023-08-15T15:46:52.857Z] "hosts": [ [2023-08-15T15:46:52.857Z] "tcp://0.0.0.0:5555", [2023-08-15T15:46:52.857Z] "unix:///var/run/docker.sock" [2023-08-15T15:46:52.857Z] ], [2023-08-15T15:46:52.857Z] "mtu": 1458, [2023-08-15T15:46:52.857Z] "selinux-enabled": true, [2023-08-15T15:46:52.857Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-15T15:46:52.857Z] } [Pipeline] sh [2023-08-15T15:46:53.197Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-15T15:46:53.540Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T15:47:11.802Z] provisioning config files... [2023-08-15T15:47:11.832Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/241@tmp/config4431916925139267848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:47:12.187Z] ---> docker-login.sh [2023-08-15T15:47:12.187Z] nexus3.edgexfoundry.org:10001 [2023-08-15T15:47:12.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:47:12.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:47:12.777Z] Configure a credential helper to remove this warning. See [2023-08-15T15:47:12.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:47:12.777Z] [2023-08-15T15:47:12.777Z] Login Succeeded [2023-08-15T15:47:12.777Z] nexus3.edgexfoundry.org:10002 [2023-08-15T15:47:13.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:47:13.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:47:13.314Z] Configure a credential helper to remove this warning. See [2023-08-15T15:47:13.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:47:13.314Z] [2023-08-15T15:47:13.314Z] Login Succeeded [2023-08-15T15:47:13.314Z] nexus3.edgexfoundry.org:10003 [2023-08-15T15:47:13.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:47:13.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:47:13.597Z] Configure a credential helper to remove this warning. See [2023-08-15T15:47:13.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:47:13.597Z] [2023-08-15T15:47:13.597Z] Login Succeeded [2023-08-15T15:47:13.597Z] nexus3.edgexfoundry.org:10004 [2023-08-15T15:47:13.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:47:13.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:47:13.865Z] Configure a credential helper to remove this warning. See [2023-08-15T15:47:13.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:47:13.865Z] [2023-08-15T15:47:13.865Z] Login Succeeded [2023-08-15T15:47:13.865Z] docker.io [2023-08-15T15:47:14.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T15:47:14.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T15:47:14.402Z] Configure a credential helper to remove this warning. See [2023-08-15T15:47:14.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T15:47:14.402Z] [2023-08-15T15:47:14.402Z] Login Succeeded [2023-08-15T15:47:14.402Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T15:47:14.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-15T15:47:14.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T15:47:14.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T15:47:14.727Z] ========================================================= [2023-08-15T15:47:14.728Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-15T15:47:14.728Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:47:15.091Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-15T15:47:15.360Z] Sending build context to Docker daemon 5.89MB [2023-08-15T15:47:15.360Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T15:47:15.360Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-15T15:47:15.632Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-15T15:47:15.632Z] edb6bdbacee9: Pulling fs layer [2023-08-15T15:47:15.632Z] 5f9638ab2659: Pulling fs layer [2023-08-15T15:47:15.632Z] 8d51d6327a98: Pulling fs layer [2023-08-15T15:47:15.632Z] 8b374f2dd631: Pulling fs layer [2023-08-15T15:47:15.632Z] ec14aa9079de: Pulling fs layer [2023-08-15T15:47:15.632Z] 2f466654f4bb: Pulling fs layer [2023-08-15T15:47:15.632Z] 554e91adad29: Pulling fs layer [2023-08-15T15:47:15.632Z] 8b374f2dd631: Waiting [2023-08-15T15:47:15.632Z] ec14aa9079de: Waiting [2023-08-15T15:47:15.632Z] 2f466654f4bb: Waiting [2023-08-15T15:47:15.632Z] 554e91adad29: Waiting [2023-08-15T15:47:15.632Z] 5f9638ab2659: Verifying Checksum [2023-08-15T15:47:15.632Z] 5f9638ab2659: Download complete [2023-08-15T15:47:15.632Z] 8b374f2dd631: Verifying Checksum [2023-08-15T15:47:15.632Z] 8b374f2dd631: Download complete [2023-08-15T15:47:15.632Z] edb6bdbacee9: Verifying Checksum [2023-08-15T15:47:15.632Z] edb6bdbacee9: Download complete [2023-08-15T15:47:15.632Z] ec14aa9079de: Verifying Checksum [2023-08-15T15:47:15.632Z] ec14aa9079de: Download complete [2023-08-15T15:47:17.057Z] 554e91adad29: Verifying Checksum [2023-08-15T15:47:17.057Z] 554e91adad29: Download complete [2023-08-15T15:47:18.031Z] 8d51d6327a98: Verifying Checksum [2023-08-15T15:47:18.031Z] 8d51d6327a98: Download complete [2023-08-15T15:47:18.031Z] 2f466654f4bb: Verifying Checksum [2023-08-15T15:47:18.031Z] 2f466654f4bb: Download complete [2023-08-15T15:47:19.981Z] edb6bdbacee9: Pull complete [2023-08-15T15:47:19.981Z] 5f9638ab2659: Pull complete [2023-08-15T15:47:35.023Z] 8d51d6327a98: Pull complete [2023-08-15T15:47:35.023Z] 8b374f2dd631: Pull complete [2023-08-15T15:47:35.023Z] ec14aa9079de: Pull complete [2023-08-15T15:47:40.397Z] 2f466654f4bb: Pull complete [2023-08-15T15:47:42.987Z] 554e91adad29: Pull complete [2023-08-15T15:47:42.987Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-15T15:47:42.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-15T15:47:42.987Z] ---> 1e15ea492957 [2023-08-15T15:47:42.987Z] Step 3/10 : ARG MAKE=make build [2023-08-15T15:47:43.971Z] ---> Running in aef2de6135fc [2023-08-15T15:47:44.240Z] Removing intermediate container aef2de6135fc [2023-08-15T15:47:44.240Z] ---> a64e4fcc8e60 [2023-08-15T15:47:44.240Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-15T15:47:44.240Z] ---> Running in ed65372835e9 [2023-08-15T15:47:44.508Z] Removing intermediate container ed65372835e9 [2023-08-15T15:47:44.509Z] ---> 4d8673fb163c [2023-08-15T15:47:44.509Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-15T15:47:44.776Z] ---> Running in ac01015b05bb [2023-08-15T15:47:45.044Z] Removing intermediate container ac01015b05bb [2023-08-15T15:47:45.044Z] ---> b98399731870 [2023-08-15T15:47:45.044Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-15T15:47:45.044Z] ---> Running in 417cba288a4d [2023-08-15T15:47:46.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-15T15:47:47.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-15T15:47:48.194Z] OK: 263 MiB in 53 packages [2023-08-15T15:47:49.163Z] Removing intermediate container 417cba288a4d [2023-08-15T15:47:49.163Z] ---> 7410ea76174e [2023-08-15T15:47:49.163Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-15T15:47:49.447Z] ---> c7f6b9efe12c [2023-08-15T15:47:49.447Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T15:47:49.447Z] ---> Running in 6c1e9199b5c0 [2023-08-15T15:48:57.363Z] Removing intermediate container 6c1e9199b5c0 [2023-08-15T15:48:57.363Z] ---> 92e81c302ef5 [2023-08-15T15:48:57.363Z] Step 9/10 : COPY . . [2023-08-15T15:48:57.363Z] ---> 37fb38d64375 [2023-08-15T15:48:57.363Z] Step 10/10 : RUN ${MAKE} [2023-08-15T15:48:57.363Z] ---> Running in 14dd0703442c [2023-08-15T15:48:57.363Z] noop [2023-08-15T15:48:57.363Z] Removing intermediate container 14dd0703442c [2023-08-15T15:48:57.363Z] ---> 0f5880fa9a35 [2023-08-15T15:48:57.363Z] Successfully built 0f5880fa9a35 [2023-08-15T15:48:57.363Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:48:57.722Z] + docker inspect -f . ci-base-image-arm64 [2023-08-15T15:48:57.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:48:57.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-3702 does not seem to be running inside a container [2023-08-15T15:48:58.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/241 -v /w/workspace/device-sdk-go/241:/w/workspace/device-sdk-go/241:rw,z -v /w/workspace/device-sdk-go/241@tmp:/w/workspace/device-sdk-go/241@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-15T15:48:59.196Z] $ docker top be09747f042faea09e6d27049ceca6e9613b891a6e319cdf7ab3339a0160b0f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T15:49:00.028Z] + go version [2023-08-15T15:49:00.028Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-15T15:49:00.050Z] $ docker stop --time=1 be09747f042faea09e6d27049ceca6e9613b891a6e319cdf7ab3339a0160b0f4 [2023-08-15T15:49:01.682Z] $ docker rm -f --volumes be09747f042faea09e6d27049ceca6e9613b891a6e319cdf7ab3339a0160b0f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:49:02.224Z] + docker inspect -f . ci-base-image-arm64 [2023-08-15T15:49:02.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:49:02.420Z] prd-ubuntu20.04-docker-arm64-4c-16g-3702 does not seem to be running inside a container [2023-08-15T15:49:02.495Z] $ 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/241 -v /w/workspace/device-sdk-go/241:/w/workspace/device-sdk-go/241:rw,z -v /w/workspace/device-sdk-go/241@tmp:/w/workspace/device-sdk-go/241@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-15T15:49:03.687Z] $ docker top 3d487acb428d61a13821e789e862976dbb2ad6ece1ab2e48482df1ece3f07aab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T15:49:04.517Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/241 [Pipeline] fileExists [Pipeline] sh [2023-08-15T15:49:05.169Z] + make test [2023-08-15T15:49:05.169Z] go test -race -coverprofile=coverage.out ./... [2023-08-15T15:49:52.026Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-15T15:51:58.734Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-15T15:51:58.734Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-15T15:51:58.734Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-15T15:51:58.734Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-15T15:51:58.734Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-15T15:51:58.734Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.218s coverage: 27.6% of statements [2023-08-15T15:52:04.061Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.258s coverage: 80.2% of statements [2023-08-15T15:52:16.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-15T15:52:16.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-15T15:52:16.357Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.345s coverage: 86.0% of statements [2023-08-15T15:52:21.715Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-15T15:52:21.986Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.529s coverage: 71.8% of statements [2023-08-15T15:52:25.345Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.294s coverage: 14.3% of statements [2023-08-15T15:52:27.922Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-15T15:52:27.922Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-15T15:52:27.922Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.879s coverage: 43.8% of statements [2023-08-15T15:52:28.191Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.446s coverage: 68.5% of statements [2023-08-15T15:52:31.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.426s coverage: 89.2% of statements [2023-08-15T15:52:32.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-15T15:52:33.210Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.245s coverage: 5.5% of statements [2023-08-15T15:52:34.164Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-15T15:52:34.164Z] GO111MODULE=on go vet ./... [2023-08-15T15:54:55.883Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-15T15:54:55.883Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-15T15:54:55.883Z] ./bin/test-attribution-txt.sh [2023-08-15T15:54:55.883Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-15T15:54:55.883Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-15T15:54:55.883Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-15T15:54:55.883Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-15T15:54:55.883Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-15T15:54:55.903Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-15T15:54:55.922Z] $ docker stop --time=1 3d487acb428d61a13821e789e862976dbb2ad6ece1ab2e48482df1ece3f07aab [2023-08-15T15:54:57.791Z] $ docker rm -f --volumes 3d487acb428d61a13821e789e862976dbb2ad6ece1ab2e48482df1ece3f07aab [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-15T15:54:59.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-15T15:54:59.351Z] Warning: overwriting stash ‘coverage-report’ [2023-08-15T15:54:59.858Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-15T15:55:00.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-15T15:55:00.578Z] + ls -al . [2023-08-15T15:55:00.578Z] total 300 [2023-08-15T15:55:00.578Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 15:49 . [2023-08-15T15:55:00.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 15:46 .. [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 15:46 .dockerignore [2023-08-15T15:55:00.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 15:46 .git [2023-08-15T15:55:00.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 15:46 .github [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 15 15:46 .gitignore [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 15:46 .golangci.yml [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 15 15:46 CHANGELOG.md [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 15:46 GOVERNANCE.md [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 15 15:46 Jenkinsfile [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 15 15:46 LICENSE [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 15 15:46 Makefile [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 15 15:46 OWNERS.md [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 15 15:46 README.md [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 15:41 VERSION [2023-08-15T15:55:00.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 15:46 bin [2023-08-15T15:55:00.579Z] -rw-r--r-- 1 jenkins jenkins 120273 Aug 15 15:52 coverage.out [2023-08-15T15:55:00.579Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 15 15:46 example [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 15 15:46 go.mod [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 15 15:46 go.sum [2023-08-15T15:55:00.579Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 15 15:46 internal [2023-08-15T15:55:00.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 15:46 openapi [2023-08-15T15:55:00.579Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 15 15:46 pkg [2023-08-15T15:55:00.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 15:46 snap [2023-08-15T15:55:00.579Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 15 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:55:00.923Z] + 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=b56f98b359607ae8777d3b496d3ffaedfbff1a58 --label arch=arm64 --label version=3.1.0-dev.12 . [2023-08-15T15:55:01.190Z] Sending build context to Docker daemon 6.01MB [2023-08-15T15:55:01.190Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T15:55:01.190Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-15T15:55:01.190Z] ---> 0f5880fa9a35 [2023-08-15T15:55:01.190Z] Step 3/23 : ARG MAKE=make build [2023-08-15T15:55:01.456Z] ---> Running in 048d3735a69e [2023-08-15T15:55:01.725Z] Removing intermediate container 048d3735a69e [2023-08-15T15:55:01.725Z] ---> 7ee249ddbb11 [2023-08-15T15:55:01.725Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-15T15:55:01.725Z] ---> Running in 8ac5082e92c5 [2023-08-15T15:55:01.993Z] Removing intermediate container 8ac5082e92c5 [2023-08-15T15:55:01.993Z] ---> cda88abec3e6 [2023-08-15T15:55:01.993Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-15T15:55:02.263Z] ---> Running in 8339221f61e3 [2023-08-15T15:55:02.263Z] Removing intermediate container 8339221f61e3 [2023-08-15T15:55:02.263Z] ---> 9b85b9bc181b [2023-08-15T15:55:02.263Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-15T15:55:02.538Z] ---> Running in 06db0d9d5506 [2023-08-15T15:55:03.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-15T15:55:04.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-15T15:55:05.046Z] OK: 263 MiB in 53 packages [2023-08-15T15:55:05.629Z] Removing intermediate container 06db0d9d5506 [2023-08-15T15:55:05.629Z] ---> 4068b3e787de [2023-08-15T15:55:05.629Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-15T15:55:06.212Z] ---> f676c87138b2 [2023-08-15T15:55:06.212Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T15:55:06.212Z] ---> Running in f1b2f330fde0 [2023-08-15T15:55:10.470Z] Removing intermediate container f1b2f330fde0 [2023-08-15T15:55:10.470Z] ---> 3348a8e7082c [2023-08-15T15:55:10.470Z] Step 9/23 : COPY . . [2023-08-15T15:55:11.054Z] ---> 53eaa10dd4c9 [2023-08-15T15:55:11.054Z] Step 10/23 : RUN ${MAKE} [2023-08-15T15:55:11.054Z] ---> Running in 58c928f3cbe3 [2023-08-15T15:55:12.012Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.12" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-15T15:57:18.940Z] Removing intermediate container 58c928f3cbe3 [2023-08-15T15:57:18.940Z] ---> 963715c1c378 [2023-08-15T15:57:18.940Z] Step 11/23 : FROM alpine:3.17 [2023-08-15T15:57:18.940Z] 3.17: Pulling from library/alpine [2023-08-15T15:57:18.940Z] 4060ece20d7a: Pulling fs layer [2023-08-15T15:57:18.940Z] 4060ece20d7a: Verifying Checksum [2023-08-15T15:57:18.940Z] 4060ece20d7a: Download complete [2023-08-15T15:57:18.940Z] 4060ece20d7a: Pull complete [2023-08-15T15:57:18.940Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-15T15:57:18.940Z] Status: Downloaded newer image for alpine:3.17 [2023-08-15T15:57:18.940Z] ---> 8650cd65339b [2023-08-15T15:57:18.940Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-15T15:57:18.940Z] ---> Running in 359a9c023752 [2023-08-15T15:57:18.940Z] Removing intermediate container 359a9c023752 [2023-08-15T15:57:18.940Z] ---> e3126ff02938 [2023-08-15T15:57:18.940Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-15T15:57:18.940Z] ---> Running in 7f70a4431fe7 [2023-08-15T15:57:19.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-15T15:57:20.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-15T15:57:21.126Z] OK: 7 MiB in 15 packages [2023-08-15T15:57:22.534Z] Removing intermediate container 7f70a4431fe7 [2023-08-15T15:57:22.534Z] ---> 7f1d6c69535d [2023-08-15T15:57:22.534Z] Step 14/23 : WORKDIR / [2023-08-15T15:57:22.534Z] ---> Running in 4b27b31e2dc8 [2023-08-15T15:57:22.802Z] Removing intermediate container 4b27b31e2dc8 [2023-08-15T15:57:22.802Z] ---> 0d2d14a34657 [2023-08-15T15:57:22.802Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-15T15:57:23.384Z] ---> 652dafd67a65 [2023-08-15T15:57:23.384Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-15T15:57:24.788Z] ---> af7b3c4e0bd9 [2023-08-15T15:57:24.788Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-15T15:57:25.055Z] ---> ab0ccdaf0185 [2023-08-15T15:57:25.055Z] Step 18/23 : EXPOSE 59999 [2023-08-15T15:57:25.055Z] ---> Running in b97d14f15dee [2023-08-15T15:57:25.323Z] Removing intermediate container b97d14f15dee [2023-08-15T15:57:25.323Z] ---> b749e94082d1 [2023-08-15T15:57:25.323Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-15T15:57:25.591Z] ---> Running in 4b9644d613be [2023-08-15T15:57:25.859Z] Removing intermediate container 4b9644d613be [2023-08-15T15:57:25.859Z] ---> c6d8ee34cc28 [2023-08-15T15:57:25.859Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-15T15:57:25.859Z] ---> Running in 739e45fe386b [2023-08-15T15:57:26.126Z] Removing intermediate container 739e45fe386b [2023-08-15T15:57:26.126Z] ---> bbde7cf6ce1f [2023-08-15T15:57:26.126Z] Step 21/23 : LABEL arch=arm64 [2023-08-15T15:57:26.126Z] ---> Running in 38f65a92b319 [2023-08-15T15:57:26.394Z] Removing intermediate container 38f65a92b319 [2023-08-15T15:57:26.394Z] ---> ea860cda5e66 [2023-08-15T15:57:26.394Z] Step 22/23 : LABEL git_sha=b56f98b359607ae8777d3b496d3ffaedfbff1a58 [2023-08-15T15:57:26.394Z] ---> Running in df1edcca283a [2023-08-15T15:57:26.660Z] Removing intermediate container df1edcca283a [2023-08-15T15:57:26.660Z] ---> aea97dd8bdef [2023-08-15T15:57:26.660Z] Step 23/23 : LABEL version=3.1.0-dev.12 [2023-08-15T15:57:26.660Z] ---> Running in 9a47db298e0c [2023-08-15T15:57:27.241Z] Removing intermediate container 9a47db298e0c [2023-08-15T15:57:27.241Z] ---> 66771683fab2 [2023-08-15T15:57:27.241Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-15T15:57:27.241Z] Successfully built 66771683fab2 [2023-08-15T15:57:27.241Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:57:27.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T15:57:27.672Z] [2023-08-15T15:57:27.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:57:27.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T15:57:27.996Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-15T15:57:27.996Z] 8998bd30e6a1: Pulling fs layer [2023-08-15T15:57:27.996Z] 04944245beec: Pulling fs layer [2023-08-15T15:57:27.996Z] 699f458cf7ca: Pulling fs layer [2023-08-15T15:57:27.996Z] 765212b225bb: Pulling fs layer [2023-08-15T15:57:27.996Z] f23df028b6ca: Pulling fs layer [2023-08-15T15:57:27.996Z] d65c8cfc05b1: Pulling fs layer [2023-08-15T15:57:27.996Z] 2437ff75d9bd: Pulling fs layer [2023-08-15T15:57:27.996Z] 765212b225bb: Waiting [2023-08-15T15:57:27.996Z] f23df028b6ca: Waiting [2023-08-15T15:57:27.996Z] d65c8cfc05b1: Waiting [2023-08-15T15:57:27.996Z] 2437ff75d9bd: Waiting [2023-08-15T15:57:28.264Z] 04944245beec: Verifying Checksum [2023-08-15T15:57:28.264Z] 04944245beec: Download complete [2023-08-15T15:57:28.264Z] 765212b225bb: Verifying Checksum [2023-08-15T15:57:28.264Z] 765212b225bb: Download complete [2023-08-15T15:57:28.264Z] f23df028b6ca: Verifying Checksum [2023-08-15T15:57:28.264Z] f23df028b6ca: Download complete [2023-08-15T15:57:28.264Z] d65c8cfc05b1: Verifying Checksum [2023-08-15T15:57:28.264Z] d65c8cfc05b1: Download complete [2023-08-15T15:57:28.264Z] 699f458cf7ca: Verifying Checksum [2023-08-15T15:57:28.264Z] 699f458cf7ca: Download complete [2023-08-15T15:57:28.849Z] 8998bd30e6a1: Verifying Checksum [2023-08-15T15:57:28.849Z] 8998bd30e6a1: Download complete [2023-08-15T15:57:30.816Z] 2437ff75d9bd: Verifying Checksum [2023-08-15T15:57:30.816Z] 2437ff75d9bd: Download complete [2023-08-15T15:57:32.757Z] 8998bd30e6a1: Pull complete [2023-08-15T15:57:35.321Z] 04944245beec: Pull complete [2023-08-15T15:57:36.729Z] 699f458cf7ca: Pull complete [2023-08-15T15:57:36.729Z] 765212b225bb: Pull complete [2023-08-15T15:57:37.312Z] f23df028b6ca: Pull complete [2023-08-15T15:57:37.578Z] d65c8cfc05b1: Pull complete [2023-08-15T15:57:52.552Z] 2437ff75d9bd: Pull complete [2023-08-15T15:57:52.552Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-15T15:57:52.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T15:57:52.552Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:57:52.753Z] prd-ubuntu20.04-docker-arm64-4c-16g-3702 does not seem to be running inside a container [2023-08-15T15:57:52.817Z] $ 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/241 -v /w/workspace/device-sdk-go/241:/w/workspace/device-sdk-go/241:rw,z -v /w/workspace/device-sdk-go/241@tmp:/w/workspace/device-sdk-go/241@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-15T15:57:55.138Z] $ docker top d36c8cd58d055ae560306562134672f7d9b56bf1940e5aaaa01a3e564c3a3365 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:57:55.649Z] ---> job-cost.sh [2023-08-15T15:57:55.915Z] lf-activate-venv: SKIPPING [2023-08-15T15:57:55.915Z] INFO: No Stack... [2023-08-15T15:57:56.180Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-15T15:57:57.135Z] INFO: Archiving Costs [Pipeline] sh [2023-08-15T15:57:57.454Z] + cat /w/workspace/device-sdk-go/241/archives/cost.csv [2023-08-15T15:57:57.454Z] + cut -d, -f6 [Pipeline] lock [2023-08-15T15:57:57.511Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [2023-08-15T15:57:57.519Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] did not exist. Created. [2023-08-15T15:57:57.519Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-15T15:57:57.855Z] /w/workspace/device-sdk-go/241@tmp/durable-d56e8d97/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-15T15:57:58.499Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-15T15:57:58.521Z] Warning: overwriting stash ‘stack-cost’ [2023-08-15T15:57:58.595Z] Stashed 1 file(s) [Pipeline] } [2023-08-15T15:57:58.604Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-15T15:57:58.621Z] $ docker stop --time=1 d36c8cd58d055ae560306562134672f7d9b56bf1940e5aaaa01a3e564c3a3365 [2023-08-15T15:58:00.087Z] $ docker rm -f --volumes d36c8cd58d055ae560306562134672f7d9b56bf1940e5aaaa01a3e564c3a3365 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-15T15:58:00.473Z] provisioning config files... [2023-08-15T15:58:00.482Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7622845074618767711tmp [Pipeline] { [Pipeline] sh [2023-08-15T15:58:00.772Z] + set +x [2023-08-15T15:58:00.772Z] + + curl -sbash https://codecov.io/bash -s [2023-08-15T15:58:00.772Z] -- [2023-08-15T15:58:00.772Z] [2023-08-15T15:58:00.772Z] _____ _ [2023-08-15T15:58:00.772Z] / ____| | | [2023-08-15T15:58:00.772Z] | | ___ __| | ___ ___ _____ __ [2023-08-15T15:58:00.772Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-15T15:58:00.772Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-15T15:58:00.772Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-15T15:58:00.772Z] Bash-1.0.6 [2023-08-15T15:58:00.772Z] [2023-08-15T15:58:00.772Z] [2023-08-15T15:58:00.772Z] ==> git version 2.25.1 found [2023-08-15T15:58:00.772Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-15T15:58:00.772Z] Release-Date: 2020-01-08 [2023-08-15T15:58:00.772Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-15T15:58:00.772Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-15T15:58:00.772Z] ==> Jenkins CI detected. [2023-08-15T15:58:00.772Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-15T15:58:00.772Z] project root: . [2023-08-15T15:58:00.772Z] --> token set from env [2023-08-15T15:58:00.772Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-15T15:58:00.772Z] ==> Running gcov in . (disable via -X gcov) [2023-08-15T15:58:00.772Z] ==> Python coveragepy not found [2023-08-15T15:58:00.772Z] ==> Searching for coverage reports in: [2023-08-15T15:58:00.772Z] + . [2023-08-15T15:58:01.030Z] -> Found 1 reports [2023-08-15T15:58:01.030Z] ==> Detecting git/mercurial file structure [2023-08-15T15:58:01.030Z] ==> Reading reports [2023-08-15T15:58:01.030Z] + ./coverage.out bytes=120273 [2023-08-15T15:58:01.030Z] ==> Appending adjustments [2023-08-15T15:58:01.030Z] https://docs.codecov.io/docs/fixing-reports [2023-08-15T15:58:01.289Z] + Found adjustments [2023-08-15T15:58:01.289Z] ==> Gzipping contents [2023-08-15T15:58:01.289Z] 20K /tmp/codecov.5Tx76K.gz [2023-08-15T15:58:01.289Z] ==> Uploading reports [2023-08-15T15:58:01.289Z] url: https://codecov.io [2023-08-15T15:58:01.289Z] query: branch=main&commit=b56f98b359607ae8777d3b496d3ffaedfbff1a58&build=241&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F241%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-15T15:58:01.289Z] -> Pinging Codecov [2023-08-15T15:58:01.289Z] 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=b56f98b359607ae8777d3b496d3ffaedfbff1a58&build=241&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F241%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-15T15:58:01.289Z] -> Uploading to [2023-08-15T15:58:01.289Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-15/7E55EF52A471D76F132DFD9A03CDDE97/b56f98b359607ae8777d3b496d3ffaedfbff1a58/4056260a-cdef-4dab-9783-e88ace184ef5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230815T155801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a50afa14a3ea54af8319abc8bd3bb4079d319a966aa86582bbe91eb4a2bfd2a4 [2023-08-15T15:58:01.289Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-15T15:58:01.289Z] Dload Upload Total Spent Left Speed [2023-08-15T15:58:01.549Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16431 0 0 100 16431 0 86026 --:--:-- --:--:-- --:--:-- 86026 [2023-08-15T15:58:01.549Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] } [2023-08-15T15:58:01.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-15T15:58:01.660Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-15T15:58:01.668Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:58:01.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-15T15:58:01.967Z] [2023-08-15T15:58:01.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:58:02.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-15T15:58:02.274Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-15T15:58:02.274Z] df9b9388f04a: Pulling fs layer [2023-08-15T15:58:02.274Z] 52dc419b0ee2: Pulling fs layer [2023-08-15T15:58:02.274Z] 25bc292e5bac: Pulling fs layer [2023-08-15T15:58:02.274Z] 114826534d7a: Pulling fs layer [2023-08-15T15:58:02.274Z] 4657fd5d0bcf: Pulling fs layer [2023-08-15T15:58:02.274Z] 6ad1cebc031e: Pulling fs layer [2023-08-15T15:58:02.274Z] 8a3aa393b2d8: Pulling fs layer [2023-08-15T15:58:02.274Z] 114826534d7a: Waiting [2023-08-15T15:58:02.274Z] 4657fd5d0bcf: Waiting [2023-08-15T15:58:02.274Z] 6ad1cebc031e: Waiting [2023-08-15T15:58:02.274Z] 8a3aa393b2d8: Waiting [2023-08-15T15:58:02.274Z] 25bc292e5bac: Verifying Checksum [2023-08-15T15:58:02.274Z] 25bc292e5bac: Download complete [2023-08-15T15:58:02.274Z] 52dc419b0ee2: Verifying Checksum [2023-08-15T15:58:02.274Z] 52dc419b0ee2: Download complete [2023-08-15T15:58:02.274Z] 4657fd5d0bcf: Verifying Checksum [2023-08-15T15:58:02.274Z] 4657fd5d0bcf: Download complete [2023-08-15T15:58:02.274Z] df9b9388f04a: Verifying Checksum [2023-08-15T15:58:02.274Z] df9b9388f04a: Download complete [2023-08-15T15:58:02.534Z] df9b9388f04a: Pull complete [2023-08-15T15:58:02.534Z] 6ad1cebc031e: Verifying Checksum [2023-08-15T15:58:02.534Z] 6ad1cebc031e: Download complete [2023-08-15T15:58:02.534Z] 52dc419b0ee2: Pull complete [2023-08-15T15:58:02.794Z] 25bc292e5bac: Pull complete [2023-08-15T15:58:03.361Z] 114826534d7a: Verifying Checksum [2023-08-15T15:58:03.361Z] 114826534d7a: Download complete [2023-08-15T15:58:03.361Z] 8a3aa393b2d8: Download complete [2023-08-15T15:58:06.643Z] 114826534d7a: Pull complete [2023-08-15T15:58:06.643Z] 4657fd5d0bcf: Pull complete [2023-08-15T15:58:06.901Z] 6ad1cebc031e: Pull complete [2023-08-15T15:58:09.428Z] 8a3aa393b2d8: Pull complete [2023-08-15T15:58:09.428Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-15T15:58:09.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-15T15:58:09.428Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:58:09.515Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:58:09.569Z] $ 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-08-15T15:58:18.422Z] $ docker top 1e1e7d0bb7ab74209adec41c673657395bb9a6a407b4a7537a58868a0564bcff -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-15T15:58:18.472Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-08-15T15:58:18.752Z] + set -o pipefail [2023-08-15T15:58:18.752Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-08-15T15:58:24.025Z] [2023-08-15T15:58:24.025Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-08-15T15:58:24.025Z] [2023-08-15T15:58:24.025Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/8a0b995c-d964-481a-980c-cfce9dec366d [2023-08-15T15:58:24.025Z] [2023-08-15T15:58:24.025Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-15T15:58:24.025Z] [2023-08-15T15:58:24.025Z] [2023-08-15T15:58:24.025Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-15T15:58:24.025Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-15T15:58:24.025Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-15T15:58:24.054Z] $ docker stop --time=1 1e1e7d0bb7ab74209adec41c673657395bb9a6a407b4a7537a58868a0564bcff [2023-08-15T15:58:29.121Z] $ docker rm -f --volumes 1e1e7d0bb7ab74209adec41c673657395bb9a6a407b4a7537a58868a0564bcff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-08-15T15:58:29.569Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T15:58:29.585Z] provisioning config files... [2023-08-15T15:58:29.593Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10087503797842799348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:58:29.895Z] --> edgex-publish-swagger.sh [2023-08-15T15:58:29.895Z] === Publish openapi/v3 API === [2023-08-15T15:58:29.895Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-08-15T15:58:29.895Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-08-15T15:58:29.895Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-15T15:58:29.895Z] Dload Upload Total Spent Left Speed [2023-08-15T15:58:30.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 50156 --:--:-- --:--:-- --:--:-- 50156 [2023-08-15T15:58:30.155Z] [2023-08-15T15:58:30.155Z] [Pipeline] } [2023-08-15T15:58:30.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-15T15:58:30.572Z] + git log --format=format:%s -1 b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] sh [2023-08-15T15:58:30.862Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-15T15:58:30.862Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:58:31.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T15:58:31.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:58:31.234Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:58:31.286Z] $ 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-08-15T15:58:31.717Z] $ docker top c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 -eo pid,comm [2023-08-15T15:58:31.747Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-15T15:58:31.747Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-15T15:58:31.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T15:58:31.785Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T15:58:31.901Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T15:58:31.922Z] $ docker exec c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 ssh-agent [2023-08-15T15:58:32.013Z] SSH_AUTH_SOCK=/tmp/ssh-TsmailYV04m4/agent.31 [2023-08-15T15:58:32.013Z] SSH_AGENT_PID=37 [2023-08-15T15:58:32.018Z] Running ssh-add (command line suppressed) [2023-08-15T15:58:32.130Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18030740754601757104.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18030740754601757104.key) [2023-08-15T15:58:32.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T15:58:32.414Z] + git semver tag [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,634 [run_tag] DEBUG tag force:False [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,634 [check_head_tag] DEBUG check head tag [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,635 [execute] INFO git cat-file --batch-check [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,639 [execute] INFO git cat-file --batch [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,639 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,653 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,653 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-15T15:58:32.673Z] 2023-08-15 15:58:32,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:58:32.673Z] 3.1.0-dev.12 [Pipeline] } [2023-08-15T15:58:32.699Z] $ docker exec --env ******** --env ******** c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 ssh-agent -k [2023-08-15T15:58:32.799Z] unset SSH_AUTH_SOCK; [2023-08-15T15:58:32.799Z] unset SSH_AGENT_PID; [2023-08-15T15:58:32.799Z] echo Agent pid 37 killed; [2023-08-15T15:58:32.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-15T15:58:33.101Z] + git semver [Pipeline] } [2023-08-15T15:58:33.393Z] $ docker stop --time=1 c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 [2023-08-15T15:58:34.698Z] $ docker rm -f --volumes c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:58:35.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-15T15:58:35.081Z] [2023-08-15T15:58:35.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:58:35.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-15T15:58:35.384Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-15T15:58:35.384Z] ab5ef0e58194: Pulling fs layer [2023-08-15T15:58:35.384Z] 9712f1f96733: Pulling fs layer [2023-08-15T15:58:35.384Z] 63f879dbbcfc: Pulling fs layer [2023-08-15T15:58:35.384Z] 0d9ebad4ef96: Pulling fs layer [2023-08-15T15:58:35.384Z] e9a5061849ea: Pulling fs layer [2023-08-15T15:58:35.384Z] d747dcd14b5f: Pulling fs layer [2023-08-15T15:58:35.384Z] 2de7ff778b66: Pulling fs layer [2023-08-15T15:58:35.384Z] e9a5061849ea: Waiting [2023-08-15T15:58:35.384Z] d747dcd14b5f: Waiting [2023-08-15T15:58:35.384Z] 2de7ff778b66: Waiting [2023-08-15T15:58:35.384Z] 0d9ebad4ef96: Waiting [2023-08-15T15:58:35.384Z] 9712f1f96733: Verifying Checksum [2023-08-15T15:58:35.384Z] 9712f1f96733: Download complete [2023-08-15T15:58:35.961Z] 63f879dbbcfc: Verifying Checksum [2023-08-15T15:58:35.961Z] 63f879dbbcfc: Download complete [2023-08-15T15:58:36.220Z] 0d9ebad4ef96: Verifying Checksum [2023-08-15T15:58:36.220Z] 0d9ebad4ef96: Download complete [2023-08-15T15:58:36.220Z] ab5ef0e58194: Verifying Checksum [2023-08-15T15:58:36.220Z] ab5ef0e58194: Download complete [2023-08-15T15:58:36.220Z] d747dcd14b5f: Verifying Checksum [2023-08-15T15:58:36.220Z] d747dcd14b5f: Download complete [2023-08-15T15:58:36.220Z] e9a5061849ea: Verifying Checksum [2023-08-15T15:58:36.220Z] 2de7ff778b66: Verifying Checksum [2023-08-15T15:58:36.220Z] 2de7ff778b66: Download complete [2023-08-15T15:58:38.752Z] ab5ef0e58194: Pull complete [2023-08-15T15:58:38.752Z] 9712f1f96733: Pull complete [2023-08-15T15:58:39.686Z] 63f879dbbcfc: Pull complete [2023-08-15T15:58:42.975Z] 0d9ebad4ef96: Pull complete [2023-08-15T15:58:43.233Z] e9a5061849ea: Pull complete [2023-08-15T15:58:43.233Z] d747dcd14b5f: Pull complete [2023-08-15T15:58:44.609Z] 2de7ff778b66: Pull complete [2023-08-15T15:58:44.609Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-15T15:58:44.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-15T15:58:44.609Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:58:44.715Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:58:44.779Z] $ 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-08-15T15:58:52.885Z] $ docker top 32df72e646cfb8290abe83410062c9b629c3d412edbd819dce702eeb7749c3d4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-15T15:58:52.932Z] provisioning config files... [2023-08-15T15:58:52.938Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13448010278480383143tmp [2023-08-15T15:58:52.947Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15159526633338085844tmp [2023-08-15T15:58:52.956Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4517659838534222384tmp [Pipeline] { [Pipeline] echo [2023-08-15T15:58:52.971Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:58:53.250Z] ---> sigul-configuration.sh [2023-08-15T15:58:53.250Z] gpg: directory `/root/.gnupg' created [2023-08-15T15:58:53.250Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-15T15:58:53.250Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-15T15:58:53.250Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-15T15:58:53.250Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-15T15:58:53.250Z] gpg: CAST5 encrypted data [2023-08-15T15:58:53.250Z] gpg: encrypted with 1 passphrase [2023-08-15T15:58:53.250Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-15T15:58:53.534Z] + mkdir /home/jenkins [2023-08-15T15:58:53.535Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-15T15:58:53.821Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-15T15:58:53.830Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:58:54.113Z] ---> sigul-install.sh [2023-08-15T15:58:54.113Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-15T15:58:54.399Z] + git tag --list [2023-08-15T15:58:54.399Z] 0.7.1 [2023-08-15T15:58:54.399Z] delhi-tag [2023-08-15T15:58:54.399Z] v1.0.0 [2023-08-15T15:58:54.399Z] v1.1.0 [2023-08-15T15:58:54.399Z] v1.1.1 [2023-08-15T15:58:54.399Z] v1.1.2 [2023-08-15T15:58:54.399Z] v1.2.0 [2023-08-15T15:58:54.399Z] v1.2.1 [2023-08-15T15:58:54.399Z] v1.2.2 [2023-08-15T15:58:54.399Z] v1.2.3 [2023-08-15T15:58:54.399Z] v1.3.0 [2023-08-15T15:58:54.399Z] v1.4.0 [2023-08-15T15:58:54.399Z] v2.0.0 [2023-08-15T15:58:54.399Z] v2.1.0 [2023-08-15T15:58:54.399Z] v2.1.1 [2023-08-15T15:58:54.399Z] v2.2.0 [2023-08-15T15:58:54.399Z] v2.3.0 [2023-08-15T15:58:54.399Z] v2.3.1 [2023-08-15T15:58:54.399Z] v3.0 [2023-08-15T15:58:54.399Z] v3.0.0 [2023-08-15T15:58:54.399Z] v3.0.1-dev.1 [2023-08-15T15:58:54.399Z] v3.1.0-dev.1 [2023-08-15T15:58:54.399Z] v3.1.0-dev.10 [2023-08-15T15:58:54.399Z] v3.1.0-dev.11 [2023-08-15T15:58:54.399Z] v3.1.0-dev.12 [2023-08-15T15:58:54.399Z] v3.1.0-dev.2 [2023-08-15T15:58:54.399Z] v3.1.0-dev.3 [2023-08-15T15:58:54.399Z] v3.1.0-dev.4 [2023-08-15T15:58:54.399Z] v3.1.0-dev.5 [2023-08-15T15:58:54.399Z] v3.1.0-dev.6 [2023-08-15T15:58:54.399Z] v3.1.0-dev.7 [2023-08-15T15:58:54.399Z] v3.1.0-dev.8 [2023-08-15T15:58:54.399Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-15T15:58:54.689Z] + lftools sign git-tag v3.1.0-dev.12 [2023-08-15T15:58:55.261Z] Signing Git tag with Sigul... [2023-08-15T15:58:55.261Z] Signing v3.1.0-dev.12 [Pipeline] echo [2023-08-15T15:58:55.530Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:58:55.813Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-15T15:58:55.820Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-15T15:58:55.866Z] $ docker stop --time=1 32df72e646cfb8290abe83410062c9b629c3d412edbd819dce702eeb7749c3d4 [2023-08-15T15:58:57.124Z] $ docker rm -f --volumes 32df72e646cfb8290abe83410062c9b629c3d412edbd819dce702eeb7749c3d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-15T15:58:57.524Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-15T15:58:57.524Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:58:57.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T15:58:57.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:58:57.889Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:58:57.935Z] $ 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-08-15T15:58:58.270Z] $ docker top 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 -eo pid,comm [2023-08-15T15:58:58.299Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-15T15:58:58.299Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-15T15:58:58.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T15:58:58.339Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T15:58:58.447Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T15:58:58.467Z] $ docker exec 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 ssh-agent [2023-08-15T15:58:58.540Z] SSH_AUTH_SOCK=/tmp/ssh-4jNMBdccQdZ4/agent.32 [2023-08-15T15:58:58.540Z] SSH_AGENT_PID=38 [2023-08-15T15:58:58.545Z] Running ssh-add (command line suppressed) [2023-08-15T15:58:58.664Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_813486367833400790.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_813486367833400790.key) [2023-08-15T15:58:58.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T15:58:58.948Z] + git semver bump pre [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,141 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,141 [bump_version] DEBUG bumped version:3.1.0-dev.13 [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,141 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,141 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,143 [execute] INFO git cat-file --batch-check [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,149 [execute] INFO git cat-file --batch [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-15T15:58:59.208Z] 2023-08-15 15:58:59,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:58:59.208Z] 3.1.0-dev.13 [Pipeline] } [2023-08-15T15:58:59.236Z] $ docker exec --env ******** --env ******** 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 ssh-agent -k [2023-08-15T15:58:59.320Z] unset SSH_AUTH_SOCK; [2023-08-15T15:58:59.320Z] unset SSH_AGENT_PID; [2023-08-15T15:58:59.320Z] echo Agent pid 38 killed; [2023-08-15T15:58:59.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-15T15:58:59.608Z] + git semver [Pipeline] } [2023-08-15T15:58:59.897Z] $ docker stop --time=1 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 [2023-08-15T15:59:01.152Z] $ docker rm -f --volumes 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-15T15:59:01.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-15T15:59:01.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:59:01.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T15:59:01.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:59:01.901Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:59:01.998Z] $ 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-08-15T15:59:02.343Z] $ docker top 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 -eo pid,comm [2023-08-15T15:59:02.375Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-15T15:59:02.375Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-15T15:59:02.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T15:59:02.408Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T15:59:02.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T15:59:02.546Z] $ docker exec 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 ssh-agent [2023-08-15T15:59:02.622Z] SSH_AUTH_SOCK=/tmp/ssh-XesKTICyodi8/agent.32 [2023-08-15T15:59:02.622Z] SSH_AGENT_PID=38 [2023-08-15T15:59:02.628Z] Running ssh-add (command line suppressed) [2023-08-15T15:59:02.739Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16018039368113508442.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16018039368113508442.key) [2023-08-15T15:59:02.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T15:59:03.028Z] + git semver push [2023-08-15T15:59:03.287Z] 2023-08-15 15:59:03,218 [run_push] DEBUG push [2023-08-15T15:59:03.287Z] 2023-08-15 15:59:03,218 [execute] INFO git cat-file --batch-check [2023-08-15T15:59:03.287Z] 2023-08-15 15:59:03,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-15T15:59:03.287Z] 2023-08-15 15:59:03,223 [execute] INFO git rev-list 94429f35383cdd10aeccfc98b7990aff437f1e6a -- [2023-08-15T15:59:03.287Z] 2023-08-15 15:59:03,223 [execute] DEBUG Popen(['git', 'rev-list', '94429f35383cdd10aeccfc98b7990aff437f1e6a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-15T15:59:03.287Z] 2023-08-15 15:59:03,235 [execute] INFO git fetch -v origin [2023-08-15T15:59:03.287Z] 2023-08-15 15:59:03,235 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-15T15:59:03.856Z] 2023-08-15 15:59:03,705 [run_push] DEBUG no remote changes detected [2023-08-15T15:59:03.856Z] 2023-08-15 15:59:03,705 [execute] INFO git push origin semver [2023-08-15T15:59:03.856Z] 2023-08-15 15:59:03,705 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-15T15:59:05.233Z] 2023-08-15 15:59:04,911 [run_push] DEBUG push all version tags [2023-08-15T15:59:05.233Z] 2023-08-15 15:59:04,912 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-15T15:59:05.233Z] 2023-08-15 15:59:04,912 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-15T15:59:06.169Z] 2023-08-15 15:59:05,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-15T15:59:06.169Z] 3.1.0-dev.13 [Pipeline] } [2023-08-15T15:59:06.195Z] $ docker exec --env ******** --env ******** 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 ssh-agent -k [2023-08-15T15:59:06.291Z] unset SSH_AUTH_SOCK; [2023-08-15T15:59:06.291Z] unset SSH_AGENT_PID; [2023-08-15T15:59:06.292Z] echo Agent pid 38 killed; [2023-08-15T15:59:06.288Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-15T15:59:06.594Z] + git semver [Pipeline] } [2023-08-15T15:59:06.885Z] $ docker stop --time=1 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 [2023-08-15T15:59:08.140Z] $ docker rm -f --volumes 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-15T15:59:08.691Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-08-15T15:59:08.691Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-15T15:59:08.691Z] total 16 [2023-08-15T15:59:08.691Z] drwxr-xr-x 3 root root 4096 Aug 15 15:44 . [2023-08-15T15:59:08.691Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 15 15:58 .. [2023-08-15T15:59:08.691Z] drwxr-xr-x 2 root root 4096 Aug 15 15:44 cost [2023-08-15T15:59:08.691Z] -rw-r--r-- 1 root root 85 Aug 15 15:44 cost.csv [2023-08-15T15:59:08.691Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-15T15:59:08.691Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-15T15:59:08.691Z] total 16 [2023-08-15T15:59:08.691Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 15:44 . [2023-08-15T15:59:08.691Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 15 15:58 .. [2023-08-15T15:59:08.691Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 15:44 cost [2023-08-15T15:59:08.691Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 15 15:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:59:08.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:59:09.837Z] ---> package-listing.sh [2023-08-15T15:59:09.837Z] ++ facter osfamily [2023-08-15T15:59:09.837Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-15T15:59:10.096Z] + OS_FAMILY=debian [2023-08-15T15:59:10.096Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-08-15T15:59:10.096Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-15T15:59:10.096Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-15T15:59:10.096Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-15T15:59:10.096Z] + PACKAGES=/tmp/packages_start.txt [2023-08-15T15:59:10.096Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-15T15:59:10.096Z] + PACKAGES=/tmp/packages_end.txt [2023-08-15T15:59:10.096Z] + case "${OS_FAMILY}" in [2023-08-15T15:59:10.096Z] + dpkg -l [2023-08-15T15:59:10.096Z] + grep '^ii' [2023-08-15T15:59:10.096Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-15T15:59:10.096Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-15T15:59:10.096Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-15T15:59:10.096Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-15T15:59:10.096Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-08-15T15:59:10.096Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-08-15T15:59:10.107Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-15T15:59:10.383Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T15:59:10.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T15:59:10.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T15:59:11.010Z] prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container [2023-08-15T15:59:11.060Z] $ 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-08-15T15:59:11.354Z] $ docker top 41f6b3a0b47c0def0ee971c643280447e90f85a06552276aba702abb797ccfcb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T15:59:11.683Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-15T15:59:11.966Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-15T15:59:12.246Z] + ls /var/log/sa-host [2023-08-15T15:59:12.246Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T15:59:12.311Z] provisioning config files... [2023-08-15T15:59:12.318Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3411208602288617073tmp [Pipeline] { [Pipeline] echo [2023-08-15T15:59:12.327Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:59:12.608Z] ---> create-netrc.sh [Pipeline] } [2023-08-15T15:59:12.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:59:12.932Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-15T15:59:12.941Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:59:13.226Z] ---> sudo-logs.sh [2023-08-15T15:59:13.226Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-15T15:59:13.256Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:59:13.538Z] ---> job-cost.sh [2023-08-15T15:59:13.538Z] lf-activate-venv: SKIPPING [2023-08-15T15:59:13.538Z] DEBUG: total: 0.2199999988079071 [2023-08-15T15:59:13.538Z] INFO: Retrieving Stack Cost... [2023-08-15T15:59:14.108Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-15T15:59:14.367Z] INFO: Archiving Costs [Pipeline] echo [2023-08-15T15:59:14.379Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T15:59:14.659Z] ---> logs-deploy.sh [2023-08-15T15:59:14.659Z] lf-activate-venv: SKIPPING [2023-08-15T15:59:14.659Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/241 [2023-08-15T15:59:14.659Z] INFO: archiving workspace using pattern(s): [2023-08-15T15:59:15.596Z] Archives upload complete. [2023-08-15T15:59:15.596Z] INFO: archiving logs to Nexus