Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4fb6f454a66f6ec4303bcc61530b9f99af08732 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-ssh16904716053845377327.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-ssh17979903819461423869.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-ssh4426541564696491023.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-ssh12303554699515441727.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-ssh5837495774158007256.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21729 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 c4fb6f454a66f6ec4303bcc61530b9f99af08732 (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 c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 Commit message: "Merge pull request #1140 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.26" > git rev-list --no-walk 5f3ddcf8acb855a32ed46a26f751dc40ab556708 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T02:52:22.544Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T02:52:22.595Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T02:52:22.608Z] ========================================================= [2022-04-22T02:52:22.609Z] EdgeX Global Pipelines Version Info [2022-04-22T02:52:22.609Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:52:23.395Z] ------------------- [2022-04-22T02:52:23.395Z] stable info: [2022-04-22T02:52:23.395Z] ------------------- [2022-04-22T02:52:23.395Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T02:52:23.395Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T02:52:23.395Z] Message: update stable to v1.0.221 [2022-04-22T02:52:23.973Z] ------------------- [2022-04-22T02:52:23.973Z] experimental info: [2022-04-22T02:52:23.973Z] ------------------- [2022-04-22T02:52:23.973Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T02:52:23.973Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T02:52:23.973Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T02:52:24.119Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-22T02:52:24.133Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-22T02:52:24.146Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T02:52:24.158Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T02:52:24.173Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T02:52:24.184Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T02:52:24.192Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T02:52:24.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-22T02:52:24.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T02:52:24.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T02:52:24.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T02:52:24.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-22T02:52:24.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T02:52:24.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T02:52:24.294Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T02:52:24.306Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:52:24.319Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:52:24.334Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:52:24.350Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T02:52:24.361Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T02:52:24.374Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-22T02:52:24.386Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-22T02:52:24.397Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T02:52:24.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T02:52:24.420Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T02:52:24.433Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T02:52:24.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-22T02:52:24.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-22T02:52:24.472Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-22T02:52:24.487Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4fb6f454a66f6ec4303bcc61530b9f99af08732 [Pipeline] echo [2022-04-22T02:52:24.505Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4fb6f4 [Pipeline] echo [2022-04-22T02:52:24.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:52:24.577Z] provisioning config files... [2022-04-22T02:52:24.593Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1219455974982391192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:52:24.981Z] ---> docker-login.sh [2022-04-22T02:52:24.981Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:52:25.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:25.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:25.243Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:25.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:25.243Z] [2022-04-22T02:52:25.243Z] Login Succeeded [2022-04-22T02:52:25.243Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:52:25.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:25.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:25.505Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:25.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:25.505Z] [2022-04-22T02:52:25.505Z] Login Succeeded [2022-04-22T02:52:25.505Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:52:25.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:25.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:25.770Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:25.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:25.770Z] [2022-04-22T02:52:25.770Z] Login Succeeded [2022-04-22T02:52:25.770Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:52:25.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:25.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:25.770Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:25.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:25.770Z] [2022-04-22T02:52:25.770Z] Login Succeeded [2022-04-22T02:52:25.770Z] docker.io [2022-04-22T02:52:25.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:26.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:26.346Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:26.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:26.346Z] [2022-04-22T02:52:26.346Z] Login Succeeded [2022-04-22T02:52:26.346Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:52:26.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T02:52:26.752Z] + git rev-list -1 --merges c4fb6f454a66f6ec4303bcc61530b9f99af08732~1..c4fb6f454a66f6ec4303bcc61530b9f99af08732 [Pipeline] echo [2022-04-22T02:52:26.786Z] -----------> git rev-list -1 --merges c4fb6f454a66f6ec4303bcc61530b9f99af08732~1..c4fb6f454a66f6ec4303bcc61530b9f99af08732 c4fb6f454a66f6ec4303bcc61530b9f99af08732 [2022-04-22T02:52:26.786Z] c4fb6f454a66f6ec4303bcc61530b9f99af08732 [false] [Pipeline] sh [2022-04-22T02:52:27.086Z] + git log --format=format:%s -1 c4fb6f454a66f6ec4303bcc61530b9f99af08732 [Pipeline] echo [2022-04-22T02:52:27.104Z] ========================================================= [2022-04-22T02:52:27.104Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T02:52:27.104Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T02:52:27.445Z] + git log --format=format:%s -1 c4fb6f454a66f6ec4303bcc61530b9f99af08732 [Pipeline] echo [2022-04-22T02:52:27.459Z] [semverPrep] GIT_COMMIT: c4fb6f454a66f6ec4303bcc61530b9f99af08732, Commit Message: Merge pull request #1140 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.26 [Pipeline] echo [2022-04-22T02:52:27.469Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T02:52:27.909Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T02:52:27.910Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T02:52:27.910Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T02:52:27.910Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T02:52:27.910Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T02:52:27.910Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T02:52:27.910Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:52:28.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:52:28.331Z] [2022-04-22T02:52:28.331Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:52:28.640Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:52:28.640Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T02:52:28.640Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T02:52:28.640Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T02:52:28.640Z] 4c7163046ea9: Pulling fs layer [2022-04-22T02:52:28.640Z] 0c2d73faf560: Pulling fs layer [2022-04-22T02:52:28.640Z] 0c2d73faf560: Waiting [2022-04-22T02:52:28.640Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T02:52:28.640Z] 3e5f54012d9b: Download complete [2022-04-22T02:52:28.640Z] a0d0a0d46f8b: Download complete [2022-04-22T02:52:28.640Z] 4c7163046ea9: Verifying Checksum [2022-04-22T02:52:28.640Z] 4c7163046ea9: Download complete [2022-04-22T02:52:28.640Z] 0c2d73faf560: Verifying Checksum [2022-04-22T02:52:28.640Z] 0c2d73faf560: Download complete [2022-04-22T02:52:28.901Z] a0d0a0d46f8b: Pull complete [2022-04-22T02:52:28.901Z] 3e5f54012d9b: Pull complete [2022-04-22T02:52:29.160Z] 4c7163046ea9: Pull complete [2022-04-22T02:52:29.432Z] 0c2d73faf560: Pull complete [2022-04-22T02:52:29.432Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T02:52:29.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:52:29.432Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T02:52:29.513Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T02:52:29.570Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T02:52:30.421Z] $ docker top 7c4b1dde3e01a10a70ebb71c2d1ac73bd105c5085ffb9360ab9176b3763528f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T02:52:30.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:52:30.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:52:30.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:52:30.658Z] $ docker exec 7c4b1dde3e01a10a70ebb71c2d1ac73bd105c5085ffb9360ab9176b3763528f5 ssh-agent [2022-04-22T02:52:30.782Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAkiDOp/agent.13 [2022-04-22T02:52:30.782Z] SSH_AGENT_PID=19 [2022-04-22T02:52:30.789Z] Running ssh-add (command line suppressed) [2022-04-22T02:52:30.915Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8144793633507268678.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8144793633507268678.key) [2022-04-22T02:52:30.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:52:31.218Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T02:52:31.248Z] $ docker exec --env ******** --env ******** 7c4b1dde3e01a10a70ebb71c2d1ac73bd105c5085ffb9360ab9176b3763528f5 ssh-agent -k [2022-04-22T02:52:31.358Z] unset SSH_AUTH_SOCK; [2022-04-22T02:52:31.358Z] unset SSH_AGENT_PID; [2022-04-22T02:52:31.358Z] echo Agent pid 19 killed; [2022-04-22T02:52:31.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T02:52:31.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:52:31.390Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:52:31.519Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:52:31.530Z] $ docker exec 7c4b1dde3e01a10a70ebb71c2d1ac73bd105c5085ffb9360ab9176b3763528f5 ssh-agent [2022-04-22T02:52:31.650Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkedFOP/agent.53 [2022-04-22T02:52:31.650Z] SSH_AGENT_PID=59 [2022-04-22T02:52:31.656Z] Running ssh-add (command line suppressed) [2022-04-22T02:52:31.783Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8043576954151810383.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8043576954151810383.key) [2022-04-22T02:52:31.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:52:32.086Z] + git semver init [2022-04-22T02:52:32.086Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T02:52:32.086Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T02:52:32.087Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T02:52:32.087Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T02:52:32.087Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T02:52:32.087Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T02:52:32.087Z] # $SEMVER_BRANCH = main [2022-04-22T02:52:32.087Z] # $SEMVER_TEMP = /tmp/semver-721191128 [2022-04-22T02:52:32.087Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-22T02:52:33.479Z] # '/tmp/semver-721191128' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-22T02:52:33.479Z] # -> Force: false [2022-04-22T02:52:33.479Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-22T02:52:33.496Z] $ docker exec --env ******** --env ******** 7c4b1dde3e01a10a70ebb71c2d1ac73bd105c5085ffb9360ab9176b3763528f5 ssh-agent -k [2022-04-22T02:52:33.617Z] unset SSH_AUTH_SOCK; [2022-04-22T02:52:33.618Z] unset SSH_AGENT_PID; [2022-04-22T02:52:33.618Z] echo Agent pid 59 killed; [2022-04-22T02:52:33.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T02:52:33.938Z] + git semver [Pipeline] } [2022-04-22T02:52:33.959Z] $ docker stop --time=1 7c4b1dde3e01a10a70ebb71c2d1ac73bd105c5085ffb9360ab9176b3763528f5 [2022-04-22T02:52:35.324Z] $ docker rm -f 7c4b1dde3e01a10a70ebb71c2d1ac73bd105c5085ffb9360ab9176b3763528f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:52:35.686Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T02:52:35.983Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T02:52:35.987Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.30 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:52:36.166Z] provisioning config files... [2022-04-22T02:52:36.177Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4822075520706039165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:52:36.486Z] ---> docker-login.sh [2022-04-22T02:52:36.486Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:52:36.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:36.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:36.486Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:36.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:36.486Z] [2022-04-22T02:52:36.486Z] Login Succeeded [2022-04-22T02:52:36.486Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:52:36.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:36.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:36.748Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:36.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:36.748Z] [2022-04-22T02:52:36.748Z] Login Succeeded [2022-04-22T02:52:36.748Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:52:36.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:36.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:36.748Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:36.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:36.748Z] [2022-04-22T02:52:36.748Z] Login Succeeded [2022-04-22T02:52:36.748Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:52:37.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:37.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:37.009Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:37.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:37.009Z] [2022-04-22T02:52:37.009Z] Login Succeeded [2022-04-22T02:52:37.009Z] docker.io [2022-04-22T02:52:37.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:52:37.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:52:37.587Z] Configure a credential helper to remove this warning. See [2022-04-22T02:52:37.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:52:37.587Z] [2022-04-22T02:52:37.587Z] Login Succeeded [2022-04-22T02:52:37.587Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:52:37.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T02:52:37.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T02:52:37.690Z] ========================================================= [2022-04-22T02:52:37.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T02:52:37.690Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:52:38.002Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T02:52:38.002Z] Sending build context to Docker daemon 9.511MB [2022-04-22T02:52:38.003Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:52:38.003Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T02:52:38.265Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T02:52:38.265Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T02:52:38.265Z] 666ba61612fd: Pulling fs layer [2022-04-22T02:52:38.265Z] 8ed8ca486205: Pulling fs layer [2022-04-22T02:52:38.265Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T02:52:38.265Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T02:52:38.265Z] 640e595b4fbd: Pulling fs layer [2022-04-22T02:52:38.265Z] 763cafe07f6e: Pulling fs layer [2022-04-22T02:52:38.265Z] 0c0b528cf693: Pulling fs layer [2022-04-22T02:52:38.265Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T02:52:38.265Z] 4fe6c5a15a65: Waiting [2022-04-22T02:52:38.265Z] 22a0e8bec74d: Waiting [2022-04-22T02:52:38.265Z] 640e595b4fbd: Waiting [2022-04-22T02:52:38.265Z] 763cafe07f6e: Waiting [2022-04-22T02:52:38.265Z] 0c0b528cf693: Waiting [2022-04-22T02:52:38.265Z] 10935f4eaf8b: Waiting [2022-04-22T02:52:38.265Z] 8ed8ca486205: Verifying Checksum [2022-04-22T02:52:38.265Z] 8ed8ca486205: Download complete [2022-04-22T02:52:38.265Z] 666ba61612fd: Download complete [2022-04-22T02:52:38.265Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T02:52:38.265Z] 22a0e8bec74d: Download complete [2022-04-22T02:52:38.265Z] 640e595b4fbd: Download complete [2022-04-22T02:52:38.265Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T02:52:38.265Z] 59bf1c3509f3: Download complete [2022-04-22T02:52:38.265Z] 763cafe07f6e: Verifying Checksum [2022-04-22T02:52:38.265Z] 763cafe07f6e: Download complete [2022-04-22T02:52:38.265Z] 0c0b528cf693: Verifying Checksum [2022-04-22T02:52:38.265Z] 0c0b528cf693: Download complete [2022-04-22T02:52:38.265Z] 59bf1c3509f3: Pull complete [2022-04-22T02:52:38.526Z] 666ba61612fd: Pull complete [2022-04-22T02:52:38.526Z] 8ed8ca486205: Pull complete [2022-04-22T02:52:39.110Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T02:52:39.110Z] 10935f4eaf8b: Download complete [2022-04-22T02:52:39.110Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T02:52:39.110Z] 4fe6c5a15a65: Download complete [2022-04-22T02:52:43.319Z] 4fe6c5a15a65: Pull complete [2022-04-22T02:52:43.319Z] 22a0e8bec74d: Pull complete [2022-04-22T02:52:43.319Z] 640e595b4fbd: Pull complete [2022-04-22T02:52:43.319Z] 763cafe07f6e: Pull complete [2022-04-22T02:52:43.579Z] 0c0b528cf693: Pull complete [2022-04-22T02:52:45.495Z] 10935f4eaf8b: Pull complete [2022-04-22T02:52:45.495Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T02:52:45.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T02:52:45.495Z] ---> 99d49a6021b9 [2022-04-22T02:52:45.495Z] Step 3/11 : ARG MAKE=make build [2022-04-22T02:52:48.047Z] ---> Running in 7a26b70aef75 [2022-04-22T02:52:48.047Z] Removing intermediate container 7a26b70aef75 [2022-04-22T02:52:48.047Z] ---> edc933accd94 [2022-04-22T02:52:48.047Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T02:52:48.047Z] ---> Running in 2efe9f20cc08 [2022-04-22T02:52:48.047Z] Removing intermediate container 2efe9f20cc08 [2022-04-22T02:52:48.047Z] ---> 5e8cca133f8a [2022-04-22T02:52:48.047Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:52:48.047Z] ---> Running in 9baa50c659ff [2022-04-22T02:52:48.047Z] Removing intermediate container 9baa50c659ff [2022-04-22T02:52:48.047Z] ---> b6480dd62c5c [2022-04-22T02:52:48.047Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:52:48.047Z] ---> Running in 94b1cf5390b7 [2022-04-22T02:52:48.623Z] Removing intermediate container 94b1cf5390b7 [2022-04-22T02:52:48.623Z] ---> 4b7f2e8add36 [2022-04-22T02:52:48.623Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:52:48.623Z] ---> Running in 0761bf8928b1 [2022-04-22T02:52:48.887Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:52:49.834Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:52:50.095Z] OK: 221 MiB in 52 packages [2022-04-22T02:52:50.355Z] Removing intermediate container 0761bf8928b1 [2022-04-22T02:52:50.355Z] ---> dfd46748eb8c [2022-04-22T02:52:50.355Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T02:52:50.616Z] ---> 9ef736ad6995 [2022-04-22T02:52:50.616Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:52:50.616Z] ---> Running in dbca759403f8 [2022-04-22T02:52:51.115Z] Still waiting to schedule task [2022-04-22T02:52:51.116Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21722’ [2022-04-22T02:53:08.756Z] Removing intermediate container dbca759403f8 [2022-04-22T02:53:08.756Z] ---> 6e8439e44c8a [2022-04-22T02:53:08.756Z] Step 10/11 : COPY . . [2022-04-22T02:53:08.756Z] ---> efa4d6252e8f [2022-04-22T02:53:08.756Z] Step 11/11 : RUN ${MAKE} [2022-04-22T02:53:08.756Z] ---> Running in a92e3937377f [2022-04-22T02:53:08.756Z] noop [2022-04-22T02:53:08.756Z] Removing intermediate container a92e3937377f [2022-04-22T02:53:08.756Z] ---> 8fb86309ea94 [2022-04-22T02:53:08.756Z] Successfully built 8fb86309ea94 [2022-04-22T02:53:08.756Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:53:09.056Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T02:53:09.056Z] . [Pipeline] withDockerContainer [2022-04-22T02:53:09.133Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T02:53:09.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T02:53:09.787Z] $ docker top e4c2b77b332f0dd6547fa354058b2d69ebb1ea7740958c2683a8ed38ec63c9e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T02:53:10.147Z] + go version [2022-04-22T02:53:10.147Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T02:53:10.164Z] $ docker stop --time=1 e4c2b77b332f0dd6547fa354058b2d69ebb1ea7740958c2683a8ed38ec63c9e8 [2022-04-22T02:53:11.608Z] $ docker rm -f e4c2b77b332f0dd6547fa354058b2d69ebb1ea7740958c2683a8ed38ec63c9e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:53:12.029Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T02:53:12.029Z] . [Pipeline] withDockerContainer [2022-04-22T02:53:12.098Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T02:53:12.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T02:53:12.591Z] $ docker top f31bbeac8c44e3ff9eef0ec74396eec7c0157910d57cb7e84bcb3c844dc344de -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T02:53:13.009Z] + make test [2022-04-22T02:53:13.009Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T02:53:18.362Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.106s coverage: 23.3% of statements [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.073s coverage: 10.8% of statements [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.099s coverage: 60.0% of statements [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.101s coverage: 34.7% of statements [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 86.1% of statements [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 65.1% of statements [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.862s coverage: 89.2% of statements [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T02:53:30.591Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-04-22T02:53:30.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T02:53:45.478Z] GO111MODULE=on go vet ./... [2022-04-22T02:53:48.774Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T02:53:48.774Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T02:53:48.774Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T02:53:48.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T02:53:48.807Z] $ docker stop --time=1 f31bbeac8c44e3ff9eef0ec74396eec7c0157910d57cb7e84bcb3c844dc344de [2022-04-22T02:53:51.318Z] $ docker rm -f f31bbeac8c44e3ff9eef0ec74396eec7c0157910d57cb7e84bcb3c844dc344de [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:53:51.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T02:53:51.883Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T02:53:52.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T02:53:53.182Z] + ls -al . [2022-04-22T02:53:53.182Z] total 316 [2022-04-22T02:53:53.182Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 02:53 . [2022-04-22T02:53:53.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:52 .. [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:52 .dockerignore [2022-04-22T02:53:53.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:52 .git [2022-04-22T02:53:53.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:52 .github [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:52 .gitignore [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:52 .golangci.yml [2022-04-22T02:53:53.182Z] drwx------ 3 jenkins jenkins 4096 Apr 22 02:52 .semver [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:52 CHANGELOG.md [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:52 GOVERNANCE.md [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:52 Jenkinsfile [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:52 LICENSE [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:52 Makefile [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:52 OWNERS.md [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:52 README.md [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 22 02:52 VERSION [2022-04-22T02:53:53.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:52 bin [2022-04-22T02:53:53.182Z] -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 02:53 coverage.out [2022-04-22T02:53:53.182Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:52 example [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:52 go.mod [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 22 02:52 go.sum [2022-04-22T02:53:53.182Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:52 internal [2022-04-22T02:53:53.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:52 openapi [2022-04-22T02:53:53.182Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:52 pkg [2022-04-22T02:53:53.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:52 snap [2022-04-22T02:53:53.182Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:52 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:53:53.533Z] + 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=c4fb6f454a66f6ec4303bcc61530b9f99af08732 --label arch=amd64 --label version=2.2.0-dev.30 . [2022-04-22T02:53:53.533Z] Sending build context to Docker daemon 9.643MB [2022-04-22T02:53:53.533Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:53:53.533Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T02:53:53.533Z] ---> 8fb86309ea94 [2022-04-22T02:53:53.533Z] Step 3/25 : ARG MAKE=make build [2022-04-22T02:53:53.794Z] ---> Running in 2c2e55e467e5 [2022-04-22T02:53:53.794Z] Removing intermediate container 2c2e55e467e5 [2022-04-22T02:53:53.794Z] ---> cfdd6cd33e05 [2022-04-22T02:53:53.794Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T02:53:53.794Z] ---> Running in ace2cd429a44 [2022-04-22T02:53:54.053Z] Removing intermediate container ace2cd429a44 [2022-04-22T02:53:54.053Z] ---> 5ae0bacfa5ce [2022-04-22T02:53:54.053Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:53:54.053Z] ---> Running in 41cbe2876330 [2022-04-22T02:53:54.053Z] Removing intermediate container 41cbe2876330 [2022-04-22T02:53:54.053Z] ---> 93ffb0ebf80d [2022-04-22T02:53:54.053Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:53:54.053Z] ---> Running in 8cdfa9d8c714 [2022-04-22T02:53:54.993Z] Removing intermediate container 8cdfa9d8c714 [2022-04-22T02:53:54.993Z] ---> 593866d521a8 [2022-04-22T02:53:54.993Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:53:54.993Z] ---> Running in b87238885d6d [2022-04-22T02:53:54.993Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:53:55.934Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:53:56.194Z] OK: 221 MiB in 52 packages [2022-04-22T02:53:56.773Z] Removing intermediate container b87238885d6d [2022-04-22T02:53:56.773Z] ---> 76abb41bad6d [2022-04-22T02:53:56.773Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T02:53:56.773Z] ---> 6ffa4325ec54 [2022-04-22T02:53:56.773Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:53:56.773Z] ---> Running in 158b2d7ffc6e [2022-04-22T02:53:57.715Z] Removing intermediate container 158b2d7ffc6e [2022-04-22T02:53:57.715Z] ---> ae20c98eab3f [2022-04-22T02:53:57.715Z] Step 10/25 : COPY . . [2022-04-22T02:53:57.974Z] ---> cd4ce7200016 [2022-04-22T02:53:57.974Z] Step 11/25 : RUN ${MAKE} [2022-04-22T02:53:57.974Z] ---> Running in 8fdb5b409bbe [2022-04-22T02:53:58.233Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-22T02:54:16.339Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T02:54:17.721Z] Removing intermediate container 8fdb5b409bbe [2022-04-22T02:54:17.721Z] ---> 4ebe59f3404a [2022-04-22T02:54:17.721Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T02:54:18.665Z] 3.14: Pulling from library/alpine [2022-04-22T02:54:18.665Z] 8663204ce13b: Pulling fs layer [2022-04-22T02:54:18.925Z] 8663204ce13b: Verifying Checksum [2022-04-22T02:54:18.925Z] 8663204ce13b: Download complete [2022-04-22T02:54:18.925Z] 8663204ce13b: Pull complete [2022-04-22T02:54:18.925Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T02:54:18.925Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T02:54:18.925Z] ---> e04c818066af [2022-04-22T02:54:18.925Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:54:19.186Z] ---> Running in 5af06b135010 [2022-04-22T02:54:19.186Z] Removing intermediate container 5af06b135010 [2022-04-22T02:54:19.186Z] ---> 1a1bf289c069 [2022-04-22T02:54:19.186Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:54:19.186Z] ---> Running in 809933fdc608 [2022-04-22T02:54:19.767Z] Removing intermediate container 809933fdc608 [2022-04-22T02:54:19.767Z] ---> 5ca804edd214 [2022-04-22T02:54:19.767Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T02:54:20.027Z] ---> Running in 989250a8e9c2 [2022-04-22T02:54:20.287Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:54:21.234Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:54:21.495Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T02:54:21.495Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T02:54:21.757Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T02:54:21.757Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T02:54:21.757Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T02:54:22.019Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T02:54:22.019Z] OK: 8 MiB in 19 packages [2022-04-22T02:54:22.281Z] Removing intermediate container 989250a8e9c2 [2022-04-22T02:54:22.281Z] ---> 6800e5a381b6 [2022-04-22T02:54:22.281Z] Step 16/25 : WORKDIR / [2022-04-22T02:54:22.544Z] ---> Running in 01c060740905 [2022-04-22T02:54:22.544Z] Removing intermediate container 01c060740905 [2022-04-22T02:54:22.544Z] ---> 9f17ff502ed0 [2022-04-22T02:54:22.544Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T02:54:22.806Z] ---> a2fc3ad093df [2022-04-22T02:54:22.806Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T02:54:23.382Z] ---> 0e2cce099dbb [2022-04-22T02:54:23.382Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T02:54:23.644Z] ---> 2d82579b003f [2022-04-22T02:54:23.644Z] Step 20/25 : EXPOSE 59999 [2022-04-22T02:54:23.644Z] ---> Running in 0965f2042022 [2022-04-22T02:54:23.644Z] Removing intermediate container 0965f2042022 [2022-04-22T02:54:23.644Z] ---> 6de2e7dfe02d [2022-04-22T02:54:23.644Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T02:54:23.644Z] ---> Running in 377ac521c992 [2022-04-22T02:54:23.906Z] Removing intermediate container 377ac521c992 [2022-04-22T02:54:23.906Z] ---> f9a2f7ed2417 [2022-04-22T02:54:23.906Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T02:54:23.906Z] ---> Running in 310a3f177072 [2022-04-22T02:54:23.906Z] Removing intermediate container 310a3f177072 [2022-04-22T02:54:23.906Z] ---> d82f295611b7 [2022-04-22T02:54:23.906Z] Step 23/25 : LABEL arch=amd64 [2022-04-22T02:54:23.906Z] ---> Running in 640ea45648b3 [2022-04-22T02:54:24.167Z] Removing intermediate container 640ea45648b3 [2022-04-22T02:54:24.167Z] ---> 6242ddf700bb [2022-04-22T02:54:24.167Z] Step 24/25 : LABEL git_sha=c4fb6f454a66f6ec4303bcc61530b9f99af08732 [2022-04-22T02:54:24.167Z] ---> Running in 22471a3150fd [2022-04-22T02:54:24.429Z] Removing intermediate container 22471a3150fd [2022-04-22T02:54:24.429Z] ---> c73ed9831ab1 [2022-04-22T02:54:24.429Z] Step 25/25 : LABEL version=2.2.0-dev.30 [2022-04-22T02:54:24.429Z] ---> Running in 591afe8e588f [2022-04-22T02:54:24.429Z] Removing intermediate container 591afe8e588f [2022-04-22T02:54:24.429Z] ---> c47be66433c2 [2022-04-22T02:54:24.429Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T02:54:24.429Z] Successfully built c47be66433c2 [2022-04-22T02:54:24.429Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:54:24.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:54:24.886Z] [2022-04-22T02:54:24.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:54:25.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:54:25.197Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T02:54:25.197Z] 5eb5b503b376: Pulling fs layer [2022-04-22T02:54:25.197Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T02:54:25.197Z] ec43610c2a17: Pulling fs layer [2022-04-22T02:54:25.197Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T02:54:25.197Z] 33b1e0a273af: Pulling fs layer [2022-04-22T02:54:25.197Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T02:54:25.197Z] 2f39f015ded8: Pulling fs layer [2022-04-22T02:54:25.197Z] 3a2ae6a8a46f: Waiting [2022-04-22T02:54:25.197Z] 33b1e0a273af: Waiting [2022-04-22T02:54:25.197Z] 5d3b04190fa2: Waiting [2022-04-22T02:54:25.197Z] 2f39f015ded8: Waiting [2022-04-22T02:54:25.197Z] 5c69ac0246d0: Download complete [2022-04-22T02:54:25.197Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T02:54:25.197Z] 3a2ae6a8a46f: Download complete [2022-04-22T02:54:25.197Z] 33b1e0a273af: Verifying Checksum [2022-04-22T02:54:25.197Z] 33b1e0a273af: Download complete [2022-04-22T02:54:25.197Z] ec43610c2a17: Verifying Checksum [2022-04-22T02:54:25.197Z] ec43610c2a17: Download complete [2022-04-22T02:54:25.197Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T02:54:25.197Z] 5d3b04190fa2: Download complete [2022-04-22T02:54:25.457Z] 5eb5b503b376: Verifying Checksum [2022-04-22T02:54:25.457Z] 5eb5b503b376: Download complete [2022-04-22T02:54:26.027Z] 2f39f015ded8: Verifying Checksum [2022-04-22T02:54:26.027Z] 2f39f015ded8: Download complete [2022-04-22T02:54:26.598Z] 5eb5b503b376: Pull complete [2022-04-22T02:54:26.859Z] 5c69ac0246d0: Pull complete [2022-04-22T02:54:27.429Z] ec43610c2a17: Pull complete [2022-04-22T02:54:27.429Z] 3a2ae6a8a46f: Pull complete [2022-04-22T02:54:27.689Z] 33b1e0a273af: Pull complete [2022-04-22T02:54:27.689Z] 5d3b04190fa2: Pull complete [2022-04-22T02:54:31.888Z] 2f39f015ded8: Pull complete [2022-04-22T02:54:31.889Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T02:54:31.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:54:31.889Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T02:54:31.956Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T02:54:31.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T02:54:34.334Z] $ docker top 121f2d3e3aad50262f8120222ccf0079b5a3e08970f3ffac593978699c62fd80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:54:34.711Z] ---> job-cost.sh [2022-04-22T02:54:34.711Z] lf-activate-venv: SKIPPING [2022-04-22T02:54:34.711Z] INFO: No Stack... [2022-04-22T02:54:35.283Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T02:54:35.544Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T02:54:35.842Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-04-22T02:54:35.842Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T02:54:35.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-63-stack-cost] [2022-04-22T02:54:35.868Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-63-stack-cost] did not exist. Created. [2022-04-22T02:54:35.868Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T02:54:36.173Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T02:54:36.210Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T02:54:36.217Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T02:54:36.240Z] $ docker stop --time=1 121f2d3e3aad50262f8120222ccf0079b5a3e08970f3ffac593978699c62fd80 [2022-04-22T02:54:37.427Z] $ docker rm -f 121f2d3e3aad50262f8120222ccf0079b5a3e08970f3ffac593978699c62fd80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T02:55:36.104Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21731 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-22T02:55:36.116Z] Running in /w/workspace/device-sdk-go/63 [Pipeline] { [Pipeline] checkout [2022-04-22T02:55:36.459Z] The recommended git tool is: git [2022-04-22T02:55:42.989Z] using credential edgex-jenkins-ssh [2022-04-22T02:55:43.006Z] Cloning the remote Git repository [2022-04-22T02:55:43.068Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T02:55:43.145Z] > git init /w/workspace/device-sdk-go/63 # timeout=10 [2022-04-22T02:55:43.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T02:55:43.215Z] > git --version # timeout=10 [2022-04-22T02:55:43.232Z] > git --version # 'git version 2.25.1' [2022-04-22T02:55:43.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T02:55:43.332Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T02:55:44.901Z] Avoid second fetch [2022-04-22T02:55:44.902Z] Checking out Revision c4fb6f454a66f6ec4303bcc61530b9f99af08732 (main) [2022-04-22T02:55:44.801Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T02:55:44.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T02:55:44.962Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T02:55:44.997Z] > git checkout -f c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 [2022-04-22T02:55:49.388Z] Commit message: "Merge pull request #1140 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.26" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T02:55:50.486Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T02:55:50.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T02:55:50.486Z] Dload Upload Total Spent Left Speed [2022-04-22T02:55:50.486Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99521 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-04-22T02:55:51.038Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T02:55:51.395Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-04-22T02:55:51.395Z] sudo tee /etc/docker/daemon.new [2022-04-22T02:55:51.395Z] { [2022-04-22T02:55:51.395Z] "registry-mirrors": [ [2022-04-22T02:55:51.395Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T02:55:51.395Z] ], [2022-04-22T02:55:51.395Z] "bip": "10.250.0.254/24", [2022-04-22T02:55:51.395Z] "hosts": [ [2022-04-22T02:55:51.395Z] "tcp://0.0.0.0:5555", [2022-04-22T02:55:51.395Z] "unix:///var/run/docker.sock" [2022-04-22T02:55:51.395Z] ], [2022-04-22T02:55:51.395Z] "mtu": 1458, [2022-04-22T02:55:51.395Z] "selinux-enabled": true, [2022-04-22T02:55:51.395Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T02:55:51.395Z] } [Pipeline] sh [2022-04-22T02:55:51.752Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T02:55:52.113Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:56:10.518Z] provisioning config files... [2022-04-22T02:56:10.545Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/63@tmp/config716114227713355974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:56:10.915Z] ---> docker-login.sh [2022-04-22T02:56:10.915Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:56:11.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:56:11.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:56:11.796Z] Configure a credential helper to remove this warning. See [2022-04-22T02:56:11.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:56:11.796Z] [2022-04-22T02:56:11.796Z] Login Succeeded [2022-04-22T02:56:11.796Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:56:12.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:56:12.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:56:12.398Z] Configure a credential helper to remove this warning. See [2022-04-22T02:56:12.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:56:12.398Z] [2022-04-22T02:56:12.398Z] Login Succeeded [2022-04-22T02:56:12.398Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:56:12.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:56:12.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:56:12.964Z] Configure a credential helper to remove this warning. See [2022-04-22T02:56:12.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:56:12.964Z] [2022-04-22T02:56:12.964Z] Login Succeeded [2022-04-22T02:56:12.964Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:56:13.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:56:13.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:56:13.517Z] Configure a credential helper to remove this warning. See [2022-04-22T02:56:13.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:56:13.517Z] [2022-04-22T02:56:13.517Z] Login Succeeded [2022-04-22T02:56:13.517Z] docker.io [2022-04-22T02:56:13.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:56:14.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:56:14.067Z] Configure a credential helper to remove this warning. See [2022-04-22T02:56:14.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:56:14.067Z] [2022-04-22T02:56:14.067Z] Login Succeeded [2022-04-22T02:56:14.343Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:56:14.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T02:56:15.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T02:56:15.095Z] ========================================================= [2022-04-22T02:56:15.095Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T02:56:15.095Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:56:15.459Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T02:56:16.074Z] Sending build context to Docker daemon 5.145MB [2022-04-22T02:56:16.074Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:56:16.074Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T02:56:16.074Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T02:56:16.074Z] 9b3977197b4f: Pulling fs layer [2022-04-22T02:56:16.074Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T02:56:16.074Z] 94645a83ff95: Pulling fs layer [2022-04-22T02:56:16.074Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T02:56:16.074Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T02:56:16.074Z] f7c0051592d6: Pulling fs layer [2022-04-22T02:56:16.074Z] a227ed2f7395: Pulling fs layer [2022-04-22T02:56:16.074Z] 7b1c46037f91: Pulling fs layer [2022-04-22T02:56:16.074Z] 0c92f367c5e7: Waiting [2022-04-22T02:56:16.074Z] f7c0051592d6: Waiting [2022-04-22T02:56:16.074Z] 7b1c46037f91: Waiting [2022-04-22T02:56:16.074Z] 3f3a8bcf1eab: Waiting [2022-04-22T02:56:16.074Z] 94645a83ff95: Verifying Checksum [2022-04-22T02:56:16.074Z] 94645a83ff95: Download complete [2022-04-22T02:56:16.074Z] 1a89e8eeedd5: Download complete [2022-04-22T02:56:16.356Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T02:56:16.356Z] 0c92f367c5e7: Download complete [2022-04-22T02:56:16.356Z] f7c0051592d6: Verifying Checksum [2022-04-22T02:56:16.356Z] 9b3977197b4f: Download complete [2022-04-22T02:56:16.356Z] a227ed2f7395: Verifying Checksum [2022-04-22T02:56:16.356Z] a227ed2f7395: Download complete [2022-04-22T02:56:16.974Z] 9b3977197b4f: Pull complete [2022-04-22T02:56:17.587Z] 1a89e8eeedd5: Pull complete [2022-04-22T02:56:17.877Z] 94645a83ff95: Pull complete [2022-04-22T02:56:18.484Z] 7b1c46037f91: Verifying Checksum [2022-04-22T02:56:18.484Z] 7b1c46037f91: Download complete [2022-04-22T02:56:18.758Z] 3f3a8bcf1eab: Download complete [2022-04-22T02:56:31.187Z] 3f3a8bcf1eab: Pull complete [2022-04-22T02:56:31.187Z] 0c92f367c5e7: Pull complete [2022-04-22T02:56:31.187Z] f7c0051592d6: Pull complete [2022-04-22T02:56:31.187Z] a227ed2f7395: Pull complete [2022-04-22T02:56:37.968Z] 7b1c46037f91: Pull complete [2022-04-22T02:56:37.968Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T02:56:37.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T02:56:37.968Z] ---> f79e39bc4007 [2022-04-22T02:56:37.968Z] Step 3/11 : ARG MAKE=make build [2022-04-22T02:56:38.248Z] ---> Running in 52631ee3e94d [2022-04-22T02:56:38.552Z] Removing intermediate container 52631ee3e94d [2022-04-22T02:56:38.552Z] ---> f61947622647 [2022-04-22T02:56:38.552Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T02:56:38.552Z] ---> Running in a574eea3e4c7 [2022-04-22T02:56:39.159Z] Removing intermediate container a574eea3e4c7 [2022-04-22T02:56:39.159Z] ---> b99e52d50d9b [2022-04-22T02:56:39.159Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:56:39.159Z] ---> Running in 1e6cb74cd79e [2022-04-22T02:56:39.460Z] Removing intermediate container 1e6cb74cd79e [2022-04-22T02:56:39.460Z] ---> ef65b81ad767 [2022-04-22T02:56:39.460Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:56:39.460Z] ---> Running in 9bdcac50c16a [2022-04-22T02:56:41.457Z] Removing intermediate container 9bdcac50c16a [2022-04-22T02:56:41.457Z] ---> 00c96a8a8d19 [2022-04-22T02:56:41.457Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:56:41.457Z] ---> Running in 3593bfca0165 [2022-04-22T02:56:42.930Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T02:56:43.546Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T02:56:44.991Z] OK: 220 MiB in 52 packages [2022-04-22T02:56:45.602Z] Removing intermediate container 3593bfca0165 [2022-04-22T02:56:45.602Z] ---> 1db0145eb947 [2022-04-22T02:56:45.602Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T02:56:46.214Z] ---> d559886d506a [2022-04-22T02:56:46.214Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:56:46.501Z] ---> Running in 0a4497156b7f [2022-04-22T02:57:43.329Z] Removing intermediate container 0a4497156b7f [2022-04-22T02:57:43.329Z] ---> 0963f62d4020 [2022-04-22T02:57:43.329Z] Step 10/11 : COPY . . [2022-04-22T02:57:43.329Z] ---> 067d6cd7a625 [2022-04-22T02:57:43.329Z] Step 11/11 : RUN ${MAKE} [2022-04-22T02:57:43.329Z] ---> Running in d6ccd460249d [2022-04-22T02:57:43.329Z] noop [2022-04-22T02:57:43.329Z] Removing intermediate container d6ccd460249d [2022-04-22T02:57:43.329Z] ---> 148d94fa97e4 [2022-04-22T02:57:43.329Z] Successfully built 148d94fa97e4 [2022-04-22T02:57:43.329Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:57:43.694Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T02:57:43.694Z] . [Pipeline] withDockerContainer [2022-04-22T02:57:43.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-21731 does not seem to be running inside a container [2022-04-22T02:57:44.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/63 -v /w/workspace/device-sdk-go/63:/w/workspace/device-sdk-go/63:rw,z -v /w/workspace/device-sdk-go/63@tmp:/w/workspace/device-sdk-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T02:57:45.545Z] $ docker top 3e1189efdc01d97e291bc8cf70fe5beff9c0de34ab482a493e51fe2875b7d8c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T02:57:46.514Z] + go version [2022-04-22T02:57:46.514Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T02:57:46.545Z] $ docker stop --time=1 3e1189efdc01d97e291bc8cf70fe5beff9c0de34ab482a493e51fe2875b7d8c2 [2022-04-22T02:57:48.184Z] $ docker rm -f 3e1189efdc01d97e291bc8cf70fe5beff9c0de34ab482a493e51fe2875b7d8c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:57:48.823Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T02:57:48.823Z] . [Pipeline] withDockerContainer [2022-04-22T02:57:49.057Z] prd-ubuntu20.04-docker-arm64-4c-16g-21731 does not seem to be running inside a container [2022-04-22T02:57:49.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/63 -v /w/workspace/device-sdk-go/63:/w/workspace/device-sdk-go/63:rw,z -v /w/workspace/device-sdk-go/63@tmp:/w/workspace/device-sdk-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T02:57:50.550Z] $ docker top ff98b3e5ebb4a259316a5bbf930daccb708221aa7e280682acda76e476bcf5c5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T02:57:51.492Z] + make test [2022-04-22T02:57:51.492Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T02:58:23.870Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T03:00:15.792Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T03:00:15.792Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T03:00:15.792Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T03:00:19.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.574s coverage: 23.3% of statements [2022-04-22T03:00:19.251Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T03:00:19.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.287s coverage: 27.6% of statements [2022-04-22T03:00:19.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.319s coverage: 78.9% of statements [2022-04-22T03:00:19.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.274s coverage: 10.8% of statements [2022-04-22T03:00:21.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.432s coverage: 60.0% of statements [2022-04-22T03:00:21.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T03:00:21.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T03:00:23.894Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.375s coverage: 34.7% of statements [2022-04-22T03:00:23.894Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T03:00:23.894Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.297s coverage: 86.1% of statements [2022-04-22T03:00:23.894Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T03:00:23.894Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T03:00:29.335Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.521s coverage: 65.1% of statements [2022-04-22T03:00:29.335Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.455s coverage: 89.2% of statements [2022-04-22T03:00:29.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T03:00:31.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.7% of statements [2022-04-22T03:00:31.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T03:00:31.904Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T03:00:31.904Z] GO111MODULE=on go vet ./... [2022-04-22T03:02:08.810Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T03:02:08.810Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T03:02:08.810Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T03:02:08.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T03:02:08.855Z] $ docker stop --time=1 ff98b3e5ebb4a259316a5bbf930daccb708221aa7e280682acda76e476bcf5c5 [2022-04-22T03:02:10.721Z] $ docker rm -f ff98b3e5ebb4a259316a5bbf930daccb708221aa7e280682acda76e476bcf5c5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T03:02:12.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T03:02:12.147Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T03:02:12.796Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T03:02:13.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T03:02:13.572Z] + ls -al . [2022-04-22T03:02:13.572Z] total 312 [2022-04-22T03:02:13.572Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 03:02 . [2022-04-22T03:02:13.572Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:55 .. [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:55 .dockerignore [2022-04-22T03:02:13.572Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:55 .git [2022-04-22T03:02:13.572Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:55 .github [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:55 .gitignore [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:55 .golangci.yml [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:55 CHANGELOG.md [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:55 GOVERNANCE.md [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:55 Jenkinsfile [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:55 LICENSE [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:55 Makefile [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:55 OWNERS.md [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:55 README.md [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 22 02:52 VERSION [2022-04-22T03:02:13.572Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:55 bin [2022-04-22T03:02:13.572Z] -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 03:00 coverage.out [2022-04-22T03:02:13.572Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:55 example [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:55 go.mod [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 22 02:55 go.sum [2022-04-22T03:02:13.572Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:55 internal [2022-04-22T03:02:13.572Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:55 openapi [2022-04-22T03:02:13.572Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:55 pkg [2022-04-22T03:02:13.572Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:55 snap [2022-04-22T03:02:13.572Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:55 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:02:13.924Z] + 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=c4fb6f454a66f6ec4303bcc61530b9f99af08732 --label arch=arm64 --label version=2.2.0-dev.30 . [2022-04-22T03:02:14.528Z] Sending build context to Docker daemon 5.276MB [2022-04-22T03:02:14.528Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T03:02:14.528Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T03:02:14.528Z] ---> 148d94fa97e4 [2022-04-22T03:02:14.528Z] Step 3/25 : ARG MAKE=make build [2022-04-22T03:02:14.528Z] ---> Running in 9adbc2e239a6 [2022-04-22T03:02:14.810Z] Removing intermediate container 9adbc2e239a6 [2022-04-22T03:02:14.810Z] ---> 452df65c957e [2022-04-22T03:02:14.810Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T03:02:15.084Z] ---> Running in 2af6735de65e [2022-04-22T03:02:15.359Z] Removing intermediate container 2af6735de65e [2022-04-22T03:02:15.359Z] ---> 279d4fcecf34 [2022-04-22T03:02:15.359Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T03:02:15.359Z] ---> Running in 26e0b79b72ee [2022-04-22T03:02:15.635Z] Removing intermediate container 26e0b79b72ee [2022-04-22T03:02:15.635Z] ---> dd439eaad2db [2022-04-22T03:02:15.636Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T03:02:15.919Z] ---> Running in 46fd4fe8f4f9 [2022-04-22T03:02:17.360Z] Removing intermediate container 46fd4fe8f4f9 [2022-04-22T03:02:17.360Z] ---> 9bbf1f9f4f2c [2022-04-22T03:02:17.360Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T03:02:17.644Z] ---> Running in cf9344351709 [2022-04-22T03:02:18.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T03:02:19.614Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T03:02:20.604Z] OK: 220 MiB in 52 packages [2022-04-22T03:02:21.209Z] Removing intermediate container cf9344351709 [2022-04-22T03:02:21.209Z] ---> e6afd92a89c6 [2022-04-22T03:02:21.209Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T03:02:21.812Z] ---> 8fae9b76ea4a [2022-04-22T03:02:21.812Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T03:02:21.812Z] ---> Running in 2ede64c16c7c [2022-04-22T03:02:23.809Z] Removing intermediate container 2ede64c16c7c [2022-04-22T03:02:23.809Z] ---> 8a0056ccd499 [2022-04-22T03:02:23.809Z] Step 10/25 : COPY . . [2022-04-22T03:02:25.258Z] ---> ed5687538ffc [2022-04-22T03:02:25.258Z] Step 11/25 : RUN ${MAKE} [2022-04-22T03:02:25.258Z] ---> Running in b7a97fe5aeeb [2022-04-22T03:02:26.251Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-22T03:04:33.194Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T03:04:33.194Z] Removing intermediate container b7a97fe5aeeb [2022-04-22T03:04:33.194Z] ---> e33961139595 [2022-04-22T03:04:33.194Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T03:04:33.194Z] 3.14: Pulling from library/alpine [2022-04-22T03:04:33.194Z] 455c02918c45: Pulling fs layer [2022-04-22T03:04:33.194Z] 455c02918c45: Verifying Checksum [2022-04-22T03:04:33.194Z] 455c02918c45: Download complete [2022-04-22T03:04:33.194Z] 455c02918c45: Pull complete [2022-04-22T03:04:33.194Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T03:04:33.194Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T03:04:33.194Z] ---> ac73e934f311 [2022-04-22T03:04:33.194Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T03:04:33.194Z] ---> Running in 47df2675f4e8 [2022-04-22T03:04:33.194Z] Removing intermediate container 47df2675f4e8 [2022-04-22T03:04:33.194Z] ---> ecfa67a8a2b4 [2022-04-22T03:04:33.194Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T03:04:33.194Z] ---> Running in 1783564d0b1b [2022-04-22T03:04:34.182Z] Removing intermediate container 1783564d0b1b [2022-04-22T03:04:34.182Z] ---> 61d69a0a16f3 [2022-04-22T03:04:34.182Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T03:04:34.182Z] ---> Running in 25ef419f01c2 [2022-04-22T03:04:35.167Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T03:04:36.146Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T03:04:37.128Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T03:04:37.128Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T03:04:37.128Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T03:04:37.405Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T03:04:37.405Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T03:04:37.405Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T03:04:37.405Z] OK: 8 MiB in 19 packages [2022-04-22T03:04:38.393Z] Removing intermediate container 25ef419f01c2 [2022-04-22T03:04:38.393Z] ---> 2c7470f39636 [2022-04-22T03:04:38.393Z] Step 16/25 : WORKDIR / [2022-04-22T03:04:38.393Z] ---> Running in 39509a44b3eb [2022-04-22T03:04:39.007Z] Removing intermediate container 39509a44b3eb [2022-04-22T03:04:39.007Z] ---> 699d565d3599 [2022-04-22T03:04:39.007Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T03:04:39.611Z] ---> df6648e2a5fd [2022-04-22T03:04:39.611Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T03:04:41.055Z] ---> b76013c5c009 [2022-04-22T03:04:41.055Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T03:04:41.654Z] ---> e83404d47f43 [2022-04-22T03:04:41.654Z] Step 20/25 : EXPOSE 59999 [2022-04-22T03:04:41.654Z] ---> Running in bdbd5511a0ab [2022-04-22T03:04:42.254Z] Removing intermediate container bdbd5511a0ab [2022-04-22T03:04:42.254Z] ---> ba90f2c5e9f2 [2022-04-22T03:04:42.254Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T03:04:42.254Z] ---> Running in 67eb6aea26e0 [2022-04-22T03:04:42.529Z] Removing intermediate container 67eb6aea26e0 [2022-04-22T03:04:42.529Z] ---> deb835d62d2a [2022-04-22T03:04:42.529Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T03:04:42.529Z] ---> Running in c64445d8ee2d [2022-04-22T03:04:42.807Z] Removing intermediate container c64445d8ee2d [2022-04-22T03:04:42.807Z] ---> cdf47ea5a8c4 [2022-04-22T03:04:42.807Z] Step 23/25 : LABEL arch=arm64 [2022-04-22T03:04:43.087Z] ---> Running in 390e9536db54 [2022-04-22T03:04:43.362Z] Removing intermediate container 390e9536db54 [2022-04-22T03:04:43.362Z] ---> c8c1120c6c49 [2022-04-22T03:04:43.362Z] Step 24/25 : LABEL git_sha=c4fb6f454a66f6ec4303bcc61530b9f99af08732 [2022-04-22T03:04:43.362Z] ---> Running in 2d00ba0e7d33 [2022-04-22T03:04:43.637Z] Removing intermediate container 2d00ba0e7d33 [2022-04-22T03:04:43.637Z] ---> 0854885c8bea [2022-04-22T03:04:43.637Z] Step 25/25 : LABEL version=2.2.0-dev.30 [2022-04-22T03:04:43.913Z] ---> Running in 7391236deff4 [2022-04-22T03:04:44.188Z] Removing intermediate container 7391236deff4 [2022-04-22T03:04:44.188Z] ---> a3dae95d9210 [2022-04-22T03:04:44.188Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T03:04:44.188Z] Successfully built a3dae95d9210 [2022-04-22T03:04:44.188Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:04:44.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T03:04:44.618Z] [2022-04-22T03:04:44.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:04:44.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T03:04:45.251Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T03:04:45.251Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T03:04:45.251Z] 04944245beec: Pulling fs layer [2022-04-22T03:04:45.251Z] 699f458cf7ca: Pulling fs layer [2022-04-22T03:04:45.251Z] 765212b225bb: Pulling fs layer [2022-04-22T03:04:45.251Z] f23df028b6ca: Pulling fs layer [2022-04-22T03:04:45.251Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T03:04:45.251Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T03:04:45.251Z] f23df028b6ca: Waiting [2022-04-22T03:04:45.251Z] d65c8cfc05b1: Waiting [2022-04-22T03:04:45.251Z] 2437ff75d9bd: Waiting [2022-04-22T03:04:45.251Z] 765212b225bb: Waiting [2022-04-22T03:04:45.251Z] 04944245beec: Verifying Checksum [2022-04-22T03:04:45.251Z] 04944245beec: Download complete [2022-04-22T03:04:45.251Z] 765212b225bb: Verifying Checksum [2022-04-22T03:04:45.251Z] 765212b225bb: Download complete [2022-04-22T03:04:45.251Z] f23df028b6ca: Verifying Checksum [2022-04-22T03:04:45.251Z] f23df028b6ca: Download complete [2022-04-22T03:04:45.251Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T03:04:45.251Z] d65c8cfc05b1: Download complete [2022-04-22T03:04:45.528Z] 699f458cf7ca: Verifying Checksum [2022-04-22T03:04:45.528Z] 699f458cf7ca: Download complete [2022-04-22T03:04:45.825Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T03:04:45.825Z] 8998bd30e6a1: Download complete [2022-04-22T03:04:48.455Z] 2437ff75d9bd: Download complete [2022-04-22T03:04:50.447Z] 8998bd30e6a1: Pull complete [2022-04-22T03:04:50.723Z] 04944245beec: Pull complete [2022-04-22T03:04:52.711Z] 699f458cf7ca: Pull complete [2022-04-22T03:04:52.711Z] 765212b225bb: Pull complete [2022-04-22T03:04:53.309Z] f23df028b6ca: Pull complete [2022-04-22T03:04:53.912Z] d65c8cfc05b1: Pull complete [2022-04-22T03:05:09.025Z] 2437ff75d9bd: Pull complete [2022-04-22T03:05:09.025Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T03:05:09.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T03:05:09.025Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T03:05:09.245Z] prd-ubuntu20.04-docker-arm64-4c-16g-21731 does not seem to be running inside a container [2022-04-22T03:05:09.339Z] $ 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/63 -v /w/workspace/device-sdk-go/63:/w/workspace/device-sdk-go/63:rw,z -v /w/workspace/device-sdk-go/63@tmp:/w/workspace/device-sdk-go/63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-22T03:05:11.994Z] $ docker top fc76a2e36d3561572fb15222e8fa39c6c78ba2bd40f5b9bdda10f99153326af1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:05:12.943Z] ---> job-cost.sh [2022-04-22T03:05:12.944Z] lf-activate-venv: SKIPPING [2022-04-22T03:05:12.944Z] INFO: No Stack... [2022-04-22T03:05:13.542Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T03:05:14.138Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T03:05:14.873Z] + cat /w/workspace/device-sdk-go/63/archives/cost.csv [2022-04-22T03:05:14.873Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T03:05:14.912Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-63-stack-cost] [2022-04-22T03:05:14.921Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-63-stack-cost] did not exist. Created. [2022-04-22T03:05:14.921Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T03:05:15.612Z] /w/workspace/device-sdk-go/63@tmp/durable-dc6c0cbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T03:05:16.347Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T03:05:16.378Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T03:05:16.457Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T03:05:16.464Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T03:05:16.490Z] $ docker stop --time=1 fc76a2e36d3561572fb15222e8fa39c6c78ba2bd40f5b9bdda10f99153326af1 [2022-04-22T03:05:18.097Z] $ docker rm -f fc76a2e36d3561572fb15222e8fa39c6c78ba2bd40f5b9bdda10f99153326af1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-22T03:05:18.696Z] provisioning config files... [2022-04-22T03:05:18.705Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7139587756557112865tmp [Pipeline] { [Pipeline] sh [2022-04-22T03:05:18.999Z] + set +x [2022-04-22T03:05:18.999Z] + curl -s https://codecov.io/bash [2022-04-22T03:05:18.999Z] + bash -s -- [2022-04-22T03:05:18.999Z] [2022-04-22T03:05:18.999Z] _____ _ [2022-04-22T03:05:18.999Z] / ____| | | [2022-04-22T03:05:18.999Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T03:05:18.999Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T03:05:18.999Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T03:05:18.999Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T03:05:18.999Z] Bash-1.0.6 [2022-04-22T03:05:18.999Z] [2022-04-22T03:05:18.999Z] [2022-04-22T03:05:18.999Z] ==> git version 2.25.1 found [2022-04-22T03:05:18.999Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-22T03:05:18.999Z] Release-Date: 2020-01-08 [2022-04-22T03:05:18.999Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-22T03:05:18.999Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T03:05:18.999Z] ==> Jenkins CI detected. [2022-04-22T03:05:18.999Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T03:05:18.999Z] project root: . [2022-04-22T03:05:18.999Z] --> token set from env [2022-04-22T03:05:18.999Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T03:05:18.999Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T03:05:18.999Z] ==> Python coveragepy not found [2022-04-22T03:05:18.999Z] ==> Searching for coverage reports in: [2022-04-22T03:05:18.999Z] + . [2022-04-22T03:05:18.999Z] -> Found 1 reports [2022-04-22T03:05:18.999Z] ==> Detecting git/mercurial file structure [2022-04-22T03:05:18.999Z] ==> Reading reports [2022-04-22T03:05:18.999Z] + ./coverage.out bytes=131008 [2022-04-22T03:05:18.999Z] ==> Appending adjustments [2022-04-22T03:05:18.999Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T03:05:19.570Z] + Found adjustments [2022-04-22T03:05:19.570Z] ==> Gzipping contents [2022-04-22T03:05:19.570Z] 20K /tmp/codecov.wCUw2c.gz [2022-04-22T03:05:19.570Z] ==> Uploading reports [2022-04-22T03:05:19.570Z] url: https://codecov.io [2022-04-22T03:05:19.570Z] query: branch=main&commit=c4fb6f454a66f6ec4303bcc61530b9f99af08732&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-22T03:05:19.570Z] -> Pinging Codecov [2022-04-22T03:05:19.570Z] 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=c4fb6f454a66f6ec4303bcc61530b9f99af08732&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-22T03:05:19.832Z] -> Uploading to [2022-04-22T03:05:19.832Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/c4fb6f454a66f6ec4303bcc61530b9f99af08732/9216c0a6-0272-48f9-b873-5146705f8422.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T030519Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbf09ad6e5418e1e13221e89aa5272d89a9d4bfc43648da2f12a7d4b25a19c3b [2022-04-22T03:05:19.832Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T03:05:19.832Z] Dload Upload Total Spent Left Speed [2022-04-22T03:05:20.092Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16827 0 0 100 16827 0 69246 --:--:-- --:--:-- --:--:-- 69246 [2022-04-22T03:05:20.092Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c4fb6f454a66f6ec4303bcc61530b9f99af08732 [Pipeline] } [2022-04-22T03:05:20.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-22T03:05:20.377Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-22T03:05:20.387Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:05:20.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T03:05:20.689Z] [2022-04-22T03:05:20.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:05:20.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T03:05:20.994Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-22T03:05:20.994Z] 188c0c94c7c5: Pulling fs layer [2022-04-22T03:05:20.994Z] 0ef7d3d256c8: Pulling fs layer [2022-04-22T03:05:20.994Z] de9db76c5a1d: Pulling fs layer [2022-04-22T03:05:20.994Z] 0eba1c9be4d2: Pulling fs layer [2022-04-22T03:05:20.994Z] 0d57e429df01: Pulling fs layer [2022-04-22T03:05:20.994Z] 4e4be7b47b0d: Pulling fs layer [2022-04-22T03:05:20.994Z] e1f770b5df2f: Pulling fs layer [2022-04-22T03:05:20.994Z] 85a0685a4137: Pulling fs layer [2022-04-22T03:05:20.994Z] 4e4be7b47b0d: Waiting [2022-04-22T03:05:20.994Z] e1f770b5df2f: Waiting [2022-04-22T03:05:20.994Z] 85a0685a4137: Waiting [2022-04-22T03:05:20.994Z] 0d57e429df01: Waiting [2022-04-22T03:05:20.994Z] 0eba1c9be4d2: Waiting [2022-04-22T03:05:20.994Z] de9db76c5a1d: Verifying Checksum [2022-04-22T03:05:20.994Z] de9db76c5a1d: Download complete [2022-04-22T03:05:20.994Z] 0ef7d3d256c8: Download complete [2022-04-22T03:05:20.994Z] 0d57e429df01: Verifying Checksum [2022-04-22T03:05:20.994Z] 0d57e429df01: Download complete [2022-04-22T03:05:20.994Z] 188c0c94c7c5: Verifying Checksum [2022-04-22T03:05:20.994Z] 188c0c94c7c5: Download complete [2022-04-22T03:05:20.994Z] 4e4be7b47b0d: Verifying Checksum [2022-04-22T03:05:20.994Z] 4e4be7b47b0d: Download complete [2022-04-22T03:05:21.256Z] 188c0c94c7c5: Pull complete [2022-04-22T03:05:21.256Z] e1f770b5df2f: Verifying Checksum [2022-04-22T03:05:21.256Z] e1f770b5df2f: Download complete [2022-04-22T03:05:21.514Z] 0ef7d3d256c8: Pull complete [2022-04-22T03:05:21.514Z] de9db76c5a1d: Pull complete [2022-04-22T03:05:21.774Z] 0eba1c9be4d2: Verifying Checksum [2022-04-22T03:05:21.774Z] 0eba1c9be4d2: Download complete [2022-04-22T03:05:21.774Z] 85a0685a4137: Verifying Checksum [2022-04-22T03:05:21.774Z] 85a0685a4137: Download complete [2022-04-22T03:05:25.070Z] 0eba1c9be4d2: Pull complete [2022-04-22T03:05:25.329Z] 0d57e429df01: Pull complete [2022-04-22T03:05:25.329Z] 4e4be7b47b0d: Pull complete [2022-04-22T03:05:25.589Z] e1f770b5df2f: Pull complete [2022-04-22T03:05:28.883Z] 85a0685a4137: Pull complete [2022-04-22T03:05:28.883Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-22T03:05:28.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T03:05:28.883Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-22T03:05:28.947Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T03:05:28.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-22T03:05:30.745Z] $ docker top 2856786d73222445689aaca48fa5fbde5ff411aa77720bbbc92b7853ac5ca5d6 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-22T03:05:30.820Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-22T03:05:31.104Z] + set -o pipefail [2022-04-22T03:05:31.104Z] + snyk monitor '--org=edgex-jenkins' [2022-04-22T03:05:36.393Z] [2022-04-22T03:05:36.393Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-22T03:05:36.393Z] [2022-04-22T03:05:36.393Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/a7cd92a3-83c1-41f2-9819-2b56e190ba7a [2022-04-22T03:05:36.393Z] [2022-04-22T03:05:36.393Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-22T03:05:36.393Z] [2022-04-22T03:05:36.393Z] [Pipeline] } [2022-04-22T03:05:36.413Z] $ docker stop --time=1 2856786d73222445689aaca48fa5fbde5ff411aa77720bbbc92b7853ac5ca5d6 [2022-04-22T03:05:38.611Z] $ docker rm -f 2856786d73222445689aaca48fa5fbde5ff411aa77720bbbc92b7853ac5ca5d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-04-22T03:05:39.063Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T03:05:39.082Z] provisioning config files... [2022-04-22T03:05:39.090Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2610075729288119740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:05:39.387Z] --> edgex-publish-swagger.sh [2022-04-22T03:05:39.387Z] === Publish openapi/v2 API === [2022-04-22T03:05:39.387Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-22T03:05:39.387Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-22T03:05:39.387Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T03:05:39.387Z] Dload Upload Total Spent Left Speed [2022-04-22T03:05:39.957Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 80003 --:--:-- --:--:-- --:--:-- 79883 100 53282 0 0 100 53282 0 80003 --:--:-- --:--:-- --:--:-- 79883 [2022-04-22T03:05:39.957Z] [2022-04-22T03:05:39.957Z] [Pipeline] } [2022-04-22T03:05:39.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T03:05:40.376Z] + git log --format=format:%s -1 c4fb6f454a66f6ec4303bcc61530b9f99af08732 [Pipeline] sh [2022-04-22T03:05:40.677Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T03:05:40.677Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:05:40.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T03:05:40.975Z] . [Pipeline] withDockerContainer [2022-04-22T03:05:41.097Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T03:05:41.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T03:05:41.528Z] $ docker top aba7cb4f0549c8bf7017dea9f1f7958408fb04caefe3ea60228415e4a6e6bd9b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T03:05:41.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T03:05:41.620Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T03:05:41.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T03:05:41.758Z] $ docker exec aba7cb4f0549c8bf7017dea9f1f7958408fb04caefe3ea60228415e4a6e6bd9b ssh-agent [2022-04-22T03:05:41.869Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMagIbB/agent.14 [2022-04-22T03:05:41.869Z] SSH_AGENT_PID=20 [2022-04-22T03:05:41.875Z] Running ssh-add (command line suppressed) [2022-04-22T03:05:42.002Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3605088258675169081.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3605088258675169081.key) [2022-04-22T03:05:42.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T03:05:42.307Z] + git semver tag [2022-04-22T03:05:42.307Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T03:05:42.307Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T03:05:42.307Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T03:05:42.307Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T03:05:42.307Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T03:05:42.307Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T03:05:42.307Z] # $SEMVER_BRANCH = main [2022-04-22T03:05:42.307Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-22T03:05:42.307Z] # c4fb6f454a66f6ec4303bcc61530b9f99af08732 HEAD [2022-04-22T03:05:42.307Z] # -> Force: false [2022-04-22T03:05:42.307Z] # 1e101ca190e5ef505cf5730d91fb0d63e982b76e refs/tags/v2.2.0-dev.30 [Pipeline] } [2022-04-22T03:05:42.323Z] $ docker exec --env ******** --env ******** aba7cb4f0549c8bf7017dea9f1f7958408fb04caefe3ea60228415e4a6e6bd9b ssh-agent -k [2022-04-22T03:05:42.432Z] unset SSH_AUTH_SOCK; [2022-04-22T03:05:42.432Z] unset SSH_AGENT_PID; [2022-04-22T03:05:42.432Z] echo Agent pid 20 killed; [2022-04-22T03:05:42.438Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T03:05:42.746Z] + git semver [Pipeline] } [2022-04-22T03:05:42.767Z] $ docker stop --time=1 aba7cb4f0549c8bf7017dea9f1f7958408fb04caefe3ea60228415e4a6e6bd9b [2022-04-22T03:05:44.103Z] $ docker rm -f aba7cb4f0549c8bf7017dea9f1f7958408fb04caefe3ea60228415e4a6e6bd9b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:05:44.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T03:05:44.489Z] [2022-04-22T03:05:44.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:05:44.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T03:05:44.791Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-22T03:05:44.791Z] ab5ef0e58194: Pulling fs layer [2022-04-22T03:05:44.791Z] 9712f1f96733: Pulling fs layer [2022-04-22T03:05:44.791Z] 63f879dbbcfc: Pulling fs layer [2022-04-22T03:05:44.791Z] 0d9ebad4ef96: Pulling fs layer [2022-04-22T03:05:44.791Z] e9a5061849ea: Pulling fs layer [2022-04-22T03:05:44.791Z] d747dcd14b5f: Pulling fs layer [2022-04-22T03:05:44.791Z] 2de7ff778b66: Pulling fs layer [2022-04-22T03:05:44.791Z] 0d9ebad4ef96: Waiting [2022-04-22T03:05:44.791Z] e9a5061849ea: Waiting [2022-04-22T03:05:44.791Z] d747dcd14b5f: Waiting [2022-04-22T03:05:44.791Z] 9712f1f96733: Verifying Checksum [2022-04-22T03:05:44.791Z] 9712f1f96733: Download complete [2022-04-22T03:05:45.051Z] 63f879dbbcfc: Verifying Checksum [2022-04-22T03:05:45.051Z] 63f879dbbcfc: Download complete [2022-04-22T03:05:45.310Z] e9a5061849ea: Verifying Checksum [2022-04-22T03:05:45.310Z] e9a5061849ea: Download complete [2022-04-22T03:05:45.310Z] d747dcd14b5f: Verifying Checksum [2022-04-22T03:05:45.310Z] d747dcd14b5f: Download complete [2022-04-22T03:05:45.310Z] 2de7ff778b66: Verifying Checksum [2022-04-22T03:05:45.311Z] 2de7ff778b66: Download complete [2022-04-22T03:05:45.570Z] ab5ef0e58194: Verifying Checksum [2022-04-22T03:05:45.570Z] ab5ef0e58194: Download complete [2022-04-22T03:05:45.829Z] 0d9ebad4ef96: Verifying Checksum [2022-04-22T03:05:45.829Z] 0d9ebad4ef96: Download complete [2022-04-22T03:05:48.361Z] ab5ef0e58194: Pull complete [2022-04-22T03:05:48.619Z] 9712f1f96733: Pull complete [2022-04-22T03:05:49.187Z] 63f879dbbcfc: Pull complete [2022-04-22T03:05:53.385Z] 0d9ebad4ef96: Pull complete [2022-04-22T03:05:53.385Z] e9a5061849ea: Pull complete [2022-04-22T03:05:53.385Z] d747dcd14b5f: Pull complete [2022-04-22T03:05:54.323Z] 2de7ff778b66: Pull complete [2022-04-22T03:05:54.323Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-22T03:05:54.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T03:05:54.323Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-22T03:05:54.391Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T03:05:54.432Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-22T03:05:56.638Z] $ docker top 8022a747f74b7d860bb9a441f5caceac9a3ac06104c092b00391a4422ac01cee -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-22T03:05:56.717Z] provisioning config files... [2022-04-22T03:05:56.725Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6528669420342217569tmp [2022-04-22T03:05:56.737Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2528347481885778728tmp [2022-04-22T03:05:56.748Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3490138614537984166tmp [Pipeline] { [Pipeline] echo [2022-04-22T03:05:56.763Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:05:57.051Z] ---> sigul-configuration.sh [2022-04-22T03:05:57.052Z] gpg: directory `/root/.gnupg' created [2022-04-22T03:05:57.052Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-22T03:05:57.052Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-22T03:05:57.052Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-22T03:05:57.052Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-22T03:05:57.052Z] gpg: CAST5 encrypted data [2022-04-22T03:05:57.052Z] gpg: encrypted with 1 passphrase [2022-04-22T03:05:57.052Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-22T03:05:57.343Z] + mkdir /home/jenkins [2022-04-22T03:05:57.343Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-22T03:05:57.637Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-22T03:05:57.648Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:05:57.939Z] ---> sigul-install.sh [2022-04-22T03:05:57.939Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-22T03:05:58.226Z] + git tag --list [2022-04-22T03:05:58.226Z] 0.7.1 [2022-04-22T03:05:58.226Z] delhi-tag [2022-04-22T03:05:58.226Z] v1.0.0 [2022-04-22T03:05:58.226Z] v1.1.0 [2022-04-22T03:05:58.226Z] v1.1.1 [2022-04-22T03:05:58.226Z] v1.1.2 [2022-04-22T03:05:58.226Z] v1.2.0 [2022-04-22T03:05:58.226Z] v1.2.1 [2022-04-22T03:05:58.226Z] v1.2.2 [2022-04-22T03:05:58.226Z] v1.2.3 [2022-04-22T03:05:58.226Z] v1.3.0 [2022-04-22T03:05:58.226Z] v1.4.0 [2022-04-22T03:05:58.226Z] v2.0.0 [2022-04-22T03:05:58.226Z] v2.0.1-dev.1 [2022-04-22T03:05:58.226Z] v2.0.1-dev.10 [2022-04-22T03:05:58.226Z] v2.0.1-dev.11 [2022-04-22T03:05:58.226Z] v2.0.1-dev.12 [2022-04-22T03:05:58.226Z] v2.0.1-dev.13 [2022-04-22T03:05:58.226Z] v2.0.1-dev.14 [2022-04-22T03:05:58.226Z] v2.0.1-dev.15 [2022-04-22T03:05:58.226Z] v2.0.1-dev.16 [2022-04-22T03:05:58.226Z] v2.0.1-dev.17 [2022-04-22T03:05:58.226Z] v2.0.1-dev.18 [2022-04-22T03:05:58.226Z] v2.0.1-dev.19 [2022-04-22T03:05:58.226Z] v2.0.1-dev.2 [2022-04-22T03:05:58.226Z] v2.0.1-dev.20 [2022-04-22T03:05:58.226Z] v2.0.1-dev.21 [2022-04-22T03:05:58.226Z] v2.0.1-dev.22 [2022-04-22T03:05:58.226Z] v2.0.1-dev.23 [2022-04-22T03:05:58.226Z] v2.0.1-dev.24 [2022-04-22T03:05:58.226Z] v2.0.1-dev.25 [2022-04-22T03:05:58.226Z] v2.0.1-dev.26 [2022-04-22T03:05:58.226Z] v2.0.1-dev.27 [2022-04-22T03:05:58.226Z] v2.0.1-dev.28 [2022-04-22T03:05:58.226Z] v2.0.1-dev.29 [2022-04-22T03:05:58.226Z] v2.0.1-dev.3 [2022-04-22T03:05:58.226Z] v2.0.1-dev.30 [2022-04-22T03:05:58.226Z] v2.0.1-dev.31 [2022-04-22T03:05:58.226Z] v2.0.1-dev.32 [2022-04-22T03:05:58.226Z] v2.0.1-dev.33 [2022-04-22T03:05:58.226Z] v2.0.1-dev.4 [2022-04-22T03:05:58.226Z] v2.0.1-dev.5 [2022-04-22T03:05:58.226Z] v2.0.1-dev.6 [2022-04-22T03:05:58.226Z] v2.0.1-dev.7 [2022-04-22T03:05:58.226Z] v2.0.1-dev.8 [2022-04-22T03:05:58.226Z] v2.0.1-dev.9 [2022-04-22T03:05:58.226Z] v2.1.0 [2022-04-22T03:05:58.226Z] v2.1.1-dev.1 [2022-04-22T03:05:58.226Z] v2.2.0-dev.1 [2022-04-22T03:05:58.226Z] v2.2.0-dev.10 [2022-04-22T03:05:58.226Z] v2.2.0-dev.11 [2022-04-22T03:05:58.226Z] v2.2.0-dev.12 [2022-04-22T03:05:58.226Z] v2.2.0-dev.13 [2022-04-22T03:05:58.226Z] v2.2.0-dev.14 [2022-04-22T03:05:58.226Z] v2.2.0-dev.15 [2022-04-22T03:05:58.226Z] v2.2.0-dev.16 [2022-04-22T03:05:58.226Z] v2.2.0-dev.17 [2022-04-22T03:05:58.226Z] v2.2.0-dev.18 [2022-04-22T03:05:58.226Z] v2.2.0-dev.19 [2022-04-22T03:05:58.226Z] v2.2.0-dev.2 [2022-04-22T03:05:58.226Z] v2.2.0-dev.20 [2022-04-22T03:05:58.226Z] v2.2.0-dev.21 [2022-04-22T03:05:58.226Z] v2.2.0-dev.22 [2022-04-22T03:05:58.226Z] v2.2.0-dev.23 [2022-04-22T03:05:58.226Z] v2.2.0-dev.24 [2022-04-22T03:05:58.226Z] v2.2.0-dev.25 [2022-04-22T03:05:58.226Z] v2.2.0-dev.26 [2022-04-22T03:05:58.226Z] v2.2.0-dev.27 [2022-04-22T03:05:58.226Z] v2.2.0-dev.28 [2022-04-22T03:05:58.226Z] v2.2.0-dev.29 [2022-04-22T03:05:58.226Z] v2.2.0-dev.3 [2022-04-22T03:05:58.226Z] v2.2.0-dev.30 [2022-04-22T03:05:58.226Z] v2.2.0-dev.4 [2022-04-22T03:05:58.226Z] v2.2.0-dev.5 [2022-04-22T03:05:58.226Z] v2.2.0-dev.6 [2022-04-22T03:05:58.226Z] v2.2.0-dev.7 [2022-04-22T03:05:58.226Z] v2.2.0-dev.8 [2022-04-22T03:05:58.226Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-22T03:05:58.515Z] + lftools sign git-tag v2.2.0-dev.30 [2022-04-22T03:05:59.086Z] Signing Git tag with Sigul... [2022-04-22T03:05:59.086Z] Signing v2.2.0-dev.30 [Pipeline] echo [2022-04-22T03:05:59.357Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:05:59.643Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-22T03:05:59.652Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-22T03:05:59.675Z] $ docker stop --time=1 8022a747f74b7d860bb9a441f5caceac9a3ac06104c092b00391a4422ac01cee [2022-04-22T03:06:00.986Z] $ docker rm -f 8022a747f74b7d860bb9a441f5caceac9a3ac06104c092b00391a4422ac01cee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-22T03:06:01.384Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T03:06:01.384Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:06:01.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T03:06:01.684Z] . [Pipeline] withDockerContainer [2022-04-22T03:06:01.755Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T03:06:01.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T03:06:02.142Z] $ docker top e4c4c89b179a99265b39e0a2cec8af964b3243ee228e6d0ab3758c626e3d2d5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T03:06:02.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T03:06:02.227Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T03:06:02.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T03:06:02.352Z] $ docker exec e4c4c89b179a99265b39e0a2cec8af964b3243ee228e6d0ab3758c626e3d2d5f ssh-agent [2022-04-22T03:06:02.464Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoHKlfd/agent.13 [2022-04-22T03:06:02.464Z] SSH_AGENT_PID=19 [2022-04-22T03:06:02.469Z] Running ssh-add (command line suppressed) [2022-04-22T03:06:02.586Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7295821273907917182.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7295821273907917182.key) [2022-04-22T03:06:02.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T03:06:02.883Z] + git semver bump pre [2022-04-22T03:06:02.884Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T03:06:02.884Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T03:06:02.884Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T03:06:02.884Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T03:06:02.884Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T03:06:02.884Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T03:06:02.884Z] # $SEMVER_BRANCH = main [2022-04-22T03:06:02.884Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-22T03:06:02.884Z] 2.2.0-dev.31 [Pipeline] } [2022-04-22T03:06:02.899Z] $ docker exec --env ******** --env ******** e4c4c89b179a99265b39e0a2cec8af964b3243ee228e6d0ab3758c626e3d2d5f ssh-agent -k [2022-04-22T03:06:02.998Z] unset SSH_AUTH_SOCK; [2022-04-22T03:06:02.998Z] unset SSH_AGENT_PID; [2022-04-22T03:06:02.998Z] echo Agent pid 19 killed; [2022-04-22T03:06:03.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T03:06:03.313Z] + git semver [Pipeline] } [2022-04-22T03:06:03.332Z] $ docker stop --time=1 e4c4c89b179a99265b39e0a2cec8af964b3243ee228e6d0ab3758c626e3d2d5f [2022-04-22T03:06:04.644Z] $ docker rm -f e4c4c89b179a99265b39e0a2cec8af964b3243ee228e6d0ab3758c626e3d2d5f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T03:06:04.996Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T03:06:04.996Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:06:05.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T03:06:05.292Z] . [Pipeline] withDockerContainer [2022-04-22T03:06:05.356Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T03:06:05.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T03:06:05.814Z] $ docker top 5e612427449060d294a832c4e700749f4f08ae40e9482e1a5eedc235e28e4ff5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T03:06:05.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T03:06:05.904Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T03:06:06.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T03:06:06.034Z] $ docker exec 5e612427449060d294a832c4e700749f4f08ae40e9482e1a5eedc235e28e4ff5 ssh-agent [2022-04-22T03:06:06.142Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjLefLJ/agent.14 [2022-04-22T03:06:06.142Z] SSH_AGENT_PID=20 [2022-04-22T03:06:06.148Z] Running ssh-add (command line suppressed) [2022-04-22T03:06:06.281Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6865574367271409314.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6865574367271409314.key) [2022-04-22T03:06:06.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T03:06:06.579Z] + git semver push [2022-04-22T03:06:06.579Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T03:06:06.579Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T03:06:06.579Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T03:06:06.579Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T03:06:06.579Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T03:06:06.579Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T03:06:06.579Z] # $SEMVER_BRANCH = main [2022-04-22T03:06:06.579Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-22T03:06:08.508Z] $ docker exec --env ******** --env ******** 5e612427449060d294a832c4e700749f4f08ae40e9482e1a5eedc235e28e4ff5 ssh-agent -k [2022-04-22T03:06:08.626Z] unset SSH_AUTH_SOCK; [2022-04-22T03:06:08.626Z] unset SSH_AGENT_PID; [2022-04-22T03:06:08.626Z] echo Agent pid 20 killed; [2022-04-22T03:06:08.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T03:06:08.942Z] + git semver [Pipeline] } [2022-04-22T03:06:08.962Z] $ docker stop --time=1 5e612427449060d294a832c4e700749f4f08ae40e9482e1a5eedc235e28e4ff5 [2022-04-22T03:06:10.279Z] $ docker rm -f 5e612427449060d294a832c4e700749f4f08ae40e9482e1a5eedc235e28e4ff5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-22T03:06:10.836Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-22T03:06:10.836Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T03:06:10.836Z] total 16 [2022-04-22T03:06:10.836Z] drwxr-xr-x 3 root root 4096 Apr 22 02:54 . [2022-04-22T03:06:10.836Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 03:05 .. [2022-04-22T03:06:10.836Z] drwxr-xr-x 2 root root 4096 Apr 22 02:54 cost [2022-04-22T03:06:10.836Z] -rw-r--r-- 1 root root 83 Apr 22 02:54 cost.csv [2022-04-22T03:06:10.836Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T03:06:10.836Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T03:06:10.836Z] total 16 [2022-04-22T03:06:10.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 02:54 . [2022-04-22T03:06:10.836Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 03:05 .. [2022-04-22T03:06:10.836Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 02:54 cost [2022-04-22T03:06:10.836Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 22 02:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:06:11.134Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:06:12.007Z] ---> package-listing.sh [2022-04-22T03:06:12.007Z] ++ facter osfamily [2022-04-22T03:06:12.007Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T03:06:12.269Z] + OS_FAMILY=debian [2022-04-22T03:06:12.269Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T03:06:12.269Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T03:06:12.269Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T03:06:12.269Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T03:06:12.269Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T03:06:12.269Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-22T03:06:12.269Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T03:06:12.269Z] + case "${OS_FAMILY}" in [2022-04-22T03:06:12.269Z] + dpkg -l [2022-04-22T03:06:12.269Z] + grep '^ii' [2022-04-22T03:06:12.269Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T03:06:12.269Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T03:06:12.269Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T03:06:12.269Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-22T03:06:12.269Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-22T03:06:12.269Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-04-22T03:06:12.282Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-22T03:06:12.560Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T03:06:13.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T03:06:13.118Z] . [Pipeline] withDockerContainer [2022-04-22T03:06:13.195Z] prd-ubuntu20.04-docker-8c-8g-21729 does not seem to be running inside a container [2022-04-22T03:06:13.239Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T03:06:13.514Z] $ docker top 8b789323cbeecb06e1556908bc68655d05491ba4e9abb52c24a0a83895f0c8d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T03:06:13.875Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T03:06:14.166Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T03:06:14.461Z] + ls /var/log/sa-host [2022-04-22T03:06:14.461Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T03:06:14.552Z] provisioning config files... [2022-04-22T03:06:14.563Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3955314737454521087tmp [Pipeline] { [Pipeline] echo [2022-04-22T03:06:14.580Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:06:14.866Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T03:06:14.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:06:15.210Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T03:06:15.221Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:06:15.510Z] ---> sudo-logs.sh [2022-04-22T03:06:15.510Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T03:06:15.536Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:06:15.822Z] ---> job-cost.sh [2022-04-22T03:06:15.822Z] lf-activate-venv: SKIPPING [2022-04-22T03:06:15.822Z] DEBUG: total: 0.2199999988079071 [2022-04-22T03:06:15.822Z] INFO: Retrieving Stack Cost... [2022-04-22T03:06:16.083Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T03:06:16.655Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T03:06:16.669Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T03:06:16.955Z] ---> logs-deploy.sh [2022-04-22T03:06:16.955Z] lf-activate-venv: SKIPPING [2022-04-22T03:06:16.955Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/63 [2022-04-22T03:06:16.955Z] INFO: archiving workspace using pattern(s): [2022-04-22T03:06:17.896Z] Archives upload complete. [2022-04-22T03:06:17.896Z] INFO: archiving logs to Nexus