Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 49643132f6b9e95e3a0d289ddc01900e940e8eba 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-ssh8409807898197098360.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-ssh4316871180136990296.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-ssh11448636393811791296.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-ssh1217932773248879637.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-ssh4969617059528338399.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20760’ Running on prd-ubuntu20.04-docker-8c-8g-20763 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 49643132f6b9e95e3a0d289ddc01900e940e8eba (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 49643132f6b9e95e3a0d289ddc01900e940e8eba # timeout=10 Commit message: "Merge pull request #1130 from jinlinGuan/issue-1120" > git rev-list --no-walk 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T03:32:29.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T03:32:29.437Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T03:32:29.451Z] ========================================================= [2022-04-13T03:32:29.451Z] EdgeX Global Pipelines Version Info [2022-04-13T03:32:29.451Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:32:30.205Z] ------------------- [2022-04-13T03:32:30.206Z] stable info: [2022-04-13T03:32:30.206Z] ------------------- [2022-04-13T03:32:30.206Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T03:32:30.206Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T03:32:30.206Z] Message: update stable to v1.0.221 [2022-04-13T03:32:30.777Z] ------------------- [2022-04-13T03:32:30.777Z] experimental info: [2022-04-13T03:32:30.777Z] ------------------- [2022-04-13T03:32:30.777Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T03:32:30.777Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T03:32:30.777Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T03:32:30.931Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-13T03:32:30.944Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-13T03:32:30.956Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T03:32:30.968Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T03:32:30.981Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T03:32:30.992Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T03:32:31.004Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T03:32:31.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-13T03:32:31.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T03:32:31.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T03:32:31.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T03:32:31.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-13T03:32:31.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T03:32:31.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T03:32:31.115Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T03:32:31.132Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T03:32:31.142Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T03:32:31.159Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T03:32:31.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T03:32:31.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T03:32:31.202Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-13T03:32:31.215Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-13T03:32:31.230Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T03:32:31.248Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T03:32:31.267Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T03:32:31.283Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T03:32:31.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-13T03:32:31.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-13T03:32:31.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-13T03:32:31.334Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 49643132f6b9e95e3a0d289ddc01900e940e8eba [Pipeline] echo [2022-04-13T03:32:31.343Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4964313 [Pipeline] echo [2022-04-13T03:32:31.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T03:32:31.399Z] provisioning config files... [2022-04-13T03:32:31.411Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2739215041358114270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:32:31.798Z] ---> docker-login.sh [2022-04-13T03:32:31.798Z] nexus3.edgexfoundry.org:10001 [2022-04-13T03:32:32.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:32.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:32.059Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:32.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:32.059Z] [2022-04-13T03:32:32.059Z] Login Succeeded [2022-04-13T03:32:32.059Z] nexus3.edgexfoundry.org:10002 [2022-04-13T03:32:32.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:32.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:32.320Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:32.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:32.320Z] [2022-04-13T03:32:32.320Z] Login Succeeded [2022-04-13T03:32:32.320Z] nexus3.edgexfoundry.org:10003 [2022-04-13T03:32:32.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:32.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:32.320Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:32.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:32.320Z] [2022-04-13T03:32:32.320Z] Login Succeeded [2022-04-13T03:32:32.320Z] nexus3.edgexfoundry.org:10004 [2022-04-13T03:32:32.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:32.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:32.581Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:32.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:32.581Z] [2022-04-13T03:32:32.581Z] Login Succeeded [2022-04-13T03:32:32.581Z] docker.io [2022-04-13T03:32:32.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:33.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:33.155Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:33.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:33.155Z] [2022-04-13T03:32:33.155Z] Login Succeeded [2022-04-13T03:32:33.155Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T03:32:33.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T03:32:33.535Z] + git rev-list -1 --merges 49643132f6b9e95e3a0d289ddc01900e940e8eba~1..49643132f6b9e95e3a0d289ddc01900e940e8eba [Pipeline] echo [2022-04-13T03:32:33.569Z] -----------> git rev-list -1 --merges 49643132f6b9e95e3a0d289ddc01900e940e8eba~1..49643132f6b9e95e3a0d289ddc01900e940e8eba 49643132f6b9e95e3a0d289ddc01900e940e8eba [2022-04-13T03:32:33.569Z] 49643132f6b9e95e3a0d289ddc01900e940e8eba [false] [Pipeline] sh [2022-04-13T03:32:33.864Z] + git log --format=format:%s -1 49643132f6b9e95e3a0d289ddc01900e940e8eba [Pipeline] echo [2022-04-13T03:32:33.881Z] ========================================================= [2022-04-13T03:32:33.881Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T03:32:33.881Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T03:32:34.222Z] + git log --format=format:%s -1 49643132f6b9e95e3a0d289ddc01900e940e8eba [Pipeline] echo [2022-04-13T03:32:34.236Z] [semverPrep] GIT_COMMIT: 49643132f6b9e95e3a0d289ddc01900e940e8eba, Commit Message: Merge pull request #1130 from jinlinGuan/issue-1120 [Pipeline] echo [2022-04-13T03:32:34.247Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T03:32:34.695Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T03:32:34.696Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T03:32:34.696Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T03:32:34.696Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T03:32:34.696Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T03:32:34.696Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T03:32:34.696Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:32:35.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:32:35.132Z] [2022-04-13T03:32:35.132Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:32:35.436Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:32:35.436Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T03:32:35.436Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T03:32:35.436Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T03:32:35.436Z] 4c7163046ea9: Pulling fs layer [2022-04-13T03:32:35.436Z] 0c2d73faf560: Pulling fs layer [2022-04-13T03:32:35.436Z] 0c2d73faf560: Waiting [2022-04-13T03:32:35.436Z] 3e5f54012d9b: Verifying Checksum [2022-04-13T03:32:35.436Z] 3e5f54012d9b: Download complete [2022-04-13T03:32:35.436Z] a0d0a0d46f8b: Verifying Checksum [2022-04-13T03:32:35.436Z] a0d0a0d46f8b: Download complete [2022-04-13T03:32:35.696Z] 4c7163046ea9: Verifying Checksum [2022-04-13T03:32:35.696Z] 4c7163046ea9: Download complete [2022-04-13T03:32:35.696Z] 0c2d73faf560: Verifying Checksum [2022-04-13T03:32:35.696Z] 0c2d73faf560: Download complete [2022-04-13T03:32:35.696Z] a0d0a0d46f8b: Pull complete [2022-04-13T03:32:35.696Z] 3e5f54012d9b: Pull complete [2022-04-13T03:32:36.268Z] 4c7163046ea9: Pull complete [2022-04-13T03:32:36.268Z] 0c2d73faf560: Pull complete [2022-04-13T03:32:36.268Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T03:32:36.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:32:36.268Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T03:32:36.340Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:32:36.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T03:32:37.060Z] $ docker top aef597a65faf1856c36b0108dd47901a6421a1181d88e451d668e38b48e8033d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T03:32:37.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T03:32:37.173Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T03:32:37.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T03:32:37.313Z] $ docker exec aef597a65faf1856c36b0108dd47901a6421a1181d88e451d668e38b48e8033d ssh-agent [2022-04-13T03:32:37.452Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBeOooa/agent.14 [2022-04-13T03:32:37.452Z] SSH_AGENT_PID=20 [2022-04-13T03:32:37.459Z] Running ssh-add (command line suppressed) [2022-04-13T03:32:37.567Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2837875325910807977.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2837875325910807977.key) [2022-04-13T03:32:37.587Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T03:32:37.885Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T03:32:37.901Z] $ docker exec --env ******** --env ******** aef597a65faf1856c36b0108dd47901a6421a1181d88e451d668e38b48e8033d ssh-agent -k [2022-04-13T03:32:38.017Z] unset SSH_AUTH_SOCK; [2022-04-13T03:32:38.018Z] unset SSH_AGENT_PID; [2022-04-13T03:32:38.018Z] echo Agent pid 20 killed; [2022-04-13T03:32:38.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T03:32:38.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T03:32:38.063Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T03:32:38.194Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T03:32:38.191Z] $ docker exec aef597a65faf1856c36b0108dd47901a6421a1181d88e451d668e38b48e8033d ssh-agent [2022-04-13T03:32:38.312Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaEdcNO/agent.53 [2022-04-13T03:32:38.312Z] SSH_AGENT_PID=59 [2022-04-13T03:32:38.317Z] Running ssh-add (command line suppressed) [2022-04-13T03:32:38.421Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_737955159410025347.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_737955159410025347.key) [2022-04-13T03:32:38.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T03:32:38.737Z] + git semver init [2022-04-13T03:32:38.737Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T03:32:38.737Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-13T03:32:38.737Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-13T03:32:38.737Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T03:32:38.737Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T03:32:38.737Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T03:32:38.737Z] # $SEMVER_BRANCH = main [2022-04-13T03:32:38.737Z] # $SEMVER_TEMP = /tmp/semver-856872418 [2022-04-13T03:32:38.737Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-13T03:32:39.679Z] # '/tmp/semver-856872418' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-13T03:32:39.679Z] # -> Force: false [2022-04-13T03:32:39.679Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-13T03:32:39.686Z] $ docker exec --env ******** --env ******** aef597a65faf1856c36b0108dd47901a6421a1181d88e451d668e38b48e8033d ssh-agent -k [2022-04-13T03:32:39.795Z] unset SSH_AUTH_SOCK; [2022-04-13T03:32:39.796Z] unset SSH_AGENT_PID; [2022-04-13T03:32:39.796Z] echo Agent pid 59 killed; [2022-04-13T03:32:39.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T03:32:40.130Z] + git semver [Pipeline] } [2022-04-13T03:32:40.140Z] $ docker stop --time=1 aef597a65faf1856c36b0108dd47901a6421a1181d88e451d668e38b48e8033d [2022-04-13T03:32:41.502Z] $ docker rm -f aef597a65faf1856c36b0108dd47901a6421a1181d88e451d668e38b48e8033d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T03:32:41.854Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T03:32:42.084Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T03:32:42.088Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.26 [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-13T03:32:42.256Z] provisioning config files... [2022-04-13T03:32:42.266Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6172396825250891705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:32:42.565Z] ---> docker-login.sh [2022-04-13T03:32:42.565Z] nexus3.edgexfoundry.org:10001 [2022-04-13T03:32:42.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:42.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:42.565Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:42.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:42.565Z] [2022-04-13T03:32:42.565Z] Login Succeeded [2022-04-13T03:32:42.565Z] nexus3.edgexfoundry.org:10002 [2022-04-13T03:32:42.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:42.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:42.825Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:42.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:42.825Z] [2022-04-13T03:32:42.825Z] Login Succeeded [2022-04-13T03:32:42.825Z] nexus3.edgexfoundry.org:10003 [2022-04-13T03:32:42.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:42.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:42.825Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:42.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:42.825Z] [2022-04-13T03:32:42.825Z] Login Succeeded [2022-04-13T03:32:42.825Z] nexus3.edgexfoundry.org:10004 [2022-04-13T03:32:42.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:43.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:43.085Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:43.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:43.085Z] [2022-04-13T03:32:43.085Z] Login Succeeded [2022-04-13T03:32:43.085Z] docker.io [2022-04-13T03:32:43.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:32:43.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:32:43.346Z] Configure a credential helper to remove this warning. See [2022-04-13T03:32:43.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:32:43.346Z] [2022-04-13T03:32:43.346Z] Login Succeeded [2022-04-13T03:32:43.346Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T03:32:43.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T03:32:43.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T03:32:43.436Z] ========================================================= [2022-04-13T03:32:43.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T03:32:43.436Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:32:43.753Z] + 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-13T03:32:43.753Z] Sending build context to Docker daemon 9.587MB [2022-04-13T03:32:43.753Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T03:32:43.753Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-13T03:32:44.014Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T03:32:44.014Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T03:32:44.014Z] 666ba61612fd: Pulling fs layer [2022-04-13T03:32:44.014Z] 8ed8ca486205: Pulling fs layer [2022-04-13T03:32:44.014Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T03:32:44.014Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T03:32:44.014Z] 640e595b4fbd: Pulling fs layer [2022-04-13T03:32:44.014Z] 763cafe07f6e: Pulling fs layer [2022-04-13T03:32:44.014Z] 0c0b528cf693: Pulling fs layer [2022-04-13T03:32:44.014Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T03:32:44.014Z] 640e595b4fbd: Waiting [2022-04-13T03:32:44.014Z] 0c0b528cf693: Waiting [2022-04-13T03:32:44.014Z] 10935f4eaf8b: Waiting [2022-04-13T03:32:44.014Z] 4fe6c5a15a65: Waiting [2022-04-13T03:32:44.014Z] 763cafe07f6e: Waiting [2022-04-13T03:32:44.014Z] 22a0e8bec74d: Waiting [2022-04-13T03:32:44.014Z] 8ed8ca486205: Verifying Checksum [2022-04-13T03:32:44.014Z] 8ed8ca486205: Download complete [2022-04-13T03:32:44.014Z] 666ba61612fd: Verifying Checksum [2022-04-13T03:32:44.014Z] 666ba61612fd: Download complete [2022-04-13T03:32:44.014Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T03:32:44.014Z] 22a0e8bec74d: Download complete [2022-04-13T03:32:44.014Z] 640e595b4fbd: Download complete [2022-04-13T03:32:44.014Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T03:32:44.014Z] 59bf1c3509f3: Download complete [2022-04-13T03:32:44.014Z] 763cafe07f6e: Verifying Checksum [2022-04-13T03:32:44.014Z] 763cafe07f6e: Download complete [2022-04-13T03:32:44.014Z] 0c0b528cf693: Verifying Checksum [2022-04-13T03:32:44.014Z] 0c0b528cf693: Download complete [2022-04-13T03:32:44.276Z] 59bf1c3509f3: Pull complete [2022-04-13T03:32:44.276Z] 666ba61612fd: Pull complete [2022-04-13T03:32:44.276Z] 8ed8ca486205: Pull complete [2022-04-13T03:32:44.536Z] 10935f4eaf8b: Download complete [2022-04-13T03:32:44.795Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T03:32:44.795Z] 4fe6c5a15a65: Download complete [2022-04-13T03:32:48.992Z] 4fe6c5a15a65: Pull complete [2022-04-13T03:32:48.992Z] 22a0e8bec74d: Pull complete [2022-04-13T03:32:48.992Z] 640e595b4fbd: Pull complete [2022-04-13T03:32:48.992Z] 763cafe07f6e: Pull complete [2022-04-13T03:32:48.992Z] 0c0b528cf693: Pull complete [2022-04-13T03:32:50.898Z] 10935f4eaf8b: Pull complete [2022-04-13T03:32:50.898Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T03:32:50.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T03:32:50.898Z] ---> 99d49a6021b9 [2022-04-13T03:32:50.898Z] Step 3/11 : ARG MAKE=make build [2022-04-13T03:32:52.479Z] ---> Running in 1ed4e5bd536e [2022-04-13T03:32:52.479Z] Removing intermediate container 1ed4e5bd536e [2022-04-13T03:32:52.479Z] ---> bf86e4424534 [2022-04-13T03:32:52.479Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-13T03:32:52.479Z] ---> Running in 79c6655818f2 [2022-04-13T03:32:52.479Z] Removing intermediate container 79c6655818f2 [2022-04-13T03:32:52.479Z] ---> 709c7df568d4 [2022-04-13T03:32:52.479Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:32:52.479Z] ---> Running in 3f65b0badd9a [2022-04-13T03:32:52.479Z] Removing intermediate container 3f65b0badd9a [2022-04-13T03:32:52.479Z] ---> e17169976187 [2022-04-13T03:32:52.479Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:32:52.738Z] ---> Running in 12c4660c5f08 [2022-04-13T03:32:53.305Z] Removing intermediate container 12c4660c5f08 [2022-04-13T03:32:53.305Z] ---> ea5e74500ef3 [2022-04-13T03:32:53.305Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T03:32:53.305Z] ---> Running in b26c25d7f38e [2022-04-13T03:32:53.564Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T03:32:54.503Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T03:32:54.763Z] OK: 221 MiB in 52 packages [2022-04-13T03:32:55.024Z] Removing intermediate container b26c25d7f38e [2022-04-13T03:32:55.024Z] ---> 3531ba8e77ac [2022-04-13T03:32:55.024Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-13T03:32:55.284Z] ---> f7fc1b38704f [2022-04-13T03:32:55.284Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T03:32:55.284Z] ---> Running in 432253b678a6 [2022-04-13T03:32:57.210Z] Still waiting to schedule task [2022-04-13T03:32:57.211Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20761’ [2022-04-13T03:33:10.174Z] Removing intermediate container 432253b678a6 [2022-04-13T03:33:10.174Z] ---> f35d545204c9 [2022-04-13T03:33:10.174Z] Step 10/11 : COPY . . [2022-04-13T03:33:10.174Z] ---> db87e2ba11fc [2022-04-13T03:33:10.174Z] Step 11/11 : RUN ${MAKE} [2022-04-13T03:33:10.174Z] ---> Running in c792ab3b49ea [2022-04-13T03:33:10.174Z] noop [2022-04-13T03:33:10.174Z] Removing intermediate container c792ab3b49ea [2022-04-13T03:33:10.174Z] ---> f5c2c0839f51 [2022-04-13T03:33:10.174Z] Successfully built f5c2c0839f51 [2022-04-13T03:33:10.174Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:33:10.481Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T03:33:10.481Z] . [Pipeline] withDockerContainer [2022-04-13T03:33:10.547Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:33:10.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T03:33:10.966Z] $ docker top 7cee94b3ae8bb2c8e461e4150bbc406f77f6f6d4b1463098dd119c62488139e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T03:33:11.313Z] + go version [2022-04-13T03:33:11.313Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T03:33:11.331Z] $ docker stop --time=1 7cee94b3ae8bb2c8e461e4150bbc406f77f6f6d4b1463098dd119c62488139e2 [2022-04-13T03:33:12.635Z] $ docker rm -f 7cee94b3ae8bb2c8e461e4150bbc406f77f6f6d4b1463098dd119c62488139e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:33:13.063Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T03:33:13.063Z] . [Pipeline] withDockerContainer [2022-04-13T03:33:13.130Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:33:13.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T03:33:13.591Z] $ docker top 27fd701248c52af385ddf123d2f80fcf639c9ed202622ff75c744d957d1f2b44 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T03:33:13.947Z] + make test [2022-04-13T03:33:13.947Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-13T03:33:19.230Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.070s coverage: 23.3% of statements [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.087s coverage: 27.6% of statements [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.111s coverage: 10.8% of statements [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 33.2% of statements [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.1% of statements [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.768s coverage: 89.2% of statements [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-13T03:33:31.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements [2022-04-13T03:33:31.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-13T03:33:43.660Z] GO111MODULE=on go vet ./... [2022-04-13T03:33:47.865Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T03:33:47.865Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T03:33:47.865Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T03:33:47.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T03:33:47.902Z] $ docker stop --time=1 27fd701248c52af385ddf123d2f80fcf639c9ed202622ff75c744d957d1f2b44 [2022-04-13T03:33:50.132Z] $ docker rm -f 27fd701248c52af385ddf123d2f80fcf639c9ed202622ff75c744d957d1f2b44 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T03:33:50.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T03:33:50.687Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T03:33:51.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T03:33:51.956Z] + ls -al . [2022-04-13T03:33:51.956Z] total 296 [2022-04-13T03:33:51.956Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 03:33 . [2022-04-13T03:33:51.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:32 .. [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 03:32 .dockerignore [2022-04-13T03:33:51.956Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:32 .git [2022-04-13T03:33:51.956Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:32 .github [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 03:32 .gitignore [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 03:32 .golangci.yml [2022-04-13T03:33:51.956Z] drwx------ 3 jenkins jenkins 4096 Apr 13 03:32 .semver [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 03:32 CHANGELOG.md [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:32 GOVERNANCE.md [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 03:32 Jenkinsfile [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 03:32 LICENSE [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 03:32 Makefile [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 03:32 OWNERS.md [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 03:32 README.md [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 03:32 VERSION [2022-04-13T03:33:51.956Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:32 bin [2022-04-13T03:33:51.956Z] -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 03:33 coverage.out [2022-04-13T03:33:51.956Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:32 example [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 13 03:32 go.mod [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 13 03:32 go.sum [2022-04-13T03:33:51.956Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 03:32 internal [2022-04-13T03:33:51.956Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:32 openapi [2022-04-13T03:33:51.956Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:32 pkg [2022-04-13T03:33:51.956Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:32 snap [2022-04-13T03:33:51.956Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 03:32 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:33:52.248Z] + 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=49643132f6b9e95e3a0d289ddc01900e940e8eba --label arch=amd64 --label version=2.2.0-dev.26 . [2022-04-13T03:33:52.248Z] Sending build context to Docker daemon 9.717MB [2022-04-13T03:33:52.248Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T03:33:52.248Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T03:33:52.248Z] ---> f5c2c0839f51 [2022-04-13T03:33:52.248Z] Step 3/25 : ARG MAKE=make build [2022-04-13T03:33:52.508Z] ---> Running in 44e6e9128e45 [2022-04-13T03:33:52.508Z] Removing intermediate container 44e6e9128e45 [2022-04-13T03:33:52.508Z] ---> a6ff801da6f7 [2022-04-13T03:33:52.508Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-13T03:33:52.508Z] ---> Running in 91955891b3df [2022-04-13T03:33:52.508Z] Removing intermediate container 91955891b3df [2022-04-13T03:33:52.508Z] ---> 53c6be8c2175 [2022-04-13T03:33:52.508Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:33:52.769Z] ---> Running in a8364d021e6f [2022-04-13T03:33:52.769Z] Removing intermediate container a8364d021e6f [2022-04-13T03:33:52.769Z] ---> 3909bb95c7b1 [2022-04-13T03:33:52.769Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:33:52.769Z] ---> Running in 3b1413501b34 [2022-04-13T03:33:53.339Z] Removing intermediate container 3b1413501b34 [2022-04-13T03:33:53.339Z] ---> 476ae321a650 [2022-04-13T03:33:53.339Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T03:33:53.339Z] ---> Running in 7777323b6976 [2022-04-13T03:33:53.597Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T03:33:54.537Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T03:33:54.800Z] OK: 221 MiB in 52 packages [2022-04-13T03:33:55.060Z] Removing intermediate container 7777323b6976 [2022-04-13T03:33:55.060Z] ---> b22ef7956f9f [2022-04-13T03:33:55.060Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-13T03:33:55.321Z] ---> 5f74c4caf6c3 [2022-04-13T03:33:55.321Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T03:33:55.321Z] ---> Running in 58447ec8fc6b [2022-04-13T03:33:55.893Z] Removing intermediate container 58447ec8fc6b [2022-04-13T03:33:55.893Z] ---> 7d8523561a7f [2022-04-13T03:33:55.893Z] Step 10/25 : COPY . . [2022-04-13T03:33:56.463Z] ---> a234bc5cc9e8 [2022-04-13T03:33:56.463Z] Step 11/25 : RUN ${MAKE} [2022-04-13T03:33:56.463Z] ---> Running in 236dbf0cc8da [2022-04-13T03:33:56.724Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.26" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-13T03:34:11.616Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-13T03:34:14.912Z] Removing intermediate container 236dbf0cc8da [2022-04-13T03:34:14.912Z] ---> e785f9bf5013 [2022-04-13T03:34:14.912Z] Step 12/25 : FROM alpine:3.14 [2022-04-13T03:34:15.172Z] 3.14: Pulling from library/alpine [2022-04-13T03:34:15.172Z] 8663204ce13b: Pulling fs layer [2022-04-13T03:34:15.433Z] 8663204ce13b: Verifying Checksum [2022-04-13T03:34:15.433Z] 8663204ce13b: Download complete [2022-04-13T03:34:15.433Z] 8663204ce13b: Pull complete [2022-04-13T03:34:15.693Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T03:34:15.693Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T03:34:15.693Z] ---> e04c818066af [2022-04-13T03:34:15.693Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:34:15.693Z] ---> Running in eae8f9cdc8f9 [2022-04-13T03:34:15.693Z] Removing intermediate container eae8f9cdc8f9 [2022-04-13T03:34:15.693Z] ---> 085fe31ce5c1 [2022-04-13T03:34:15.693Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:34:15.693Z] ---> Running in a28ea7791fb5 [2022-04-13T03:34:16.263Z] Removing intermediate container a28ea7791fb5 [2022-04-13T03:34:16.263Z] ---> 9d5c488ad1fa [2022-04-13T03:34:16.263Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-13T03:34:16.263Z] ---> Running in fe9a6f9a6461 [2022-04-13T03:34:16.523Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T03:34:17.464Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T03:34:17.724Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T03:34:17.724Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-13T03:34:17.985Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T03:34:17.985Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-13T03:34:17.985Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-13T03:34:18.245Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T03:34:18.245Z] OK: 8 MiB in 19 packages [2022-04-13T03:34:18.505Z] Removing intermediate container fe9a6f9a6461 [2022-04-13T03:34:18.505Z] ---> d72c87eb35ac [2022-04-13T03:34:18.505Z] Step 16/25 : WORKDIR / [2022-04-13T03:34:18.505Z] ---> Running in 8bbe274dc704 [2022-04-13T03:34:18.764Z] Removing intermediate container 8bbe274dc704 [2022-04-13T03:34:18.764Z] ---> 45638db39aa7 [2022-04-13T03:34:18.764Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-13T03:34:18.764Z] ---> 1f4dea6b5c30 [2022-04-13T03:34:18.764Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-13T03:34:19.334Z] ---> 1bba988138c0 [2022-04-13T03:34:19.334Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-13T03:34:19.594Z] ---> c1f989acfdfd [2022-04-13T03:34:19.594Z] Step 20/25 : EXPOSE 59999 [2022-04-13T03:34:19.594Z] ---> Running in 0025e0ad5386 [2022-04-13T03:34:19.594Z] Removing intermediate container 0025e0ad5386 [2022-04-13T03:34:19.594Z] ---> 1c357fdbd66e [2022-04-13T03:34:19.594Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-13T03:34:19.854Z] ---> Running in ea6d33bcf08b [2022-04-13T03:34:19.854Z] Removing intermediate container ea6d33bcf08b [2022-04-13T03:34:19.854Z] ---> 70ecaf324118 [2022-04-13T03:34:19.854Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T03:34:19.854Z] ---> Running in 7f9bce716da2 [2022-04-13T03:34:19.854Z] Removing intermediate container 7f9bce716da2 [2022-04-13T03:34:19.854Z] ---> b1a12af4f24d [2022-04-13T03:34:19.854Z] Step 23/25 : LABEL arch=amd64 [2022-04-13T03:34:19.854Z] ---> Running in ff6711fd248c [2022-04-13T03:34:20.113Z] Removing intermediate container ff6711fd248c [2022-04-13T03:34:20.113Z] ---> d87616db3a75 [2022-04-13T03:34:20.113Z] Step 24/25 : LABEL git_sha=49643132f6b9e95e3a0d289ddc01900e940e8eba [2022-04-13T03:34:20.113Z] ---> Running in 201bc3cd4229 [2022-04-13T03:34:20.113Z] Removing intermediate container 201bc3cd4229 [2022-04-13T03:34:20.113Z] ---> 70866e6f22ae [2022-04-13T03:34:20.113Z] Step 25/25 : LABEL version=2.2.0-dev.26 [2022-04-13T03:34:20.113Z] ---> Running in c0b1ff6c57e9 [2022-04-13T03:34:20.373Z] Removing intermediate container c0b1ff6c57e9 [2022-04-13T03:34:20.373Z] ---> 99cefe7cd162 [2022-04-13T03:34:20.373Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T03:34:20.373Z] Successfully built 99cefe7cd162 [2022-04-13T03:34:20.373Z] 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-13T03:34:20.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T03:34:20.766Z] [2022-04-13T03:34:20.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:34:21.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T03:34:21.063Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T03:34:21.063Z] 5eb5b503b376: Pulling fs layer [2022-04-13T03:34:21.063Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T03:34:21.063Z] ec43610c2a17: Pulling fs layer [2022-04-13T03:34:21.063Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T03:34:21.063Z] 33b1e0a273af: Pulling fs layer [2022-04-13T03:34:21.063Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T03:34:21.063Z] 2f39f015ded8: Pulling fs layer [2022-04-13T03:34:21.063Z] 33b1e0a273af: Waiting [2022-04-13T03:34:21.063Z] 5d3b04190fa2: Waiting [2022-04-13T03:34:21.063Z] 3a2ae6a8a46f: Waiting [2022-04-13T03:34:21.063Z] 2f39f015ded8: Waiting [2022-04-13T03:34:21.063Z] 5c69ac0246d0: Download complete [2022-04-13T03:34:21.063Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T03:34:21.063Z] 3a2ae6a8a46f: Download complete [2022-04-13T03:34:21.063Z] 33b1e0a273af: Verifying Checksum [2022-04-13T03:34:21.063Z] 33b1e0a273af: Download complete [2022-04-13T03:34:21.063Z] ec43610c2a17: Verifying Checksum [2022-04-13T03:34:21.063Z] ec43610c2a17: Download complete [2022-04-13T03:34:21.063Z] 5d3b04190fa2: Verifying Checksum [2022-04-13T03:34:21.063Z] 5d3b04190fa2: Download complete [2022-04-13T03:34:21.323Z] 5eb5b503b376: Verifying Checksum [2022-04-13T03:34:21.323Z] 5eb5b503b376: Download complete [2022-04-13T03:34:21.892Z] 2f39f015ded8: Download complete [2022-04-13T03:34:22.459Z] 5eb5b503b376: Pull complete [2022-04-13T03:34:22.459Z] 5c69ac0246d0: Pull complete [2022-04-13T03:34:23.026Z] ec43610c2a17: Pull complete [2022-04-13T03:34:23.026Z] 3a2ae6a8a46f: Pull complete [2022-04-13T03:34:23.286Z] 33b1e0a273af: Pull complete [2022-04-13T03:34:23.286Z] 5d3b04190fa2: Pull complete [2022-04-13T03:34:27.472Z] 2f39f015ded8: Pull complete [2022-04-13T03:34:27.472Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T03:34:27.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T03:34:27.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T03:34:27.536Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:34:27.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T03:34:29.176Z] $ docker top 9c012c9a33317bda06a3ad1be7b9bdf32c27bf56cf5043b7907c263358a67523 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:34:29.561Z] ---> job-cost.sh [2022-04-13T03:34:29.561Z] lf-activate-venv: SKIPPING [2022-04-13T03:34:29.561Z] INFO: No Stack... [2022-04-13T03:34:30.131Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T03:34:30.391Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T03:34:30.687Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-04-13T03:34:30.687Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T03:34:30.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-59-stack-cost] [2022-04-13T03:34:30.712Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-59-stack-cost] did not exist. Created. [2022-04-13T03:34:30.713Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T03:34:31.016Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T03:34:31.069Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T03:34:31.074Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T03:34:31.097Z] $ docker stop --time=1 9c012c9a33317bda06a3ad1be7b9bdf32c27bf56cf5043b7907c263358a67523 [2022-04-13T03:34:32.271Z] $ docker rm -f 9c012c9a33317bda06a3ad1be7b9bdf32c27bf56cf5043b7907c263358a67523 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T03:35:35.462Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20767 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-13T03:35:35.476Z] Running in /w/workspace/device-sdk-go/59 [Pipeline] { [Pipeline] checkout [2022-04-13T03:35:35.753Z] The recommended git tool is: git [2022-04-13T03:35:44.888Z] using credential edgex-jenkins-ssh [2022-04-13T03:35:44.922Z] Cloning the remote Git repository [2022-04-13T03:35:45.038Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-13T03:35:45.179Z] > git init /w/workspace/device-sdk-go/59 # timeout=10 [2022-04-13T03:35:45.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-13T03:35:45.306Z] > git --version # timeout=10 [2022-04-13T03:35:45.337Z] > git --version # 'git version 2.25.1' [2022-04-13T03:35:45.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T03:35:45.478Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T03:35:47.711Z] Avoid second fetch [2022-04-13T03:35:47.712Z] Checking out Revision 49643132f6b9e95e3a0d289ddc01900e940e8eba (main) [2022-04-13T03:35:47.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-13T03:35:47.674Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T03:35:47.754Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T03:35:47.791Z] > git checkout -f 49643132f6b9e95e3a0d289ddc01900e940e8eba # timeout=10 [2022-04-13T03:35:52.406Z] Commit message: "Merge pull request #1130 from jinlinGuan/issue-1120" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T03:35:53.398Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T03:35:53.398Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T03:35:53.398Z] Dload Upload Total Spent Left Speed [2022-04-13T03:35:53.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43540 0 --:--:-- --:--:-- --:--:-- 43540 [Pipeline] sh [2022-04-13T03:35:53.990Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T03:35:54.351Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T03:35:54.351Z] + sudo tee /etc/docker/daemon.new [2022-04-13T03:35:54.351Z] { [2022-04-13T03:35:54.351Z] "registry-mirrors": [ [2022-04-13T03:35:54.351Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T03:35:54.351Z] ], [2022-04-13T03:35:54.351Z] "bip": "10.250.0.254/24", [2022-04-13T03:35:54.351Z] "hosts": [ [2022-04-13T03:35:54.351Z] "tcp://0.0.0.0:5555", [2022-04-13T03:35:54.351Z] "unix:///var/run/docker.sock" [2022-04-13T03:35:54.351Z] ], [2022-04-13T03:35:54.351Z] "mtu": 1458, [2022-04-13T03:35:54.351Z] "selinux-enabled": true, [2022-04-13T03:35:54.351Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T03:35:54.351Z] } [Pipeline] sh [2022-04-13T03:35:54.721Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T03:35:55.073Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T03:36:13.480Z] provisioning config files... [2022-04-13T03:36:13.515Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/59@tmp/config1950349729508821298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:36:13.910Z] ---> docker-login.sh [2022-04-13T03:36:13.910Z] nexus3.edgexfoundry.org:10001 [2022-04-13T03:36:15.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:36:15.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:36:15.361Z] Configure a credential helper to remove this warning. See [2022-04-13T03:36:15.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:36:15.361Z] [2022-04-13T03:36:15.361Z] Login Succeeded [2022-04-13T03:36:15.361Z] nexus3.edgexfoundry.org:10002 [2022-04-13T03:36:15.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:36:15.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:36:15.964Z] Configure a credential helper to remove this warning. See [2022-04-13T03:36:15.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:36:15.964Z] [2022-04-13T03:36:15.964Z] Login Succeeded [2022-04-13T03:36:15.964Z] nexus3.edgexfoundry.org:10003 [2022-04-13T03:36:16.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:36:16.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:36:16.519Z] Configure a credential helper to remove this warning. See [2022-04-13T03:36:16.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:36:16.519Z] [2022-04-13T03:36:16.519Z] Login Succeeded [2022-04-13T03:36:16.519Z] nexus3.edgexfoundry.org:10004 [2022-04-13T03:36:16.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:36:17.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:36:17.073Z] Configure a credential helper to remove this warning. See [2022-04-13T03:36:17.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:36:17.073Z] [2022-04-13T03:36:17.073Z] Login Succeeded [2022-04-13T03:36:17.073Z] docker.io [2022-04-13T03:36:17.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T03:36:17.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T03:36:17.949Z] Configure a credential helper to remove this warning. See [2022-04-13T03:36:17.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T03:36:17.949Z] [2022-04-13T03:36:17.949Z] Login Succeeded [2022-04-13T03:36:17.949Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T03:36:17.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T03:36:18.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T03:36:18.747Z] ========================================================= [2022-04-13T03:36:18.747Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T03:36:18.747Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:36:19.170Z] + 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-13T03:36:19.780Z] Sending build context to Docker daemon 5.185MB [2022-04-13T03:36:19.780Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T03:36:19.780Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-13T03:36:20.066Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T03:36:20.066Z] 9b3977197b4f: Pulling fs layer [2022-04-13T03:36:20.066Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T03:36:20.066Z] 94645a83ff95: Pulling fs layer [2022-04-13T03:36:20.066Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T03:36:20.066Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T03:36:20.066Z] f7c0051592d6: Pulling fs layer [2022-04-13T03:36:20.066Z] a227ed2f7395: Pulling fs layer [2022-04-13T03:36:20.066Z] 7b1c46037f91: Pulling fs layer [2022-04-13T03:36:20.066Z] f7c0051592d6: Waiting [2022-04-13T03:36:20.066Z] a227ed2f7395: Waiting [2022-04-13T03:36:20.066Z] 3f3a8bcf1eab: Waiting [2022-04-13T03:36:20.066Z] 7b1c46037f91: Waiting [2022-04-13T03:36:20.066Z] 0c92f367c5e7: Waiting [2022-04-13T03:36:20.066Z] 94645a83ff95: Verifying Checksum [2022-04-13T03:36:20.066Z] 94645a83ff95: Download complete [2022-04-13T03:36:20.066Z] 1a89e8eeedd5: Download complete [2022-04-13T03:36:20.066Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T03:36:20.066Z] 0c92f367c5e7: Download complete [2022-04-13T03:36:20.066Z] 9b3977197b4f: Verifying Checksum [2022-04-13T03:36:20.066Z] 9b3977197b4f: Download complete [2022-04-13T03:36:20.066Z] f7c0051592d6: Verifying Checksum [2022-04-13T03:36:20.066Z] f7c0051592d6: Download complete [2022-04-13T03:36:20.066Z] a227ed2f7395: Verifying Checksum [2022-04-13T03:36:20.066Z] a227ed2f7395: Download complete [2022-04-13T03:36:21.077Z] 9b3977197b4f: Pull complete [2022-04-13T03:36:21.688Z] 1a89e8eeedd5: Pull complete [2022-04-13T03:36:21.976Z] 94645a83ff95: Pull complete [2022-04-13T03:36:22.261Z] 7b1c46037f91: Verifying Checksum [2022-04-13T03:36:22.262Z] 7b1c46037f91: Download complete [2022-04-13T03:36:22.868Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T03:36:22.868Z] 3f3a8bcf1eab: Download complete [2022-04-13T03:36:35.310Z] 3f3a8bcf1eab: Pull complete [2022-04-13T03:36:35.310Z] 0c92f367c5e7: Pull complete [2022-04-13T03:36:35.310Z] f7c0051592d6: Pull complete [2022-04-13T03:36:35.586Z] a227ed2f7395: Pull complete [2022-04-13T03:36:42.347Z] 7b1c46037f91: Pull complete [2022-04-13T03:36:42.347Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T03:36:42.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T03:36:42.347Z] ---> f79e39bc4007 [2022-04-13T03:36:42.347Z] Step 3/11 : ARG MAKE=make build [2022-04-13T03:36:43.345Z] ---> Running in 3384ad6a7656 [2022-04-13T03:36:43.974Z] Removing intermediate container 3384ad6a7656 [2022-04-13T03:36:43.974Z] ---> 37dd5e3082d6 [2022-04-13T03:36:43.974Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-13T03:36:43.974Z] ---> Running in 90405d871afb [2022-04-13T03:36:44.255Z] Removing intermediate container 90405d871afb [2022-04-13T03:36:44.255Z] ---> 34f3a4ff6f83 [2022-04-13T03:36:44.255Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:36:44.255Z] ---> Running in 8ae7cd3a2671 [2022-04-13T03:36:44.859Z] Removing intermediate container 8ae7cd3a2671 [2022-04-13T03:36:44.859Z] ---> 7b23e7629886 [2022-04-13T03:36:44.859Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:36:44.859Z] ---> Running in 7349979c64b3 [2022-04-13T03:36:46.845Z] Removing intermediate container 7349979c64b3 [2022-04-13T03:36:46.845Z] ---> 06e30e167098 [2022-04-13T03:36:46.845Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T03:36:46.845Z] ---> Running in 1a7ceabbd2e6 [2022-04-13T03:36:47.832Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T03:36:48.829Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T03:36:49.814Z] OK: 220 MiB in 52 packages [2022-04-13T03:36:50.803Z] Removing intermediate container 1a7ceabbd2e6 [2022-04-13T03:36:50.803Z] ---> 870fa2e5ca97 [2022-04-13T03:36:50.803Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-13T03:36:51.422Z] ---> 601b40cb6786 [2022-04-13T03:36:51.422Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T03:36:51.422Z] ---> Running in 5ac65e8adfac [2022-04-13T03:37:48.035Z] Removing intermediate container 5ac65e8adfac [2022-04-13T03:37:48.035Z] ---> f8698f0662cf [2022-04-13T03:37:48.035Z] Step 10/11 : COPY . . [2022-04-13T03:37:48.035Z] ---> 724b722caea6 [2022-04-13T03:37:48.035Z] Step 11/11 : RUN ${MAKE} [2022-04-13T03:37:48.035Z] ---> Running in fba4fb24b28a [2022-04-13T03:37:48.035Z] noop [2022-04-13T03:37:48.035Z] Removing intermediate container fba4fb24b28a [2022-04-13T03:37:48.035Z] ---> dd872f5cdc32 [2022-04-13T03:37:48.035Z] Successfully built dd872f5cdc32 [2022-04-13T03:37:48.035Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:37:48.387Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T03:37:48.387Z] . [Pipeline] withDockerContainer [2022-04-13T03:37:48.637Z] prd-ubuntu20.04-docker-arm64-4c-16g-20767 does not seem to be running inside a container [2022-04-13T03:37:48.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/59 -v /w/workspace/device-sdk-go/59:/w/workspace/device-sdk-go/59:rw,z -v /w/workspace/device-sdk-go/59@tmp:/w/workspace/device-sdk-go/59@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-13T03:37:50.149Z] $ docker top 979a11e022b0f14313a9ef716cb2b76dba3e5bfb6523c61d7256b43048e5733c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T03:37:51.074Z] + go version [2022-04-13T03:37:51.074Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T03:37:51.106Z] $ docker stop --time=1 979a11e022b0f14313a9ef716cb2b76dba3e5bfb6523c61d7256b43048e5733c [2022-04-13T03:37:52.758Z] $ docker rm -f 979a11e022b0f14313a9ef716cb2b76dba3e5bfb6523c61d7256b43048e5733c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:37:53.368Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T03:37:53.368Z] . [Pipeline] withDockerContainer [2022-04-13T03:37:53.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-20767 does not seem to be running inside a container [2022-04-13T03:37:53.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/59 -v /w/workspace/device-sdk-go/59:/w/workspace/device-sdk-go/59:rw,z -v /w/workspace/device-sdk-go/59@tmp:/w/workspace/device-sdk-go/59@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-13T03:37:55.062Z] $ docker top a71107b81e132f7d7be8cc28b618f6164c6d1ae3c3b49f4bc904ef3156d54f6b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T03:37:55.995Z] + make test [2022-04-13T03:37:55.995Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-13T03:38:35.016Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-13T03:40:26.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-13T03:40:26.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-13T03:40:26.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-13T03:40:27.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.685s coverage: 23.3% of statements [2022-04-13T03:40:27.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-13T03:40:27.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.378s coverage: 27.6% of statements [2022-04-13T03:40:27.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.303s coverage: 78.9% of statements [2022-04-13T03:40:27.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.436s coverage: 10.8% of statements [2022-04-13T03:40:27.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-13T03:40:27.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-13T03:40:27.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-13T03:40:32.299Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.469s coverage: 33.2% of statements [2022-04-13T03:40:32.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-13T03:40:32.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.284s coverage: 86.1% of statements [2022-04-13T03:40:32.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-13T03:40:32.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-13T03:40:38.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.477s coverage: 65.1% of statements [2022-04-13T03:40:38.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.664s coverage: 89.2% of statements [2022-04-13T03:40:38.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-13T03:40:40.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.253s coverage: 4.8% of statements [2022-04-13T03:40:40.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-13T03:40:41.233Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T03:40:41.233Z] GO111MODULE=on go vet ./... [2022-04-13T03:42:18.212Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T03:42:18.212Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T03:42:18.212Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T03:42:18.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T03:42:18.256Z] $ docker stop --time=1 a71107b81e132f7d7be8cc28b618f6164c6d1ae3c3b49f4bc904ef3156d54f6b [2022-04-13T03:42:20.128Z] $ docker rm -f a71107b81e132f7d7be8cc28b618f6164c6d1ae3c3b49f4bc904ef3156d54f6b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T03:42:21.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T03:42:21.599Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T03:42:22.290Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T03:42:22.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T03:42:23.022Z] + ls -al . [2022-04-13T03:42:23.022Z] total 292 [2022-04-13T03:42:23.022Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 03:42 . [2022-04-13T03:42:23.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:35 .. [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 03:35 .dockerignore [2022-04-13T03:42:23.022Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:35 .git [2022-04-13T03:42:23.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:35 .github [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 03:35 .gitignore [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 03:35 .golangci.yml [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 03:35 CHANGELOG.md [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:35 GOVERNANCE.md [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 03:35 Jenkinsfile [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 03:35 LICENSE [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 03:35 Makefile [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 03:35 OWNERS.md [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 03:35 README.md [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 03:32 VERSION [2022-04-13T03:42:23.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:35 bin [2022-04-13T03:42:23.022Z] -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 03:40 coverage.out [2022-04-13T03:42:23.022Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:35 example [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 13 03:35 go.mod [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 13 03:35 go.sum [2022-04-13T03:42:23.022Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 03:35 internal [2022-04-13T03:42:23.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:35 openapi [2022-04-13T03:42:23.022Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:35 pkg [2022-04-13T03:42:23.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:35 snap [2022-04-13T03:42:23.022Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 03:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:42:23.378Z] + 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=49643132f6b9e95e3a0d289ddc01900e940e8eba --label arch=arm64 --label version=2.2.0-dev.26 . [2022-04-13T03:42:23.975Z] Sending build context to Docker daemon 5.315MB [2022-04-13T03:42:23.975Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T03:42:23.975Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T03:42:23.975Z] ---> dd872f5cdc32 [2022-04-13T03:42:23.975Z] Step 3/25 : ARG MAKE=make build [2022-04-13T03:42:23.975Z] ---> Running in 149686374bdb [2022-04-13T03:42:24.574Z] Removing intermediate container 149686374bdb [2022-04-13T03:42:24.574Z] ---> bac48aa9e590 [2022-04-13T03:42:24.574Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-13T03:42:24.574Z] ---> Running in e112c01c7f14 [2022-04-13T03:42:24.850Z] Removing intermediate container e112c01c7f14 [2022-04-13T03:42:24.850Z] ---> bd7d590b4a15 [2022-04-13T03:42:24.850Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:42:24.850Z] ---> Running in 4d3289decc55 [2022-04-13T03:42:25.450Z] Removing intermediate container 4d3289decc55 [2022-04-13T03:42:25.450Z] ---> 500de8aa62bf [2022-04-13T03:42:25.450Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:42:25.450Z] ---> Running in f842f1c467bf [2022-04-13T03:42:27.429Z] Removing intermediate container f842f1c467bf [2022-04-13T03:42:27.429Z] ---> d2fb5a922291 [2022-04-13T03:42:27.429Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T03:42:27.429Z] ---> Running in 3936292fd8e2 [2022-04-13T03:42:28.412Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T03:42:29.005Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T03:42:29.984Z] OK: 220 MiB in 52 packages [2022-04-13T03:42:30.964Z] Removing intermediate container 3936292fd8e2 [2022-04-13T03:42:30.964Z] ---> 3455560a234a [2022-04-13T03:42:30.964Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-13T03:42:31.562Z] ---> 0b119f75daa4 [2022-04-13T03:42:31.562Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T03:42:31.562Z] ---> Running in c67e266cd875 [2022-04-13T03:42:33.548Z] Removing intermediate container c67e266cd875 [2022-04-13T03:42:33.548Z] ---> cddaea9aed7b [2022-04-13T03:42:33.548Z] Step 10/25 : COPY . . [2022-04-13T03:42:34.984Z] ---> 2aa2440f6dbf [2022-04-13T03:42:34.984Z] Step 11/25 : RUN ${MAKE} [2022-04-13T03:42:34.984Z] ---> Running in 940c5393f0c0 [2022-04-13T03:42:35.966Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.26" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-13T03:44:42.837Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-13T03:44:49.566Z] Removing intermediate container 940c5393f0c0 [2022-04-13T03:44:49.566Z] ---> 5c99c6906767 [2022-04-13T03:44:49.566Z] Step 12/25 : FROM alpine:3.14 [2022-04-13T03:44:49.566Z] 3.14: Pulling from library/alpine [2022-04-13T03:44:49.566Z] 455c02918c45: Pulling fs layer [2022-04-13T03:44:49.566Z] 455c02918c45: Verifying Checksum [2022-04-13T03:44:49.566Z] 455c02918c45: Download complete [2022-04-13T03:44:50.168Z] 455c02918c45: Pull complete [2022-04-13T03:44:50.447Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T03:44:50.447Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T03:44:50.447Z] ---> ac73e934f311 [2022-04-13T03:44:50.447Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T03:44:50.447Z] ---> Running in b21324aac29a [2022-04-13T03:44:50.723Z] Removing intermediate container b21324aac29a [2022-04-13T03:44:50.723Z] ---> 8a69bff7ebdc [2022-04-13T03:44:50.723Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T03:44:51.002Z] ---> Running in 7be14145d130 [2022-04-13T03:44:52.977Z] Removing intermediate container 7be14145d130 [2022-04-13T03:44:52.977Z] ---> 1565a964c320 [2022-04-13T03:44:52.977Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-13T03:44:52.977Z] ---> Running in 7bbfbbfcef1b [2022-04-13T03:44:53.956Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T03:44:54.941Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T03:44:55.922Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T03:44:55.922Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-13T03:44:55.922Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T03:44:55.922Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-13T03:44:56.197Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-13T03:44:56.197Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T03:44:56.197Z] OK: 8 MiB in 19 packages [2022-04-13T03:44:57.181Z] Removing intermediate container 7bbfbbfcef1b [2022-04-13T03:44:57.181Z] ---> b568082a7148 [2022-04-13T03:44:57.181Z] Step 16/25 : WORKDIR / [2022-04-13T03:44:57.181Z] ---> Running in 1f411adecaeb [2022-04-13T03:44:57.784Z] Removing intermediate container 1f411adecaeb [2022-04-13T03:44:57.784Z] ---> 4e941aa9cc85 [2022-04-13T03:44:57.784Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-13T03:44:58.386Z] ---> 96bbae8f1ec4 [2022-04-13T03:44:58.386Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-13T03:44:59.825Z] ---> 14cab6718771 [2022-04-13T03:44:59.825Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-13T03:45:00.425Z] ---> ecf10fd0d8f2 [2022-04-13T03:45:00.425Z] Step 20/25 : EXPOSE 59999 [2022-04-13T03:45:00.712Z] ---> Running in e6f94d94c299 [2022-04-13T03:45:00.987Z] Removing intermediate container e6f94d94c299 [2022-04-13T03:45:00.987Z] ---> d6acaa91834b [2022-04-13T03:45:00.987Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-13T03:45:00.987Z] ---> Running in 1465bcda2e7f [2022-04-13T03:45:01.262Z] Removing intermediate container 1465bcda2e7f [2022-04-13T03:45:01.262Z] ---> 834ac588ff78 [2022-04-13T03:45:01.262Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T03:45:01.541Z] ---> Running in 1b43dfcb4d51 [2022-04-13T03:45:01.818Z] Removing intermediate container 1b43dfcb4d51 [2022-04-13T03:45:01.818Z] ---> 5c2213b83922 [2022-04-13T03:45:01.818Z] Step 23/25 : LABEL arch=arm64 [2022-04-13T03:45:01.818Z] ---> Running in 61e93ce93ab0 [2022-04-13T03:45:02.422Z] Removing intermediate container 61e93ce93ab0 [2022-04-13T03:45:02.422Z] ---> 604257a2c5bf [2022-04-13T03:45:02.422Z] Step 24/25 : LABEL git_sha=49643132f6b9e95e3a0d289ddc01900e940e8eba [2022-04-13T03:45:02.422Z] ---> Running in 41d4d8bd9816 [2022-04-13T03:45:02.697Z] Removing intermediate container 41d4d8bd9816 [2022-04-13T03:45:02.697Z] ---> b26172614da6 [2022-04-13T03:45:02.697Z] Step 25/25 : LABEL version=2.2.0-dev.26 [2022-04-13T03:45:02.697Z] ---> Running in 976c65c48c6d [2022-04-13T03:45:02.970Z] Removing intermediate container 976c65c48c6d [2022-04-13T03:45:02.970Z] ---> 024ad0d383a8 [2022-04-13T03:45:02.970Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T03:45:03.247Z] Successfully built 024ad0d383a8 [2022-04-13T03:45:03.247Z] 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-13T03:45:03.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T03:45:03.675Z] [2022-04-13T03:45:03.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:45:04.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T03:45:04.309Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T03:45:04.309Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T03:45:04.309Z] 04944245beec: Pulling fs layer [2022-04-13T03:45:04.309Z] 699f458cf7ca: Pulling fs layer [2022-04-13T03:45:04.309Z] 765212b225bb: Pulling fs layer [2022-04-13T03:45:04.309Z] f23df028b6ca: Pulling fs layer [2022-04-13T03:45:04.309Z] 765212b225bb: Waiting [2022-04-13T03:45:04.309Z] f23df028b6ca: Waiting [2022-04-13T03:45:04.309Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T03:45:04.309Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T03:45:04.309Z] d65c8cfc05b1: Waiting [2022-04-13T03:45:04.309Z] 2437ff75d9bd: Waiting [2022-04-13T03:45:04.309Z] 04944245beec: Verifying Checksum [2022-04-13T03:45:04.309Z] 04944245beec: Download complete [2022-04-13T03:45:04.309Z] 765212b225bb: Verifying Checksum [2022-04-13T03:45:04.309Z] 765212b225bb: Download complete [2022-04-13T03:45:04.309Z] f23df028b6ca: Verifying Checksum [2022-04-13T03:45:04.309Z] f23df028b6ca: Download complete [2022-04-13T03:45:04.309Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T03:45:04.309Z] d65c8cfc05b1: Download complete [2022-04-13T03:45:04.596Z] 699f458cf7ca: Verifying Checksum [2022-04-13T03:45:04.596Z] 699f458cf7ca: Download complete [2022-04-13T03:45:04.872Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T03:45:04.872Z] 8998bd30e6a1: Download complete [2022-04-13T03:45:07.514Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T03:45:07.514Z] 2437ff75d9bd: Download complete [2022-04-13T03:45:10.319Z] 8998bd30e6a1: Pull complete [2022-04-13T03:45:10.593Z] 04944245beec: Pull complete [2022-04-13T03:45:12.038Z] 699f458cf7ca: Pull complete [2022-04-13T03:45:12.312Z] 765212b225bb: Pull complete [2022-04-13T03:45:13.300Z] f23df028b6ca: Pull complete [2022-04-13T03:45:13.301Z] d65c8cfc05b1: Pull complete [2022-04-13T03:45:28.424Z] 2437ff75d9bd: Pull complete [2022-04-13T03:45:28.424Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T03:45:28.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T03:45:28.424Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T03:45:28.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-20767 does not seem to be running inside a container [2022-04-13T03:45:28.810Z] $ 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/59 -v /w/workspace/device-sdk-go/59:/w/workspace/device-sdk-go/59:rw,z -v /w/workspace/device-sdk-go/59@tmp:/w/workspace/device-sdk-go/59@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-13T03:45:31.745Z] $ docker top 7118be16fcd0ed031980f29bb6d5b6f6a0e60ffb33d8ff8c6d4c5d485f91539b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:45:32.723Z] ---> job-cost.sh [2022-04-13T03:45:32.723Z] lf-activate-venv: SKIPPING [2022-04-13T03:45:32.723Z] INFO: No Stack... [2022-04-13T03:45:33.318Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T03:45:34.297Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T03:45:34.970Z] + + cut -d, -f6 [2022-04-13T03:45:34.970Z] cat /w/workspace/device-sdk-go/59/archives/cost.csv [Pipeline] lock [2022-04-13T03:45:35.045Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-59-stack-cost] [2022-04-13T03:45:35.051Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-59-stack-cost] did not exist. Created. [2022-04-13T03:45:35.051Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T03:45:35.738Z] /w/workspace/device-sdk-go/59@tmp/durable-f7e9503b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T03:45:36.424Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T03:45:36.449Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T03:45:36.521Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T03:45:36.527Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T03:45:36.553Z] $ docker stop --time=1 7118be16fcd0ed031980f29bb6d5b6f6a0e60ffb33d8ff8c6d4c5d485f91539b [2022-04-13T03:45:38.120Z] $ docker rm -f 7118be16fcd0ed031980f29bb6d5b6f6a0e60ffb33d8ff8c6d4c5d485f91539b [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-13T03:45:38.707Z] provisioning config files... [2022-04-13T03:45:38.716Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3859338700290290920tmp [Pipeline] { [Pipeline] sh [2022-04-13T03:45:39.010Z] + set +x [2022-04-13T03:45:39.010Z] + bash -s -- [2022-04-13T03:45:39.010Z] + curl -s https://codecov.io/bash [2022-04-13T03:45:39.010Z] [2022-04-13T03:45:39.010Z] _____ _ [2022-04-13T03:45:39.010Z] / ____| | | [2022-04-13T03:45:39.010Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T03:45:39.010Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T03:45:39.010Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T03:45:39.010Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T03:45:39.010Z] Bash-1.0.6 [2022-04-13T03:45:39.010Z] [2022-04-13T03:45:39.010Z] [2022-04-13T03:45:39.010Z] ==> git version 2.25.1 found [2022-04-13T03:45:39.010Z] ==> 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-13T03:45:39.010Z] Release-Date: 2020-01-08 [2022-04-13T03:45:39.010Z] 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-13T03:45:39.010Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T03:45:39.010Z] ==> Jenkins CI detected. [2022-04-13T03:45:39.010Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-13T03:45:39.010Z] project root: . [2022-04-13T03:45:39.010Z] --> token set from env [2022-04-13T03:45:39.010Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T03:45:39.010Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T03:45:39.010Z] ==> Python coveragepy not found [2022-04-13T03:45:39.010Z] ==> Searching for coverage reports in: [2022-04-13T03:45:39.010Z] + . [2022-04-13T03:45:39.010Z] -> Found 1 reports [2022-04-13T03:45:39.010Z] ==> Detecting git/mercurial file structure [2022-04-13T03:45:39.010Z] ==> Reading reports [2022-04-13T03:45:39.270Z] + ./coverage.out bytes=129245 [2022-04-13T03:45:39.270Z] ==> Appending adjustments [2022-04-13T03:45:39.270Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T03:45:39.529Z] + Found adjustments [2022-04-13T03:45:39.529Z] ==> Gzipping contents [2022-04-13T03:45:39.529Z] 20K /tmp/codecov.swiTQh.gz [2022-04-13T03:45:39.529Z] ==> Uploading reports [2022-04-13T03:45:39.529Z] url: https://codecov.io [2022-04-13T03:45:39.529Z] query: branch=main&commit=49643132f6b9e95e3a0d289ddc01900e940e8eba&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T03:45:39.529Z] -> Pinging Codecov [2022-04-13T03:45:39.529Z] 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=49643132f6b9e95e3a0d289ddc01900e940e8eba&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T03:45:39.789Z] -> Uploading to [2022-04-13T03:45:39.789Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/7E55EF52A471D76F132DFD9A03CDDE97/49643132f6b9e95e3a0d289ddc01900e940e8eba/29370e73-36e8-42d5-923e-eca9955be8cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T034539Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9839eb5019cb42d9107fab4603c6609f0a18e3131e4ea2abf0783bd836ac9a37 [2022-04-13T03:45:39.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T03:45:39.789Z] Dload Upload Total Spent Left Speed [2022-04-13T03:45:40.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16550 0 0 100 16550 0 70425 --:--:-- --:--:-- --:--:-- 70425 [2022-04-13T03:45:40.049Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/49643132f6b9e95e3a0d289ddc01900e940e8eba [Pipeline] } [2022-04-13T03:45:40.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-13T03:45:40.308Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-13T03:45:40.320Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:45:40.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T03:45:40.610Z] [2022-04-13T03:45:40.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:45:40.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T03:45:40.909Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-13T03:45:40.909Z] 188c0c94c7c5: Pulling fs layer [2022-04-13T03:45:40.909Z] 0ef7d3d256c8: Pulling fs layer [2022-04-13T03:45:40.909Z] de9db76c5a1d: Pulling fs layer [2022-04-13T03:45:40.909Z] 0eba1c9be4d2: Pulling fs layer [2022-04-13T03:45:40.909Z] 0d57e429df01: Pulling fs layer [2022-04-13T03:45:40.909Z] 4e4be7b47b0d: Pulling fs layer [2022-04-13T03:45:40.909Z] e1f770b5df2f: Pulling fs layer [2022-04-13T03:45:40.909Z] 85a0685a4137: Pulling fs layer [2022-04-13T03:45:40.909Z] 0eba1c9be4d2: Waiting [2022-04-13T03:45:40.909Z] 0d57e429df01: Waiting [2022-04-13T03:45:40.909Z] 4e4be7b47b0d: Waiting [2022-04-13T03:45:40.909Z] e1f770b5df2f: Waiting [2022-04-13T03:45:40.909Z] 85a0685a4137: Waiting [2022-04-13T03:45:40.909Z] de9db76c5a1d: Verifying Checksum [2022-04-13T03:45:40.909Z] de9db76c5a1d: Download complete [2022-04-13T03:45:40.909Z] 0ef7d3d256c8: Download complete [2022-04-13T03:45:40.909Z] 0d57e429df01: Verifying Checksum [2022-04-13T03:45:40.909Z] 0d57e429df01: Download complete [2022-04-13T03:45:40.909Z] 4e4be7b47b0d: Verifying Checksum [2022-04-13T03:45:40.909Z] 4e4be7b47b0d: Download complete [2022-04-13T03:45:40.909Z] 188c0c94c7c5: Verifying Checksum [2022-04-13T03:45:40.909Z] 188c0c94c7c5: Download complete [2022-04-13T03:45:41.169Z] 188c0c94c7c5: Pull complete [2022-04-13T03:45:41.169Z] e1f770b5df2f: Verifying Checksum [2022-04-13T03:45:41.169Z] e1f770b5df2f: Download complete [2022-04-13T03:45:41.169Z] 0ef7d3d256c8: Pull complete [2022-04-13T03:45:41.429Z] de9db76c5a1d: Pull complete [2022-04-13T03:45:41.689Z] 0eba1c9be4d2: Download complete [2022-04-13T03:45:41.947Z] 85a0685a4137: Download complete [2022-04-13T03:45:45.237Z] 0eba1c9be4d2: Pull complete [2022-04-13T03:45:45.237Z] 0d57e429df01: Pull complete [2022-04-13T03:45:45.237Z] 4e4be7b47b0d: Pull complete [2022-04-13T03:45:45.496Z] e1f770b5df2f: Pull complete [2022-04-13T03:45:48.784Z] 85a0685a4137: Pull complete [2022-04-13T03:45:49.043Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-13T03:45:49.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T03:45:49.043Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-13T03:45:49.106Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:45:49.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-13T03:45:50.789Z] $ docker top 5ce994413aad08d51ddd7216fb607aef6883fc7ddc3f7b9774f23e3205286564 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-13T03:45:50.853Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-13T03:45:51.132Z] + set -o pipefail [2022-04-13T03:45:51.132Z] + snyk monitor '--org=edgex-jenkins' [2022-04-13T03:45:56.411Z] [2022-04-13T03:45:56.411Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-13T03:45:56.411Z] [2022-04-13T03:45:56.411Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/15e4a882-0beb-43a4-8052-5d1da896f73e [2022-04-13T03:45:56.411Z] [2022-04-13T03:45:56.411Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-13T03:45:56.411Z] [2022-04-13T03:45:56.671Z] [Pipeline] } [2022-04-13T03:45:56.700Z] $ docker stop --time=1 5ce994413aad08d51ddd7216fb607aef6883fc7ddc3f7b9774f23e3205286564 [2022-04-13T03:45:58.802Z] $ docker rm -f 5ce994413aad08d51ddd7216fb607aef6883fc7ddc3f7b9774f23e3205286564 [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-13T03:45:59.274Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T03:45:59.288Z] provisioning config files... [2022-04-13T03:45:59.297Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5109531542242587148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:45:59.600Z] --> edgex-publish-swagger.sh [2022-04-13T03:45:59.600Z] === Publish openapi/v2 API === [2022-04-13T03:45:59.600Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-13T03:45:59.600Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-13T03:45:59.600Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T03:45:59.600Z] Dload Upload Total Spent Left Speed [2022-04-13T03:46:00.169Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 321k --:--:-- --:--:-- --:--:-- 319k 100 53282 0 0 100 53282 0 85115 --:--:-- --:--:-- --:--:-- 84979 [2022-04-13T03:46:00.169Z] [2022-04-13T03:46:00.169Z] [Pipeline] } [2022-04-13T03:46:00.177Z] 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-13T03:46:00.662Z] + git log --format=format:%s -1 49643132f6b9e95e3a0d289ddc01900e940e8eba [Pipeline] sh [2022-04-13T03:46:00.954Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T03:46:00.954Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:46:01.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:46:01.258Z] . [Pipeline] withDockerContainer [2022-04-13T03:46:01.328Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:46:01.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T03:46:01.807Z] $ docker top 40d75e3872f1ddf47b05b852c5bf61c176de223e70434d398194c8a6f780a22b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T03:46:01.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T03:46:01.897Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T03:46:02.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T03:46:02.053Z] $ docker exec 40d75e3872f1ddf47b05b852c5bf61c176de223e70434d398194c8a6f780a22b ssh-agent [2022-04-13T03:46:02.153Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfaGDAg/agent.13 [2022-04-13T03:46:02.153Z] SSH_AGENT_PID=19 [2022-04-13T03:46:02.158Z] Running ssh-add (command line suppressed) [2022-04-13T03:46:02.280Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2874314917151055509.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2874314917151055509.key) [2022-04-13T03:46:02.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T03:46:02.569Z] + git semver tag [2022-04-13T03:46:02.569Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T03:46:02.569Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-13T03:46:02.569Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-13T03:46:02.569Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T03:46:02.569Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T03:46:02.569Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T03:46:02.569Z] # $SEMVER_BRANCH = main [2022-04-13T03:46:02.569Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-13T03:46:02.569Z] # 49643132f6b9e95e3a0d289ddc01900e940e8eba HEAD [2022-04-13T03:46:02.569Z] # -> Force: false [2022-04-13T03:46:02.569Z] # 732b13a9225e88a8af36b8e3cbb963bb43cb1d7f refs/tags/v2.2.0-dev.26 [Pipeline] } [2022-04-13T03:46:02.596Z] $ docker exec --env ******** --env ******** 40d75e3872f1ddf47b05b852c5bf61c176de223e70434d398194c8a6f780a22b ssh-agent -k [2022-04-13T03:46:02.702Z] unset SSH_AUTH_SOCK; [2022-04-13T03:46:02.703Z] unset SSH_AGENT_PID; [2022-04-13T03:46:02.703Z] echo Agent pid 19 killed; [2022-04-13T03:46:02.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T03:46:03.010Z] + git semver [Pipeline] } [2022-04-13T03:46:03.040Z] $ docker stop --time=1 40d75e3872f1ddf47b05b852c5bf61c176de223e70434d398194c8a6f780a22b [2022-04-13T03:46:04.355Z] $ docker rm -f 40d75e3872f1ddf47b05b852c5bf61c176de223e70434d398194c8a6f780a22b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:46:04.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T03:46:04.730Z] [2022-04-13T03:46:04.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:46:05.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T03:46:05.030Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-13T03:46:05.030Z] ab5ef0e58194: Pulling fs layer [2022-04-13T03:46:05.030Z] 9712f1f96733: Pulling fs layer [2022-04-13T03:46:05.030Z] 63f879dbbcfc: Pulling fs layer [2022-04-13T03:46:05.030Z] 0d9ebad4ef96: Pulling fs layer [2022-04-13T03:46:05.030Z] e9a5061849ea: Pulling fs layer [2022-04-13T03:46:05.030Z] d747dcd14b5f: Pulling fs layer [2022-04-13T03:46:05.030Z] 2de7ff778b66: Pulling fs layer [2022-04-13T03:46:05.030Z] 0d9ebad4ef96: Waiting [2022-04-13T03:46:05.030Z] e9a5061849ea: Waiting [2022-04-13T03:46:05.030Z] d747dcd14b5f: Waiting [2022-04-13T03:46:05.030Z] 2de7ff778b66: Waiting [2022-04-13T03:46:05.030Z] 9712f1f96733: Verifying Checksum [2022-04-13T03:46:05.030Z] 9712f1f96733: Download complete [2022-04-13T03:46:05.290Z] 63f879dbbcfc: Download complete [2022-04-13T03:46:05.290Z] e9a5061849ea: Download complete [2022-04-13T03:46:05.549Z] d747dcd14b5f: Verifying Checksum [2022-04-13T03:46:05.549Z] d747dcd14b5f: Download complete [2022-04-13T03:46:05.549Z] 0d9ebad4ef96: Verifying Checksum [2022-04-13T03:46:05.549Z] 0d9ebad4ef96: Download complete [2022-04-13T03:46:05.549Z] ab5ef0e58194: Verifying Checksum [2022-04-13T03:46:05.549Z] ab5ef0e58194: Download complete [2022-04-13T03:46:05.549Z] 2de7ff778b66: Verifying Checksum [2022-04-13T03:46:05.549Z] 2de7ff778b66: Download complete [2022-04-13T03:46:08.132Z] ab5ef0e58194: Pull complete [2022-04-13T03:46:08.398Z] 9712f1f96733: Pull complete [2022-04-13T03:46:08.966Z] 63f879dbbcfc: Pull complete [2022-04-13T03:46:13.156Z] 0d9ebad4ef96: Pull complete [2022-04-13T03:46:13.156Z] e9a5061849ea: Pull complete [2022-04-13T03:46:13.156Z] d747dcd14b5f: Pull complete [2022-04-13T03:46:14.093Z] 2de7ff778b66: Pull complete [2022-04-13T03:46:14.093Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-13T03:46:14.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T03:46:14.093Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-13T03:46:14.157Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:46:14.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-13T03:46:16.363Z] $ docker top 3fc5bf4983bb0075c641c95a13fc76060749ba917fed1878511f45d062bc2498 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-13T03:46:16.428Z] provisioning config files... [2022-04-13T03:46:16.435Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8867812292651957909tmp [2022-04-13T03:46:16.446Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5784621272796656009tmp [2022-04-13T03:46:16.455Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2589980647804992275tmp [Pipeline] { [Pipeline] echo [2022-04-13T03:46:16.472Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:16.756Z] ---> sigul-configuration.sh [2022-04-13T03:46:16.756Z] gpg: directory `/root/.gnupg' created [2022-04-13T03:46:16.756Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-13T03:46:16.756Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-13T03:46:16.756Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-13T03:46:16.756Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-13T03:46:16.756Z] gpg: CAST5 encrypted data [2022-04-13T03:46:16.756Z] gpg: encrypted with 1 passphrase [2022-04-13T03:46:16.756Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-13T03:46:17.043Z] + mkdir /home/jenkins [2022-04-13T03:46:17.043Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-13T03:46:17.328Z] + 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-13T03:46:17.338Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:17.623Z] ---> sigul-install.sh [2022-04-13T03:46:17.624Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-13T03:46:17.912Z] + git tag --list [2022-04-13T03:46:17.912Z] 0.7.1 [2022-04-13T03:46:17.912Z] delhi-tag [2022-04-13T03:46:17.912Z] v1.0.0 [2022-04-13T03:46:17.912Z] v1.1.0 [2022-04-13T03:46:17.912Z] v1.1.1 [2022-04-13T03:46:17.912Z] v1.1.2 [2022-04-13T03:46:17.912Z] v1.2.0 [2022-04-13T03:46:17.912Z] v1.2.1 [2022-04-13T03:46:17.912Z] v1.2.2 [2022-04-13T03:46:17.912Z] v1.2.3 [2022-04-13T03:46:17.912Z] v1.3.0 [2022-04-13T03:46:17.912Z] v1.4.0 [2022-04-13T03:46:17.912Z] v2.0.0 [2022-04-13T03:46:17.912Z] v2.0.1-dev.1 [2022-04-13T03:46:17.912Z] v2.0.1-dev.10 [2022-04-13T03:46:17.912Z] v2.0.1-dev.11 [2022-04-13T03:46:17.912Z] v2.0.1-dev.12 [2022-04-13T03:46:17.912Z] v2.0.1-dev.13 [2022-04-13T03:46:17.912Z] v2.0.1-dev.14 [2022-04-13T03:46:17.912Z] v2.0.1-dev.15 [2022-04-13T03:46:17.912Z] v2.0.1-dev.16 [2022-04-13T03:46:17.912Z] v2.0.1-dev.17 [2022-04-13T03:46:17.912Z] v2.0.1-dev.18 [2022-04-13T03:46:17.912Z] v2.0.1-dev.19 [2022-04-13T03:46:17.912Z] v2.0.1-dev.2 [2022-04-13T03:46:17.912Z] v2.0.1-dev.20 [2022-04-13T03:46:17.912Z] v2.0.1-dev.21 [2022-04-13T03:46:17.912Z] v2.0.1-dev.22 [2022-04-13T03:46:17.912Z] v2.0.1-dev.23 [2022-04-13T03:46:17.912Z] v2.0.1-dev.24 [2022-04-13T03:46:17.912Z] v2.0.1-dev.25 [2022-04-13T03:46:17.912Z] v2.0.1-dev.26 [2022-04-13T03:46:17.912Z] v2.0.1-dev.27 [2022-04-13T03:46:17.912Z] v2.0.1-dev.28 [2022-04-13T03:46:17.912Z] v2.0.1-dev.29 [2022-04-13T03:46:17.912Z] v2.0.1-dev.3 [2022-04-13T03:46:17.912Z] v2.0.1-dev.30 [2022-04-13T03:46:17.912Z] v2.0.1-dev.31 [2022-04-13T03:46:17.912Z] v2.0.1-dev.32 [2022-04-13T03:46:17.912Z] v2.0.1-dev.33 [2022-04-13T03:46:17.912Z] v2.0.1-dev.4 [2022-04-13T03:46:17.912Z] v2.0.1-dev.5 [2022-04-13T03:46:17.912Z] v2.0.1-dev.6 [2022-04-13T03:46:17.912Z] v2.0.1-dev.7 [2022-04-13T03:46:17.912Z] v2.0.1-dev.8 [2022-04-13T03:46:17.912Z] v2.0.1-dev.9 [2022-04-13T03:46:17.912Z] v2.1.0 [2022-04-13T03:46:17.912Z] v2.1.1-dev.1 [2022-04-13T03:46:17.912Z] v2.2.0-dev.1 [2022-04-13T03:46:17.912Z] v2.2.0-dev.10 [2022-04-13T03:46:17.912Z] v2.2.0-dev.11 [2022-04-13T03:46:17.912Z] v2.2.0-dev.12 [2022-04-13T03:46:17.912Z] v2.2.0-dev.13 [2022-04-13T03:46:17.912Z] v2.2.0-dev.14 [2022-04-13T03:46:17.912Z] v2.2.0-dev.15 [2022-04-13T03:46:17.912Z] v2.2.0-dev.16 [2022-04-13T03:46:17.912Z] v2.2.0-dev.17 [2022-04-13T03:46:17.912Z] v2.2.0-dev.18 [2022-04-13T03:46:17.912Z] v2.2.0-dev.19 [2022-04-13T03:46:17.912Z] v2.2.0-dev.2 [2022-04-13T03:46:17.912Z] v2.2.0-dev.20 [2022-04-13T03:46:17.912Z] v2.2.0-dev.21 [2022-04-13T03:46:17.912Z] v2.2.0-dev.22 [2022-04-13T03:46:17.912Z] v2.2.0-dev.23 [2022-04-13T03:46:17.912Z] v2.2.0-dev.24 [2022-04-13T03:46:17.912Z] v2.2.0-dev.25 [2022-04-13T03:46:17.912Z] v2.2.0-dev.26 [2022-04-13T03:46:17.912Z] v2.2.0-dev.3 [2022-04-13T03:46:17.912Z] v2.2.0-dev.4 [2022-04-13T03:46:17.912Z] v2.2.0-dev.5 [2022-04-13T03:46:17.912Z] v2.2.0-dev.6 [2022-04-13T03:46:17.912Z] v2.2.0-dev.7 [2022-04-13T03:46:17.912Z] v2.2.0-dev.8 [2022-04-13T03:46:17.912Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-13T03:46:18.197Z] + lftools sign git-tag v2.2.0-dev.26 [2022-04-13T03:46:18.766Z] Signing Git tag with Sigul... [2022-04-13T03:46:18.766Z] Signing v2.2.0-dev.26 [Pipeline] echo [2022-04-13T03:46:19.036Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:19.324Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-13T03:46:19.331Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-13T03:46:19.365Z] $ docker stop --time=1 3fc5bf4983bb0075c641c95a13fc76060749ba917fed1878511f45d062bc2498 [2022-04-13T03:46:20.669Z] $ docker rm -f 3fc5bf4983bb0075c641c95a13fc76060749ba917fed1878511f45d062bc2498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-13T03:46:21.088Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T03:46:21.088Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:46:21.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:46:21.379Z] . [Pipeline] withDockerContainer [2022-04-13T03:46:21.447Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:46:21.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T03:46:21.887Z] $ docker top 6da5c002ff2a9661ff197ade2467a7b1cb77e3fbdf7e57d9b4b55460c75c4998 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T03:46:21.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T03:46:21.962Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T03:46:22.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T03:46:22.108Z] $ docker exec 6da5c002ff2a9661ff197ade2467a7b1cb77e3fbdf7e57d9b4b55460c75c4998 ssh-agent [2022-04-13T03:46:22.220Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCJPHdH/agent.15 [2022-04-13T03:46:22.220Z] SSH_AGENT_PID=22 [2022-04-13T03:46:22.224Z] Running ssh-add (command line suppressed) [2022-04-13T03:46:22.360Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4279043793486330152.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4279043793486330152.key) [2022-04-13T03:46:22.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T03:46:22.648Z] + git semver bump pre [2022-04-13T03:46:22.648Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T03:46:22.648Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-13T03:46:22.648Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-13T03:46:22.648Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T03:46:22.648Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T03:46:22.648Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T03:46:22.648Z] # $SEMVER_BRANCH = main [2022-04-13T03:46:22.648Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-13T03:46:22.648Z] 2.2.0-dev.27 [Pipeline] } [2022-04-13T03:46:22.676Z] $ docker exec --env ******** --env ******** 6da5c002ff2a9661ff197ade2467a7b1cb77e3fbdf7e57d9b4b55460c75c4998 ssh-agent -k [2022-04-13T03:46:22.778Z] unset SSH_AUTH_SOCK; [2022-04-13T03:46:22.778Z] unset SSH_AGENT_PID; [2022-04-13T03:46:22.778Z] echo Agent pid 22 killed; [2022-04-13T03:46:22.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T03:46:23.085Z] + git semver [Pipeline] } [2022-04-13T03:46:23.115Z] $ docker stop --time=1 6da5c002ff2a9661ff197ade2467a7b1cb77e3fbdf7e57d9b4b55460c75c4998 [2022-04-13T03:46:24.422Z] $ docker rm -f 6da5c002ff2a9661ff197ade2467a7b1cb77e3fbdf7e57d9b4b55460c75c4998 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T03:46:24.763Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T03:46:24.763Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:46:25.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T03:46:25.059Z] . [Pipeline] withDockerContainer [2022-04-13T03:46:25.120Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:46:25.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T03:46:25.546Z] $ docker top 87c9b96f6b22b3368839e0d2aa1740524286ca377f7055aea27fd51e2b616401 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T03:46:25.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T03:46:25.618Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T03:46:25.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T03:46:25.756Z] $ docker exec 87c9b96f6b22b3368839e0d2aa1740524286ca377f7055aea27fd51e2b616401 ssh-agent [2022-04-13T03:46:25.852Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAKAdfi/agent.13 [2022-04-13T03:46:25.852Z] SSH_AGENT_PID=19 [2022-04-13T03:46:25.857Z] Running ssh-add (command line suppressed) [2022-04-13T03:46:25.986Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7369200398650142355.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7369200398650142355.key) [2022-04-13T03:46:25.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T03:46:26.273Z] + git semver push [2022-04-13T03:46:26.273Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T03:46:26.273Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-13T03:46:26.273Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-13T03:46:26.273Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T03:46:26.273Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T03:46:26.273Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T03:46:26.273Z] # $SEMVER_BRANCH = main [2022-04-13T03:46:26.273Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-13T03:46:28.208Z] $ docker exec --env ******** --env ******** 87c9b96f6b22b3368839e0d2aa1740524286ca377f7055aea27fd51e2b616401 ssh-agent -k [2022-04-13T03:46:28.315Z] unset SSH_AUTH_SOCK; [2022-04-13T03:46:28.316Z] unset SSH_AGENT_PID; [2022-04-13T03:46:28.316Z] echo Agent pid 19 killed; [2022-04-13T03:46:28.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T03:46:28.623Z] + git semver [Pipeline] } [2022-04-13T03:46:28.652Z] $ docker stop --time=1 87c9b96f6b22b3368839e0d2aa1740524286ca377f7055aea27fd51e2b616401 [2022-04-13T03:46:29.949Z] $ docker rm -f 87c9b96f6b22b3368839e0d2aa1740524286ca377f7055aea27fd51e2b616401 [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-13T03:46:30.505Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-13T03:46:30.505Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-13T03:46:30.505Z] total 16 [2022-04-13T03:46:30.505Z] drwxr-xr-x 3 root root 4096 Apr 13 03:34 . [2022-04-13T03:46:30.505Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 03:46 .. [2022-04-13T03:46:30.505Z] drwxr-xr-x 2 root root 4096 Apr 13 03:34 cost [2022-04-13T03:46:30.505Z] -rw-r--r-- 1 root root 83 Apr 13 03:34 cost.csv [2022-04-13T03:46:30.505Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-13T03:46:30.505Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-13T03:46:30.505Z] total 16 [2022-04-13T03:46:30.505Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 03:34 . [2022-04-13T03:46:30.505Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 03:46 .. [2022-04-13T03:46:30.505Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 03:34 cost [2022-04-13T03:46:30.505Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 13 03:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:30.795Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:31.710Z] ---> package-listing.sh [2022-04-13T03:46:31.710Z] ++ facter osfamily [2022-04-13T03:46:31.710Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T03:46:31.970Z] + OS_FAMILY=debian [2022-04-13T03:46:31.970Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-13T03:46:31.970Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T03:46:31.970Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T03:46:31.970Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T03:46:31.970Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T03:46:31.970Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-13T03:46:31.970Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T03:46:31.970Z] + case "${OS_FAMILY}" in [2022-04-13T03:46:31.970Z] + dpkg -l [2022-04-13T03:46:31.970Z] + grep '^ii' [2022-04-13T03:46:31.970Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T03:46:31.970Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T03:46:31.970Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T03:46:31.970Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-13T03:46:31.970Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-13T03:46:31.970Z] + 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-13T03:46:31.983Z] 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-13T03:46:32.273Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T03:46:32.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T03:46:32.839Z] . [Pipeline] withDockerContainer [2022-04-13T03:46:32.908Z] prd-ubuntu20.04-docker-8c-8g-20763 does not seem to be running inside a container [2022-04-13T03:46:32.956Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T03:46:33.202Z] $ docker top 049549833e4f712e8b72b238892d95bf0dd2a65acb469f426fd4e43c620f4a89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T03:46:33.547Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T03:46:33.836Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T03:46:34.130Z] + ls /var/log/sa-host [2022-04-13T03:46:34.130Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T03:46:34.214Z] provisioning config files... [2022-04-13T03:46:34.223Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1550790461956402959tmp [Pipeline] { [Pipeline] echo [2022-04-13T03:46:34.235Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:34.523Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T03:46:34.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:34.856Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T03:46:34.865Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:35.151Z] ---> sudo-logs.sh [2022-04-13T03:46:35.151Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T03:46:35.175Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:35.461Z] ---> job-cost.sh [2022-04-13T03:46:35.461Z] lf-activate-venv: SKIPPING [2022-04-13T03:46:35.461Z] DEBUG: total: 0.2199999988079071 [2022-04-13T03:46:35.461Z] INFO: Retrieving Stack Cost... [2022-04-13T03:46:35.721Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T03:46:36.290Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T03:46:36.305Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T03:46:36.589Z] ---> logs-deploy.sh [2022-04-13T03:46:36.589Z] lf-activate-venv: SKIPPING [2022-04-13T03:46:36.589Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/59 [2022-04-13T03:46:36.589Z] INFO: archiving workspace using pattern(s): [2022-04-13T03:46:37.527Z] Archives upload complete. [2022-04-13T03:46:37.527Z] INFO: archiving logs to Nexus