Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c11ae5f9cc83784f65659a881f6412b77a9cc0d8 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-ssh11341825858655981224.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh1382383030426368024.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17896128748996348914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh6331727147060307134.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh4888026551960826929.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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/v2]] ========================================================= [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.17 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/v2 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19526 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 (main) > 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 Commit message: "Merge pull request #1127 from jpwhitemn/remove-default-templates" > git rev-list --no-walk b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-11T16:01:42.579Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T16:01:42.634Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T16:01:42.657Z] ========================================================= [2022-04-11T16:01:42.657Z] EdgeX Global Pipelines Version Info [2022-04-11T16:01:42.657Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:01:43.412Z] ------------------- [2022-04-11T16:01:43.412Z] stable info: [2022-04-11T16:01:43.412Z] ------------------- [2022-04-11T16:01:43.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T16:01:43.412Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T16:01:43.412Z] Message: update stable to v1.0.221 [2022-04-11T16:01:43.986Z] ------------------- [2022-04-11T16:01:43.986Z] experimental info: [2022-04-11T16:01:43.986Z] ------------------- [2022-04-11T16:01:43.986Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T16:01:43.986Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T16:01:43.986Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T16:01:44.121Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-11T16:01:44.137Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-11T16:01:44.153Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T16:01:44.167Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T16:01:44.183Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T16:01:44.204Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T16:01:44.223Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T16:01:44.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-11T16:01:44.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T16:01:44.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T16:01:44.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T16:01:44.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-11T16:01:44.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T16:01:44.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T16:01:44.354Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T16:01:44.370Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T16:01:44.383Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T16:01:44.396Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T16:01:44.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T16:01:44.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-11T16:01:44.447Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-11T16:01:44.465Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-11T16:01:44.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T16:01:44.495Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T16:01:44.506Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T16:01:44.521Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T16:01:44.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-11T16:01:44.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-11T16:01:44.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-11T16:01:44.601Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [Pipeline] echo [2022-04-11T16:01:44.619Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c11ae5f [Pipeline] echo [2022-04-11T16:01:44.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T16:01:44.685Z] provisioning config files... [2022-04-11T16:01:44.700Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3721378774821452993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:01:45.092Z] ---> docker-login.sh [2022-04-11T16:01:45.092Z] nexus3.edgexfoundry.org:10001 [2022-04-11T16:01:45.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:45.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:45.354Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:45.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:45.354Z] [2022-04-11T16:01:45.354Z] Login Succeeded [2022-04-11T16:01:45.354Z] nexus3.edgexfoundry.org:10002 [2022-04-11T16:01:45.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:45.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:45.616Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:45.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:45.616Z] [2022-04-11T16:01:45.616Z] Login Succeeded [2022-04-11T16:01:45.616Z] nexus3.edgexfoundry.org:10003 [2022-04-11T16:01:45.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:45.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:45.616Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:45.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:45.616Z] [2022-04-11T16:01:45.616Z] Login Succeeded [2022-04-11T16:01:45.886Z] nexus3.edgexfoundry.org:10004 [2022-04-11T16:01:45.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:45.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:45.886Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:45.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:45.886Z] [2022-04-11T16:01:45.886Z] Login Succeeded [2022-04-11T16:01:45.886Z] docker.io [2022-04-11T16:01:45.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:46.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:46.468Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:46.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:46.468Z] [2022-04-11T16:01:46.468Z] Login Succeeded [2022-04-11T16:01:46.468Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T16:01:46.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T16:01:46.906Z] + git rev-list -1 --merges c11ae5f9cc83784f65659a881f6412b77a9cc0d8~1..c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [Pipeline] echo [2022-04-11T16:01:46.936Z] -----------> git rev-list -1 --merges c11ae5f9cc83784f65659a881f6412b77a9cc0d8~1..c11ae5f9cc83784f65659a881f6412b77a9cc0d8 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [2022-04-11T16:01:46.936Z] c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [false] [Pipeline] sh [2022-04-11T16:01:47.258Z] + git log --format=format:%s -1 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [Pipeline] echo [2022-04-11T16:01:47.277Z] ========================================================= [2022-04-11T16:01:47.277Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T16:01:47.277Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T16:01:47.623Z] + git log --format=format:%s -1 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [Pipeline] echo [2022-04-11T16:01:47.638Z] [semverPrep] GIT_COMMIT: c11ae5f9cc83784f65659a881f6412b77a9cc0d8, Commit Message: Merge pull request #1127 from jpwhitemn/remove-default-templates [Pipeline] echo [2022-04-11T16:01:47.652Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T16:01:48.044Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T16:01:48.044Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T16:01:48.044Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T16:01:48.044Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T16:01:48.044Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-11T16:01:48.044Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-11T16:01:48.044Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:01:48.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T16:01:48.400Z] [2022-04-11T16:01:48.400Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:01:48.711Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T16:01:48.711Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T16:01:48.711Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T16:01:48.711Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T16:01:48.711Z] 4c7163046ea9: Pulling fs layer [2022-04-11T16:01:48.711Z] 0c2d73faf560: Pulling fs layer [2022-04-11T16:01:48.711Z] 0c2d73faf560: Waiting [2022-04-11T16:01:48.711Z] 3e5f54012d9b: Verifying Checksum [2022-04-11T16:01:48.711Z] 3e5f54012d9b: Download complete [2022-04-11T16:01:48.711Z] a0d0a0d46f8b: Verifying Checksum [2022-04-11T16:01:48.711Z] a0d0a0d46f8b: Download complete [2022-04-11T16:01:48.711Z] 0c2d73faf560: Verifying Checksum [2022-04-11T16:01:48.711Z] 0c2d73faf560: Download complete [2022-04-11T16:01:48.711Z] 4c7163046ea9: Verifying Checksum [2022-04-11T16:01:48.711Z] 4c7163046ea9: Download complete [2022-04-11T16:01:48.972Z] a0d0a0d46f8b: Pull complete [2022-04-11T16:01:48.972Z] 3e5f54012d9b: Pull complete [2022-04-11T16:01:49.233Z] 4c7163046ea9: Pull complete [2022-04-11T16:01:49.496Z] 0c2d73faf560: Pull complete [2022-04-11T16:01:49.496Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T16:01:49.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T16:01:49.496Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T16:01:49.577Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:01:49.627Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-11T16:01:50.371Z] $ docker top f3bc413c370f90b10610e4be8734b13a1eea15ac266fd814e692a633adb8550a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T16:01:50.477Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T16:01:50.477Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T16:01:50.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T16:01:50.630Z] $ docker exec f3bc413c370f90b10610e4be8734b13a1eea15ac266fd814e692a633adb8550a ssh-agent [2022-04-11T16:01:50.770Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKbKCgP/agent.14 [2022-04-11T16:01:50.770Z] SSH_AGENT_PID=21 [2022-04-11T16:01:50.780Z] Running ssh-add (command line suppressed) [2022-04-11T16:01:50.905Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5760572192912745471.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5760572192912745471.key) [2022-04-11T16:01:50.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T16:01:51.215Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T16:01:51.248Z] $ docker exec --env ******** --env ******** f3bc413c370f90b10610e4be8734b13a1eea15ac266fd814e692a633adb8550a ssh-agent -k [2022-04-11T16:01:51.364Z] unset SSH_AUTH_SOCK; [2022-04-11T16:01:51.364Z] unset SSH_AGENT_PID; [2022-04-11T16:01:51.364Z] echo Agent pid 21 killed; [2022-04-11T16:01:51.368Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T16:01:51.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T16:01:51.399Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T16:01:51.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T16:01:51.531Z] $ docker exec f3bc413c370f90b10610e4be8734b13a1eea15ac266fd814e692a633adb8550a ssh-agent [2022-04-11T16:01:51.644Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMADkIl/agent.54 [2022-04-11T16:01:51.644Z] SSH_AGENT_PID=60 [2022-04-11T16:01:51.651Z] Running ssh-add (command line suppressed) [2022-04-11T16:01:51.760Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7925740444673527736.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7925740444673527736.key) [2022-04-11T16:01:51.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T16:01:52.064Z] + git semver init [2022-04-11T16:01:52.064Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T16:01:52.064Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-11T16:01:52.064Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-11T16:01:52.064Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T16:01:52.064Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T16:01:52.064Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T16:01:52.064Z] # $SEMVER_BRANCH = main [2022-04-11T16:01:52.064Z] # $SEMVER_TEMP = /tmp/semver-108311216 [2022-04-11T16:01:52.064Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-11T16:01:53.450Z] # '/tmp/semver-108311216' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-11T16:01:53.451Z] # -> Force: false [2022-04-11T16:01:53.451Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-11T16:01:53.470Z] $ docker exec --env ******** --env ******** f3bc413c370f90b10610e4be8734b13a1eea15ac266fd814e692a633adb8550a ssh-agent -k [2022-04-11T16:01:53.592Z] unset SSH_AUTH_SOCK; [2022-04-11T16:01:53.592Z] unset SSH_AGENT_PID; [2022-04-11T16:01:53.592Z] echo Agent pid 60 killed; [2022-04-11T16:01:53.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T16:01:53.912Z] + git semver [Pipeline] } [2022-04-11T16:01:53.934Z] $ docker stop --time=1 f3bc413c370f90b10610e4be8734b13a1eea15ac266fd814e692a633adb8550a [2022-04-11T16:01:55.291Z] $ docker rm -f f3bc413c370f90b10610e4be8734b13a1eea15ac266fd814e692a633adb8550a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T16:01:55.643Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T16:01:55.913Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T16:01:55.918Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.24 [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 [2022-04-11T16:01:56.058Z] provisioning config files... [2022-04-11T16:01:56.069Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9071949708946353191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:01:56.383Z] ---> docker-login.sh [2022-04-11T16:01:56.383Z] nexus3.edgexfoundry.org:10001 [2022-04-11T16:01:56.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:56.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:56.383Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:56.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:56.383Z] [2022-04-11T16:01:56.383Z] Login Succeeded [2022-04-11T16:01:56.383Z] nexus3.edgexfoundry.org:10002 [2022-04-11T16:01:56.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:56.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:56.644Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:56.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:56.644Z] [2022-04-11T16:01:56.644Z] Login Succeeded [2022-04-11T16:01:56.644Z] nexus3.edgexfoundry.org:10003 [2022-04-11T16:01:56.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:56.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:56.644Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:56.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:56.644Z] [2022-04-11T16:01:56.644Z] Login Succeeded [2022-04-11T16:01:56.644Z] nexus3.edgexfoundry.org:10004 [2022-04-11T16:01:56.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:56.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:56.905Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:56.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:56.905Z] [2022-04-11T16:01:56.905Z] Login Succeeded [2022-04-11T16:01:56.905Z] docker.io [2022-04-11T16:01:56.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:01:57.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:01:57.167Z] Configure a credential helper to remove this warning. See [2022-04-11T16:01:57.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:01:57.167Z] [2022-04-11T16:01:57.167Z] Login Succeeded [2022-04-11T16:01:57.167Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T16:01:57.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T16:01:57.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T16:01:57.268Z] ========================================================= [2022-04-11T16:01:57.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T16:01:57.268Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:01:57.591Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-11T16:01:57.591Z] Sending build context to Docker daemon 9.555MB [2022-04-11T16:01:57.591Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T16:01:57.591Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-11T16:01:57.853Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T16:01:57.853Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T16:01:57.853Z] 666ba61612fd: Pulling fs layer [2022-04-11T16:01:57.853Z] 8ed8ca486205: Pulling fs layer [2022-04-11T16:01:57.853Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T16:01:57.853Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T16:01:57.853Z] 640e595b4fbd: Pulling fs layer [2022-04-11T16:01:57.853Z] 763cafe07f6e: Pulling fs layer [2022-04-11T16:01:57.853Z] 0c0b528cf693: Pulling fs layer [2022-04-11T16:01:57.853Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T16:01:57.853Z] 763cafe07f6e: Waiting [2022-04-11T16:01:57.853Z] 4fe6c5a15a65: Waiting [2022-04-11T16:01:57.853Z] 22a0e8bec74d: Waiting [2022-04-11T16:01:57.853Z] 10935f4eaf8b: Waiting [2022-04-11T16:01:57.853Z] 640e595b4fbd: Waiting [2022-04-11T16:01:57.853Z] 0c0b528cf693: Waiting [2022-04-11T16:01:57.853Z] 8ed8ca486205: Download complete [2022-04-11T16:01:57.853Z] 666ba61612fd: Download complete [2022-04-11T16:01:57.853Z] 22a0e8bec74d: Download complete [2022-04-11T16:01:57.853Z] 640e595b4fbd: Verifying Checksum [2022-04-11T16:01:57.853Z] 640e595b4fbd: Download complete [2022-04-11T16:01:57.853Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T16:01:57.853Z] 59bf1c3509f3: Download complete [2022-04-11T16:01:57.853Z] 763cafe07f6e: Verifying Checksum [2022-04-11T16:01:57.853Z] 763cafe07f6e: Download complete [2022-04-11T16:01:57.853Z] 0c0b528cf693: Verifying Checksum [2022-04-11T16:01:57.853Z] 0c0b528cf693: Download complete [2022-04-11T16:01:57.853Z] 59bf1c3509f3: Pull complete [2022-04-11T16:01:58.122Z] 666ba61612fd: Pull complete [2022-04-11T16:01:58.122Z] 8ed8ca486205: Pull complete [2022-04-11T16:01:58.389Z] 10935f4eaf8b: Verifying Checksum [2022-04-11T16:01:58.389Z] 10935f4eaf8b: Download complete [2022-04-11T16:01:58.648Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T16:01:58.648Z] 4fe6c5a15a65: Download complete [2022-04-11T16:02:02.851Z] 4fe6c5a15a65: Pull complete [2022-04-11T16:02:03.114Z] 22a0e8bec74d: Pull complete [2022-04-11T16:02:03.114Z] 640e595b4fbd: Pull complete [2022-04-11T16:02:03.114Z] 763cafe07f6e: Pull complete [2022-04-11T16:02:03.378Z] 0c0b528cf693: Pull complete [2022-04-11T16:02:05.925Z] 10935f4eaf8b: Pull complete [2022-04-11T16:02:05.925Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T16:02:05.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T16:02:05.925Z] ---> 99d49a6021b9 [2022-04-11T16:02:05.925Z] Step 3/11 : ARG MAKE=make build [2022-04-11T16:02:07.311Z] ---> Running in 8f9b7abc08ed [2022-04-11T16:02:07.311Z] Removing intermediate container 8f9b7abc08ed [2022-04-11T16:02:07.311Z] ---> 026a9076863a [2022-04-11T16:02:07.311Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-11T16:02:07.311Z] ---> Running in 4044cc56237d [2022-04-11T16:02:07.573Z] Removing intermediate container 4044cc56237d [2022-04-11T16:02:07.573Z] ---> 98e653130cc3 [2022-04-11T16:02:07.573Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T16:02:07.573Z] ---> Running in 07b82d60c3ee [2022-04-11T16:02:07.833Z] Removing intermediate container 07b82d60c3ee [2022-04-11T16:02:07.833Z] ---> d070900b09cb [2022-04-11T16:02:07.833Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T16:02:07.833Z] ---> Running in aea27ece9f03 [2022-04-11T16:02:08.405Z] Removing intermediate container aea27ece9f03 [2022-04-11T16:02:08.405Z] ---> 742c668689d8 [2022-04-11T16:02:08.405Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T16:02:08.405Z] ---> Running in 5fae4a4f52b9 [2022-04-11T16:02:08.666Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T16:02:09.613Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T16:02:09.875Z] OK: 221 MiB in 52 packages [2022-04-11T16:02:10.452Z] Removing intermediate container 5fae4a4f52b9 [2022-04-11T16:02:10.452Z] ---> 4af497cc7973 [2022-04-11T16:02:10.452Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-11T16:02:10.452Z] ---> 85c4d8aafc7e [2022-04-11T16:02:10.452Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T16:02:10.452Z] ---> Running in e57b86eb2b4d [2022-04-11T16:02:11.025Z] Still waiting to schedule task [2022-04-11T16:02:11.025Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-11T16:02:25.370Z] Removing intermediate container e57b86eb2b4d [2022-04-11T16:02:25.370Z] ---> f67a945b65f7 [2022-04-11T16:02:25.370Z] Step 10/11 : COPY . . [2022-04-11T16:02:25.370Z] ---> fcfee5cd79bd [2022-04-11T16:02:25.370Z] Step 11/11 : RUN ${MAKE} [2022-04-11T16:02:25.370Z] ---> Running in b220720a42f3 [2022-04-11T16:02:25.370Z] noop [2022-04-11T16:02:25.370Z] Removing intermediate container b220720a42f3 [2022-04-11T16:02:25.370Z] ---> 54412cb2796c [2022-04-11T16:02:25.370Z] Successfully built 54412cb2796c [2022-04-11T16:02:25.370Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:02:25.670Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T16:02:25.670Z] . [Pipeline] withDockerContainer [2022-04-11T16:02:25.742Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:02:25.783Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-11T16:02:26.155Z] $ docker top 0ecf6622c14b3c22d0061d80ce04b65e6e54ec7ac0669aea9354ebe0e73b3f22 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T16:02:26.515Z] + go version [2022-04-11T16:02:26.515Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T16:02:26.534Z] $ docker stop --time=1 0ecf6622c14b3c22d0061d80ce04b65e6e54ec7ac0669aea9354ebe0e73b3f22 [2022-04-11T16:02:27.839Z] $ docker rm -f 0ecf6622c14b3c22d0061d80ce04b65e6e54ec7ac0669aea9354ebe0e73b3f22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:02:28.256Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T16:02:28.256Z] . [Pipeline] withDockerContainer [2022-04-11T16:02:28.326Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:02:28.368Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-11T16:02:28.765Z] $ docker top 5f23c83c9da68d0843c5bd2564f8e31278b8af74cd04cc65a06bb0b5421a071b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T16:02:29.179Z] + make test [2022-04-11T16:02:29.179Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-11T16:02:29.541Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-11T16:02:39.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-11T16:02:39.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-11T16:02:39.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-11T16:02:39.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.023s coverage: 23.3% of statements [2022-04-11T16:02:39.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-11T16:02:39.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 27.6% of statements [2022-04-11T16:02:39.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.027s coverage: 78.9% of statements [2022-04-11T16:02:39.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.038s coverage: 10.8% of statements [2022-04-11T16:02:39.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-11T16:02:39.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-11T16:02:39.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-11T16:02:39.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.027s coverage: 33.2% of statements [2022-04-11T16:02:39.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-11T16:02:40.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.016s coverage: 86.1% of statements [2022-04-11T16:02:40.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-11T16:02:40.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-11T16:02:40.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.020s coverage: 57.4% of statements [2022-04-11T16:02:40.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.031s coverage: 89.2% of statements [2022-04-11T16:02:40.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-11T16:02:40.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.012s coverage: 4.8% of statements [2022-04-11T16:02:40.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-11T16:02:47.059Z] GO111MODULE=on go vet ./... [2022-04-11T16:02:51.261Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T16:02:51.261Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T16:02:51.261Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T16:02:51.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T16:02:51.294Z] $ docker stop --time=1 5f23c83c9da68d0843c5bd2564f8e31278b8af74cd04cc65a06bb0b5421a071b [2022-04-11T16:02:52.975Z] $ docker rm -f 5f23c83c9da68d0843c5bd2564f8e31278b8af74cd04cc65a06bb0b5421a071b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T16:02:53.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T16:02:53.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T16:02:54.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T16:02:54.783Z] + ls -al . [2022-04-11T16:02:54.783Z] total 296 [2022-04-11T16:02:54.783Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 16:02 . [2022-04-11T16:02:54.783Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 16:01 .. [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 16:01 .dockerignore [2022-04-11T16:02:54.783Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 16:01 .git [2022-04-11T16:02:54.783Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 16:01 .github [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 11 16:01 .gitignore [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 11 16:01 .golangci.yml [2022-04-11T16:02:54.783Z] drwx------ 3 jenkins jenkins 4096 Apr 11 16:01 .semver [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 11 16:01 CHANGELOG.md [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 16:01 GOVERNANCE.md [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 11 16:01 Jenkinsfile [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 16:01 LICENSE [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 11 16:01 Makefile [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 11 16:01 OWNERS.md [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 11 16:01 README.md [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 16:01 VERSION [2022-04-11T16:02:54.783Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 16:01 bin [2022-04-11T16:02:54.783Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 11 16:02 coverage.out [2022-04-11T16:02:54.783Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 16:01 example [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 11 16:01 go.mod [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 11 16:01 go.sum [2022-04-11T16:02:54.783Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 11 16:01 internal [2022-04-11T16:02:54.783Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 16:01 openapi [2022-04-11T16:02:54.783Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 16:01 pkg [2022-04-11T16:02:54.783Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 16:01 snap [2022-04-11T16:02:54.783Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 16:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:02:55.084Z] + 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=c11ae5f9cc83784f65659a881f6412b77a9cc0d8 --label arch=amd64 --label version=2.2.0-dev.24 . [2022-04-11T16:02:55.084Z] Sending build context to Docker daemon 9.684MB [2022-04-11T16:02:55.084Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T16:02:55.084Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-11T16:02:55.084Z] ---> 54412cb2796c [2022-04-11T16:02:55.084Z] Step 3/25 : ARG MAKE=make build [2022-04-11T16:02:55.084Z] ---> Running in 7f7bb33a1e10 [2022-04-11T16:02:55.347Z] Removing intermediate container 7f7bb33a1e10 [2022-04-11T16:02:55.347Z] ---> 2704adf11507 [2022-04-11T16:02:55.347Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-11T16:02:55.347Z] ---> Running in 204b4dc00965 [2022-04-11T16:02:55.347Z] Removing intermediate container 204b4dc00965 [2022-04-11T16:02:55.347Z] ---> d55ac1c7c96d [2022-04-11T16:02:55.347Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T16:02:55.347Z] ---> Running in 35e9ab3d1af5 [2022-04-11T16:02:55.608Z] Removing intermediate container 35e9ab3d1af5 [2022-04-11T16:02:55.608Z] ---> d78d21fcb4e0 [2022-04-11T16:02:55.608Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T16:02:55.608Z] ---> Running in a9e77f3119bf [2022-04-11T16:02:56.176Z] Removing intermediate container a9e77f3119bf [2022-04-11T16:02:56.176Z] ---> 6e0ad046c6b6 [2022-04-11T16:02:56.176Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T16:02:56.176Z] ---> Running in dc8d96aef101 [2022-04-11T16:02:56.436Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T16:02:57.379Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T16:02:57.640Z] OK: 221 MiB in 52 packages [2022-04-11T16:02:57.899Z] Removing intermediate container dc8d96aef101 [2022-04-11T16:02:57.899Z] ---> 0902bdae1a30 [2022-04-11T16:02:57.899Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-11T16:02:57.899Z] ---> ffa85aa513cc [2022-04-11T16:02:57.899Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T16:02:58.160Z] ---> Running in 99f4cf5fcf37 [2022-04-11T16:02:58.732Z] Removing intermediate container 99f4cf5fcf37 [2022-04-11T16:02:58.732Z] ---> b1fc7af5fb72 [2022-04-11T16:02:58.732Z] Step 10/25 : COPY . . [2022-04-11T16:02:58.991Z] ---> bec5a77dd488 [2022-04-11T16:02:58.991Z] Step 11/25 : RUN ${MAKE} [2022-04-11T16:02:58.991Z] ---> Running in 6f8bcbba6b56 [2022-04-11T16:02:59.253Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-11T16:03:17.348Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-11T16:03:17.918Z] Removing intermediate container 6f8bcbba6b56 [2022-04-11T16:03:17.918Z] ---> 96de7d1823be [2022-04-11T16:03:17.918Z] Step 12/25 : FROM alpine:3.14 [2022-04-11T16:03:18.491Z] 3.14: Pulling from library/alpine [2022-04-11T16:03:18.491Z] 8663204ce13b: Pulling fs layer [2022-04-11T16:03:18.751Z] 8663204ce13b: Verifying Checksum [2022-04-11T16:03:18.751Z] 8663204ce13b: Download complete [2022-04-11T16:03:19.013Z] 8663204ce13b: Pull complete [2022-04-11T16:03:19.013Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T16:03:19.013Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T16:03:19.013Z] ---> e04c818066af [2022-04-11T16:03:19.013Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T16:03:19.013Z] ---> Running in 167cf68c1be7 [2022-04-11T16:03:19.013Z] Removing intermediate container 167cf68c1be7 [2022-04-11T16:03:19.013Z] ---> 62575ee12855 [2022-04-11T16:03:19.013Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T16:03:19.013Z] ---> Running in 939996b07d3e [2022-04-11T16:03:19.583Z] Removing intermediate container 939996b07d3e [2022-04-11T16:03:19.583Z] ---> 1a9c4b8d62d0 [2022-04-11T16:03:19.583Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-11T16:03:19.844Z] ---> Running in 24a95404c8af [2022-04-11T16:03:20.106Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T16:03:21.049Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T16:03:21.049Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T16:03:21.311Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-11T16:03:21.311Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T16:03:21.311Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-11T16:03:21.574Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-11T16:03:21.574Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T16:03:21.574Z] OK: 8 MiB in 19 packages [2022-04-11T16:03:22.149Z] Removing intermediate container 24a95404c8af [2022-04-11T16:03:22.149Z] ---> cb6bcdb4eab4 [2022-04-11T16:03:22.149Z] Step 16/25 : WORKDIR / [2022-04-11T16:03:22.149Z] ---> Running in 1cd482ab2aaf [2022-04-11T16:03:22.149Z] Removing intermediate container 1cd482ab2aaf [2022-04-11T16:03:22.149Z] ---> 58dcd170c2d7 [2022-04-11T16:03:22.149Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-11T16:03:22.149Z] ---> 3334b1228c86 [2022-04-11T16:03:22.149Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-11T16:03:22.718Z] ---> c1cde06bab69 [2022-04-11T16:03:22.718Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-11T16:03:22.978Z] ---> 68b54d8efbbc [2022-04-11T16:03:22.978Z] Step 20/25 : EXPOSE 59999 [2022-04-11T16:03:22.978Z] ---> Running in e60f5104bd8c [2022-04-11T16:03:22.978Z] Removing intermediate container e60f5104bd8c [2022-04-11T16:03:22.978Z] ---> 97f12715808e [2022-04-11T16:03:22.978Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-11T16:03:23.238Z] ---> Running in 539ea3dfc4fd [2022-04-11T16:03:23.238Z] Removing intermediate container 539ea3dfc4fd [2022-04-11T16:03:23.238Z] ---> 830189b689cd [2022-04-11T16:03:23.238Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T16:03:23.238Z] ---> Running in 6cd673f1ec9a [2022-04-11T16:03:23.238Z] Removing intermediate container 6cd673f1ec9a [2022-04-11T16:03:23.238Z] ---> 1bd749b4f510 [2022-04-11T16:03:23.238Z] Step 23/25 : LABEL arch=amd64 [2022-04-11T16:03:23.238Z] ---> Running in f914955aee9c [2022-04-11T16:03:23.502Z] Removing intermediate container f914955aee9c [2022-04-11T16:03:23.502Z] ---> 46b877809063 [2022-04-11T16:03:23.502Z] Step 24/25 : LABEL git_sha=c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [2022-04-11T16:03:23.502Z] ---> Running in c611ca04ea69 [2022-04-11T16:03:23.502Z] Removing intermediate container c611ca04ea69 [2022-04-11T16:03:23.502Z] ---> 375009ef48b4 [2022-04-11T16:03:23.502Z] Step 25/25 : LABEL version=2.2.0-dev.24 [2022-04-11T16:03:23.763Z] ---> Running in 6f28a5fe1116 [2022-04-11T16:03:23.763Z] Removing intermediate container 6f28a5fe1116 [2022-04-11T16:03:23.763Z] ---> bbecb44b90c5 [2022-04-11T16:03:23.763Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T16:03:23.763Z] Successfully built bbecb44b90c5 [2022-04-11T16:03:23.763Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-04-11T16:03:24.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T16:03:24.193Z] [2022-04-11T16:03:24.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:03:24.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T16:03:24.498Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T16:03:24.498Z] 5eb5b503b376: Pulling fs layer [2022-04-11T16:03:24.498Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T16:03:24.498Z] ec43610c2a17: Pulling fs layer [2022-04-11T16:03:24.498Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T16:03:24.498Z] 33b1e0a273af: Pulling fs layer [2022-04-11T16:03:24.498Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T16:03:24.498Z] 2f39f015ded8: Pulling fs layer [2022-04-11T16:03:24.498Z] 33b1e0a273af: Waiting [2022-04-11T16:03:24.498Z] 5d3b04190fa2: Waiting [2022-04-11T16:03:24.498Z] 2f39f015ded8: Waiting [2022-04-11T16:03:24.498Z] 3a2ae6a8a46f: Waiting [2022-04-11T16:03:24.498Z] 5c69ac0246d0: Download complete [2022-04-11T16:03:24.498Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-11T16:03:24.498Z] 3a2ae6a8a46f: Download complete [2022-04-11T16:03:24.498Z] ec43610c2a17: Verifying Checksum [2022-04-11T16:03:24.498Z] ec43610c2a17: Download complete [2022-04-11T16:03:24.498Z] 33b1e0a273af: Verifying Checksum [2022-04-11T16:03:24.498Z] 33b1e0a273af: Download complete [2022-04-11T16:03:24.498Z] 5d3b04190fa2: Verifying Checksum [2022-04-11T16:03:24.498Z] 5d3b04190fa2: Download complete [2022-04-11T16:03:24.758Z] 5eb5b503b376: Verifying Checksum [2022-04-11T16:03:24.758Z] 5eb5b503b376: Download complete [2022-04-11T16:03:25.326Z] 2f39f015ded8: Download complete [2022-04-11T16:03:25.895Z] 5eb5b503b376: Pull complete [2022-04-11T16:03:25.895Z] 5c69ac0246d0: Pull complete [2022-04-11T16:03:26.466Z] ec43610c2a17: Pull complete [2022-04-11T16:03:26.466Z] 3a2ae6a8a46f: Pull complete [2022-04-11T16:03:26.725Z] 33b1e0a273af: Pull complete [2022-04-11T16:03:26.725Z] 5d3b04190fa2: Pull complete [2022-04-11T16:03:30.917Z] 2f39f015ded8: Pull complete [2022-04-11T16:03:30.917Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T16:03:30.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T16:03:30.917Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T16:03:30.994Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:03:31.038Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T16:03:32.628Z] $ docker top b145c15db5a74f898e497ada44aac33f30b87aa82e1b8ca4daa04bc7823e8fb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:03:33.098Z] ---> job-cost.sh [2022-04-11T16:03:33.098Z] lf-activate-venv: SKIPPING [2022-04-11T16:03:33.098Z] INFO: No Stack... [2022-04-11T16:03:33.670Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T16:03:34.242Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T16:03:34.535Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-04-11T16:03:34.535Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T16:03:34.549Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-57-stack-cost] [2022-04-11T16:03:34.555Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-57-stack-cost] did not exist. Created. [2022-04-11T16:03:34.555Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T16:03:34.861Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T16:03:34.901Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T16:03:34.908Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-57-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T16:03:34.936Z] $ docker stop --time=1 b145c15db5a74f898e497ada44aac33f30b87aa82e1b8ca4daa04bc7823e8fb7 [2022-04-11T16:03:36.115Z] $ docker rm -f b145c15db5a74f898e497ada44aac33f30b87aa82e1b8ca4daa04bc7823e8fb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T16:05:31.453Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19530 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-11T16:05:31.467Z] Running in /w/workspace/device-sdk-go/57 [Pipeline] { [Pipeline] checkout [2022-04-11T16:05:31.924Z] The recommended git tool is: git [2022-04-11T16:05:40.143Z] using credential edgex-jenkins-ssh [2022-04-11T16:05:40.172Z] Cloning the remote Git repository [2022-04-11T16:05:40.416Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-11T16:05:40.662Z] > git init /w/workspace/device-sdk-go/57 # timeout=10 [2022-04-11T16:05:40.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-11T16:05:40.928Z] > git --version # timeout=10 [2022-04-11T16:05:41.038Z] > git --version # 'git version 2.25.1' [2022-04-11T16:05:41.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T16:05:41.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T16:05:43.322Z] Avoid second fetch [2022-04-11T16:05:43.323Z] Checking out Revision c11ae5f9cc83784f65659a881f6412b77a9cc0d8 (main) [2022-04-11T16:05:43.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-11T16:05:43.285Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T16:05:43.353Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T16:05:43.393Z] > git checkout -f c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 [2022-04-11T16:05:48.103Z] Commit message: "Merge pull request #1127 from jpwhitemn/remove-default-templates" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T16:05:48.962Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-11T16:05:48.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T16:05:48.962Z] Dload Upload Total Spent Left Speed [2022-04-11T16:05:48.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2022-04-11T16:05:49.529Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-11T16:05:49.875Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-11T16:05:49.875Z] + sudo tee /etc/docker/daemon.new [2022-04-11T16:05:49.875Z] { [2022-04-11T16:05:49.875Z] "registry-mirrors": [ [2022-04-11T16:05:49.875Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-11T16:05:49.875Z] ], [2022-04-11T16:05:49.875Z] "bip": "10.250.0.254/24", [2022-04-11T16:05:49.875Z] "hosts": [ [2022-04-11T16:05:49.875Z] "tcp://0.0.0.0:5555", [2022-04-11T16:05:49.875Z] "unix:///var/run/docker.sock" [2022-04-11T16:05:49.875Z] ], [2022-04-11T16:05:49.875Z] "mtu": 1458, [2022-04-11T16:05:49.875Z] "selinux-enabled": true, [2022-04-11T16:05:49.875Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-11T16:05:49.875Z] } [Pipeline] sh [2022-04-11T16:05:50.256Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-11T16:05:50.602Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T16:06:08.973Z] provisioning config files... [2022-04-11T16:06:09.001Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/57@tmp/config7939139284917891114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:06:09.370Z] ---> docker-login.sh [2022-04-11T16:06:09.371Z] nexus3.edgexfoundry.org:10001 [2022-04-11T16:06:09.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:06:10.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:06:10.313Z] Configure a credential helper to remove this warning. See [2022-04-11T16:06:10.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:06:10.313Z] [2022-04-11T16:06:10.313Z] Login Succeeded [2022-04-11T16:06:10.313Z] nexus3.edgexfoundry.org:10002 [2022-04-11T16:06:10.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:06:10.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:06:10.917Z] Configure a credential helper to remove this warning. See [2022-04-11T16:06:10.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:06:10.917Z] [2022-04-11T16:06:10.917Z] Login Succeeded [2022-04-11T16:06:10.917Z] nexus3.edgexfoundry.org:10003 [2022-04-11T16:06:11.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:06:11.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:06:11.522Z] Configure a credential helper to remove this warning. See [2022-04-11T16:06:11.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:06:11.522Z] [2022-04-11T16:06:11.522Z] Login Succeeded [2022-04-11T16:06:11.522Z] nexus3.edgexfoundry.org:10004 [2022-04-11T16:06:11.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:06:12.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:06:12.080Z] Configure a credential helper to remove this warning. See [2022-04-11T16:06:12.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:06:12.080Z] [2022-04-11T16:06:12.080Z] Login Succeeded [2022-04-11T16:06:12.080Z] docker.io [2022-04-11T16:06:12.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T16:06:12.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T16:06:12.964Z] Configure a credential helper to remove this warning. See [2022-04-11T16:06:12.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T16:06:12.964Z] [2022-04-11T16:06:12.964Z] Login Succeeded [2022-04-11T16:06:12.964Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T16:06:12.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T16:06:13.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T16:06:13.467Z] ========================================================= [2022-04-11T16:06:13.467Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-11T16:06:13.467Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:06:13.856Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-11T16:06:14.472Z] Sending build context to Docker daemon 5.159MB [2022-04-11T16:06:14.472Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T16:06:14.472Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-11T16:06:14.472Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-11T16:06:14.472Z] 9b3977197b4f: Pulling fs layer [2022-04-11T16:06:14.472Z] 1a89e8eeedd5: Pulling fs layer [2022-04-11T16:06:14.472Z] 94645a83ff95: Pulling fs layer [2022-04-11T16:06:14.472Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-11T16:06:14.472Z] 0c92f367c5e7: Pulling fs layer [2022-04-11T16:06:14.472Z] f7c0051592d6: Pulling fs layer [2022-04-11T16:06:14.472Z] a227ed2f7395: Pulling fs layer [2022-04-11T16:06:14.472Z] 7b1c46037f91: Pulling fs layer [2022-04-11T16:06:14.472Z] 3f3a8bcf1eab: Waiting [2022-04-11T16:06:14.472Z] 0c92f367c5e7: Waiting [2022-04-11T16:06:14.473Z] f7c0051592d6: Waiting [2022-04-11T16:06:14.473Z] a227ed2f7395: Waiting [2022-04-11T16:06:14.473Z] 7b1c46037f91: Waiting [2022-04-11T16:06:14.473Z] 94645a83ff95: Verifying Checksum [2022-04-11T16:06:14.473Z] 94645a83ff95: Download complete [2022-04-11T16:06:14.473Z] 1a89e8eeedd5: Verifying Checksum [2022-04-11T16:06:14.473Z] 1a89e8eeedd5: Download complete [2022-04-11T16:06:14.473Z] 0c92f367c5e7: Verifying Checksum [2022-04-11T16:06:14.473Z] 0c92f367c5e7: Download complete [2022-04-11T16:06:14.757Z] f7c0051592d6: Verifying Checksum [2022-04-11T16:06:14.757Z] f7c0051592d6: Download complete [2022-04-11T16:06:14.757Z] 9b3977197b4f: Verifying Checksum [2022-04-11T16:06:14.757Z] 9b3977197b4f: Download complete [2022-04-11T16:06:14.757Z] a227ed2f7395: Verifying Checksum [2022-04-11T16:06:14.757Z] a227ed2f7395: Download complete [2022-04-11T16:06:15.363Z] 9b3977197b4f: Pull complete [2022-04-11T16:06:15.968Z] 1a89e8eeedd5: Pull complete [2022-04-11T16:06:16.249Z] 94645a83ff95: Pull complete [2022-04-11T16:06:16.854Z] 7b1c46037f91: Download complete [2022-04-11T16:06:17.458Z] 3f3a8bcf1eab: Download complete [2022-04-11T16:06:29.911Z] 3f3a8bcf1eab: Pull complete [2022-04-11T16:06:30.188Z] 0c92f367c5e7: Pull complete [2022-04-11T16:06:30.786Z] f7c0051592d6: Pull complete [2022-04-11T16:06:30.786Z] a227ed2f7395: Pull complete [2022-04-11T16:06:37.521Z] 7b1c46037f91: Pull complete [2022-04-11T16:06:37.521Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-11T16:06:37.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-11T16:06:37.521Z] ---> f79e39bc4007 [2022-04-11T16:06:37.521Z] Step 3/11 : ARG MAKE=make build [2022-04-11T16:06:38.127Z] ---> Running in fa1022f57fae [2022-04-11T16:06:38.402Z] Removing intermediate container fa1022f57fae [2022-04-11T16:06:38.402Z] ---> 48d8e1adcd45 [2022-04-11T16:06:38.402Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-11T16:06:38.402Z] ---> Running in 6bd543e41f1a [2022-04-11T16:06:38.676Z] Removing intermediate container 6bd543e41f1a [2022-04-11T16:06:38.676Z] ---> ddf966c3fbb5 [2022-04-11T16:06:38.676Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T16:06:38.676Z] ---> Running in 2ee6d7597d6f [2022-04-11T16:06:38.950Z] Removing intermediate container 2ee6d7597d6f [2022-04-11T16:06:38.950Z] ---> bfd89ed5393e [2022-04-11T16:06:38.950Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T16:06:39.223Z] ---> Running in e2053fea597d [2022-04-11T16:06:41.203Z] Removing intermediate container e2053fea597d [2022-04-11T16:06:41.203Z] ---> 0f25c9ef3209 [2022-04-11T16:06:41.203Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T16:06:41.203Z] ---> Running in 250c6a1b946b [2022-04-11T16:06:41.801Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T16:06:42.774Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T16:06:43.758Z] OK: 220 MiB in 52 packages [2022-04-11T16:06:44.360Z] Removing intermediate container 250c6a1b946b [2022-04-11T16:06:44.360Z] ---> fec83fbe98ef [2022-04-11T16:06:44.360Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-11T16:06:44.967Z] ---> 9535198a3065 [2022-04-11T16:06:44.967Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T16:06:44.967Z] ---> Running in f705d09b2d66 [2022-04-11T16:07:41.564Z] Removing intermediate container f705d09b2d66 [2022-04-11T16:07:41.564Z] ---> 4a254b300c3c [2022-04-11T16:07:41.564Z] Step 10/11 : COPY . . [2022-04-11T16:07:41.564Z] ---> 939b82584c7e [2022-04-11T16:07:41.564Z] Step 11/11 : RUN ${MAKE} [2022-04-11T16:07:41.564Z] ---> Running in dd4210d335bd [2022-04-11T16:07:41.564Z] noop [2022-04-11T16:07:41.564Z] Removing intermediate container dd4210d335bd [2022-04-11T16:07:41.564Z] ---> 5e470f7e7039 [2022-04-11T16:07:41.564Z] Successfully built 5e470f7e7039 [2022-04-11T16:07:41.564Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:07:41.925Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T16:07:41.925Z] . [Pipeline] withDockerContainer [2022-04-11T16:07:42.171Z] prd-ubuntu20.04-docker-arm64-4c-16g-19530 does not seem to be running inside a container [2022-04-11T16:07:42.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/57 -v /w/workspace/device-sdk-go/57:/w/workspace/device-sdk-go/57:rw,z -v /w/workspace/device-sdk-go/57@tmp:/w/workspace/device-sdk-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T16:07:43.728Z] $ docker top b53275aaab10345bd4ba2d7087c7715b9c653dba6f54a381fa685c6f17ea98d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T16:07:44.705Z] + go version [2022-04-11T16:07:44.705Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-11T16:07:44.739Z] $ docker stop --time=1 b53275aaab10345bd4ba2d7087c7715b9c653dba6f54a381fa685c6f17ea98d5 [2022-04-11T16:07:46.471Z] $ docker rm -f b53275aaab10345bd4ba2d7087c7715b9c653dba6f54a381fa685c6f17ea98d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:07:47.099Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T16:07:47.099Z] . [Pipeline] withDockerContainer [2022-04-11T16:07:47.377Z] prd-ubuntu20.04-docker-arm64-4c-16g-19530 does not seem to be running inside a container [2022-04-11T16:07:47.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/57 -v /w/workspace/device-sdk-go/57:/w/workspace/device-sdk-go/57:rw,z -v /w/workspace/device-sdk-go/57@tmp:/w/workspace/device-sdk-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T16:07:48.883Z] $ docker top 08c13eed54e9823a1ce6a5c7b967625b2ebab636299408bf9d4cb63aba1a68a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T16:07:49.855Z] + make test [2022-04-11T16:07:49.855Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-11T16:07:51.874Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-11T16:09:28.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-11T16:09:28.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-11T16:09:28.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-11T16:09:28.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.172s coverage: 23.3% of statements [2022-04-11T16:09:28.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-11T16:09:28.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.113s coverage: 27.6% of statements [2022-04-11T16:09:28.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 78.9% of statements [2022-04-11T16:09:30.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.072s coverage: 10.8% of statements [2022-04-11T16:09:30.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-11T16:09:30.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-11T16:09:30.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-11T16:09:31.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.195s coverage: 33.2% of statements [2022-04-11T16:09:31.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-11T16:09:33.720Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.119s coverage: 86.1% of statements [2022-04-11T16:09:33.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-11T16:09:33.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-11T16:09:36.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.149s coverage: 57.4% of statements [2022-04-11T16:09:36.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.231s coverage: 89.2% of statements [2022-04-11T16:09:36.365Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-11T16:09:38.345Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.8% of statements [2022-04-11T16:09:38.345Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-11T16:09:38.944Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-11T16:09:38.944Z] GO111MODULE=on go vet ./... [2022-04-11T16:10:11.332Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T16:10:11.606Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T16:10:12.206Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T16:10:15.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T16:10:15.653Z] $ docker stop --time=1 08c13eed54e9823a1ce6a5c7b967625b2ebab636299408bf9d4cb63aba1a68a0 [2022-04-11T16:10:17.466Z] $ docker rm -f 08c13eed54e9823a1ce6a5c7b967625b2ebab636299408bf9d4cb63aba1a68a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T16:10:18.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T16:10:18.560Z] Warning: overwriting stash ‘coverage-report’ [2022-04-11T16:10:19.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T16:10:19.883Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T16:10:20.235Z] + ls -al . [2022-04-11T16:10:20.235Z] total 292 [2022-04-11T16:10:20.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 16:10 . [2022-04-11T16:10:20.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 16:05 .. [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 16:05 .dockerignore [2022-04-11T16:10:20.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 16:05 .git [2022-04-11T16:10:20.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 16:05 .github [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 11 16:05 .gitignore [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 11 16:05 .golangci.yml [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 11 16:05 CHANGELOG.md [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 16:05 GOVERNANCE.md [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 11 16:05 Jenkinsfile [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 16:05 LICENSE [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 11 16:05 Makefile [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 11 16:05 OWNERS.md [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 11 16:05 README.md [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 16:01 VERSION [2022-04-11T16:10:20.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 16:05 bin [2022-04-11T16:10:20.235Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 11 16:09 coverage.out [2022-04-11T16:10:20.235Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 16:05 example [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 11 16:05 go.mod [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 11 16:05 go.sum [2022-04-11T16:10:20.235Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 11 16:05 internal [2022-04-11T16:10:20.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 16:05 openapi [2022-04-11T16:10:20.235Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 16:05 pkg [2022-04-11T16:10:20.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 16:05 snap [2022-04-11T16:10:20.235Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 16:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:10:20.655Z] + 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=c11ae5f9cc83784f65659a881f6412b77a9cc0d8 --label arch=arm64 --label version=2.2.0-dev.24 . [2022-04-11T16:10:21.285Z] Sending build context to Docker daemon 5.289MB [2022-04-11T16:10:21.285Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T16:10:21.285Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-11T16:10:21.285Z] ---> 5e470f7e7039 [2022-04-11T16:10:21.285Z] Step 3/25 : ARG MAKE=make build [2022-04-11T16:10:21.571Z] ---> Running in 953f4ef39f94 [2022-04-11T16:10:21.861Z] Removing intermediate container 953f4ef39f94 [2022-04-11T16:10:21.861Z] ---> cc07a90d54e3 [2022-04-11T16:10:21.861Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-11T16:10:21.861Z] ---> Running in d6f7413feffe [2022-04-11T16:10:22.134Z] Removing intermediate container d6f7413feffe [2022-04-11T16:10:22.134Z] ---> 08b48c3ee311 [2022-04-11T16:10:22.134Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T16:10:22.408Z] ---> Running in 6f3ad8118179 [2022-04-11T16:10:22.688Z] Removing intermediate container 6f3ad8118179 [2022-04-11T16:10:22.688Z] ---> 70555a6e8ff0 [2022-04-11T16:10:22.688Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T16:10:22.688Z] ---> Running in ad107a2430b3 [2022-04-11T16:10:24.674Z] Removing intermediate container ad107a2430b3 [2022-04-11T16:10:24.674Z] ---> f1cfe31c4b04 [2022-04-11T16:10:24.674Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T16:10:24.674Z] ---> Running in d4825170cc41 [2022-04-11T16:10:25.657Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T16:10:26.639Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T16:10:27.618Z] OK: 220 MiB in 52 packages [2022-04-11T16:10:28.621Z] Removing intermediate container d4825170cc41 [2022-04-11T16:10:28.621Z] ---> 109ebb26b48f [2022-04-11T16:10:28.621Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-11T16:10:29.219Z] ---> 55cb91f9805b [2022-04-11T16:10:29.219Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T16:10:29.219Z] ---> Running in 8157c69a19ba [2022-04-11T16:10:31.209Z] Removing intermediate container 8157c69a19ba [2022-04-11T16:10:31.209Z] ---> 4a77e1f2f4f4 [2022-04-11T16:10:31.209Z] Step 10/25 : COPY . . [2022-04-11T16:10:32.643Z] ---> ac3f5ca4b4a3 [2022-04-11T16:10:32.643Z] Step 11/25 : RUN ${MAKE} [2022-04-11T16:10:32.643Z] ---> Running in 6ea248938fc5 [2022-04-11T16:10:33.628Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-11T16:12:40.554Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-11T16:12:45.955Z] Removing intermediate container 6ea248938fc5 [2022-04-11T16:12:45.955Z] ---> 2c9b037f575f [2022-04-11T16:12:45.955Z] Step 12/25 : FROM alpine:3.14 [2022-04-11T16:12:45.955Z] 3.14: Pulling from library/alpine [2022-04-11T16:12:45.955Z] 455c02918c45: Pulling fs layer [2022-04-11T16:12:46.231Z] 455c02918c45: Verifying Checksum [2022-04-11T16:12:46.231Z] 455c02918c45: Download complete [2022-04-11T16:12:46.838Z] 455c02918c45: Pull complete [2022-04-11T16:12:46.838Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T16:12:46.838Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T16:12:46.838Z] ---> ac73e934f311 [2022-04-11T16:12:46.838Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T16:12:47.121Z] ---> Running in 1eaf8fb95f8e [2022-04-11T16:12:47.396Z] Removing intermediate container 1eaf8fb95f8e [2022-04-11T16:12:47.396Z] ---> 79291696f093 [2022-04-11T16:12:47.396Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T16:12:47.396Z] ---> Running in 374ed9a825e4 [2022-04-11T16:12:49.377Z] Removing intermediate container 374ed9a825e4 [2022-04-11T16:12:49.377Z] ---> f1e91613fdb6 [2022-04-11T16:12:49.377Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-11T16:12:49.377Z] ---> Running in f909dcb9e43b [2022-04-11T16:12:50.358Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-11T16:12:51.345Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-11T16:12:51.956Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T16:12:52.231Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-11T16:12:52.231Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T16:12:52.515Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-11T16:12:52.515Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-11T16:12:52.515Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T16:12:52.515Z] OK: 8 MiB in 19 packages [2022-04-11T16:12:53.513Z] Removing intermediate container f909dcb9e43b [2022-04-11T16:12:53.513Z] ---> 5577ad12fcdb [2022-04-11T16:12:53.513Z] Step 16/25 : WORKDIR / [2022-04-11T16:12:53.789Z] ---> Running in 36cda05c5f44 [2022-04-11T16:12:54.063Z] Removing intermediate container 36cda05c5f44 [2022-04-11T16:12:54.063Z] ---> 75031261cd2c [2022-04-11T16:12:54.063Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-11T16:12:54.663Z] ---> 5c82020a5a2c [2022-04-11T16:12:54.663Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-11T16:12:56.644Z] ---> d6a5cdb3ac12 [2022-04-11T16:12:56.644Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-11T16:12:56.944Z] ---> a5775aec2e2b [2022-04-11T16:12:56.944Z] Step 20/25 : EXPOSE 59999 [2022-04-11T16:12:56.944Z] ---> Running in 3d8571b81d81 [2022-04-11T16:12:57.541Z] Removing intermediate container 3d8571b81d81 [2022-04-11T16:12:57.541Z] ---> 49b85e815d2a [2022-04-11T16:12:57.541Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-11T16:12:57.541Z] ---> Running in 86f3f2665d1c [2022-04-11T16:12:57.814Z] Removing intermediate container 86f3f2665d1c [2022-04-11T16:12:57.814Z] ---> 9d7ddb0cf5e9 [2022-04-11T16:12:57.814Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T16:12:57.814Z] ---> Running in 65df66475449 [2022-04-11T16:12:58.413Z] Removing intermediate container 65df66475449 [2022-04-11T16:12:58.413Z] ---> d49603f4845c [2022-04-11T16:12:58.413Z] Step 23/25 : LABEL arch=arm64 [2022-04-11T16:12:58.413Z] ---> Running in dac6547a0c38 [2022-04-11T16:12:58.687Z] Removing intermediate container dac6547a0c38 [2022-04-11T16:12:58.687Z] ---> 0b8d2f27eaad [2022-04-11T16:12:58.687Z] Step 24/25 : LABEL git_sha=c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [2022-04-11T16:12:58.687Z] ---> Running in 24e69fc9a6c1 [2022-04-11T16:12:58.962Z] Removing intermediate container 24e69fc9a6c1 [2022-04-11T16:12:58.962Z] ---> 13ac57e74889 [2022-04-11T16:12:58.962Z] Step 25/25 : LABEL version=2.2.0-dev.24 [2022-04-11T16:12:59.235Z] ---> Running in 17cb3b0678cd [2022-04-11T16:12:59.513Z] Removing intermediate container 17cb3b0678cd [2022-04-11T16:12:59.513Z] ---> 7ba743eddadd [2022-04-11T16:12:59.513Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T16:12:59.513Z] Successfully built 7ba743eddadd [2022-04-11T16:12:59.513Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-04-11T16:13:00.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T16:13:00.001Z] [2022-04-11T16:13:00.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:13:00.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T16:13:00.649Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-11T16:13:00.649Z] 8998bd30e6a1: Pulling fs layer [2022-04-11T16:13:00.649Z] 04944245beec: Pulling fs layer [2022-04-11T16:13:00.649Z] 699f458cf7ca: Pulling fs layer [2022-04-11T16:13:00.649Z] 765212b225bb: Pulling fs layer [2022-04-11T16:13:00.649Z] f23df028b6ca: Pulling fs layer [2022-04-11T16:13:00.649Z] d65c8cfc05b1: Pulling fs layer [2022-04-11T16:13:00.649Z] 2437ff75d9bd: Pulling fs layer [2022-04-11T16:13:00.649Z] 765212b225bb: Waiting [2022-04-11T16:13:00.649Z] f23df028b6ca: Waiting [2022-04-11T16:13:00.649Z] d65c8cfc05b1: Waiting [2022-04-11T16:13:00.649Z] 2437ff75d9bd: Waiting [2022-04-11T16:13:00.649Z] 04944245beec: Verifying Checksum [2022-04-11T16:13:00.649Z] 04944245beec: Download complete [2022-04-11T16:13:00.649Z] 765212b225bb: Verifying Checksum [2022-04-11T16:13:00.649Z] 765212b225bb: Download complete [2022-04-11T16:13:00.931Z] f23df028b6ca: Verifying Checksum [2022-04-11T16:13:00.931Z] f23df028b6ca: Download complete [2022-04-11T16:13:00.931Z] d65c8cfc05b1: Verifying Checksum [2022-04-11T16:13:00.931Z] d65c8cfc05b1: Download complete [2022-04-11T16:13:00.931Z] 699f458cf7ca: Verifying Checksum [2022-04-11T16:13:00.931Z] 699f458cf7ca: Download complete [2022-04-11T16:13:01.540Z] 8998bd30e6a1: Verifying Checksum [2022-04-11T16:13:01.540Z] 8998bd30e6a1: Download complete [2022-04-11T16:13:04.187Z] 2437ff75d9bd: Verifying Checksum [2022-04-11T16:13:04.187Z] 2437ff75d9bd: Download complete [2022-04-11T16:13:05.626Z] 8998bd30e6a1: Pull complete [2022-04-11T16:13:06.242Z] 04944245beec: Pull complete [2022-04-11T16:13:07.675Z] 699f458cf7ca: Pull complete [2022-04-11T16:13:07.676Z] 765212b225bb: Pull complete [2022-04-11T16:13:08.658Z] f23df028b6ca: Pull complete [2022-04-11T16:13:08.934Z] d65c8cfc05b1: Pull complete [2022-04-11T16:13:24.051Z] 2437ff75d9bd: Pull complete [2022-04-11T16:13:24.051Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-11T16:13:24.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T16:13:24.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-11T16:13:24.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-19530 does not seem to be running inside a container [2022-04-11T16:13:24.436Z] $ 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/57 -v /w/workspace/device-sdk-go/57:/w/workspace/device-sdk-go/57:rw,z -v /w/workspace/device-sdk-go/57@tmp:/w/workspace/device-sdk-go/57@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-11T16:13:27.416Z] $ docker top 97c929ba843721162d369086f89c8948027de0dcf191ae35698863d32f1c0bd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:13:28.433Z] ---> job-cost.sh [2022-04-11T16:13:28.434Z] lf-activate-venv: SKIPPING [2022-04-11T16:13:28.434Z] INFO: No Stack... [2022-04-11T16:13:29.035Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-11T16:13:30.014Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T16:13:30.697Z] + cat /w/workspace/device-sdk-go/57/archives/cost.csv [2022-04-11T16:13:30.697Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T16:13:30.773Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-57-stack-cost] [2022-04-11T16:13:30.782Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-57-stack-cost] did not exist. Created. [2022-04-11T16:13:30.782Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-57-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T16:13:31.464Z] /w/workspace/device-sdk-go/57@tmp/durable-d0c392e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-11T16:13:32.153Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-11T16:13:32.173Z] Warning: overwriting stash ‘stack-cost’ [2022-04-11T16:13:32.244Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T16:13:32.250Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-57-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T16:13:32.275Z] $ docker stop --time=1 97c929ba843721162d369086f89c8948027de0dcf191ae35698863d32f1c0bd2 [2022-04-11T16:13:33.847Z] $ docker rm -f 97c929ba843721162d369086f89c8948027de0dcf191ae35698863d32f1c0bd2 [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 [2022-04-11T16:13:34.364Z] provisioning config files... [2022-04-11T16:13:34.376Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7864718099274487564tmp [Pipeline] { [Pipeline] sh [2022-04-11T16:13:34.672Z] + set +x [2022-04-11T16:13:34.672Z] + curl -s https://codecov.io/bash [2022-04-11T16:13:34.672Z] + bash -s -- [2022-04-11T16:13:34.672Z] [2022-04-11T16:13:34.672Z] _____ _ [2022-04-11T16:13:34.672Z] / ____| | | [2022-04-11T16:13:34.672Z] | | ___ __| | ___ ___ _____ __ [2022-04-11T16:13:34.672Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-11T16:13:34.672Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-11T16:13:34.672Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-11T16:13:34.672Z] Bash-1.0.6 [2022-04-11T16:13:34.672Z] [2022-04-11T16:13:34.672Z] [2022-04-11T16:13:34.672Z] ==> git version 2.25.1 found [2022-04-11T16:13:34.672Z] ==> 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 [2022-04-11T16:13:34.672Z] Release-Date: 2020-01-08 [2022-04-11T16:13:34.672Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-11T16:13:34.672Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-11T16:13:34.672Z] ==> Jenkins CI detected. [2022-04-11T16:13:34.672Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-11T16:13:34.672Z] project root: . [2022-04-11T16:13:34.672Z] --> token set from env [2022-04-11T16:13:34.672Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-11T16:13:34.672Z] ==> Running gcov in . (disable via -X gcov) [2022-04-11T16:13:34.672Z] ==> Python coveragepy not found [2022-04-11T16:13:34.672Z] ==> Searching for coverage reports in: [2022-04-11T16:13:34.672Z] + . [2022-04-11T16:13:34.673Z] -> Found 1 reports [2022-04-11T16:13:34.673Z] ==> Detecting git/mercurial file structure [2022-04-11T16:13:34.673Z] ==> Reading reports [2022-04-11T16:13:34.673Z] + ./coverage.out bytes=129001 [2022-04-11T16:13:34.673Z] ==> Appending adjustments [2022-04-11T16:13:34.673Z] https://docs.codecov.io/docs/fixing-reports [2022-04-11T16:13:34.931Z] + Found adjustments [2022-04-11T16:13:34.931Z] ==> Gzipping contents [2022-04-11T16:13:34.931Z] 16K /tmp/codecov.FDdV9T.gz [2022-04-11T16:13:34.931Z] ==> Uploading reports [2022-04-11T16:13:34.931Z] url: https://codecov.io [2022-04-11T16:13:34.931Z] query: branch=main&commit=c11ae5f9cc83784f65659a881f6412b77a9cc0d8&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-11T16:13:35.190Z] -> Pinging Codecov [2022-04-11T16:13:35.190Z] 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=c11ae5f9cc83784f65659a881f6412b77a9cc0d8&build=57&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F57%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-11T16:13:35.451Z] -> Uploading to [2022-04-11T16:13:35.451Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-11/7E55EF52A471D76F132DFD9A03CDDE97/c11ae5f9cc83784f65659a881f6412b77a9cc0d8/4e1dd254-7aad-4b9b-9726-e84ff59ff9f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T161335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85af2a45e378827e5375dd46e5765019bad78705c0ebb8aad6717e3b980e093f [2022-04-11T16:13:35.451Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T16:13:35.451Z] Dload Upload Total Spent Left Speed [2022-04-11T16:13:35.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16191 0 0 100 16191 0 76372 --:--:-- --:--:-- --:--:-- 76014 [2022-04-11T16:13:35.723Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [Pipeline] } [2022-04-11T16:13:35.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-11T16:13:36.002Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-11T16:13:36.013Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:13:36.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T16:13:36.313Z] [2022-04-11T16:13:36.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:13:36.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T16:13:36.629Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-11T16:13:36.629Z] 188c0c94c7c5: Pulling fs layer [2022-04-11T16:13:36.629Z] 0ef7d3d256c8: Pulling fs layer [2022-04-11T16:13:36.629Z] de9db76c5a1d: Pulling fs layer [2022-04-11T16:13:36.629Z] 0eba1c9be4d2: Pulling fs layer [2022-04-11T16:13:36.629Z] 0d57e429df01: Pulling fs layer [2022-04-11T16:13:36.629Z] 4e4be7b47b0d: Pulling fs layer [2022-04-11T16:13:36.629Z] e1f770b5df2f: Pulling fs layer [2022-04-11T16:13:36.629Z] 85a0685a4137: Pulling fs layer [2022-04-11T16:13:36.629Z] e1f770b5df2f: Waiting [2022-04-11T16:13:36.629Z] 4e4be7b47b0d: Waiting [2022-04-11T16:13:36.629Z] 0eba1c9be4d2: Waiting [2022-04-11T16:13:36.629Z] 0d57e429df01: Waiting [2022-04-11T16:13:36.629Z] 85a0685a4137: Waiting [2022-04-11T16:13:36.629Z] de9db76c5a1d: Verifying Checksum [2022-04-11T16:13:36.629Z] 0ef7d3d256c8: Download complete [2022-04-11T16:13:36.629Z] 0d57e429df01: Verifying Checksum [2022-04-11T16:13:36.629Z] 0d57e429df01: Download complete [2022-04-11T16:13:36.629Z] 188c0c94c7c5: Verifying Checksum [2022-04-11T16:13:36.629Z] 188c0c94c7c5: Download complete [2022-04-11T16:13:36.889Z] e1f770b5df2f: Verifying Checksum [2022-04-11T16:13:36.889Z] e1f770b5df2f: Download complete [2022-04-11T16:13:36.889Z] 188c0c94c7c5: Pull complete [2022-04-11T16:13:36.889Z] 0ef7d3d256c8: Pull complete [2022-04-11T16:13:37.148Z] de9db76c5a1d: Pull complete [2022-04-11T16:13:37.410Z] 0eba1c9be4d2: Verifying Checksum [2022-04-11T16:13:37.410Z] 0eba1c9be4d2: Download complete [2022-04-11T16:13:37.410Z] 85a0685a4137: Verifying Checksum [2022-04-11T16:13:37.410Z] 85a0685a4137: Download complete [2022-04-11T16:13:40.696Z] 0eba1c9be4d2: Pull complete [2022-04-11T16:13:40.696Z] 0d57e429df01: Pull complete [2022-04-11T16:13:40.696Z] 4e4be7b47b0d: Pull complete [2022-04-11T16:13:40.956Z] e1f770b5df2f: Pull complete [2022-04-11T16:13:44.249Z] 85a0685a4137: Pull complete [2022-04-11T16:13:44.249Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-11T16:13:44.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T16:13:44.249Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-11T16:13:44.315Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:13:44.359Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-11T16:13:46.227Z] $ docker top c472c3da989590192e6ff19da3c6de6b028e85cef267f02924ddd10e0ba7d443 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-11T16:13:46.294Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-11T16:13:46.573Z] + set -o pipefail [2022-04-11T16:13:46.573Z] + snyk monitor '--org=edgex-jenkins' [2022-04-11T16:13:52.072Z] [2022-04-11T16:13:52.072Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-11T16:13:52.072Z] [2022-04-11T16:13:52.072Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/0705e855-998c-4c72-abe2-0dcd9445aef4 [2022-04-11T16:13:52.072Z] [2022-04-11T16:13:52.072Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-11T16:13:52.072Z] [2022-04-11T16:13:52.072Z] [Pipeline] } [2022-04-11T16:13:52.090Z] $ docker stop --time=1 c472c3da989590192e6ff19da3c6de6b028e85cef267f02924ddd10e0ba7d443 [2022-04-11T16:13:54.063Z] $ docker rm -f c472c3da989590192e6ff19da3c6de6b028e85cef267f02924ddd10e0ba7d443 [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 [2022-04-11T16:13:54.509Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T16:13:54.519Z] provisioning config files... [2022-04-11T16:13:54.529Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1043919414810244003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:13:54.832Z] --> edgex-publish-swagger.sh [2022-04-11T16:13:54.833Z] === Publish openapi/v2 API === [2022-04-11T16:13:54.833Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-11T16:13:54.833Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-11T16:13:54.833Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T16:13:54.833Z] Dload Upload Total Spent Left Speed [2022-04-11T16:13:55.404Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 84306 --:--:-- --:--:-- --:--:-- 84306 [2022-04-11T16:13:55.404Z] [2022-04-11T16:13:55.404Z] [Pipeline] } [2022-04-11T16:13:55.413Z] 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 [2022-04-11T16:13:55.833Z] + git log --format=format:%s -1 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 [Pipeline] sh [2022-04-11T16:13:56.142Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T16:13:56.142Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:13:56.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T16:13:56.442Z] . [Pipeline] withDockerContainer [2022-04-11T16:13:56.516Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:13:56.561Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-11T16:13:56.974Z] $ docker top d92d2543c3202a34fadba8b51dfd1fee2be74d4ea5542e64c649bbc10f7be423 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T16:13:57.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T16:13:57.058Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T16:13:57.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T16:13:57.197Z] $ docker exec d92d2543c3202a34fadba8b51dfd1fee2be74d4ea5542e64c649bbc10f7be423 ssh-agent [2022-04-11T16:13:57.334Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlMdNhi/agent.14 [2022-04-11T16:13:57.335Z] SSH_AGENT_PID=21 [2022-04-11T16:13:57.340Z] Running ssh-add (command line suppressed) [2022-04-11T16:13:57.470Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3536885098307973756.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3536885098307973756.key) [2022-04-11T16:13:57.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T16:13:57.774Z] + git semver tag [2022-04-11T16:13:57.774Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T16:13:57.774Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-11T16:13:57.774Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-11T16:13:57.774Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T16:13:57.774Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T16:13:57.774Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T16:13:57.774Z] # $SEMVER_BRANCH = main [2022-04-11T16:13:57.774Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-11T16:13:57.774Z] # c11ae5f9cc83784f65659a881f6412b77a9cc0d8 HEAD [2022-04-11T16:13:57.774Z] # -> Force: false [2022-04-11T16:13:57.774Z] # 2d1d53dd07a5d5b1ad0004cca321adef8cfbc506 refs/tags/v2.2.0-dev.24 [Pipeline] } [2022-04-11T16:13:57.792Z] $ docker exec --env ******** --env ******** d92d2543c3202a34fadba8b51dfd1fee2be74d4ea5542e64c649bbc10f7be423 ssh-agent -k [2022-04-11T16:13:57.918Z] unset SSH_AUTH_SOCK; [2022-04-11T16:13:57.918Z] unset SSH_AGENT_PID; [2022-04-11T16:13:57.919Z] echo Agent pid 21 killed; [2022-04-11T16:13:57.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T16:13:58.258Z] + git semver [Pipeline] } [2022-04-11T16:13:58.279Z] $ docker stop --time=1 d92d2543c3202a34fadba8b51dfd1fee2be74d4ea5542e64c649bbc10f7be423 [2022-04-11T16:13:59.613Z] $ docker rm -f d92d2543c3202a34fadba8b51dfd1fee2be74d4ea5542e64c649bbc10f7be423 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:14:00.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T16:14:00.057Z] [2022-04-11T16:14:00.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:14:00.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T16:14:00.361Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-11T16:14:00.361Z] ab5ef0e58194: Pulling fs layer [2022-04-11T16:14:00.361Z] 9712f1f96733: Pulling fs layer [2022-04-11T16:14:00.361Z] 63f879dbbcfc: Pulling fs layer [2022-04-11T16:14:00.361Z] 0d9ebad4ef96: Pulling fs layer [2022-04-11T16:14:00.361Z] e9a5061849ea: Pulling fs layer [2022-04-11T16:14:00.361Z] d747dcd14b5f: Pulling fs layer [2022-04-11T16:14:00.361Z] 2de7ff778b66: Pulling fs layer [2022-04-11T16:14:00.361Z] d747dcd14b5f: Waiting [2022-04-11T16:14:00.361Z] 0d9ebad4ef96: Waiting [2022-04-11T16:14:00.361Z] 9712f1f96733: Verifying Checksum [2022-04-11T16:14:00.361Z] 9712f1f96733: Download complete [2022-04-11T16:14:00.622Z] 63f879dbbcfc: Verifying Checksum [2022-04-11T16:14:00.622Z] 63f879dbbcfc: Download complete [2022-04-11T16:14:00.882Z] e9a5061849ea: Verifying Checksum [2022-04-11T16:14:00.882Z] e9a5061849ea: Download complete [2022-04-11T16:14:00.882Z] d747dcd14b5f: Verifying Checksum [2022-04-11T16:14:00.882Z] d747dcd14b5f: Download complete [2022-04-11T16:14:00.882Z] 0d9ebad4ef96: Verifying Checksum [2022-04-11T16:14:00.882Z] 0d9ebad4ef96: Download complete [2022-04-11T16:14:00.882Z] 2de7ff778b66: Verifying Checksum [2022-04-11T16:14:00.882Z] 2de7ff778b66: Download complete [2022-04-11T16:14:00.882Z] ab5ef0e58194: Verifying Checksum [2022-04-11T16:14:00.882Z] ab5ef0e58194: Download complete [2022-04-11T16:14:04.178Z] ab5ef0e58194: Pull complete [2022-04-11T16:14:04.178Z] 9712f1f96733: Pull complete [2022-04-11T16:14:04.437Z] 63f879dbbcfc: Pull complete [2022-04-11T16:14:07.743Z] 0d9ebad4ef96: Pull complete [2022-04-11T16:14:08.005Z] e9a5061849ea: Pull complete [2022-04-11T16:14:08.005Z] d747dcd14b5f: Pull complete [2022-04-11T16:14:09.388Z] 2de7ff778b66: Pull complete [2022-04-11T16:14:09.388Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-11T16:14:09.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T16:14:09.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-11T16:14:09.463Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:14:09.512Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-11T16:14:11.318Z] $ docker top 5b891519f6a026b6ff914dd7209864001056eed90d84721ce781883358fcd39a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-11T16:14:11.399Z] provisioning config files... [2022-04-11T16:14:11.407Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4799840451620943570tmp [2022-04-11T16:14:11.438Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1895259672953649189tmp [2022-04-11T16:14:11.452Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3397052585127088489tmp [Pipeline] { [Pipeline] echo [2022-04-11T16:14:11.469Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:11.783Z] ---> sigul-configuration.sh [2022-04-11T16:14:11.783Z] gpg: directory `/root/.gnupg' created [2022-04-11T16:14:11.783Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-11T16:14:11.783Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-11T16:14:11.783Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-11T16:14:11.783Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-11T16:14:11.783Z] gpg: CAST5 encrypted data [2022-04-11T16:14:11.783Z] gpg: encrypted with 1 passphrase [2022-04-11T16:14:11.784Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-11T16:14:12.103Z] + mkdir /home/jenkins [2022-04-11T16:14:12.103Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-11T16:14:12.398Z] + 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 [2022-04-11T16:14:12.408Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:12.709Z] ---> sigul-install.sh [2022-04-11T16:14:12.709Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-11T16:14:12.996Z] + git tag --list [2022-04-11T16:14:12.996Z] 0.7.1 [2022-04-11T16:14:12.996Z] delhi-tag [2022-04-11T16:14:12.996Z] v1.0.0 [2022-04-11T16:14:12.996Z] v1.1.0 [2022-04-11T16:14:12.996Z] v1.1.1 [2022-04-11T16:14:12.996Z] v1.1.2 [2022-04-11T16:14:12.996Z] v1.2.0 [2022-04-11T16:14:12.996Z] v1.2.1 [2022-04-11T16:14:12.996Z] v1.2.2 [2022-04-11T16:14:12.996Z] v1.2.3 [2022-04-11T16:14:12.996Z] v1.3.0 [2022-04-11T16:14:12.996Z] v1.4.0 [2022-04-11T16:14:12.996Z] v2.0.0 [2022-04-11T16:14:12.996Z] v2.0.1-dev.1 [2022-04-11T16:14:12.996Z] v2.0.1-dev.10 [2022-04-11T16:14:12.996Z] v2.0.1-dev.11 [2022-04-11T16:14:12.996Z] v2.0.1-dev.12 [2022-04-11T16:14:12.996Z] v2.0.1-dev.13 [2022-04-11T16:14:12.996Z] v2.0.1-dev.14 [2022-04-11T16:14:12.996Z] v2.0.1-dev.15 [2022-04-11T16:14:12.996Z] v2.0.1-dev.16 [2022-04-11T16:14:12.996Z] v2.0.1-dev.17 [2022-04-11T16:14:12.996Z] v2.0.1-dev.18 [2022-04-11T16:14:12.996Z] v2.0.1-dev.19 [2022-04-11T16:14:12.996Z] v2.0.1-dev.2 [2022-04-11T16:14:12.996Z] v2.0.1-dev.20 [2022-04-11T16:14:12.996Z] v2.0.1-dev.21 [2022-04-11T16:14:12.996Z] v2.0.1-dev.22 [2022-04-11T16:14:12.996Z] v2.0.1-dev.23 [2022-04-11T16:14:12.996Z] v2.0.1-dev.24 [2022-04-11T16:14:12.996Z] v2.0.1-dev.25 [2022-04-11T16:14:12.996Z] v2.0.1-dev.26 [2022-04-11T16:14:12.996Z] v2.0.1-dev.27 [2022-04-11T16:14:12.996Z] v2.0.1-dev.28 [2022-04-11T16:14:12.996Z] v2.0.1-dev.29 [2022-04-11T16:14:12.996Z] v2.0.1-dev.3 [2022-04-11T16:14:12.996Z] v2.0.1-dev.30 [2022-04-11T16:14:12.996Z] v2.0.1-dev.31 [2022-04-11T16:14:12.996Z] v2.0.1-dev.32 [2022-04-11T16:14:12.996Z] v2.0.1-dev.33 [2022-04-11T16:14:12.996Z] v2.0.1-dev.4 [2022-04-11T16:14:12.996Z] v2.0.1-dev.5 [2022-04-11T16:14:12.996Z] v2.0.1-dev.6 [2022-04-11T16:14:12.996Z] v2.0.1-dev.7 [2022-04-11T16:14:12.996Z] v2.0.1-dev.8 [2022-04-11T16:14:12.996Z] v2.0.1-dev.9 [2022-04-11T16:14:12.996Z] v2.1.0 [2022-04-11T16:14:12.996Z] v2.1.1-dev.1 [2022-04-11T16:14:12.996Z] v2.2.0-dev.1 [2022-04-11T16:14:12.996Z] v2.2.0-dev.10 [2022-04-11T16:14:12.996Z] v2.2.0-dev.11 [2022-04-11T16:14:12.996Z] v2.2.0-dev.12 [2022-04-11T16:14:12.996Z] v2.2.0-dev.13 [2022-04-11T16:14:12.996Z] v2.2.0-dev.14 [2022-04-11T16:14:12.996Z] v2.2.0-dev.15 [2022-04-11T16:14:12.996Z] v2.2.0-dev.16 [2022-04-11T16:14:12.996Z] v2.2.0-dev.17 [2022-04-11T16:14:12.996Z] v2.2.0-dev.18 [2022-04-11T16:14:12.996Z] v2.2.0-dev.19 [2022-04-11T16:14:12.996Z] v2.2.0-dev.2 [2022-04-11T16:14:12.996Z] v2.2.0-dev.20 [2022-04-11T16:14:12.996Z] v2.2.0-dev.21 [2022-04-11T16:14:12.996Z] v2.2.0-dev.22 [2022-04-11T16:14:12.996Z] v2.2.0-dev.23 [2022-04-11T16:14:12.996Z] v2.2.0-dev.24 [2022-04-11T16:14:12.996Z] v2.2.0-dev.3 [2022-04-11T16:14:12.996Z] v2.2.0-dev.4 [2022-04-11T16:14:12.996Z] v2.2.0-dev.5 [2022-04-11T16:14:12.996Z] v2.2.0-dev.6 [2022-04-11T16:14:12.996Z] v2.2.0-dev.7 [2022-04-11T16:14:12.996Z] v2.2.0-dev.8 [2022-04-11T16:14:12.996Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-11T16:14:13.282Z] + lftools sign git-tag v2.2.0-dev.24 [2022-04-11T16:14:13.851Z] Signing Git tag with Sigul... [2022-04-11T16:14:13.851Z] Signing v2.2.0-dev.24 [Pipeline] echo [2022-04-11T16:14:14.121Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:14.410Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-11T16:14:14.417Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-11T16:14:14.444Z] $ docker stop --time=1 5b891519f6a026b6ff914dd7209864001056eed90d84721ce781883358fcd39a [2022-04-11T16:14:15.738Z] $ docker rm -f 5b891519f6a026b6ff914dd7209864001056eed90d84721ce781883358fcd39a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-11T16:14:16.162Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T16:14:16.162Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:14:16.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T16:14:16.461Z] . [Pipeline] withDockerContainer [2022-04-11T16:14:16.530Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:14:16.573Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-11T16:14:16.952Z] $ docker top b84b20fc22019353288370e5c20219bbd233a60404b22b6d395b95eb88023b2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T16:14:17.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T16:14:17.041Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T16:14:17.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T16:14:17.169Z] $ docker exec b84b20fc22019353288370e5c20219bbd233a60404b22b6d395b95eb88023b2c ssh-agent [2022-04-11T16:14:17.289Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlfCGnd/agent.15 [2022-04-11T16:14:17.289Z] SSH_AGENT_PID=21 [2022-04-11T16:14:17.295Z] Running ssh-add (command line suppressed) [2022-04-11T16:14:17.408Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_793977564962562965.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_793977564962562965.key) [2022-04-11T16:14:17.420Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T16:14:17.710Z] + git semver bump pre [2022-04-11T16:14:17.710Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T16:14:17.710Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-11T16:14:17.710Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-11T16:14:17.710Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T16:14:17.710Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T16:14:17.710Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T16:14:17.710Z] # $SEMVER_BRANCH = main [2022-04-11T16:14:17.710Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-11T16:14:17.710Z] 2.2.0-dev.25 [Pipeline] } [2022-04-11T16:14:17.726Z] $ docker exec --env ******** --env ******** b84b20fc22019353288370e5c20219bbd233a60404b22b6d395b95eb88023b2c ssh-agent -k [2022-04-11T16:14:17.829Z] unset SSH_AUTH_SOCK; [2022-04-11T16:14:17.829Z] unset SSH_AGENT_PID; [2022-04-11T16:14:17.830Z] echo Agent pid 21 killed; [2022-04-11T16:14:17.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T16:14:18.146Z] + git semver [Pipeline] } [2022-04-11T16:14:18.165Z] $ docker stop --time=1 b84b20fc22019353288370e5c20219bbd233a60404b22b6d395b95eb88023b2c [2022-04-11T16:14:19.461Z] $ docker rm -f b84b20fc22019353288370e5c20219bbd233a60404b22b6d395b95eb88023b2c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T16:14:19.825Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T16:14:19.826Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:14:20.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T16:14:20.129Z] . [Pipeline] withDockerContainer [2022-04-11T16:14:20.196Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:14:20.243Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-11T16:14:20.708Z] $ docker top 51e48a09331124df640b5a07dc4a4bc36707f2b1a10c00f1af4990fbd9e49234 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T16:14:20.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T16:14:20.807Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T16:14:20.963Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T16:14:20.972Z] $ docker exec 51e48a09331124df640b5a07dc4a4bc36707f2b1a10c00f1af4990fbd9e49234 ssh-agent [2022-04-11T16:14:21.097Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkafPOI/agent.13 [2022-04-11T16:14:21.097Z] SSH_AGENT_PID=19 [2022-04-11T16:14:21.103Z] Running ssh-add (command line suppressed) [2022-04-11T16:14:21.232Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4963312380546587406.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4963312380546587406.key) [2022-04-11T16:14:21.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T16:14:21.536Z] + git semver push [2022-04-11T16:14:21.536Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T16:14:21.536Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-11T16:14:21.536Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-11T16:14:21.536Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T16:14:21.536Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T16:14:21.536Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T16:14:21.536Z] # $SEMVER_BRANCH = main [2022-04-11T16:14:21.536Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-11T16:14:23.467Z] $ docker exec --env ******** --env ******** 51e48a09331124df640b5a07dc4a4bc36707f2b1a10c00f1af4990fbd9e49234 ssh-agent -k [2022-04-11T16:14:23.572Z] unset SSH_AUTH_SOCK; [2022-04-11T16:14:23.573Z] unset SSH_AGENT_PID; [2022-04-11T16:14:23.573Z] echo Agent pid 19 killed; [2022-04-11T16:14:23.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T16:14:23.896Z] + git semver [Pipeline] } [2022-04-11T16:14:23.918Z] $ docker stop --time=1 51e48a09331124df640b5a07dc4a4bc36707f2b1a10c00f1af4990fbd9e49234 [2022-04-11T16:14:25.238Z] $ docker rm -f 51e48a09331124df640b5a07dc4a4bc36707f2b1a10c00f1af4990fbd9e49234 [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 [2022-04-11T16:14:25.936Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-11T16:14:25.936Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-11T16:14:25.936Z] total 16 [2022-04-11T16:14:25.936Z] drwxr-xr-x 3 root root 4096 Apr 11 16:03 . [2022-04-11T16:14:25.936Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 11 16:14 .. [2022-04-11T16:14:25.936Z] drwxr-xr-x 2 root root 4096 Apr 11 16:03 cost [2022-04-11T16:14:25.936Z] -rw-r--r-- 1 root root 83 Apr 11 16:03 cost.csv [2022-04-11T16:14:25.936Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-11T16:14:25.936Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-11T16:14:25.936Z] total 16 [2022-04-11T16:14:25.936Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 16:03 . [2022-04-11T16:14:25.936Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 11 16:14 .. [2022-04-11T16:14:25.936Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 16:03 cost [2022-04-11T16:14:25.936Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 11 16:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:26.238Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:27.109Z] ---> package-listing.sh [2022-04-11T16:14:27.109Z] ++ facter osfamily [2022-04-11T16:14:27.109Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T16:14:27.370Z] + OS_FAMILY=debian [2022-04-11T16:14:27.370Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-11T16:14:27.370Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T16:14:27.370Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T16:14:27.370Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T16:14:27.370Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T16:14:27.370Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-11T16:14:27.370Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T16:14:27.370Z] + case "${OS_FAMILY}" in [2022-04-11T16:14:27.370Z] + dpkg -l [2022-04-11T16:14:27.370Z] + grep '^ii' [2022-04-11T16:14:27.370Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T16:14:27.370Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T16:14:27.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T16:14:27.370Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-11T16:14:27.370Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-11T16:14:27.370Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-04-11T16:14:27.382Z] 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 [2022-04-11T16:14:27.663Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T16:14:28.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T16:14:28.221Z] . [Pipeline] withDockerContainer [2022-04-11T16:14:28.287Z] prd-ubuntu20.04-docker-8c-8g-19526 does not seem to be running inside a container [2022-04-11T16:14:28.326Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T16:14:28.550Z] $ docker top c5d895869633ebd70f31f1ac1c75312e1d7e783eaf7b8cf86a41300d97c82a6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T16:14:28.910Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T16:14:29.253Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T16:14:29.561Z] + ls /var/log/sa-host [2022-04-11T16:14:29.561Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T16:14:29.795Z] provisioning config files... [2022-04-11T16:14:29.808Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8786448315279058019tmp [Pipeline] { [Pipeline] echo [2022-04-11T16:14:29.832Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:30.121Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T16:14:30.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:30.464Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T16:14:30.475Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:30.769Z] ---> sudo-logs.sh [2022-04-11T16:14:30.769Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T16:14:30.796Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:31.097Z] ---> job-cost.sh [2022-04-11T16:14:31.098Z] lf-activate-venv: SKIPPING [2022-04-11T16:14:31.098Z] DEBUG: total: 0.2199999988079071 [2022-04-11T16:14:31.098Z] INFO: Retrieving Stack Cost... [2022-04-11T16:14:31.358Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T16:14:31.928Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T16:14:31.944Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T16:14:32.233Z] ---> logs-deploy.sh [2022-04-11T16:14:32.233Z] lf-activate-venv: SKIPPING [2022-04-11T16:14:32.233Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/57 [2022-04-11T16:14:32.233Z] INFO: archiving workspace using pattern(s): [2022-04-11T16:14:33.172Z] Archives upload complete. [2022-04-11T16:14:33.172Z] INFO: archiving logs to Nexus