Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0ad629fb126a20093fbb85ee62bd441bcf21fc4e 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-ssh17449305142670629613.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-ssh6401115225292444636.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-ssh2389867040694554679.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-ssh8618319528964291581.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-ssh6579340450034186685.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 Running on prd-ubuntu20.04-docker-8c-8g-21801 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 0ad629fb126a20093fbb85ee62bd441bcf21fc4e (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 0ad629fb126a20093fbb85ee62bd441bcf21fc4e # timeout=10 Commit message: "Merge pull request #1146 from jinlinGuan/issue-1145" > git rev-list --no-walk c4fb6f454a66f6ec4303bcc61530b9f99af08732 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T16:16:50.444Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T16:16:50.502Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T16:16:50.519Z] ========================================================= [2022-04-22T16:16:50.519Z] EdgeX Global Pipelines Version Info [2022-04-22T16:16:50.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:16:51.322Z] ------------------- [2022-04-22T16:16:51.322Z] stable info: [2022-04-22T16:16:51.322Z] ------------------- [2022-04-22T16:16:51.322Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T16:16:51.322Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T16:16:51.322Z] Message: update stable to v1.0.221 [2022-04-22T16:16:51.897Z] ------------------- [2022-04-22T16:16:51.897Z] experimental info: [2022-04-22T16:16:51.897Z] ------------------- [2022-04-22T16:16:51.897Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T16:16:51.897Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T16:16:51.897Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T16:16:52.023Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-22T16:16:52.035Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-22T16:16:52.047Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T16:16:52.057Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T16:16:52.069Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T16:16:52.080Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T16:16:52.097Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T16:16:52.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-22T16:16:52.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T16:16:52.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T16:16:52.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T16:16:52.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-22T16:16:52.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T16:16:52.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T16:16:52.227Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T16:16:52.244Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T16:16:52.263Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T16:16:52.281Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T16:16:52.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T16:16:52.316Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T16:16:52.328Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-22T16:16:52.339Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-22T16:16:52.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T16:16:52.359Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T16:16:52.371Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T16:16:52.382Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T16:16:52.392Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-22T16:16:52.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-22T16:16:52.415Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-22T16:16:52.430Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ad629fb126a20093fbb85ee62bd441bcf21fc4e [Pipeline] echo [2022-04-22T16:16:52.446Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ad629f [Pipeline] echo [2022-04-22T16:16:52.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:16:52.510Z] provisioning config files... [2022-04-22T16:16:52.527Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6923538263300981533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:16:52.841Z] ---> docker-login.sh [2022-04-22T16:16:52.841Z] nexus3.edgexfoundry.org:10001 [2022-04-22T16:16:53.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:16:53.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:16:53.103Z] Configure a credential helper to remove this warning. See [2022-04-22T16:16:53.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:16:53.103Z] [2022-04-22T16:16:53.103Z] Login Succeeded [2022-04-22T16:16:53.103Z] nexus3.edgexfoundry.org:10002 [2022-04-22T16:16:53.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:16:53.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:16:53.366Z] Configure a credential helper to remove this warning. See [2022-04-22T16:16:53.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:16:53.366Z] [2022-04-22T16:16:53.366Z] Login Succeeded [2022-04-22T16:16:53.366Z] nexus3.edgexfoundry.org:10003 [2022-04-22T16:16:53.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:16:53.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:16:53.628Z] Configure a credential helper to remove this warning. See [2022-04-22T16:16:53.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:16:53.628Z] [2022-04-22T16:16:53.628Z] Login Succeeded [2022-04-22T16:16:53.628Z] nexus3.edgexfoundry.org:10004 [2022-04-22T16:16:53.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:16:53.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:16:53.628Z] Configure a credential helper to remove this warning. See [2022-04-22T16:16:53.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:16:53.628Z] [2022-04-22T16:16:53.628Z] Login Succeeded [2022-04-22T16:16:53.628Z] docker.io [2022-04-22T16:16:53.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:16:54.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:16:54.152Z] Configure a credential helper to remove this warning. See [2022-04-22T16:16:54.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:16:54.152Z] [2022-04-22T16:16:54.152Z] Login Succeeded [2022-04-22T16:16:54.152Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T16:16:54.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T16:16:54.561Z] + git rev-list -1 --merges 0ad629fb126a20093fbb85ee62bd441bcf21fc4e~1..0ad629fb126a20093fbb85ee62bd441bcf21fc4e [Pipeline] echo [2022-04-22T16:16:54.670Z] -----------> git rev-list -1 --merges 0ad629fb126a20093fbb85ee62bd441bcf21fc4e~1..0ad629fb126a20093fbb85ee62bd441bcf21fc4e 0ad629fb126a20093fbb85ee62bd441bcf21fc4e [2022-04-22T16:16:54.670Z] 0ad629fb126a20093fbb85ee62bd441bcf21fc4e [false] [Pipeline] sh [2022-04-22T16:16:54.961Z] + git log --format=format:%s -1 0ad629fb126a20093fbb85ee62bd441bcf21fc4e [Pipeline] echo [2022-04-22T16:16:54.980Z] ========================================================= [2022-04-22T16:16:54.980Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T16:16:54.980Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T16:16:55.323Z] + git log --format=format:%s -1 0ad629fb126a20093fbb85ee62bd441bcf21fc4e [Pipeline] echo [2022-04-22T16:16:55.339Z] [semverPrep] GIT_COMMIT: 0ad629fb126a20093fbb85ee62bd441bcf21fc4e, Commit Message: Merge pull request #1146 from jinlinGuan/issue-1145 [Pipeline] echo [2022-04-22T16:16:55.347Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T16:16:55.736Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T16:16:55.737Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T16:16:55.737Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T16:16:55.737Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T16:16:55.737Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T16:16:55.737Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T16:16:55.737Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:16:56.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:16:56.093Z] [2022-04-22T16:16:56.093Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:16:56.402Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:16:56.402Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T16:16:56.402Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T16:16:56.402Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T16:16:56.402Z] 4c7163046ea9: Pulling fs layer [2022-04-22T16:16:56.402Z] 0c2d73faf560: Pulling fs layer [2022-04-22T16:16:56.402Z] 0c2d73faf560: Waiting [2022-04-22T16:16:56.402Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T16:16:56.402Z] 3e5f54012d9b: Download complete [2022-04-22T16:16:56.402Z] a0d0a0d46f8b: Verifying Checksum [2022-04-22T16:16:56.402Z] a0d0a0d46f8b: Download complete [2022-04-22T16:16:56.402Z] 0c2d73faf560: Verifying Checksum [2022-04-22T16:16:56.402Z] 4c7163046ea9: Verifying Checksum [2022-04-22T16:16:56.402Z] 4c7163046ea9: Download complete [2022-04-22T16:16:56.666Z] a0d0a0d46f8b: Pull complete [2022-04-22T16:16:56.666Z] 3e5f54012d9b: Pull complete [2022-04-22T16:16:56.927Z] 4c7163046ea9: Pull complete [2022-04-22T16:16:57.189Z] 0c2d73faf560: Pull complete [2022-04-22T16:16:57.189Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T16:16:57.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:16:57.189Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T16:16:57.272Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:16:57.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T16:16:58.073Z] $ docker top bda2ecfba16c9557d68835635f2a66b5b602acb3619148d185bf60fa385164f9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T16:16:58.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T16:16:58.179Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T16:16:58.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T16:16:58.328Z] $ docker exec bda2ecfba16c9557d68835635f2a66b5b602acb3619148d185bf60fa385164f9 ssh-agent [2022-04-22T16:16:58.455Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcFbcNC/agent.15 [2022-04-22T16:16:58.455Z] SSH_AGENT_PID=21 [2022-04-22T16:16:58.465Z] Running ssh-add (command line suppressed) [2022-04-22T16:16:58.605Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2632677675803072714.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2632677675803072714.key) [2022-04-22T16:16:58.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T16:16:58.908Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T16:16:58.959Z] $ docker exec --env ******** --env ******** bda2ecfba16c9557d68835635f2a66b5b602acb3619148d185bf60fa385164f9 ssh-agent -k [2022-04-22T16:16:59.083Z] unset SSH_AUTH_SOCK; [2022-04-22T16:16:59.084Z] unset SSH_AGENT_PID; [2022-04-22T16:16:59.084Z] echo Agent pid 21 killed; [2022-04-22T16:16:59.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T16:16:59.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T16:16:59.113Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T16:16:59.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T16:16:59.247Z] $ docker exec bda2ecfba16c9557d68835635f2a66b5b602acb3619148d185bf60fa385164f9 ssh-agent [2022-04-22T16:16:59.372Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjaipAH/agent.55 [2022-04-22T16:16:59.372Z] SSH_AGENT_PID=61 [2022-04-22T16:16:59.379Z] Running ssh-add (command line suppressed) [2022-04-22T16:16:59.507Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7519898100119968548.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7519898100119968548.key) [2022-04-22T16:16:59.517Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T16:16:59.811Z] + git semver init [2022-04-22T16:16:59.811Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T16:16:59.811Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T16:16:59.811Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T16:16:59.811Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T16:16:59.811Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T16:16:59.811Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T16:16:59.811Z] # $SEMVER_BRANCH = main [2022-04-22T16:16:59.811Z] # $SEMVER_TEMP = /tmp/semver-616872341 [2022-04-22T16:16:59.811Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-22T16:17:01.204Z] # '/tmp/semver-616872341' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-22T16:17:01.204Z] # -> Force: false [2022-04-22T16:17:01.204Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-22T16:17:01.225Z] $ docker exec --env ******** --env ******** bda2ecfba16c9557d68835635f2a66b5b602acb3619148d185bf60fa385164f9 ssh-agent -k [2022-04-22T16:17:01.342Z] unset SSH_AUTH_SOCK; [2022-04-22T16:17:01.342Z] unset SSH_AGENT_PID; [2022-04-22T16:17:01.342Z] echo Agent pid 61 killed; [2022-04-22T16:17:01.348Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T16:17:01.670Z] + git semver [Pipeline] } [2022-04-22T16:17:01.691Z] $ docker stop --time=1 bda2ecfba16c9557d68835635f2a66b5b602acb3619148d185bf60fa385164f9 [2022-04-22T16:17:03.113Z] $ docker rm -f bda2ecfba16c9557d68835635f2a66b5b602acb3619148d185bf60fa385164f9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T16:17:03.479Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T16:17:03.775Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T16:17:03.779Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.31 [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-22T16:17:03.932Z] provisioning config files... [2022-04-22T16:17:03.946Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8885749401177376871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:17:04.251Z] ---> docker-login.sh [2022-04-22T16:17:04.251Z] nexus3.edgexfoundry.org:10001 [2022-04-22T16:17:04.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:17:04.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:17:04.251Z] Configure a credential helper to remove this warning. See [2022-04-22T16:17:04.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:17:04.251Z] [2022-04-22T16:17:04.251Z] Login Succeeded [2022-04-22T16:17:04.251Z] nexus3.edgexfoundry.org:10002 [2022-04-22T16:17:04.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:17:04.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:17:04.516Z] Configure a credential helper to remove this warning. See [2022-04-22T16:17:04.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:17:04.516Z] [2022-04-22T16:17:04.516Z] Login Succeeded [2022-04-22T16:17:04.516Z] nexus3.edgexfoundry.org:10003 [2022-04-22T16:17:04.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:17:04.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:17:04.516Z] Configure a credential helper to remove this warning. See [2022-04-22T16:17:04.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:17:04.516Z] [2022-04-22T16:17:04.516Z] Login Succeeded [2022-04-22T16:17:04.516Z] nexus3.edgexfoundry.org:10004 [2022-04-22T16:17:04.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:17:04.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:17:04.784Z] Configure a credential helper to remove this warning. See [2022-04-22T16:17:04.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:17:04.784Z] [2022-04-22T16:17:04.784Z] Login Succeeded [2022-04-22T16:17:04.784Z] docker.io [2022-04-22T16:17:04.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:17:05.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:17:05.046Z] Configure a credential helper to remove this warning. See [2022-04-22T16:17:05.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:17:05.046Z] [2022-04-22T16:17:05.046Z] Login Succeeded [2022-04-22T16:17:05.046Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T16:17:05.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T16:17:05.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T16:17:05.136Z] ========================================================= [2022-04-22T16:17:05.136Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T16:17:05.136Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:17:05.452Z] + 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-22T16:17:05.452Z] Sending build context to Docker daemon 9.58MB [2022-04-22T16:17:05.452Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T16:17:05.452Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T16:17:05.713Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T16:17:05.713Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T16:17:05.713Z] 666ba61612fd: Pulling fs layer [2022-04-22T16:17:05.713Z] 8ed8ca486205: Pulling fs layer [2022-04-22T16:17:05.713Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T16:17:05.713Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T16:17:05.713Z] ca2b28591e48: Pulling fs layer [2022-04-22T16:17:05.713Z] a51346096db8: Pulling fs layer [2022-04-22T16:17:05.713Z] daebc70d1ce1: Pulling fs layer [2022-04-22T16:17:05.713Z] 0e18a0eac166: Pulling fs layer [2022-04-22T16:17:05.713Z] ca2b28591e48: Waiting [2022-04-22T16:17:05.713Z] a51346096db8: Waiting [2022-04-22T16:17:05.713Z] 4fe6c5a15a65: Waiting [2022-04-22T16:17:05.713Z] 22a0e8bec74d: Waiting [2022-04-22T16:17:05.713Z] 8ed8ca486205: Verifying Checksum [2022-04-22T16:17:05.713Z] 8ed8ca486205: Download complete [2022-04-22T16:17:05.713Z] 666ba61612fd: Download complete [2022-04-22T16:17:05.713Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T16:17:05.713Z] 22a0e8bec74d: Download complete [2022-04-22T16:17:05.713Z] ca2b28591e48: Verifying Checksum [2022-04-22T16:17:05.713Z] ca2b28591e48: Download complete [2022-04-22T16:17:05.713Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T16:17:05.713Z] 59bf1c3509f3: Download complete [2022-04-22T16:17:05.713Z] a51346096db8: Verifying Checksum [2022-04-22T16:17:05.713Z] a51346096db8: Download complete [2022-04-22T16:17:05.713Z] daebc70d1ce1: Verifying Checksum [2022-04-22T16:17:05.713Z] daebc70d1ce1: Download complete [2022-04-22T16:17:05.973Z] 59bf1c3509f3: Pull complete [2022-04-22T16:17:05.973Z] 666ba61612fd: Pull complete [2022-04-22T16:17:05.973Z] 8ed8ca486205: Pull complete [2022-04-22T16:17:06.542Z] 0e18a0eac166: Download complete [2022-04-22T16:17:06.542Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T16:17:06.542Z] 4fe6c5a15a65: Download complete [2022-04-22T16:17:10.740Z] 4fe6c5a15a65: Pull complete [2022-04-22T16:17:10.740Z] 22a0e8bec74d: Pull complete [2022-04-22T16:17:10.740Z] ca2b28591e48: Pull complete [2022-04-22T16:17:10.740Z] a51346096db8: Pull complete [2022-04-22T16:17:11.000Z] daebc70d1ce1: Pull complete [2022-04-22T16:17:13.546Z] 0e18a0eac166: Pull complete [2022-04-22T16:17:13.546Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-22T16:17:13.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T16:17:13.546Z] ---> f018257e8ee9 [2022-04-22T16:17:13.546Z] Step 3/11 : ARG MAKE=make build [2022-04-22T16:17:14.932Z] ---> Running in a85d8cc0b877 [2022-04-22T16:17:15.192Z] Removing intermediate container a85d8cc0b877 [2022-04-22T16:17:15.192Z] ---> 772f8a9ac22a [2022-04-22T16:17:15.192Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T16:17:15.192Z] ---> Running in 16737267dd14 [2022-04-22T16:17:15.192Z] Removing intermediate container 16737267dd14 [2022-04-22T16:17:15.192Z] ---> f3321f7b962c [2022-04-22T16:17:15.192Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:17:15.452Z] ---> Running in 121c91314008 [2022-04-22T16:17:15.452Z] Removing intermediate container 121c91314008 [2022-04-22T16:17:15.452Z] ---> 941aca2f1f52 [2022-04-22T16:17:15.452Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:17:15.452Z] ---> Running in b01ed10b7cf2 [2022-04-22T16:17:16.023Z] Removing intermediate container b01ed10b7cf2 [2022-04-22T16:17:16.023Z] ---> f7f69d2499f0 [2022-04-22T16:17:16.023Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T16:17:16.285Z] ---> Running in 5e5c862b5fca [2022-04-22T16:17:16.546Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T16:17:17.490Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T16:17:17.490Z] OK: 221 MiB in 52 packages [2022-04-22T16:17:18.066Z] Removing intermediate container 5e5c862b5fca [2022-04-22T16:17:18.066Z] ---> 378ed16a5095 [2022-04-22T16:17:18.066Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T16:17:18.066Z] ---> 889e92d2baf1 [2022-04-22T16:17:18.066Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T16:17:18.066Z] ---> Running in 2ca93f1b4487 [2022-04-22T16:17:18.900Z] Still waiting to schedule task [2022-04-22T16:17:18.900Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-22T16:17:36.187Z] Removing intermediate container 2ca93f1b4487 [2022-04-22T16:17:36.187Z] ---> f07e87347d2c [2022-04-22T16:17:36.187Z] Step 10/11 : COPY . . [2022-04-22T16:17:36.187Z] ---> b8d0104d08f3 [2022-04-22T16:17:36.187Z] Step 11/11 : RUN ${MAKE} [2022-04-22T16:17:36.448Z] ---> Running in 0726d8027452 [2022-04-22T16:17:36.710Z] noop [2022-04-22T16:17:37.282Z] Removing intermediate container 0726d8027452 [2022-04-22T16:17:37.282Z] ---> 640f2b3eeec4 [2022-04-22T16:17:37.282Z] Successfully built 640f2b3eeec4 [2022-04-22T16:17:37.282Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:17:37.580Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T16:17:37.580Z] . [Pipeline] withDockerContainer [2022-04-22T16:17:37.651Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:17:37.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T16:17:38.166Z] $ docker top 261c5f6bc16923321d94501f558f1ed9a505d5167e8a038ac3a5a35d92b63836 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T16:17:38.531Z] + go version [2022-04-22T16:17:38.531Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T16:17:38.551Z] $ docker stop --time=1 261c5f6bc16923321d94501f558f1ed9a505d5167e8a038ac3a5a35d92b63836 [2022-04-22T16:17:39.841Z] $ docker rm -f 261c5f6bc16923321d94501f558f1ed9a505d5167e8a038ac3a5a35d92b63836 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:17:40.272Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T16:17:40.272Z] . [Pipeline] withDockerContainer [2022-04-22T16:17:40.346Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:17:40.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T16:17:40.836Z] $ docker top 8cf31baaa59dddd249d1f832e271bf0e4d266c35df998e9047aa08e220d9f44c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T16:17:41.209Z] + make test [2022-04-22T16:17:41.209Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T16:17:47.815Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T16:18:00.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T16:18:00.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T16:18:00.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T16:18:00.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.136s coverage: 23.3% of statements [2022-04-22T16:18:00.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T16:18:00.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements [2022-04-22T16:18:00.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2022-04-22T16:18:00.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.063s coverage: 10.8% of statements [2022-04-22T16:18:00.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.098s coverage: 60.0% of statements [2022-04-22T16:18:00.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T16:18:00.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T16:18:00.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.087s coverage: 34.8% of statements [2022-04-22T16:18:00.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T16:18:01.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.1% of statements [2022-04-22T16:18:01.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T16:18:01.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T16:18:01.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-04-22T16:18:01.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.898s coverage: 89.2% of statements [2022-04-22T16:18:01.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T16:18:01.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-04-22T16:18:01.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T16:18:19.800Z] GO111MODULE=on go vet ./... [2022-04-22T16:18:22.347Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T16:18:22.347Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T16:18:22.347Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T16:18:22.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T16:18:22.644Z] $ docker stop --time=1 8cf31baaa59dddd249d1f832e271bf0e4d266c35df998e9047aa08e220d9f44c [2022-04-22T16:18:25.166Z] $ docker rm -f 8cf31baaa59dddd249d1f832e271bf0e4d266c35df998e9047aa08e220d9f44c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T16:18:25.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T16:18:25.762Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T16:18:27.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T16:18:27.348Z] + ls -al . [2022-04-22T16:18:27.348Z] total 296 [2022-04-22T16:18:27.348Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 16:18 . [2022-04-22T16:18:27.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:16 .. [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 16:16 .dockerignore [2022-04-22T16:18:27.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 16:16 .git [2022-04-22T16:18:27.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:16 .github [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 16:16 .gitignore [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 16:16 .golangci.yml [2022-04-22T16:18:27.348Z] drwx------ 3 jenkins jenkins 4096 Apr 22 16:17 .semver [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 16:16 CHANGELOG.md [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 16:16 GOVERNANCE.md [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 16:16 Jenkinsfile [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 16:16 LICENSE [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 16:16 Makefile [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 16:16 OWNERS.md [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 16:16 README.md [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 22 16:17 VERSION [2022-04-22T16:18:27.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:16 bin [2022-04-22T16:18:27.348Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 16:18 coverage.out [2022-04-22T16:18:27.348Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:16 example [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 16:16 go.mod [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 34607 Apr 22 16:16 go.sum [2022-04-22T16:18:27.348Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 16:16 internal [2022-04-22T16:18:27.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 16:16 openapi [2022-04-22T16:18:27.348Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:16 pkg [2022-04-22T16:18:27.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:16 snap [2022-04-22T16:18:27.348Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 16:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:18:27.655Z] + 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=0ad629fb126a20093fbb85ee62bd441bcf21fc4e --label arch=amd64 --label version=2.2.0-dev.31 . [2022-04-22T16:18:27.655Z] Sending build context to Docker daemon 9.712MB [2022-04-22T16:18:27.655Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T16:18:27.655Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T16:18:27.655Z] ---> 640f2b3eeec4 [2022-04-22T16:18:27.655Z] Step 3/25 : ARG MAKE=make build [2022-04-22T16:18:27.916Z] ---> Running in 9677d01ee142 [2022-04-22T16:18:27.916Z] Removing intermediate container 9677d01ee142 [2022-04-22T16:18:27.916Z] ---> 45df657ebb93 [2022-04-22T16:18:27.916Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T16:18:27.916Z] ---> Running in 3c02e53170f6 [2022-04-22T16:18:28.177Z] Removing intermediate container 3c02e53170f6 [2022-04-22T16:18:28.177Z] ---> 9e341beb532f [2022-04-22T16:18:28.177Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:18:28.177Z] ---> Running in fef1249d9f3a [2022-04-22T16:18:28.177Z] Removing intermediate container fef1249d9f3a [2022-04-22T16:18:28.177Z] ---> fd880415a85f [2022-04-22T16:18:28.177Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:18:28.177Z] ---> Running in 390483ef545b [2022-04-22T16:18:29.118Z] Removing intermediate container 390483ef545b [2022-04-22T16:18:29.118Z] ---> fdd9b4331e76 [2022-04-22T16:18:29.118Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T16:18:29.118Z] ---> Running in ff08f974cf22 [2022-04-22T16:18:29.378Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T16:18:30.321Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T16:18:30.587Z] OK: 221 MiB in 52 packages [2022-04-22T16:18:30.849Z] Removing intermediate container ff08f974cf22 [2022-04-22T16:18:30.849Z] ---> 95de627899d0 [2022-04-22T16:18:30.849Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T16:18:31.117Z] ---> b2ae227eaec5 [2022-04-22T16:18:31.117Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T16:18:31.117Z] ---> Running in 29d43038f8d8 [2022-04-22T16:18:31.688Z] Removing intermediate container 29d43038f8d8 [2022-04-22T16:18:31.688Z] ---> 3e0f150aefe5 [2022-04-22T16:18:31.688Z] Step 10/25 : COPY . . [2022-04-22T16:18:32.259Z] ---> d75056c0b91b [2022-04-22T16:18:32.259Z] Step 11/25 : RUN ${MAKE} [2022-04-22T16:18:32.259Z] ---> Running in 323eab313393 [2022-04-22T16:18:32.829Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.31" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-22T16:18:50.964Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T16:18:53.506Z] Removing intermediate container 323eab313393 [2022-04-22T16:18:53.506Z] ---> 6a31c0edfaa8 [2022-04-22T16:18:53.506Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T16:18:53.766Z] 3.14: Pulling from library/alpine [2022-04-22T16:18:54.027Z] 8663204ce13b: Pulling fs layer [2022-04-22T16:18:54.288Z] 8663204ce13b: Verifying Checksum [2022-04-22T16:18:54.288Z] 8663204ce13b: Download complete [2022-04-22T16:18:54.288Z] 8663204ce13b: Pull complete [2022-04-22T16:18:54.549Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T16:18:54.549Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T16:18:54.549Z] ---> e04c818066af [2022-04-22T16:18:54.549Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:18:54.811Z] ---> Running in 0cf48ea70352 [2022-04-22T16:18:54.811Z] Removing intermediate container 0cf48ea70352 [2022-04-22T16:18:54.811Z] ---> 75e76b0b80d3 [2022-04-22T16:18:54.811Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:18:55.071Z] ---> Running in 98613f22ab1d [2022-04-22T16:18:55.641Z] Removing intermediate container 98613f22ab1d [2022-04-22T16:18:55.641Z] ---> 0555db81e06b [2022-04-22T16:18:55.641Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T16:18:55.641Z] ---> Running in 26cd25b5707c [2022-04-22T16:18:55.902Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T16:18:56.842Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T16:18:57.103Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T16:18:57.103Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T16:18:57.363Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T16:18:57.363Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T16:18:57.363Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T16:18:57.622Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T16:18:57.622Z] OK: 8 MiB in 19 packages [2022-04-22T16:18:58.566Z] Removing intermediate container 26cd25b5707c [2022-04-22T16:18:58.566Z] ---> cf6eea5c0249 [2022-04-22T16:18:58.566Z] Step 16/25 : WORKDIR / [2022-04-22T16:18:58.566Z] ---> Running in b188fc21cc76 [2022-04-22T16:18:58.566Z] Removing intermediate container b188fc21cc76 [2022-04-22T16:18:58.566Z] ---> bebf6a005623 [2022-04-22T16:18:58.566Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T16:18:58.828Z] ---> a4409cc6991a [2022-04-22T16:18:58.828Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T16:18:59.436Z] ---> 0de7062341bc [2022-04-22T16:18:59.436Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T16:18:59.695Z] ---> 81f4c2779a15 [2022-04-22T16:18:59.695Z] Step 20/25 : EXPOSE 59999 [2022-04-22T16:18:59.695Z] ---> Running in bdb0af8c03c5 [2022-04-22T16:18:59.695Z] Removing intermediate container bdb0af8c03c5 [2022-04-22T16:18:59.695Z] ---> 4bec0cea05db [2022-04-22T16:18:59.695Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T16:18:59.695Z] ---> Running in 0274052423e7 [2022-04-22T16:18:59.963Z] Removing intermediate container 0274052423e7 [2022-04-22T16:18:59.963Z] ---> d4386723ab0d [2022-04-22T16:18:59.963Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T16:18:59.963Z] ---> Running in 34c381ef9eed [2022-04-22T16:18:59.963Z] Removing intermediate container 34c381ef9eed [2022-04-22T16:18:59.963Z] ---> 6b1585e7f35d [2022-04-22T16:18:59.963Z] Step 23/25 : LABEL arch=amd64 [2022-04-22T16:19:00.224Z] ---> Running in 8d01dec3442a [2022-04-22T16:19:00.224Z] Removing intermediate container 8d01dec3442a [2022-04-22T16:19:00.224Z] ---> 5d40f6335900 [2022-04-22T16:19:00.224Z] Step 24/25 : LABEL git_sha=0ad629fb126a20093fbb85ee62bd441bcf21fc4e [2022-04-22T16:19:00.224Z] ---> Running in af37be55bde8 [2022-04-22T16:19:00.484Z] Removing intermediate container af37be55bde8 [2022-04-22T16:19:00.484Z] ---> 888832f70cf5 [2022-04-22T16:19:00.484Z] Step 25/25 : LABEL version=2.2.0-dev.31 [2022-04-22T16:19:00.484Z] ---> Running in 3bf2c4b8456b [2022-04-22T16:19:00.484Z] Removing intermediate container 3bf2c4b8456b [2022-04-22T16:19:00.484Z] ---> b698110eba82 [2022-04-22T16:19:00.484Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T16:19:00.484Z] Successfully built b698110eba82 [2022-04-22T16:19:00.484Z] 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-22T16:19:00.681Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21802 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-22T16:19:00.693Z] Running in /w/workspace/device-sdk-go/64 [Pipeline] { [Pipeline] checkout [2022-04-22T16:19:00.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:19:00.893Z] [2022-04-22T16:19:00.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:19:00.952Z] The recommended git tool is: git [2022-04-22T16:19:01.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:19:01.194Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T16:19:01.194Z] 5eb5b503b376: Pulling fs layer [2022-04-22T16:19:01.194Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T16:19:01.194Z] ec43610c2a17: Pulling fs layer [2022-04-22T16:19:01.194Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T16:19:01.194Z] 33b1e0a273af: Pulling fs layer [2022-04-22T16:19:01.194Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T16:19:01.194Z] 2f39f015ded8: Pulling fs layer [2022-04-22T16:19:01.194Z] 33b1e0a273af: Waiting [2022-04-22T16:19:01.194Z] 3a2ae6a8a46f: Waiting [2022-04-22T16:19:01.194Z] 5d3b04190fa2: Waiting [2022-04-22T16:19:01.194Z] 5c69ac0246d0: Download complete [2022-04-22T16:19:01.194Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T16:19:01.194Z] 3a2ae6a8a46f: Download complete [2022-04-22T16:19:01.194Z] 33b1e0a273af: Verifying Checksum [2022-04-22T16:19:01.194Z] 33b1e0a273af: Download complete [2022-04-22T16:19:01.194Z] ec43610c2a17: Verifying Checksum [2022-04-22T16:19:01.194Z] ec43610c2a17: Download complete [2022-04-22T16:19:01.194Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T16:19:01.453Z] 5eb5b503b376: Verifying Checksum [2022-04-22T16:19:01.453Z] 5eb5b503b376: Download complete [2022-04-22T16:19:02.021Z] 2f39f015ded8: Download complete [2022-04-22T16:19:02.589Z] 5eb5b503b376: Pull complete [2022-04-22T16:19:02.849Z] 5c69ac0246d0: Pull complete [2022-04-22T16:19:03.418Z] ec43610c2a17: Pull complete [2022-04-22T16:19:03.418Z] 3a2ae6a8a46f: Pull complete [2022-04-22T16:19:03.676Z] 33b1e0a273af: Pull complete [2022-04-22T16:19:03.676Z] 5d3b04190fa2: Pull complete [2022-04-22T16:19:07.016Z] using credential edgex-jenkins-ssh [2022-04-22T16:19:07.034Z] Cloning the remote Git repository [2022-04-22T16:19:07.185Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T16:19:07.383Z] > git init /w/workspace/device-sdk-go/64 # timeout=10 [2022-04-22T16:19:07.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T16:19:07.527Z] > git --version # timeout=10 [2022-04-22T16:19:07.565Z] > git --version # 'git version 2.25.1' [2022-04-22T16:19:07.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T16:19:07.669Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T16:19:08.954Z] 2f39f015ded8: Pull complete [2022-04-22T16:19:08.954Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T16:19:08.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:19:08.954Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T16:19:09.020Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:19:09.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T16:19:09.211Z] Avoid second fetch [2022-04-22T16:19:09.212Z] Checking out Revision 0ad629fb126a20093fbb85ee62bd441bcf21fc4e (main) [2022-04-22T16:19:09.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T16:19:09.190Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T16:19:09.234Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T16:19:09.250Z] > git checkout -f 0ad629fb126a20093fbb85ee62bd441bcf21fc4e # timeout=10 [2022-04-22T16:19:11.982Z] $ docker top 40b33d9c05df71d40c1c3be00c4f51bf3189f558eaa19afa09c4970b3d446bb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:19:12.406Z] ---> job-cost.sh [2022-04-22T16:19:12.406Z] lf-activate-venv: SKIPPING [2022-04-22T16:19:12.406Z] INFO: No Stack... [2022-04-22T16:19:12.667Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T16:19:13.265Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T16:19:13.374Z] Commit message: "Merge pull request #1146 from jinlinGuan/issue-1145" [2022-04-22T16:19:13.613Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-04-22T16:19:13.613Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T16:19:13.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-64-stack-cost] [2022-04-22T16:19:13.644Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-64-stack-cost] did not exist. Created. [2022-04-22T16:19:13.644Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T16:19:13.802Z] [2022-04-22T16:19:13.802Z] GitHub has been notified of this commit’s build result [2022-04-22T16:19:13.802Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T16:19:13.946Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T16:19:14.070Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T16:19:14.077Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T16:19:14.102Z] $ docker stop --time=1 40b33d9c05df71d40c1c3be00c4f51bf3189f558eaa19afa09c4970b3d446bb4 [2022-04-22T16:19:14.378Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T16:19:14.378Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T16:19:14.378Z] Dload Upload Total Spent Left Speed [2022-04-22T16:19:14.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87725 [2022-04-22T16:19:15.272Z] $ docker rm -f 40b33d9c05df71d40c1c3be00c4f51bf3189f558eaa19afa09c4970b3d446bb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T16:19:15.672Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T16:19:16.022Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T16:19:16.022Z] + sudo tee /etc/docker/daemon.new [2022-04-22T16:19:16.022Z] { [2022-04-22T16:19:16.022Z] "registry-mirrors": [ [2022-04-22T16:19:16.022Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T16:19:16.022Z] ], [2022-04-22T16:19:16.022Z] "bip": "10.250.0.254/24", [2022-04-22T16:19:16.022Z] "hosts": [ [2022-04-22T16:19:16.022Z] "tcp://0.0.0.0:5555", [2022-04-22T16:19:16.022Z] "unix:///var/run/docker.sock" [2022-04-22T16:19:16.022Z] ], [2022-04-22T16:19:16.022Z] "mtu": 1458, [2022-04-22T16:19:16.022Z] "selinux-enabled": true, [2022-04-22T16:19:16.022Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T16:19:16.022Z] } [Pipeline] sh [2022-04-22T16:19:16.376Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T16:19:16.719Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:19:35.115Z] provisioning config files... [2022-04-22T16:19:35.140Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/64@tmp/config2523413981444478962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:19:35.516Z] ---> docker-login.sh [2022-04-22T16:19:35.517Z] nexus3.edgexfoundry.org:10001 [2022-04-22T16:19:36.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:36.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:36.393Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:36.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:36.393Z] [2022-04-22T16:19:36.393Z] Login Succeeded [2022-04-22T16:19:36.393Z] nexus3.edgexfoundry.org:10002 [2022-04-22T16:19:36.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:36.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:36.667Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:36.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:36.667Z] [2022-04-22T16:19:36.667Z] Login Succeeded [2022-04-22T16:19:36.667Z] nexus3.edgexfoundry.org:10003 [2022-04-22T16:19:37.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:37.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:37.267Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:37.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:37.267Z] [2022-04-22T16:19:37.267Z] Login Succeeded [2022-04-22T16:19:37.267Z] nexus3.edgexfoundry.org:10004 [2022-04-22T16:19:37.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:37.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:37.827Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:37.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:37.827Z] [2022-04-22T16:19:37.827Z] Login Succeeded [2022-04-22T16:19:37.827Z] docker.io [2022-04-22T16:19:38.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T16:19:38.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T16:19:38.373Z] Configure a credential helper to remove this warning. See [2022-04-22T16:19:38.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T16:19:38.373Z] [2022-04-22T16:19:38.373Z] Login Succeeded [2022-04-22T16:19:38.373Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T16:19:38.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T16:19:38.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T16:19:38.917Z] ========================================================= [2022-04-22T16:19:38.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T16:19:38.917Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:19:39.273Z] + 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-22T16:19:39.550Z] Sending build context to Docker daemon 5.193MB [2022-04-22T16:19:39.846Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T16:19:39.846Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T16:19:39.846Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T16:19:39.846Z] 9b3977197b4f: Pulling fs layer [2022-04-22T16:19:39.846Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T16:19:39.846Z] 94645a83ff95: Pulling fs layer [2022-04-22T16:19:39.846Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T16:19:39.846Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T16:19:39.846Z] 3096ccb668a1: Pulling fs layer [2022-04-22T16:19:39.846Z] e8cf19c19ddd: Pulling fs layer [2022-04-22T16:19:39.846Z] a4caa8a26152: Pulling fs layer [2022-04-22T16:19:39.846Z] 3f3a8bcf1eab: Waiting [2022-04-22T16:19:39.846Z] 0c92f367c5e7: Waiting [2022-04-22T16:19:39.846Z] 3096ccb668a1: Waiting [2022-04-22T16:19:39.846Z] e8cf19c19ddd: Waiting [2022-04-22T16:19:39.846Z] a4caa8a26152: Waiting [2022-04-22T16:19:39.846Z] 94645a83ff95: Verifying Checksum [2022-04-22T16:19:39.846Z] 94645a83ff95: Download complete [2022-04-22T16:19:39.846Z] 1a89e8eeedd5: Verifying Checksum [2022-04-22T16:19:39.846Z] 1a89e8eeedd5: Download complete [2022-04-22T16:19:39.846Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T16:19:39.846Z] 0c92f367c5e7: Download complete [2022-04-22T16:19:39.846Z] 3096ccb668a1: Verifying Checksum [2022-04-22T16:19:39.846Z] 3096ccb668a1: Download complete [2022-04-22T16:19:39.846Z] 9b3977197b4f: Verifying Checksum [2022-04-22T16:19:39.846Z] 9b3977197b4f: Download complete [2022-04-22T16:19:40.125Z] e8cf19c19ddd: Verifying Checksum [2022-04-22T16:19:40.125Z] e8cf19c19ddd: Download complete [2022-04-22T16:19:40.730Z] 9b3977197b4f: Pull complete [2022-04-22T16:19:41.336Z] 1a89e8eeedd5: Pull complete [2022-04-22T16:19:41.611Z] 94645a83ff95: Pull complete [2022-04-22T16:19:41.886Z] a4caa8a26152: Verifying Checksum [2022-04-22T16:19:41.886Z] a4caa8a26152: Download complete [2022-04-22T16:19:42.484Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T16:19:42.484Z] 3f3a8bcf1eab: Download complete [2022-04-22T16:19:54.898Z] 3f3a8bcf1eab: Pull complete [2022-04-22T16:19:54.898Z] 0c92f367c5e7: Pull complete [2022-04-22T16:19:54.898Z] 3096ccb668a1: Pull complete [2022-04-22T16:19:55.172Z] e8cf19c19ddd: Pull complete [2022-04-22T16:20:01.902Z] a4caa8a26152: Pull complete [2022-04-22T16:20:01.902Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-22T16:20:01.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T16:20:01.902Z] ---> 725f1c02e7f9 [2022-04-22T16:20:01.902Z] Step 3/11 : ARG MAKE=make build [2022-04-22T16:20:02.893Z] ---> Running in d84875221aaf [2022-04-22T16:20:02.893Z] Removing intermediate container d84875221aaf [2022-04-22T16:20:02.893Z] ---> 3b6e2d824a32 [2022-04-22T16:20:02.893Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T16:20:03.183Z] ---> Running in db4d49aa385b [2022-04-22T16:20:03.462Z] Removing intermediate container db4d49aa385b [2022-04-22T16:20:03.462Z] ---> de7442a53a90 [2022-04-22T16:20:03.462Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:20:03.462Z] ---> Running in bfdbd7652ccd [2022-04-22T16:20:03.743Z] Removing intermediate container bfdbd7652ccd [2022-04-22T16:20:03.743Z] ---> fbcb496fd703 [2022-04-22T16:20:03.743Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:20:03.743Z] ---> Running in 362ccdb29518 [2022-04-22T16:20:05.728Z] Removing intermediate container 362ccdb29518 [2022-04-22T16:20:05.728Z] ---> 47b205242756 [2022-04-22T16:20:05.728Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T16:20:05.728Z] ---> Running in 2b6c54c52a51 [2022-04-22T16:20:07.727Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T16:20:08.705Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T16:20:09.302Z] OK: 220 MiB in 52 packages [2022-04-22T16:20:10.292Z] Removing intermediate container 2b6c54c52a51 [2022-04-22T16:20:10.292Z] ---> d887e34111a1 [2022-04-22T16:20:10.292Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T16:20:10.570Z] ---> e8bbc7b74392 [2022-04-22T16:20:10.570Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T16:20:10.848Z] ---> Running in 25fe5504811b [2022-04-22T16:20:57.837Z] Removing intermediate container 25fe5504811b [2022-04-22T16:20:57.837Z] ---> 6ca0238640dc [2022-04-22T16:20:57.837Z] Step 10/11 : COPY . . [2022-04-22T16:20:57.837Z] ---> 369f59ef544d [2022-04-22T16:20:57.837Z] Step 11/11 : RUN ${MAKE} [2022-04-22T16:20:57.837Z] ---> Running in 9db0bf20e09b [2022-04-22T16:20:57.837Z] noop [2022-04-22T16:20:57.837Z] Removing intermediate container 9db0bf20e09b [2022-04-22T16:20:57.837Z] ---> c68d223c715a [2022-04-22T16:20:57.837Z] Successfully built c68d223c715a [2022-04-22T16:20:57.837Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:20:58.187Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T16:20:58.187Z] . [Pipeline] withDockerContainer [2022-04-22T16:20:58.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-21802 does not seem to be running inside a container [2022-04-22T16:20:58.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/64 -v /w/workspace/device-sdk-go/64:/w/workspace/device-sdk-go/64:rw,z -v /w/workspace/device-sdk-go/64@tmp:/w/workspace/device-sdk-go/64@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-22T16:20:59.857Z] $ docker top 8f8377814bb9d516d6f518474e5edc36427b3aadbceece62b50c8701fa21dd75 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T16:21:00.781Z] + go version [2022-04-22T16:21:00.781Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T16:21:00.808Z] $ docker stop --time=1 8f8377814bb9d516d6f518474e5edc36427b3aadbceece62b50c8701fa21dd75 [2022-04-22T16:21:02.463Z] $ docker rm -f 8f8377814bb9d516d6f518474e5edc36427b3aadbceece62b50c8701fa21dd75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:21:03.065Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T16:21:03.065Z] . [Pipeline] withDockerContainer [2022-04-22T16:21:03.295Z] prd-ubuntu20.04-docker-arm64-4c-16g-21802 does not seem to be running inside a container [2022-04-22T16:21:03.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/64 -v /w/workspace/device-sdk-go/64:/w/workspace/device-sdk-go/64:rw,z -v /w/workspace/device-sdk-go/64@tmp:/w/workspace/device-sdk-go/64@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-22T16:21:04.641Z] $ docker top 08861d0b71c00640e1f0b518c21aab7db7789dbd6f306a401d63a23cc5acb5cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T16:21:05.563Z] + make test [2022-04-22T16:21:05.563Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T16:21:37.933Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T16:23:14.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T16:23:14.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T16:23:14.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T16:23:25.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.341s coverage: 23.3% of statements [2022-04-22T16:23:25.018Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T16:23:25.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.227s coverage: 27.6% of statements [2022-04-22T16:23:25.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.341s coverage: 78.9% of statements [2022-04-22T16:23:25.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.260s coverage: 10.8% of statements [2022-04-22T16:23:27.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.631s coverage: 60.0% of statements [2022-04-22T16:23:27.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T16:23:27.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T16:23:30.315Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.427s coverage: 34.8% of statements [2022-04-22T16:23:30.315Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T16:23:33.738Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.368s coverage: 86.1% of statements [2022-04-22T16:23:33.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T16:23:33.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T16:23:33.738Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.527s coverage: 65.1% of statements [2022-04-22T16:23:35.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.200s coverage: 89.2% of statements [2022-04-22T16:23:35.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T16:23:38.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.238s coverage: 4.7% of statements [2022-04-22T16:23:38.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T16:23:38.612Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T16:23:38.612Z] GO111MODULE=on go vet ./... [2022-04-22T16:25:15.468Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T16:25:15.468Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T16:25:15.468Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T16:25:15.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T16:25:15.503Z] $ docker stop --time=1 08861d0b71c00640e1f0b518c21aab7db7789dbd6f306a401d63a23cc5acb5cb [2022-04-22T16:25:17.310Z] $ docker rm -f 08861d0b71c00640e1f0b518c21aab7db7789dbd6f306a401d63a23cc5acb5cb [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T16:25:18.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T16:25:18.775Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T16:25:19.403Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T16:25:19.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T16:25:20.144Z] + ls -al . [2022-04-22T16:25:20.144Z] total 292 [2022-04-22T16:25:20.144Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 16:25 . [2022-04-22T16:25:20.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:19 .. [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 16:19 .dockerignore [2022-04-22T16:25:20.144Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 16:19 .git [2022-04-22T16:25:20.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:19 .github [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 16:19 .gitignore [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 16:19 .golangci.yml [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 16:19 CHANGELOG.md [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 16:19 GOVERNANCE.md [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 16:19 Jenkinsfile [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 16:19 LICENSE [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 16:19 Makefile [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 16:19 OWNERS.md [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 16:19 README.md [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 22 16:17 VERSION [2022-04-22T16:25:20.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:19 bin [2022-04-22T16:25:20.144Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 16:23 coverage.out [2022-04-22T16:25:20.144Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:19 example [2022-04-22T16:25:20.144Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 16:19 go.mod [2022-04-22T16:25:20.145Z] -rw-rw-r-- 1 jenkins jenkins 34607 Apr 22 16:19 go.sum [2022-04-22T16:25:20.145Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 16:19 internal [2022-04-22T16:25:20.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 16:19 openapi [2022-04-22T16:25:20.145Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:19 pkg [2022-04-22T16:25:20.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:19 snap [2022-04-22T16:25:20.145Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 16:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:25:20.497Z] + 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=0ad629fb126a20093fbb85ee62bd441bcf21fc4e --label arch=arm64 --label version=2.2.0-dev.31 . [2022-04-22T16:25:21.103Z] Sending build context to Docker daemon 5.324MB [2022-04-22T16:25:21.103Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T16:25:21.103Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T16:25:21.103Z] ---> c68d223c715a [2022-04-22T16:25:21.103Z] Step 3/25 : ARG MAKE=make build [2022-04-22T16:25:21.103Z] ---> Running in f939e30b2c68 [2022-04-22T16:25:21.378Z] Removing intermediate container f939e30b2c68 [2022-04-22T16:25:21.378Z] ---> 9578542d0ecb [2022-04-22T16:25:21.378Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T16:25:21.652Z] ---> Running in 20e6d1581ca2 [2022-04-22T16:25:21.926Z] Removing intermediate container 20e6d1581ca2 [2022-04-22T16:25:21.926Z] ---> 23b0034b5ee9 [2022-04-22T16:25:21.926Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:25:21.926Z] ---> Running in da99666e1fcb [2022-04-22T16:25:22.543Z] Removing intermediate container da99666e1fcb [2022-04-22T16:25:22.543Z] ---> 7e83a391dd76 [2022-04-22T16:25:22.543Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:25:22.543Z] ---> Running in eed8ea2f587b [2022-04-22T16:25:24.540Z] Removing intermediate container eed8ea2f587b [2022-04-22T16:25:24.540Z] ---> ce1b487f0b91 [2022-04-22T16:25:24.540Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T16:25:24.540Z] ---> Running in 525fce198fa2 [2022-04-22T16:25:25.135Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T16:25:26.123Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T16:25:27.105Z] OK: 220 MiB in 52 packages [2022-04-22T16:25:28.094Z] Removing intermediate container 525fce198fa2 [2022-04-22T16:25:28.094Z] ---> a833dcfba2b2 [2022-04-22T16:25:28.094Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T16:25:28.368Z] ---> be15c92ec9ea [2022-04-22T16:25:28.368Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T16:25:28.645Z] ---> Running in de66dd923ffe [2022-04-22T16:25:30.625Z] Removing intermediate container de66dd923ffe [2022-04-22T16:25:30.625Z] ---> 71b2ffaa6d42 [2022-04-22T16:25:30.625Z] Step 10/25 : COPY . . [2022-04-22T16:25:31.612Z] ---> ea5da27454a0 [2022-04-22T16:25:31.612Z] Step 11/25 : RUN ${MAKE} [2022-04-22T16:25:31.891Z] ---> Running in 67b50c1e3643 [2022-04-22T16:25:32.876Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.31" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-22T16:27:39.747Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T16:27:41.188Z] Removing intermediate container 67b50c1e3643 [2022-04-22T16:27:41.188Z] ---> 6df6f4f65031 [2022-04-22T16:27:41.188Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T16:27:41.782Z] 3.14: Pulling from library/alpine [2022-04-22T16:27:42.058Z] 455c02918c45: Pulling fs layer [2022-04-22T16:27:42.332Z] 455c02918c45: Download complete [2022-04-22T16:27:42.931Z] 455c02918c45: Pull complete [2022-04-22T16:27:42.931Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T16:27:42.931Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T16:27:42.931Z] ---> ac73e934f311 [2022-04-22T16:27:42.931Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T16:27:42.931Z] ---> Running in 171b83c682ee [2022-04-22T16:27:43.210Z] Removing intermediate container 171b83c682ee [2022-04-22T16:27:43.210Z] ---> 390078aaf1ef [2022-04-22T16:27:43.210Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T16:27:43.210Z] ---> Running in 2d5f901eceb6 [2022-04-22T16:27:45.223Z] Removing intermediate container 2d5f901eceb6 [2022-04-22T16:27:45.223Z] ---> c41464da2855 [2022-04-22T16:27:45.223Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T16:27:45.223Z] ---> Running in 84d4f1a090dd [2022-04-22T16:27:46.211Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T16:27:47.195Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T16:27:47.793Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T16:27:48.066Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T16:27:48.066Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T16:27:48.066Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T16:27:48.343Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T16:27:48.343Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T16:27:48.343Z] OK: 8 MiB in 19 packages [2022-04-22T16:27:49.330Z] Removing intermediate container 84d4f1a090dd [2022-04-22T16:27:49.330Z] ---> e2a36e61c897 [2022-04-22T16:27:49.330Z] Step 16/25 : WORKDIR / [2022-04-22T16:27:49.330Z] ---> Running in f62bd7486668 [2022-04-22T16:27:49.605Z] Removing intermediate container f62bd7486668 [2022-04-22T16:27:49.605Z] ---> de6afeb8a555 [2022-04-22T16:27:49.605Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T16:27:50.203Z] ---> bcebb4ea1d10 [2022-04-22T16:27:50.203Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T16:27:52.189Z] ---> d426ba209491 [2022-04-22T16:27:52.189Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T16:27:52.464Z] ---> 64aa9891a040 [2022-04-22T16:27:52.464Z] Step 20/25 : EXPOSE 59999 [2022-04-22T16:27:52.464Z] ---> Running in 8987e085224a [2022-04-22T16:27:52.739Z] Removing intermediate container 8987e085224a [2022-04-22T16:27:52.739Z] ---> adda507d1d96 [2022-04-22T16:27:52.739Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T16:27:53.014Z] ---> Running in 450f3f67c4e7 [2022-04-22T16:27:53.289Z] Removing intermediate container 450f3f67c4e7 [2022-04-22T16:27:53.289Z] ---> 8e89674a867b [2022-04-22T16:27:53.289Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T16:27:53.289Z] ---> Running in 5631dbf3caba [2022-04-22T16:27:53.582Z] Removing intermediate container 5631dbf3caba [2022-04-22T16:27:53.582Z] ---> 3ed4fa55989b [2022-04-22T16:27:53.582Z] Step 23/25 : LABEL arch=arm64 [2022-04-22T16:27:53.859Z] ---> Running in e3ea007a1f09 [2022-04-22T16:27:54.133Z] Removing intermediate container e3ea007a1f09 [2022-04-22T16:27:54.133Z] ---> e015b3909dba [2022-04-22T16:27:54.133Z] Step 24/25 : LABEL git_sha=0ad629fb126a20093fbb85ee62bd441bcf21fc4e [2022-04-22T16:27:54.133Z] ---> Running in 3a88adcd9d32 [2022-04-22T16:27:54.412Z] Removing intermediate container 3a88adcd9d32 [2022-04-22T16:27:54.412Z] ---> 0a9eb726840f [2022-04-22T16:27:54.412Z] Step 25/25 : LABEL version=2.2.0-dev.31 [2022-04-22T16:27:54.412Z] ---> Running in 2465eb896c27 [2022-04-22T16:27:55.026Z] Removing intermediate container 2465eb896c27 [2022-04-22T16:27:55.026Z] ---> f867e2d99ea8 [2022-04-22T16:27:55.026Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T16:27:55.026Z] Successfully built f867e2d99ea8 [2022-04-22T16:27:55.026Z] 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-22T16:27:55.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T16:27:55.473Z] [2022-04-22T16:27:55.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:27:55.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T16:27:56.112Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T16:27:56.112Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T16:27:56.112Z] 04944245beec: Pulling fs layer [2022-04-22T16:27:56.112Z] 699f458cf7ca: Pulling fs layer [2022-04-22T16:27:56.112Z] 765212b225bb: Pulling fs layer [2022-04-22T16:27:56.112Z] f23df028b6ca: Pulling fs layer [2022-04-22T16:27:56.112Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T16:27:56.112Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T16:27:56.112Z] f23df028b6ca: Waiting [2022-04-22T16:27:56.112Z] 765212b225bb: Waiting [2022-04-22T16:27:56.112Z] d65c8cfc05b1: Waiting [2022-04-22T16:27:56.112Z] 2437ff75d9bd: Waiting [2022-04-22T16:27:56.112Z] 04944245beec: Verifying Checksum [2022-04-22T16:27:56.112Z] 04944245beec: Download complete [2022-04-22T16:27:56.112Z] 765212b225bb: Verifying Checksum [2022-04-22T16:27:56.112Z] 765212b225bb: Download complete [2022-04-22T16:27:56.112Z] f23df028b6ca: Download complete [2022-04-22T16:27:56.112Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T16:27:56.112Z] d65c8cfc05b1: Download complete [2022-04-22T16:27:56.390Z] 699f458cf7ca: Verifying Checksum [2022-04-22T16:27:56.390Z] 699f458cf7ca: Download complete [2022-04-22T16:27:56.664Z] 8998bd30e6a1: Download complete [2022-04-22T16:27:59.294Z] 2437ff75d9bd: Download complete [2022-04-22T16:28:01.277Z] 8998bd30e6a1: Pull complete [2022-04-22T16:28:01.552Z] 04944245beec: Pull complete [2022-04-22T16:28:02.994Z] 699f458cf7ca: Pull complete [2022-04-22T16:28:03.268Z] 765212b225bb: Pull complete [2022-04-22T16:28:04.262Z] f23df028b6ca: Pull complete [2022-04-22T16:28:04.540Z] d65c8cfc05b1: Pull complete [2022-04-22T16:28:19.657Z] 2437ff75d9bd: Pull complete [2022-04-22T16:28:19.657Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T16:28:19.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T16:28:19.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T16:28:19.914Z] prd-ubuntu20.04-docker-arm64-4c-16g-21802 does not seem to be running inside a container [2022-04-22T16:28:20.006Z] $ 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/64 -v /w/workspace/device-sdk-go/64:/w/workspace/device-sdk-go/64:rw,z -v /w/workspace/device-sdk-go/64@tmp:/w/workspace/device-sdk-go/64@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-22T16:28:22.716Z] $ docker top 5f379f5945a8bb8e36b71e7d054302fb571cb0959f73a22ad3f281fe96d19f5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:28:23.659Z] ---> job-cost.sh [2022-04-22T16:28:23.659Z] lf-activate-venv: SKIPPING [2022-04-22T16:28:23.659Z] INFO: No Stack... [2022-04-22T16:28:24.641Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T16:28:25.240Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T16:28:25.919Z] + cat /w/workspace/device-sdk-go/64/archives/cost.csv [2022-04-22T16:28:25.919Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T16:28:25.996Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-64-stack-cost] [2022-04-22T16:28:26.003Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-64-stack-cost] did not exist. Created. [2022-04-22T16:28:26.003Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T16:28:26.695Z] /w/workspace/device-sdk-go/64@tmp/durable-c8dcef81/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T16:28:27.468Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T16:28:27.500Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T16:28:27.566Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T16:28:27.573Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T16:28:27.593Z] $ docker stop --time=1 5f379f5945a8bb8e36b71e7d054302fb571cb0959f73a22ad3f281fe96d19f5d [2022-04-22T16:28:29.130Z] $ docker rm -f 5f379f5945a8bb8e36b71e7d054302fb571cb0959f73a22ad3f281fe96d19f5d [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-22T16:28:29.641Z] provisioning config files... [2022-04-22T16:28:29.652Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5789223689402205173tmp [Pipeline] { [Pipeline] sh [2022-04-22T16:28:29.947Z] + set +x [2022-04-22T16:28:29.947Z] + bash -s -- [2022-04-22T16:28:29.947Z] + curl -s https://codecov.io/bash [2022-04-22T16:28:29.947Z] [2022-04-22T16:28:29.947Z] _____ _ [2022-04-22T16:28:29.947Z] / ____| | | [2022-04-22T16:28:29.947Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T16:28:29.947Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T16:28:29.947Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T16:28:29.947Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T16:28:29.947Z] Bash-1.0.6 [2022-04-22T16:28:29.947Z] [2022-04-22T16:28:29.947Z] [2022-04-22T16:28:29.947Z] ==> git version 2.25.1 found [2022-04-22T16:28:29.947Z] ==> 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-22T16:28:29.947Z] Release-Date: 2020-01-08 [2022-04-22T16:28:29.947Z] 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-22T16:28:29.947Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T16:28:29.947Z] ==> Jenkins CI detected. [2022-04-22T16:28:29.947Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T16:28:29.947Z] project root: . [2022-04-22T16:28:29.947Z] --> token set from env [2022-04-22T16:28:29.947Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T16:28:29.947Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T16:28:29.947Z] ==> Python coveragepy not found [2022-04-22T16:28:29.947Z] ==> Searching for coverage reports in: [2022-04-22T16:28:29.947Z] + . [2022-04-22T16:28:29.947Z] -> Found 1 reports [2022-04-22T16:28:29.947Z] ==> Detecting git/mercurial file structure [2022-04-22T16:28:29.947Z] ==> Reading reports [2022-04-22T16:28:29.947Z] + ./coverage.out bytes=130819 [2022-04-22T16:28:30.206Z] ==> Appending adjustments [2022-04-22T16:28:30.206Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T16:28:30.465Z] + Found adjustments [2022-04-22T16:28:30.465Z] ==> Gzipping contents [2022-04-22T16:28:30.465Z] 20K /tmp/codecov.Oyrlty.gz [2022-04-22T16:28:30.465Z] ==> Uploading reports [2022-04-22T16:28:30.465Z] url: https://codecov.io [2022-04-22T16:28:30.465Z] query: branch=main&commit=0ad629fb126a20093fbb85ee62bd441bcf21fc4e&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-22T16:28:30.465Z] -> Pinging Codecov [2022-04-22T16:28:30.465Z] 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=0ad629fb126a20093fbb85ee62bd441bcf21fc4e&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-22T16:28:30.726Z] -> Uploading to [2022-04-22T16:28:30.726Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/0ad629fb126a20093fbb85ee62bd441bcf21fc4e/7aa1978a-3cb9-4809-a620-ce35e0285727.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T162830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=791a62a147a9274c63ba39ad1bb075e2f7ddf5b3809d17bfff8235f05b068482 [2022-04-22T16:28:30.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T16:28:30.726Z] Dload Upload Total Spent Left Speed [2022-04-22T16:28:30.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16827 0 0 100 16827 0 66773 --:--:-- --:--:-- --:--:-- 66773 [2022-04-22T16:28:30.987Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0ad629fb126a20093fbb85ee62bd441bcf21fc4e [Pipeline] } [2022-04-22T16:28:30.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-22T16:28:31.257Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-22T16:28:31.268Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:28:31.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T16:28:31.571Z] [2022-04-22T16:28:31.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:28:31.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T16:28:31.872Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-22T16:28:31.872Z] 188c0c94c7c5: Pulling fs layer [2022-04-22T16:28:31.872Z] 0ef7d3d256c8: Pulling fs layer [2022-04-22T16:28:31.872Z] de9db76c5a1d: Pulling fs layer [2022-04-22T16:28:31.872Z] 0eba1c9be4d2: Pulling fs layer [2022-04-22T16:28:31.872Z] 0d57e429df01: Pulling fs layer [2022-04-22T16:28:31.872Z] 4e4be7b47b0d: Pulling fs layer [2022-04-22T16:28:31.872Z] e1f770b5df2f: Pulling fs layer [2022-04-22T16:28:31.872Z] 85a0685a4137: Pulling fs layer [2022-04-22T16:28:31.872Z] 4e4be7b47b0d: Waiting [2022-04-22T16:28:31.872Z] e1f770b5df2f: Waiting [2022-04-22T16:28:31.872Z] 85a0685a4137: Waiting [2022-04-22T16:28:31.872Z] 0eba1c9be4d2: Waiting [2022-04-22T16:28:31.872Z] 0d57e429df01: Waiting [2022-04-22T16:28:31.872Z] de9db76c5a1d: Verifying Checksum [2022-04-22T16:28:31.872Z] de9db76c5a1d: Download complete [2022-04-22T16:28:31.872Z] 0ef7d3d256c8: Download complete [2022-04-22T16:28:31.872Z] 0d57e429df01: Verifying Checksum [2022-04-22T16:28:31.872Z] 0d57e429df01: Download complete [2022-04-22T16:28:31.872Z] 4e4be7b47b0d: Verifying Checksum [2022-04-22T16:28:31.872Z] 4e4be7b47b0d: Download complete [2022-04-22T16:28:31.872Z] 188c0c94c7c5: Verifying Checksum [2022-04-22T16:28:31.872Z] 188c0c94c7c5: Download complete [2022-04-22T16:28:32.131Z] 188c0c94c7c5: Pull complete [2022-04-22T16:28:32.131Z] e1f770b5df2f: Verifying Checksum [2022-04-22T16:28:32.131Z] e1f770b5df2f: Download complete [2022-04-22T16:28:32.131Z] 0ef7d3d256c8: Pull complete [2022-04-22T16:28:32.392Z] de9db76c5a1d: Pull complete [2022-04-22T16:28:32.652Z] 0eba1c9be4d2: Verifying Checksum [2022-04-22T16:28:32.652Z] 0eba1c9be4d2: Download complete [2022-04-22T16:28:32.910Z] 85a0685a4137: Verifying Checksum [2022-04-22T16:28:32.910Z] 85a0685a4137: Download complete [2022-04-22T16:28:36.196Z] 0eba1c9be4d2: Pull complete [2022-04-22T16:28:36.196Z] 0d57e429df01: Pull complete [2022-04-22T16:28:36.196Z] 4e4be7b47b0d: Pull complete [2022-04-22T16:28:36.455Z] e1f770b5df2f: Pull complete [2022-04-22T16:28:39.748Z] 85a0685a4137: Pull complete [2022-04-22T16:28:39.748Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-22T16:28:39.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T16:28:39.748Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-22T16:28:39.815Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:28:39.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-22T16:28:41.786Z] $ docker top b026f9d611a99df9c356edacdf4683e9252b533734e07b8337e392e30685e3f6 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-22T16:28:41.869Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-22T16:28:42.156Z] + set -o pipefail [2022-04-22T16:28:42.156Z] + snyk monitor '--org=edgex-jenkins' [2022-04-22T16:28:48.755Z] [2022-04-22T16:28:48.755Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-22T16:28:48.755Z] [2022-04-22T16:28:48.755Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/526f2f5a-1deb-49f9-b3d3-dfc74095170d [2022-04-22T16:28:48.755Z] [2022-04-22T16:28:48.755Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-22T16:28:48.755Z] [2022-04-22T16:28:48.755Z] [Pipeline] } [2022-04-22T16:28:48.773Z] $ docker stop --time=1 b026f9d611a99df9c356edacdf4683e9252b533734e07b8337e392e30685e3f6 [2022-04-22T16:28:51.009Z] $ docker rm -f b026f9d611a99df9c356edacdf4683e9252b533734e07b8337e392e30685e3f6 [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-22T16:28:51.473Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:28:51.490Z] provisioning config files... [2022-04-22T16:28:51.500Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6472984589676172478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:28:51.798Z] --> edgex-publish-swagger.sh [2022-04-22T16:28:51.798Z] === Publish openapi/v2 API === [2022-04-22T16:28:51.798Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-22T16:28:51.798Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-22T16:28:51.798Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T16:28:51.798Z] Dload Upload Total Spent Left Speed [2022-04-22T16:28:52.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 53765 --:--:-- --:--:-- --:--:-- 53711 100 53282 0 0 100 53282 0 53711 --:--:-- --:--:-- --:--:-- 53711 [2022-04-22T16:28:52.742Z] [2022-04-22T16:28:52.742Z] [Pipeline] } [2022-04-22T16:28:52.750Z] 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-22T16:28:53.157Z] + git log --format=format:%s -1 0ad629fb126a20093fbb85ee62bd441bcf21fc4e [Pipeline] sh [2022-04-22T16:28:53.457Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T16:28:53.457Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:28:53.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:28:53.759Z] . [Pipeline] withDockerContainer [2022-04-22T16:28:53.835Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:28:53.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T16:28:54.333Z] $ docker top 1c6125604a3c9aa83f73d7d818e57965b2ac20da6ee35980b159bc2982348978 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T16:28:54.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T16:28:54.435Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T16:28:54.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T16:28:54.574Z] $ docker exec 1c6125604a3c9aa83f73d7d818e57965b2ac20da6ee35980b159bc2982348978 ssh-agent [2022-04-22T16:28:54.715Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCLbhil/agent.14 [2022-04-22T16:28:54.715Z] SSH_AGENT_PID=20 [2022-04-22T16:28:54.720Z] Running ssh-add (command line suppressed) [2022-04-22T16:28:54.840Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4844734671037106076.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4844734671037106076.key) [2022-04-22T16:28:54.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T16:28:55.147Z] + git semver tag [2022-04-22T16:28:55.147Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T16:28:55.147Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T16:28:55.147Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T16:28:55.147Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T16:28:55.147Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T16:28:55.147Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T16:28:55.147Z] # $SEMVER_BRANCH = main [2022-04-22T16:28:55.147Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-22T16:28:55.147Z] # 0ad629fb126a20093fbb85ee62bd441bcf21fc4e HEAD [2022-04-22T16:28:55.147Z] # -> Force: false [2022-04-22T16:28:55.147Z] # 0ab00aef7b228e306f5e1530970f42b28133c7ae refs/tags/v2.2.0-dev.31 [Pipeline] } [2022-04-22T16:28:55.162Z] $ docker exec --env ******** --env ******** 1c6125604a3c9aa83f73d7d818e57965b2ac20da6ee35980b159bc2982348978 ssh-agent -k [2022-04-22T16:28:55.268Z] unset SSH_AUTH_SOCK; [2022-04-22T16:28:55.268Z] unset SSH_AGENT_PID; [2022-04-22T16:28:55.269Z] echo Agent pid 20 killed; [2022-04-22T16:28:55.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T16:28:55.590Z] + git semver [Pipeline] } [2022-04-22T16:28:55.610Z] $ docker stop --time=1 1c6125604a3c9aa83f73d7d818e57965b2ac20da6ee35980b159bc2982348978 [2022-04-22T16:28:56.939Z] $ docker rm -f 1c6125604a3c9aa83f73d7d818e57965b2ac20da6ee35980b159bc2982348978 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:28:57.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T16:28:57.332Z] [2022-04-22T16:28:57.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:28:57.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T16:28:57.638Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-22T16:28:57.638Z] ab5ef0e58194: Pulling fs layer [2022-04-22T16:28:57.638Z] 9712f1f96733: Pulling fs layer [2022-04-22T16:28:57.638Z] 63f879dbbcfc: Pulling fs layer [2022-04-22T16:28:57.638Z] 0d9ebad4ef96: Pulling fs layer [2022-04-22T16:28:57.638Z] e9a5061849ea: Pulling fs layer [2022-04-22T16:28:57.638Z] d747dcd14b5f: Pulling fs layer [2022-04-22T16:28:57.638Z] 2de7ff778b66: Pulling fs layer [2022-04-22T16:28:57.638Z] e9a5061849ea: Waiting [2022-04-22T16:28:57.638Z] d747dcd14b5f: Waiting [2022-04-22T16:28:57.638Z] 2de7ff778b66: Waiting [2022-04-22T16:28:57.638Z] 0d9ebad4ef96: Waiting [2022-04-22T16:28:57.638Z] 9712f1f96733: Download complete [2022-04-22T16:28:57.900Z] 63f879dbbcfc: Verifying Checksum [2022-04-22T16:28:57.900Z] 63f879dbbcfc: Download complete [2022-04-22T16:28:58.159Z] e9a5061849ea: Verifying Checksum [2022-04-22T16:28:58.159Z] e9a5061849ea: Download complete [2022-04-22T16:28:58.159Z] d747dcd14b5f: Verifying Checksum [2022-04-22T16:28:58.159Z] d747dcd14b5f: Download complete [2022-04-22T16:28:58.159Z] 0d9ebad4ef96: Verifying Checksum [2022-04-22T16:28:58.159Z] 0d9ebad4ef96: Download complete [2022-04-22T16:28:58.159Z] ab5ef0e58194: Verifying Checksum [2022-04-22T16:28:58.159Z] ab5ef0e58194: Download complete [2022-04-22T16:28:58.159Z] 2de7ff778b66: Verifying Checksum [2022-04-22T16:28:58.159Z] 2de7ff778b66: Download complete [2022-04-22T16:29:00.696Z] ab5ef0e58194: Pull complete [2022-04-22T16:29:00.955Z] 9712f1f96733: Pull complete [2022-04-22T16:29:01.522Z] 63f879dbbcfc: Pull complete [2022-04-22T16:29:05.799Z] 0d9ebad4ef96: Pull complete [2022-04-22T16:29:05.799Z] e9a5061849ea: Pull complete [2022-04-22T16:29:05.799Z] d747dcd14b5f: Pull complete [2022-04-22T16:29:06.737Z] 2de7ff778b66: Pull complete [2022-04-22T16:29:06.737Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-22T16:29:06.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T16:29:06.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-22T16:29:06.800Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:29:06.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-22T16:29:09.465Z] $ docker top 33a88ff93ae5299679c6afd1c8ed328b530613e50bb8b0cf07c2a0768ad6cc8b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:29:09.557Z] provisioning config files... [2022-04-22T16:29:09.566Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config142417137878839555tmp [2022-04-22T16:29:09.578Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5774694188706825936tmp [2022-04-22T16:29:09.589Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7969011111376017104tmp [Pipeline] { [Pipeline] echo [2022-04-22T16:29:09.605Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:09.890Z] ---> sigul-configuration.sh [2022-04-22T16:29:09.890Z] gpg: directory `/root/.gnupg' created [2022-04-22T16:29:09.890Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-22T16:29:09.890Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-22T16:29:09.890Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-22T16:29:09.890Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-22T16:29:09.890Z] gpg: CAST5 encrypted data [2022-04-22T16:29:09.890Z] gpg: encrypted with 1 passphrase [2022-04-22T16:29:09.890Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-22T16:29:10.183Z] + mkdir /home/jenkins [2022-04-22T16:29:10.183Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-22T16:29:10.476Z] + 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-22T16:29:10.487Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:10.778Z] ---> sigul-install.sh [2022-04-22T16:29:10.778Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-22T16:29:11.069Z] + git tag --list [2022-04-22T16:29:11.070Z] 0.7.1 [2022-04-22T16:29:11.070Z] delhi-tag [2022-04-22T16:29:11.070Z] v1.0.0 [2022-04-22T16:29:11.070Z] v1.1.0 [2022-04-22T16:29:11.070Z] v1.1.1 [2022-04-22T16:29:11.070Z] v1.1.2 [2022-04-22T16:29:11.070Z] v1.2.0 [2022-04-22T16:29:11.070Z] v1.2.1 [2022-04-22T16:29:11.070Z] v1.2.2 [2022-04-22T16:29:11.070Z] v1.2.3 [2022-04-22T16:29:11.070Z] v1.3.0 [2022-04-22T16:29:11.070Z] v1.4.0 [2022-04-22T16:29:11.070Z] v2.0.0 [2022-04-22T16:29:11.070Z] v2.0.1-dev.1 [2022-04-22T16:29:11.070Z] v2.0.1-dev.10 [2022-04-22T16:29:11.070Z] v2.0.1-dev.11 [2022-04-22T16:29:11.070Z] v2.0.1-dev.12 [2022-04-22T16:29:11.070Z] v2.0.1-dev.13 [2022-04-22T16:29:11.070Z] v2.0.1-dev.14 [2022-04-22T16:29:11.070Z] v2.0.1-dev.15 [2022-04-22T16:29:11.070Z] v2.0.1-dev.16 [2022-04-22T16:29:11.070Z] v2.0.1-dev.17 [2022-04-22T16:29:11.070Z] v2.0.1-dev.18 [2022-04-22T16:29:11.070Z] v2.0.1-dev.19 [2022-04-22T16:29:11.070Z] v2.0.1-dev.2 [2022-04-22T16:29:11.070Z] v2.0.1-dev.20 [2022-04-22T16:29:11.070Z] v2.0.1-dev.21 [2022-04-22T16:29:11.070Z] v2.0.1-dev.22 [2022-04-22T16:29:11.070Z] v2.0.1-dev.23 [2022-04-22T16:29:11.070Z] v2.0.1-dev.24 [2022-04-22T16:29:11.070Z] v2.0.1-dev.25 [2022-04-22T16:29:11.070Z] v2.0.1-dev.26 [2022-04-22T16:29:11.070Z] v2.0.1-dev.27 [2022-04-22T16:29:11.070Z] v2.0.1-dev.28 [2022-04-22T16:29:11.070Z] v2.0.1-dev.29 [2022-04-22T16:29:11.070Z] v2.0.1-dev.3 [2022-04-22T16:29:11.070Z] v2.0.1-dev.30 [2022-04-22T16:29:11.070Z] v2.0.1-dev.31 [2022-04-22T16:29:11.070Z] v2.0.1-dev.32 [2022-04-22T16:29:11.070Z] v2.0.1-dev.33 [2022-04-22T16:29:11.070Z] v2.0.1-dev.4 [2022-04-22T16:29:11.070Z] v2.0.1-dev.5 [2022-04-22T16:29:11.070Z] v2.0.1-dev.6 [2022-04-22T16:29:11.070Z] v2.0.1-dev.7 [2022-04-22T16:29:11.070Z] v2.0.1-dev.8 [2022-04-22T16:29:11.070Z] v2.0.1-dev.9 [2022-04-22T16:29:11.070Z] v2.1.0 [2022-04-22T16:29:11.070Z] v2.1.1-dev.1 [2022-04-22T16:29:11.070Z] v2.2.0-dev.1 [2022-04-22T16:29:11.070Z] v2.2.0-dev.10 [2022-04-22T16:29:11.070Z] v2.2.0-dev.11 [2022-04-22T16:29:11.070Z] v2.2.0-dev.12 [2022-04-22T16:29:11.070Z] v2.2.0-dev.13 [2022-04-22T16:29:11.070Z] v2.2.0-dev.14 [2022-04-22T16:29:11.070Z] v2.2.0-dev.15 [2022-04-22T16:29:11.070Z] v2.2.0-dev.16 [2022-04-22T16:29:11.070Z] v2.2.0-dev.17 [2022-04-22T16:29:11.070Z] v2.2.0-dev.18 [2022-04-22T16:29:11.070Z] v2.2.0-dev.19 [2022-04-22T16:29:11.070Z] v2.2.0-dev.2 [2022-04-22T16:29:11.070Z] v2.2.0-dev.20 [2022-04-22T16:29:11.070Z] v2.2.0-dev.21 [2022-04-22T16:29:11.070Z] v2.2.0-dev.22 [2022-04-22T16:29:11.070Z] v2.2.0-dev.23 [2022-04-22T16:29:11.070Z] v2.2.0-dev.24 [2022-04-22T16:29:11.070Z] v2.2.0-dev.25 [2022-04-22T16:29:11.070Z] v2.2.0-dev.26 [2022-04-22T16:29:11.070Z] v2.2.0-dev.27 [2022-04-22T16:29:11.070Z] v2.2.0-dev.28 [2022-04-22T16:29:11.070Z] v2.2.0-dev.29 [2022-04-22T16:29:11.070Z] v2.2.0-dev.3 [2022-04-22T16:29:11.070Z] v2.2.0-dev.30 [2022-04-22T16:29:11.070Z] v2.2.0-dev.31 [2022-04-22T16:29:11.070Z] v2.2.0-dev.4 [2022-04-22T16:29:11.070Z] v2.2.0-dev.5 [2022-04-22T16:29:11.070Z] v2.2.0-dev.6 [2022-04-22T16:29:11.070Z] v2.2.0-dev.7 [2022-04-22T16:29:11.070Z] v2.2.0-dev.8 [2022-04-22T16:29:11.070Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-22T16:29:11.360Z] + lftools sign git-tag v2.2.0-dev.31 [2022-04-22T16:29:11.933Z] Signing Git tag with Sigul... [2022-04-22T16:29:11.933Z] Signing v2.2.0-dev.31 [Pipeline] echo [2022-04-22T16:29:12.518Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:12.809Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-22T16:29:12.818Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-22T16:29:12.842Z] $ docker stop --time=1 33a88ff93ae5299679c6afd1c8ed328b530613e50bb8b0cf07c2a0768ad6cc8b [2022-04-22T16:29:14.202Z] $ docker rm -f 33a88ff93ae5299679c6afd1c8ed328b530613e50bb8b0cf07c2a0768ad6cc8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-22T16:29:14.629Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T16:29:14.629Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:29:14.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:29:14.915Z] . [Pipeline] withDockerContainer [2022-04-22T16:29:14.980Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:29:15.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T16:29:15.426Z] $ docker top 823c79e870357fc69590a2967fa69da199979d8c6c711020d197bfff4956b80f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T16:29:15.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T16:29:15.529Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T16:29:15.663Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T16:29:15.670Z] $ docker exec 823c79e870357fc69590a2967fa69da199979d8c6c711020d197bfff4956b80f ssh-agent [2022-04-22T16:29:15.792Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIomBaC/agent.14 [2022-04-22T16:29:15.792Z] SSH_AGENT_PID=20 [2022-04-22T16:29:15.798Z] Running ssh-add (command line suppressed) [2022-04-22T16:29:15.930Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1041099714276352633.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1041099714276352633.key) [2022-04-22T16:29:15.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T16:29:16.234Z] + git semver bump pre [2022-04-22T16:29:16.234Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T16:29:16.234Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T16:29:16.234Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T16:29:16.234Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T16:29:16.234Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T16:29:16.234Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T16:29:16.234Z] # $SEMVER_BRANCH = main [2022-04-22T16:29:16.234Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-22T16:29:16.234Z] 2.2.0-dev.32 [Pipeline] } [2022-04-22T16:29:16.249Z] $ docker exec --env ******** --env ******** 823c79e870357fc69590a2967fa69da199979d8c6c711020d197bfff4956b80f ssh-agent -k [2022-04-22T16:29:16.356Z] unset SSH_AUTH_SOCK; [2022-04-22T16:29:16.357Z] unset SSH_AGENT_PID; [2022-04-22T16:29:16.357Z] echo Agent pid 20 killed; [2022-04-22T16:29:16.363Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T16:29:16.662Z] + git semver [Pipeline] } [2022-04-22T16:29:16.681Z] $ docker stop --time=1 823c79e870357fc69590a2967fa69da199979d8c6c711020d197bfff4956b80f [2022-04-22T16:29:17.976Z] $ docker rm -f 823c79e870357fc69590a2967fa69da199979d8c6c711020d197bfff4956b80f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T16:29:18.333Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T16:29:18.333Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:29:18.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T16:29:18.630Z] . [Pipeline] withDockerContainer [2022-04-22T16:29:18.698Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:29:18.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T16:29:19.134Z] $ docker top 7ed64bd381579511dba499862e491f22d4d43cba91c8af5527abb9f3de1d8298 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T16:29:19.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T16:29:19.238Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T16:29:19.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T16:29:19.371Z] $ docker exec 7ed64bd381579511dba499862e491f22d4d43cba91c8af5527abb9f3de1d8298 ssh-agent [2022-04-22T16:29:19.499Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOhBbaM/agent.13 [2022-04-22T16:29:19.499Z] SSH_AGENT_PID=20 [2022-04-22T16:29:19.505Z] Running ssh-add (command line suppressed) [2022-04-22T16:29:19.631Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3681663269361706693.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3681663269361706693.key) [2022-04-22T16:29:19.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T16:29:19.931Z] + git semver push [2022-04-22T16:29:19.931Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T16:29:19.931Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T16:29:19.931Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T16:29:19.931Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T16:29:19.931Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T16:29:19.931Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T16:29:19.931Z] # $SEMVER_BRANCH = main [2022-04-22T16:29:19.931Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-22T16:29:22.495Z] $ docker exec --env ******** --env ******** 7ed64bd381579511dba499862e491f22d4d43cba91c8af5527abb9f3de1d8298 ssh-agent -k [2022-04-22T16:29:22.613Z] unset SSH_AUTH_SOCK; [2022-04-22T16:29:22.614Z] unset SSH_AGENT_PID; [2022-04-22T16:29:22.614Z] echo Agent pid 20 killed; [2022-04-22T16:29:22.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T16:29:22.932Z] + git semver [Pipeline] } [2022-04-22T16:29:22.952Z] $ docker stop --time=1 7ed64bd381579511dba499862e491f22d4d43cba91c8af5527abb9f3de1d8298 [2022-04-22T16:29:24.284Z] $ docker rm -f 7ed64bd381579511dba499862e491f22d4d43cba91c8af5527abb9f3de1d8298 [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-22T16:29:24.948Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-22T16:29:24.949Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T16:29:24.949Z] total 16 [2022-04-22T16:29:24.949Z] drwxr-xr-x 3 root root 4096 Apr 22 16:19 . [2022-04-22T16:29:24.949Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 16:29 .. [2022-04-22T16:29:24.949Z] drwxr-xr-x 2 root root 4096 Apr 22 16:19 cost [2022-04-22T16:29:24.949Z] -rw-r--r-- 1 root root 83 Apr 22 16:19 cost.csv [2022-04-22T16:29:24.949Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T16:29:24.949Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T16:29:24.949Z] total 16 [2022-04-22T16:29:24.949Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 16:19 . [2022-04-22T16:29:24.949Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 16:29 .. [2022-04-22T16:29:24.949Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 16:19 cost [2022-04-22T16:29:24.949Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 22 16:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:25.242Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:26.108Z] ---> package-listing.sh [2022-04-22T16:29:26.108Z] ++ facter osfamily [2022-04-22T16:29:26.108Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T16:29:26.369Z] + OS_FAMILY=debian [2022-04-22T16:29:26.369Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T16:29:26.369Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T16:29:26.369Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T16:29:26.369Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T16:29:26.369Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T16:29:26.369Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-22T16:29:26.369Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T16:29:26.369Z] + case "${OS_FAMILY}" in [2022-04-22T16:29:26.369Z] + dpkg -l [2022-04-22T16:29:26.369Z] + grep '^ii' [2022-04-22T16:29:26.369Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T16:29:26.369Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T16:29:26.369Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T16:29:26.369Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-22T16:29:26.369Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-22T16:29:26.369Z] + 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-22T16:29:26.383Z] 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-22T16:29:26.764Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T16:29:27.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T16:29:27.062Z] . [Pipeline] withDockerContainer [2022-04-22T16:29:27.130Z] prd-ubuntu20.04-docker-8c-8g-21801 does not seem to be running inside a container [2022-04-22T16:29:27.171Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T16:29:27.449Z] $ docker top 7731ce723d3f77257aa5a1591649eb24c1e71f52fc15522f1dab1912826574dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T16:29:27.801Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T16:29:28.094Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T16:29:28.388Z] + ls /var/log/sa-host [2022-04-22T16:29:28.388Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T16:29:28.594Z] provisioning config files... [2022-04-22T16:29:28.605Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9193258960686886889tmp [Pipeline] { [Pipeline] echo [2022-04-22T16:29:28.622Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:28.909Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T16:29:28.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:29.259Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T16:29:29.269Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:29.558Z] ---> sudo-logs.sh [2022-04-22T16:29:29.558Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T16:29:29.592Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:29.881Z] ---> job-cost.sh [2022-04-22T16:29:29.881Z] lf-activate-venv: SKIPPING [2022-04-22T16:29:29.881Z] DEBUG: total: 0.2199999988079071 [2022-04-22T16:29:29.881Z] INFO: Retrieving Stack Cost... [2022-04-22T16:29:30.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T16:29:30.716Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T16:29:30.730Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T16:29:31.016Z] ---> logs-deploy.sh [2022-04-22T16:29:31.016Z] lf-activate-venv: SKIPPING [2022-04-22T16:29:31.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/64 [2022-04-22T16:29:31.016Z] INFO: archiving workspace using pattern(s): [2022-04-22T16:29:31.961Z] Archives upload complete. [2022-04-22T16:29:32.224Z] INFO: archiving logs to Nexus