Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ece66f1c570f367a2f406d94221d9aee4294f1c 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-ssh13387818225389420419.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-ssh13456003021314512986.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-ssh990518243085962317.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-ssh14751243797431810378.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-ssh2496178949910211936.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 ‘prd-ubuntu20.04-docker-8c-8g-7771’ Running on prd-ubuntu20.04-docker-8c-8g-7773 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 8ece66f1c570f367a2f406d94221d9aee4294f1c (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 8ece66f1c570f367a2f406d94221d9aee4294f1c # timeout=10 Commit message: "Merge pull request #1108 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.6" > git rev-list --no-walk 1a7547985d0ebb48b881ce97e0dcbab5f8d91744 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T04:46:29.929Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T04:46:29.973Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T04:46:29.985Z] ========================================================= [2022-03-17T04:46:29.986Z] EdgeX Global Pipelines Version Info [2022-03-17T04:46:29.986Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:46:30.758Z] ------------------- [2022-03-17T04:46:30.758Z] stable info: [2022-03-17T04:46:30.758Z] ------------------- [2022-03-17T04:46:30.758Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T04:46:30.758Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T04:46:30.758Z] Message: update stable to v1.0.221 [2022-03-17T04:46:31.332Z] ------------------- [2022-03-17T04:46:31.332Z] experimental info: [2022-03-17T04:46:31.332Z] ------------------- [2022-03-17T04:46:31.332Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T04:46:31.332Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T04:46:31.332Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T04:46:31.477Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-17T04:46:31.492Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-17T04:46:31.510Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T04:46:31.525Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T04:46:31.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T04:46:31.550Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T04:46:31.561Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T04:46:31.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-17T04:46:31.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T04:46:31.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T04:46:31.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T04:46:31.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-17T04:46:31.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T04:46:31.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T04:46:31.667Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T04:46:31.680Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:46:31.692Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:46:31.708Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:46:31.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T04:46:31.733Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T04:46:31.744Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-17T04:46:31.758Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-17T04:46:31.769Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T04:46:31.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T04:46:31.795Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T04:46:31.806Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T04:46:31.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-17T04:46:31.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-17T04:46:31.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-17T04:46:31.861Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ece66f1c570f367a2f406d94221d9aee4294f1c [Pipeline] echo [2022-03-17T04:46:31.872Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ece66f [Pipeline] echo [2022-03-17T04:46:31.886Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:46:31.930Z] provisioning config files... [2022-03-17T04:46:31.944Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6713989495281563367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:46:32.278Z] ---> docker-login.sh [2022-03-17T04:46:32.278Z] nexus3.edgexfoundry.org:10001 [2022-03-17T04:46:32.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:32.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:32.539Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:32.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:32.539Z] [2022-03-17T04:46:32.539Z] Login Succeeded [2022-03-17T04:46:32.539Z] nexus3.edgexfoundry.org:10002 [2022-03-17T04:46:32.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:32.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:32.801Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:32.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:32.801Z] [2022-03-17T04:46:32.801Z] Login Succeeded [2022-03-17T04:46:32.801Z] nexus3.edgexfoundry.org:10003 [2022-03-17T04:46:32.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:32.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:32.801Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:32.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:32.801Z] [2022-03-17T04:46:32.801Z] Login Succeeded [2022-03-17T04:46:32.801Z] nexus3.edgexfoundry.org:10004 [2022-03-17T04:46:33.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:33.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:33.063Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:33.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:33.063Z] [2022-03-17T04:46:33.063Z] Login Succeeded [2022-03-17T04:46:33.063Z] docker.io [2022-03-17T04:46:33.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:33.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:33.635Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:33.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:33.635Z] [2022-03-17T04:46:33.635Z] Login Succeeded [2022-03-17T04:46:33.635Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T04:46:33.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T04:46:34.007Z] + git rev-list -1 --merges 8ece66f1c570f367a2f406d94221d9aee4294f1c~1..8ece66f1c570f367a2f406d94221d9aee4294f1c [Pipeline] echo [2022-03-17T04:46:34.126Z] -----------> git rev-list -1 --merges 8ece66f1c570f367a2f406d94221d9aee4294f1c~1..8ece66f1c570f367a2f406d94221d9aee4294f1c 8ece66f1c570f367a2f406d94221d9aee4294f1c [2022-03-17T04:46:34.126Z] 8ece66f1c570f367a2f406d94221d9aee4294f1c [false] [Pipeline] sh [2022-03-17T04:46:34.419Z] + git log --format=format:%s -1 8ece66f1c570f367a2f406d94221d9aee4294f1c [Pipeline] echo [2022-03-17T04:46:34.436Z] ========================================================= [2022-03-17T04:46:34.436Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T04:46:34.436Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T04:46:34.771Z] + git log --format=format:%s -1 8ece66f1c570f367a2f406d94221d9aee4294f1c [Pipeline] echo [2022-03-17T04:46:34.784Z] [semverPrep] GIT_COMMIT: 8ece66f1c570f367a2f406d94221d9aee4294f1c, Commit Message: Merge pull request #1108 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.6 [Pipeline] echo [2022-03-17T04:46:34.796Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T04:46:35.191Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T04:46:35.191Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T04:46:35.191Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T04:46:35.191Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T04:46:35.191Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T04:46:35.191Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T04:46:35.191Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:46:35.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:46:35.545Z] [2022-03-17T04:46:35.545Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:46:35.848Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:46:35.849Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T04:46:35.849Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T04:46:35.849Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T04:46:35.849Z] 4c7163046ea9: Pulling fs layer [2022-03-17T04:46:35.849Z] 0c2d73faf560: Pulling fs layer [2022-03-17T04:46:35.849Z] 3e5f54012d9b: Verifying Checksum [2022-03-17T04:46:35.849Z] 3e5f54012d9b: Download complete [2022-03-17T04:46:35.849Z] a0d0a0d46f8b: Download complete [2022-03-17T04:46:35.849Z] 0c2d73faf560: Verifying Checksum [2022-03-17T04:46:35.849Z] 0c2d73faf560: Download complete [2022-03-17T04:46:35.849Z] 4c7163046ea9: Verifying Checksum [2022-03-17T04:46:35.849Z] 4c7163046ea9: Download complete [2022-03-17T04:46:36.109Z] a0d0a0d46f8b: Pull complete [2022-03-17T04:46:36.109Z] 3e5f54012d9b: Pull complete [2022-03-17T04:46:36.370Z] 4c7163046ea9: Pull complete [2022-03-17T04:46:36.630Z] 0c2d73faf560: Pull complete [2022-03-17T04:46:36.630Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T04:46:36.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:46:36.630Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T04:46:36.700Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:46:36.724Z] $ 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-03-17T04:46:37.440Z] $ docker top 065e828a8b3369400607af3c1b3f769066bb2af6b8774298989ee550de4b4be5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T04:46:37.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:46:37.556Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:46:37.679Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:46:37.672Z] $ docker exec 065e828a8b3369400607af3c1b3f769066bb2af6b8774298989ee550de4b4be5 ssh-agent [2022-03-17T04:46:37.805Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMOHAJk/agent.14 [2022-03-17T04:46:37.805Z] SSH_AGENT_PID=20 [2022-03-17T04:46:37.814Z] Running ssh-add (command line suppressed) [2022-03-17T04:46:37.918Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_32681609859715790.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_32681609859715790.key) [2022-03-17T04:46:37.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:46:38.239Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T04:46:38.250Z] $ docker exec --env ******** --env ******** 065e828a8b3369400607af3c1b3f769066bb2af6b8774298989ee550de4b4be5 ssh-agent -k [2022-03-17T04:46:38.378Z] unset SSH_AUTH_SOCK; [2022-03-17T04:46:38.378Z] unset SSH_AGENT_PID; [2022-03-17T04:46:38.378Z] echo Agent pid 20 killed; [2022-03-17T04:46:38.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T04:46:38.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:46:38.420Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:46:38.538Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:46:38.531Z] $ docker exec 065e828a8b3369400607af3c1b3f769066bb2af6b8774298989ee550de4b4be5 ssh-agent [2022-03-17T04:46:38.667Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaGMadB/agent.54 [2022-03-17T04:46:38.667Z] SSH_AGENT_PID=60 [2022-03-17T04:46:38.673Z] Running ssh-add (command line suppressed) [2022-03-17T04:46:38.779Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8351054583657926320.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8351054583657926320.key) [2022-03-17T04:46:38.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:46:39.098Z] + git semver init [2022-03-17T04:46:39.098Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T04:46:39.098Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T04:46:39.098Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T04:46:39.098Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T04:46:39.098Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T04:46:39.098Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T04:46:39.098Z] # $SEMVER_BRANCH = main [2022-03-17T04:46:39.098Z] # $SEMVER_TEMP = /tmp/semver-878437722 [2022-03-17T04:46:39.098Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-17T04:46:40.487Z] # '/tmp/semver-878437722' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-03-17T04:46:40.488Z] # -> Force: false [2022-03-17T04:46:40.488Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-17T04:46:40.495Z] $ docker exec --env ******** --env ******** 065e828a8b3369400607af3c1b3f769066bb2af6b8774298989ee550de4b4be5 ssh-agent -k [2022-03-17T04:46:40.596Z] unset SSH_AUTH_SOCK; [2022-03-17T04:46:40.596Z] unset SSH_AGENT_PID; [2022-03-17T04:46:40.597Z] echo Agent pid 60 killed; [2022-03-17T04:46:40.616Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T04:46:40.926Z] + git semver [Pipeline] } [2022-03-17T04:46:40.934Z] $ docker stop --time=1 065e828a8b3369400607af3c1b3f769066bb2af6b8774298989ee550de4b4be5 [2022-03-17T04:46:42.335Z] $ docker rm -f 065e828a8b3369400607af3c1b3f769066bb2af6b8774298989ee550de4b4be5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:46:42.714Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T04:46:42.985Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T04:46:42.989Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.18 [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-03-17T04:46:43.097Z] provisioning config files... [2022-03-17T04:46:43.108Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7802790053008326793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:46:43.412Z] ---> docker-login.sh [2022-03-17T04:46:43.413Z] nexus3.edgexfoundry.org:10001 [2022-03-17T04:46:43.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:43.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:43.413Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:43.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:43.413Z] [2022-03-17T04:46:43.413Z] Login Succeeded [2022-03-17T04:46:43.413Z] nexus3.edgexfoundry.org:10002 [2022-03-17T04:46:43.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:43.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:43.673Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:43.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:43.673Z] [2022-03-17T04:46:43.673Z] Login Succeeded [2022-03-17T04:46:43.673Z] nexus3.edgexfoundry.org:10003 [2022-03-17T04:46:43.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:43.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:43.674Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:43.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:43.674Z] [2022-03-17T04:46:43.674Z] Login Succeeded [2022-03-17T04:46:43.674Z] nexus3.edgexfoundry.org:10004 [2022-03-17T04:46:43.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:43.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:43.939Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:43.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:43.939Z] [2022-03-17T04:46:43.939Z] Login Succeeded [2022-03-17T04:46:43.939Z] docker.io [2022-03-17T04:46:43.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:46:44.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:46:44.200Z] Configure a credential helper to remove this warning. See [2022-03-17T04:46:44.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:46:44.200Z] [2022-03-17T04:46:44.200Z] Login Succeeded [2022-03-17T04:46:44.200Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T04:46:44.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T04:46:44.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T04:46:44.290Z] ========================================================= [2022-03-17T04:46:44.290Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T04:46:44.290Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:46:44.606Z] + 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-03-17T04:46:44.606Z] Sending build context to Docker daemon 9.508MB [2022-03-17T04:46:44.606Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:46:44.606Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T04:46:44.606Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T04:46:44.606Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T04:46:44.606Z] 666ba61612fd: Pulling fs layer [2022-03-17T04:46:44.606Z] 8ed8ca486205: Pulling fs layer [2022-03-17T04:46:44.606Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T04:46:44.606Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T04:46:44.606Z] 640e595b4fbd: Pulling fs layer [2022-03-17T04:46:44.606Z] 763cafe07f6e: Pulling fs layer [2022-03-17T04:46:44.606Z] 4fe6c5a15a65: Waiting [2022-03-17T04:46:44.606Z] 22a0e8bec74d: Waiting [2022-03-17T04:46:44.606Z] 763cafe07f6e: Waiting [2022-03-17T04:46:44.606Z] 640e595b4fbd: Waiting [2022-03-17T04:46:44.606Z] 0c0b528cf693: Pulling fs layer [2022-03-17T04:46:44.606Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T04:46:44.606Z] 0c0b528cf693: Waiting [2022-03-17T04:46:44.606Z] 8ed8ca486205: Verifying Checksum [2022-03-17T04:46:44.606Z] 8ed8ca486205: Download complete [2022-03-17T04:46:44.606Z] 666ba61612fd: Verifying Checksum [2022-03-17T04:46:44.606Z] 666ba61612fd: Download complete [2022-03-17T04:46:44.869Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T04:46:44.869Z] 22a0e8bec74d: Download complete [2022-03-17T04:46:44.869Z] 640e595b4fbd: Verifying Checksum [2022-03-17T04:46:44.869Z] 640e595b4fbd: Download complete [2022-03-17T04:46:44.869Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T04:46:44.869Z] 59bf1c3509f3: Download complete [2022-03-17T04:46:44.869Z] 763cafe07f6e: Verifying Checksum [2022-03-17T04:46:44.869Z] 763cafe07f6e: Download complete [2022-03-17T04:46:44.869Z] 0c0b528cf693: Verifying Checksum [2022-03-17T04:46:44.869Z] 0c0b528cf693: Download complete [2022-03-17T04:46:44.869Z] 59bf1c3509f3: Pull complete [2022-03-17T04:46:45.135Z] 666ba61612fd: Pull complete [2022-03-17T04:46:45.135Z] 8ed8ca486205: Pull complete [2022-03-17T04:46:45.397Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T04:46:45.397Z] 10935f4eaf8b: Download complete [2022-03-17T04:46:45.397Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T04:46:45.397Z] 4fe6c5a15a65: Download complete [2022-03-17T04:46:49.596Z] 4fe6c5a15a65: Pull complete [2022-03-17T04:46:49.596Z] 22a0e8bec74d: Pull complete [2022-03-17T04:46:49.596Z] 640e595b4fbd: Pull complete [2022-03-17T04:46:49.596Z] 763cafe07f6e: Pull complete [2022-03-17T04:46:49.596Z] 0c0b528cf693: Pull complete [2022-03-17T04:46:52.136Z] 10935f4eaf8b: Pull complete [2022-03-17T04:46:52.136Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T04:46:52.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T04:46:52.136Z] ---> 99d49a6021b9 [2022-03-17T04:46:52.136Z] Step 3/11 : ARG MAKE=make build [2022-03-17T04:46:53.519Z] ---> Running in f942bcfc4b6a [2022-03-17T04:46:53.519Z] Removing intermediate container f942bcfc4b6a [2022-03-17T04:46:53.519Z] ---> 8b99b4e63fc5 [2022-03-17T04:46:53.519Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T04:46:53.519Z] ---> Running in 6f957d92d0f1 [2022-03-17T04:46:53.519Z] Removing intermediate container 6f957d92d0f1 [2022-03-17T04:46:53.519Z] ---> 84314c3e6413 [2022-03-17T04:46:53.519Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:46:53.519Z] ---> Running in 038b5909fe7f [2022-03-17T04:46:53.519Z] Removing intermediate container 038b5909fe7f [2022-03-17T04:46:53.519Z] ---> abec4c5e1c5b [2022-03-17T04:46:53.519Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:46:53.519Z] ---> Running in 372ff37fd8c1 [2022-03-17T04:46:54.090Z] Removing intermediate container 372ff37fd8c1 [2022-03-17T04:46:54.090Z] ---> 5f8061254575 [2022-03-17T04:46:54.090Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:46:54.090Z] ---> Running in fae77f4d4186 [2022-03-17T04:46:54.664Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:46:55.238Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:46:55.497Z] OK: 221 MiB in 52 packages [2022-03-17T04:46:56.066Z] Removing intermediate container fae77f4d4186 [2022-03-17T04:46:56.066Z] ---> 3d9e7919678b [2022-03-17T04:46:56.066Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T04:46:56.066Z] ---> 7cdb88eca1bf [2022-03-17T04:46:56.066Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:46:56.066Z] ---> Running in a7224987ade9 [2022-03-17T04:46:58.068Z] Still waiting to schedule task [2022-03-17T04:46:58.069Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7772’ [2022-03-17T04:47:22.645Z] Removing intermediate container a7224987ade9 [2022-03-17T04:47:22.645Z] ---> f3cc4c32c3e5 [2022-03-17T04:47:22.645Z] Step 10/11 : COPY . . [2022-03-17T04:47:22.645Z] ---> 75914edf5e2f [2022-03-17T04:47:22.645Z] Step 11/11 : RUN ${MAKE} [2022-03-17T04:47:22.645Z] ---> Running in 56f449abb371 [2022-03-17T04:47:22.645Z] noop [2022-03-17T04:47:22.645Z] Removing intermediate container 56f449abb371 [2022-03-17T04:47:22.645Z] ---> 1b413ccde4a0 [2022-03-17T04:47:22.645Z] Successfully built 1b413ccde4a0 [2022-03-17T04:47:22.645Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:47:22.940Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T04:47:22.940Z] . [Pipeline] withDockerContainer [2022-03-17T04:47:23.009Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:47:23.048Z] $ 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-03-17T04:47:23.411Z] $ docker top 84ac2d2bc317b538217a7e3d1ca6b2ec5c27c3d339954c63a8ebc20885b25fc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T04:47:23.760Z] + go version [2022-03-17T04:47:23.760Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T04:47:23.780Z] $ docker stop --time=1 84ac2d2bc317b538217a7e3d1ca6b2ec5c27c3d339954c63a8ebc20885b25fc7 [2022-03-17T04:47:25.049Z] $ docker rm -f 84ac2d2bc317b538217a7e3d1ca6b2ec5c27c3d339954c63a8ebc20885b25fc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:47:25.472Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T04:47:25.472Z] . [Pipeline] withDockerContainer [2022-03-17T04:47:25.558Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:47:25.670Z] $ 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-03-17T04:47:26.065Z] $ docker top 4094c206a69efb70474519a33db8dd150203bf263805e5d29c1ae7b58a349c1e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T04:47:26.427Z] + make test [2022-03-17T04:47:26.427Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T04:47:26.687Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.017s coverage: 23.3% of statements [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.012s coverage: 27.6% of statements [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.012s coverage: 78.9% of statements [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 10.8% of statements [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.015s coverage: 33.2% of statements [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.034s coverage: 86.1% of statements [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.015s coverage: 57.4% of statements [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.037s coverage: 89.2% of statements [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T04:47:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.010s coverage: 4.8% of statements [2022-03-17T04:47:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T04:47:40.088Z] GO111MODULE=on go vet ./... [2022-03-17T04:47:43.380Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T04:47:43.380Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T04:47:43.380Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T04:47:43.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T04:47:43.419Z] $ docker stop --time=1 4094c206a69efb70474519a33db8dd150203bf263805e5d29c1ae7b58a349c1e [2022-03-17T04:47:45.112Z] $ docker rm -f 4094c206a69efb70474519a33db8dd150203bf263805e5d29c1ae7b58a349c1e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:47:45.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T04:47:45.607Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T04:47:46.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T04:47:46.954Z] + ls -al . [2022-03-17T04:47:46.954Z] total 312 [2022-03-17T04:47:46.954Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 04:47 . [2022-03-17T04:47:46.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:46 .. [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:46 .dockerignore [2022-03-17T04:47:46.954Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:46 .git [2022-03-17T04:47:46.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:46 .github [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 04:46 .gitignore [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 04:46 .golangci.yml [2022-03-17T04:47:46.954Z] drwx------ 3 jenkins jenkins 4096 Mar 17 04:46 .semver [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 04:46 CHANGELOG.md [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 04:46 GOVERNANCE.md [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 04:46 Jenkinsfile [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:46 LICENSE [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 04:46 Makefile [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 04:46 OWNERS.md [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 04:46 README.md [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 04:46 VERSION [2022-03-17T04:47:46.954Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:46 bin [2022-03-17T04:47:46.954Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 04:47 coverage.out [2022-03-17T04:47:46.954Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:46 example [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 04:46 go.mod [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 49776 Mar 17 04:46 go.sum [2022-03-17T04:47:46.954Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 04:46 internal [2022-03-17T04:47:46.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:46 openapi [2022-03-17T04:47:46.954Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:46 pkg [2022-03-17T04:47:46.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:46 snap [2022-03-17T04:47:46.954Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:46 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:47:47.251Z] + 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=8ece66f1c570f367a2f406d94221d9aee4294f1c --label arch=amd64 --label version=2.2.0-dev.18 . [2022-03-17T04:47:47.251Z] Sending build context to Docker daemon 9.638MB [2022-03-17T04:47:47.251Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:47:47.251Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T04:47:47.251Z] ---> 1b413ccde4a0 [2022-03-17T04:47:47.251Z] Step 3/25 : ARG MAKE=make build [2022-03-17T04:47:47.510Z] ---> Running in 253fb41b1e17 [2022-03-17T04:47:47.510Z] Removing intermediate container 253fb41b1e17 [2022-03-17T04:47:47.510Z] ---> 727501c143d9 [2022-03-17T04:47:47.510Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T04:47:47.510Z] ---> Running in 840b7575a9d3 [2022-03-17T04:47:47.770Z] Removing intermediate container 840b7575a9d3 [2022-03-17T04:47:47.770Z] ---> 762bf221941d [2022-03-17T04:47:47.770Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:47:47.770Z] ---> Running in fb45430bd2f4 [2022-03-17T04:47:47.770Z] Removing intermediate container fb45430bd2f4 [2022-03-17T04:47:47.770Z] ---> 114e83771ac1 [2022-03-17T04:47:47.770Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:47:47.770Z] ---> Running in d5cef980aa27 [2022-03-17T04:47:48.340Z] Removing intermediate container d5cef980aa27 [2022-03-17T04:47:48.340Z] ---> 9d3ea8cf92f8 [2022-03-17T04:47:48.340Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:47:48.340Z] ---> Running in 472a7b473f1a [2022-03-17T04:47:48.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:47:49.479Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:47:49.740Z] OK: 221 MiB in 52 packages [2022-03-17T04:47:50.312Z] Removing intermediate container 472a7b473f1a [2022-03-17T04:47:50.312Z] ---> c3f6c6b37d98 [2022-03-17T04:47:50.312Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T04:47:50.633Z] ---> beca7773b31b [2022-03-17T04:47:50.633Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:47:50.634Z] ---> Running in 6caeebcfdc89 [2022-03-17T04:47:51.575Z] Removing intermediate container 6caeebcfdc89 [2022-03-17T04:47:51.575Z] ---> 749b2b13821c [2022-03-17T04:47:51.575Z] Step 10/25 : COPY . . [2022-03-17T04:47:51.835Z] ---> 9fc64408d2ae [2022-03-17T04:47:51.836Z] Step 11/25 : RUN ${MAKE} [2022-03-17T04:47:51.836Z] ---> Running in bb0c38a7d254 [2022-03-17T04:47:52.407Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.18" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T04:47:58.982Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T04:47:59.921Z] Removing intermediate container bb0c38a7d254 [2022-03-17T04:47:59.921Z] ---> 528824e24850 [2022-03-17T04:47:59.921Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T04:48:00.491Z] 3.14: Pulling from library/alpine [2022-03-17T04:48:00.491Z] 97518928ae5f: Pulling fs layer [2022-03-17T04:48:00.751Z] 97518928ae5f: Verifying Checksum [2022-03-17T04:48:00.751Z] 97518928ae5f: Download complete [2022-03-17T04:48:00.751Z] 97518928ae5f: Pull complete [2022-03-17T04:48:01.012Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T04:48:01.012Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T04:48:01.012Z] ---> 0a97eee8041e [2022-03-17T04:48:01.012Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:48:01.012Z] ---> Running in d855fc4df254 [2022-03-17T04:48:01.012Z] Removing intermediate container d855fc4df254 [2022-03-17T04:48:01.012Z] ---> 9a2277fe47c2 [2022-03-17T04:48:01.012Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:48:01.012Z] ---> Running in b8861c7ac4fb [2022-03-17T04:48:01.583Z] Removing intermediate container b8861c7ac4fb [2022-03-17T04:48:01.583Z] ---> 9cd8acacb1ea [2022-03-17T04:48:01.583Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T04:48:01.583Z] ---> Running in c09e75be17ba [2022-03-17T04:48:01.844Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:48:02.788Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:48:03.046Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T04:48:03.046Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T04:48:03.306Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T04:48:03.306Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T04:48:03.306Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T04:48:03.565Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T04:48:03.565Z] OK: 8 MiB in 19 packages [2022-03-17T04:48:04.138Z] Removing intermediate container c09e75be17ba [2022-03-17T04:48:04.138Z] ---> 167cfdc5f713 [2022-03-17T04:48:04.138Z] Step 16/25 : WORKDIR / [2022-03-17T04:48:04.138Z] ---> Running in 6ff6e25210ea [2022-03-17T04:48:04.138Z] Removing intermediate container 6ff6e25210ea [2022-03-17T04:48:04.138Z] ---> 0bccf6fcf1b9 [2022-03-17T04:48:04.138Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T04:48:04.397Z] ---> da68367683ed [2022-03-17T04:48:04.397Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T04:48:04.969Z] ---> 8b4e16b57cb1 [2022-03-17T04:48:04.969Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T04:48:05.230Z] ---> 77b796f7ee22 [2022-03-17T04:48:05.230Z] Step 20/25 : EXPOSE 59999 [2022-03-17T04:48:05.230Z] ---> Running in 9da3c25a2cff [2022-03-17T04:48:05.490Z] Removing intermediate container 9da3c25a2cff [2022-03-17T04:48:05.490Z] ---> 398098a314a7 [2022-03-17T04:48:05.490Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T04:48:05.490Z] ---> Running in 1a1ffe5a9bab [2022-03-17T04:48:05.490Z] Removing intermediate container 1a1ffe5a9bab [2022-03-17T04:48:05.490Z] ---> 1210a4c50a4c [2022-03-17T04:48:05.490Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T04:48:05.490Z] ---> Running in d95bc1440547 [2022-03-17T04:48:05.751Z] Removing intermediate container d95bc1440547 [2022-03-17T04:48:05.751Z] ---> a92a7220ef88 [2022-03-17T04:48:05.751Z] Step 23/25 : LABEL arch=amd64 [2022-03-17T04:48:05.751Z] ---> Running in 38a5d121e9ce [2022-03-17T04:48:05.751Z] Removing intermediate container 38a5d121e9ce [2022-03-17T04:48:05.751Z] ---> 779ff2a197be [2022-03-17T04:48:05.751Z] Step 24/25 : LABEL git_sha=8ece66f1c570f367a2f406d94221d9aee4294f1c [2022-03-17T04:48:05.751Z] ---> Running in 08091fb36830 [2022-03-17T04:48:06.010Z] Removing intermediate container 08091fb36830 [2022-03-17T04:48:06.010Z] ---> 920b862e0bec [2022-03-17T04:48:06.010Z] Step 25/25 : LABEL version=2.2.0-dev.18 [2022-03-17T04:48:06.010Z] ---> Running in 5956190ec41e [2022-03-17T04:48:06.010Z] Removing intermediate container 5956190ec41e [2022-03-17T04:48:06.010Z] ---> 092b436b6a9a [2022-03-17T04:48:06.010Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T04:48:06.010Z] Successfully built 092b436b6a9a [2022-03-17T04:48:06.010Z] 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-03-17T04:48:06.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:48:06.386Z] [2022-03-17T04:48:06.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:48:06.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:48:06.686Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T04:48:06.686Z] 5eb5b503b376: Pulling fs layer [2022-03-17T04:48:06.686Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T04:48:06.686Z] ec43610c2a17: Pulling fs layer [2022-03-17T04:48:06.686Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T04:48:06.686Z] 33b1e0a273af: Pulling fs layer [2022-03-17T04:48:06.686Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T04:48:06.686Z] 2f39f015ded8: Pulling fs layer [2022-03-17T04:48:06.686Z] 33b1e0a273af: Waiting [2022-03-17T04:48:06.686Z] 5d3b04190fa2: Waiting [2022-03-17T04:48:06.686Z] 2f39f015ded8: Waiting [2022-03-17T04:48:06.686Z] 5c69ac0246d0: Verifying Checksum [2022-03-17T04:48:06.686Z] 5c69ac0246d0: Download complete [2022-03-17T04:48:06.686Z] 3a2ae6a8a46f: Download complete [2022-03-17T04:48:06.686Z] 33b1e0a273af: Verifying Checksum [2022-03-17T04:48:06.686Z] 33b1e0a273af: Download complete [2022-03-17T04:48:06.686Z] 5d3b04190fa2: Download complete [2022-03-17T04:48:06.686Z] ec43610c2a17: Verifying Checksum [2022-03-17T04:48:06.686Z] ec43610c2a17: Download complete [2022-03-17T04:48:06.946Z] 5eb5b503b376: Verifying Checksum [2022-03-17T04:48:06.946Z] 5eb5b503b376: Download complete [2022-03-17T04:48:07.514Z] 2f39f015ded8: Download complete [2022-03-17T04:48:08.081Z] 5eb5b503b376: Pull complete [2022-03-17T04:48:08.344Z] 5c69ac0246d0: Pull complete [2022-03-17T04:48:08.602Z] ec43610c2a17: Pull complete [2022-03-17T04:48:08.861Z] 3a2ae6a8a46f: Pull complete [2022-03-17T04:48:08.861Z] 33b1e0a273af: Pull complete [2022-03-17T04:48:09.121Z] 5d3b04190fa2: Pull complete [2022-03-17T04:48:13.311Z] 2f39f015ded8: Pull complete [2022-03-17T04:48:13.311Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T04:48:13.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:48:13.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T04:48:13.375Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:48:13.416Z] $ 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-03-17T04:48:15.196Z] $ docker top 170d7c48b636a2cec8c2bf2cfc5e5fe02e871cee65cddfdfa9bf22bebcc508f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:48:15.586Z] ---> job-cost.sh [2022-03-17T04:48:15.586Z] lf-activate-venv: SKIPPING [2022-03-17T04:48:15.586Z] INFO: No Stack... [2022-03-17T04:48:15.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T04:48:16.416Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T04:48:16.708Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-03-17T04:48:16.708Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T04:48:16.722Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-51-stack-cost] [2022-03-17T04:48:16.728Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-51-stack-cost] did not exist. Created. [2022-03-17T04:48:16.728Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T04:48:17.030Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T04:48:17.057Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T04:48:17.066Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T04:48:17.097Z] $ docker stop --time=1 170d7c48b636a2cec8c2bf2cfc5e5fe02e871cee65cddfdfa9bf22bebcc508f9 [2022-03-17T04:48:18.255Z] $ docker rm -f 170d7c48b636a2cec8c2bf2cfc5e5fe02e871cee65cddfdfa9bf22bebcc508f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T04:49:35.059Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7778 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-03-17T04:49:35.074Z] Running in /w/workspace/device-sdk-go/51 [Pipeline] { [Pipeline] checkout [2022-03-17T04:49:35.660Z] The recommended git tool is: git [2022-03-17T04:49:43.014Z] using credential edgex-jenkins-ssh [2022-03-17T04:49:43.041Z] Cloning the remote Git repository [2022-03-17T04:49:43.131Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T04:49:43.246Z] > git init /w/workspace/device-sdk-go/51 # timeout=10 [2022-03-17T04:49:43.373Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T04:49:43.374Z] > git --version # timeout=10 [2022-03-17T04:49:43.489Z] > git --version # 'git version 2.25.1' [2022-03-17T04:49:43.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T04:49:43.633Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T04:49:46.053Z] Avoid second fetch [2022-03-17T04:49:46.053Z] Checking out Revision 8ece66f1c570f367a2f406d94221d9aee4294f1c (main) [2022-03-17T04:49:45.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-17T04:49:46.012Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T04:49:46.092Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T04:49:46.140Z] > git checkout -f 8ece66f1c570f367a2f406d94221d9aee4294f1c # timeout=10 [2022-03-17T04:49:50.887Z] Commit message: "Merge pull request #1108 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T04:49:51.735Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T04:49:51.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T04:49:51.735Z] Dload Upload Total Spent Left Speed [2022-03-17T04:49:51.735Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-03-17T04:49:52.282Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T04:49:52.627Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-03-17T04:49:52.627Z] sudo tee /etc/docker/daemon.new [2022-03-17T04:49:52.627Z] { [2022-03-17T04:49:52.627Z] "registry-mirrors": [ [2022-03-17T04:49:52.627Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T04:49:52.627Z] ], [2022-03-17T04:49:52.627Z] "bip": "10.250.0.254/24", [2022-03-17T04:49:52.627Z] "hosts": [ [2022-03-17T04:49:52.627Z] "tcp://0.0.0.0:5555", [2022-03-17T04:49:52.627Z] "unix:///var/run/docker.sock" [2022-03-17T04:49:52.627Z] ], [2022-03-17T04:49:52.627Z] "mtu": 1458, [2022-03-17T04:49:52.627Z] "selinux-enabled": true, [2022-03-17T04:49:52.627Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T04:49:52.627Z] } [Pipeline] sh [2022-03-17T04:49:53.004Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T04:49:53.371Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:50:11.737Z] provisioning config files... [2022-03-17T04:50:11.765Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/51@tmp/config6292742611574034057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:50:12.132Z] ---> docker-login.sh [2022-03-17T04:50:12.132Z] nexus3.edgexfoundry.org:10001 [2022-03-17T04:50:12.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:50:13.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:50:13.004Z] Configure a credential helper to remove this warning. See [2022-03-17T04:50:13.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:50:13.004Z] [2022-03-17T04:50:13.004Z] Login Succeeded [2022-03-17T04:50:13.004Z] nexus3.edgexfoundry.org:10002 [2022-03-17T04:50:13.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:50:13.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:50:13.281Z] Configure a credential helper to remove this warning. See [2022-03-17T04:50:13.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:50:13.281Z] [2022-03-17T04:50:13.281Z] Login Succeeded [2022-03-17T04:50:13.281Z] nexus3.edgexfoundry.org:10003 [2022-03-17T04:50:13.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:50:13.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:50:13.878Z] Configure a credential helper to remove this warning. See [2022-03-17T04:50:13.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:50:13.878Z] [2022-03-17T04:50:13.878Z] Login Succeeded [2022-03-17T04:50:13.878Z] nexus3.edgexfoundry.org:10004 [2022-03-17T04:50:14.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:50:14.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:50:14.423Z] Configure a credential helper to remove this warning. See [2022-03-17T04:50:14.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:50:14.423Z] [2022-03-17T04:50:14.423Z] Login Succeeded [2022-03-17T04:50:14.423Z] docker.io [2022-03-17T04:50:14.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:50:15.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:50:15.008Z] Configure a credential helper to remove this warning. See [2022-03-17T04:50:15.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:50:15.008Z] [2022-03-17T04:50:15.008Z] Login Succeeded [2022-03-17T04:50:15.008Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T04:50:15.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T04:50:15.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T04:50:15.742Z] ========================================================= [2022-03-17T04:50:15.742Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T04:50:15.742Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:50:16.092Z] + 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-03-17T04:50:16.688Z] Sending build context to Docker daemon 5.14MB [2022-03-17T04:50:16.688Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:50:16.688Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T04:50:16.688Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T04:50:16.688Z] 9b3977197b4f: Pulling fs layer [2022-03-17T04:50:16.688Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T04:50:16.688Z] 94645a83ff95: Pulling fs layer [2022-03-17T04:50:16.688Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T04:50:16.688Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T04:50:16.688Z] f7c0051592d6: Pulling fs layer [2022-03-17T04:50:16.688Z] a227ed2f7395: Pulling fs layer [2022-03-17T04:50:16.688Z] 7b1c46037f91: Pulling fs layer [2022-03-17T04:50:16.688Z] a227ed2f7395: Waiting [2022-03-17T04:50:16.688Z] 0c92f367c5e7: Waiting [2022-03-17T04:50:16.688Z] f7c0051592d6: Waiting [2022-03-17T04:50:16.688Z] 7b1c46037f91: Waiting [2022-03-17T04:50:16.688Z] 3f3a8bcf1eab: Waiting [2022-03-17T04:50:16.688Z] 94645a83ff95: Verifying Checksum [2022-03-17T04:50:16.688Z] 94645a83ff95: Download complete [2022-03-17T04:50:16.688Z] 1a89e8eeedd5: Verifying Checksum [2022-03-17T04:50:16.688Z] 1a89e8eeedd5: Download complete [2022-03-17T04:50:16.688Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T04:50:16.688Z] 0c92f367c5e7: Download complete [2022-03-17T04:50:16.688Z] f7c0051592d6: Verifying Checksum [2022-03-17T04:50:16.688Z] f7c0051592d6: Download complete [2022-03-17T04:50:16.968Z] 9b3977197b4f: Verifying Checksum [2022-03-17T04:50:16.968Z] 9b3977197b4f: Download complete [2022-03-17T04:50:16.968Z] a227ed2f7395: Verifying Checksum [2022-03-17T04:50:16.968Z] a227ed2f7395: Download complete [2022-03-17T04:50:17.575Z] 9b3977197b4f: Pull complete [2022-03-17T04:50:18.187Z] 1a89e8eeedd5: Pull complete [2022-03-17T04:50:18.799Z] 94645a83ff95: Pull complete [2022-03-17T04:50:19.072Z] 7b1c46037f91: Verifying Checksum [2022-03-17T04:50:19.072Z] 7b1c46037f91: Download complete [2022-03-17T04:50:19.351Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T04:50:19.351Z] 3f3a8bcf1eab: Download complete [2022-03-17T04:50:31.776Z] 3f3a8bcf1eab: Pull complete [2022-03-17T04:50:32.054Z] 0c92f367c5e7: Pull complete [2022-03-17T04:50:32.330Z] f7c0051592d6: Pull complete [2022-03-17T04:50:32.607Z] a227ed2f7395: Pull complete [2022-03-17T04:50:39.352Z] 7b1c46037f91: Pull complete [2022-03-17T04:50:39.352Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T04:50:39.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T04:50:39.352Z] ---> f79e39bc4007 [2022-03-17T04:50:39.352Z] Step 3/11 : ARG MAKE=make build [2022-03-17T04:50:40.800Z] ---> Running in 26075bb11686 [2022-03-17T04:50:41.075Z] Removing intermediate container 26075bb11686 [2022-03-17T04:50:41.075Z] ---> df4369048325 [2022-03-17T04:50:41.075Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T04:50:41.347Z] ---> Running in 17e4bb149bb5 [2022-03-17T04:50:41.622Z] Removing intermediate container 17e4bb149bb5 [2022-03-17T04:50:41.622Z] ---> 39263896c91c [2022-03-17T04:50:41.622Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:50:41.622Z] ---> Running in e982f21b8475 [2022-03-17T04:50:41.898Z] Removing intermediate container e982f21b8475 [2022-03-17T04:50:41.898Z] ---> 887f96dc4975 [2022-03-17T04:50:41.898Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:50:42.174Z] ---> Running in 7b59dca1f154 [2022-03-17T04:50:44.159Z] Removing intermediate container 7b59dca1f154 [2022-03-17T04:50:44.159Z] ---> 4673886a67c0 [2022-03-17T04:50:44.159Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:50:44.159Z] ---> Running in c2f284e0a485 [2022-03-17T04:50:45.149Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T04:50:45.753Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T04:50:46.736Z] OK: 220 MiB in 52 packages [2022-03-17T04:50:47.725Z] Removing intermediate container c2f284e0a485 [2022-03-17T04:50:47.725Z] ---> b12b78644a86 [2022-03-17T04:50:47.725Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T04:50:50.368Z] ---> 34afd88d5b6f [2022-03-17T04:50:50.368Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:50:50.368Z] ---> Running in 174fd85ed6a8 [2022-03-17T04:52:12.193Z] Removing intermediate container 174fd85ed6a8 [2022-03-17T04:52:12.193Z] ---> b17b7e9a84b8 [2022-03-17T04:52:12.193Z] Step 10/11 : COPY . . [2022-03-17T04:52:12.193Z] ---> da2405d6861c [2022-03-17T04:52:12.193Z] Step 11/11 : RUN ${MAKE} [2022-03-17T04:52:12.193Z] ---> Running in b9d37baec8cd [2022-03-17T04:52:12.193Z] noop [2022-03-17T04:52:12.193Z] Removing intermediate container b9d37baec8cd [2022-03-17T04:52:12.193Z] ---> 81b83427948f [2022-03-17T04:52:12.193Z] Successfully built 81b83427948f [2022-03-17T04:52:12.193Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:52:12.554Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T04:52:12.554Z] . [Pipeline] withDockerContainer [2022-03-17T04:52:12.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-7778 does not seem to be running inside a container [2022-03-17T04:52:12.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/51 -v /w/workspace/device-sdk-go/51:/w/workspace/device-sdk-go/51:rw,z -v /w/workspace/device-sdk-go/51@tmp:/w/workspace/device-sdk-go/51@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-03-17T04:52:14.347Z] $ docker top 2a5f4c9e9069350872638eb49ee517d8679b63046a342a4e4aacd7459edf871e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T04:52:15.307Z] + go version [2022-03-17T04:52:15.307Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T04:52:15.336Z] $ docker stop --time=1 2a5f4c9e9069350872638eb49ee517d8679b63046a342a4e4aacd7459edf871e [2022-03-17T04:52:17.048Z] $ docker rm -f 2a5f4c9e9069350872638eb49ee517d8679b63046a342a4e4aacd7459edf871e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:52:17.673Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T04:52:17.673Z] . [Pipeline] withDockerContainer [2022-03-17T04:52:17.914Z] prd-ubuntu20.04-docker-arm64-4c-16g-7778 does not seem to be running inside a container [2022-03-17T04:52:18.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/51 -v /w/workspace/device-sdk-go/51:/w/workspace/device-sdk-go/51:rw,z -v /w/workspace/device-sdk-go/51@tmp:/w/workspace/device-sdk-go/51@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-03-17T04:52:19.367Z] $ docker top ddeab3f8df19bc8fc0fc6d70eff8e6b64af973edbacd86b0e855bf7b742deb5a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T04:52:20.345Z] + make test [2022-03-17T04:52:20.345Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T04:52:21.797Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T04:53:18.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T04:53:18.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T04:53:18.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T04:53:25.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.092s coverage: 23.3% of statements [2022-03-17T04:53:25.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T04:53:25.219Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.129s coverage: 27.6% of statements [2022-03-17T04:53:25.219Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2022-03-17T04:53:25.219Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.085s coverage: 10.8% of statements [2022-03-17T04:53:25.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T04:53:25.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T04:53:25.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T04:53:26.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 33.2% of statements [2022-03-17T04:53:26.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T04:53:27.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.142s coverage: 86.1% of statements [2022-03-17T04:53:27.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T04:53:27.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T04:53:27.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.203s coverage: 57.4% of statements [2022-03-17T04:53:28.289Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.187s coverage: 89.2% of statements [2022-03-17T04:53:28.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T04:53:30.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements [2022-03-17T04:53:30.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T04:53:30.875Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-17T04:53:30.875Z] GO111MODULE=on go vet ./... [2022-03-17T04:53:53.078Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T04:53:53.078Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T04:53:53.078Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T04:53:54.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T04:53:54.568Z] $ docker stop --time=1 ddeab3f8df19bc8fc0fc6d70eff8e6b64af973edbacd86b0e855bf7b742deb5a [2022-03-17T04:53:56.444Z] $ docker rm -f ddeab3f8df19bc8fc0fc6d70eff8e6b64af973edbacd86b0e855bf7b742deb5a [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:53:57.384Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T04:53:57.406Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T04:53:58.080Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T04:53:58.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T04:53:58.807Z] + ls -al . [2022-03-17T04:53:58.807Z] total 308 [2022-03-17T04:53:58.807Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 04:53 . [2022-03-17T04:53:58.807Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:49 .. [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:49 .dockerignore [2022-03-17T04:53:58.807Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:49 .git [2022-03-17T04:53:58.807Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:49 .github [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 04:49 .gitignore [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 04:49 .golangci.yml [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 04:49 CHANGELOG.md [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 04:49 GOVERNANCE.md [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 04:49 Jenkinsfile [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:49 LICENSE [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 04:49 Makefile [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 04:49 OWNERS.md [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 04:49 README.md [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 04:46 VERSION [2022-03-17T04:53:58.807Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:49 bin [2022-03-17T04:53:58.807Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 04:53 coverage.out [2022-03-17T04:53:58.807Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:49 example [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 04:49 go.mod [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 49776 Mar 17 04:49 go.sum [2022-03-17T04:53:58.807Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 04:49 internal [2022-03-17T04:53:58.807Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:49 openapi [2022-03-17T04:53:58.807Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:49 pkg [2022-03-17T04:53:58.807Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:49 snap [2022-03-17T04:53:58.807Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:53:59.164Z] + 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=8ece66f1c570f367a2f406d94221d9aee4294f1c --label arch=arm64 --label version=2.2.0-dev.18 . [2022-03-17T04:53:59.763Z] Sending build context to Docker daemon 5.27MB [2022-03-17T04:53:59.763Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:53:59.763Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T04:53:59.763Z] ---> 81b83427948f [2022-03-17T04:53:59.763Z] Step 3/25 : ARG MAKE=make build [2022-03-17T04:53:59.763Z] ---> Running in 56fb70e868ec [2022-03-17T04:54:00.371Z] Removing intermediate container 56fb70e868ec [2022-03-17T04:54:00.371Z] ---> bb4415562944 [2022-03-17T04:54:00.371Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T04:54:00.371Z] ---> Running in 3dda46b90bd6 [2022-03-17T04:54:00.648Z] Removing intermediate container 3dda46b90bd6 [2022-03-17T04:54:00.648Z] ---> d707c94ada33 [2022-03-17T04:54:00.648Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:54:00.648Z] ---> Running in 2858298deab2 [2022-03-17T04:54:01.247Z] Removing intermediate container 2858298deab2 [2022-03-17T04:54:01.247Z] ---> b5c1d5208664 [2022-03-17T04:54:01.247Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:54:01.247Z] ---> Running in b3d242c4b74c [2022-03-17T04:54:03.228Z] Removing intermediate container b3d242c4b74c [2022-03-17T04:54:03.228Z] ---> b5a07159fcfd [2022-03-17T04:54:03.228Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:54:03.228Z] ---> Running in 35f73069d55b [2022-03-17T04:54:04.209Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T04:54:05.192Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T04:54:06.176Z] OK: 220 MiB in 52 packages [2022-03-17T04:54:07.165Z] Removing intermediate container 35f73069d55b [2022-03-17T04:54:07.165Z] ---> fcd7a1d28e5b [2022-03-17T04:54:07.165Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T04:54:07.766Z] ---> f14b51b90e10 [2022-03-17T04:54:07.766Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:54:07.766Z] ---> Running in 4a42ef832663 [2022-03-17T04:54:10.400Z] Removing intermediate container 4a42ef832663 [2022-03-17T04:54:10.400Z] ---> f5181c68b0c6 [2022-03-17T04:54:10.400Z] Step 10/25 : COPY . . [2022-03-17T04:54:11.389Z] ---> ea8666107269 [2022-03-17T04:54:11.389Z] Step 11/25 : RUN ${MAKE} [2022-03-17T04:54:11.389Z] ---> Running in cfc09328cf9a [2022-03-17T04:54:12.834Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.18" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T04:54:59.901Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T04:54:59.901Z] Removing intermediate container cfc09328cf9a [2022-03-17T04:54:59.901Z] ---> 2ff3b7b069a4 [2022-03-17T04:54:59.901Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T04:54:59.901Z] 3.14: Pulling from library/alpine [2022-03-17T04:54:59.901Z] be307f383ecc: Pulling fs layer [2022-03-17T04:54:59.901Z] be307f383ecc: Verifying Checksum [2022-03-17T04:54:59.901Z] be307f383ecc: Download complete [2022-03-17T04:55:00.500Z] be307f383ecc: Pull complete [2022-03-17T04:55:00.500Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T04:55:00.500Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T04:55:00.500Z] ---> 5b8b7b635229 [2022-03-17T04:55:00.500Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:55:00.500Z] ---> Running in e073c3ccc67a [2022-03-17T04:55:00.782Z] Removing intermediate container e073c3ccc67a [2022-03-17T04:55:00.782Z] ---> dc5111f0d1fc [2022-03-17T04:55:00.782Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:55:00.782Z] ---> Running in 7f3466386040 [2022-03-17T04:55:02.780Z] Removing intermediate container 7f3466386040 [2022-03-17T04:55:02.780Z] ---> 36d3b7333560 [2022-03-17T04:55:02.780Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T04:55:02.780Z] ---> Running in 19674821b520 [2022-03-17T04:55:03.763Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T04:55:04.361Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T04:55:05.342Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T04:55:05.342Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T04:55:05.615Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T04:55:05.615Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T04:55:05.892Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T04:55:05.892Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T04:55:05.892Z] OK: 8 MiB in 19 packages [2022-03-17T04:55:06.879Z] Removing intermediate container 19674821b520 [2022-03-17T04:55:06.879Z] ---> 6f8fd7102f79 [2022-03-17T04:55:06.879Z] Step 16/25 : WORKDIR / [2022-03-17T04:55:06.879Z] ---> Running in b295a0277d04 [2022-03-17T04:55:07.153Z] Removing intermediate container b295a0277d04 [2022-03-17T04:55:07.153Z] ---> 6b8b497f91af [2022-03-17T04:55:07.154Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T04:55:07.764Z] ---> 27580dc8db33 [2022-03-17T04:55:07.764Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T04:55:08.747Z] ---> cacd230f7b61 [2022-03-17T04:55:08.747Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T04:55:09.346Z] ---> 331479424488 [2022-03-17T04:55:09.346Z] Step 20/25 : EXPOSE 59999 [2022-03-17T04:55:09.346Z] ---> Running in daad389475d9 [2022-03-17T04:55:09.623Z] Removing intermediate container daad389475d9 [2022-03-17T04:55:09.623Z] ---> 2bbbc263eaba [2022-03-17T04:55:09.623Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T04:55:09.902Z] ---> Running in 878b20fec31e [2022-03-17T04:55:10.177Z] Removing intermediate container 878b20fec31e [2022-03-17T04:55:10.177Z] ---> 0ee521f422ce [2022-03-17T04:55:10.177Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T04:55:10.177Z] ---> Running in 4310f154264a [2022-03-17T04:55:10.454Z] Removing intermediate container 4310f154264a [2022-03-17T04:55:10.454Z] ---> 7163a9806544 [2022-03-17T04:55:10.454Z] Step 23/25 : LABEL arch=arm64 [2022-03-17T04:55:10.454Z] ---> Running in 0fb68ba7887d [2022-03-17T04:55:10.733Z] Removing intermediate container 0fb68ba7887d [2022-03-17T04:55:10.733Z] ---> 7e4f74f62aab [2022-03-17T04:55:10.733Z] Step 24/25 : LABEL git_sha=8ece66f1c570f367a2f406d94221d9aee4294f1c [2022-03-17T04:55:11.011Z] ---> Running in 77c28ce14aba [2022-03-17T04:55:11.287Z] Removing intermediate container 77c28ce14aba [2022-03-17T04:55:11.287Z] ---> 141bdee187b5 [2022-03-17T04:55:11.287Z] Step 25/25 : LABEL version=2.2.0-dev.18 [2022-03-17T04:55:11.287Z] ---> Running in e71ae2b7e63e [2022-03-17T04:55:11.559Z] Removing intermediate container e71ae2b7e63e [2022-03-17T04:55:11.559Z] ---> 6b14f1983b24 [2022-03-17T04:55:11.559Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T04:55:11.559Z] Successfully built 6b14f1983b24 [2022-03-17T04:55:11.559Z] 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-03-17T04:55:12.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T04:55:12.004Z] [2022-03-17T04:55:12.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:55:12.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T04:55:12.637Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T04:55:12.637Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T04:55:12.637Z] 04944245beec: Pulling fs layer [2022-03-17T04:55:12.637Z] 699f458cf7ca: Pulling fs layer [2022-03-17T04:55:12.637Z] 765212b225bb: Pulling fs layer [2022-03-17T04:55:12.637Z] f23df028b6ca: Pulling fs layer [2022-03-17T04:55:12.637Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T04:55:12.637Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T04:55:12.637Z] f23df028b6ca: Waiting [2022-03-17T04:55:12.637Z] d65c8cfc05b1: Waiting [2022-03-17T04:55:12.637Z] 2437ff75d9bd: Waiting [2022-03-17T04:55:12.637Z] 765212b225bb: Waiting [2022-03-17T04:55:12.637Z] 04944245beec: Verifying Checksum [2022-03-17T04:55:12.637Z] 04944245beec: Download complete [2022-03-17T04:55:12.637Z] 765212b225bb: Verifying Checksum [2022-03-17T04:55:12.637Z] 765212b225bb: Download complete [2022-03-17T04:55:12.637Z] f23df028b6ca: Verifying Checksum [2022-03-17T04:55:12.637Z] f23df028b6ca: Download complete [2022-03-17T04:55:12.637Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T04:55:12.637Z] d65c8cfc05b1: Download complete [2022-03-17T04:55:12.912Z] 699f458cf7ca: Verifying Checksum [2022-03-17T04:55:12.912Z] 699f458cf7ca: Download complete [2022-03-17T04:55:13.186Z] 8998bd30e6a1: Download complete [2022-03-17T04:55:15.811Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T04:55:15.811Z] 2437ff75d9bd: Download complete [2022-03-17T04:55:17.250Z] 8998bd30e6a1: Pull complete [2022-03-17T04:55:17.848Z] 04944245beec: Pull complete [2022-03-17T04:55:19.283Z] 699f458cf7ca: Pull complete [2022-03-17T04:55:19.283Z] 765212b225bb: Pull complete [2022-03-17T04:55:20.265Z] f23df028b6ca: Pull complete [2022-03-17T04:55:20.265Z] d65c8cfc05b1: Pull complete [2022-03-17T04:55:35.366Z] 2437ff75d9bd: Pull complete [2022-03-17T04:55:35.366Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T04:55:35.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T04:55:35.366Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T04:55:35.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-7778 does not seem to be running inside a container [2022-03-17T04:55:35.712Z] $ 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/51 -v /w/workspace/device-sdk-go/51:/w/workspace/device-sdk-go/51:rw,z -v /w/workspace/device-sdk-go/51@tmp:/w/workspace/device-sdk-go/51@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-03-17T04:55:38.430Z] $ docker top d895c8cd394f350b81b09acc992760f56decc32d3ee4841fe26a2540a0ca0cfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:55:39.391Z] ---> job-cost.sh [2022-03-17T04:55:39.391Z] lf-activate-venv: SKIPPING [2022-03-17T04:55:39.391Z] INFO: No Stack... [2022-03-17T04:55:39.987Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T04:55:40.588Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T04:55:41.541Z] + cat /w/workspace/device-sdk-go/51/archives/cost.csv [2022-03-17T04:55:41.541Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T04:55:41.609Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-51-stack-cost] [2022-03-17T04:55:41.615Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-51-stack-cost] did not exist. Created. [2022-03-17T04:55:41.616Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T04:55:42.302Z] /w/workspace/device-sdk-go/51@tmp/durable-994a1cb7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T04:55:42.991Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T04:55:43.013Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T04:55:43.085Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T04:55:43.092Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T04:55:43.112Z] $ docker stop --time=1 d895c8cd394f350b81b09acc992760f56decc32d3ee4841fe26a2540a0ca0cfc [2022-03-17T04:55:44.592Z] $ docker rm -f d895c8cd394f350b81b09acc992760f56decc32d3ee4841fe26a2540a0ca0cfc [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-03-17T04:55:45.038Z] provisioning config files... [2022-03-17T04:55:45.062Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7524465385724866633tmp [Pipeline] { [Pipeline] sh [2022-03-17T04:55:45.487Z] + set +x [2022-03-17T04:55:45.487Z] + curl -s https://codecov.io/bash [2022-03-17T04:55:45.487Z] + bash -s -- [2022-03-17T04:55:45.487Z] [2022-03-17T04:55:45.487Z] _____ _ [2022-03-17T04:55:45.487Z] / ____| | | [2022-03-17T04:55:45.487Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T04:55:45.487Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T04:55:45.487Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T04:55:45.487Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T04:55:45.487Z] Bash-1.0.6 [2022-03-17T04:55:45.487Z] [2022-03-17T04:55:45.487Z] [2022-03-17T04:55:45.487Z] ==> git version 2.25.1 found [2022-03-17T04:55:45.487Z] ==> 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-03-17T04:55:45.487Z] Release-Date: 2020-01-08 [2022-03-17T04:55:45.487Z] 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-03-17T04:55:45.487Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T04:55:45.487Z] ==> Jenkins CI detected. [2022-03-17T04:55:45.487Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T04:55:45.487Z] project root: . [2022-03-17T04:55:45.487Z] --> token set from env [2022-03-17T04:55:45.487Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T04:55:45.487Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T04:55:45.487Z] ==> Python coveragepy not found [2022-03-17T04:55:45.487Z] ==> Searching for coverage reports in: [2022-03-17T04:55:45.487Z] + . [2022-03-17T04:55:45.487Z] -> Found 1 reports [2022-03-17T04:55:45.487Z] ==> Detecting git/mercurial file structure [2022-03-17T04:55:45.487Z] ==> Reading reports [2022-03-17T04:55:45.487Z] + ./coverage.out bytes=129001 [2022-03-17T04:55:45.487Z] ==> Appending adjustments [2022-03-17T04:55:45.487Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T04:55:45.779Z] + Found adjustments [2022-03-17T04:55:45.779Z] ==> Gzipping contents [2022-03-17T04:55:45.779Z] 16K /tmp/codecov.mhz0Io.gz [2022-03-17T04:55:45.779Z] ==> Uploading reports [2022-03-17T04:55:45.779Z] url: https://codecov.io [2022-03-17T04:55:45.779Z] query: branch=main&commit=8ece66f1c570f367a2f406d94221d9aee4294f1c&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T04:55:45.779Z] -> Pinging Codecov [2022-03-17T04:55:45.779Z] 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=8ece66f1c570f367a2f406d94221d9aee4294f1c&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T04:55:46.039Z] -> Uploading to [2022-03-17T04:55:46.039Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/7E55EF52A471D76F132DFD9A03CDDE97/8ece66f1c570f367a2f406d94221d9aee4294f1c/a6dace90-0728-48c6-8c8a-f6b913dbb565.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T045545Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c3fb425dbe73f2a6de3dd30b9165917f7bb2e714816cc2aa0c93fd10ee3b801 [2022-03-17T04:55:46.039Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T04:55:46.039Z] Dload Upload Total Spent Left Speed [2022-03-17T04:55:46.299Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16246 0 0 100 16246 0 55447 --:--:-- --:--:-- --:--:-- 55447 [2022-03-17T04:55:46.299Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8ece66f1c570f367a2f406d94221d9aee4294f1c [Pipeline] } [2022-03-17T04:55:46.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-17T04:55:46.441Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-17T04:55:46.451Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:55:46.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T04:55:46.753Z] [2022-03-17T04:55:46.753Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:55:47.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T04:55:47.055Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-17T04:55:47.055Z] 188c0c94c7c5: Pulling fs layer [2022-03-17T04:55:47.055Z] 0ef7d3d256c8: Pulling fs layer [2022-03-17T04:55:47.055Z] de9db76c5a1d: Pulling fs layer [2022-03-17T04:55:47.055Z] 0eba1c9be4d2: Pulling fs layer [2022-03-17T04:55:47.055Z] 0d57e429df01: Pulling fs layer [2022-03-17T04:55:47.055Z] 4e4be7b47b0d: Pulling fs layer [2022-03-17T04:55:47.055Z] e1f770b5df2f: Pulling fs layer [2022-03-17T04:55:47.055Z] 85a0685a4137: Pulling fs layer [2022-03-17T04:55:47.055Z] 0eba1c9be4d2: Waiting [2022-03-17T04:55:47.055Z] 4e4be7b47b0d: Waiting [2022-03-17T04:55:47.055Z] e1f770b5df2f: Waiting [2022-03-17T04:55:47.055Z] 0d57e429df01: Waiting [2022-03-17T04:55:47.055Z] de9db76c5a1d: Verifying Checksum [2022-03-17T04:55:47.055Z] de9db76c5a1d: Download complete [2022-03-17T04:55:47.055Z] 0ef7d3d256c8: Download complete [2022-03-17T04:55:47.055Z] 0d57e429df01: Verifying Checksum [2022-03-17T04:55:47.055Z] 0d57e429df01: Download complete [2022-03-17T04:55:47.055Z] 4e4be7b47b0d: Download complete [2022-03-17T04:55:47.055Z] 188c0c94c7c5: Verifying Checksum [2022-03-17T04:55:47.315Z] 188c0c94c7c5: Pull complete [2022-03-17T04:55:47.315Z] e1f770b5df2f: Verifying Checksum [2022-03-17T04:55:47.315Z] e1f770b5df2f: Download complete [2022-03-17T04:55:47.315Z] 0ef7d3d256c8: Pull complete [2022-03-17T04:55:47.577Z] de9db76c5a1d: Pull complete [2022-03-17T04:55:47.837Z] 0eba1c9be4d2: Verifying Checksum [2022-03-17T04:55:47.837Z] 0eba1c9be4d2: Download complete [2022-03-17T04:55:48.096Z] 85a0685a4137: Verifying Checksum [2022-03-17T04:55:48.096Z] 85a0685a4137: Download complete [2022-03-17T04:55:51.385Z] 0eba1c9be4d2: Pull complete [2022-03-17T04:55:51.385Z] 0d57e429df01: Pull complete [2022-03-17T04:55:51.385Z] 4e4be7b47b0d: Pull complete [2022-03-17T04:55:51.644Z] e1f770b5df2f: Pull complete [2022-03-17T04:55:54.931Z] 85a0685a4137: Pull complete [2022-03-17T04:55:54.931Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-17T04:55:54.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T04:55:54.931Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-17T04:55:55.001Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:55:55.048Z] $ 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-03-17T04:55:56.664Z] $ docker top 25f504621b2db549316f2fa73f5afb2b28d0958cd4903cab1ba061da96331260 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T04:55:56.732Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-17T04:55:57.017Z] + set -o pipefail [2022-03-17T04:55:57.017Z] + snyk monitor '--org=edgex-jenkins' [2022-03-17T04:56:01.216Z] [2022-03-17T04:56:01.216Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-03-17T04:56:01.216Z] [2022-03-17T04:56:01.216Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/0324bb14-0ee7-4f59-8c89-dbb5a48a3e77 [2022-03-17T04:56:01.216Z] [2022-03-17T04:56:01.216Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-17T04:56:01.216Z] [2022-03-17T04:56:01.216Z] [Pipeline] } [2022-03-17T04:56:01.243Z] $ docker stop --time=1 25f504621b2db549316f2fa73f5afb2b28d0958cd4903cab1ba061da96331260 [2022-03-17T04:56:02.941Z] $ docker rm -f 25f504621b2db549316f2fa73f5afb2b28d0958cd4903cab1ba061da96331260 [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-03-17T04:56:03.246Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:56:03.261Z] provisioning config files... [2022-03-17T04:56:03.269Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8114007072733271955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:03.566Z] --> edgex-publish-swagger.sh [2022-03-17T04:56:03.566Z] === Publish openapi/v2 API === [2022-03-17T04:56:03.566Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-03-17T04:56:03.566Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-03-17T04:56:03.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T04:56:03.566Z] Dload Upload Total Spent Left Speed [2022-03-17T04:56:04.505Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 52964 0:00:01 0:00:01 --:--:-- 52964 100 53282 0 0 100 53282 0 52964 0:00:01 0:00:01 --:--:-- 52964 [2022-03-17T04:56:04.505Z] [2022-03-17T04:56:04.505Z] [Pipeline] } [2022-03-17T04:56:04.513Z] 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-03-17T04:56:04.922Z] + git log --format=format:%s -1 8ece66f1c570f367a2f406d94221d9aee4294f1c [Pipeline] sh [2022-03-17T04:56:05.216Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T04:56:05.216Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:05.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:56:05.510Z] . [Pipeline] withDockerContainer [2022-03-17T04:56:05.574Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:56:05.623Z] $ 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-03-17T04:56:06.044Z] $ docker top 9c37b170e9efbdff3cd3ab8a0e6044db80c87f6357953658b96edac580108bf3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T04:56:06.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:56:06.127Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:56:06.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:56:06.255Z] $ docker exec 9c37b170e9efbdff3cd3ab8a0e6044db80c87f6357953658b96edac580108bf3 ssh-agent [2022-03-17T04:56:06.374Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhHcjif/agent.13 [2022-03-17T04:56:06.374Z] SSH_AGENT_PID=19 [2022-03-17T04:56:06.380Z] Running ssh-add (command line suppressed) [2022-03-17T04:56:06.501Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8526298960581941876.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8526298960581941876.key) [2022-03-17T04:56:06.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:56:06.789Z] + git semver tag [2022-03-17T04:56:06.789Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T04:56:06.789Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T04:56:06.789Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T04:56:06.789Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T04:56:06.789Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T04:56:06.789Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T04:56:06.789Z] # $SEMVER_BRANCH = main [2022-03-17T04:56:06.789Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-17T04:56:06.789Z] # 8ece66f1c570f367a2f406d94221d9aee4294f1c HEAD [2022-03-17T04:56:06.789Z] # -> Force: false [2022-03-17T04:56:06.789Z] # 31c0dda3180e51214b5ec9a3df6af7ae4acc8a87 refs/tags/v2.2.0-dev.18 [Pipeline] } [2022-03-17T04:56:06.814Z] $ docker exec --env ******** --env ******** 9c37b170e9efbdff3cd3ab8a0e6044db80c87f6357953658b96edac580108bf3 ssh-agent -k [2022-03-17T04:56:06.917Z] unset SSH_AUTH_SOCK; [2022-03-17T04:56:06.917Z] unset SSH_AGENT_PID; [2022-03-17T04:56:06.917Z] echo Agent pid 19 killed; [2022-03-17T04:56:06.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T04:56:07.223Z] + git semver [Pipeline] } [2022-03-17T04:56:07.252Z] $ docker stop --time=1 9c37b170e9efbdff3cd3ab8a0e6044db80c87f6357953658b96edac580108bf3 [2022-03-17T04:56:08.518Z] $ docker rm -f 9c37b170e9efbdff3cd3ab8a0e6044db80c87f6357953658b96edac580108bf3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:08.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T04:56:08.890Z] [2022-03-17T04:56:08.890Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:09.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T04:56:09.190Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-17T04:56:09.190Z] ab5ef0e58194: Pulling fs layer [2022-03-17T04:56:09.190Z] 9712f1f96733: Pulling fs layer [2022-03-17T04:56:09.190Z] 63f879dbbcfc: Pulling fs layer [2022-03-17T04:56:09.190Z] 0d9ebad4ef96: Pulling fs layer [2022-03-17T04:56:09.190Z] e9a5061849ea: Pulling fs layer [2022-03-17T04:56:09.190Z] d747dcd14b5f: Pulling fs layer [2022-03-17T04:56:09.190Z] 2de7ff778b66: Pulling fs layer [2022-03-17T04:56:09.190Z] 0d9ebad4ef96: Waiting [2022-03-17T04:56:09.190Z] e9a5061849ea: Waiting [2022-03-17T04:56:09.190Z] d747dcd14b5f: Waiting [2022-03-17T04:56:09.190Z] 2de7ff778b66: Waiting [2022-03-17T04:56:09.190Z] 9712f1f96733: Verifying Checksum [2022-03-17T04:56:09.190Z] 9712f1f96733: Download complete [2022-03-17T04:56:09.450Z] 63f879dbbcfc: Verifying Checksum [2022-03-17T04:56:09.450Z] 63f879dbbcfc: Download complete [2022-03-17T04:56:09.711Z] e9a5061849ea: Verifying Checksum [2022-03-17T04:56:09.711Z] e9a5061849ea: Download complete [2022-03-17T04:56:09.711Z] d747dcd14b5f: Verifying Checksum [2022-03-17T04:56:09.711Z] d747dcd14b5f: Download complete [2022-03-17T04:56:09.711Z] 0d9ebad4ef96: Verifying Checksum [2022-03-17T04:56:09.711Z] 0d9ebad4ef96: Download complete [2022-03-17T04:56:09.711Z] ab5ef0e58194: Verifying Checksum [2022-03-17T04:56:09.711Z] ab5ef0e58194: Download complete [2022-03-17T04:56:09.711Z] 2de7ff778b66: Verifying Checksum [2022-03-17T04:56:09.711Z] 2de7ff778b66: Download complete [2022-03-17T04:56:12.246Z] ab5ef0e58194: Pull complete [2022-03-17T04:56:12.246Z] 9712f1f96733: Pull complete [2022-03-17T04:56:13.182Z] 63f879dbbcfc: Pull complete [2022-03-17T04:56:16.477Z] 0d9ebad4ef96: Pull complete [2022-03-17T04:56:16.736Z] e9a5061849ea: Pull complete [2022-03-17T04:56:16.736Z] d747dcd14b5f: Pull complete [2022-03-17T04:56:17.673Z] 2de7ff778b66: Pull complete [2022-03-17T04:56:17.673Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-17T04:56:17.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T04:56:17.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-17T04:56:17.736Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:56:17.781Z] $ 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-03-17T04:56:20.132Z] $ docker top f0649851c51c27440b0e2f27fb22fd151e19e2c362921488404c366b82c8b0fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:56:20.199Z] provisioning config files... [2022-03-17T04:56:20.207Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3385045981567568394tmp [2022-03-17T04:56:20.219Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4123515733401856509tmp [2022-03-17T04:56:20.231Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3859787189736404704tmp [Pipeline] { [Pipeline] echo [2022-03-17T04:56:20.249Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:20.535Z] ---> sigul-configuration.sh [2022-03-17T04:56:20.535Z] gpg: directory `/root/.gnupg' created [2022-03-17T04:56:20.535Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-17T04:56:20.535Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-17T04:56:20.535Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-17T04:56:20.535Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-17T04:56:20.535Z] gpg: CAST5 encrypted data [2022-03-17T04:56:20.535Z] gpg: encrypted with 1 passphrase [2022-03-17T04:56:20.535Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-17T04:56:20.827Z] + mkdir /home/jenkins [2022-03-17T04:56:20.827Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-17T04:56:21.182Z] + 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-03-17T04:56:21.191Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:21.520Z] ---> sigul-install.sh [2022-03-17T04:56:21.520Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-17T04:56:21.804Z] + git tag --list [2022-03-17T04:56:21.804Z] 0.7.1 [2022-03-17T04:56:21.804Z] delhi-tag [2022-03-17T04:56:21.804Z] v1.0.0 [2022-03-17T04:56:21.804Z] v1.1.0 [2022-03-17T04:56:21.804Z] v1.1.1 [2022-03-17T04:56:21.804Z] v1.1.2 [2022-03-17T04:56:21.804Z] v1.2.0 [2022-03-17T04:56:21.804Z] v1.2.1 [2022-03-17T04:56:21.804Z] v1.2.2 [2022-03-17T04:56:21.804Z] v1.2.3 [2022-03-17T04:56:21.804Z] v1.3.0 [2022-03-17T04:56:21.804Z] v1.4.0 [2022-03-17T04:56:21.804Z] v2.0.0 [2022-03-17T04:56:21.804Z] v2.0.1-dev.1 [2022-03-17T04:56:21.804Z] v2.0.1-dev.10 [2022-03-17T04:56:21.804Z] v2.0.1-dev.11 [2022-03-17T04:56:21.804Z] v2.0.1-dev.12 [2022-03-17T04:56:21.804Z] v2.0.1-dev.13 [2022-03-17T04:56:21.804Z] v2.0.1-dev.14 [2022-03-17T04:56:21.804Z] v2.0.1-dev.15 [2022-03-17T04:56:21.804Z] v2.0.1-dev.16 [2022-03-17T04:56:21.804Z] v2.0.1-dev.17 [2022-03-17T04:56:21.804Z] v2.0.1-dev.18 [2022-03-17T04:56:21.804Z] v2.0.1-dev.19 [2022-03-17T04:56:21.804Z] v2.0.1-dev.2 [2022-03-17T04:56:21.804Z] v2.0.1-dev.20 [2022-03-17T04:56:21.804Z] v2.0.1-dev.21 [2022-03-17T04:56:21.804Z] v2.0.1-dev.22 [2022-03-17T04:56:21.804Z] v2.0.1-dev.23 [2022-03-17T04:56:21.804Z] v2.0.1-dev.24 [2022-03-17T04:56:21.804Z] v2.0.1-dev.25 [2022-03-17T04:56:21.804Z] v2.0.1-dev.26 [2022-03-17T04:56:21.804Z] v2.0.1-dev.27 [2022-03-17T04:56:21.804Z] v2.0.1-dev.28 [2022-03-17T04:56:21.804Z] v2.0.1-dev.29 [2022-03-17T04:56:21.804Z] v2.0.1-dev.3 [2022-03-17T04:56:21.804Z] v2.0.1-dev.30 [2022-03-17T04:56:21.804Z] v2.0.1-dev.31 [2022-03-17T04:56:21.804Z] v2.0.1-dev.32 [2022-03-17T04:56:21.804Z] v2.0.1-dev.33 [2022-03-17T04:56:21.804Z] v2.0.1-dev.4 [2022-03-17T04:56:21.804Z] v2.0.1-dev.5 [2022-03-17T04:56:21.804Z] v2.0.1-dev.6 [2022-03-17T04:56:21.804Z] v2.0.1-dev.7 [2022-03-17T04:56:21.804Z] v2.0.1-dev.8 [2022-03-17T04:56:21.804Z] v2.0.1-dev.9 [2022-03-17T04:56:21.804Z] v2.1.0 [2022-03-17T04:56:21.804Z] v2.1.1-dev.1 [2022-03-17T04:56:21.804Z] v2.2.0-dev.1 [2022-03-17T04:56:21.804Z] v2.2.0-dev.10 [2022-03-17T04:56:21.804Z] v2.2.0-dev.11 [2022-03-17T04:56:21.804Z] v2.2.0-dev.12 [2022-03-17T04:56:21.804Z] v2.2.0-dev.13 [2022-03-17T04:56:21.804Z] v2.2.0-dev.14 [2022-03-17T04:56:21.804Z] v2.2.0-dev.15 [2022-03-17T04:56:21.804Z] v2.2.0-dev.16 [2022-03-17T04:56:21.804Z] v2.2.0-dev.17 [2022-03-17T04:56:21.804Z] v2.2.0-dev.18 [2022-03-17T04:56:21.804Z] v2.2.0-dev.2 [2022-03-17T04:56:21.804Z] v2.2.0-dev.3 [2022-03-17T04:56:21.804Z] v2.2.0-dev.4 [2022-03-17T04:56:21.804Z] v2.2.0-dev.5 [2022-03-17T04:56:21.804Z] v2.2.0-dev.6 [2022-03-17T04:56:21.804Z] v2.2.0-dev.7 [2022-03-17T04:56:21.804Z] v2.2.0-dev.8 [2022-03-17T04:56:21.804Z] v2.2.0-dev.9 [Pipeline] sh [2022-03-17T04:56:22.092Z] + lftools sign git-tag v2.2.0-dev.18 [2022-03-17T04:56:22.662Z] Signing Git tag with Sigul... [2022-03-17T04:56:22.662Z] Signing v2.2.0-dev.18 [Pipeline] echo [2022-03-17T04:56:22.932Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:23.220Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-17T04:56:23.227Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-17T04:56:23.258Z] $ docker stop --time=1 f0649851c51c27440b0e2f27fb22fd151e19e2c362921488404c366b82c8b0fd [2022-03-17T04:56:24.677Z] $ docker rm -f f0649851c51c27440b0e2f27fb22fd151e19e2c362921488404c366b82c8b0fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-17T04:56:25.079Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T04:56:25.079Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:25.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:56:25.375Z] . [Pipeline] withDockerContainer [2022-03-17T04:56:25.460Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:56:25.507Z] $ 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-03-17T04:56:25.870Z] $ docker top eb6ca7e26bb93d54060ceca110ad80481626f7995af97a64b7123e69c8b90f05 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T04:56:25.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:56:25.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:56:26.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:56:26.098Z] $ docker exec eb6ca7e26bb93d54060ceca110ad80481626f7995af97a64b7123e69c8b90f05 ssh-agent [2022-03-17T04:56:26.200Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOiaAFJ/agent.13 [2022-03-17T04:56:26.200Z] SSH_AGENT_PID=20 [2022-03-17T04:56:26.206Z] Running ssh-add (command line suppressed) [2022-03-17T04:56:26.338Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4355861486033852816.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4355861486033852816.key) [2022-03-17T04:56:26.337Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:56:26.628Z] + git semver bump pre [2022-03-17T04:56:26.628Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T04:56:26.628Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T04:56:26.628Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T04:56:26.628Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T04:56:26.628Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T04:56:26.628Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T04:56:26.628Z] # $SEMVER_BRANCH = main [2022-03-17T04:56:26.628Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-17T04:56:26.628Z] 2.2.0-dev.19 [Pipeline] } [2022-03-17T04:56:26.655Z] $ docker exec --env ******** --env ******** eb6ca7e26bb93d54060ceca110ad80481626f7995af97a64b7123e69c8b90f05 ssh-agent -k [2022-03-17T04:56:26.763Z] unset SSH_AUTH_SOCK; [2022-03-17T04:56:26.763Z] unset SSH_AGENT_PID; [2022-03-17T04:56:26.763Z] echo Agent pid 20 killed; [2022-03-17T04:56:26.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T04:56:27.060Z] + git semver [Pipeline] } [2022-03-17T04:56:27.088Z] $ docker stop --time=1 eb6ca7e26bb93d54060ceca110ad80481626f7995af97a64b7123e69c8b90f05 [2022-03-17T04:56:28.375Z] $ docker rm -f eb6ca7e26bb93d54060ceca110ad80481626f7995af97a64b7123e69c8b90f05 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:56:28.723Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T04:56:28.723Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:29.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:56:29.016Z] . [Pipeline] withDockerContainer [2022-03-17T04:56:29.078Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:56:29.125Z] $ 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-03-17T04:56:29.507Z] $ docker top 490e4ff63edc074b75156072df4f36489431c58ad6c75c09e390e53de1636dc9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T04:56:29.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:56:29.585Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:56:29.710Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:56:29.728Z] $ docker exec 490e4ff63edc074b75156072df4f36489431c58ad6c75c09e390e53de1636dc9 ssh-agent [2022-03-17T04:56:29.837Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMajpAf/agent.14 [2022-03-17T04:56:29.837Z] SSH_AGENT_PID=20 [2022-03-17T04:56:29.842Z] Running ssh-add (command line suppressed) [2022-03-17T04:56:29.967Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4040135976182915532.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4040135976182915532.key) [2022-03-17T04:56:29.965Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:56:30.254Z] + git semver push [2022-03-17T04:56:30.254Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T04:56:30.254Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T04:56:30.254Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T04:56:30.254Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T04:56:30.254Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T04:56:30.254Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T04:56:30.254Z] # $SEMVER_BRANCH = main [2022-03-17T04:56:30.254Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-17T04:56:32.189Z] $ docker exec --env ******** --env ******** 490e4ff63edc074b75156072df4f36489431c58ad6c75c09e390e53de1636dc9 ssh-agent -k [2022-03-17T04:56:32.290Z] unset SSH_AUTH_SOCK; [2022-03-17T04:56:32.290Z] unset SSH_AGENT_PID; [2022-03-17T04:56:32.290Z] echo Agent pid 20 killed; [2022-03-17T04:56:32.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T04:56:32.592Z] + git semver [Pipeline] } [2022-03-17T04:56:32.620Z] $ docker stop --time=1 490e4ff63edc074b75156072df4f36489431c58ad6c75c09e390e53de1636dc9 [2022-03-17T04:56:33.909Z] $ docker rm -f 490e4ff63edc074b75156072df4f36489431c58ad6c75c09e390e53de1636dc9 [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-03-17T04:56:34.495Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-03-17T04:56:34.495Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T04:56:34.495Z] total 16 [2022-03-17T04:56:34.495Z] drwxr-xr-x 3 root root 4096 Mar 17 04:48 . [2022-03-17T04:56:34.495Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 04:56 .. [2022-03-17T04:56:34.495Z] drwxr-xr-x 2 root root 4096 Mar 17 04:48 cost [2022-03-17T04:56:34.495Z] -rw-r--r-- 1 root root 83 Mar 17 04:48 cost.csv [2022-03-17T04:56:34.495Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T04:56:34.495Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T04:56:34.495Z] total 16 [2022-03-17T04:56:34.495Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 04:48 . [2022-03-17T04:56:34.495Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 04:56 .. [2022-03-17T04:56:34.495Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 04:48 cost [2022-03-17T04:56:34.495Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 17 04:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:34.788Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:35.651Z] ---> package-listing.sh [2022-03-17T04:56:35.651Z] ++ facter osfamily [2022-03-17T04:56:35.651Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T04:56:35.910Z] + OS_FAMILY=debian [2022-03-17T04:56:35.910Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T04:56:35.910Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T04:56:35.910Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T04:56:35.910Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T04:56:35.910Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T04:56:35.910Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-17T04:56:35.910Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T04:56:35.910Z] + case "${OS_FAMILY}" in [2022-03-17T04:56:35.910Z] + dpkg -l [2022-03-17T04:56:35.910Z] + grep '^ii' [2022-03-17T04:56:35.910Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T04:56:35.910Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T04:56:35.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T04:56:35.910Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-17T04:56:35.910Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-03-17T04:56:35.910Z] + 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-03-17T04:56:35.922Z] 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-03-17T04:56:36.198Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:56:36.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:56:36.754Z] . [Pipeline] withDockerContainer [2022-03-17T04:56:36.818Z] prd-ubuntu20.04-docker-8c-8g-7773 does not seem to be running inside a container [2022-03-17T04:56:36.865Z] $ 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-03-17T04:56:37.125Z] $ docker top 1d9a7e2925f91609f83322e8a4dc60603073261ddbc62d63500fe648451e6120 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T04:56:37.482Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T04:56:37.769Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T04:56:38.055Z] + ls /var/log/sa-host [2022-03-17T04:56:38.055Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:56:38.142Z] provisioning config files... [2022-03-17T04:56:38.151Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8449155484071064632tmp [Pipeline] { [Pipeline] echo [2022-03-17T04:56:38.168Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:38.452Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T04:56:38.459Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:38.784Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T04:56:38.793Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:39.077Z] ---> sudo-logs.sh [2022-03-17T04:56:39.077Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T04:56:39.109Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:39.397Z] ---> job-cost.sh [2022-03-17T04:56:39.397Z] lf-activate-venv: SKIPPING [2022-03-17T04:56:39.397Z] DEBUG: total: 0.2199999988079071 [2022-03-17T04:56:39.397Z] INFO: Retrieving Stack Cost... [2022-03-17T04:56:39.969Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T04:56:40.230Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T04:56:40.246Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:56:40.534Z] ---> logs-deploy.sh [2022-03-17T04:56:40.534Z] lf-activate-venv: SKIPPING [2022-03-17T04:56:40.534Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/51 [2022-03-17T04:56:40.534Z] INFO: archiving workspace using pattern(s): [2022-03-17T04:56:41.474Z] Archives upload complete. [2022-03-17T04:56:41.475Z] INFO: archiving logs to Nexus