Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c51a94a8207d4a1ad8be458cdf522e8931b07b09 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-ssh5371091795696904106.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-ssh11138577600226861019.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-ssh9690206218767931506.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-ssh16182936562845161662.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-ssh9176834231480451465.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 ‘prd-ubuntu20.04-docker-8c-8g-4484’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4486 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c51a94a8207d4a1ad8be458cdf522e8931b07b09 (main) Commit message: "Merge pull request #1501 from FelixTing/update-mock-deviceservicesdk" > git config core.sparsecheckout # timeout=10 > git checkout -f c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 > git rev-list --no-walk 6e6deb91922711a067a4f69f557ff034afcc25fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T03:33:16.738Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T03:33:16.810Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T03:33:16.822Z] ========================================================= [2023-08-25T03:33:16.822Z] EdgeX Global Pipelines Version Info [2023-08-25T03:33:16.822Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:33:17.536Z] ------------------- [2023-08-25T03:33:17.536Z] stable info: [2023-08-25T03:33:17.536Z] ------------------- [2023-08-25T03:33:17.536Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T03:33:17.536Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T03:33:17.536Z] Message: update stable to v1.0.253 [2023-08-25T03:33:18.104Z] ------------------- [2023-08-25T03:33:18.104Z] experimental info: [2023-08-25T03:33:18.104Z] ------------------- [2023-08-25T03:33:18.104Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T03:33:18.104Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T03:33:18.104Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T03:33:18.275Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-25T03:33:18.292Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-25T03:33:18.307Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T03:33:18.323Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T03:33:18.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T03:33:18.342Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T03:33:18.352Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T03:33:18.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-25T03:33:18.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T03:33:18.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T03:33:18.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T03:33:18.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-25T03:33:18.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T03:33:18.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T03:33:18.459Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T03:33:18.479Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T03:33:18.494Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T03:33:18.514Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T03:33:18.531Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T03:33:18.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T03:33:18.569Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-25T03:33:18.585Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-25T03:33:18.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T03:33:18.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T03:33:18.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T03:33:18.635Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T03:33:18.643Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T03:33:18.652Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-25T03:33:18.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-25T03:33:18.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-25T03:33:18.677Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] echo [2023-08-25T03:33:18.685Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c51a94a [Pipeline] echo [2023-08-25T03:33:18.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:33:18.742Z] provisioning config files... [2023-08-25T03:33:18.752Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15610426987617936947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:33:19.053Z] ---> docker-login.sh [2023-08-25T03:33:19.053Z] nexus3.edgexfoundry.org:10001 [2023-08-25T03:33:19.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:19.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:19.318Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:19.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:19.318Z] [2023-08-25T03:33:19.318Z] Login Succeeded [2023-08-25T03:33:19.318Z] nexus3.edgexfoundry.org:10002 [2023-08-25T03:33:19.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:19.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:19.580Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:19.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:19.580Z] [2023-08-25T03:33:19.580Z] Login Succeeded [2023-08-25T03:33:19.580Z] nexus3.edgexfoundry.org:10003 [2023-08-25T03:33:19.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:19.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:19.580Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:19.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:19.580Z] [2023-08-25T03:33:19.580Z] Login Succeeded [2023-08-25T03:33:19.580Z] nexus3.edgexfoundry.org:10004 [2023-08-25T03:33:19.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:19.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:19.842Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:19.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:19.842Z] [2023-08-25T03:33:19.842Z] Login Succeeded [2023-08-25T03:33:19.842Z] docker.io [2023-08-25T03:33:19.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:21.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:21.019Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:21.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:21.019Z] [2023-08-25T03:33:21.019Z] Login Succeeded [2023-08-25T03:33:21.019Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T03:33:21.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T03:33:21.422Z] + git rev-list -1 --merges c51a94a8207d4a1ad8be458cdf522e8931b07b09~1..c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] echo [2023-08-25T03:33:21.439Z] -----------> git rev-list -1 --merges c51a94a8207d4a1ad8be458cdf522e8931b07b09~1..c51a94a8207d4a1ad8be458cdf522e8931b07b09 c51a94a8207d4a1ad8be458cdf522e8931b07b09 [2023-08-25T03:33:21.439Z] c51a94a8207d4a1ad8be458cdf522e8931b07b09 [false] [Pipeline] sh [2023-08-25T03:33:21.728Z] + git log --format=format:%s -1 c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] echo [2023-08-25T03:33:21.744Z] ========================================================= [2023-08-25T03:33:21.744Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T03:33:21.744Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T03:33:22.088Z] + git log --format=format:%s -1 c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] echo [2023-08-25T03:33:22.101Z] [semverPrep] GIT_COMMIT: c51a94a8207d4a1ad8be458cdf522e8931b07b09, Commit Message: Merge pull request #1501 from FelixTing/update-mock-deviceservicesdk [Pipeline] echo [2023-08-25T03:33:22.111Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T03:33:22.483Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T03:33:22.483Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T03:33:22.483Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T03:33:22.483Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T03:33:22.483Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T03:33:22.483Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T03:33:22.483Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:33:22.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:33:22.915Z] [2023-08-25T03:33:22.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:33:23.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:33:23.224Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T03:33:23.224Z] b85a868b505f: Pulling fs layer [2023-08-25T03:33:23.225Z] e2be974225ed: Pulling fs layer [2023-08-25T03:33:23.225Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T03:33:23.225Z] 988bab9f4d93: Pulling fs layer [2023-08-25T03:33:23.225Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T03:33:23.225Z] eaf3925da568: Pulling fs layer [2023-08-25T03:33:23.225Z] bab4dde63d76: Pulling fs layer [2023-08-25T03:33:23.225Z] bde34c3a00c8: Pulling fs layer [2023-08-25T03:33:23.225Z] b352a97aabf1: Pulling fs layer [2023-08-25T03:33:23.225Z] 4872d77fe225: Pulling fs layer [2023-08-25T03:33:23.225Z] 5851b861e8e6: Pulling fs layer [2023-08-25T03:33:23.225Z] bab4dde63d76: Waiting [2023-08-25T03:33:23.225Z] b352a97aabf1: Waiting [2023-08-25T03:33:23.225Z] bde34c3a00c8: Waiting [2023-08-25T03:33:23.225Z] 4872d77fe225: Waiting [2023-08-25T03:33:23.225Z] 988bab9f4d93: Waiting [2023-08-25T03:33:23.225Z] 1469e6f7b9e6: Waiting [2023-08-25T03:33:23.225Z] 5851b861e8e6: Waiting [2023-08-25T03:33:23.225Z] eaf3925da568: Waiting [2023-08-25T03:33:23.225Z] e2be974225ed: Download complete [2023-08-25T03:33:23.225Z] 988bab9f4d93: Verifying Checksum [2023-08-25T03:33:23.225Z] 988bab9f4d93: Download complete [2023-08-25T03:33:23.485Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T03:33:23.485Z] 1469e6f7b9e6: Download complete [2023-08-25T03:33:23.485Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T03:33:23.485Z] 339a4e72a1f5: Download complete [2023-08-25T03:33:23.485Z] bde34c3a00c8: Download complete [2023-08-25T03:33:23.485Z] b352a97aabf1: Verifying Checksum [2023-08-25T03:33:23.485Z] b352a97aabf1: Download complete [2023-08-25T03:33:23.485Z] 4872d77fe225: Verifying Checksum [2023-08-25T03:33:23.485Z] 4872d77fe225: Download complete [2023-08-25T03:33:23.486Z] 5851b861e8e6: Verifying Checksum [2023-08-25T03:33:23.486Z] 5851b861e8e6: Download complete [2023-08-25T03:33:23.486Z] b85a868b505f: Verifying Checksum [2023-08-25T03:33:23.486Z] b85a868b505f: Download complete [2023-08-25T03:33:24.055Z] bab4dde63d76: Verifying Checksum [2023-08-25T03:33:24.055Z] bab4dde63d76: Download complete [2023-08-25T03:33:25.000Z] b85a868b505f: Pull complete [2023-08-25T03:33:25.299Z] e2be974225ed: Pull complete [2023-08-25T03:33:25.560Z] 339a4e72a1f5: Pull complete [2023-08-25T03:33:25.823Z] 988bab9f4d93: Pull complete [2023-08-25T03:33:26.086Z] 1469e6f7b9e6: Pull complete [2023-08-25T03:33:26.086Z] eaf3925da568: Pull complete [2023-08-25T03:33:27.991Z] bab4dde63d76: Pull complete [2023-08-25T03:33:27.991Z] bde34c3a00c8: Pull complete [2023-08-25T03:33:28.254Z] b352a97aabf1: Pull complete [2023-08-25T03:33:28.254Z] 4872d77fe225: Pull complete [2023-08-25T03:33:28.254Z] 5851b861e8e6: Pull complete [2023-08-25T03:33:28.254Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T03:33:28.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:33:28.254Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:33:28.346Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:33:28.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T03:33:32.436Z] $ docker top 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af -eo pid,comm [2023-08-25T03:33:32.504Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-25T03:33:32.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T03:33:32.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T03:33:32.545Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T03:33:32.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T03:33:32.658Z] $ docker exec 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af ssh-agent [2023-08-25T03:33:32.766Z] SSH_AUTH_SOCK=/tmp/ssh-otn8aqQn1G1L/agent.32 [2023-08-25T03:33:32.766Z] SSH_AGENT_PID=38 [2023-08-25T03:33:32.772Z] Running ssh-add (command line suppressed) [2023-08-25T03:33:32.892Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18379791577307257010.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18379791577307257010.key) [2023-08-25T03:33:32.904Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T03:33:33.194Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T03:33:33.217Z] $ docker exec --env ******** --env ******** 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af ssh-agent -k [2023-08-25T03:33:33.313Z] unset SSH_AUTH_SOCK; [2023-08-25T03:33:33.313Z] unset SSH_AGENT_PID; [2023-08-25T03:33:33.314Z] echo Agent pid 38 killed; [2023-08-25T03:33:33.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T03:33:33.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T03:33:33.345Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T03:33:33.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T03:33:33.466Z] $ docker exec 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af ssh-agent [2023-08-25T03:33:33.577Z] SSH_AUTH_SOCK=/tmp/ssh-b7GFI3yfXPwl/agent.71 [2023-08-25T03:33:33.577Z] SSH_AGENT_PID=77 [2023-08-25T03:33:33.582Z] Running ssh-add (command line suppressed) [2023-08-25T03:33:33.680Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3821962159464623077.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3821962159464623077.key) [2023-08-25T03:33:33.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T03:33:33.984Z] + git semver init [2023-08-25T03:33:34.247Z] 2023-08-25 03:33:34,193 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T03:33:34.247Z] 2023-08-25 03:33:34,193 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-25T03:33:34.247Z] 2023-08-25 03:33:34,194 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-08-25T03:33:34.247Z] 2023-08-25 03:33:34,194 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T03:33:35.631Z] 2023-08-25 03:33:35,239 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-08-25T03:33:35.631Z] 2023-08-25 03:33:35,239 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-08-25T03:33:35.631Z] 2023-08-25 03:33:35,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:33:35.631Z] 2023-08-25 03:33:35,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:33:35.631Z] 3.1.0-dev.16 [Pipeline] } [2023-08-25T03:33:35.646Z] $ docker exec --env ******** --env ******** 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af ssh-agent -k [2023-08-25T03:33:35.744Z] unset SSH_AUTH_SOCK; [2023-08-25T03:33:35.745Z] unset SSH_AGENT_PID; [2023-08-25T03:33:35.745Z] echo Agent pid 77 killed; [2023-08-25T03:33:35.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T03:33:36.055Z] + git semver [Pipeline] } [2023-08-25T03:33:36.331Z] $ docker stop --time=1 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af [2023-08-25T03:33:37.734Z] $ docker rm -f --volumes 4437148c90ca515fce98bb642b2805c24f3db4699a01a45371ddbfff9b1d82af [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T03:33:38.066Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T03:33:38.293Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T03:33:38.296Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:33:38.409Z] provisioning config files... [2023-08-25T03:33:38.419Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12890495419474205471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:33:38.719Z] ---> docker-login.sh [2023-08-25T03:33:38.719Z] nexus3.edgexfoundry.org:10001 [2023-08-25T03:33:38.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:38.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:38.719Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:38.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:38.719Z] [2023-08-25T03:33:38.719Z] Login Succeeded [2023-08-25T03:33:38.719Z] nexus3.edgexfoundry.org:10002 [2023-08-25T03:33:38.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:38.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:38.719Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:38.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:38.719Z] [2023-08-25T03:33:38.719Z] Login Succeeded [2023-08-25T03:33:38.720Z] nexus3.edgexfoundry.org:10003 [2023-08-25T03:33:38.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:38.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:38.978Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:38.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:38.978Z] [2023-08-25T03:33:38.978Z] Login Succeeded [2023-08-25T03:33:38.978Z] nexus3.edgexfoundry.org:10004 [2023-08-25T03:33:38.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:38.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:38.978Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:38.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:38.978Z] [2023-08-25T03:33:38.978Z] Login Succeeded [2023-08-25T03:33:38.978Z] docker.io [2023-08-25T03:33:39.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:33:39.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:33:39.238Z] Configure a credential helper to remove this warning. See [2023-08-25T03:33:39.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:33:39.238Z] [2023-08-25T03:33:39.238Z] Login Succeeded [2023-08-25T03:33:39.238Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T03:33:39.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T03:33:39.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:33:39.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:33:39.321Z] ========================================================= [2023-08-25T03:33:39.321Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T03:33:39.321Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:33:39.628Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T03:33:39.628Z] Sending build context to Docker daemon 11.07MB [2023-08-25T03:33:39.628Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:33:39.628Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-25T03:33:39.628Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T03:33:39.628Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T03:33:39.628Z] 6911f1a30b25: Pulling fs layer [2023-08-25T03:33:39.628Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T03:33:39.628Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T03:33:39.628Z] ec0bb842ea78: Pulling fs layer [2023-08-25T03:33:39.628Z] 40a00589a448: Pulling fs layer [2023-08-25T03:33:39.628Z] 6c08303d61cc: Pulling fs layer [2023-08-25T03:33:39.628Z] 798269fcf238: Pulling fs layer [2023-08-25T03:33:39.628Z] 6863d3e3a2b1: Waiting [2023-08-25T03:33:39.628Z] ec0bb842ea78: Waiting [2023-08-25T03:33:39.628Z] 40a00589a448: Waiting [2023-08-25T03:33:39.628Z] 6c08303d61cc: Waiting [2023-08-25T03:33:39.628Z] 798269fcf238: Waiting [2023-08-25T03:33:39.893Z] 6911f1a30b25: Verifying Checksum [2023-08-25T03:33:39.893Z] 6911f1a30b25: Download complete [2023-08-25T03:33:39.893Z] 6863d3e3a2b1: Verifying Checksum [2023-08-25T03:33:39.893Z] 6863d3e3a2b1: Download complete [2023-08-25T03:33:39.893Z] ec0bb842ea78: Verifying Checksum [2023-08-25T03:33:39.893Z] ec0bb842ea78: Download complete [2023-08-25T03:33:39.893Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T03:33:39.893Z] 4db1b89c0bd1: Download complete [2023-08-25T03:33:39.893Z] 40a00589a448: Verifying Checksum [2023-08-25T03:33:39.893Z] 40a00589a448: Download complete [2023-08-25T03:33:39.893Z] 4db1b89c0bd1: Pull complete [2023-08-25T03:33:40.166Z] 6911f1a30b25: Pull complete [2023-08-25T03:33:40.427Z] 798269fcf238: Verifying Checksum [2023-08-25T03:33:40.427Z] 798269fcf238: Download complete [2023-08-25T03:33:40.685Z] e194b8c5c2a9: Download complete [2023-08-25T03:33:40.685Z] 6c08303d61cc: Verifying Checksum [2023-08-25T03:33:40.685Z] 6c08303d61cc: Download complete [2023-08-25T03:33:43.973Z] e194b8c5c2a9: Pull complete [2023-08-25T03:33:44.233Z] 6863d3e3a2b1: Pull complete [2023-08-25T03:33:44.233Z] ec0bb842ea78: Pull complete [2023-08-25T03:33:44.233Z] 40a00589a448: Pull complete [2023-08-25T03:33:46.765Z] 6c08303d61cc: Pull complete [2023-08-25T03:33:47.712Z] 798269fcf238: Pull complete [2023-08-25T03:33:47.712Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T03:33:47.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T03:33:47.712Z] ---> ec979cd7f677 [2023-08-25T03:33:47.712Z] Step 3/10 : ARG MAKE=make build [2023-08-25T03:33:53.378Z] Still waiting to schedule task [2023-08-25T03:33:53.379Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4485’ is offline [2023-08-25T03:33:54.309Z] ---> Running in a86058ae4b35 [2023-08-25T03:33:54.309Z] Removing intermediate container a86058ae4b35 [2023-08-25T03:33:54.309Z] ---> 9d431e023683 [2023-08-25T03:33:54.309Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-25T03:33:54.309Z] ---> Running in 36372b5d3c45 [2023-08-25T03:33:54.309Z] Removing intermediate container 36372b5d3c45 [2023-08-25T03:33:54.309Z] ---> d449cb7b43d1 [2023-08-25T03:33:54.309Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:33:54.309Z] ---> Running in 3ac13c89e136 [2023-08-25T03:33:54.309Z] Removing intermediate container 3ac13c89e136 [2023-08-25T03:33:54.309Z] ---> c7cf4c054ccf [2023-08-25T03:33:54.309Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-25T03:33:54.309Z] ---> Running in 84b108205a52 [2023-08-25T03:33:54.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T03:33:54.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T03:33:55.087Z] OK: 265 MiB in 53 packages [2023-08-25T03:33:55.346Z] Removing intermediate container 84b108205a52 [2023-08-25T03:33:55.346Z] ---> 2d7ac0c56522 [2023-08-25T03:33:55.346Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-25T03:33:55.605Z] ---> 9f9ed3067f09 [2023-08-25T03:33:55.605Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:33:55.605Z] ---> Running in 2055ed1b4315 [2023-08-25T03:34:27.698Z] Removing intermediate container 2055ed1b4315 [2023-08-25T03:34:27.698Z] ---> 9f7c7db6cc50 [2023-08-25T03:34:27.698Z] Step 9/10 : COPY . . [2023-08-25T03:34:27.698Z] ---> a0f833dacd17 [2023-08-25T03:34:27.698Z] Step 10/10 : RUN ${MAKE} [2023-08-25T03:34:27.698Z] ---> Running in c90c1ddba5c2 [2023-08-25T03:34:27.698Z] noop [2023-08-25T03:34:27.698Z] Removing intermediate container c90c1ddba5c2 [2023-08-25T03:34:27.698Z] ---> fa0c3b1aa66c [2023-08-25T03:34:27.698Z] Successfully built fa0c3b1aa66c [2023-08-25T03:34:27.698Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:34:28.034Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T03:34:28.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:34:28.108Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:34:28.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T03:34:28.487Z] $ docker top 06eb17be2132c7ccbbb0ee6bc22aaff2584b74dbcdd619eb29d437c54c5a12e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:34:28.825Z] + go version [2023-08-25T03:34:28.825Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T03:34:28.839Z] $ docker stop --time=1 06eb17be2132c7ccbbb0ee6bc22aaff2584b74dbcdd619eb29d437c54c5a12e9 [2023-08-25T03:34:30.130Z] $ docker rm -f --volumes 06eb17be2132c7ccbbb0ee6bc22aaff2584b74dbcdd619eb29d437c54c5a12e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:34:30.539Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T03:34:30.539Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:34:30.611Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:34:30.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-25T03:34:31.094Z] $ docker top 473904de22cc9d6b11305776f43e19efabcd6b53d81e0d7012fb823aa3694592 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:34:31.443Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-25T03:34:31.736Z] + make test [2023-08-25T03:34:31.736Z] go test -race -coverprofile=coverage.out ./... [2023-08-25T03:34:39.850Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-25T03:34:52.066Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-25T03:34:52.066Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-25T03:34:52.066Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-25T03:34:52.066Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-25T03:34:52.066Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-25T03:34:52.066Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-08-25T03:34:52.324Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 80.2% of statements [2023-08-25T03:34:53.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-25T03:34:53.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-25T03:34:53.265Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 86.0% of statements [2023-08-25T03:34:53.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-25T03:34:53.785Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.088s coverage: 71.8% of statements [2023-08-25T03:34:54.354Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-25T03:34:54.355Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-25T03:34:54.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-25T03:34:56.715Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 14.3% of statements [2023-08-25T03:34:56.715Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.019s coverage: 43.8% of statements [2023-08-25T03:34:56.715Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 68.5% of statements [2023-08-25T03:34:56.715Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements [2023-08-25T03:34:56.715Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.5% of statements [2023-08-25T03:35:18.697Z] GO111MODULE=on go vet ./... [2023-08-25T03:35:21.977Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T03:35:21.977Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T03:35:21.977Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T03:35:21.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T03:35:22.006Z] $ docker stop --time=1 473904de22cc9d6b11305776f43e19efabcd6b53d81e0d7012fb823aa3694592 [2023-08-25T03:35:25.850Z] $ docker rm -f --volumes 473904de22cc9d6b11305776f43e19efabcd6b53d81e0d7012fb823aa3694592 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T03:35:26.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T03:35:26.465Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T03:35:26.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T03:35:27.251Z] + ls -al . [2023-08-25T03:35:27.251Z] total 304 [2023-08-25T03:35:27.251Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 03:34 . [2023-08-25T03:35:27.251Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:33 .. [2023-08-25T03:35:27.251Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 03:33 .dockerignore [2023-08-25T03:35:27.251Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 03:33 .git [2023-08-25T03:35:27.251Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:33 .github [2023-08-25T03:35:27.251Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 25 03:33 .gitignore [2023-08-25T03:35:27.251Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 03:33 .golangci.yml [2023-08-25T03:35:27.251Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 03:33 .semver [2023-08-25T03:35:27.251Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 25 03:33 CHANGELOG.md [2023-08-25T03:35:27.251Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 03:33 GOVERNANCE.md [2023-08-25T03:35:27.251Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 25 03:33 Jenkinsfile [2023-08-25T03:35:27.251Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 25 03:33 LICENSE [2023-08-25T03:35:27.252Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 25 03:33 Makefile [2023-08-25T03:35:27.252Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 25 03:33 OWNERS.md [2023-08-25T03:35:27.252Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 25 03:33 README.md [2023-08-25T03:35:27.252Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 25 03:33 VERSION [2023-08-25T03:35:27.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:33 bin [2023-08-25T03:35:27.252Z] -rw-r--r-- 1 jenkins jenkins 120273 Aug 25 03:34 coverage.out [2023-08-25T03:35:27.252Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 03:33 example [2023-08-25T03:35:27.252Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 25 03:33 go.mod [2023-08-25T03:35:27.252Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 25 03:33 go.sum [2023-08-25T03:35:27.252Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:33 internal [2023-08-25T03:35:27.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 03:33 openapi [2023-08-25T03:35:27.252Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 03:33 pkg [2023-08-25T03:35:27.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:33 snap [2023-08-25T03:35:27.252Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 25 03:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:35:27.381Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4487 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-08-25T03:35:27.395Z] Running in /w/workspace/device-sdk-go/245 [Pipeline] { [Pipeline] checkout [2023-08-25T03:35:27.421Z] The recommended git tool is: git [2023-08-25T03:35:27.661Z] + 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=c51a94a8207d4a1ad8be458cdf522e8931b07b09 --label arch=amd64 --label version=3.1.0-dev.16 . [2023-08-25T03:35:27.661Z] Sending build context to Docker daemon 11.19MB [2023-08-25T03:35:27.661Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:35:27.661Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-25T03:35:27.661Z] ---> fa0c3b1aa66c [2023-08-25T03:35:27.661Z] Step 3/23 : ARG MAKE=make build [2023-08-25T03:35:27.919Z] ---> Running in 038268cf7de5 [2023-08-25T03:35:27.919Z] Removing intermediate container 038268cf7de5 [2023-08-25T03:35:27.919Z] ---> b415a0211473 [2023-08-25T03:35:27.919Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-25T03:35:27.919Z] ---> Running in 9c2679eba9f0 [2023-08-25T03:35:27.919Z] Removing intermediate container 9c2679eba9f0 [2023-08-25T03:35:27.919Z] ---> 69ee7ee3579c [2023-08-25T03:35:27.919Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:35:27.919Z] ---> Running in 6536f6bbcda8 [2023-08-25T03:35:28.177Z] Removing intermediate container 6536f6bbcda8 [2023-08-25T03:35:28.177Z] ---> 2feab841d0fb [2023-08-25T03:35:28.177Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-25T03:35:28.177Z] ---> Running in aee57374f72d [2023-08-25T03:35:28.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T03:35:28.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T03:35:28.952Z] OK: 265 MiB in 53 packages [2023-08-25T03:35:29.213Z] Removing intermediate container aee57374f72d [2023-08-25T03:35:29.213Z] ---> b145a1b814fd [2023-08-25T03:35:29.213Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-25T03:35:29.475Z] ---> 69f7e4133d6e [2023-08-25T03:35:29.475Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:35:29.475Z] ---> Running in 759330a43b1f [2023-08-25T03:35:30.042Z] Removing intermediate container 759330a43b1f [2023-08-25T03:35:30.042Z] ---> e671c4183742 [2023-08-25T03:35:30.042Z] Step 9/23 : COPY . . [2023-08-25T03:35:30.609Z] ---> 825b88d06ed1 [2023-08-25T03:35:30.609Z] Step 10/23 : RUN ${MAKE} [2023-08-25T03:35:30.609Z] ---> Running in 08c09f77fd21 [2023-08-25T03:35:30.867Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.16" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-25T03:35:32.454Z] using credential edgex-jenkins-ssh [2023-08-25T03:35:32.469Z] Cloning the remote Git repository [2023-08-25T03:35:32.509Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-25T03:35:32.603Z] > git init /w/workspace/device-sdk-go/245 # timeout=10 [2023-08-25T03:35:32.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-25T03:35:32.740Z] > git --version # timeout=10 [2023-08-25T03:35:32.761Z] > git --version # 'git version 2.25.1' [2023-08-25T03:35:32.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T03:35:32.915Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T03:35:34.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-25T03:35:34.444Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T03:35:35.290Z] Avoid second fetch [2023-08-25T03:35:35.290Z] Checking out Revision c51a94a8207d4a1ad8be458cdf522e8931b07b09 (main) [2023-08-25T03:35:35.838Z] Commit message: "Merge pull request #1501 from FelixTing/update-mock-deviceservicesdk" [2023-08-25T03:35:35.306Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T03:35:35.380Z] > git checkout -f c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T03:35:36.723Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T03:35:36.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T03:35:36.723Z] Dload Upload Total Spent Left Speed [2023-08-25T03:35:36.996Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 46706 0 --:--:-- --:--:-- --:--:-- 46706 [Pipeline] sh [2023-08-25T03:35:37.655Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T03:35:37.979Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T03:35:37.979Z] + sudo tee /etc/docker/daemon.new [2023-08-25T03:35:37.979Z] { [2023-08-25T03:35:37.979Z] "registry-mirrors": [ [2023-08-25T03:35:37.979Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T03:35:37.979Z] ], [2023-08-25T03:35:37.979Z] "bip": "10.250.0.254/24", [2023-08-25T03:35:37.979Z] "hosts": [ [2023-08-25T03:35:37.979Z] "tcp://0.0.0.0:5555", [2023-08-25T03:35:37.979Z] "unix:///var/run/docker.sock" [2023-08-25T03:35:37.979Z] ], [2023-08-25T03:35:37.979Z] "mtu": 1458, [2023-08-25T03:35:37.979Z] "selinux-enabled": true, [2023-08-25T03:35:37.979Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T03:35:37.979Z] } [Pipeline] sh [2023-08-25T03:35:38.305Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T03:35:38.639Z] + sudo service docker restart [2023-08-25T03:35:52.803Z] Removing intermediate container 08c09f77fd21 [2023-08-25T03:35:52.803Z] ---> b1b9eddbdb69 [2023-08-25T03:35:52.803Z] Step 11/23 : FROM alpine:3.17 [2023-08-25T03:35:52.803Z] 3.17: Pulling from library/alpine [2023-08-25T03:35:52.803Z] 9398808236ff: Pulling fs layer [2023-08-25T03:35:52.803Z] 9398808236ff: Verifying Checksum [2023-08-25T03:35:52.803Z] 9398808236ff: Download complete [2023-08-25T03:35:52.803Z] 9398808236ff: Pull complete [2023-08-25T03:35:52.803Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T03:35:52.803Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T03:35:52.803Z] ---> 1e0b8b5322fc [2023-08-25T03:35:52.803Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T03:35:52.803Z] ---> Running in 94d510d6dbed [2023-08-25T03:35:52.803Z] Removing intermediate container 94d510d6dbed [2023-08-25T03:35:52.803Z] ---> 6c3f433e07b5 [2023-08-25T03:35:52.803Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-25T03:35:52.803Z] ---> Running in b81bda78b4fb [2023-08-25T03:35:52.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T03:35:52.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T03:35:52.803Z] OK: 7 MiB in 15 packages [2023-08-25T03:35:53.063Z] Removing intermediate container b81bda78b4fb [2023-08-25T03:35:53.063Z] ---> 34c7d095cbfb [2023-08-25T03:35:53.063Z] Step 14/23 : WORKDIR / [2023-08-25T03:35:53.063Z] ---> Running in 943987e0e938 [2023-08-25T03:35:53.063Z] Removing intermediate container 943987e0e938 [2023-08-25T03:35:53.063Z] ---> 9cd4a0c1dbbd [2023-08-25T03:35:53.063Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-25T03:35:53.323Z] ---> 84aacbc5949d [2023-08-25T03:35:53.323Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-25T03:35:54.262Z] ---> 9e8ad82d8fb8 [2023-08-25T03:35:54.262Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-25T03:35:54.262Z] ---> fba00a800512 [2023-08-25T03:35:54.262Z] Step 18/23 : EXPOSE 59999 [2023-08-25T03:35:54.262Z] ---> Running in 75c0b3d3a44c [2023-08-25T03:35:54.262Z] Removing intermediate container 75c0b3d3a44c [2023-08-25T03:35:54.262Z] ---> e933a50c94ab [2023-08-25T03:35:54.262Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-25T03:35:54.521Z] ---> Running in 5d16c286a552 [2023-08-25T03:35:54.521Z] Removing intermediate container 5d16c286a552 [2023-08-25T03:35:54.521Z] ---> fa34484d21ad [2023-08-25T03:35:54.521Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T03:35:54.521Z] ---> Running in b18280cd0527 [2023-08-25T03:35:54.521Z] Removing intermediate container b18280cd0527 [2023-08-25T03:35:54.521Z] ---> f63a5f92f011 [2023-08-25T03:35:54.521Z] Step 21/23 : LABEL arch=amd64 [2023-08-25T03:35:54.521Z] ---> Running in 081f6234d2bb [2023-08-25T03:35:54.780Z] Removing intermediate container 081f6234d2bb [2023-08-25T03:35:54.780Z] ---> 11792c7b26e3 [2023-08-25T03:35:54.780Z] Step 22/23 : LABEL git_sha=c51a94a8207d4a1ad8be458cdf522e8931b07b09 [2023-08-25T03:35:54.780Z] ---> Running in 72bb457c7160 [2023-08-25T03:35:54.780Z] Removing intermediate container 72bb457c7160 [2023-08-25T03:35:54.780Z] ---> fefe1336d7a0 [2023-08-25T03:35:54.780Z] Step 23/23 : LABEL version=3.1.0-dev.16 [2023-08-25T03:35:54.780Z] ---> Running in 1ad84b7c3010 [2023-08-25T03:35:54.780Z] Removing intermediate container 1ad84b7c3010 [2023-08-25T03:35:54.780Z] ---> bce439640006 [2023-08-25T03:35:54.780Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T03:35:54.780Z] Successfully built bce439640006 [2023-08-25T03:35:54.780Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:35:55.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:35:55.211Z] [2023-08-25T03:35:55.211Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:35:55.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:35:55.515Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T03:35:55.515Z] 5eb5b503b376: Pulling fs layer [2023-08-25T03:35:55.515Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T03:35:55.515Z] ec43610c2a17: Pulling fs layer [2023-08-25T03:35:55.515Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T03:35:55.515Z] 33b1e0a273af: Pulling fs layer [2023-08-25T03:35:55.515Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T03:35:55.515Z] 2f39f015ded8: Pulling fs layer [2023-08-25T03:35:55.515Z] 3a2ae6a8a46f: Waiting [2023-08-25T03:35:55.515Z] 33b1e0a273af: Waiting [2023-08-25T03:35:55.515Z] 5d3b04190fa2: Waiting [2023-08-25T03:35:55.515Z] 2f39f015ded8: Waiting [2023-08-25T03:35:55.515Z] 5c69ac0246d0: Download complete [2023-08-25T03:35:55.515Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T03:35:55.515Z] 3a2ae6a8a46f: Download complete [2023-08-25T03:35:55.515Z] 33b1e0a273af: Verifying Checksum [2023-08-25T03:35:55.515Z] 33b1e0a273af: Download complete [2023-08-25T03:35:55.515Z] ec43610c2a17: Verifying Checksum [2023-08-25T03:35:55.515Z] ec43610c2a17: Download complete [2023-08-25T03:35:55.774Z] 5d3b04190fa2: Download complete [2023-08-25T03:35:55.774Z] 5eb5b503b376: Verifying Checksum [2023-08-25T03:35:55.774Z] 5eb5b503b376: Download complete [2023-08-25T03:35:56.340Z] 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:35:56.889Z] provisioning config files... [2023-08-25T03:35:56.916Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/245@tmp/config13433930381798435243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:35:57.261Z] ---> docker-login.sh [2023-08-25T03:35:57.261Z] nexus3.edgexfoundry.org:10001 [2023-08-25T03:35:57.274Z] 5eb5b503b376: Pull complete [2023-08-25T03:35:57.274Z] 5c69ac0246d0: Pull complete [2023-08-25T03:35:57.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:35:57.533Z] ec43610c2a17: Pull complete [2023-08-25T03:35:57.792Z] 3a2ae6a8a46f: Pull complete [2023-08-25T03:35:57.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:35:57.796Z] Configure a credential helper to remove this warning. See [2023-08-25T03:35:57.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:35:57.796Z] [2023-08-25T03:35:57.796Z] Login Succeeded [2023-08-25T03:35:57.796Z] nexus3.edgexfoundry.org:10002 [2023-08-25T03:35:58.050Z] 33b1e0a273af: Pull complete [2023-08-25T03:35:58.051Z] 5d3b04190fa2: Pull complete [2023-08-25T03:35:58.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:35:58.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:35:58.063Z] Configure a credential helper to remove this warning. See [2023-08-25T03:35:58.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:35:58.063Z] [2023-08-25T03:35:58.063Z] Login Succeeded [2023-08-25T03:35:58.063Z] nexus3.edgexfoundry.org:10003 [2023-08-25T03:35:58.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:35:58.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:35:58.600Z] Configure a credential helper to remove this warning. See [2023-08-25T03:35:58.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:35:58.600Z] [2023-08-25T03:35:58.600Z] Login Succeeded [2023-08-25T03:35:58.600Z] nexus3.edgexfoundry.org:10004 [2023-08-25T03:35:58.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:35:58.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:35:58.872Z] Configure a credential helper to remove this warning. See [2023-08-25T03:35:58.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:35:58.872Z] [2023-08-25T03:35:58.872Z] Login Succeeded [2023-08-25T03:35:58.872Z] docker.io [2023-08-25T03:35:59.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:35:59.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:35:59.404Z] Configure a credential helper to remove this warning. See [2023-08-25T03:35:59.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:35:59.404Z] [2023-08-25T03:35:59.404Z] Login Succeeded [2023-08-25T03:35:59.404Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T03:35:59.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T03:35:59.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:35:59.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:35:59.690Z] ========================================================= [2023-08-25T03:35:59.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T03:35:59.690Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:36:00.025Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T03:36:00.293Z] Sending build context to Docker daemon 5.912MB [2023-08-25T03:36:00.293Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:36:00.293Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-25T03:36:00.565Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T03:36:00.565Z] edb6bdbacee9: Pulling fs layer [2023-08-25T03:36:00.565Z] 5f9638ab2659: Pulling fs layer [2023-08-25T03:36:00.565Z] 8d51d6327a98: Pulling fs layer [2023-08-25T03:36:00.565Z] 8b374f2dd631: Pulling fs layer [2023-08-25T03:36:00.565Z] ec14aa9079de: Pulling fs layer [2023-08-25T03:36:00.565Z] 2f466654f4bb: Pulling fs layer [2023-08-25T03:36:00.565Z] 554e91adad29: Pulling fs layer [2023-08-25T03:36:00.565Z] ec14aa9079de: Waiting [2023-08-25T03:36:00.565Z] 2f466654f4bb: Waiting [2023-08-25T03:36:00.565Z] 8b374f2dd631: Waiting [2023-08-25T03:36:00.565Z] 554e91adad29: Waiting [2023-08-25T03:36:00.565Z] 5f9638ab2659: Verifying Checksum [2023-08-25T03:36:00.565Z] 5f9638ab2659: Download complete [2023-08-25T03:36:00.565Z] 8b374f2dd631: Verifying Checksum [2023-08-25T03:36:00.565Z] 8b374f2dd631: Download complete [2023-08-25T03:36:00.565Z] ec14aa9079de: Verifying Checksum [2023-08-25T03:36:00.565Z] ec14aa9079de: Download complete [2023-08-25T03:36:00.565Z] edb6bdbacee9: Download complete [2023-08-25T03:36:01.536Z] edb6bdbacee9: Pull complete [2023-08-25T03:36:01.810Z] 554e91adad29: Verifying Checksum [2023-08-25T03:36:01.810Z] 554e91adad29: Download complete [2023-08-25T03:36:02.090Z] 5f9638ab2659: Pull complete [2023-08-25T03:36:02.244Z] 2f39f015ded8: Pull complete [2023-08-25T03:36:02.244Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T03:36:02.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:36:02.244Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:36:02.334Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:36:02.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T03:36:03.057Z] 8d51d6327a98: Verifying Checksum [2023-08-25T03:36:03.057Z] 8d51d6327a98: Download complete [2023-08-25T03:36:03.329Z] 2f466654f4bb: Verifying Checksum [2023-08-25T03:36:03.329Z] 2f466654f4bb: Download complete [2023-08-25T03:36:05.730Z] $ docker top 702ac9340721ce7eede5151d6d7ce250b8a82408153bbaf532e61b2eef1f5640 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:36:06.118Z] ---> job-cost.sh [2023-08-25T03:36:06.118Z] lf-activate-venv: SKIPPING [2023-08-25T03:36:06.118Z] INFO: No Stack... [2023-08-25T03:36:06.377Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T03:36:06.637Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T03:36:06.923Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-08-25T03:36:06.923Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T03:36:06.932Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [2023-08-25T03:36:06.939Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] did not exist. Created. [2023-08-25T03:36:06.939Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T03:36:07.238Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T03:36:07.270Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T03:36:07.277Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T03:36:07.295Z] $ docker stop --time=1 702ac9340721ce7eede5151d6d7ce250b8a82408153bbaf532e61b2eef1f5640 [2023-08-25T03:36:08.487Z] $ docker rm -f --volumes 702ac9340721ce7eede5151d6d7ce250b8a82408153bbaf532e61b2eef1f5640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T03:36:15.663Z] 8d51d6327a98: Pull complete [2023-08-25T03:36:15.663Z] 8b374f2dd631: Pull complete [2023-08-25T03:36:15.663Z] ec14aa9079de: Pull complete [2023-08-25T03:36:22.357Z] 2f466654f4bb: Pull complete [2023-08-25T03:36:23.770Z] 554e91adad29: Pull complete [2023-08-25T03:36:23.770Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T03:36:23.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T03:36:23.770Z] ---> 1e15ea492957 [2023-08-25T03:36:23.770Z] Step 3/10 : ARG MAKE=make build [2023-08-25T03:36:25.713Z] ---> Running in ce52d075dcb3 [2023-08-25T03:36:25.984Z] Removing intermediate container ce52d075dcb3 [2023-08-25T03:36:25.984Z] ---> 0a892596c139 [2023-08-25T03:36:25.984Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-25T03:36:25.984Z] ---> Running in db0033bfc047 [2023-08-25T03:36:26.252Z] Removing intermediate container db0033bfc047 [2023-08-25T03:36:26.252Z] ---> bf1b53f1c693 [2023-08-25T03:36:26.252Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:36:26.252Z] ---> Running in ae367ff02c71 [2023-08-25T03:36:26.522Z] Removing intermediate container ae367ff02c71 [2023-08-25T03:36:26.522Z] ---> 577f38e97c62 [2023-08-25T03:36:26.522Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-25T03:36:26.790Z] ---> Running in f0f554dbdbb5 [2023-08-25T03:36:27.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T03:36:28.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T03:36:29.303Z] OK: 263 MiB in 53 packages [2023-08-25T03:36:29.986Z] Removing intermediate container f0f554dbdbb5 [2023-08-25T03:36:29.986Z] ---> 47d523c89838 [2023-08-25T03:36:29.986Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-25T03:36:30.582Z] ---> 6fff8257351d [2023-08-25T03:36:30.582Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:36:30.582Z] ---> Running in 006a97bc29e1 [2023-08-25T03:37:38.464Z] Removing intermediate container 006a97bc29e1 [2023-08-25T03:37:38.464Z] ---> 9c10ff4f949a [2023-08-25T03:37:38.464Z] Step 9/10 : COPY . . [2023-08-25T03:37:38.464Z] ---> 7f9b83028591 [2023-08-25T03:37:38.464Z] Step 10/10 : RUN ${MAKE} [2023-08-25T03:37:38.464Z] ---> Running in 3dd961d461af [2023-08-25T03:37:38.464Z] noop [2023-08-25T03:37:38.464Z] Removing intermediate container 3dd961d461af [2023-08-25T03:37:38.464Z] ---> c37e28eb0f96 [2023-08-25T03:37:38.464Z] Successfully built c37e28eb0f96 [2023-08-25T03:37:38.464Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:37:38.829Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T03:37:38.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:37:39.042Z] prd-ubuntu20.04-docker-arm64-4c-16g-4487 does not seem to be running inside a container [2023-08-25T03:37:39.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/245 -v /w/workspace/device-sdk-go/245:/w/workspace/device-sdk-go/245:rw,z -v /w/workspace/device-sdk-go/245@tmp:/w/workspace/device-sdk-go/245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-25T03:37:40.325Z] $ docker top 750ed99b731f162f4d2d9ec695e9ca3bc5315e87b867be90664bc373f28d4ade -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:37:41.216Z] + go version [2023-08-25T03:37:41.216Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T03:37:41.231Z] $ docker stop --time=1 750ed99b731f162f4d2d9ec695e9ca3bc5315e87b867be90664bc373f28d4ade [2023-08-25T03:37:42.838Z] $ docker rm -f --volumes 750ed99b731f162f4d2d9ec695e9ca3bc5315e87b867be90664bc373f28d4ade [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:37:43.390Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T03:37:43.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:37:43.569Z] prd-ubuntu20.04-docker-arm64-4c-16g-4487 does not seem to be running inside a container [2023-08-25T03:37:43.623Z] $ 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/245 -v /w/workspace/device-sdk-go/245:/w/workspace/device-sdk-go/245:rw,z -v /w/workspace/device-sdk-go/245@tmp:/w/workspace/device-sdk-go/245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-25T03:37:44.763Z] $ docker top 60717284eef7173ac3be5b71a9efc85127dfca472fc023524588577ebcd36a1e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:37:45.271Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/245 [Pipeline] fileExists [Pipeline] sh [2023-08-25T03:37:45.601Z] + make test [2023-08-25T03:37:45.601Z] go test -race -coverprofile=coverage.out ./... [2023-08-25T03:38:24.494Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-25T03:40:31.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-25T03:40:31.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-25T03:40:31.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-25T03:40:31.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-25T03:40:31.172Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-25T03:40:37.169Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.219s coverage: 27.6% of statements [2023-08-25T03:40:39.897Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.250s coverage: 80.2% of statements [2023-08-25T03:40:52.199Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-25T03:40:52.199Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-25T03:40:52.199Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.338s coverage: 86.0% of statements [2023-08-25T03:40:58.846Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-25T03:40:58.846Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.538s coverage: 71.8% of statements [2023-08-25T03:41:02.181Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.289s coverage: 14.3% of statements [2023-08-25T03:41:04.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-25T03:41:04.768Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-25T03:41:05.364Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.183s coverage: 43.8% of statements [2023-08-25T03:41:05.364Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.437s coverage: 68.5% of statements [2023-08-25T03:41:08.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.439s coverage: 89.2% of statements [2023-08-25T03:41:09.663Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-25T03:41:09.931Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.5% of statements [2023-08-25T03:41:10.514Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T03:41:10.514Z] GO111MODULE=on go vet ./... [2023-08-25T03:43:32.239Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T03:43:32.239Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T03:43:32.239Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T03:43:32.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T03:43:32.258Z] $ docker stop --time=1 60717284eef7173ac3be5b71a9efc85127dfca472fc023524588577ebcd36a1e [2023-08-25T03:43:36.108Z] $ docker rm -f --volumes 60717284eef7173ac3be5b71a9efc85127dfca472fc023524588577ebcd36a1e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T03:43:37.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T03:43:37.691Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T03:43:38.213Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T03:43:38.590Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T03:43:38.904Z] + ls -al . [2023-08-25T03:43:38.904Z] total 300 [2023-08-25T03:43:38.904Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 03:37 . [2023-08-25T03:43:38.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:35 .. [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 03:35 .dockerignore [2023-08-25T03:43:38.904Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 03:35 .git [2023-08-25T03:43:38.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:35 .github [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 25 03:35 .gitignore [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 03:35 .golangci.yml [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 25 03:35 CHANGELOG.md [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 03:35 GOVERNANCE.md [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 25 03:35 Jenkinsfile [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 25 03:35 LICENSE [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 25 03:35 Makefile [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 25 03:35 OWNERS.md [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 25 03:35 README.md [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 25 03:33 VERSION [2023-08-25T03:43:38.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:35 bin [2023-08-25T03:43:38.904Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 25 03:41 coverage.out [2023-08-25T03:43:38.904Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 03:35 example [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 25 03:35 go.mod [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 25 03:35 go.sum [2023-08-25T03:43:38.904Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:35 internal [2023-08-25T03:43:38.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 03:35 openapi [2023-08-25T03:43:38.904Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 03:35 pkg [2023-08-25T03:43:38.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:35 snap [2023-08-25T03:43:38.904Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 25 03:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:43:39.247Z] + 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=c51a94a8207d4a1ad8be458cdf522e8931b07b09 --label arch=arm64 --label version=3.1.0-dev.16 . [2023-08-25T03:43:39.516Z] Sending build context to Docker daemon 6.033MB [2023-08-25T03:43:39.516Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:43:39.516Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-25T03:43:39.516Z] ---> c37e28eb0f96 [2023-08-25T03:43:39.516Z] Step 3/23 : ARG MAKE=make build [2023-08-25T03:43:39.782Z] ---> Running in 60364beca2b0 [2023-08-25T03:43:40.049Z] Removing intermediate container 60364beca2b0 [2023-08-25T03:43:40.049Z] ---> de523a915805 [2023-08-25T03:43:40.049Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-25T03:43:40.049Z] ---> Running in 1ebefeea37c7 [2023-08-25T03:43:40.314Z] Removing intermediate container 1ebefeea37c7 [2023-08-25T03:43:40.314Z] ---> ebd39489f77b [2023-08-25T03:43:40.314Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:43:40.580Z] ---> Running in a056720e06a4 [2023-08-25T03:43:40.849Z] Removing intermediate container a056720e06a4 [2023-08-25T03:43:40.849Z] ---> 89ea32b3a56c [2023-08-25T03:43:40.849Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-25T03:43:40.849Z] ---> Running in 48187eae8ced [2023-08-25T03:43:41.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T03:43:42.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T03:43:43.344Z] OK: 263 MiB in 53 packages [2023-08-25T03:43:44.304Z] Removing intermediate container 48187eae8ced [2023-08-25T03:43:44.304Z] ---> 4c290d83651a [2023-08-25T03:43:44.304Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-25T03:43:44.581Z] ---> 74d15887b827 [2023-08-25T03:43:44.581Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:43:44.581Z] ---> Running in 2e1f72d8131b [2023-08-25T03:43:48.831Z] Removing intermediate container 2e1f72d8131b [2023-08-25T03:43:48.831Z] ---> 83f39e7ececc [2023-08-25T03:43:48.831Z] Step 9/23 : COPY . . [2023-08-25T03:43:50.240Z] ---> 0afb73a4f72e [2023-08-25T03:43:50.240Z] Step 10/23 : RUN ${MAKE} [2023-08-25T03:43:50.241Z] ---> Running in 69793978b56f [2023-08-25T03:43:50.826Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.16 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.16" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-25T03:45:57.833Z] Removing intermediate container 69793978b56f [2023-08-25T03:45:57.833Z] ---> f015a4082f22 [2023-08-25T03:45:57.833Z] Step 11/23 : FROM alpine:3.17 [2023-08-25T03:45:58.420Z] 3.17: Pulling from library/alpine [2023-08-25T03:45:58.420Z] 4060ece20d7a: Pulling fs layer [2023-08-25T03:45:58.687Z] 4060ece20d7a: Verifying Checksum [2023-08-25T03:45:58.687Z] 4060ece20d7a: Download complete [2023-08-25T03:46:01.271Z] 4060ece20d7a: Pull complete [2023-08-25T03:46:01.271Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T03:46:01.271Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T03:46:01.271Z] ---> 8650cd65339b [2023-08-25T03:46:01.271Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T03:46:01.271Z] ---> Running in 62996c2e1f26 [2023-08-25T03:46:01.540Z] Removing intermediate container 62996c2e1f26 [2023-08-25T03:46:01.540Z] ---> 0cd1bfda5c13 [2023-08-25T03:46:01.540Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-25T03:46:01.540Z] ---> Running in fcf1c3cd5fbc [2023-08-25T03:46:02.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T03:46:03.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T03:46:04.036Z] OK: 7 MiB in 15 packages [2023-08-25T03:46:04.618Z] Removing intermediate container fcf1c3cd5fbc [2023-08-25T03:46:04.618Z] ---> 648e94f2a35f [2023-08-25T03:46:04.618Z] Step 14/23 : WORKDIR / [2023-08-25T03:46:04.889Z] ---> Running in 026d150bb5b6 [2023-08-25T03:46:05.155Z] Removing intermediate container 026d150bb5b6 [2023-08-25T03:46:05.155Z] ---> 394abbaefbe4 [2023-08-25T03:46:05.155Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-25T03:46:05.421Z] ---> 1db34d3dbc05 [2023-08-25T03:46:05.421Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-25T03:46:06.824Z] ---> eba0bc30dcd8 [2023-08-25T03:46:06.824Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-25T03:46:07.095Z] ---> a79095599c28 [2023-08-25T03:46:07.095Z] Step 18/23 : EXPOSE 59999 [2023-08-25T03:46:07.362Z] ---> Running in 67efdb8c9746 [2023-08-25T03:46:07.628Z] Removing intermediate container 67efdb8c9746 [2023-08-25T03:46:07.628Z] ---> a409d0a02385 [2023-08-25T03:46:07.628Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-25T03:46:07.628Z] ---> Running in b8c37a660868 [2023-08-25T03:46:07.893Z] Removing intermediate container b8c37a660868 [2023-08-25T03:46:07.893Z] ---> c0ffd3dce528 [2023-08-25T03:46:07.893Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T03:46:07.893Z] ---> Running in 7cb141af25c2 [2023-08-25T03:46:08.160Z] Removing intermediate container 7cb141af25c2 [2023-08-25T03:46:08.160Z] ---> e0336ee8d8d9 [2023-08-25T03:46:08.160Z] Step 21/23 : LABEL arch=arm64 [2023-08-25T03:46:08.160Z] ---> Running in 3ce9fc46e9e1 [2023-08-25T03:46:08.426Z] Removing intermediate container 3ce9fc46e9e1 [2023-08-25T03:46:08.426Z] ---> eff844cf47e9 [2023-08-25T03:46:08.426Z] Step 22/23 : LABEL git_sha=c51a94a8207d4a1ad8be458cdf522e8931b07b09 [2023-08-25T03:46:08.693Z] ---> Running in 626311f38e54 [2023-08-25T03:46:08.693Z] Removing intermediate container 626311f38e54 [2023-08-25T03:46:08.693Z] ---> 5520c2a43c97 [2023-08-25T03:46:08.693Z] Step 23/23 : LABEL version=3.1.0-dev.16 [2023-08-25T03:46:08.964Z] ---> Running in 4678a4219173 [2023-08-25T03:46:09.229Z] Removing intermediate container 4678a4219173 [2023-08-25T03:46:09.229Z] ---> c5707cfd9d4c [2023-08-25T03:46:09.229Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T03:46:09.229Z] Successfully built c5707cfd9d4c [2023-08-25T03:46:09.229Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:46:09.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T03:46:09.655Z] [2023-08-25T03:46:09.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:46:09.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T03:46:09.977Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T03:46:09.977Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T03:46:09.977Z] 04944245beec: Pulling fs layer [2023-08-25T03:46:09.977Z] 699f458cf7ca: Pulling fs layer [2023-08-25T03:46:09.977Z] 765212b225bb: Pulling fs layer [2023-08-25T03:46:09.977Z] f23df028b6ca: Pulling fs layer [2023-08-25T03:46:09.977Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T03:46:09.977Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T03:46:09.977Z] 765212b225bb: Waiting [2023-08-25T03:46:09.977Z] f23df028b6ca: Waiting [2023-08-25T03:46:09.977Z] 2437ff75d9bd: Waiting [2023-08-25T03:46:09.977Z] d65c8cfc05b1: Waiting [2023-08-25T03:46:10.247Z] 04944245beec: Verifying Checksum [2023-08-25T03:46:10.247Z] 04944245beec: Download complete [2023-08-25T03:46:10.247Z] 765212b225bb: Verifying Checksum [2023-08-25T03:46:10.247Z] 765212b225bb: Download complete [2023-08-25T03:46:10.247Z] f23df028b6ca: Verifying Checksum [2023-08-25T03:46:10.247Z] f23df028b6ca: Download complete [2023-08-25T03:46:10.247Z] d65c8cfc05b1: Download complete [2023-08-25T03:46:10.247Z] 699f458cf7ca: Verifying Checksum [2023-08-25T03:46:10.247Z] 699f458cf7ca: Download complete [2023-08-25T03:46:10.833Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T03:46:10.833Z] 8998bd30e6a1: Download complete [2023-08-25T03:46:12.772Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T03:46:12.772Z] 2437ff75d9bd: Download complete [2023-08-25T03:46:14.712Z] 8998bd30e6a1: Pull complete [2023-08-25T03:46:14.981Z] 04944245beec: Pull complete [2023-08-25T03:46:15.944Z] 699f458cf7ca: Pull complete [2023-08-25T03:46:16.210Z] 765212b225bb: Pull complete [2023-08-25T03:46:17.169Z] f23df028b6ca: Pull complete [2023-08-25T03:46:17.169Z] d65c8cfc05b1: Pull complete [2023-08-25T03:46:32.159Z] 2437ff75d9bd: Pull complete [2023-08-25T03:46:32.159Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T03:46:32.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T03:46:32.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:46:32.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-4487 does not seem to be running inside a container [2023-08-25T03:46:32.400Z] $ 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/245 -v /w/workspace/device-sdk-go/245:/w/workspace/device-sdk-go/245:rw,z -v /w/workspace/device-sdk-go/245@tmp:/w/workspace/device-sdk-go/245@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:arm64 cat [2023-08-25T03:46:34.813Z] $ docker top fd6f1dc96fb37bf3465921b5282b88ad070bf89bb29659ba94beb955ab5bf993 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:46:35.636Z] ---> job-cost.sh [2023-08-25T03:46:35.636Z] lf-activate-venv: SKIPPING [2023-08-25T03:46:35.636Z] INFO: No Stack... [2023-08-25T03:46:35.900Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T03:46:36.852Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T03:46:37.165Z] + cat /w/workspace/device-sdk-go/245/archives/cost.csv [2023-08-25T03:46:37.165Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T03:46:37.229Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [2023-08-25T03:46:37.235Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] did not exist. Created. [2023-08-25T03:46:37.235Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T03:46:37.570Z] /w/workspace/device-sdk-go/245@tmp/durable-04f28262/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T03:46:38.223Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T03:46:38.243Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T03:46:38.320Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T03:46:38.326Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-245-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T03:46:38.343Z] $ docker stop --time=1 fd6f1dc96fb37bf3465921b5282b88ad070bf89bb29659ba94beb955ab5bf993 [2023-08-25T03:46:39.823Z] $ docker rm -f --volumes fd6f1dc96fb37bf3465921b5282b88ad070bf89bb29659ba94beb955ab5bf993 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-25T03:46:40.282Z] provisioning config files... [2023-08-25T03:46:40.289Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14302940508456815278tmp [Pipeline] { [Pipeline] sh [2023-08-25T03:46:40.580Z] + set +x [2023-08-25T03:46:40.580Z] + curl -s+ https://codecov.io/bash [2023-08-25T03:46:40.580Z] bash -s -- [2023-08-25T03:46:40.580Z] [2023-08-25T03:46:40.580Z] _____ _ [2023-08-25T03:46:40.580Z] / ____| | | [2023-08-25T03:46:40.580Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T03:46:40.580Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T03:46:40.580Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T03:46:40.580Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T03:46:40.580Z] Bash-1.0.6 [2023-08-25T03:46:40.580Z] [2023-08-25T03:46:40.580Z] [2023-08-25T03:46:40.580Z] ==> git version 2.25.1 found [2023-08-25T03:46:40.580Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-25T03:46:40.580Z] Release-Date: 2020-01-08 [2023-08-25T03:46:40.580Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-25T03:46:40.580Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T03:46:40.580Z] ==> Jenkins CI detected. [2023-08-25T03:46:40.580Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-08-25T03:46:40.580Z] project root: . [2023-08-25T03:46:40.580Z] --> token set from env [2023-08-25T03:46:40.580Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T03:46:40.580Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T03:46:40.580Z] ==> Python coveragepy not found [2023-08-25T03:46:40.580Z] ==> Searching for coverage reports in: [2023-08-25T03:46:40.580Z] + . [2023-08-25T03:46:40.580Z] -> Found 1 reports [2023-08-25T03:46:40.580Z] ==> Detecting git/mercurial file structure [2023-08-25T03:46:40.839Z] ==> Reading reports [2023-08-25T03:46:40.839Z] + ./coverage.out bytes=120271 [2023-08-25T03:46:40.839Z] ==> Appending adjustments [2023-08-25T03:46:40.839Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T03:46:41.099Z] + Found adjustments [2023-08-25T03:46:41.099Z] ==> Gzipping contents [2023-08-25T03:46:41.099Z] 20K /tmp/codecov.D6ztBP.gz [2023-08-25T03:46:41.099Z] ==> Uploading reports [2023-08-25T03:46:41.099Z] url: https://codecov.io [2023-08-25T03:46:41.099Z] query: branch=main&commit=c51a94a8207d4a1ad8be458cdf522e8931b07b09&build=245&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F245%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T03:46:41.099Z] -> Pinging Codecov [2023-08-25T03:46:41.099Z] 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=c51a94a8207d4a1ad8be458cdf522e8931b07b09&build=245&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F245%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T03:46:41.358Z] -> Uploading to [2023-08-25T03:46:41.358Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/7E55EF52A471D76F132DFD9A03CDDE97/c51a94a8207d4a1ad8be458cdf522e8931b07b09/b732e049-1676-4d41-8911-774f7b61fb3d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T034641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=621855671ff12ea0b2e6f44a56bcde1ffaa0beed4e91d9858fb9e55c2935a1de [2023-08-25T03:46:41.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T03:46:41.358Z] Dload Upload Total Spent Left Speed [2023-08-25T03:46:41.617Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16426 0 0 100 16426 0 85108 --:--:-- --:--:-- --:--:-- 84670 100 16426 0 0 100 16426 0 85108 --:--:-- --:--:-- --:--:-- 84670 [2023-08-25T03:46:41.617Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] } [2023-08-25T03:46:41.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-25T03:46:41.830Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-25T03:46:41.839Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:46:42.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T03:46:42.141Z] [2023-08-25T03:46:42.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:46:42.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T03:46:42.439Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-25T03:46:42.439Z] df9b9388f04a: Pulling fs layer [2023-08-25T03:46:42.439Z] 52dc419b0ee2: Pulling fs layer [2023-08-25T03:46:42.439Z] 25bc292e5bac: Pulling fs layer [2023-08-25T03:46:42.439Z] 114826534d7a: Pulling fs layer [2023-08-25T03:46:42.439Z] 4657fd5d0bcf: Pulling fs layer [2023-08-25T03:46:42.439Z] 6ad1cebc031e: Pulling fs layer [2023-08-25T03:46:42.439Z] 8a3aa393b2d8: Pulling fs layer [2023-08-25T03:46:42.439Z] 4657fd5d0bcf: Waiting [2023-08-25T03:46:42.439Z] 6ad1cebc031e: Waiting [2023-08-25T03:46:42.439Z] 114826534d7a: Waiting [2023-08-25T03:46:42.439Z] 8a3aa393b2d8: Waiting [2023-08-25T03:46:42.439Z] 25bc292e5bac: Verifying Checksum [2023-08-25T03:46:42.439Z] 25bc292e5bac: Download complete [2023-08-25T03:46:42.439Z] 52dc419b0ee2: Download complete [2023-08-25T03:46:42.439Z] 4657fd5d0bcf: Verifying Checksum [2023-08-25T03:46:42.439Z] 4657fd5d0bcf: Download complete [2023-08-25T03:46:42.439Z] df9b9388f04a: Verifying Checksum [2023-08-25T03:46:42.439Z] df9b9388f04a: Download complete [2023-08-25T03:46:42.700Z] df9b9388f04a: Pull complete [2023-08-25T03:46:42.700Z] 52dc419b0ee2: Pull complete [2023-08-25T03:46:42.700Z] 6ad1cebc031e: Verifying Checksum [2023-08-25T03:46:42.700Z] 6ad1cebc031e: Download complete [2023-08-25T03:46:42.700Z] 25bc292e5bac: Pull complete [2023-08-25T03:46:43.268Z] 114826534d7a: Verifying Checksum [2023-08-25T03:46:43.268Z] 114826534d7a: Download complete [2023-08-25T03:46:43.526Z] 8a3aa393b2d8: Verifying Checksum [2023-08-25T03:46:43.526Z] 8a3aa393b2d8: Download complete [2023-08-25T03:46:46.805Z] 114826534d7a: Pull complete [2023-08-25T03:46:46.805Z] 4657fd5d0bcf: Pull complete [2023-08-25T03:46:46.805Z] 6ad1cebc031e: Pull complete [2023-08-25T03:46:49.333Z] 8a3aa393b2d8: Pull complete [2023-08-25T03:46:49.333Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-25T03:46:49.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T03:46:49.333Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:46:49.408Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:46:49.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-25T03:46:53.060Z] $ docker top de281cf2a1707b9f82d9bd554463e20fdde20b58481d79b103717d088a715866 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-25T03:46:53.119Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-08-25T03:46:53.393Z] + set -o pipefail [2023-08-25T03:46:53.393Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-08-25T03:46:57.577Z] [2023-08-25T03:46:57.577Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-08-25T03:46:57.577Z] [2023-08-25T03:46:57.577Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/457a14c8-597e-4829-87ef-21d67ca7218d [2023-08-25T03:46:57.577Z] [2023-08-25T03:46:57.577Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-25T03:46:57.577Z] [2023-08-25T03:46:57.836Z] [2023-08-25T03:46:57.836Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-25T03:46:57.836Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-25T03:46:57.836Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-25T03:46:57.848Z] $ docker stop --time=1 de281cf2a1707b9f82d9bd554463e20fdde20b58481d79b103717d088a715866 [2023-08-25T03:47:00.879Z] $ docker rm -f --volumes de281cf2a1707b9f82d9bd554463e20fdde20b58481d79b103717d088a715866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-08-25T03:47:01.260Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:47:01.271Z] provisioning config files... [2023-08-25T03:47:01.278Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8728265220847702628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:01.575Z] --> edgex-publish-swagger.sh [2023-08-25T03:47:01.575Z] === Publish openapi/v3 API === [2023-08-25T03:47:01.575Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-08-25T03:47:01.575Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-08-25T03:47:01.575Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T03:47:01.575Z] Dload Upload Total Spent Left Speed [2023-08-25T03:47:01.834Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 54422 --:--:-- --:--:-- --:--:-- 54422 [2023-08-25T03:47:01.834Z] [2023-08-25T03:47:01.834Z] [Pipeline] } [2023-08-25T03:47:01.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T03:47:02.309Z] + git log --format=format:%s -1 c51a94a8207d4a1ad8be458cdf522e8931b07b09 [Pipeline] sh [2023-08-25T03:47:02.596Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T03:47:02.596Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:47:02.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:47:02.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:47:02.960Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:47:02.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T03:47:03.408Z] $ docker top da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T03:47:03.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T03:47:03.495Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T03:47:03.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T03:47:03.614Z] $ docker exec da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 ssh-agent [2023-08-25T03:47:03.722Z] SSH_AUTH_SOCK=/tmp/ssh-M52THAVFENWn/agent.32 [2023-08-25T03:47:03.722Z] SSH_AGENT_PID=38 [2023-08-25T03:47:03.726Z] Running ssh-add (command line suppressed) [2023-08-25T03:47:03.828Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16610449784267518965.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16610449784267518965.key) [2023-08-25T03:47:03.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T03:47:04.129Z] + git semver tag [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,327 [run_tag] DEBUG tag force:False [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,327 [check_head_tag] DEBUG check head tag [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,327 [execute] INFO git cat-file --batch-check [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,331 [execute] INFO git cat-file --batch [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,346 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,346 [execute] INFO git tag -a v3.1.0-dev.16 -m v3.1.0-dev.16 [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,347 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.16', '-m', 'v3.1.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T03:47:04.387Z] 2023-08-25 03:47:04,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:47:04.387Z] 3.1.0-dev.16 [Pipeline] } [2023-08-25T03:47:04.396Z] $ docker exec --env ******** --env ******** da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 ssh-agent -k [2023-08-25T03:47:04.493Z] unset SSH_AUTH_SOCK; [2023-08-25T03:47:04.493Z] unset SSH_AGENT_PID; [2023-08-25T03:47:04.493Z] echo Agent pid 38 killed; [2023-08-25T03:47:04.502Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T03:47:04.806Z] + git semver [Pipeline] } [2023-08-25T03:47:05.077Z] $ docker stop --time=1 da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 [2023-08-25T03:47:06.378Z] $ docker rm -f --volumes da9a390c99dbe9a4e3fe69465293bb6d9ca5210880028d749f71495e4979bf47 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:47:06.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T03:47:06.766Z] [2023-08-25T03:47:06.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:47:07.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T03:47:07.060Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-25T03:47:07.060Z] ab5ef0e58194: Pulling fs layer [2023-08-25T03:47:07.060Z] 9712f1f96733: Pulling fs layer [2023-08-25T03:47:07.060Z] 63f879dbbcfc: Pulling fs layer [2023-08-25T03:47:07.060Z] 0d9ebad4ef96: Pulling fs layer [2023-08-25T03:47:07.060Z] e9a5061849ea: Pulling fs layer [2023-08-25T03:47:07.060Z] d747dcd14b5f: Pulling fs layer [2023-08-25T03:47:07.060Z] 2de7ff778b66: Pulling fs layer [2023-08-25T03:47:07.060Z] e9a5061849ea: Waiting [2023-08-25T03:47:07.060Z] d747dcd14b5f: Waiting [2023-08-25T03:47:07.060Z] 2de7ff778b66: Waiting [2023-08-25T03:47:07.060Z] 0d9ebad4ef96: Waiting [2023-08-25T03:47:07.060Z] 9712f1f96733: Download complete [2023-08-25T03:47:07.630Z] 63f879dbbcfc: Verifying Checksum [2023-08-25T03:47:07.630Z] 63f879dbbcfc: Download complete [2023-08-25T03:47:07.630Z] e9a5061849ea: Verifying Checksum [2023-08-25T03:47:07.630Z] e9a5061849ea: Download complete [2023-08-25T03:47:07.630Z] d747dcd14b5f: Verifying Checksum [2023-08-25T03:47:07.630Z] d747dcd14b5f: Download complete [2023-08-25T03:47:07.630Z] 0d9ebad4ef96: Verifying Checksum [2023-08-25T03:47:07.630Z] 0d9ebad4ef96: Download complete [2023-08-25T03:47:07.630Z] ab5ef0e58194: Verifying Checksum [2023-08-25T03:47:07.630Z] ab5ef0e58194: Download complete [2023-08-25T03:47:07.891Z] 2de7ff778b66: Verifying Checksum [2023-08-25T03:47:07.891Z] 2de7ff778b66: Download complete [2023-08-25T03:47:10.426Z] ab5ef0e58194: Pull complete [2023-08-25T03:47:10.686Z] 9712f1f96733: Pull complete [2023-08-25T03:47:11.257Z] 63f879dbbcfc: Pull complete [2023-08-25T03:47:15.460Z] 0d9ebad4ef96: Pull complete [2023-08-25T03:47:15.460Z] e9a5061849ea: Pull complete [2023-08-25T03:47:15.460Z] d747dcd14b5f: Pull complete [2023-08-25T03:47:16.847Z] 2de7ff778b66: Pull complete [2023-08-25T03:47:16.847Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-25T03:47:16.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T03:47:16.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:47:16.941Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:47:16.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-25T03:47:20.746Z] $ docker top f6415003e04f8fcb8d05001956707bd9f3b497cd7e947a23101ea724006b2aec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:47:20.821Z] provisioning config files... [2023-08-25T03:47:20.831Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config371599383788988159tmp [2023-08-25T03:47:20.842Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config497137062396534030tmp [2023-08-25T03:47:20.854Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16096752942548408681tmp [Pipeline] { [Pipeline] echo [2023-08-25T03:47:20.870Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:21.150Z] ---> sigul-configuration.sh [2023-08-25T03:47:21.150Z] gpg: directory `/root/.gnupg' created [2023-08-25T03:47:21.150Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-25T03:47:21.150Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-25T03:47:21.150Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-25T03:47:21.150Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-25T03:47:21.150Z] gpg: CAST5 encrypted data [2023-08-25T03:47:21.150Z] gpg: encrypted with 1 passphrase [2023-08-25T03:47:21.150Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-25T03:47:21.433Z] + mkdir /home/jenkins [2023-08-25T03:47:21.433Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-25T03:47:21.718Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-25T03:47:21.727Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:22.013Z] ---> sigul-install.sh [2023-08-25T03:47:22.013Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-25T03:47:22.297Z] + git tag --list [2023-08-25T03:47:22.297Z] 0.7.1 [2023-08-25T03:47:22.297Z] delhi-tag [2023-08-25T03:47:22.297Z] v1.0.0 [2023-08-25T03:47:22.297Z] v1.1.0 [2023-08-25T03:47:22.297Z] v1.1.1 [2023-08-25T03:47:22.297Z] v1.1.2 [2023-08-25T03:47:22.297Z] v1.2.0 [2023-08-25T03:47:22.297Z] v1.2.1 [2023-08-25T03:47:22.297Z] v1.2.2 [2023-08-25T03:47:22.297Z] v1.2.3 [2023-08-25T03:47:22.297Z] v1.3.0 [2023-08-25T03:47:22.297Z] v1.4.0 [2023-08-25T03:47:22.297Z] v2.0.0 [2023-08-25T03:47:22.297Z] v2.1.0 [2023-08-25T03:47:22.297Z] v2.1.1 [2023-08-25T03:47:22.297Z] v2.2.0 [2023-08-25T03:47:22.297Z] v2.3.0 [2023-08-25T03:47:22.297Z] v2.3.1 [2023-08-25T03:47:22.297Z] v3.0 [2023-08-25T03:47:22.297Z] v3.0.0 [2023-08-25T03:47:22.297Z] v3.0.1-dev.1 [2023-08-25T03:47:22.297Z] v3.1.0-dev.1 [2023-08-25T03:47:22.297Z] v3.1.0-dev.10 [2023-08-25T03:47:22.297Z] v3.1.0-dev.11 [2023-08-25T03:47:22.297Z] v3.1.0-dev.12 [2023-08-25T03:47:22.297Z] v3.1.0-dev.13 [2023-08-25T03:47:22.297Z] v3.1.0-dev.14 [2023-08-25T03:47:22.297Z] v3.1.0-dev.15 [2023-08-25T03:47:22.297Z] v3.1.0-dev.16 [2023-08-25T03:47:22.297Z] v3.1.0-dev.2 [2023-08-25T03:47:22.297Z] v3.1.0-dev.3 [2023-08-25T03:47:22.297Z] v3.1.0-dev.4 [2023-08-25T03:47:22.297Z] v3.1.0-dev.5 [2023-08-25T03:47:22.297Z] v3.1.0-dev.6 [2023-08-25T03:47:22.297Z] v3.1.0-dev.7 [2023-08-25T03:47:22.297Z] v3.1.0-dev.8 [2023-08-25T03:47:22.297Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-25T03:47:22.582Z] + lftools sign git-tag v3.1.0-dev.16 [2023-08-25T03:47:23.152Z] Signing Git tag with Sigul... [2023-08-25T03:47:23.152Z] Signing v3.1.0-dev.16 [Pipeline] echo [2023-08-25T03:47:23.728Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:24.011Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-25T03:47:24.018Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-25T03:47:24.038Z] $ docker stop --time=1 f6415003e04f8fcb8d05001956707bd9f3b497cd7e947a23101ea724006b2aec [2023-08-25T03:47:25.343Z] $ docker rm -f --volumes f6415003e04f8fcb8d05001956707bd9f3b497cd7e947a23101ea724006b2aec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-25T03:47:25.750Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T03:47:25.751Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:47:26.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:47:26.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:47:26.110Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:47:26.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T03:47:26.488Z] $ docker top 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 -eo pid,comm [2023-08-25T03:47:26.536Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-25T03:47:26.536Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T03:47:26.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T03:47:26.566Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T03:47:26.677Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T03:47:26.680Z] $ docker exec 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 ssh-agent [2023-08-25T03:47:26.787Z] SSH_AUTH_SOCK=/tmp/ssh-F4WjAXK2TJZS/agent.32 [2023-08-25T03:47:26.787Z] SSH_AGENT_PID=38 [2023-08-25T03:47:26.792Z] Running ssh-add (command line suppressed) [2023-08-25T03:47:26.892Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11795653778042265908.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11795653778042265908.key) [2023-08-25T03:47:26.906Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T03:47:27.190Z] + git semver bump pre [2023-08-25T03:47:27.449Z] 2023-08-25 03:47:27,360 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:47:27.449Z] 2023-08-25 03:47:27,360 [bump_version] DEBUG bumping version:3.1.0-dev.16 on axis:pre with prefix:dev [2023-08-25T03:47:27.449Z] 2023-08-25 03:47:27,360 [bump_version] DEBUG bumped version:3.1.0-dev.17 [2023-08-25T03:47:27.449Z] 2023-08-25 03:47:27,360 [write_version] DEBUG write version:3.1.0-dev.17 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-08-25T03:47:27.449Z] 2023-08-25 03:47:27,360 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:47:27.449Z] 2023-08-25 03:47:27,360 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:47:27.449Z] 2023-08-25 03:47:27,362 [execute] INFO git cat-file --batch-check [2023-08-25T03:47:27.449Z] 2023-08-25 03:47:27,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T03:47:27.450Z] 2023-08-25 03:47:27,369 [execute] INFO git cat-file --batch [2023-08-25T03:47:27.450Z] 2023-08-25 03:47:27,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T03:47:27.450Z] 2023-08-25 03:47:27,375 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:47:27.450Z] 3.1.0-dev.17 [Pipeline] } [2023-08-25T03:47:27.460Z] $ docker exec --env ******** --env ******** 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 ssh-agent -k [2023-08-25T03:47:27.565Z] unset SSH_AUTH_SOCK; [2023-08-25T03:47:27.565Z] unset SSH_AGENT_PID; [2023-08-25T03:47:27.565Z] echo Agent pid 38 killed; [2023-08-25T03:47:27.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T03:47:27.870Z] + git semver [Pipeline] } [2023-08-25T03:47:28.143Z] $ docker stop --time=1 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 [2023-08-25T03:47:29.390Z] $ docker rm -f --volumes 97768db199937cbcb62dad47ac1690d4df1882a834b23991e6011ab6d9250182 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T03:47:29.718Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T03:47:29.718Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:47:30.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:47:30.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:47:30.083Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:47:30.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T03:47:30.444Z] $ docker top 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T03:47:30.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T03:47:30.532Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T03:47:30.659Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T03:47:30.662Z] $ docker exec 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 ssh-agent [2023-08-25T03:47:30.779Z] SSH_AUTH_SOCK=/tmp/ssh-5OTpzLfCEUeZ/agent.32 [2023-08-25T03:47:30.779Z] SSH_AGENT_PID=38 [2023-08-25T03:47:30.783Z] Running ssh-add (command line suppressed) [2023-08-25T03:47:30.901Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3380264607831864876.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3380264607831864876.key) [2023-08-25T03:47:30.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T03:47:31.202Z] + git semver push [2023-08-25T03:47:31.461Z] 2023-08-25 03:47:31,385 [run_push] DEBUG push [2023-08-25T03:47:31.461Z] 2023-08-25 03:47:31,386 [execute] INFO git cat-file --batch-check [2023-08-25T03:47:31.461Z] 2023-08-25 03:47:31,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T03:47:31.461Z] 2023-08-25 03:47:31,390 [execute] INFO git rev-list 7e3a1d801a3e80a0426f741b9abe115cd105e32b -- [2023-08-25T03:47:31.461Z] 2023-08-25 03:47:31,390 [execute] DEBUG Popen(['git', 'rev-list', '7e3a1d801a3e80a0426f741b9abe115cd105e32b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T03:47:31.461Z] 2023-08-25 03:47:31,404 [execute] INFO git fetch -v origin [2023-08-25T03:47:31.461Z] 2023-08-25 03:47:31,405 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-25T03:47:32.029Z] 2023-08-25 03:47:31,869 [run_push] DEBUG no remote changes detected [2023-08-25T03:47:32.029Z] 2023-08-25 03:47:31,869 [execute] INFO git push origin semver [2023-08-25T03:47:32.029Z] 2023-08-25 03:47:31,870 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T03:47:32.966Z] 2023-08-25 03:47:32,678 [run_push] DEBUG push all version tags [2023-08-25T03:47:32.966Z] 2023-08-25 03:47:32,678 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-25T03:47:32.966Z] 2023-08-25 03:47:32,679 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T03:47:33.902Z] 2023-08-25 03:47:33,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-08-25T03:47:33.902Z] 3.1.0-dev.17 [Pipeline] } [2023-08-25T03:47:33.912Z] $ docker exec --env ******** --env ******** 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 ssh-agent -k [2023-08-25T03:47:34.017Z] unset SSH_AUTH_SOCK; [2023-08-25T03:47:34.017Z] unset SSH_AGENT_PID; [2023-08-25T03:47:34.017Z] echo Agent pid 38 killed; [2023-08-25T03:47:34.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T03:47:34.325Z] + git semver [Pipeline] } [2023-08-25T03:47:34.597Z] $ docker stop --time=1 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 [2023-08-25T03:47:35.854Z] $ docker rm -f --volumes 5998081203fa61b82a7ce1c3451c27a73f86bc2ec3e6bfc0ce53626bf33f6f32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-25T03:47:36.409Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-08-25T03:47:36.409Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-25T03:47:36.409Z] total 16 [2023-08-25T03:47:36.409Z] drwxr-xr-x 3 root root 4096 Aug 25 03:36 . [2023-08-25T03:47:36.409Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:47 .. [2023-08-25T03:47:36.409Z] drwxr-xr-x 2 root root 4096 Aug 25 03:36 cost [2023-08-25T03:47:36.409Z] -rw-r--r-- 1 root root 85 Aug 25 03:36 cost.csv [2023-08-25T03:47:36.409Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-25T03:47:36.409Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-08-25T03:47:36.409Z] total 16 [2023-08-25T03:47:36.409Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 03:36 . [2023-08-25T03:47:36.409Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:47 .. [2023-08-25T03:47:36.409Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 03:36 cost [2023-08-25T03:47:36.409Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 25 03:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:36.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:37.635Z] ---> package-listing.sh [2023-08-25T03:47:37.636Z] ++ facter osfamily [2023-08-25T03:47:37.636Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T03:47:37.636Z] + OS_FAMILY=debian [2023-08-25T03:47:37.636Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-08-25T03:47:37.636Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T03:47:37.636Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T03:47:37.636Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T03:47:37.636Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T03:47:37.636Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-25T03:47:37.636Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T03:47:37.636Z] + case "${OS_FAMILY}" in [2023-08-25T03:47:37.636Z] + dpkg -l [2023-08-25T03:47:37.636Z] + grep '^ii' [2023-08-25T03:47:37.911Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T03:47:37.911Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T03:47:37.911Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T03:47:37.911Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-08-25T03:47:37.911Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-08-25T03:47:37.911Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-08-25T03:47:37.933Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-25T03:47:38.256Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:47:38.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:47:38.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:47:38.637Z] prd-ubuntu20.04-docker-8c-8g-4486 does not seem to be running inside a container [2023-08-25T03:47:38.667Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T03:47:38.866Z] $ docker top f1d5db06cedbf4fa357d730c9ddf1ddced7501bc41d10407215aaded62eb0259 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:47:39.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T03:47:39.492Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T03:47:39.775Z] + ls /var/log/sa-host [2023-08-25T03:47:39.775Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:47:39.922Z] provisioning config files... [2023-08-25T03:47:39.930Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12927293797603324822tmp [Pipeline] { [Pipeline] echo [2023-08-25T03:47:39.944Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:40.226Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T03:47:40.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:40.553Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T03:47:40.561Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:40.843Z] ---> sudo-logs.sh [2023-08-25T03:47:40.843Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T03:47:40.870Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:41.153Z] ---> job-cost.sh [2023-08-25T03:47:41.153Z] lf-activate-venv: SKIPPING [2023-08-25T03:47:41.153Z] DEBUG: total: 0.2199999988079071 [2023-08-25T03:47:41.153Z] INFO: Retrieving Stack Cost... [2023-08-25T03:47:41.412Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T03:47:41.978Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T03:47:41.988Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:47:42.273Z] ---> logs-deploy.sh [2023-08-25T03:47:42.273Z] lf-activate-venv: SKIPPING [2023-08-25T03:47:42.273Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/245 [2023-08-25T03:47:42.273Z] INFO: archiving workspace using pattern(s): [2023-08-25T03:47:43.207Z] Archives upload complete. [2023-08-25T03:47:43.207Z] INFO: archiving logs to Nexus