Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 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-ssh18064406669627871594.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh369303345737480862.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh658075318817382630.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8719101258733812835.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-ssh17135094878384578992.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-780 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 (main) Commit message: "build: Update to latest go-mods (#1473)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 # timeout=10 > git rev-list --no-walk 2d1a40f8b95de1d6d37730263f65300101497f92 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-10T21:07:21.860Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-10T21:07:21.917Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-10T21:07:21.932Z] ========================================================= [2023-07-10T21:07:21.932Z] EdgeX Global Pipelines Version Info [2023-07-10T21:07:21.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:07:22.638Z] ------------------- [2023-07-10T21:07:22.638Z] stable info: [2023-07-10T21:07:22.638Z] ------------------- [2023-07-10T21:07:22.638Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-10T21:07:22.638Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-10T21:07:22.638Z] Message: update stable to v1.0.250 [2023-07-10T21:07:23.208Z] ------------------- [2023-07-10T21:07:23.208Z] experimental info: [2023-07-10T21:07:23.208Z] ------------------- [2023-07-10T21:07:23.208Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-10T21:07:23.208Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-10T21:07:23.208Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-10T21:07:23.381Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-10T21:07:23.390Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-10T21:07:23.404Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-10T21:07:23.422Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-10T21:07:23.440Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-10T21:07:23.457Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-10T21:07:23.470Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-10T21:07:23.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-10T21:07:23.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-10T21:07:23.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-10T21:07:23.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-10T21:07:23.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-10T21:07:23.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-10T21:07:23.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-10T21:07:23.590Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-10T21:07:23.602Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-10T21:07:23.616Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-10T21:07:23.627Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-10T21:07:23.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-10T21:07:23.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-10T21:07:23.663Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-10T21:07:23.677Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-10T21:07:23.688Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-10T21:07:23.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-10T21:07:23.723Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-10T21:07:23.742Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-10T21:07:23.760Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-10T21:07:23.778Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-10T21:07:23.797Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-10T21:07:23.815Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-10T21:07:23.833Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] echo [2023-07-10T21:07:23.851Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c436aa [Pipeline] echo [2023-07-10T21:07:23.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-10T21:07:23.957Z] provisioning config files... [2023-07-10T21:07:23.968Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6481905803445907390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:07:24.275Z] ---> docker-login.sh [2023-07-10T21:07:24.275Z] nexus3.edgexfoundry.org:10001 [2023-07-10T21:07:24.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:24.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:24.535Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:24.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:24.535Z] [2023-07-10T21:07:24.535Z] Login Succeeded [2023-07-10T21:07:24.535Z] nexus3.edgexfoundry.org:10002 [2023-07-10T21:07:24.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:24.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:24.535Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:24.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:24.535Z] [2023-07-10T21:07:24.535Z] Login Succeeded [2023-07-10T21:07:24.535Z] nexus3.edgexfoundry.org:10003 [2023-07-10T21:07:24.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:24.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:24.794Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:24.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:24.794Z] [2023-07-10T21:07:24.794Z] Login Succeeded [2023-07-10T21:07:24.794Z] nexus3.edgexfoundry.org:10004 [2023-07-10T21:07:24.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:24.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:24.794Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:24.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:24.794Z] [2023-07-10T21:07:24.794Z] Login Succeeded [2023-07-10T21:07:24.794Z] docker.io [2023-07-10T21:07:24.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:25.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:25.054Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:25.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:25.054Z] [2023-07-10T21:07:25.054Z] Login Succeeded [2023-07-10T21:07:25.054Z] ---> docker-login.sh ends [Pipeline] } [2023-07-10T21:07:25.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-10T21:07:25.436Z] + git rev-list -1 --merges 1c436aae64ba04d8b406a209c24bbc2f99c23ca9~1..1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] echo [2023-07-10T21:07:25.489Z] -----------> git rev-list -1 --merges 1c436aae64ba04d8b406a209c24bbc2f99c23ca9~1..1c436aae64ba04d8b406a209c24bbc2f99c23ca9 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [false] [Pipeline] sh [2023-07-10T21:07:25.780Z] + git log --format=format:%s -1 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] echo [2023-07-10T21:07:25.796Z] ========================================================= [2023-07-10T21:07:25.796Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-10T21:07:25.796Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-10T21:07:26.161Z] + git log --format=format:%s -1 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] echo [2023-07-10T21:07:26.173Z] [semverPrep] GIT_COMMIT: 1c436aae64ba04d8b406a209c24bbc2f99c23ca9, Commit Message: build: Update to latest go-mods (#1473) [Pipeline] echo [2023-07-10T21:07:26.182Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-10T21:07:26.521Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-10T21:07:26.521Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-10T21:07:26.521Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-10T21:07:26.521Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-10T21:07:26.521Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-10T21:07:26.521Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-10T21:07:26.521Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:07:26.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T21:07:26.893Z] [2023-07-10T21:07:26.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:07:27.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T21:07:27.196Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-10T21:07:27.196Z] b85a868b505f: Pulling fs layer [2023-07-10T21:07:27.196Z] e2be974225ed: Pulling fs layer [2023-07-10T21:07:27.196Z] 339a4e72a1f5: Pulling fs layer [2023-07-10T21:07:27.196Z] 988bab9f4d93: Pulling fs layer [2023-07-10T21:07:27.196Z] 1469e6f7b9e6: Pulling fs layer [2023-07-10T21:07:27.196Z] eaf3925da568: Pulling fs layer [2023-07-10T21:07:27.196Z] bab4dde63d76: Pulling fs layer [2023-07-10T21:07:27.196Z] bde34c3a00c8: Pulling fs layer [2023-07-10T21:07:27.196Z] b352a97aabf1: Pulling fs layer [2023-07-10T21:07:27.196Z] 4872d77fe225: Pulling fs layer [2023-07-10T21:07:27.196Z] 5851b861e8e6: Pulling fs layer [2023-07-10T21:07:27.196Z] 988bab9f4d93: Waiting [2023-07-10T21:07:27.196Z] 1469e6f7b9e6: Waiting [2023-07-10T21:07:27.196Z] eaf3925da568: Waiting [2023-07-10T21:07:27.196Z] bab4dde63d76: Waiting [2023-07-10T21:07:27.196Z] bde34c3a00c8: Waiting [2023-07-10T21:07:27.196Z] b352a97aabf1: Waiting [2023-07-10T21:07:27.196Z] e2be974225ed: Download complete [2023-07-10T21:07:27.196Z] 988bab9f4d93: Verifying Checksum [2023-07-10T21:07:27.196Z] 988bab9f4d93: Download complete [2023-07-10T21:07:27.196Z] 1469e6f7b9e6: Verifying Checksum [2023-07-10T21:07:27.196Z] 1469e6f7b9e6: Download complete [2023-07-10T21:07:27.196Z] eaf3925da568: Verifying Checksum [2023-07-10T21:07:27.196Z] eaf3925da568: Download complete [2023-07-10T21:07:27.460Z] 339a4e72a1f5: Verifying Checksum [2023-07-10T21:07:27.460Z] 339a4e72a1f5: Download complete [2023-07-10T21:07:27.460Z] bde34c3a00c8: Verifying Checksum [2023-07-10T21:07:27.460Z] bde34c3a00c8: Download complete [2023-07-10T21:07:27.460Z] b352a97aabf1: Verifying Checksum [2023-07-10T21:07:27.460Z] b352a97aabf1: Download complete [2023-07-10T21:07:27.460Z] 4872d77fe225: Verifying Checksum [2023-07-10T21:07:27.460Z] 4872d77fe225: Download complete [2023-07-10T21:07:27.460Z] 5851b861e8e6: Verifying Checksum [2023-07-10T21:07:27.460Z] 5851b861e8e6: Download complete [2023-07-10T21:07:27.460Z] b85a868b505f: Verifying Checksum [2023-07-10T21:07:27.460Z] b85a868b505f: Download complete [2023-07-10T21:07:27.719Z] bab4dde63d76: Verifying Checksum [2023-07-10T21:07:27.719Z] bab4dde63d76: Download complete [2023-07-10T21:07:28.657Z] b85a868b505f: Pull complete [2023-07-10T21:07:28.916Z] e2be974225ed: Pull complete [2023-07-10T21:07:29.175Z] 339a4e72a1f5: Pull complete [2023-07-10T21:07:29.433Z] 988bab9f4d93: Pull complete [2023-07-10T21:07:29.694Z] 1469e6f7b9e6: Pull complete [2023-07-10T21:07:29.694Z] eaf3925da568: Pull complete [2023-07-10T21:07:31.596Z] bab4dde63d76: Pull complete [2023-07-10T21:07:31.596Z] bde34c3a00c8: Pull complete [2023-07-10T21:07:31.596Z] b352a97aabf1: Pull complete [2023-07-10T21:07:31.596Z] 4872d77fe225: Pull complete [2023-07-10T21:07:31.856Z] 5851b861e8e6: Pull complete [2023-07-10T21:07:31.856Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-10T21:07:31.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T21:07:31.856Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:07:31.959Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:07:32.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-10T21:07:33.306Z] $ docker top d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc -eo pid,comm [2023-07-10T21:07:33.357Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-10T21:07:33.357Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-10T21:07:33.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-10T21:07:33.386Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-10T21:07:33.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-10T21:07:33.525Z] $ docker exec d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc ssh-agent [2023-07-10T21:07:33.642Z] SSH_AUTH_SOCK=/tmp/ssh-RCZ8goRlmZY1/agent.34 [2023-07-10T21:07:33.642Z] SSH_AGENT_PID=40 [2023-07-10T21:07:33.650Z] Running ssh-add (command line suppressed) [2023-07-10T21:07:33.759Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9257709373314967774.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9257709373314967774.key) [2023-07-10T21:07:33.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-10T21:07:34.048Z] + git tag --points-at HEAD [Pipeline] } [2023-07-10T21:07:34.072Z] $ docker exec --env ******** --env ******** d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc ssh-agent -k [2023-07-10T21:07:34.179Z] unset SSH_AUTH_SOCK; [2023-07-10T21:07:34.179Z] unset SSH_AGENT_PID; [2023-07-10T21:07:34.179Z] echo Agent pid 40 killed; [2023-07-10T21:07:34.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-10T21:07:34.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-10T21:07:34.203Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-10T21:07:34.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-10T21:07:34.341Z] $ docker exec d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc ssh-agent [2023-07-10T21:07:34.448Z] SSH_AUTH_SOCK=/tmp/ssh-MMcZHBqwVCxy/agent.72 [2023-07-10T21:07:34.448Z] SSH_AGENT_PID=78 [2023-07-10T21:07:34.453Z] Running ssh-add (command line suppressed) [2023-07-10T21:07:34.567Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8496882941132709969.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8496882941132709969.key) [2023-07-10T21:07:34.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-10T21:07:34.860Z] + git semver init [2023-07-10T21:07:35.120Z] 2023-07-10 21:07:35,049 [run_init] DEBUG init version:0.0.0 force:False [2023-07-10T21:07:35.121Z] 2023-07-10 21:07:35,050 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-10T21:07:35.121Z] 2023-07-10 21:07:35,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-07-10T21:07:35.121Z] 2023-07-10 21:07:35,051 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-10T21:07:36.061Z] 2023-07-10 21:07:35,904 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-07-10T21:07:36.061Z] 2023-07-10 21:07:35,905 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-07-10T21:07:36.061Z] 2023-07-10 21:07:35,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:07:36.061Z] 2023-07-10 21:07:35,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:07:36.061Z] 3.1.0-dev.2 [Pipeline] } [2023-07-10T21:07:36.082Z] $ docker exec --env ******** --env ******** d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc ssh-agent -k [2023-07-10T21:07:36.191Z] unset SSH_AUTH_SOCK; [2023-07-10T21:07:36.191Z] unset SSH_AGENT_PID; [2023-07-10T21:07:36.191Z] echo Agent pid 78 killed; [2023-07-10T21:07:36.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-10T21:07:36.490Z] + git semver [Pipeline] } [2023-07-10T21:07:36.772Z] $ docker stop --time=1 d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc [2023-07-10T21:07:38.057Z] $ docker rm -f --volumes d71a4173f2f511cac5b8ff5cc27bb840a90d13e438cd8cccc78a7df2e5a936cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-10T21:07:38.383Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-10T21:07:38.573Z] Stashed 1 file(s) [Pipeline] echo [2023-07-10T21:07:38.575Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-10T21:07:38.721Z] provisioning config files... [2023-07-10T21:07:38.732Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1366896922576551268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:07:39.025Z] ---> docker-login.sh [2023-07-10T21:07:39.025Z] nexus3.edgexfoundry.org:10001 [2023-07-10T21:07:39.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:39.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:39.025Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:39.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:39.025Z] [2023-07-10T21:07:39.025Z] Login Succeeded [2023-07-10T21:07:39.025Z] nexus3.edgexfoundry.org:10002 [2023-07-10T21:07:39.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:39.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:39.025Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:39.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:39.025Z] [2023-07-10T21:07:39.025Z] Login Succeeded [2023-07-10T21:07:39.025Z] nexus3.edgexfoundry.org:10003 [2023-07-10T21:07:39.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:39.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:39.284Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:39.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:39.284Z] [2023-07-10T21:07:39.284Z] Login Succeeded [2023-07-10T21:07:39.284Z] nexus3.edgexfoundry.org:10004 [2023-07-10T21:07:39.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:39.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:39.284Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:39.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:39.284Z] [2023-07-10T21:07:39.284Z] Login Succeeded [2023-07-10T21:07:39.285Z] docker.io [2023-07-10T21:07:39.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:07:39.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:07:39.544Z] Configure a credential helper to remove this warning. See [2023-07-10T21:07:39.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:07:39.544Z] [2023-07-10T21:07:39.544Z] Login Succeeded [2023-07-10T21:07:39.544Z] ---> docker-login.sh ends [Pipeline] } [2023-07-10T21:07:39.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-10T21:07:39.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-10T21:07:39.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-10T21:07:39.634Z] ========================================================= [2023-07-10T21:07:39.634Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-10T21:07:39.634Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:07:39.933Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-10T21:07:39.933Z] Sending build context to Docker daemon 10.88MB [2023-07-10T21:07:39.933Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-10T21:07:39.933Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-10T21:07:39.933Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-10T21:07:39.933Z] f56be85fc22e: Pulling fs layer [2023-07-10T21:07:39.933Z] 85791d961cd3: Pulling fs layer [2023-07-10T21:07:39.933Z] d694b5ae8c79: Pulling fs layer [2023-07-10T21:07:39.933Z] 9f32a84ed3da: Pulling fs layer [2023-07-10T21:07:39.933Z] 4d19c01a9841: Pulling fs layer [2023-07-10T21:07:39.933Z] 9325e15d5711: Pulling fs layer [2023-07-10T21:07:39.933Z] 556b6ee489ea: Pulling fs layer [2023-07-10T21:07:39.933Z] c5a4b2cf53e6: Pulling fs layer [2023-07-10T21:07:39.933Z] 556b6ee489ea: Waiting [2023-07-10T21:07:39.933Z] 9f32a84ed3da: Waiting [2023-07-10T21:07:39.933Z] c5a4b2cf53e6: Waiting [2023-07-10T21:07:39.933Z] 4d19c01a9841: Waiting [2023-07-10T21:07:39.933Z] 9325e15d5711: Waiting [2023-07-10T21:07:39.933Z] 85791d961cd3: Verifying Checksum [2023-07-10T21:07:39.933Z] 85791d961cd3: Download complete [2023-07-10T21:07:39.933Z] 9f32a84ed3da: Verifying Checksum [2023-07-10T21:07:39.933Z] 9f32a84ed3da: Download complete [2023-07-10T21:07:39.933Z] 4d19c01a9841: Verifying Checksum [2023-07-10T21:07:39.933Z] 4d19c01a9841: Download complete [2023-07-10T21:07:40.194Z] f56be85fc22e: Verifying Checksum [2023-07-10T21:07:40.194Z] f56be85fc22e: Download complete [2023-07-10T21:07:40.194Z] 9325e15d5711: Verifying Checksum [2023-07-10T21:07:40.194Z] 9325e15d5711: Download complete [2023-07-10T21:07:40.194Z] f56be85fc22e: Pull complete [2023-07-10T21:07:40.455Z] 85791d961cd3: Pull complete [2023-07-10T21:07:40.455Z] c5a4b2cf53e6: Verifying Checksum [2023-07-10T21:07:40.455Z] c5a4b2cf53e6: Download complete [2023-07-10T21:07:40.713Z] d694b5ae8c79: Verifying Checksum [2023-07-10T21:07:40.713Z] d694b5ae8c79: Download complete [2023-07-10T21:07:40.971Z] 556b6ee489ea: Verifying Checksum [2023-07-10T21:07:40.971Z] 556b6ee489ea: Download complete [2023-07-10T21:07:44.249Z] d694b5ae8c79: Pull complete [2023-07-10T21:07:44.249Z] 9f32a84ed3da: Pull complete [2023-07-10T21:07:44.249Z] 4d19c01a9841: Pull complete [2023-07-10T21:07:44.249Z] 9325e15d5711: Pull complete [2023-07-10T21:07:46.776Z] 556b6ee489ea: Pull complete [2023-07-10T21:07:47.341Z] c5a4b2cf53e6: Pull complete [2023-07-10T21:07:47.341Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-07-10T21:07:47.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-10T21:07:47.341Z] ---> c4be618373d6 [2023-07-10T21:07:47.341Z] Step 3/10 : ARG MAKE=make build [2023-07-10T21:07:48.720Z] ---> Running in 9c7de30b6dbb [2023-07-10T21:07:48.720Z] Removing intermediate container 9c7de30b6dbb [2023-07-10T21:07:48.720Z] ---> b7e9364fa770 [2023-07-10T21:07:48.720Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-10T21:07:48.720Z] ---> Running in d0c6a9636a5f [2023-07-10T21:07:48.720Z] Removing intermediate container d0c6a9636a5f [2023-07-10T21:07:48.720Z] ---> 1f23859d8e50 [2023-07-10T21:07:48.720Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-10T21:07:48.720Z] ---> Running in 9bee35496c5d [2023-07-10T21:07:48.979Z] Removing intermediate container 9bee35496c5d [2023-07-10T21:07:48.979Z] ---> 02c6179e5b98 [2023-07-10T21:07:48.979Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-10T21:07:48.979Z] ---> Running in 43b34bbc42cf [2023-07-10T21:07:49.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-10T21:07:49.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-10T21:07:49.760Z] OK: 265 MiB in 53 packages [2023-07-10T21:07:50.327Z] Removing intermediate container 43b34bbc42cf [2023-07-10T21:07:50.327Z] ---> f0fb6893a464 [2023-07-10T21:07:50.327Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-10T21:07:50.327Z] ---> 80d2353241dd [2023-07-10T21:07:50.327Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-10T21:07:50.327Z] ---> Running in e378b7893213 [2023-07-10T21:07:53.680Z] Still waiting to schedule task [2023-07-10T21:07:53.681Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-781’ is offline [2023-07-10T21:08:22.407Z] Removing intermediate container e378b7893213 [2023-07-10T21:08:22.407Z] ---> 676444624435 [2023-07-10T21:08:22.407Z] Step 9/10 : COPY . . [2023-07-10T21:08:22.407Z] ---> 6ddda8961334 [2023-07-10T21:08:22.407Z] Step 10/10 : RUN ${MAKE} [2023-07-10T21:08:22.407Z] ---> Running in 8557fcee30fe [2023-07-10T21:08:22.407Z] noop [2023-07-10T21:08:22.407Z] Removing intermediate container 8557fcee30fe [2023-07-10T21:08:22.407Z] ---> 562bbb5b015e [2023-07-10T21:08:22.407Z] Successfully built 562bbb5b015e [2023-07-10T21:08:22.407Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:08:22.719Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-10T21:08:22.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:08:22.788Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:08:22.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-10T21:08:23.146Z] $ docker top 2e60738b8234fbac05be00a0eecfc1f4f83cc4f5382710ff39d3f44d37994c74 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T21:08:23.490Z] + go version [2023-07-10T21:08:23.490Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-07-10T21:08:23.504Z] $ docker stop --time=1 2e60738b8234fbac05be00a0eecfc1f4f83cc4f5382710ff39d3f44d37994c74 [2023-07-10T21:08:24.764Z] $ docker rm -f --volumes 2e60738b8234fbac05be00a0eecfc1f4f83cc4f5382710ff39d3f44d37994c74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:08:25.162Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-10T21:08:25.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:08:25.230Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:08:25.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-10T21:08:25.577Z] $ docker top 3a7143268d44e4f968009e0d5e5ffcf8e02e53c34b4a4592cb7e7370a4415c3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T21:08:25.920Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-07-10T21:08:26.217Z] + make test [2023-07-10T21:08:26.217Z] go test -race -coverprofile=coverage.out ./... [2023-07-10T21:08:32.779Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-10T21:08:44.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-10T21:08:44.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-10T21:08:44.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-10T21:08:44.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-10T21:08:44.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-10T21:08:45.541Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.046s coverage: 27.6% of statements [2023-07-10T21:08:45.541Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-10T21:08:45.541Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-10T21:08:45.541Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 80.2% of statements [2023-07-10T21:08:45.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-07-10T21:08:46.364Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-10T21:08:46.364Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.083s coverage: 77.5% of statements [2023-07-10T21:08:46.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-10T21:08:46.879Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-10T21:08:46.879Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-10T21:08:47.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-10T21:08:49.979Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.077s coverage: 14.3% of statements [2023-07-10T21:08:49.979Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements [2023-07-10T21:08:49.979Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.121s coverage: 89.2% of statements [2023-07-10T21:08:49.979Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.7% of statements [2023-07-10T21:09:08.066Z] GO111MODULE=on go vet ./... [2023-07-10T21:09:12.252Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-10T21:09:12.252Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-10T21:09:12.252Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-10T21:09:12.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-10T21:09:12.281Z] $ docker stop --time=1 3a7143268d44e4f968009e0d5e5ffcf8e02e53c34b4a4592cb7e7370a4415c3c [2023-07-10T21:09:15.677Z] $ docker rm -f --volumes 3a7143268d44e4f968009e0d5e5ffcf8e02e53c34b4a4592cb7e7370a4415c3c [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-10T21:09:16.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-10T21:09:16.257Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-10T21:09:16.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-10T21:09:17.031Z] + ls -al . [2023-07-10T21:09:17.032Z] total 284 [2023-07-10T21:09:17.032Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 10 21:08 . [2023-07-10T21:09:17.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:07 .. [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 21:07 .dockerignore [2023-07-10T21:09:17.032Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 21:07 .git [2023-07-10T21:09:17.032Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:07 .github [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 21:07 .gitignore [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 21:07 .golangci.yml [2023-07-10T21:09:17.032Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 21:07 .semver [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 10 21:07 CHANGELOG.md [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 21:07 GOVERNANCE.md [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 21:07 Jenkinsfile [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 21:07 LICENSE [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 10 21:07 Makefile [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 21:07 OWNERS.md [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 10 21:07 README.md [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 10 21:07 VERSION [2023-07-10T21:09:17.032Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:07 bin [2023-07-10T21:09:17.032Z] -rw-r--r-- 1 jenkins jenkins 106150 Jul 10 21:08 coverage.out [2023-07-10T21:09:17.032Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 21:07 example [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 3460 Jul 10 21:07 go.mod [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 32141 Jul 10 21:07 go.sum [2023-07-10T21:09:17.032Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 21:07 internal [2023-07-10T21:09:17.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 21:07 openapi [2023-07-10T21:09:17.032Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 21:07 pkg [2023-07-10T21:09:17.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:07 snap [2023-07-10T21:09:17.032Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:09:17.336Z] + 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=1c436aae64ba04d8b406a209c24bbc2f99c23ca9 --label arch=amd64 --label version=3.1.0-dev.2 . [2023-07-10T21:09:17.336Z] Sending build context to Docker daemon 10.98MB [2023-07-10T21:09:17.337Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-10T21:09:17.337Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-10T21:09:17.337Z] ---> 562bbb5b015e [2023-07-10T21:09:17.337Z] Step 3/23 : ARG MAKE=make build [2023-07-10T21:09:17.596Z] ---> Running in adbdfbd477e2 [2023-07-10T21:09:17.596Z] Removing intermediate container adbdfbd477e2 [2023-07-10T21:09:17.596Z] ---> b4cf463e3ba2 [2023-07-10T21:09:17.596Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-10T21:09:17.596Z] ---> Running in 9d89d56f1d8a [2023-07-10T21:09:17.596Z] Removing intermediate container 9d89d56f1d8a [2023-07-10T21:09:17.596Z] ---> 4777f120c2b6 [2023-07-10T21:09:17.596Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-10T21:09:17.596Z] ---> Running in 753e260fe45e [2023-07-10T21:09:17.854Z] Removing intermediate container 753e260fe45e [2023-07-10T21:09:17.854Z] ---> 643a2ca77132 [2023-07-10T21:09:17.854Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-10T21:09:17.854Z] ---> Running in f8b4820d7b93 [2023-07-10T21:09:18.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-10T21:09:18.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-10T21:09:18.372Z] OK: 265 MiB in 53 packages [2023-07-10T21:09:18.636Z] Removing intermediate container f8b4820d7b93 [2023-07-10T21:09:18.636Z] ---> cd2b00c9268a [2023-07-10T21:09:18.636Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-10T21:09:18.893Z] ---> c01a1123df56 [2023-07-10T21:09:18.893Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-10T21:09:18.893Z] ---> Running in e86b3b17f1ee [2023-07-10T21:09:19.862Z] Removing intermediate container e86b3b17f1ee [2023-07-10T21:09:19.862Z] ---> b14e19396830 [2023-07-10T21:09:19.862Z] Step 9/23 : COPY . . [2023-07-10T21:09:20.121Z] ---> 68bb2c40100a [2023-07-10T21:09:20.121Z] Step 10/23 : RUN ${MAKE} [2023-07-10T21:09:20.121Z] ---> Running in de75b5c275b6 [2023-07-10T21:09:20.378Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.2" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-10T21:09:38.446Z] Removing intermediate container de75b5c275b6 [2023-07-10T21:09:38.446Z] ---> 2439c357c2b8 [2023-07-10T21:09:38.446Z] Step 11/23 : FROM alpine:3.17 [2023-07-10T21:09:38.447Z] 3.17: Pulling from library/alpine [2023-07-10T21:09:38.447Z] 4db1b89c0bd1: Pulling fs layer [2023-07-10T21:09:38.447Z] 4db1b89c0bd1: Verifying Checksum [2023-07-10T21:09:38.447Z] 4db1b89c0bd1: Download complete [2023-07-10T21:09:38.447Z] 4db1b89c0bd1: Pull complete [2023-07-10T21:09:38.447Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-10T21:09:38.447Z] Status: Downloaded newer image for alpine:3.17 [2023-07-10T21:09:38.447Z] ---> 1f73a9d63274 [2023-07-10T21:09:38.447Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-10T21:09:38.447Z] ---> Running in 2bbaa88365a5 [2023-07-10T21:09:38.447Z] Removing intermediate container 2bbaa88365a5 [2023-07-10T21:09:38.447Z] ---> bce715597447 [2023-07-10T21:09:38.447Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-10T21:09:38.447Z] ---> Running in 69d1c415de38 [2023-07-10T21:09:38.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-10T21:09:38.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-10T21:09:39.226Z] OK: 7 MiB in 15 packages [2023-07-10T21:09:39.484Z] Removing intermediate container 69d1c415de38 [2023-07-10T21:09:39.484Z] ---> 1340fdd958ef [2023-07-10T21:09:39.484Z] Step 14/23 : WORKDIR / [2023-07-10T21:09:39.484Z] ---> Running in 6dc23c829c22 [2023-07-10T21:09:39.743Z] Removing intermediate container 6dc23c829c22 [2023-07-10T21:09:39.743Z] ---> b16e70ef6c55 [2023-07-10T21:09:39.743Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-10T21:09:39.743Z] ---> 2cf9d31d3a35 [2023-07-10T21:09:39.743Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-10T21:09:40.680Z] ---> 78f4054589c8 [2023-07-10T21:09:40.680Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-10T21:09:40.680Z] ---> aead2a3c2520 [2023-07-10T21:09:40.680Z] Step 18/23 : EXPOSE 59999 [2023-07-10T21:09:40.680Z] ---> Running in 0dfd102c3f6e [2023-07-10T21:09:40.680Z] Removing intermediate container 0dfd102c3f6e [2023-07-10T21:09:40.680Z] ---> 212549467759 [2023-07-10T21:09:40.680Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-10T21:09:40.680Z] ---> Running in d6aafd766ba9 [2023-07-10T21:09:40.680Z] Removing intermediate container d6aafd766ba9 [2023-07-10T21:09:40.680Z] ---> 9f7cd1fd941a [2023-07-10T21:09:40.680Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-10T21:09:40.939Z] ---> Running in baa8a14ef1e0 [2023-07-10T21:09:40.939Z] Removing intermediate container baa8a14ef1e0 [2023-07-10T21:09:40.939Z] ---> 6d901cc4c660 [2023-07-10T21:09:40.939Z] Step 21/23 : LABEL arch=amd64 [2023-07-10T21:09:40.939Z] ---> Running in a5f902076945 [2023-07-10T21:09:40.939Z] Removing intermediate container a5f902076945 [2023-07-10T21:09:40.939Z] ---> 720a43c513e4 [2023-07-10T21:09:40.939Z] Step 22/23 : LABEL git_sha=1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [2023-07-10T21:09:40.939Z] ---> Running in 7dac0806cc36 [2023-07-10T21:09:41.198Z] Removing intermediate container 7dac0806cc36 [2023-07-10T21:09:41.198Z] ---> c96c0195dcc4 [2023-07-10T21:09:41.198Z] Step 23/23 : LABEL version=3.1.0-dev.2 [2023-07-10T21:09:41.198Z] ---> Running in aabcf8e8910f [2023-07-10T21:09:41.198Z] Removing intermediate container aabcf8e8910f [2023-07-10T21:09:41.198Z] ---> d752add8eb05 [2023-07-10T21:09:41.198Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-10T21:09:41.198Z] Successfully built d752add8eb05 [2023-07-10T21:09:41.198Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:09:41.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-10T21:09:41.607Z] [2023-07-10T21:09:41.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:09:41.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-10T21:09:41.903Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-10T21:09:41.903Z] 5eb5b503b376: Pulling fs layer [2023-07-10T21:09:41.903Z] 5c69ac0246d0: Pulling fs layer [2023-07-10T21:09:41.903Z] ec43610c2a17: Pulling fs layer [2023-07-10T21:09:41.903Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-10T21:09:41.903Z] 33b1e0a273af: Pulling fs layer [2023-07-10T21:09:41.903Z] 5d3b04190fa2: Pulling fs layer [2023-07-10T21:09:41.904Z] 2f39f015ded8: Pulling fs layer [2023-07-10T21:09:41.904Z] 33b1e0a273af: Waiting [2023-07-10T21:09:41.904Z] 5d3b04190fa2: Waiting [2023-07-10T21:09:41.904Z] 2f39f015ded8: Waiting [2023-07-10T21:09:41.904Z] 3a2ae6a8a46f: Waiting [2023-07-10T21:09:41.904Z] 5c69ac0246d0: Download complete [2023-07-10T21:09:41.904Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-10T21:09:41.904Z] 3a2ae6a8a46f: Download complete [2023-07-10T21:09:41.904Z] 33b1e0a273af: Verifying Checksum [2023-07-10T21:09:41.904Z] 33b1e0a273af: Download complete [2023-07-10T21:09:41.904Z] 5d3b04190fa2: Verifying Checksum [2023-07-10T21:09:41.904Z] 5d3b04190fa2: Download complete [2023-07-10T21:09:41.904Z] ec43610c2a17: Verifying Checksum [2023-07-10T21:09:41.904Z] ec43610c2a17: Download complete [2023-07-10T21:09:42.162Z] 5eb5b503b376: Download complete [2023-07-10T21:09:42.728Z] 2f39f015ded8: Download complete [2023-07-10T21:09:43.294Z] 5eb5b503b376: Pull complete [2023-07-10T21:09:43.553Z] 5c69ac0246d0: Pull complete [2023-07-10T21:09:43.812Z] ec43610c2a17: Pull complete [2023-07-10T21:09:44.070Z] 3a2ae6a8a46f: Pull complete [2023-07-10T21:09:44.070Z] 33b1e0a273af: Pull complete [2023-07-10T21:09:44.328Z] 5d3b04190fa2: Pull complete [2023-07-10T21:09:48.507Z] 2f39f015ded8: Pull complete [2023-07-10T21:09:48.507Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-10T21:09:48.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-10T21:09:48.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:09:48.586Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:09:48.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-10T21:09:51.601Z] $ docker top 128595939e977f6737b5b309570d3caee1e1af9eaea5ec77f7b3ec2cd721d6bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:09:51.965Z] ---> job-cost.sh [2023-07-10T21:09:51.965Z] lf-activate-venv: SKIPPING [2023-07-10T21:09:51.965Z] INFO: No Stack... [2023-07-10T21:09:52.532Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-10T21:09:52.791Z] INFO: Archiving Costs [Pipeline] sh [2023-07-10T21:09:53.076Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-07-10T21:09:53.076Z] + cut -d, -f6 [Pipeline] lock [2023-07-10T21:09:53.089Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [2023-07-10T21:09:53.098Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] did not exist. Created. [2023-07-10T21:09:53.098Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-10T21:09:53.394Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-10T21:09:53.428Z] Stashed 1 file(s) [Pipeline] } [2023-07-10T21:09:53.434Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-10T21:09:53.458Z] $ docker stop --time=1 128595939e977f6737b5b309570d3caee1e1af9eaea5ec77f7b3ec2cd721d6bf [2023-07-10T21:09:54.607Z] $ docker rm -f --volumes 128595939e977f6737b5b309570d3caee1e1af9eaea5ec77f7b3ec2cd721d6bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-10T21:10:18.447Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-782 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-07-10T21:10:18.461Z] Running in /w/workspace/device-sdk-go/231 [Pipeline] { [Pipeline] checkout [2023-07-10T21:10:18.493Z] The recommended git tool is: git [2023-07-10T21:10:24.095Z] using credential edgex-jenkins-ssh [2023-07-10T21:10:24.115Z] Cloning the remote Git repository [2023-07-10T21:10:24.155Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-10T21:10:24.254Z] > git init /w/workspace/device-sdk-go/231 # timeout=10 [2023-07-10T21:10:24.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-10T21:10:24.414Z] > git --version # timeout=10 [2023-07-10T21:10:24.435Z] > git --version # 'git version 2.25.1' [2023-07-10T21:10:24.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-10T21:10:24.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-10T21:10:28.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-10T21:10:28.330Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-10T21:10:29.258Z] Avoid second fetch [2023-07-10T21:10:29.259Z] Checking out Revision 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 (main) [2023-07-10T21:10:29.824Z] Commit message: "build: Update to latest go-mods (#1473)" [2023-07-10T21:10:29.276Z] > git config core.sparsecheckout # timeout=10 [2023-07-10T21:10:29.347Z] > git checkout -f 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-10T21:10:30.873Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-10T21:10:30.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-10T21:10:30.873Z] Dload Upload Total Spent Left Speed [2023-07-10T21:10:30.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-07-10T21:10:31.556Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-10T21:10:31.917Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-10T21:10:31.917Z] + sudo tee /etc/docker/daemon.new [2023-07-10T21:10:31.917Z] { [2023-07-10T21:10:31.917Z] "registry-mirrors": [ [2023-07-10T21:10:31.917Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-10T21:10:31.917Z] ], [2023-07-10T21:10:31.917Z] "bip": "10.250.0.254/24", [2023-07-10T21:10:31.917Z] "hosts": [ [2023-07-10T21:10:31.917Z] "tcp://0.0.0.0:5555", [2023-07-10T21:10:31.917Z] "unix:///var/run/docker.sock" [2023-07-10T21:10:31.917Z] ], [2023-07-10T21:10:31.917Z] "mtu": 1458, [2023-07-10T21:10:31.917Z] "selinux-enabled": true, [2023-07-10T21:10:31.917Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-10T21:10:31.917Z] } [Pipeline] sh [2023-07-10T21:10:32.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-10T21:10:32.582Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-10T21:10:50.853Z] provisioning config files... [2023-07-10T21:10:50.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/231@tmp/config272299943925792322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:10:51.234Z] ---> docker-login.sh [2023-07-10T21:10:51.234Z] nexus3.edgexfoundry.org:10001 [2023-07-10T21:10:51.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:10:51.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:10:51.774Z] Configure a credential helper to remove this warning. See [2023-07-10T21:10:51.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:10:51.774Z] [2023-07-10T21:10:51.774Z] Login Succeeded [2023-07-10T21:10:51.774Z] nexus3.edgexfoundry.org:10002 [2023-07-10T21:10:52.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:10:52.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:10:52.314Z] Configure a credential helper to remove this warning. See [2023-07-10T21:10:52.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:10:52.314Z] [2023-07-10T21:10:52.314Z] Login Succeeded [2023-07-10T21:10:52.314Z] nexus3.edgexfoundry.org:10003 [2023-07-10T21:10:52.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:10:52.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:10:52.588Z] Configure a credential helper to remove this warning. See [2023-07-10T21:10:52.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:10:52.588Z] [2023-07-10T21:10:52.588Z] Login Succeeded [2023-07-10T21:10:52.588Z] nexus3.edgexfoundry.org:10004 [2023-07-10T21:10:52.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:10:52.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:10:52.861Z] Configure a credential helper to remove this warning. See [2023-07-10T21:10:52.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:10:52.861Z] [2023-07-10T21:10:52.861Z] Login Succeeded [2023-07-10T21:10:52.861Z] docker.io [2023-07-10T21:10:53.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-10T21:10:53.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-10T21:10:53.406Z] Configure a credential helper to remove this warning. See [2023-07-10T21:10:53.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-10T21:10:53.406Z] [2023-07-10T21:10:53.406Z] Login Succeeded [2023-07-10T21:10:53.406Z] ---> docker-login.sh ends [Pipeline] } [2023-07-10T21:10:53.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-10T21:10:53.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-10T21:10:53.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-10T21:10:53.720Z] ========================================================= [2023-07-10T21:10:53.720Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-10T21:10:53.720Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:10:54.072Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-10T21:10:54.341Z] Sending build context to Docker daemon 5.793MB [2023-07-10T21:10:54.341Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-10T21:10:54.341Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-10T21:10:55.307Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-10T21:10:55.307Z] c41833b44d91: Pulling fs layer [2023-07-10T21:10:55.307Z] ed15518f5707: Pulling fs layer [2023-07-10T21:10:55.307Z] feae8fd75edb: Pulling fs layer [2023-07-10T21:10:55.307Z] 242c74f7c9fa: Pulling fs layer [2023-07-10T21:10:55.307Z] 3cdef696dda3: Pulling fs layer [2023-07-10T21:10:55.307Z] 2ced38df9373: Pulling fs layer [2023-07-10T21:10:55.307Z] 58f1dce35555: Pulling fs layer [2023-07-10T21:10:55.307Z] 242c74f7c9fa: Waiting [2023-07-10T21:10:55.307Z] 3cdef696dda3: Waiting [2023-07-10T21:10:55.307Z] 2ced38df9373: Waiting [2023-07-10T21:10:55.307Z] 58f1dce35555: Waiting [2023-07-10T21:10:55.307Z] ed15518f5707: Verifying Checksum [2023-07-10T21:10:55.307Z] ed15518f5707: Download complete [2023-07-10T21:10:55.307Z] 242c74f7c9fa: Verifying Checksum [2023-07-10T21:10:55.307Z] 242c74f7c9fa: Download complete [2023-07-10T21:10:55.307Z] 3cdef696dda3: Verifying Checksum [2023-07-10T21:10:55.307Z] 3cdef696dda3: Download complete [2023-07-10T21:10:55.577Z] c41833b44d91: Verifying Checksum [2023-07-10T21:10:55.577Z] c41833b44d91: Download complete [2023-07-10T21:10:56.559Z] c41833b44d91: Pull complete [2023-07-10T21:10:56.836Z] 58f1dce35555: Verifying Checksum [2023-07-10T21:10:56.836Z] 58f1dce35555: Download complete [2023-07-10T21:10:57.105Z] ed15518f5707: Pull complete [2023-07-10T21:10:58.070Z] feae8fd75edb: Verifying Checksum [2023-07-10T21:10:58.070Z] feae8fd75edb: Download complete [2023-07-10T21:10:58.070Z] 2ced38df9373: Verifying Checksum [2023-07-10T21:10:58.070Z] 2ced38df9373: Download complete [2023-07-10T21:11:10.400Z] feae8fd75edb: Pull complete [2023-07-10T21:11:10.400Z] 242c74f7c9fa: Pull complete [2023-07-10T21:11:10.400Z] 3cdef696dda3: Pull complete [2023-07-10T21:11:15.773Z] 2ced38df9373: Pull complete [2023-07-10T21:11:17.745Z] 58f1dce35555: Pull complete [2023-07-10T21:11:17.745Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-07-10T21:11:17.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-10T21:11:17.745Z] ---> fadd8f120f05 [2023-07-10T21:11:17.745Z] Step 3/10 : ARG MAKE=make build [2023-07-10T21:11:19.720Z] ---> Running in abb42299c658 [2023-07-10T21:11:19.720Z] Removing intermediate container abb42299c658 [2023-07-10T21:11:19.720Z] ---> f26922d0fea6 [2023-07-10T21:11:19.720Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-10T21:11:19.989Z] ---> Running in 0bdead36225d [2023-07-10T21:11:20.257Z] Removing intermediate container 0bdead36225d [2023-07-10T21:11:20.257Z] ---> db94f76a6c68 [2023-07-10T21:11:20.257Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-10T21:11:20.257Z] ---> Running in fd059f87dbd8 [2023-07-10T21:11:20.525Z] Removing intermediate container fd059f87dbd8 [2023-07-10T21:11:20.525Z] ---> 0b5a0a789305 [2023-07-10T21:11:20.525Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-10T21:11:20.794Z] ---> Running in 4514a46fd1f8 [2023-07-10T21:11:21.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-10T21:11:22.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-10T21:11:23.400Z] OK: 263 MiB in 53 packages [2023-07-10T21:11:24.369Z] Removing intermediate container 4514a46fd1f8 [2023-07-10T21:11:24.369Z] ---> a746edea9fd6 [2023-07-10T21:11:24.369Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-10T21:11:24.637Z] ---> 1b516639dcd0 [2023-07-10T21:11:24.637Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-10T21:11:24.907Z] ---> Running in 9271ba1ff579 [2023-07-10T21:12:32.806Z] Removing intermediate container 9271ba1ff579 [2023-07-10T21:12:32.806Z] ---> 03806a756261 [2023-07-10T21:12:32.806Z] Step 9/10 : COPY . . [2023-07-10T21:12:32.806Z] ---> e7545b02c237 [2023-07-10T21:12:32.806Z] Step 10/10 : RUN ${MAKE} [2023-07-10T21:12:32.806Z] ---> Running in 754e065089dc [2023-07-10T21:12:32.806Z] noop [2023-07-10T21:12:32.806Z] Removing intermediate container 754e065089dc [2023-07-10T21:12:32.806Z] ---> 3b9c68daa332 [2023-07-10T21:12:32.806Z] Successfully built 3b9c68daa332 [2023-07-10T21:12:32.806Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:12:33.160Z] + docker inspect -f . ci-base-image-arm64 [2023-07-10T21:12:33.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:12:33.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-782 does not seem to be running inside a container [2023-07-10T21:12:33.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/231 -v /w/workspace/device-sdk-go/231:/w/workspace/device-sdk-go/231:rw,z -v /w/workspace/device-sdk-go/231@tmp:/w/workspace/device-sdk-go/231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-10T21:12:34.604Z] $ docker top 4ad7ab8c71a28f0976c539c2664fc955bf192312c91c664bbe64067813ef8adf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T21:12:35.412Z] + go version [2023-07-10T21:12:35.412Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-07-10T21:12:35.439Z] $ docker stop --time=1 4ad7ab8c71a28f0976c539c2664fc955bf192312c91c664bbe64067813ef8adf [2023-07-10T21:12:37.083Z] $ docker rm -f --volumes 4ad7ab8c71a28f0976c539c2664fc955bf192312c91c664bbe64067813ef8adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:12:37.630Z] + docker inspect -f . ci-base-image-arm64 [2023-07-10T21:12:37.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:12:37.823Z] prd-ubuntu20.04-docker-arm64-4c-16g-782 does not seem to be running inside a container [2023-07-10T21:12:37.902Z] $ 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/231 -v /w/workspace/device-sdk-go/231:/w/workspace/device-sdk-go/231:rw,z -v /w/workspace/device-sdk-go/231@tmp:/w/workspace/device-sdk-go/231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-10T21:12:42.144Z] $ docker top 09738bf594127c6badaec44de4fe448ef60b0bd32c0dee843167e56aba5b48ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T21:12:42.954Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/231 [Pipeline] fileExists [Pipeline] sh [2023-07-10T21:12:43.289Z] + make test [2023-07-10T21:12:43.560Z] go test -race -coverprofile=coverage.out ./... [2023-07-10T21:13:30.412Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-10T21:15:37.107Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-10T21:15:37.107Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-10T21:15:37.107Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-10T21:15:37.107Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-10T21:15:37.107Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-10T21:15:43.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.209s coverage: 27.6% of statements [2023-07-10T21:15:48.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.249s coverage: 80.2% of statements [2023-07-10T21:16:00.311Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-10T21:16:00.311Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-10T21:16:00.577Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.329s coverage: 86.0% of statements [2023-07-10T21:16:07.229Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-10T21:16:07.229Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.433s coverage: 77.5% of statements [2023-07-10T21:16:11.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-10T21:16:12.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-10T21:16:12.896Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-10T21:16:14.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.287s coverage: 14.3% of statements [2023-07-10T21:16:14.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.416s coverage: 68.5% of statements [2023-07-10T21:16:16.889Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.455s coverage: 89.2% of statements [2023-07-10T21:16:17.847Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-10T21:16:18.115Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.251s coverage: 5.7% of statements [2023-07-10T21:16:19.079Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-10T21:16:19.079Z] GO111MODULE=on go vet ./... [2023-07-10T21:18:40.789Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-10T21:18:40.789Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-10T21:18:40.789Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-10T21:18:40.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-10T21:18:40.829Z] $ docker stop --time=1 09738bf594127c6badaec44de4fe448ef60b0bd32c0dee843167e56aba5b48ec [2023-07-10T21:18:42.727Z] $ docker rm -f --volumes 09738bf594127c6badaec44de4fe448ef60b0bd32c0dee843167e56aba5b48ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-10T21:18:44.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-10T21:18:44.324Z] Warning: overwriting stash ‘coverage-report’ [2023-07-10T21:18:44.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-10T21:18:45.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-10T21:18:45.515Z] + ls -al . [2023-07-10T21:18:45.515Z] total 280 [2023-07-10T21:18:45.515Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 21:12 . [2023-07-10T21:18:45.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:10 .. [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 10 21:10 .dockerignore [2023-07-10T21:18:45.515Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 21:10 .git [2023-07-10T21:18:45.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:10 .github [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 10 21:10 .gitignore [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 10 21:10 .golangci.yml [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 10 21:10 CHANGELOG.md [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 21:10 GOVERNANCE.md [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 10 21:10 Jenkinsfile [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 10 21:10 LICENSE [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 10 21:10 Makefile [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 10 21:10 OWNERS.md [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 10 21:10 README.md [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 10 21:07 VERSION [2023-07-10T21:18:45.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:10 bin [2023-07-10T21:18:45.515Z] -rw-r--r-- 1 jenkins jenkins 106151 Jul 10 21:16 coverage.out [2023-07-10T21:18:45.515Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 10 21:10 example [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 3460 Jul 10 21:10 go.mod [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 32141 Jul 10 21:10 go.sum [2023-07-10T21:18:45.515Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 21:10 internal [2023-07-10T21:18:45.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 21:10 openapi [2023-07-10T21:18:45.515Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 21:10 pkg [2023-07-10T21:18:45.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:10 snap [2023-07-10T21:18:45.515Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 10 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:18:45.856Z] + 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=1c436aae64ba04d8b406a209c24bbc2f99c23ca9 --label arch=arm64 --label version=3.1.0-dev.2 . [2023-07-10T21:18:46.122Z] Sending build context to Docker daemon 5.9MB [2023-07-10T21:18:46.122Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-10T21:18:46.122Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-10T21:18:46.122Z] ---> 3b9c68daa332 [2023-07-10T21:18:46.122Z] Step 3/23 : ARG MAKE=make build [2023-07-10T21:18:46.706Z] ---> Running in 37909b346455 [2023-07-10T21:18:46.972Z] Removing intermediate container 37909b346455 [2023-07-10T21:18:46.972Z] ---> 1fe44a017291 [2023-07-10T21:18:46.972Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-10T21:18:46.972Z] ---> Running in 0b496e8cf66a [2023-07-10T21:18:47.240Z] Removing intermediate container 0b496e8cf66a [2023-07-10T21:18:47.240Z] ---> e1e1257feeb7 [2023-07-10T21:18:47.240Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-10T21:18:47.505Z] ---> Running in d59df85d91ce [2023-07-10T21:18:47.775Z] Removing intermediate container d59df85d91ce [2023-07-10T21:18:47.775Z] ---> a34f56211aed [2023-07-10T21:18:47.775Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-10T21:18:47.775Z] ---> Running in 758e2f6a28b6 [2023-07-10T21:18:48.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-10T21:18:49.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-10T21:18:50.723Z] OK: 263 MiB in 53 packages [2023-07-10T21:18:51.310Z] Removing intermediate container 758e2f6a28b6 [2023-07-10T21:18:51.310Z] ---> 26cfb271d554 [2023-07-10T21:18:51.310Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-10T21:18:51.892Z] ---> 2b4fc78199a7 [2023-07-10T21:18:51.892Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-10T21:18:51.892Z] ---> Running in 314ae0ac2629 [2023-07-10T21:18:54.471Z] Removing intermediate container 314ae0ac2629 [2023-07-10T21:18:54.471Z] ---> cf3373ac0027 [2023-07-10T21:18:54.471Z] Step 9/23 : COPY . . [2023-07-10T21:18:55.439Z] ---> 089ebc492717 [2023-07-10T21:18:55.439Z] Step 10/23 : RUN ${MAKE} [2023-07-10T21:18:55.712Z] ---> Running in 117328595cae [2023-07-10T21:18:56.777Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.2" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-10T21:21:18.582Z] Removing intermediate container 117328595cae [2023-07-10T21:21:18.582Z] ---> 192e691fb534 [2023-07-10T21:21:18.582Z] Step 11/23 : FROM alpine:3.17 [2023-07-10T21:21:18.582Z] 3.17: Pulling from library/alpine [2023-07-10T21:21:18.582Z] edb6bdbacee9: Pulling fs layer [2023-07-10T21:21:18.582Z] edb6bdbacee9: Download complete [2023-07-10T21:21:18.582Z] edb6bdbacee9: Pull complete [2023-07-10T21:21:18.582Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-10T21:21:18.582Z] Status: Downloaded newer image for alpine:3.17 [2023-07-10T21:21:18.582Z] ---> 779605e5fbc0 [2023-07-10T21:21:18.582Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-10T21:21:18.582Z] ---> Running in 85db37633ffc [2023-07-10T21:21:18.582Z] Removing intermediate container 85db37633ffc [2023-07-10T21:21:18.582Z] ---> 3e42591a15dc [2023-07-10T21:21:18.582Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-10T21:21:18.582Z] ---> Running in 11b4bb0210b0 [2023-07-10T21:21:18.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-10T21:21:18.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-10T21:21:18.582Z] OK: 7 MiB in 15 packages [2023-07-10T21:21:18.582Z] Removing intermediate container 11b4bb0210b0 [2023-07-10T21:21:18.582Z] ---> e6b08896fe5a [2023-07-10T21:21:18.582Z] Step 14/23 : WORKDIR / [2023-07-10T21:21:18.582Z] ---> Running in 9f6c88e66520 [2023-07-10T21:21:18.582Z] Removing intermediate container 9f6c88e66520 [2023-07-10T21:21:18.582Z] ---> 0c1200d76730 [2023-07-10T21:21:18.582Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-10T21:21:18.582Z] ---> 88a92f2c644c [2023-07-10T21:21:18.582Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-10T21:21:18.582Z] ---> d034f21f766b [2023-07-10T21:21:18.582Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-10T21:21:18.582Z] ---> ca5f1c62c0c8 [2023-07-10T21:21:18.582Z] Step 18/23 : EXPOSE 59999 [2023-07-10T21:21:18.582Z] ---> Running in 9e630244bc6b [2023-07-10T21:21:18.582Z] Removing intermediate container 9e630244bc6b [2023-07-10T21:21:18.582Z] ---> 02e9ac79a9f2 [2023-07-10T21:21:18.582Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-10T21:21:18.582Z] ---> Running in 604bc765e23d [2023-07-10T21:21:18.582Z] Removing intermediate container 604bc765e23d [2023-07-10T21:21:18.582Z] ---> e203c264b833 [2023-07-10T21:21:18.582Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-10T21:21:18.582Z] ---> Running in 4ac2923d5ab9 [2023-07-10T21:21:18.582Z] Removing intermediate container 4ac2923d5ab9 [2023-07-10T21:21:18.582Z] ---> 788c75cb37f7 [2023-07-10T21:21:18.582Z] Step 21/23 : LABEL arch=arm64 [2023-07-10T21:21:18.582Z] ---> Running in e7d987598b79 [2023-07-10T21:21:18.582Z] Removing intermediate container e7d987598b79 [2023-07-10T21:21:18.582Z] ---> 75bb722cae64 [2023-07-10T21:21:18.582Z] Step 22/23 : LABEL git_sha=1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [2023-07-10T21:21:18.582Z] ---> Running in fa441e953be2 [2023-07-10T21:21:18.582Z] Removing intermediate container fa441e953be2 [2023-07-10T21:21:18.582Z] ---> 8f96672ff7e1 [2023-07-10T21:21:18.582Z] Step 23/23 : LABEL version=3.1.0-dev.2 [2023-07-10T21:21:18.582Z] ---> Running in 04d43b5848e6 [2023-07-10T21:21:18.582Z] Removing intermediate container 04d43b5848e6 [2023-07-10T21:21:18.582Z] ---> cd3a18241d06 [2023-07-10T21:21:18.582Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-10T21:21:18.582Z] Successfully built cd3a18241d06 [2023-07-10T21:21:18.582Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:21:19.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-10T21:21:19.036Z] [2023-07-10T21:21:19.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:21:19.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-10T21:21:19.368Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-10T21:21:19.368Z] 8998bd30e6a1: Pulling fs layer [2023-07-10T21:21:19.368Z] 04944245beec: Pulling fs layer [2023-07-10T21:21:19.368Z] 699f458cf7ca: Pulling fs layer [2023-07-10T21:21:19.368Z] 765212b225bb: Pulling fs layer [2023-07-10T21:21:19.368Z] f23df028b6ca: Pulling fs layer [2023-07-10T21:21:19.368Z] d65c8cfc05b1: Pulling fs layer [2023-07-10T21:21:19.368Z] 2437ff75d9bd: Pulling fs layer [2023-07-10T21:21:19.368Z] 765212b225bb: Waiting [2023-07-10T21:21:19.368Z] f23df028b6ca: Waiting [2023-07-10T21:21:19.368Z] d65c8cfc05b1: Waiting [2023-07-10T21:21:19.368Z] 2437ff75d9bd: Waiting [2023-07-10T21:21:19.636Z] 04944245beec: Verifying Checksum [2023-07-10T21:21:19.636Z] 04944245beec: Download complete [2023-07-10T21:21:19.636Z] 765212b225bb: Verifying Checksum [2023-07-10T21:21:19.636Z] 765212b225bb: Download complete [2023-07-10T21:21:19.636Z] f23df028b6ca: Verifying Checksum [2023-07-10T21:21:19.636Z] f23df028b6ca: Download complete [2023-07-10T21:21:19.636Z] d65c8cfc05b1: Verifying Checksum [2023-07-10T21:21:19.636Z] d65c8cfc05b1: Download complete [2023-07-10T21:21:19.636Z] 699f458cf7ca: Verifying Checksum [2023-07-10T21:21:19.636Z] 699f458cf7ca: Download complete [2023-07-10T21:21:20.222Z] 8998bd30e6a1: Verifying Checksum [2023-07-10T21:21:20.222Z] 8998bd30e6a1: Download complete [2023-07-10T21:21:22.175Z] 2437ff75d9bd: Verifying Checksum [2023-07-10T21:21:22.175Z] 2437ff75d9bd: Download complete [2023-07-10T21:21:24.115Z] 8998bd30e6a1: Pull complete [2023-07-10T21:21:24.380Z] 04944245beec: Pull complete [2023-07-10T21:21:25.781Z] 699f458cf7ca: Pull complete [2023-07-10T21:21:25.781Z] 765212b225bb: Pull complete [2023-07-10T21:21:26.363Z] f23df028b6ca: Pull complete [2023-07-10T21:21:26.628Z] d65c8cfc05b1: Pull complete [2023-07-10T21:21:41.608Z] 2437ff75d9bd: Pull complete [2023-07-10T21:21:41.608Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-10T21:21:41.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-10T21:21:41.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:21:41.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-782 does not seem to be running inside a container [2023-07-10T21:21:41.865Z] $ 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/231 -v /w/workspace/device-sdk-go/231:/w/workspace/device-sdk-go/231:rw,z -v /w/workspace/device-sdk-go/231@tmp:/w/workspace/device-sdk-go/231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-10T21:21:44.381Z] $ docker top fb90c5870e8fc48544fcca218672926bb133536cb04022304ecab852d7414fea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:21:44.871Z] ---> job-cost.sh [2023-07-10T21:21:45.135Z] lf-activate-venv: SKIPPING [2023-07-10T21:21:45.135Z] INFO: No Stack... [2023-07-10T21:21:45.400Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-10T21:21:46.355Z] INFO: Archiving Costs [Pipeline] sh [2023-07-10T21:21:46.672Z] + cat /w/workspace/device-sdk-go/231/archives/cost.csv [2023-07-10T21:21:46.672Z] + cut -d, -f6 [Pipeline] lock [2023-07-10T21:21:47.003Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [2023-07-10T21:21:47.009Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] did not exist. Created. [2023-07-10T21:21:47.010Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-10T21:21:47.667Z] /w/workspace/device-sdk-go/231@tmp/durable-84ad64d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-10T21:21:47.997Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-10T21:21:48.024Z] Warning: overwriting stash ‘stack-cost’ [2023-07-10T21:21:48.110Z] Stashed 1 file(s) [Pipeline] } [2023-07-10T21:21:48.115Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-231-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-10T21:21:48.143Z] $ docker stop --time=1 fb90c5870e8fc48544fcca218672926bb133536cb04022304ecab852d7414fea [2023-07-10T21:21:49.640Z] $ docker rm -f --volumes fb90c5870e8fc48544fcca218672926bb133536cb04022304ecab852d7414fea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-07-10T21:21:49.999Z] provisioning config files... [2023-07-10T21:21:50.007Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14493376226983993013tmp [Pipeline] { [Pipeline] sh [2023-07-10T21:21:50.298Z] + set +x [2023-07-10T21:21:50.298Z] + curl+ -s https://codecov.io/bash [2023-07-10T21:21:50.298Z] bash -s -- [2023-07-10T21:21:50.298Z] [2023-07-10T21:21:50.298Z] _____ _ [2023-07-10T21:21:50.298Z] / ____| | | [2023-07-10T21:21:50.298Z] | | ___ __| | ___ ___ _____ __ [2023-07-10T21:21:50.298Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-10T21:21:50.298Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-10T21:21:50.298Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-10T21:21:50.298Z] Bash-1.0.6 [2023-07-10T21:21:50.298Z] [2023-07-10T21:21:50.298Z] [2023-07-10T21:21:50.298Z] ==> git version 2.25.1 found [2023-07-10T21:21:50.298Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-07-10T21:21:50.298Z] Release-Date: 2020-01-08 [2023-07-10T21:21:50.298Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-10T21:21:50.298Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-10T21:21:50.298Z] ==> Jenkins CI detected. [2023-07-10T21:21:50.298Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-07-10T21:21:50.298Z] project root: . [2023-07-10T21:21:50.298Z] --> token set from env [2023-07-10T21:21:50.298Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-10T21:21:50.298Z] ==> Running gcov in . (disable via -X gcov) [2023-07-10T21:21:50.298Z] ==> Python coveragepy not found [2023-07-10T21:21:50.298Z] ==> Searching for coverage reports in: [2023-07-10T21:21:50.298Z] + . [2023-07-10T21:21:50.298Z] -> Found 1 reports [2023-07-10T21:21:50.298Z] ==> Detecting git/mercurial file structure [2023-07-10T21:21:50.298Z] ==> Reading reports [2023-07-10T21:21:50.298Z] + ./coverage.out bytes=106151 [2023-07-10T21:21:50.298Z] ==> Appending adjustments [2023-07-10T21:21:50.298Z] https://docs.codecov.io/docs/fixing-reports [2023-07-10T21:21:50.558Z] + Found adjustments [2023-07-10T21:21:50.558Z] ==> Gzipping contents [2023-07-10T21:21:50.818Z] 16K /tmp/codecov.auVDJ6.gz [2023-07-10T21:21:50.818Z] ==> Uploading reports [2023-07-10T21:21:50.818Z] url: https://codecov.io [2023-07-10T21:21:50.818Z] query: branch=main&commit=1c436aae64ba04d8b406a209c24bbc2f99c23ca9&build=231&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F231%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-10T21:21:50.818Z] -> Pinging Codecov [2023-07-10T21:21:50.818Z] 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=1c436aae64ba04d8b406a209c24bbc2f99c23ca9&build=231&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F231%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-10T21:21:50.818Z] -> Uploading to [2023-07-10T21:21:50.818Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-10/7E55EF52A471D76F132DFD9A03CDDE97/1c436aae64ba04d8b406a209c24bbc2f99c23ca9/276021a2-5ba6-451d-9be4-3c1892cb875d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230710%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230710T212150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49cd80826eb2f7d396e3a66dc00974acd3c27b8833c8d1062c1508d965db21eb [2023-07-10T21:21:50.818Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-10T21:21:50.818Z] Dload Upload Total Spent Left Speed [2023-07-10T21:21:51.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15157 0 0 100 15157 0 71495 --:--:-- --:--:-- --:--:-- 71495 [2023-07-10T21:21:51.078Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] } [2023-07-10T21:21:51.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-10T21:21:51.216Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-10T21:21:51.230Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:21:51.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-10T21:21:51.538Z] [2023-07-10T21:21:51.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:21:51.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-10T21:21:51.834Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-10T21:21:51.834Z] df9b9388f04a: Pulling fs layer [2023-07-10T21:21:51.834Z] 52dc419b0ee2: Pulling fs layer [2023-07-10T21:21:51.834Z] 25bc292e5bac: Pulling fs layer [2023-07-10T21:21:51.834Z] 114826534d7a: Pulling fs layer [2023-07-10T21:21:51.834Z] 4657fd5d0bcf: Pulling fs layer [2023-07-10T21:21:51.834Z] 6ad1cebc031e: Pulling fs layer [2023-07-10T21:21:51.834Z] 8a3aa393b2d8: Pulling fs layer [2023-07-10T21:21:51.834Z] 8a3aa393b2d8: Waiting [2023-07-10T21:21:51.834Z] 114826534d7a: Waiting [2023-07-10T21:21:51.834Z] 6ad1cebc031e: Waiting [2023-07-10T21:21:51.834Z] 4657fd5d0bcf: Waiting [2023-07-10T21:21:51.834Z] 25bc292e5bac: Download complete [2023-07-10T21:21:51.834Z] 52dc419b0ee2: Download complete [2023-07-10T21:21:51.834Z] 4657fd5d0bcf: Verifying Checksum [2023-07-10T21:21:51.834Z] 4657fd5d0bcf: Download complete [2023-07-10T21:21:51.834Z] df9b9388f04a: Verifying Checksum [2023-07-10T21:21:51.834Z] df9b9388f04a: Download complete [2023-07-10T21:21:52.095Z] 6ad1cebc031e: Verifying Checksum [2023-07-10T21:21:52.095Z] 6ad1cebc031e: Download complete [2023-07-10T21:21:52.095Z] df9b9388f04a: Pull complete [2023-07-10T21:21:52.095Z] 52dc419b0ee2: Pull complete [2023-07-10T21:21:52.095Z] 25bc292e5bac: Pull complete [2023-07-10T21:21:52.665Z] 114826534d7a: Verifying Checksum [2023-07-10T21:21:52.665Z] 114826534d7a: Download complete [2023-07-10T21:21:52.665Z] 8a3aa393b2d8: Verifying Checksum [2023-07-10T21:21:52.665Z] 8a3aa393b2d8: Download complete [2023-07-10T21:21:55.942Z] 114826534d7a: Pull complete [2023-07-10T21:21:55.942Z] 4657fd5d0bcf: Pull complete [2023-07-10T21:21:55.942Z] 6ad1cebc031e: Pull complete [2023-07-10T21:21:59.224Z] 8a3aa393b2d8: Pull complete [2023-07-10T21:21:59.224Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-10T21:21:59.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-10T21:21:59.224Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:21:59.311Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:21:59.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-07-10T21:22:01.334Z] $ docker top 39bc7114b0a11ab85e368a5bd75d2229c01358c236b6e63301e300a330b0193e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-10T21:22:01.392Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-07-10T21:22:01.664Z] + set -o pipefail [2023-07-10T21:22:01.664Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-07-10T21:22:05.847Z] [2023-07-10T21:22:05.847Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-07-10T21:22:05.847Z] [2023-07-10T21:22:05.847Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/35e7e3db-d0c3-4485-a66f-4b215766a2fa [2023-07-10T21:22:05.847Z] [2023-07-10T21:22:05.847Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-10T21:22:05.847Z] [2023-07-10T21:22:06.106Z] [2023-07-10T21:22:06.106Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-10T21:22:06.106Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-10T21:22:06.106Z] More details here: https://snyk.co/ue1NS [2023-07-10T21:22:06.106Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-07-10T21:22:06.106Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-07-10T21:22:06.118Z] $ docker stop --time=1 39bc7114b0a11ab85e368a5bd75d2229c01358c236b6e63301e300a330b0193e [2023-07-10T21:22:10.072Z] $ docker rm -f --volumes 39bc7114b0a11ab85e368a5bd75d2229c01358c236b6e63301e300a330b0193e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2023-07-10T21:22:10.489Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-10T21:22:10.497Z] provisioning config files... [2023-07-10T21:22:10.505Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15575587124907305983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:10.798Z] --> edgex-publish-swagger.sh [2023-07-10T21:22:10.798Z] === Publish openapi/v3 API === [2023-07-10T21:22:10.798Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-07-10T21:22:10.798Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-07-10T21:22:10.798Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-10T21:22:10.798Z] Dload Upload Total Spent Left Speed [2023-07-10T21:22:11.366Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 41243 --:--:-- --:--:-- --:--:-- 41172 [2023-07-10T21:22:11.366Z] [2023-07-10T21:22:11.366Z] [Pipeline] } [2023-07-10T21:22:11.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-10T21:22:11.756Z] + git log --format=format:%s -1 1c436aae64ba04d8b406a209c24bbc2f99c23ca9 [Pipeline] sh [2023-07-10T21:22:12.044Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-10T21:22:12.044Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:22:12.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T21:22:12.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:22:12.416Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:22:12.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-10T21:22:13.102Z] $ docker top f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 -eo pid,comm [2023-07-10T21:22:13.142Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-10T21:22:13.142Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-10T21:22:13.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-10T21:22:13.174Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-10T21:22:13.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-10T21:22:13.290Z] $ docker exec f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 ssh-agent [2023-07-10T21:22:13.383Z] SSH_AUTH_SOCK=/tmp/ssh-sg8x3KZ9hQfk/agent.21 [2023-07-10T21:22:13.383Z] SSH_AGENT_PID=38 [2023-07-10T21:22:13.388Z] Running ssh-add (command line suppressed) [2023-07-10T21:22:13.482Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18004585530216014537.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18004585530216014537.key) [2023-07-10T21:22:13.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-10T21:22:13.777Z] + git semver tag [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,971 [run_tag] DEBUG tag force:False [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,971 [check_head_tag] DEBUG check head tag [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,972 [execute] INFO git cat-file --batch-check [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,977 [execute] INFO git cat-file --batch [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,988 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,988 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-10T21:22:14.037Z] 2023-07-10 21:22:13,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:22:14.037Z] 3.1.0-dev.2 [Pipeline] } [2023-07-10T21:22:14.049Z] $ docker exec --env ******** --env ******** f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 ssh-agent -k [2023-07-10T21:22:14.144Z] unset SSH_AUTH_SOCK; [2023-07-10T21:22:14.145Z] unset SSH_AGENT_PID; [2023-07-10T21:22:14.145Z] echo Agent pid 38 killed; [2023-07-10T21:22:14.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-10T21:22:14.477Z] + git semver [Pipeline] } [2023-07-10T21:22:14.749Z] $ docker stop --time=1 f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 [2023-07-10T21:22:16.138Z] $ docker rm -f --volumes f1bc00f9bcaa4747cf89e7f6fd6f106c30b52de0d3b5bd0accab2889d51372f0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:22:16.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-10T21:22:16.526Z] [2023-07-10T21:22:16.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:22:16.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-10T21:22:16.828Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-10T21:22:16.828Z] ab5ef0e58194: Pulling fs layer [2023-07-10T21:22:16.828Z] 9712f1f96733: Pulling fs layer [2023-07-10T21:22:16.828Z] 63f879dbbcfc: Pulling fs layer [2023-07-10T21:22:16.828Z] 0d9ebad4ef96: Pulling fs layer [2023-07-10T21:22:16.828Z] e9a5061849ea: Pulling fs layer [2023-07-10T21:22:16.828Z] d747dcd14b5f: Pulling fs layer [2023-07-10T21:22:16.828Z] 2de7ff778b66: Pulling fs layer [2023-07-10T21:22:16.828Z] 0d9ebad4ef96: Waiting [2023-07-10T21:22:16.828Z] e9a5061849ea: Waiting [2023-07-10T21:22:16.828Z] d747dcd14b5f: Waiting [2023-07-10T21:22:16.828Z] 2de7ff778b66: Waiting [2023-07-10T21:22:16.828Z] 9712f1f96733: Download complete [2023-07-10T21:22:17.402Z] 63f879dbbcfc: Verifying Checksum [2023-07-10T21:22:17.402Z] 63f879dbbcfc: Download complete [2023-07-10T21:22:17.402Z] e9a5061849ea: Verifying Checksum [2023-07-10T21:22:17.402Z] e9a5061849ea: Download complete [2023-07-10T21:22:17.402Z] d747dcd14b5f: Download complete [2023-07-10T21:22:17.402Z] 0d9ebad4ef96: Verifying Checksum [2023-07-10T21:22:17.402Z] 0d9ebad4ef96: Download complete [2023-07-10T21:22:17.402Z] ab5ef0e58194: Verifying Checksum [2023-07-10T21:22:17.402Z] ab5ef0e58194: Download complete [2023-07-10T21:22:17.402Z] 2de7ff778b66: Verifying Checksum [2023-07-10T21:22:17.402Z] 2de7ff778b66: Download complete [2023-07-10T21:22:20.677Z] ab5ef0e58194: Pull complete [2023-07-10T21:22:20.677Z] 9712f1f96733: Pull complete [2023-07-10T21:22:20.934Z] 63f879dbbcfc: Pull complete [2023-07-10T21:22:25.126Z] 0d9ebad4ef96: Pull complete [2023-07-10T21:22:25.126Z] e9a5061849ea: Pull complete [2023-07-10T21:22:25.126Z] d747dcd14b5f: Pull complete [2023-07-10T21:22:25.693Z] 2de7ff778b66: Pull complete [2023-07-10T21:22:25.693Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-10T21:22:25.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-10T21:22:25.693Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:22:25.772Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:22:25.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-07-10T21:22:28.788Z] $ docker top 7f56f2c10145b64844ac9b4131a8c5b129b9cfe9c1441a8e49d56dd422eccf29 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-10T21:22:28.860Z] provisioning config files... [2023-07-10T21:22:28.868Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7637207882872243290tmp [2023-07-10T21:22:28.877Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3106776283554228606tmp [2023-07-10T21:22:28.887Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9207210785422395001tmp [Pipeline] { [Pipeline] echo [2023-07-10T21:22:28.903Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:29.183Z] ---> sigul-configuration.sh [2023-07-10T21:22:29.183Z] gpg: directory `/root/.gnupg' created [2023-07-10T21:22:29.183Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-10T21:22:29.183Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-10T21:22:29.183Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-10T21:22:29.183Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-10T21:22:29.183Z] gpg: CAST5 encrypted data [2023-07-10T21:22:29.183Z] gpg: encrypted with 1 passphrase [2023-07-10T21:22:29.183Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-10T21:22:29.465Z] + mkdir /home/jenkins [2023-07-10T21:22:29.465Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-10T21:22:29.749Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-07-10T21:22:29.757Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:30.043Z] ---> sigul-install.sh [2023-07-10T21:22:30.043Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-10T21:22:30.335Z] + git tag --list [2023-07-10T21:22:30.335Z] 0.7.1 [2023-07-10T21:22:30.335Z] delhi-tag [2023-07-10T21:22:30.335Z] v1.0.0 [2023-07-10T21:22:30.335Z] v1.1.0 [2023-07-10T21:22:30.335Z] v1.1.1 [2023-07-10T21:22:30.335Z] v1.1.2 [2023-07-10T21:22:30.335Z] v1.2.0 [2023-07-10T21:22:30.335Z] v1.2.1 [2023-07-10T21:22:30.335Z] v1.2.2 [2023-07-10T21:22:30.335Z] v1.2.3 [2023-07-10T21:22:30.335Z] v1.3.0 [2023-07-10T21:22:30.335Z] v1.4.0 [2023-07-10T21:22:30.335Z] v2.0.0 [2023-07-10T21:22:30.335Z] v2.1.0 [2023-07-10T21:22:30.335Z] v2.1.1 [2023-07-10T21:22:30.335Z] v2.2.0 [2023-07-10T21:22:30.335Z] v2.3.0 [2023-07-10T21:22:30.335Z] v2.3.1 [2023-07-10T21:22:30.335Z] v3.0 [2023-07-10T21:22:30.335Z] v3.0.0 [2023-07-10T21:22:30.335Z] v3.0.1-dev.1 [2023-07-10T21:22:30.335Z] v3.1.0-dev.1 [2023-07-10T21:22:30.335Z] v3.1.0-dev.2 [Pipeline] sh [2023-07-10T21:22:30.619Z] + lftools sign git-tag v3.1.0-dev.2 [2023-07-10T21:22:31.186Z] Signing Git tag with Sigul... [2023-07-10T21:22:31.187Z] Signing v3.1.0-dev.2 [Pipeline] echo [2023-07-10T21:22:31.763Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:32.048Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-10T21:22:32.056Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-10T21:22:32.077Z] $ docker stop --time=1 7f56f2c10145b64844ac9b4131a8c5b129b9cfe9c1441a8e49d56dd422eccf29 [2023-07-10T21:22:33.328Z] $ docker rm -f --volumes 7f56f2c10145b64844ac9b4131a8c5b129b9cfe9c1441a8e49d56dd422eccf29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-10T21:22:33.734Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-10T21:22:33.734Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:22:34.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T21:22:34.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:22:34.096Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:22:34.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-10T21:22:34.475Z] $ docker top 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 -eo pid,comm [2023-07-10T21:22:34.515Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-10T21:22:34.516Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-10T21:22:34.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-10T21:22:34.551Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-10T21:22:34.661Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-10T21:22:34.667Z] $ docker exec 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 ssh-agent [2023-07-10T21:22:34.770Z] SSH_AUTH_SOCK=/tmp/ssh-ckGwFyFkaf5t/agent.32 [2023-07-10T21:22:34.770Z] SSH_AGENT_PID=37 [2023-07-10T21:22:34.775Z] Running ssh-add (command line suppressed) [2023-07-10T21:22:34.876Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3241060739460400617.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3241060739460400617.key) [2023-07-10T21:22:34.886Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-10T21:22:35.173Z] + git semver bump pre [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,345 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,345 [bump_version] DEBUG bumped version:3.1.0-dev.3 [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,345 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,345 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,347 [execute] INFO git cat-file --batch-check [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,352 [execute] INFO git cat-file --batch [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-10T21:22:35.432Z] 2023-07-10 21:22:35,357 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:22:35.432Z] 3.1.0-dev.3 [Pipeline] } [2023-07-10T21:22:35.444Z] $ docker exec --env ******** --env ******** 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 ssh-agent -k [2023-07-10T21:22:35.555Z] unset SSH_AUTH_SOCK; [2023-07-10T21:22:35.555Z] unset SSH_AGENT_PID; [2023-07-10T21:22:35.556Z] echo Agent pid 37 killed; [2023-07-10T21:22:35.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-10T21:22:35.860Z] + git semver [Pipeline] } [2023-07-10T21:22:36.134Z] $ docker stop --time=1 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 [2023-07-10T21:22:37.421Z] $ docker rm -f --volumes 8b3023c2dec738cc00cfcf59eddd3e46890a5dcfdde571200fc62d8b28047ef2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-10T21:22:37.755Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-10T21:22:37.755Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:22:38.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-10T21:22:38.048Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:22:38.121Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:22:38.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-10T21:22:38.487Z] $ docker top 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 -eo pid,comm [2023-07-10T21:22:38.527Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-10T21:22:38.527Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-10T21:22:38.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-10T21:22:38.566Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-10T21:22:38.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-10T21:22:38.674Z] $ docker exec 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 ssh-agent [2023-07-10T21:22:38.779Z] SSH_AUTH_SOCK=/tmp/ssh-Tmo4FdlsiqTJ/agent.31 [2023-07-10T21:22:38.779Z] SSH_AGENT_PID=37 [2023-07-10T21:22:38.784Z] Running ssh-add (command line suppressed) [2023-07-10T21:22:38.903Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10319356985786307051.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10319356985786307051.key) [2023-07-10T21:22:38.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-10T21:22:39.200Z] + git semver push [2023-07-10T21:22:39.459Z] 2023-07-10 21:22:39,362 [run_push] DEBUG push [2023-07-10T21:22:39.459Z] 2023-07-10 21:22:39,363 [execute] INFO git cat-file --batch-check [2023-07-10T21:22:39.459Z] 2023-07-10 21:22:39,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-07-10T21:22:39.459Z] 2023-07-10 21:22:39,366 [execute] INFO git rev-list 8947991b9b1133a13ed67e97113488189364d7e6 -- [2023-07-10T21:22:39.459Z] 2023-07-10 21:22:39,367 [execute] DEBUG Popen(['git', 'rev-list', '8947991b9b1133a13ed67e97113488189364d7e6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-10T21:22:39.459Z] 2023-07-10 21:22:39,378 [execute] INFO git fetch -v origin [2023-07-10T21:22:39.459Z] 2023-07-10 21:22:39,378 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-10T21:22:40.026Z] 2023-07-10 21:22:39,859 [run_push] DEBUG no remote changes detected [2023-07-10T21:22:40.026Z] 2023-07-10 21:22:39,860 [execute] INFO git push origin semver [2023-07-10T21:22:40.026Z] 2023-07-10 21:22:39,860 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-10T21:22:40.966Z] 2023-07-10 21:22:40,664 [run_push] DEBUG push all version tags [2023-07-10T21:22:40.966Z] 2023-07-10 21:22:40,664 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-10T21:22:40.966Z] 2023-07-10 21:22:40,665 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-07-10T21:22:41.535Z] 2023-07-10 21:22:41,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-07-10T21:22:41.535Z] 3.1.0-dev.3 [Pipeline] } [2023-07-10T21:22:41.550Z] $ docker exec --env ******** --env ******** 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 ssh-agent -k [2023-07-10T21:22:41.643Z] unset SSH_AUTH_SOCK; [2023-07-10T21:22:41.644Z] unset SSH_AGENT_PID; [2023-07-10T21:22:41.644Z] echo Agent pid 37 killed; [2023-07-10T21:22:41.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-10T21:22:41.950Z] + git semver [Pipeline] } [2023-07-10T21:22:42.224Z] $ docker stop --time=1 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 [2023-07-10T21:22:43.498Z] $ docker rm -f --volumes 61010c2dbc8b1d503b842b3e2737dc6632210021666ec0fe826e3f18de4bafd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-10T21:22:44.019Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-07-10T21:22:44.019Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-10T21:22:44.019Z] total 16 [2023-07-10T21:22:44.019Z] drwxr-xr-x 3 root root 4096 Jul 10 21:09 . [2023-07-10T21:22:44.019Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 21:22 .. [2023-07-10T21:22:44.019Z] drwxr-xr-x 2 root root 4096 Jul 10 21:09 cost [2023-07-10T21:22:44.019Z] -rw-r--r-- 1 root root 85 Jul 10 21:09 cost.csv [2023-07-10T21:22:44.019Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-10T21:22:44.019Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-07-10T21:22:44.019Z] total 16 [2023-07-10T21:22:44.019Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 21:09 . [2023-07-10T21:22:44.019Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 10 21:22 .. [2023-07-10T21:22:44.019Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 10 21:09 cost [2023-07-10T21:22:44.019Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 10 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:44.307Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:45.163Z] ---> package-listing.sh [2023-07-10T21:22:45.163Z] ++ facter osfamily [2023-07-10T21:22:45.163Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-10T21:22:45.423Z] + OS_FAMILY=debian [2023-07-10T21:22:45.423Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-07-10T21:22:45.423Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-10T21:22:45.423Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-10T21:22:45.423Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-10T21:22:45.423Z] + PACKAGES=/tmp/packages_start.txt [2023-07-10T21:22:45.423Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-10T21:22:45.423Z] + PACKAGES=/tmp/packages_end.txt [2023-07-10T21:22:45.423Z] + case "${OS_FAMILY}" in [2023-07-10T21:22:45.423Z] + dpkg -l [2023-07-10T21:22:45.423Z] + grep '^ii' [2023-07-10T21:22:45.423Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-10T21:22:45.423Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-10T21:22:45.423Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-10T21:22:45.423Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-07-10T21:22:45.423Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-07-10T21:22:45.423Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-07-10T21:22:45.432Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-10T21:22:45.708Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-10T21:22:46.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-10T21:22:46.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-10T21:22:46.330Z] prd-ubuntu20.04-docker-8c-8g-780 does not seem to be running inside a container [2023-07-10T21:22:46.361Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-10T21:22:46.552Z] $ docker top 7f3952f633c8e2a79b9cec628772f4e6d079e30d95e43c4e5609d52813d7354d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-10T21:22:46.888Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-10T21:22:47.172Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-10T21:22:47.545Z] + ls /var/log/sa-host [2023-07-10T21:22:47.545Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-10T21:22:47.621Z] provisioning config files... [2023-07-10T21:22:47.650Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15183427060068033605tmp [Pipeline] { [Pipeline] echo [2023-07-10T21:22:47.673Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:47.981Z] ---> create-netrc.sh [Pipeline] } [2023-07-10T21:22:47.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:48.323Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-10T21:22:48.331Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:48.611Z] ---> sudo-logs.sh [2023-07-10T21:22:48.611Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-10T21:22:48.637Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:48.923Z] ---> job-cost.sh [2023-07-10T21:22:48.923Z] lf-activate-venv: SKIPPING [2023-07-10T21:22:48.923Z] DEBUG: total: 0.2199999988079071 [2023-07-10T21:22:48.923Z] INFO: Retrieving Stack Cost... [2023-07-10T21:22:53.116Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-10T21:22:53.681Z] INFO: Archiving Costs [Pipeline] echo [2023-07-10T21:22:53.690Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-10T21:22:53.973Z] ---> logs-deploy.sh [2023-07-10T21:22:53.973Z] lf-activate-venv: SKIPPING [2023-07-10T21:22:53.973Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/231 [2023-07-10T21:22:53.973Z] INFO: archiving workspace using pattern(s): [2023-07-10T21:22:54.910Z] Archives upload complete. [2023-07-10T21:22:54.910Z] INFO: archiving logs to Nexus