Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88f03503c07c02c451459ab8c2d5aba4061d83b0 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-ssh2069845912510331386.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-ssh16812381246795274034.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-ssh1527985159272575861.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-ssh13961065558889751075.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-ssh3796780141426347282.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5639 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 88f03503c07c02c451459ab8c2d5aba4061d83b0 (main) Commit message: "fix: Adjust GetFileType() function for new secret URI format (#1507)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 > git rev-list --no-walk 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-08T18:27:13.109Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-08T18:27:13.186Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-08T18:27:13.206Z] ========================================================= [2023-09-08T18:27:13.206Z] EdgeX Global Pipelines Version Info [2023-09-08T18:27:13.206Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:27:13.930Z] ------------------- [2023-09-08T18:27:13.930Z] stable info: [2023-09-08T18:27:13.930Z] ------------------- [2023-09-08T18:27:13.930Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-08T18:27:13.930Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-08T18:27:13.930Z] Message: update stable to v1.0.253 [2023-09-08T18:27:14.501Z] ------------------- [2023-09-08T18:27:14.501Z] experimental info: [2023-09-08T18:27:14.501Z] ------------------- [2023-09-08T18:27:14.501Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-08T18:27:14.501Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-08T18:27:14.501Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-08T18:27:14.683Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-08T18:27:14.699Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-08T18:27:14.717Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-08T18:27:14.733Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-08T18:27:14.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-08T18:27:14.758Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-08T18:27:14.775Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-08T18:27:14.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-08T18:27:14.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-08T18:27:14.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-08T18:27:14.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-08T18:27:14.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-08T18:27:14.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-08T18:27:14.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-08T18:27:14.903Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-08T18:27:14.925Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-08T18:27:14.942Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-08T18:27:14.961Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-08T18:27:14.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-08T18:27:14.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-08T18:27:15.002Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-08T18:27:15.016Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-08T18:27:15.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-08T18:27:15.038Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-08T18:27:15.051Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-08T18:27:15.067Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-08T18:27:15.085Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-08T18:27:15.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-08T18:27:15.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-08T18:27:15.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-08T18:27:15.142Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] echo [2023-09-08T18:27:15.161Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88f0350 [Pipeline] echo [2023-09-08T18:27:15.179Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-08T18:27:15.223Z] provisioning config files... [2023-09-08T18:27:15.236Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11953156436393791816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:27:15.539Z] ---> docker-login.sh [2023-09-08T18:27:15.539Z] nexus3.edgexfoundry.org:10001 [2023-09-08T18:27:15.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:15.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:15.800Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:15.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:15.800Z] [2023-09-08T18:27:15.800Z] Login Succeeded [2023-09-08T18:27:15.800Z] nexus3.edgexfoundry.org:10002 [2023-09-08T18:27:15.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:16.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:16.059Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:16.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:16.059Z] [2023-09-08T18:27:16.059Z] Login Succeeded [2023-09-08T18:27:16.059Z] nexus3.edgexfoundry.org:10003 [2023-09-08T18:27:16.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:16.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:16.059Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:16.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:16.059Z] [2023-09-08T18:27:16.059Z] Login Succeeded [2023-09-08T18:27:16.059Z] nexus3.edgexfoundry.org:10004 [2023-09-08T18:27:16.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:16.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:16.059Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:16.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:16.059Z] [2023-09-08T18:27:16.059Z] Login Succeeded [2023-09-08T18:27:16.059Z] docker.io [2023-09-08T18:27:16.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:16.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:16.579Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:16.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:16.579Z] [2023-09-08T18:27:16.579Z] Login Succeeded [2023-09-08T18:27:16.579Z] ---> docker-login.sh ends [Pipeline] } [2023-09-08T18:27:16.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-08T18:27:16.979Z] + git rev-list -1 --merges 88f03503c07c02c451459ab8c2d5aba4061d83b0~1..88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] echo [2023-09-08T18:27:17.041Z] -----------> git rev-list -1 --merges 88f03503c07c02c451459ab8c2d5aba4061d83b0~1..88f03503c07c02c451459ab8c2d5aba4061d83b0 88f03503c07c02c451459ab8c2d5aba4061d83b0 [false] [Pipeline] sh [2023-09-08T18:27:17.330Z] + git log --format=format:%s -1 88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] echo [2023-09-08T18:27:17.347Z] ========================================================= [2023-09-08T18:27:17.347Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-08T18:27:17.347Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-08T18:27:17.680Z] + git log --format=format:%s -1 88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] echo [2023-09-08T18:27:17.690Z] [semverPrep] GIT_COMMIT: 88f03503c07c02c451459ab8c2d5aba4061d83b0, Commit Message: fix: Adjust GetFileType() function for new secret URI format (#1507) [Pipeline] echo [2023-09-08T18:27:17.700Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-08T18:27:18.070Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-08T18:27:18.070Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-08T18:27:18.070Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-08T18:27:18.070Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-08T18:27:18.070Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-08T18:27:18.070Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-08T18:27:18.070Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:27:18.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-08T18:27:18.502Z] [2023-09-08T18:27:18.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:27:18.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-08T18:27:18.807Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-08T18:27:18.807Z] b85a868b505f: Pulling fs layer [2023-09-08T18:27:18.807Z] e2be974225ed: Pulling fs layer [2023-09-08T18:27:18.807Z] 339a4e72a1f5: Pulling fs layer [2023-09-08T18:27:18.807Z] 988bab9f4d93: Pulling fs layer [2023-09-08T18:27:18.807Z] 1469e6f7b9e6: Pulling fs layer [2023-09-08T18:27:18.807Z] eaf3925da568: Pulling fs layer [2023-09-08T18:27:18.807Z] bab4dde63d76: Pulling fs layer [2023-09-08T18:27:18.807Z] bde34c3a00c8: Pulling fs layer [2023-09-08T18:27:18.807Z] b352a97aabf1: Pulling fs layer [2023-09-08T18:27:18.807Z] 4872d77fe225: Pulling fs layer [2023-09-08T18:27:18.807Z] 5851b861e8e6: Pulling fs layer [2023-09-08T18:27:18.807Z] 988bab9f4d93: Waiting [2023-09-08T18:27:18.807Z] 1469e6f7b9e6: Waiting [2023-09-08T18:27:18.807Z] eaf3925da568: Waiting [2023-09-08T18:27:18.807Z] bab4dde63d76: Waiting [2023-09-08T18:27:18.807Z] bde34c3a00c8: Waiting [2023-09-08T18:27:18.807Z] b352a97aabf1: Waiting [2023-09-08T18:27:18.807Z] 4872d77fe225: Waiting [2023-09-08T18:27:18.807Z] 5851b861e8e6: Waiting [2023-09-08T18:27:18.807Z] e2be974225ed: Download complete [2023-09-08T18:27:18.807Z] 988bab9f4d93: Verifying Checksum [2023-09-08T18:27:18.807Z] 988bab9f4d93: Download complete [2023-09-08T18:27:18.807Z] 1469e6f7b9e6: Verifying Checksum [2023-09-08T18:27:18.807Z] 339a4e72a1f5: Verifying Checksum [2023-09-08T18:27:18.807Z] 339a4e72a1f5: Download complete [2023-09-08T18:27:18.807Z] eaf3925da568: Download complete [2023-09-08T18:27:19.067Z] bde34c3a00c8: Verifying Checksum [2023-09-08T18:27:19.067Z] bde34c3a00c8: Download complete [2023-09-08T18:27:19.067Z] b352a97aabf1: Download complete [2023-09-08T18:27:19.067Z] 4872d77fe225: Download complete [2023-09-08T18:27:19.067Z] 5851b861e8e6: Download complete [2023-09-08T18:27:19.067Z] b85a868b505f: Verifying Checksum [2023-09-08T18:27:19.067Z] b85a868b505f: Download complete [2023-09-08T18:27:19.326Z] bab4dde63d76: Verifying Checksum [2023-09-08T18:27:19.326Z] bab4dde63d76: Download complete [2023-09-08T18:27:20.317Z] b85a868b505f: Pull complete [2023-09-08T18:27:20.577Z] e2be974225ed: Pull complete [2023-09-08T18:27:20.836Z] 339a4e72a1f5: Pull complete [2023-09-08T18:27:21.095Z] 988bab9f4d93: Pull complete [2023-09-08T18:27:21.354Z] 1469e6f7b9e6: Pull complete [2023-09-08T18:27:21.354Z] eaf3925da568: Pull complete [2023-09-08T18:27:23.258Z] bab4dde63d76: Pull complete [2023-09-08T18:27:23.258Z] bde34c3a00c8: Pull complete [2023-09-08T18:27:23.258Z] b352a97aabf1: Pull complete [2023-09-08T18:27:23.258Z] 4872d77fe225: Pull complete [2023-09-08T18:27:23.258Z] 5851b861e8e6: Pull complete [2023-09-08T18:27:23.258Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-08T18:27:23.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-08T18:27:23.258Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:27:23.356Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:27:23.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-08T18:27:26.297Z] $ docker top f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 -eo pid,comm [2023-09-08T18:27:26.354Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-08T18:27:26.354Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-08T18:27:26.394Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-08T18:27:26.394Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-08T18:27:26.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-08T18:27:26.524Z] $ docker exec f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 ssh-agent [2023-09-08T18:27:26.621Z] SSH_AUTH_SOCK=/tmp/ssh-sTJAmGToYdrM/agent.31 [2023-09-08T18:27:26.621Z] SSH_AGENT_PID=37 [2023-09-08T18:27:26.628Z] Running ssh-add (command line suppressed) [2023-09-08T18:27:26.733Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_785222154644016815.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_785222154644016815.key) [2023-09-08T18:27:26.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-08T18:27:27.030Z] + git tag --points-at HEAD [Pipeline] } [2023-09-08T18:27:27.043Z] $ docker exec --env ******** --env ******** f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 ssh-agent -k [2023-09-08T18:27:27.135Z] unset SSH_AUTH_SOCK; [2023-09-08T18:27:27.135Z] unset SSH_AGENT_PID; [2023-09-08T18:27:27.135Z] echo Agent pid 37 killed; [2023-09-08T18:27:27.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-08T18:27:27.168Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-08T18:27:27.168Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-08T18:27:27.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-08T18:27:27.269Z] $ docker exec f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 ssh-agent [2023-09-08T18:27:27.374Z] SSH_AUTH_SOCK=/tmp/ssh-DsBFMbUgee60/agent.69 [2023-09-08T18:27:27.374Z] SSH_AGENT_PID=75 [2023-09-08T18:27:27.379Z] Running ssh-add (command line suppressed) [2023-09-08T18:27:27.473Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6133467519132734056.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6133467519132734056.key) [2023-09-08T18:27:27.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-08T18:27:27.774Z] + git semver init [2023-09-08T18:27:28.034Z] 2023-09-08 18:27:27,957 [run_init] DEBUG init version:0.0.0 force:False [2023-09-08T18:27:28.034Z] 2023-09-08 18:27:27,958 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-08T18:27:28.034Z] 2023-09-08 18:27:27,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-08T18:27:28.034Z] 2023-09-08 18:27:27,958 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-08T18:27:28.972Z] 2023-09-08 18:27:28,842 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-08T18:27:28.972Z] 2023-09-08 18:27:28,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-08T18:27:28.972Z] 2023-09-08 18:27:28,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:27:28.972Z] 2023-09-08 18:27:28,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:27:28.972Z] 3.1.0-dev.20 [Pipeline] } [2023-09-08T18:27:28.985Z] $ docker exec --env ******** --env ******** f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 ssh-agent -k [2023-09-08T18:27:29.076Z] unset SSH_AUTH_SOCK; [2023-09-08T18:27:29.077Z] unset SSH_AGENT_PID; [2023-09-08T18:27:29.077Z] echo Agent pid 75 killed; [2023-09-08T18:27:29.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-08T18:27:29.394Z] + git semver [Pipeline] } [2023-09-08T18:27:29.670Z] $ docker stop --time=1 f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 [2023-09-08T18:27:30.947Z] $ docker rm -f --volumes f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-08T18:27:31.283Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-08T18:27:31.501Z] Stashed 1 file(s) [Pipeline] echo [2023-09-08T18:27:31.504Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-08T18:27:31.651Z] provisioning config files... [2023-09-08T18:27:31.661Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14781584642948810674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:27:31.965Z] ---> docker-login.sh [2023-09-08T18:27:31.965Z] nexus3.edgexfoundry.org:10001 [2023-09-08T18:27:31.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:31.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:31.965Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:31.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:31.965Z] [2023-09-08T18:27:31.965Z] Login Succeeded [2023-09-08T18:27:31.965Z] nexus3.edgexfoundry.org:10002 [2023-09-08T18:27:31.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:31.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:31.965Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:31.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:31.965Z] [2023-09-08T18:27:31.965Z] Login Succeeded [2023-09-08T18:27:31.965Z] nexus3.edgexfoundry.org:10003 [2023-09-08T18:27:32.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:32.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:32.225Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:32.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:32.225Z] [2023-09-08T18:27:32.225Z] Login Succeeded [2023-09-08T18:27:32.225Z] nexus3.edgexfoundry.org:10004 [2023-09-08T18:27:32.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:32.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:32.225Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:32.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:32.225Z] [2023-09-08T18:27:32.225Z] Login Succeeded [2023-09-08T18:27:32.225Z] docker.io [2023-09-08T18:27:32.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:27:32.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:27:32.490Z] Configure a credential helper to remove this warning. See [2023-09-08T18:27:32.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:27:32.490Z] [2023-09-08T18:27:32.490Z] Login Succeeded [2023-09-08T18:27:32.490Z] ---> docker-login.sh ends [Pipeline] } [2023-09-08T18:27:32.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-08T18:27:32.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-08T18:27:32.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-08T18:27:32.581Z] ========================================================= [2023-09-08T18:27:32.581Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-08T18:27:32.581Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:27:32.907Z] + 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-09-08T18:27:32.907Z] Sending build context to Docker daemon 11.09MB [2023-09-08T18:27:32.907Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-08T18:27:32.907Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-08T18:27:32.907Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-08T18:27:32.907Z] 4db1b89c0bd1: Pulling fs layer [2023-09-08T18:27:32.907Z] 6911f1a30b25: Pulling fs layer [2023-09-08T18:27:32.907Z] e194b8c5c2a9: Pulling fs layer [2023-09-08T18:27:32.907Z] 6863d3e3a2b1: Pulling fs layer [2023-09-08T18:27:32.907Z] ec0bb842ea78: Pulling fs layer [2023-09-08T18:27:32.907Z] 40a00589a448: Pulling fs layer [2023-09-08T18:27:32.907Z] 6c08303d61cc: Pulling fs layer [2023-09-08T18:27:32.907Z] 798269fcf238: Pulling fs layer [2023-09-08T18:27:32.907Z] 40a00589a448: Waiting [2023-09-08T18:27:32.907Z] 6c08303d61cc: Waiting [2023-09-08T18:27:32.907Z] 798269fcf238: Waiting [2023-09-08T18:27:32.907Z] 6863d3e3a2b1: Waiting [2023-09-08T18:27:32.907Z] ec0bb842ea78: Waiting [2023-09-08T18:27:33.168Z] 6911f1a30b25: Verifying Checksum [2023-09-08T18:27:33.168Z] 6911f1a30b25: Download complete [2023-09-08T18:27:33.168Z] 6863d3e3a2b1: Verifying Checksum [2023-09-08T18:27:33.168Z] 6863d3e3a2b1: Download complete [2023-09-08T18:27:33.168Z] ec0bb842ea78: Verifying Checksum [2023-09-08T18:27:33.168Z] ec0bb842ea78: Download complete [2023-09-08T18:27:33.168Z] 4db1b89c0bd1: Verifying Checksum [2023-09-08T18:27:33.168Z] 4db1b89c0bd1: Download complete [2023-09-08T18:27:33.168Z] 40a00589a448: Verifying Checksum [2023-09-08T18:27:33.168Z] 40a00589a448: Download complete [2023-09-08T18:27:33.168Z] 4db1b89c0bd1: Pull complete [2023-09-08T18:27:33.432Z] 6911f1a30b25: Pull complete [2023-09-08T18:27:33.692Z] 798269fcf238: Verifying Checksum [2023-09-08T18:27:33.692Z] 798269fcf238: Download complete [2023-09-08T18:27:33.692Z] e194b8c5c2a9: Verifying Checksum [2023-09-08T18:27:33.692Z] e194b8c5c2a9: Download complete [2023-09-08T18:27:33.950Z] 6c08303d61cc: Verifying Checksum [2023-09-08T18:27:33.950Z] 6c08303d61cc: Download complete [2023-09-08T18:27:37.233Z] e194b8c5c2a9: Pull complete [2023-09-08T18:27:37.233Z] 6863d3e3a2b1: Pull complete [2023-09-08T18:27:37.233Z] ec0bb842ea78: Pull complete [2023-09-08T18:27:37.491Z] 40a00589a448: Pull complete [2023-09-08T18:27:40.022Z] 6c08303d61cc: Pull complete [2023-09-08T18:27:40.958Z] 798269fcf238: Pull complete [2023-09-08T18:27:40.958Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-08T18:27:40.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-08T18:27:40.958Z] ---> ec979cd7f677 [2023-09-08T18:27:40.958Z] Step 3/10 : ARG MAKE=make build [2023-09-08T18:27:46.236Z] ---> Running in dc9f5d6a54d7 [2023-09-08T18:27:46.236Z] Removing intermediate container dc9f5d6a54d7 [2023-09-08T18:27:46.236Z] ---> 88d3e710091c [2023-09-08T18:27:46.236Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-08T18:27:46.236Z] ---> Running in 2c7989a4d467 [2023-09-08T18:27:46.236Z] Removing intermediate container 2c7989a4d467 [2023-09-08T18:27:46.236Z] ---> b8dfcebfb4b4 [2023-09-08T18:27:46.236Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-08T18:27:46.236Z] ---> Running in dc162ade44a2 [2023-09-08T18:27:46.236Z] Removing intermediate container dc162ade44a2 [2023-09-08T18:27:46.236Z] ---> 532f037c22ed [2023-09-08T18:27:46.236Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-08T18:27:46.236Z] ---> Running in e4b54e3dc4dc [2023-09-08T18:27:46.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-08T18:27:46.618Z] Still waiting to schedule task [2023-09-08T18:27:46.618Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-08T18:27:46.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-08T18:27:47.011Z] OK: 265 MiB in 53 packages [2023-09-08T18:27:47.272Z] Removing intermediate container e4b54e3dc4dc [2023-09-08T18:27:47.272Z] ---> 618364cb3955 [2023-09-08T18:27:47.272Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-08T18:27:47.272Z] ---> a0f96831897e [2023-09-08T18:27:47.272Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-08T18:27:47.272Z] ---> Running in 663adaaa6850 [2023-09-08T18:28:33.990Z] Removing intermediate container 663adaaa6850 [2023-09-08T18:28:33.990Z] ---> 773545761463 [2023-09-08T18:28:33.990Z] Step 9/10 : COPY . . [2023-09-08T18:28:33.990Z] ---> a4adfaf5f192 [2023-09-08T18:28:33.990Z] Step 10/10 : RUN ${MAKE} [2023-09-08T18:28:33.990Z] ---> Running in c213db65fb9e [2023-09-08T18:28:33.990Z] noop [2023-09-08T18:28:34.249Z] Removing intermediate container c213db65fb9e [2023-09-08T18:28:34.249Z] ---> 2ac099f66c2e [2023-09-08T18:28:34.249Z] Successfully built 2ac099f66c2e [2023-09-08T18:28:34.249Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:28:34.558Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-08T18:28:34.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:28:34.623Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:28:34.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-08T18:28:34.999Z] $ docker top 3ae4f6181e995bdb2965c8907753fcd8c4af1cc4b797a427881d84d3d77f22f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-08T18:28:35.345Z] + go version [2023-09-08T18:28:35.345Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-08T18:28:35.359Z] $ docker stop --time=1 3ae4f6181e995bdb2965c8907753fcd8c4af1cc4b797a427881d84d3d77f22f1 [2023-09-08T18:28:36.643Z] $ docker rm -f --volumes 3ae4f6181e995bdb2965c8907753fcd8c4af1cc4b797a427881d84d3d77f22f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:28:37.072Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-08T18:28:37.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:28:37.156Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:28:37.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-08T18:28:37.508Z] $ docker top 440f16f6a468f59490cf8c9e2b3fbfa896513de87fd879c37a637760b2e83a87 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-08T18:28:37.842Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-08T18:28:38.134Z] + make test [2023-09-08T18:28:38.134Z] go test -race -coverprofile=coverage.out ./... [2023-09-08T18:28:44.694Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-08T18:28:56.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-08T18:28:56.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-08T18:28:56.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-08T18:28:56.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-08T18:28:56.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-08T18:28:56.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.074s coverage: 27.6% of statements [2023-09-08T18:28:56.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-08T18:28:56.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-08T18:28:56.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 80.2% of statements [2023-09-08T18:28:57.137Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-08T18:28:57.137Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements [2023-09-08T18:28:57.137Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 71.8% of statements [2023-09-08T18:28:58.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-08T18:28:58.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-08T18:28:58.327Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-08T18:29:00.854Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.1% of statements [2023-09-08T18:29:00.854Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.198s coverage: 44.2% of statements [2023-09-08T18:29:00.854Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.102s coverage: 68.5% of statements [2023-09-08T18:29:00.854Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.106s coverage: 89.2% of statements [2023-09-08T18:29:00.854Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-09-08T18:29:15.525Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5640 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-08T18:29:15.540Z] Running in /w/workspace/device-sdk-go/249 [Pipeline] { [Pipeline] checkout [2023-09-08T18:29:15.567Z] The recommended git tool is: git [2023-09-08T18:29:18.926Z] GO111MODULE=on go vet ./... [2023-09-08T18:29:21.108Z] using credential edgex-jenkins-ssh [2023-09-08T18:29:21.122Z] Cloning the remote Git repository [2023-09-08T18:29:21.165Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-08T18:29:21.253Z] > git init /w/workspace/device-sdk-go/249 # timeout=10 [2023-09-08T18:29:21.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-08T18:29:21.384Z] > git --version # timeout=10 [2023-09-08T18:29:21.406Z] > git --version # 'git version 2.25.1' [2023-09-08T18:29:21.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-08T18:29:21.557Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-08T18:29:23.117Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-08T18:29:23.117Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-08T18:29:23.117Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-08T18:29:23.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-08T18:29:23.147Z] $ docker stop --time=1 440f16f6a468f59490cf8c9e2b3fbfa896513de87fd879c37a637760b2e83a87 [2023-09-08T18:29:24.130Z] Avoid second fetch [2023-09-08T18:29:24.131Z] Checking out Revision 88f03503c07c02c451459ab8c2d5aba4061d83b0 (main) [2023-09-08T18:29:23.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-08T18:29:23.224Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-08T18:29:24.151Z] > git config core.sparsecheckout # timeout=10 [2023-09-08T18:29:24.219Z] > git checkout -f 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 [2023-09-08T18:29:24.676Z] Commit message: "fix: Adjust GetFileType() function for new secret URI format (#1507)" [2023-09-08T18:29:29.187Z] $ docker rm -f --volumes 440f16f6a468f59490cf8c9e2b3fbfa896513de87fd879c37a637760b2e83a87 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-08T18:29:29.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-08T18:29:29.839Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-09-08T18:29:30.000Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-08T18:29:30.000Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-08T18:29:30.000Z] Dload Upload Total Spent Left Speed [2023-09-08T18:29:30.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [Pipeline] sh [2023-09-08T18:29:30.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-08T18:29:30.550Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-08T18:29:30.686Z] + ls -al . [2023-09-08T18:29:30.686Z] total 304 [2023-09-08T18:29:30.686Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 8 18:28 . [2023-09-08T18:29:30.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 18:27 .. [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 8 18:27 .dockerignore [2023-09-08T18:29:30.686Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 8 18:27 .git [2023-09-08T18:29:30.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 18:27 .github [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 8 18:27 .gitignore [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 8 18:27 .golangci.yml [2023-09-08T18:29:30.686Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 8 18:27 .semver [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 8 18:27 CHANGELOG.md [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 8 18:27 GOVERNANCE.md [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 8 18:27 Jenkinsfile [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 8 18:27 LICENSE [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 8 18:27 Makefile [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 8 18:27 OWNERS.md [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 8 18:27 README.md [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 8 18:27 VERSION [2023-09-08T18:29:30.686Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 18:27 bin [2023-09-08T18:29:30.686Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 8 18:29 coverage.out [2023-09-08T18:29:30.686Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 8 18:27 example [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 8 18:27 go.mod [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 8 18:27 go.sum [2023-09-08T18:29:30.686Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 8 18:27 internal [2023-09-08T18:29:30.686Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 18:27 openapi [2023-09-08T18:29:30.686Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 8 18:27 pkg [2023-09-08T18:29:30.686Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 18:27 snap [2023-09-08T18:29:30.686Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 8 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:29:30.874Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-08T18:29:30.874Z] + sudo tee /etc/docker/daemon.new [2023-09-08T18:29:30.874Z] { [2023-09-08T18:29:30.874Z] "registry-mirrors": [ [2023-09-08T18:29:30.874Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-08T18:29:30.874Z] ], [2023-09-08T18:29:30.874Z] "bip": "10.250.0.254/24", [2023-09-08T18:29:30.874Z] "hosts": [ [2023-09-08T18:29:30.874Z] "tcp://0.0.0.0:5555", [2023-09-08T18:29:30.874Z] "unix:///var/run/docker.sock" [2023-09-08T18:29:30.874Z] ], [2023-09-08T18:29:30.874Z] "mtu": 1458, [2023-09-08T18:29:30.874Z] "selinux-enabled": true, [2023-09-08T18:29:30.874Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-08T18:29:30.874Z] } [Pipeline] sh [2023-09-08T18:29:31.017Z] + 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=88f03503c07c02c451459ab8c2d5aba4061d83b0 --label arch=amd64 --label version=3.1.0-dev.20 . [2023-09-08T18:29:31.017Z] Sending build context to Docker daemon 11.21MB [2023-09-08T18:29:31.017Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-08T18:29:31.017Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-08T18:29:31.017Z] ---> 2ac099f66c2e [2023-09-08T18:29:31.017Z] Step 3/23 : ARG MAKE=make build [2023-09-08T18:29:31.194Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-08T18:29:31.275Z] ---> Running in 6ff5f6bd876a [2023-09-08T18:29:31.275Z] Removing intermediate container 6ff5f6bd876a [2023-09-08T18:29:31.275Z] ---> cceadc4662f1 [2023-09-08T18:29:31.275Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-08T18:29:31.275Z] ---> Running in 180a442125b0 [2023-09-08T18:29:31.521Z] + sudo service docker restart [2023-09-08T18:29:31.533Z] Removing intermediate container 180a442125b0 [2023-09-08T18:29:31.533Z] ---> 23596af4d943 [2023-09-08T18:29:31.533Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-08T18:29:31.533Z] ---> Running in f55107130e42 [2023-09-08T18:29:31.533Z] Removing intermediate container f55107130e42 [2023-09-08T18:29:31.533Z] ---> ee6631ea4fc7 [2023-09-08T18:29:31.533Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-08T18:29:31.533Z] ---> Running in 5109dc0e4472 [2023-09-08T18:29:31.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-08T18:29:32.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-08T18:29:32.308Z] OK: 265 MiB in 53 packages [2023-09-08T18:29:32.566Z] Removing intermediate container 5109dc0e4472 [2023-09-08T18:29:32.566Z] ---> 9c94471cbf9b [2023-09-08T18:29:32.566Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-08T18:29:32.825Z] ---> 12001ff997b0 [2023-09-08T18:29:32.825Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-08T18:29:32.825Z] ---> Running in 7df463ada6aa [2023-09-08T18:29:33.392Z] Removing intermediate container 7df463ada6aa [2023-09-08T18:29:33.392Z] ---> 5423375e1015 [2023-09-08T18:29:33.392Z] Step 9/23 : COPY . . [2023-09-08T18:29:33.963Z] ---> 48deae89f19a [2023-09-08T18:29:33.963Z] Step 10/23 : RUN ${MAKE} [2023-09-08T18:29:33.963Z] ---> Running in 8a0d9e2ee6a5 [2023-09-08T18:29:33.963Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.20" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-08T18:29:49.779Z] provisioning config files... [2023-09-08T18:29:49.802Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/249@tmp/config11019741827561708363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:29:50.147Z] ---> docker-login.sh [2023-09-08T18:29:50.147Z] nexus3.edgexfoundry.org:10001 [2023-09-08T18:29:50.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:29:50.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:29:50.686Z] Configure a credential helper to remove this warning. See [2023-09-08T18:29:50.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:29:50.686Z] [2023-09-08T18:29:50.686Z] Login Succeeded [2023-09-08T18:29:50.686Z] nexus3.edgexfoundry.org:10002 [2023-09-08T18:29:50.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:29:50.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:29:50.954Z] Configure a credential helper to remove this warning. See [2023-09-08T18:29:50.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:29:50.954Z] [2023-09-08T18:29:50.954Z] Login Succeeded [2023-09-08T18:29:50.954Z] nexus3.edgexfoundry.org:10003 [2023-09-08T18:29:51.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:29:51.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:29:51.490Z] Configure a credential helper to remove this warning. See [2023-09-08T18:29:51.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:29:51.490Z] [2023-09-08T18:29:51.490Z] Login Succeeded [2023-09-08T18:29:51.490Z] nexus3.edgexfoundry.org:10004 [2023-09-08T18:29:51.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:29:51.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:29:51.757Z] Configure a credential helper to remove this warning. See [2023-09-08T18:29:51.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:29:51.757Z] [2023-09-08T18:29:51.757Z] Login Succeeded [2023-09-08T18:29:51.757Z] docker.io [2023-09-08T18:29:52.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-08T18:29:52.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-08T18:29:52.291Z] Configure a credential helper to remove this warning. See [2023-09-08T18:29:52.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-08T18:29:52.291Z] [2023-09-08T18:29:52.291Z] Login Succeeded [2023-09-08T18:29:52.291Z] ---> docker-login.sh ends [Pipeline] } [2023-09-08T18:29:52.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-08T18:29:52.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-08T18:29:52.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-08T18:29:52.586Z] ========================================================= [2023-09-08T18:29:52.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-08T18:29:52.586Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:29:52.946Z] + 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-09-08T18:29:53.214Z] Sending build context to Docker daemon 5.928MB [2023-09-08T18:29:53.483Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-08T18:29:53.483Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-08T18:29:53.483Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-08T18:29:53.483Z] edb6bdbacee9: Pulling fs layer [2023-09-08T18:29:53.483Z] 5f9638ab2659: Pulling fs layer [2023-09-08T18:29:53.483Z] 8d51d6327a98: Pulling fs layer [2023-09-08T18:29:53.753Z] 8b374f2dd631: Pulling fs layer [2023-09-08T18:29:53.753Z] ec14aa9079de: Pulling fs layer [2023-09-08T18:29:53.753Z] 2f466654f4bb: Pulling fs layer [2023-09-08T18:29:53.753Z] 554e91adad29: Pulling fs layer [2023-09-08T18:29:53.753Z] 8b374f2dd631: Waiting [2023-09-08T18:29:53.753Z] ec14aa9079de: Waiting [2023-09-08T18:29:53.753Z] 2f466654f4bb: Waiting [2023-09-08T18:29:53.753Z] 554e91adad29: Waiting [2023-09-08T18:29:53.753Z] 5f9638ab2659: Verifying Checksum [2023-09-08T18:29:53.753Z] 5f9638ab2659: Download complete [2023-09-08T18:29:53.753Z] 8b374f2dd631: Verifying Checksum [2023-09-08T18:29:53.753Z] 8b374f2dd631: Download complete [2023-09-08T18:29:53.753Z] edb6bdbacee9: Verifying Checksum [2023-09-08T18:29:53.753Z] edb6bdbacee9: Download complete [2023-09-08T18:29:53.753Z] ec14aa9079de: Verifying Checksum [2023-09-08T18:29:53.753Z] ec14aa9079de: Download complete [2023-09-08T18:29:54.724Z] edb6bdbacee9: Pull complete [2023-09-08T18:29:54.999Z] 554e91adad29: Verifying Checksum [2023-09-08T18:29:54.999Z] 554e91adad29: Download complete [2023-09-08T18:29:55.275Z] 5f9638ab2659: Pull complete [2023-09-08T18:29:56.021Z] Removing intermediate container 8a0d9e2ee6a5 [2023-09-08T18:29:56.021Z] ---> 359ef088d5fe [2023-09-08T18:29:56.021Z] Step 11/23 : FROM alpine:3.17 [2023-09-08T18:29:56.021Z] 3.17: Pulling from library/alpine [2023-09-08T18:29:56.021Z] 9398808236ff: Pulling fs layer [2023-09-08T18:29:56.021Z] 9398808236ff: Verifying Checksum [2023-09-08T18:29:56.021Z] 9398808236ff: Download complete [2023-09-08T18:29:56.021Z] 9398808236ff: Pull complete [2023-09-08T18:29:56.021Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-08T18:29:56.021Z] Status: Downloaded newer image for alpine:3.17 [2023-09-08T18:29:56.021Z] ---> 1e0b8b5322fc [2023-09-08T18:29:56.021Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-08T18:29:56.021Z] ---> Running in 8a9dc35563b6 [2023-09-08T18:29:56.021Z] Removing intermediate container 8a9dc35563b6 [2023-09-08T18:29:56.021Z] ---> 4c6dc8015769 [2023-09-08T18:29:56.021Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-08T18:29:56.021Z] ---> Running in 0633545d7acc [2023-09-08T18:29:56.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-08T18:29:56.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-08T18:29:56.264Z] 8d51d6327a98: Verifying Checksum [2023-09-08T18:29:56.264Z] 8d51d6327a98: Download complete [2023-09-08T18:29:56.264Z] 2f466654f4bb: Verifying Checksum [2023-09-08T18:29:56.264Z] 2f466654f4bb: Download complete [2023-09-08T18:29:56.587Z] OK: 7 MiB in 15 packages [2023-09-08T18:29:56.587Z] Removing intermediate container 0633545d7acc [2023-09-08T18:29:56.587Z] ---> c1254973d525 [2023-09-08T18:29:56.587Z] Step 14/23 : WORKDIR / [2023-09-08T18:29:56.847Z] ---> Running in ffb85c1cee05 [2023-09-08T18:29:56.847Z] Removing intermediate container ffb85c1cee05 [2023-09-08T18:29:56.847Z] ---> 9aef7d308a63 [2023-09-08T18:29:56.847Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-08T18:29:56.847Z] ---> 2dd9cb7bc88e [2023-09-08T18:29:56.847Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-08T18:29:57.781Z] ---> f01f329d9b8c [2023-09-08T18:29:57.781Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-08T18:29:57.781Z] ---> 5cda54e441e0 [2023-09-08T18:29:57.781Z] Step 18/23 : EXPOSE 59999 [2023-09-08T18:29:57.781Z] ---> Running in 3416679088e0 [2023-09-08T18:29:58.040Z] Removing intermediate container 3416679088e0 [2023-09-08T18:29:58.040Z] ---> cd3fc33df24e [2023-09-08T18:29:58.040Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-08T18:29:58.040Z] ---> Running in f70ad439225c [2023-09-08T18:29:58.040Z] Removing intermediate container f70ad439225c [2023-09-08T18:29:58.040Z] ---> bc7f93a73c90 [2023-09-08T18:29:58.041Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-08T18:29:58.041Z] ---> Running in 1062d336e182 [2023-09-08T18:29:58.041Z] Removing intermediate container 1062d336e182 [2023-09-08T18:29:58.041Z] ---> 229d01dac2ed [2023-09-08T18:29:58.041Z] Step 21/23 : LABEL arch=amd64 [2023-09-08T18:29:58.041Z] ---> Running in 983a095ca493 [2023-09-08T18:29:58.298Z] Removing intermediate container 983a095ca493 [2023-09-08T18:29:58.299Z] ---> 5c590a372841 [2023-09-08T18:29:58.299Z] Step 22/23 : LABEL git_sha=88f03503c07c02c451459ab8c2d5aba4061d83b0 [2023-09-08T18:29:58.299Z] ---> Running in f014957b8f4b [2023-09-08T18:29:58.299Z] Removing intermediate container f014957b8f4b [2023-09-08T18:29:58.299Z] ---> c059a10cce95 [2023-09-08T18:29:58.299Z] Step 23/23 : LABEL version=3.1.0-dev.20 [2023-09-08T18:29:58.299Z] ---> Running in b69d7167d9dd [2023-09-08T18:29:58.299Z] Removing intermediate container b69d7167d9dd [2023-09-08T18:29:58.299Z] ---> ecff7b4e2535 [2023-09-08T18:29:58.299Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-08T18:29:58.299Z] Successfully built ecff7b4e2535 [2023-09-08T18:29:58.299Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:29:58.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-08T18:29:58.753Z] [2023-09-08T18:29:58.753Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:29:59.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-08T18:29:59.054Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-08T18:29:59.054Z] 5eb5b503b376: Pulling fs layer [2023-09-08T18:29:59.054Z] 5c69ac0246d0: Pulling fs layer [2023-09-08T18:29:59.054Z] ec43610c2a17: Pulling fs layer [2023-09-08T18:29:59.054Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-08T18:29:59.054Z] 33b1e0a273af: Pulling fs layer [2023-09-08T18:29:59.054Z] 5d3b04190fa2: Pulling fs layer [2023-09-08T18:29:59.054Z] 2f39f015ded8: Pulling fs layer [2023-09-08T18:29:59.054Z] 33b1e0a273af: Waiting [2023-09-08T18:29:59.054Z] 3a2ae6a8a46f: Waiting [2023-09-08T18:29:59.054Z] 2f39f015ded8: Waiting [2023-09-08T18:29:59.054Z] 5d3b04190fa2: Waiting [2023-09-08T18:29:59.054Z] 5c69ac0246d0: Verifying Checksum [2023-09-08T18:29:59.054Z] 5c69ac0246d0: Download complete [2023-09-08T18:29:59.054Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-08T18:29:59.054Z] 3a2ae6a8a46f: Download complete [2023-09-08T18:29:59.054Z] 33b1e0a273af: Download complete [2023-09-08T18:29:59.054Z] ec43610c2a17: Verifying Checksum [2023-09-08T18:29:59.054Z] ec43610c2a17: Download complete [2023-09-08T18:29:59.054Z] 5d3b04190fa2: Download complete [2023-09-08T18:29:59.311Z] 5eb5b503b376: Verifying Checksum [2023-09-08T18:29:59.311Z] 5eb5b503b376: Download complete [2023-09-08T18:29:59.876Z] 2f39f015ded8: Download complete [2023-09-08T18:30:00.440Z] 5eb5b503b376: Pull complete [2023-09-08T18:30:00.698Z] 5c69ac0246d0: Pull complete [2023-09-08T18:30:00.957Z] ec43610c2a17: Pull complete [2023-09-08T18:30:01.217Z] 3a2ae6a8a46f: Pull complete [2023-09-08T18:30:01.483Z] 33b1e0a273af: Pull complete [2023-09-08T18:30:01.483Z] 5d3b04190fa2: Pull complete [2023-09-08T18:30:05.661Z] 2f39f015ded8: Pull complete [2023-09-08T18:30:05.661Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-08T18:30:05.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-08T18:30:05.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:30:05.732Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:30:05.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-08T18:30:08.598Z] 8d51d6327a98: Pull complete [2023-09-08T18:30:08.598Z] 8b374f2dd631: Pull complete [2023-09-08T18:30:08.598Z] ec14aa9079de: Pull complete [2023-09-08T18:30:10.113Z] $ docker top e5059760fc48f1bf2ee9cb3e9b327964e3203209060a8a1f750bf4bffa4eb3b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:30:10.495Z] ---> job-cost.sh [2023-09-08T18:30:10.495Z] lf-activate-venv: SKIPPING [2023-09-08T18:30:10.495Z] INFO: No Stack... [2023-09-08T18:30:10.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-08T18:30:11.012Z] INFO: Archiving Costs [Pipeline] sh [2023-09-08T18:30:11.298Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-08T18:30:11.298Z] + cut -d, -f6 [Pipeline] lock [2023-09-08T18:30:11.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [2023-09-08T18:30:11.317Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] did not exist. Created. [2023-09-08T18:30:11.317Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-08T18:30:11.615Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-08T18:30:11.644Z] Stashed 1 file(s) [Pipeline] } [2023-09-08T18:30:11.653Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-08T18:30:11.674Z] $ docker stop --time=1 e5059760fc48f1bf2ee9cb3e9b327964e3203209060a8a1f750bf4bffa4eb3b4 [2023-09-08T18:30:12.820Z] $ docker rm -f --volumes e5059760fc48f1bf2ee9cb3e9b327964e3203209060a8a1f750bf4bffa4eb3b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-08T18:30:15.251Z] 2f466654f4bb: Pull complete [2023-09-08T18:30:17.854Z] 554e91adad29: Pull complete [2023-09-08T18:30:17.854Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-08T18:30:17.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-08T18:30:17.854Z] ---> 1e15ea492957 [2023-09-08T18:30:17.854Z] Step 3/10 : ARG MAKE=make build [2023-09-08T18:30:19.275Z] ---> Running in 690b410f3f7e [2023-09-08T18:30:19.545Z] Removing intermediate container 690b410f3f7e [2023-09-08T18:30:19.545Z] ---> ab36cd828d21 [2023-09-08T18:30:19.545Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-08T18:30:19.545Z] ---> Running in c47cabd2b0eb [2023-09-08T18:30:20.132Z] Removing intermediate container c47cabd2b0eb [2023-09-08T18:30:20.133Z] ---> 50ac577bf744 [2023-09-08T18:30:20.133Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-08T18:30:20.133Z] ---> Running in 2efa00666314 [2023-09-08T18:30:20.402Z] Removing intermediate container 2efa00666314 [2023-09-08T18:30:20.402Z] ---> 970149609667 [2023-09-08T18:30:20.402Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-08T18:30:20.402Z] ---> Running in 0e77a481af99 [2023-09-08T18:30:21.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-08T18:30:22.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-08T18:30:23.112Z] OK: 263 MiB in 53 packages [2023-09-08T18:30:24.093Z] Removing intermediate container 0e77a481af99 [2023-09-08T18:30:24.093Z] ---> 48da48f4d357 [2023-09-08T18:30:24.093Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-08T18:30:24.678Z] ---> 49dc2e152db6 [2023-09-08T18:30:24.678Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-08T18:30:24.678Z] ---> Running in 59c7643e03e8 [2023-09-08T18:31:32.578Z] Removing intermediate container 59c7643e03e8 [2023-09-08T18:31:32.578Z] ---> a2eef6ff49d7 [2023-09-08T18:31:32.578Z] Step 9/10 : COPY . . [2023-09-08T18:31:32.578Z] ---> d68b0f8d10d9 [2023-09-08T18:31:32.578Z] Step 10/10 : RUN ${MAKE} [2023-09-08T18:31:32.578Z] ---> Running in 08349418d7f2 [2023-09-08T18:31:32.578Z] noop [2023-09-08T18:31:32.578Z] Removing intermediate container 08349418d7f2 [2023-09-08T18:31:32.578Z] ---> 3db482dfe5cb [2023-09-08T18:31:32.578Z] Successfully built 3db482dfe5cb [2023-09-08T18:31:32.578Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:31:32.927Z] + docker inspect -f . ci-base-image-arm64 [2023-09-08T18:31:32.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:31:33.140Z] prd-ubuntu20.04-docker-arm64-4c-16g-5640 does not seem to be running inside a container [2023-09-08T18:31:33.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/249 -v /w/workspace/device-sdk-go/249:/w/workspace/device-sdk-go/249:rw,z -v /w/workspace/device-sdk-go/249@tmp:/w/workspace/device-sdk-go/249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-08T18:31:34.408Z] $ docker top ad59425118719defda1f040bd917e79a3bc0bbaad9623dc36278d7bffda2e874 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-08T18:31:35.218Z] + go version [2023-09-08T18:31:35.218Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-08T18:31:35.238Z] $ docker stop --time=1 ad59425118719defda1f040bd917e79a3bc0bbaad9623dc36278d7bffda2e874 [2023-09-08T18:31:36.828Z] $ docker rm -f --volumes ad59425118719defda1f040bd917e79a3bc0bbaad9623dc36278d7bffda2e874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:31:37.381Z] + docker inspect -f . ci-base-image-arm64 [2023-09-08T18:31:37.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:31:37.552Z] prd-ubuntu20.04-docker-arm64-4c-16g-5640 does not seem to be running inside a container [2023-09-08T18:31:37.622Z] $ 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/249 -v /w/workspace/device-sdk-go/249:/w/workspace/device-sdk-go/249:rw,z -v /w/workspace/device-sdk-go/249@tmp:/w/workspace/device-sdk-go/249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-08T18:31:38.773Z] $ docker top 858a08533a9cee405eb47e5cb2a048b3a2b7a4d00a8454c89f530a35eed289d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-08T18:31:39.578Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/249 [Pipeline] fileExists [Pipeline] sh [2023-09-08T18:31:39.904Z] + make test [2023-09-08T18:31:39.904Z] go test -race -coverprofile=coverage.out ./... [2023-09-08T18:32:26.744Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-08T18:34:33.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-08T18:34:33.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-08T18:34:33.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-08T18:34:33.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-08T18:34:33.417Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-08T18:34:45.722Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.232s coverage: 27.6% of statements [2023-09-08T18:34:49.087Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 80.2% of statements [2023-09-08T18:35:04.098Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-08T18:35:04.098Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-08T18:35:04.098Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.386s coverage: 86.0% of statements [2023-09-08T18:35:10.769Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-08T18:35:10.769Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.451s coverage: 71.8% of statements [2023-09-08T18:35:14.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.341s coverage: 14.1% of statements [2023-09-08T18:35:17.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-08T18:35:17.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-08T18:35:17.722Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.415s coverage: 44.2% of statements [2023-09-08T18:35:17.722Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.410s coverage: 68.5% of statements [2023-09-08T18:35:21.069Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.433s coverage: 89.2% of statements [2023-09-08T18:35:22.480Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-08T18:35:22.753Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.257s coverage: 5.5% of statements [2023-09-08T18:35:23.334Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-08T18:35:23.334Z] GO111MODULE=on go vet ./... [2023-09-08T18:37:45.709Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-08T18:37:45.709Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-08T18:37:45.709Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-08T18:37:45.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-08T18:37:45.741Z] $ docker stop --time=1 858a08533a9cee405eb47e5cb2a048b3a2b7a4d00a8454c89f530a35eed289d2 [2023-09-08T18:37:49.531Z] $ docker rm -f --volumes 858a08533a9cee405eb47e5cb2a048b3a2b7a4d00a8454c89f530a35eed289d2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-08T18:37:51.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-08T18:37:51.114Z] Warning: overwriting stash ‘coverage-report’ [2023-09-08T18:37:51.662Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-08T18:37:52.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-08T18:37:52.352Z] + ls -al . [2023-09-08T18:37:52.352Z] total 300 [2023-09-08T18:37:52.352Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 8 18:31 . [2023-09-08T18:37:52.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 18:29 .. [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 8 18:29 .dockerignore [2023-09-08T18:37:52.352Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 8 18:29 .git [2023-09-08T18:37:52.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 18:29 .github [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 8 18:29 .gitignore [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 8 18:29 .golangci.yml [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 8 18:29 CHANGELOG.md [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 8 18:29 GOVERNANCE.md [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 8 18:29 Jenkinsfile [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 8 18:29 LICENSE [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 8 18:29 Makefile [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 8 18:29 OWNERS.md [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 8 18:29 README.md [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 8 18:27 VERSION [2023-09-08T18:37:52.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 18:29 bin [2023-09-08T18:37:52.352Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 8 18:35 coverage.out [2023-09-08T18:37:52.352Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 8 18:29 example [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 8 18:29 go.mod [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 8 18:29 go.sum [2023-09-08T18:37:52.352Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 8 18:29 internal [2023-09-08T18:37:52.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 18:29 openapi [2023-09-08T18:37:52.352Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 8 18:29 pkg [2023-09-08T18:37:52.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 18:29 snap [2023-09-08T18:37:52.352Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 8 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:37:52.699Z] + 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=88f03503c07c02c451459ab8c2d5aba4061d83b0 --label arch=arm64 --label version=3.1.0-dev.20 . [2023-09-08T18:37:52.965Z] Sending build context to Docker daemon 6.05MB [2023-09-08T18:37:53.231Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-08T18:37:53.231Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-08T18:37:53.231Z] ---> 3db482dfe5cb [2023-09-08T18:37:53.231Z] Step 3/23 : ARG MAKE=make build [2023-09-08T18:37:53.231Z] ---> Running in 4af3f7396a10 [2023-09-08T18:37:53.498Z] Removing intermediate container 4af3f7396a10 [2023-09-08T18:37:53.498Z] ---> 7f14a5aa7958 [2023-09-08T18:37:53.498Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-08T18:37:53.498Z] ---> Running in 727b2062d94a [2023-09-08T18:37:53.770Z] Removing intermediate container 727b2062d94a [2023-09-08T18:37:53.770Z] ---> 431d498d7cfb [2023-09-08T18:37:53.770Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-08T18:37:54.035Z] ---> Running in 9fb07b4bcc0d [2023-09-08T18:37:54.303Z] Removing intermediate container 9fb07b4bcc0d [2023-09-08T18:37:54.303Z] ---> 4c364e72623c [2023-09-08T18:37:54.303Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-08T18:37:54.303Z] ---> Running in 024d27d925a4 [2023-09-08T18:37:55.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-08T18:37:55.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-08T18:37:56.799Z] OK: 263 MiB in 53 packages [2023-09-08T18:37:57.760Z] Removing intermediate container 024d27d925a4 [2023-09-08T18:37:57.760Z] ---> 817781377adc [2023-09-08T18:37:57.760Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-08T18:37:58.027Z] ---> f0aece0b5429 [2023-09-08T18:37:58.027Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-08T18:37:58.301Z] ---> Running in 995ed32f4a86 [2023-09-08T18:38:00.243Z] Removing intermediate container 995ed32f4a86 [2023-09-08T18:38:00.243Z] ---> 598fde7c595f [2023-09-08T18:38:00.243Z] Step 9/23 : COPY . . [2023-09-08T18:38:02.827Z] ---> 6537a92933cf [2023-09-08T18:38:02.827Z] Step 10/23 : RUN ${MAKE} [2023-09-08T18:38:02.827Z] ---> Running in 8bb8ffb100ba [2023-09-08T18:38:03.785Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.20" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-08T18:40:25.462Z] Removing intermediate container 8bb8ffb100ba [2023-09-08T18:40:25.462Z] ---> b4791021b233 [2023-09-08T18:40:25.462Z] Step 11/23 : FROM alpine:3.17 [2023-09-08T18:40:25.462Z] 3.17: Pulling from library/alpine [2023-09-08T18:40:25.462Z] 4060ece20d7a: Pulling fs layer [2023-09-08T18:40:25.462Z] 4060ece20d7a: Verifying Checksum [2023-09-08T18:40:25.462Z] 4060ece20d7a: Download complete [2023-09-08T18:40:25.462Z] 4060ece20d7a: Pull complete [2023-09-08T18:40:25.462Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-08T18:40:25.462Z] Status: Downloaded newer image for alpine:3.17 [2023-09-08T18:40:25.462Z] ---> 8650cd65339b [2023-09-08T18:40:25.462Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-08T18:40:25.462Z] ---> Running in 33f323b13568 [2023-09-08T18:40:25.462Z] Removing intermediate container 33f323b13568 [2023-09-08T18:40:25.462Z] ---> 16b5d2f334a4 [2023-09-08T18:40:25.462Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-08T18:40:25.462Z] ---> Running in e6cdb24811f5 [2023-09-08T18:40:25.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-08T18:40:25.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-08T18:40:25.462Z] OK: 7 MiB in 15 packages [2023-09-08T18:40:25.731Z] Removing intermediate container e6cdb24811f5 [2023-09-08T18:40:25.731Z] ---> 531d2b29457c [2023-09-08T18:40:25.731Z] Step 14/23 : WORKDIR / [2023-09-08T18:40:26.003Z] ---> Running in 82b2168bb42d [2023-09-08T18:40:26.269Z] Removing intermediate container 82b2168bb42d [2023-09-08T18:40:26.269Z] ---> bb62d68d0282 [2023-09-08T18:40:26.269Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-08T18:40:26.853Z] ---> 177b571b9121 [2023-09-08T18:40:26.853Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-08T18:40:28.350Z] ---> 253933fecbf3 [2023-09-08T18:40:28.350Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-08T18:40:28.960Z] ---> bf5696f44904 [2023-09-08T18:40:28.960Z] Step 18/23 : EXPOSE 59999 [2023-09-08T18:40:28.960Z] ---> Running in 8c6bc7e8caad [2023-09-08T18:40:29.232Z] Removing intermediate container 8c6bc7e8caad [2023-09-08T18:40:29.232Z] ---> fea128ef11eb [2023-09-08T18:40:29.232Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-08T18:40:29.232Z] ---> Running in d48577989f4a [2023-09-08T18:40:29.507Z] Removing intermediate container d48577989f4a [2023-09-08T18:40:29.507Z] ---> daccbccfb393 [2023-09-08T18:40:29.507Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-08T18:40:29.507Z] ---> Running in 1edf0314300f [2023-09-08T18:40:29.788Z] Removing intermediate container 1edf0314300f [2023-09-08T18:40:29.788Z] ---> a2ed30f10761 [2023-09-08T18:40:29.788Z] Step 21/23 : LABEL arch=arm64 [2023-09-08T18:40:30.059Z] ---> Running in ff10be2b5301 [2023-09-08T18:40:30.332Z] Removing intermediate container ff10be2b5301 [2023-09-08T18:40:30.332Z] ---> 8636e1c88fc8 [2023-09-08T18:40:30.332Z] Step 22/23 : LABEL git_sha=88f03503c07c02c451459ab8c2d5aba4061d83b0 [2023-09-08T18:40:30.332Z] ---> Running in c94e08ef1ce7 [2023-09-08T18:40:30.604Z] Removing intermediate container c94e08ef1ce7 [2023-09-08T18:40:30.604Z] ---> f318ec4b5caf [2023-09-08T18:40:30.604Z] Step 23/23 : LABEL version=3.1.0-dev.20 [2023-09-08T18:40:30.604Z] ---> Running in 1ac4c86bbb76 [2023-09-08T18:40:30.896Z] Removing intermediate container 1ac4c86bbb76 [2023-09-08T18:40:30.896Z] ---> 106f112b80ee [2023-09-08T18:40:30.896Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-08T18:40:31.162Z] Successfully built 106f112b80ee [2023-09-08T18:40:31.162Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:40:31.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-08T18:40:31.614Z] [2023-09-08T18:40:31.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:40:31.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-08T18:40:31.944Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-08T18:40:31.944Z] 8998bd30e6a1: Pulling fs layer [2023-09-08T18:40:31.944Z] 04944245beec: Pulling fs layer [2023-09-08T18:40:31.944Z] 699f458cf7ca: Pulling fs layer [2023-09-08T18:40:31.944Z] 765212b225bb: Pulling fs layer [2023-09-08T18:40:31.944Z] f23df028b6ca: Pulling fs layer [2023-09-08T18:40:31.944Z] d65c8cfc05b1: Pulling fs layer [2023-09-08T18:40:31.944Z] 2437ff75d9bd: Pulling fs layer [2023-09-08T18:40:31.944Z] 765212b225bb: Waiting [2023-09-08T18:40:31.944Z] f23df028b6ca: Waiting [2023-09-08T18:40:31.944Z] d65c8cfc05b1: Waiting [2023-09-08T18:40:31.944Z] 2437ff75d9bd: Waiting [2023-09-08T18:40:32.213Z] 04944245beec: Verifying Checksum [2023-09-08T18:40:32.213Z] 04944245beec: Download complete [2023-09-08T18:40:32.213Z] 765212b225bb: Verifying Checksum [2023-09-08T18:40:32.213Z] 765212b225bb: Download complete [2023-09-08T18:40:32.213Z] f23df028b6ca: Download complete [2023-09-08T18:40:32.213Z] d65c8cfc05b1: Verifying Checksum [2023-09-08T18:40:32.213Z] d65c8cfc05b1: Download complete [2023-09-08T18:40:32.480Z] 699f458cf7ca: Verifying Checksum [2023-09-08T18:40:32.480Z] 699f458cf7ca: Download complete [2023-09-08T18:40:32.747Z] 8998bd30e6a1: Verifying Checksum [2023-09-08T18:40:32.747Z] 8998bd30e6a1: Download complete [2023-09-08T18:40:35.328Z] 2437ff75d9bd: Verifying Checksum [2023-09-08T18:40:35.328Z] 2437ff75d9bd: Download complete [2023-09-08T18:40:36.915Z] 8998bd30e6a1: Pull complete [2023-09-08T18:40:37.182Z] 04944245beec: Pull complete [2023-09-08T18:40:38.598Z] 699f458cf7ca: Pull complete [2023-09-08T18:40:38.598Z] 765212b225bb: Pull complete [2023-09-08T18:40:39.557Z] f23df028b6ca: Pull complete [2023-09-08T18:40:39.557Z] d65c8cfc05b1: Pull complete [2023-09-08T18:40:54.591Z] 2437ff75d9bd: Pull complete [2023-09-08T18:40:54.591Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-08T18:40:54.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-08T18:40:54.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:40:54.790Z] prd-ubuntu20.04-docker-arm64-4c-16g-5640 does not seem to be running inside a container [2023-09-08T18:40:54.859Z] $ 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/249 -v /w/workspace/device-sdk-go/249:/w/workspace/device-sdk-go/249:rw,z -v /w/workspace/device-sdk-go/249@tmp:/w/workspace/device-sdk-go/249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-08T18:40:57.680Z] $ docker top 24c7dbc565e3a92fae6197ead7eee11e412be9495ca3a07b8cb464fd5d9dc980 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:40:58.541Z] ---> job-cost.sh [2023-09-08T18:40:58.542Z] lf-activate-venv: SKIPPING [2023-09-08T18:40:58.542Z] INFO: No Stack... [2023-09-08T18:40:59.122Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-08T18:40:59.705Z] INFO: Archiving Costs [Pipeline] sh [2023-09-08T18:41:00.343Z] + cat /w/workspace/device-sdk-go/249/archives/cost.csv [2023-09-08T18:41:00.343Z] + cut -d, -f6 [Pipeline] lock [2023-09-08T18:41:00.417Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [2023-09-08T18:41:00.427Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] did not exist. Created. [2023-09-08T18:41:00.427Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-08T18:41:01.089Z] /w/workspace/device-sdk-go/249@tmp/durable-e038e0cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-08T18:41:01.738Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-08T18:41:01.758Z] Warning: overwriting stash ‘stack-cost’ [2023-09-08T18:41:01.843Z] Stashed 1 file(s) [Pipeline] } [2023-09-08T18:41:01.850Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-08T18:41:01.866Z] $ docker stop --time=1 24c7dbc565e3a92fae6197ead7eee11e412be9495ca3a07b8cb464fd5d9dc980 [2023-09-08T18:41:03.390Z] $ docker rm -f --volumes 24c7dbc565e3a92fae6197ead7eee11e412be9495ca3a07b8cb464fd5d9dc980 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-08T18:41:03.775Z] provisioning config files... [2023-09-08T18:41:03.782Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17432847897891564544tmp [Pipeline] { [Pipeline] sh [2023-09-08T18:41:04.080Z] + set +x [2023-09-08T18:41:04.080Z] + curl -s https://codecov.io/bash [2023-09-08T18:41:04.080Z] + bash -s -- [2023-09-08T18:41:04.080Z] [2023-09-08T18:41:04.080Z] _____ _ [2023-09-08T18:41:04.080Z] / ____| | | [2023-09-08T18:41:04.080Z] | | ___ __| | ___ ___ _____ __ [2023-09-08T18:41:04.080Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-08T18:41:04.080Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-08T18:41:04.080Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-08T18:41:04.080Z] Bash-1.0.6 [2023-09-08T18:41:04.080Z] [2023-09-08T18:41:04.080Z] [2023-09-08T18:41:04.080Z] ==> git version 2.25.1 found [2023-09-08T18:41:04.080Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-08T18:41:04.080Z] Release-Date: 2020-01-08 [2023-09-08T18:41:04.080Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-08T18:41:04.080Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-08T18:41:04.080Z] ==> Jenkins CI detected. [2023-09-08T18:41:04.080Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-08T18:41:04.080Z] project root: . [2023-09-08T18:41:04.080Z] --> token set from env [2023-09-08T18:41:04.080Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-08T18:41:04.080Z] ==> Running gcov in . (disable via -X gcov) [2023-09-08T18:41:04.339Z] ==> Python coveragepy not found [2023-09-08T18:41:04.339Z] ==> Searching for coverage reports in: [2023-09-08T18:41:04.339Z] + . [2023-09-08T18:41:04.339Z] -> Found 1 reports [2023-09-08T18:41:04.339Z] ==> Detecting git/mercurial file structure [2023-09-08T18:41:04.339Z] ==> Reading reports [2023-09-08T18:41:04.339Z] + ./coverage.out bytes=120468 [2023-09-08T18:41:04.339Z] ==> Appending adjustments [2023-09-08T18:41:04.339Z] https://docs.codecov.io/docs/fixing-reports [2023-09-08T18:41:04.598Z] + Found adjustments [2023-09-08T18:41:04.598Z] ==> Gzipping contents [2023-09-08T18:41:04.598Z] 20K /tmp/codecov.6EvBMf.gz [2023-09-08T18:41:04.598Z] ==> Uploading reports [2023-09-08T18:41:04.598Z] url: https://codecov.io [2023-09-08T18:41:04.598Z] query: branch=main&commit=88f03503c07c02c451459ab8c2d5aba4061d83b0&build=249&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F249%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-08T18:41:04.598Z] -> Pinging Codecov [2023-09-08T18:41:04.598Z] 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=88f03503c07c02c451459ab8c2d5aba4061d83b0&build=249&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F249%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-08T18:41:04.598Z] -> Uploading to [2023-09-08T18:41:04.598Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-08/7E55EF52A471D76F132DFD9A03CDDE97/88f03503c07c02c451459ab8c2d5aba4061d83b0/1b654acf-a554-4115-aacd-9352c39bc95b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230908%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230908T184104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d6be7a3ea69f5476b0c9cb9ae1f824e71d5c99aee1ba14c4596ee22f23b9e997 [2023-09-08T18:41:04.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-08T18:41:04.598Z] Dload Upload Total Spent Left Speed [2023-09-08T18:41:04.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16419 0 0 100 16419 0 81282 --:--:-- --:--:-- --:--:-- 81282 [2023-09-08T18:41:04.857Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] } [2023-09-08T18:41:04.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-08T18:41:05.075Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-08T18:41:05.085Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:41:05.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-08T18:41:05.386Z] [2023-09-08T18:41:05.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:41:05.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-08T18:41:05.683Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-08T18:41:05.683Z] df9b9388f04a: Pulling fs layer [2023-09-08T18:41:05.683Z] 52dc419b0ee2: Pulling fs layer [2023-09-08T18:41:05.683Z] 25bc292e5bac: Pulling fs layer [2023-09-08T18:41:05.683Z] 114826534d7a: Pulling fs layer [2023-09-08T18:41:05.683Z] 4657fd5d0bcf: Pulling fs layer [2023-09-08T18:41:05.683Z] 6ad1cebc031e: Pulling fs layer [2023-09-08T18:41:05.683Z] 8a3aa393b2d8: Pulling fs layer [2023-09-08T18:41:05.683Z] 8a3aa393b2d8: Waiting [2023-09-08T18:41:05.683Z] 4657fd5d0bcf: Waiting [2023-09-08T18:41:05.683Z] 114826534d7a: Waiting [2023-09-08T18:41:05.683Z] 6ad1cebc031e: Waiting [2023-09-08T18:41:05.683Z] 25bc292e5bac: Verifying Checksum [2023-09-08T18:41:05.683Z] 25bc292e5bac: Download complete [2023-09-08T18:41:05.683Z] 52dc419b0ee2: Download complete [2023-09-08T18:41:05.683Z] 4657fd5d0bcf: Verifying Checksum [2023-09-08T18:41:05.683Z] 4657fd5d0bcf: Download complete [2023-09-08T18:41:05.683Z] df9b9388f04a: Download complete [2023-09-08T18:41:05.942Z] 6ad1cebc031e: Verifying Checksum [2023-09-08T18:41:05.942Z] 6ad1cebc031e: Download complete [2023-09-08T18:41:05.942Z] df9b9388f04a: Pull complete [2023-09-08T18:41:05.943Z] 52dc419b0ee2: Pull complete [2023-09-08T18:41:05.943Z] 25bc292e5bac: Pull complete [2023-09-08T18:41:06.510Z] 114826534d7a: Verifying Checksum [2023-09-08T18:41:06.510Z] 114826534d7a: Download complete [2023-09-08T18:41:06.510Z] 8a3aa393b2d8: Verifying Checksum [2023-09-08T18:41:06.510Z] 8a3aa393b2d8: Download complete [2023-09-08T18:41:09.789Z] 114826534d7a: Pull complete [2023-09-08T18:41:09.789Z] 4657fd5d0bcf: Pull complete [2023-09-08T18:41:09.789Z] 6ad1cebc031e: Pull complete [2023-09-08T18:41:12.310Z] 8a3aa393b2d8: Pull complete [2023-09-08T18:41:12.310Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-08T18:41:12.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-08T18:41:12.310Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:41:12.395Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:41:12.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-08T18:41:16.458Z] $ docker top ac068ad707d0e102ada65a6baf6e6d030451c0d9285665ef36b817fb5b4fa1d4 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-08T18:41:16.525Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-08T18:41:16.805Z] + set -o pipefail [2023-09-08T18:41:16.805Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-08T18:41:24.926Z] [2023-09-08T18:41:24.926Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-08T18:41:24.926Z] [2023-09-08T18:41:24.926Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/10650e00-9806-43e3-9320-5d546deefddd [2023-09-08T18:41:24.926Z] [2023-09-08T18:41:24.926Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-08T18:41:24.926Z] [2023-09-08T18:41:24.926Z] [2023-09-08T18:41:24.926Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-08T18:41:24.926Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-08T18:41:24.926Z] More details here: https://snyk.co/ue1NS [2023-09-08T18:41:24.926Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-08T18:41:24.926Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-08T18:41:24.935Z] $ docker stop --time=1 ac068ad707d0e102ada65a6baf6e6d030451c0d9285665ef36b817fb5b4fa1d4 [2023-09-08T18:41:28.476Z] $ docker rm -f --volumes ac068ad707d0e102ada65a6baf6e6d030451c0d9285665ef36b817fb5b4fa1d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-09-08T18:41:28.855Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-08T18:41:28.870Z] provisioning config files... [2023-09-08T18:41:28.876Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10204875127718301342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:41:29.170Z] --> edgex-publish-swagger.sh [2023-09-08T18:41:29.171Z] === Publish openapi/v3 API === [2023-09-08T18:41:29.171Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-08T18:41:29.171Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-08T18:41:29.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-08T18:41:29.171Z] Dload Upload Total Spent Left Speed [2023-09-08T18:41:29.737Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 46602 --:--:-- --:--:-- --:--:-- 46510 100 23674 0 0 100 23674 0 46602 --:--:-- --:--:-- --:--:-- 46510 [2023-09-08T18:41:29.737Z] [2023-09-08T18:41:29.737Z] [Pipeline] } [2023-09-08T18:41:29.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-08T18:41:30.189Z] + git log --format=format:%s -1 88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] sh [2023-09-08T18:41:30.480Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-08T18:41:30.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:41:30.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-08T18:41:30.781Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:41:30.857Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:41:30.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-08T18:41:31.325Z] $ docker top a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b -eo pid,comm [2023-09-08T18:41:31.366Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-08T18:41:31.366Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-08T18:41:31.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-08T18:41:31.401Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-08T18:41:31.506Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-08T18:41:31.509Z] $ docker exec a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b ssh-agent [2023-09-08T18:41:31.617Z] SSH_AUTH_SOCK=/tmp/ssh-dnHUmYk4BVLI/agent.32 [2023-09-08T18:41:31.617Z] SSH_AGENT_PID=38 [2023-09-08T18:41:31.622Z] Running ssh-add (command line suppressed) [2023-09-08T18:41:31.717Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17950185987184464358.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17950185987184464358.key) [2023-09-08T18:41:31.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-08T18:41:32.019Z] + git semver tag [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,180 [run_tag] DEBUG tag force:False [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,180 [check_head_tag] DEBUG check head tag [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,181 [execute] INFO git cat-file --batch-check [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,185 [execute] INFO git cat-file --batch [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,200 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,200 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,200 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-08T18:41:32.278Z] 2023-09-08 18:41:32,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:41:32.278Z] 3.1.0-dev.20 [Pipeline] } [2023-09-08T18:41:32.288Z] $ docker exec --env ******** --env ******** a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b ssh-agent -k [2023-09-08T18:41:32.386Z] unset SSH_AUTH_SOCK; [2023-09-08T18:41:32.386Z] unset SSH_AGENT_PID; [2023-09-08T18:41:32.386Z] echo Agent pid 38 killed; [2023-09-08T18:41:32.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-08T18:41:32.706Z] + git semver [Pipeline] } [2023-09-08T18:41:32.979Z] $ docker stop --time=1 a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b [2023-09-08T18:41:34.251Z] $ docker rm -f --volumes a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:41:34.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-08T18:41:34.636Z] [2023-09-08T18:41:34.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:41:34.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-08T18:41:34.932Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-08T18:41:34.932Z] ab5ef0e58194: Pulling fs layer [2023-09-08T18:41:34.932Z] 9712f1f96733: Pulling fs layer [2023-09-08T18:41:34.932Z] 63f879dbbcfc: Pulling fs layer [2023-09-08T18:41:34.932Z] 0d9ebad4ef96: Pulling fs layer [2023-09-08T18:41:34.932Z] e9a5061849ea: Pulling fs layer [2023-09-08T18:41:34.932Z] d747dcd14b5f: Pulling fs layer [2023-09-08T18:41:34.932Z] 0d9ebad4ef96: Waiting [2023-09-08T18:41:34.932Z] d747dcd14b5f: Waiting [2023-09-08T18:41:34.932Z] e9a5061849ea: Waiting [2023-09-08T18:41:34.932Z] 2de7ff778b66: Pulling fs layer [2023-09-08T18:41:34.932Z] 2de7ff778b66: Waiting [2023-09-08T18:41:34.932Z] 9712f1f96733: Verifying Checksum [2023-09-08T18:41:34.932Z] 9712f1f96733: Download complete [2023-09-08T18:41:35.193Z] 63f879dbbcfc: Verifying Checksum [2023-09-08T18:41:35.193Z] 63f879dbbcfc: Download complete [2023-09-08T18:41:35.451Z] e9a5061849ea: Verifying Checksum [2023-09-08T18:41:35.451Z] e9a5061849ea: Download complete [2023-09-08T18:41:35.451Z] d747dcd14b5f: Download complete [2023-09-08T18:41:35.451Z] 0d9ebad4ef96: Verifying Checksum [2023-09-08T18:41:35.451Z] 0d9ebad4ef96: Download complete [2023-09-08T18:41:35.451Z] ab5ef0e58194: Verifying Checksum [2023-09-08T18:41:35.451Z] ab5ef0e58194: Download complete [2023-09-08T18:41:35.710Z] 2de7ff778b66: Verifying Checksum [2023-09-08T18:41:35.711Z] 2de7ff778b66: Download complete [2023-09-08T18:41:38.238Z] ab5ef0e58194: Pull complete [2023-09-08T18:41:38.238Z] 9712f1f96733: Pull complete [2023-09-08T18:41:38.804Z] 63f879dbbcfc: Pull complete [2023-09-08T18:41:42.087Z] 0d9ebad4ef96: Pull complete [2023-09-08T18:41:42.087Z] e9a5061849ea: Pull complete [2023-09-08T18:41:42.345Z] d747dcd14b5f: Pull complete [2023-09-08T18:41:43.279Z] 2de7ff778b66: Pull complete [2023-09-08T18:41:43.279Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-08T18:41:43.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-08T18:41:43.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:41:43.362Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:41:43.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-08T18:41:48.409Z] $ docker top 2510f99633f463b48006c6065f0bfb477dcc07a0e9863092dda43567af1dfc9c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-08T18:41:48.478Z] provisioning config files... [2023-09-08T18:41:48.484Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15598352335961904719tmp [2023-09-08T18:41:48.493Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config198647647697271690tmp [2023-09-08T18:41:48.500Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14320225534116625670tmp [Pipeline] { [Pipeline] echo [2023-09-08T18:41:48.515Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:41:48.792Z] ---> sigul-configuration.sh [2023-09-08T18:41:48.792Z] gpg: directory `/root/.gnupg' created [2023-09-08T18:41:48.792Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-08T18:41:48.792Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-08T18:41:48.792Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-08T18:41:48.792Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-08T18:41:48.792Z] gpg: CAST5 encrypted data [2023-09-08T18:41:48.792Z] gpg: encrypted with 1 passphrase [2023-09-08T18:41:48.792Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-08T18:41:49.070Z] + mkdir /home/jenkins [2023-09-08T18:41:49.070Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-08T18:41:49.350Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-08T18:41:49.358Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:41:49.639Z] ---> sigul-install.sh [2023-09-08T18:41:49.640Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-08T18:41:49.923Z] + git tag --list [2023-09-08T18:41:49.924Z] 0.7.1 [2023-09-08T18:41:49.924Z] delhi-tag [2023-09-08T18:41:49.924Z] v1.0.0 [2023-09-08T18:41:49.924Z] v1.1.0 [2023-09-08T18:41:49.924Z] v1.1.1 [2023-09-08T18:41:49.924Z] v1.1.2 [2023-09-08T18:41:49.924Z] v1.2.0 [2023-09-08T18:41:49.924Z] v1.2.1 [2023-09-08T18:41:49.924Z] v1.2.2 [2023-09-08T18:41:49.924Z] v1.2.3 [2023-09-08T18:41:49.924Z] v1.3.0 [2023-09-08T18:41:49.924Z] v1.4.0 [2023-09-08T18:41:49.924Z] v2.0.0 [2023-09-08T18:41:49.924Z] v2.1.0 [2023-09-08T18:41:49.924Z] v2.1.1 [2023-09-08T18:41:49.924Z] v2.2.0 [2023-09-08T18:41:49.924Z] v2.3.0 [2023-09-08T18:41:49.924Z] v2.3.1 [2023-09-08T18:41:49.924Z] v3.0 [2023-09-08T18:41:49.924Z] v3.0.0 [2023-09-08T18:41:49.924Z] v3.0.1-dev.1 [2023-09-08T18:41:49.924Z] v3.1.0-dev.1 [2023-09-08T18:41:49.924Z] v3.1.0-dev.10 [2023-09-08T18:41:49.924Z] v3.1.0-dev.11 [2023-09-08T18:41:49.924Z] v3.1.0-dev.12 [2023-09-08T18:41:49.924Z] v3.1.0-dev.13 [2023-09-08T18:41:49.924Z] v3.1.0-dev.14 [2023-09-08T18:41:49.924Z] v3.1.0-dev.15 [2023-09-08T18:41:49.924Z] v3.1.0-dev.16 [2023-09-08T18:41:49.924Z] v3.1.0-dev.17 [2023-09-08T18:41:49.924Z] v3.1.0-dev.18 [2023-09-08T18:41:49.924Z] v3.1.0-dev.19 [2023-09-08T18:41:49.924Z] v3.1.0-dev.2 [2023-09-08T18:41:49.924Z] v3.1.0-dev.20 [2023-09-08T18:41:49.924Z] v3.1.0-dev.3 [2023-09-08T18:41:49.924Z] v3.1.0-dev.4 [2023-09-08T18:41:49.924Z] v3.1.0-dev.5 [2023-09-08T18:41:49.924Z] v3.1.0-dev.6 [2023-09-08T18:41:49.924Z] v3.1.0-dev.7 [2023-09-08T18:41:49.924Z] v3.1.0-dev.8 [2023-09-08T18:41:49.924Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-08T18:41:50.210Z] + lftools sign git-tag v3.1.0-dev.20 [2023-09-08T18:41:50.777Z] Signing Git tag with Sigul... [2023-09-08T18:41:50.777Z] Signing v3.1.0-dev.20 [Pipeline] echo [2023-09-08T18:41:51.042Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:41:51.322Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-08T18:41:51.329Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-08T18:41:51.350Z] $ docker stop --time=1 2510f99633f463b48006c6065f0bfb477dcc07a0e9863092dda43567af1dfc9c [2023-09-08T18:41:52.609Z] $ docker rm -f --volumes 2510f99633f463b48006c6065f0bfb477dcc07a0e9863092dda43567af1dfc9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-08T18:41:53.036Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-08T18:41:53.036Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:41:53.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-08T18:41:53.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:41:53.416Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:41:53.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-08T18:41:53.786Z] $ docker top 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 -eo pid,comm [2023-09-08T18:41:53.832Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-08T18:41:53.832Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-08T18:41:53.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-08T18:41:53.869Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-08T18:41:53.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-08T18:41:53.988Z] $ docker exec 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 ssh-agent [2023-09-08T18:41:54.102Z] SSH_AUTH_SOCK=/tmp/ssh-DiQcjrFAz5ON/agent.32 [2023-09-08T18:41:54.102Z] SSH_AGENT_PID=38 [2023-09-08T18:41:54.107Z] Running ssh-add (command line suppressed) [2023-09-08T18:41:54.196Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4683174734406943849.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4683174734406943849.key) [2023-09-08T18:41:54.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-08T18:41:54.493Z] + git semver bump pre [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,673 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,674 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,674 [bump_version] DEBUG bumped version:3.1.0-dev.21 [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,674 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,674 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,675 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,679 [execute] INFO git cat-file --batch-check [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,683 [execute] INFO git cat-file --batch [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-08T18:41:54.753Z] 2023-09-08 18:41:54,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:41:54.753Z] 3.1.0-dev.21 [Pipeline] } [2023-09-08T18:41:54.763Z] $ docker exec --env ******** --env ******** 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 ssh-agent -k [2023-09-08T18:41:54.871Z] unset SSH_AUTH_SOCK; [2023-09-08T18:41:54.872Z] unset SSH_AGENT_PID; [2023-09-08T18:41:54.872Z] echo Agent pid 38 killed; [2023-09-08T18:41:54.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-08T18:41:55.194Z] + git semver [Pipeline] } [2023-09-08T18:41:55.466Z] $ docker stop --time=1 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 [2023-09-08T18:41:56.689Z] $ docker rm -f --volumes 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-08T18:41:57.036Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-08T18:41:57.036Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:41:57.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-08T18:41:57.334Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:41:57.411Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:41:57.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-08T18:41:57.742Z] $ docker top ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 -eo pid,comm [2023-09-08T18:41:57.786Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-08T18:41:57.786Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-08T18:41:57.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-08T18:41:57.821Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-08T18:41:57.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-08T18:41:57.937Z] $ docker exec ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 ssh-agent [2023-09-08T18:41:58.028Z] SSH_AUTH_SOCK=/tmp/ssh-WGsqXURiujod/agent.32 [2023-09-08T18:41:58.029Z] SSH_AGENT_PID=38 [2023-09-08T18:41:58.032Z] Running ssh-add (command line suppressed) [2023-09-08T18:41:58.127Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8072126827520736365.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8072126827520736365.key) [2023-09-08T18:41:58.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-08T18:41:58.423Z] + git semver push [2023-09-08T18:41:58.682Z] 2023-09-08 18:41:58,587 [run_push] DEBUG push [2023-09-08T18:41:58.682Z] 2023-09-08 18:41:58,588 [execute] INFO git cat-file --batch-check [2023-09-08T18:41:58.682Z] 2023-09-08 18:41:58,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-08T18:41:58.682Z] 2023-09-08 18:41:58,592 [execute] INFO git rev-list a9f2f8b91723196d2f8a1a584462eb88800e5c14 -- [2023-09-08T18:41:58.682Z] 2023-09-08 18:41:58,593 [execute] DEBUG Popen(['git', 'rev-list', 'a9f2f8b91723196d2f8a1a584462eb88800e5c14', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-08T18:41:58.682Z] 2023-09-08 18:41:58,606 [execute] INFO git fetch -v origin [2023-09-08T18:41:58.682Z] 2023-09-08 18:41:58,606 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-08T18:41:59.250Z] 2023-09-08 18:41:59,102 [run_push] DEBUG no remote changes detected [2023-09-08T18:41:59.250Z] 2023-09-08 18:41:59,102 [execute] INFO git push origin semver [2023-09-08T18:41:59.250Z] 2023-09-08 18:41:59,103 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-08T18:42:00.185Z] 2023-09-08 18:41:59,890 [run_push] DEBUG push all version tags [2023-09-08T18:42:00.185Z] 2023-09-08 18:41:59,891 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-08T18:42:00.185Z] 2023-09-08 18:41:59,891 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-08T18:42:01.122Z] 2023-09-08 18:42:00,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-08T18:42:01.122Z] 3.1.0-dev.21 [Pipeline] } [2023-09-08T18:42:01.133Z] $ docker exec --env ******** --env ******** ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 ssh-agent -k [2023-09-08T18:42:01.220Z] unset SSH_AUTH_SOCK; [2023-09-08T18:42:01.220Z] unset SSH_AGENT_PID; [2023-09-08T18:42:01.220Z] echo Agent pid 38 killed; [2023-09-08T18:42:01.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-08T18:42:01.533Z] + git semver [Pipeline] } [2023-09-08T18:42:01.804Z] $ docker stop --time=1 ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 [2023-09-08T18:42:03.077Z] $ docker rm -f --volumes ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-08T18:42:03.712Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-08T18:42:03.712Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-08T18:42:03.712Z] total 16 [2023-09-08T18:42:03.712Z] drwxr-xr-x 3 root root 4096 Sep 8 18:30 . [2023-09-08T18:42:03.712Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 8 18:41 .. [2023-09-08T18:42:03.712Z] drwxr-xr-x 2 root root 4096 Sep 8 18:30 cost [2023-09-08T18:42:03.712Z] -rw-r--r-- 1 root root 85 Sep 8 18:30 cost.csv [2023-09-08T18:42:03.712Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-08T18:42:03.712Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-08T18:42:03.712Z] total 16 [2023-09-08T18:42:03.712Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 8 18:30 . [2023-09-08T18:42:03.712Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 8 18:41 .. [2023-09-08T18:42:03.712Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 8 18:30 cost [2023-09-08T18:42:03.712Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 8 18:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:42:04.004Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:42:04.856Z] ---> package-listing.sh [2023-09-08T18:42:04.856Z] ++ facter osfamily [2023-09-08T18:42:04.856Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-08T18:42:05.116Z] + OS_FAMILY=debian [2023-09-08T18:42:05.116Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-08T18:42:05.116Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-08T18:42:05.116Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-08T18:42:05.116Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-08T18:42:05.116Z] + PACKAGES=/tmp/packages_start.txt [2023-09-08T18:42:05.116Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-08T18:42:05.116Z] + PACKAGES=/tmp/packages_end.txt [2023-09-08T18:42:05.116Z] + case "${OS_FAMILY}" in [2023-09-08T18:42:05.116Z] + dpkg -l [2023-09-08T18:42:05.116Z] + grep '^ii' [2023-09-08T18:42:05.116Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-08T18:42:05.116Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-08T18:42:05.116Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-08T18:42:05.116Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-08T18:42:05.116Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-08T18:42:05.116Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-09-08T18:42:05.126Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-08T18:42:05.401Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-08T18:42:05.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-08T18:42:05.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-08T18:42:06.038Z] prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container [2023-09-08T18:42:06.069Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-08T18:42:06.267Z] $ docker top 4c74fdc23da9fc71b8f05c906da5f11c032ca82b6b1036925a3342c91c79a31f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-08T18:42:06.606Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-08T18:42:06.888Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-08T18:42:07.243Z] + ls /var/log/sa-host [2023-09-08T18:42:07.243Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-08T18:42:07.426Z] provisioning config files... [2023-09-08T18:42:07.458Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9659729138850021125tmp [Pipeline] { [Pipeline] echo [2023-09-08T18:42:07.498Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:42:07.810Z] ---> create-netrc.sh [Pipeline] } [2023-09-08T18:42:07.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:42:08.361Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-08T18:42:08.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:42:08.662Z] ---> sudo-logs.sh [2023-09-08T18:42:08.662Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-08T18:42:08.696Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:42:08.979Z] ---> job-cost.sh [2023-09-08T18:42:08.979Z] lf-activate-venv: SKIPPING [2023-09-08T18:42:08.979Z] DEBUG: total: 0.2199999988079071 [2023-09-08T18:42:08.979Z] INFO: Retrieving Stack Cost... [2023-09-08T18:42:09.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-08T18:42:09.807Z] INFO: Archiving Costs [Pipeline] echo [2023-09-08T18:42:09.818Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-08T18:42:10.099Z] ---> logs-deploy.sh [2023-09-08T18:42:10.099Z] lf-activate-venv: SKIPPING [2023-09-08T18:42:10.099Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/249 [2023-09-08T18:42:10.099Z] INFO: archiving workspace using pattern(s): [2023-09-08T18:42:11.035Z] Archives upload complete. [2023-09-08T18:42:11.035Z] INFO: archiving logs to Nexus