Started by upstream project "edgexfoundry/cd-management/release" build number 93 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f64ab83298cb604fe88218673904389f4010661 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-ssh3818602808311108054.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh11535784810070233950.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh5978956347696586716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh10286025744889494650.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-ssh15176250065124061076.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 Running on prd-ubuntu20.04-docker-8c-8g-47792 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 4f64ab83298cb604fe88218673904389f4010661 (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 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 Commit message: "Merge pull request #1156 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T17:00:02.385Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T17:00:02.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T17:00:02.458Z] ========================================================= [2022-05-10T17:00:02.458Z] EdgeX Global Pipelines Version Info [2022-05-10T17:00:02.458Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:00:03.575Z] ------------------- [2022-05-10T17:00:03.575Z] stable info: [2022-05-10T17:00:03.575Z] ------------------- [2022-05-10T17:00:03.575Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T17:00:03.575Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T17:00:03.575Z] Message: update stable to v1.0.227 [2022-05-10T17:00:03.837Z] ------------------- [2022-05-10T17:00:03.837Z] experimental info: [2022-05-10T17:00:03.837Z] ------------------- [2022-05-10T17:00:03.837Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T17:00:03.837Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T17:00:03.837Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T17:00:03.972Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-10T17:00:03.986Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-10T17:00:04.001Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T17:00:04.013Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T17:00:04.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T17:00:04.036Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T17:00:04.049Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T17:00:04.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-10T17:00:04.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T17:00:04.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T17:00:04.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T17:00:04.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-10T17:00:04.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T17:00:04.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T17:00:04.154Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T17:00:04.166Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T17:00:04.178Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T17:00:04.190Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T17:00:04.211Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T17:00:04.224Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T17:00:04.236Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-10T17:00:04.249Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-10T17:00:04.260Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T17:00:04.273Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T17:00:04.285Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T17:00:04.296Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T17:00:04.309Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T17:00:04.321Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T17:00:04.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T17:00:04.351Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] echo [2022-05-10T17:00:04.364Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f64ab8 [Pipeline] echo [2022-05-10T17:00:04.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:00:04.424Z] provisioning config files... [2022-05-10T17:00:04.439Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6414552328208941726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:00:04.747Z] ---> docker-login.sh [2022-05-10T17:00:04.747Z] nexus3.edgexfoundry.org:10001 [2022-05-10T17:00:05.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:05.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:05.008Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:05.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:05.008Z] [2022-05-10T17:00:05.008Z] Login Succeeded [2022-05-10T17:00:05.008Z] nexus3.edgexfoundry.org:10002 [2022-05-10T17:00:05.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:05.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:05.270Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:05.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:05.270Z] [2022-05-10T17:00:05.270Z] Login Succeeded [2022-05-10T17:00:05.270Z] nexus3.edgexfoundry.org:10003 [2022-05-10T17:00:05.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:05.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:05.270Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:05.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:05.270Z] [2022-05-10T17:00:05.270Z] Login Succeeded [2022-05-10T17:00:05.270Z] nexus3.edgexfoundry.org:10004 [2022-05-10T17:00:05.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:05.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:05.532Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:05.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:05.532Z] [2022-05-10T17:00:05.532Z] Login Succeeded [2022-05-10T17:00:05.532Z] docker.io [2022-05-10T17:00:05.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:06.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:06.105Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:06.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:06.105Z] [2022-05-10T17:00:06.105Z] Login Succeeded [2022-05-10T17:00:06.105Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T17:00:06.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T17:00:06.497Z] + git rev-list -1 --merges 4f64ab83298cb604fe88218673904389f4010661~1..4f64ab83298cb604fe88218673904389f4010661 [Pipeline] echo [2022-05-10T17:00:06.512Z] -----------> git rev-list -1 --merges 4f64ab83298cb604fe88218673904389f4010661~1..4f64ab83298cb604fe88218673904389f4010661 4f64ab83298cb604fe88218673904389f4010661 [2022-05-10T17:00:06.512Z] 4f64ab83298cb604fe88218673904389f4010661 [false] [Pipeline] sh [2022-05-10T17:00:06.803Z] + git log --format=format:%s -1 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] echo [2022-05-10T17:00:06.819Z] ========================================================= [2022-05-10T17:00:06.819Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-05-10T17:00:06.819Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T17:00:07.156Z] + git log --format=format:%s -1 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] echo [2022-05-10T17:00:07.169Z] [semverPrep] GIT_COMMIT: 4f64ab83298cb604fe88218673904389f4010661, Commit Message: Merge pull request #1156 from jpwhitemn/kamakura-rls-notes [Pipeline] echo [2022-05-10T17:00:07.179Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T17:00:07.570Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T17:00:07.570Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T17:00:07.570Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T17:00:07.570Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T17:00:07.570Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2022-05-10T17:00:07.570Z] /etc/ssh/ssh_known_hosts [2022-05-10T17:00:07.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:00:07.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:00:07.912Z] [2022-05-10T17:00:07.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:00:08.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:00:08.219Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T17:00:08.219Z] 1fe172e4850f: Pulling fs layer [2022-05-10T17:00:08.219Z] caf521ccaac6: Pulling fs layer [2022-05-10T17:00:08.219Z] 3ead6fa29328: Pulling fs layer [2022-05-10T17:00:08.219Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T17:00:08.219Z] a8d5f1318db7: Pulling fs layer [2022-05-10T17:00:08.219Z] c427282e49a2: Pulling fs layer [2022-05-10T17:00:08.219Z] 1827001aaf11: Pulling fs layer [2022-05-10T17:00:08.219Z] 0714d37db230: Pulling fs layer [2022-05-10T17:00:08.219Z] ac28cf19c067: Pulling fs layer [2022-05-10T17:00:08.219Z] ca983d60f3e2: Pulling fs layer [2022-05-10T17:00:08.219Z] 9f894cec8388: Pulling fs layer [2022-05-10T17:00:08.219Z] 5c2a1cbceb83: Waiting [2022-05-10T17:00:08.219Z] a8d5f1318db7: Waiting [2022-05-10T17:00:08.219Z] c427282e49a2: Waiting [2022-05-10T17:00:08.219Z] ca983d60f3e2: Waiting [2022-05-10T17:00:08.219Z] 1827001aaf11: Waiting [2022-05-10T17:00:08.219Z] 9f894cec8388: Waiting [2022-05-10T17:00:08.219Z] 0714d37db230: Waiting [2022-05-10T17:00:08.219Z] ac28cf19c067: Waiting [2022-05-10T17:00:08.219Z] caf521ccaac6: Verifying Checksum [2022-05-10T17:00:08.219Z] caf521ccaac6: Download complete [2022-05-10T17:00:08.219Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T17:00:08.219Z] 5c2a1cbceb83: Download complete [2022-05-10T17:00:08.219Z] 3ead6fa29328: Verifying Checksum [2022-05-10T17:00:08.219Z] 3ead6fa29328: Download complete [2022-05-10T17:00:08.219Z] a8d5f1318db7: Verifying Checksum [2022-05-10T17:00:08.219Z] a8d5f1318db7: Download complete [2022-05-10T17:00:08.479Z] c427282e49a2: Download complete [2022-05-10T17:00:08.479Z] 0714d37db230: Verifying Checksum [2022-05-10T17:00:08.479Z] 0714d37db230: Download complete [2022-05-10T17:00:08.479Z] ac28cf19c067: Verifying Checksum [2022-05-10T17:00:08.479Z] ac28cf19c067: Download complete [2022-05-10T17:00:08.479Z] ca983d60f3e2: Verifying Checksum [2022-05-10T17:00:08.479Z] ca983d60f3e2: Download complete [2022-05-10T17:00:08.479Z] 9f894cec8388: Download complete [2022-05-10T17:00:08.479Z] 1fe172e4850f: Download complete [2022-05-10T17:00:08.740Z] 1827001aaf11: Verifying Checksum [2022-05-10T17:00:08.740Z] 1827001aaf11: Download complete [2022-05-10T17:00:09.680Z] 1fe172e4850f: Pull complete [2022-05-10T17:00:09.680Z] caf521ccaac6: Pull complete [2022-05-10T17:00:10.252Z] 3ead6fa29328: Pull complete [2022-05-10T17:00:10.252Z] 5c2a1cbceb83: Pull complete [2022-05-10T17:00:10.512Z] a8d5f1318db7: Pull complete [2022-05-10T17:00:10.512Z] c427282e49a2: Pull complete [2022-05-10T17:00:12.425Z] 1827001aaf11: Pull complete [2022-05-10T17:00:12.425Z] 0714d37db230: Pull complete [2022-05-10T17:00:12.687Z] ac28cf19c067: Pull complete [2022-05-10T17:00:12.687Z] ca983d60f3e2: Pull complete [2022-05-10T17:00:12.687Z] 9f894cec8388: Pull complete [2022-05-10T17:00:12.687Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T17:00:12.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:00:12.687Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T17:00:12.787Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:00:12.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T17:00:14.206Z] $ docker top a63a614ff401fd652cfe08e339ef0ae83094ad3c14a39432ffe8655ca96e9193 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T17:00:14.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T17:00:14.294Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T17:00:14.420Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T17:00:14.442Z] $ docker exec a63a614ff401fd652cfe08e339ef0ae83094ad3c14a39432ffe8655ca96e9193 ssh-agent [2022-05-10T17:00:14.553Z] SSH_AUTH_SOCK=/tmp/ssh-YpCDAaoQZ4uz/agent.32 [2022-05-10T17:00:14.553Z] SSH_AGENT_PID=38 [2022-05-10T17:00:14.559Z] Running ssh-add (command line suppressed) [2022-05-10T17:00:14.689Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8340766491994758861.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8340766491994758861.key) [2022-05-10T17:00:14.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T17:00:14.972Z] + git tag --points-at 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] } [2022-05-10T17:00:15.003Z] $ docker exec --env ******** --env ******** a63a614ff401fd652cfe08e339ef0ae83094ad3c14a39432ffe8655ca96e9193 ssh-agent -k [2022-05-10T17:00:15.101Z] unset SSH_AUTH_SOCK; [2022-05-10T17:00:15.102Z] unset SSH_AGENT_PID; [2022-05-10T17:00:15.102Z] echo Agent pid 38 killed; [2022-05-10T17:00:15.093Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-05-10T17:00:15.122Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.40' [Pipeline] sshagent [2022-05-10T17:00:15.137Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T17:00:15.137Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T17:00:15.268Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T17:00:15.290Z] $ docker exec a63a614ff401fd652cfe08e339ef0ae83094ad3c14a39432ffe8655ca96e9193 ssh-agent [2022-05-10T17:00:15.381Z] SSH_AUTH_SOCK=/tmp/ssh-qmu731BGj9X4/agent.75 [2022-05-10T17:00:15.381Z] SSH_AGENT_PID=81 [2022-05-10T17:00:15.386Z] Running ssh-add (command line suppressed) [2022-05-10T17:00:15.513Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6025070352372669553.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6025070352372669553.key) [2022-05-10T17:00:15.507Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T17:00:15.796Z] + git semver init [2022-05-10T17:00:16.058Z] 2022-05-10 17:00:15,997 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T17:00:16.058Z] 2022-05-10 17:00:15,998 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-05-10T17:00:16.058Z] 2022-05-10 17:00:15,999 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-05-10T17:00:16.058Z] 2022-05-10 17:00:15,999 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T17:00:17.027Z] 2022-05-10 17:00:16,877 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-05-10T17:00:17.027Z] 2022-05-10 17:00:16,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-05-10T17:00:17.027Z] 2022-05-10 17:00:16,877 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T17:00:17.027Z] 2022-05-10 17:00:16,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T17:00:17.027Z] 2.2.0 [Pipeline] } [2022-05-10T17:00:17.060Z] $ docker exec --env ******** --env ******** a63a614ff401fd652cfe08e339ef0ae83094ad3c14a39432ffe8655ca96e9193 ssh-agent -k [2022-05-10T17:00:17.176Z] unset SSH_AUTH_SOCK; [2022-05-10T17:00:17.176Z] unset SSH_AGENT_PID; [2022-05-10T17:00:17.176Z] echo Agent pid 81 killed; [2022-05-10T17:00:17.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T17:00:17.477Z] + git semver [Pipeline] } [2022-05-10T17:00:17.772Z] $ docker stop --time=1 a63a614ff401fd652cfe08e339ef0ae83094ad3c14a39432ffe8655ca96e9193 [2022-05-10T17:00:19.071Z] $ docker rm -f a63a614ff401fd652cfe08e339ef0ae83094ad3c14a39432ffe8655ca96e9193 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T17:00:19.400Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T17:00:19.632Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T17:00:19.636Z] [edgeXSemver]: initialized semver on version 2.2.0 [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] sh [2022-05-10T17:00:20.034Z] + git checkout 4f64ab83298cb604fe88218673904389f4010661 [2022-05-10T17:00:20.034Z] HEAD is now at 4f64ab8 Merge pull request #1156 from jpwhitemn/kamakura-rls-notes [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:00:20.062Z] provisioning config files... [2022-05-10T17:00:20.073Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config383393039148508785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:00:20.379Z] ---> docker-login.sh [2022-05-10T17:00:20.379Z] nexus3.edgexfoundry.org:10001 [2022-05-10T17:00:20.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:20.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:20.379Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:20.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:20.379Z] [2022-05-10T17:00:20.379Z] Login Succeeded [2022-05-10T17:00:20.379Z] nexus3.edgexfoundry.org:10002 [2022-05-10T17:00:20.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:20.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:20.641Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:20.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:20.641Z] [2022-05-10T17:00:20.641Z] Login Succeeded [2022-05-10T17:00:20.641Z] nexus3.edgexfoundry.org:10003 [2022-05-10T17:00:20.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:20.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:20.641Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:20.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:20.641Z] [2022-05-10T17:00:20.641Z] Login Succeeded [2022-05-10T17:00:20.641Z] nexus3.edgexfoundry.org:10004 [2022-05-10T17:00:20.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:20.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:20.902Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:20.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:20.902Z] [2022-05-10T17:00:20.902Z] Login Succeeded [2022-05-10T17:00:20.902Z] docker.io [2022-05-10T17:00:20.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:00:21.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:00:21.165Z] Configure a credential helper to remove this warning. See [2022-05-10T17:00:21.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:00:21.165Z] [2022-05-10T17:00:21.165Z] Login Succeeded [2022-05-10T17:00:21.165Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T17:00:21.175Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T17:00:21.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T17:00:21.264Z] ========================================================= [2022-05-10T17:00:21.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T17:00:21.264Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:00:21.582Z] + 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-05-10T17:00:21.582Z] Sending build context to Docker daemon 9.739MB [2022-05-10T17:00:21.582Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T17:00:21.582Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T17:00:21.582Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T17:00:21.582Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T17:00:21.582Z] 666ba61612fd: Pulling fs layer [2022-05-10T17:00:21.582Z] 8ed8ca486205: Pulling fs layer [2022-05-10T17:00:21.582Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T17:00:21.582Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T17:00:21.582Z] ca2b28591e48: Pulling fs layer [2022-05-10T17:00:21.582Z] a51346096db8: Pulling fs layer [2022-05-10T17:00:21.582Z] daebc70d1ce1: Pulling fs layer [2022-05-10T17:00:21.582Z] 0e18a0eac166: Pulling fs layer [2022-05-10T17:00:21.582Z] ca2b28591e48: Waiting [2022-05-10T17:00:21.582Z] a51346096db8: Waiting [2022-05-10T17:00:21.582Z] daebc70d1ce1: Waiting [2022-05-10T17:00:21.582Z] 4fe6c5a15a65: Waiting [2022-05-10T17:00:21.582Z] 22a0e8bec74d: Waiting [2022-05-10T17:00:21.582Z] 0e18a0eac166: Waiting [2022-05-10T17:00:21.844Z] 8ed8ca486205: Verifying Checksum [2022-05-10T17:00:21.844Z] 8ed8ca486205: Download complete [2022-05-10T17:00:21.844Z] 666ba61612fd: Verifying Checksum [2022-05-10T17:00:21.844Z] 666ba61612fd: Download complete [2022-05-10T17:00:21.844Z] 22a0e8bec74d: Download complete [2022-05-10T17:00:21.844Z] ca2b28591e48: Verifying Checksum [2022-05-10T17:00:21.844Z] ca2b28591e48: Download complete [2022-05-10T17:00:21.844Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T17:00:21.844Z] a51346096db8: Verifying Checksum [2022-05-10T17:00:21.844Z] a51346096db8: Download complete [2022-05-10T17:00:21.844Z] daebc70d1ce1: Verifying Checksum [2022-05-10T17:00:21.844Z] daebc70d1ce1: Download complete [2022-05-10T17:00:21.844Z] 59bf1c3509f3: Pull complete [2022-05-10T17:00:22.104Z] 666ba61612fd: Pull complete [2022-05-10T17:00:22.104Z] 8ed8ca486205: Pull complete [2022-05-10T17:00:22.364Z] 0e18a0eac166: Verifying Checksum [2022-05-10T17:00:22.365Z] 0e18a0eac166: Download complete [2022-05-10T17:00:22.625Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T17:00:22.625Z] 4fe6c5a15a65: Download complete [2022-05-10T17:00:25.919Z] 4fe6c5a15a65: Pull complete [2022-05-10T17:00:25.919Z] 22a0e8bec74d: Pull complete [2022-05-10T17:00:26.180Z] ca2b28591e48: Pull complete [2022-05-10T17:00:26.180Z] a51346096db8: Pull complete [2022-05-10T17:00:26.180Z] daebc70d1ce1: Pull complete [2022-05-10T17:00:28.087Z] 0e18a0eac166: Pull complete [2022-05-10T17:00:28.087Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T17:00:28.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T17:00:28.087Z] ---> f018257e8ee9 [2022-05-10T17:00:28.087Z] Step 3/11 : ARG MAKE=make build [2022-05-10T17:00:30.001Z] ---> Running in 9c8a81b8d702 [2022-05-10T17:00:30.001Z] Removing intermediate container 9c8a81b8d702 [2022-05-10T17:00:30.001Z] ---> ef68b2802ed9 [2022-05-10T17:00:30.001Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T17:00:30.001Z] ---> Running in 3e293c0c248b [2022-05-10T17:00:30.002Z] Removing intermediate container 3e293c0c248b [2022-05-10T17:00:30.002Z] ---> 51ef3d82f3ce [2022-05-10T17:00:30.002Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T17:00:30.002Z] ---> Running in d941ce6eb4d4 [2022-05-10T17:00:30.002Z] Removing intermediate container d941ce6eb4d4 [2022-05-10T17:00:30.002Z] ---> 38182bf72249 [2022-05-10T17:00:30.002Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T17:00:30.002Z] ---> Running in a5d1247ba547 [2022-05-10T17:00:30.573Z] Removing intermediate container a5d1247ba547 [2022-05-10T17:00:30.573Z] ---> 90d721d897ee [2022-05-10T17:00:30.573Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T17:00:30.573Z] ---> Running in 31648e313628 [2022-05-10T17:00:30.834Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:00:31.777Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T17:00:32.351Z] OK: 221 MiB in 52 packages [2022-05-10T17:00:32.612Z] Removing intermediate container 31648e313628 [2022-05-10T17:00:32.612Z] ---> 1517f9762693 [2022-05-10T17:00:32.612Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T17:00:32.612Z] ---> 1ba5a182053e [2022-05-10T17:00:32.612Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T17:00:32.872Z] ---> Running in 413ec7bc93fa [2022-05-10T17:00:34.724Z] Still waiting to schedule task [2022-05-10T17:00:34.724Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-47793’ [2022-05-10T17:00:47.778Z] Removing intermediate container 413ec7bc93fa [2022-05-10T17:00:47.778Z] ---> c6035f20bfb1 [2022-05-10T17:00:47.778Z] Step 10/11 : COPY . . [2022-05-10T17:00:47.778Z] ---> 7d8ac157a62e [2022-05-10T17:00:47.778Z] Step 11/11 : RUN ${MAKE} [2022-05-10T17:00:47.778Z] ---> Running in 75231c050975 [2022-05-10T17:00:47.778Z] noop [2022-05-10T17:00:47.778Z] Removing intermediate container 75231c050975 [2022-05-10T17:00:47.778Z] ---> 190874059633 [2022-05-10T17:00:47.778Z] Successfully built 190874059633 [2022-05-10T17:00:47.778Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:00:48.073Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T17:00:48.073Z] . [Pipeline] withDockerContainer [2022-05-10T17:00:48.142Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:00:48.196Z] $ 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-05-10T17:00:48.573Z] $ docker top 58c886dda547f28141748269e5b2cba057fa8002061fc19ecdf8392c7f2b03fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T17:00:48.916Z] + go version [2022-05-10T17:00:48.916Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T17:00:48.945Z] $ docker stop --time=1 58c886dda547f28141748269e5b2cba057fa8002061fc19ecdf8392c7f2b03fc [2022-05-10T17:00:50.255Z] $ docker rm -f 58c886dda547f28141748269e5b2cba057fa8002061fc19ecdf8392c7f2b03fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:00:50.644Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T17:00:50.644Z] . [Pipeline] withDockerContainer [2022-05-10T17:00:50.712Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:00:50.772Z] $ 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-05-10T17:00:51.149Z] $ docker top a9d02467e6d51259b70a39911cad45466a98985beb8962f51a42534099e76dc9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T17:00:51.503Z] + make test [2022-05-10T17:00:51.503Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T17:00:56.785Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.3% of statements [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.067s coverage: 10.8% of statements [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.076s coverage: 60.0% of statements [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.076s coverage: 34.8% of statements [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 86.5% of statements [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.094s coverage: 65.1% of statements [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.818s coverage: 89.2% of statements [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T17:01:09.000Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-05-10T17:01:09.000Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T17:01:24.018Z] GO111MODULE=on go vet ./... [2022-05-10T17:01:27.310Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T17:01:27.310Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T17:01:27.310Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T17:01:27.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T17:01:27.621Z] $ docker stop --time=1 a9d02467e6d51259b70a39911cad45466a98985beb8962f51a42534099e76dc9 [2022-05-10T17:01:29.749Z] $ docker rm -f a9d02467e6d51259b70a39911cad45466a98985beb8962f51a42534099e76dc9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T17:01:30.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T17:01:30.283Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T17:01:31.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T17:01:31.320Z] + ls -al . [2022-05-10T17:01:31.320Z] total 300 [2022-05-10T17:01:31.320Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 17:01 . [2022-05-10T17:01:31.320Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 16:59 .. [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 16:59 .dockerignore [2022-05-10T17:01:31.320Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:00 .git [2022-05-10T17:01:31.320Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 16:59 .github [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 16:59 .gitignore [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 16:59 .golangci.yml [2022-05-10T17:01:31.320Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:00 .semver [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 10 16:59 CHANGELOG.md [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 16:59 GOVERNANCE.md [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 16:59 Jenkinsfile [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 16:59 LICENSE [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 16:59 Makefile [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 16:59 OWNERS.md [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 16:59 README.md [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:00 VERSION [2022-05-10T17:01:31.320Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 16:59 bin [2022-05-10T17:01:31.320Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 17:01 coverage.out [2022-05-10T17:01:31.320Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 16:59 example [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 16:59 go.mod [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 10 16:59 go.sum [2022-05-10T17:01:31.320Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 16:59 internal [2022-05-10T17:01:31.320Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 16:59 openapi [2022-05-10T17:01:31.320Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 16:59 pkg [2022-05-10T17:01:31.320Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 16:59 snap [2022-05-10T17:01:31.320Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 16:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:01:31.623Z] + 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=4f64ab83298cb604fe88218673904389f4010661 --label arch=amd64 --label version=2.2.0 . [2022-05-10T17:01:31.624Z] Sending build context to Docker daemon 9.87MB [2022-05-10T17:01:31.624Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T17:01:31.624Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T17:01:31.624Z] ---> 190874059633 [2022-05-10T17:01:31.624Z] Step 3/25 : ARG MAKE=make build [2022-05-10T17:01:31.884Z] ---> Running in da1b892d1111 [2022-05-10T17:01:31.884Z] Removing intermediate container da1b892d1111 [2022-05-10T17:01:31.884Z] ---> aa40ac9eb54b [2022-05-10T17:01:31.884Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T17:01:31.884Z] ---> Running in 3ebe5c88e722 [2022-05-10T17:01:31.884Z] Removing intermediate container 3ebe5c88e722 [2022-05-10T17:01:31.884Z] ---> 4d2b45bb948e [2022-05-10T17:01:31.884Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T17:01:32.145Z] ---> Running in 8c75c6ba06d6 [2022-05-10T17:01:32.145Z] Removing intermediate container 8c75c6ba06d6 [2022-05-10T17:01:32.145Z] ---> 2864e5c42dd7 [2022-05-10T17:01:32.145Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T17:01:32.145Z] ---> Running in f538f54dad89 [2022-05-10T17:01:32.715Z] Removing intermediate container f538f54dad89 [2022-05-10T17:01:32.715Z] ---> 3f5159ef17c6 [2022-05-10T17:01:32.715Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T17:01:32.715Z] ---> Running in b4029d7e37a5 [2022-05-10T17:01:32.978Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:01:33.920Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T17:01:34.193Z] OK: 221 MiB in 52 packages [2022-05-10T17:01:34.452Z] Removing intermediate container b4029d7e37a5 [2022-05-10T17:01:34.453Z] ---> bd665a2ad7ad [2022-05-10T17:01:34.453Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T17:01:34.453Z] ---> ad2bdbe518d0 [2022-05-10T17:01:34.453Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T17:01:34.712Z] ---> Running in 1c8fa0f88b5b [2022-05-10T17:01:35.290Z] Removing intermediate container 1c8fa0f88b5b [2022-05-10T17:01:35.290Z] ---> bc20e66b81b5 [2022-05-10T17:01:35.290Z] Step 10/25 : COPY . . [2022-05-10T17:01:35.550Z] ---> 97a64deda282 [2022-05-10T17:01:35.550Z] Step 11/25 : RUN ${MAKE} [2022-05-10T17:01:35.550Z] ---> Running in 94217089ecc1 [2022-05-10T17:01:35.810Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-10T17:01:53.909Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T17:01:54.480Z] Removing intermediate container 94217089ecc1 [2022-05-10T17:01:54.480Z] ---> 32c15cba423b [2022-05-10T17:01:54.480Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T17:01:55.050Z] 3.14: Pulling from library/alpine [2022-05-10T17:01:55.050Z] 8663204ce13b: Pulling fs layer [2022-05-10T17:01:55.311Z] 8663204ce13b: Verifying Checksum [2022-05-10T17:01:55.311Z] 8663204ce13b: Download complete [2022-05-10T17:01:55.572Z] 8663204ce13b: Pull complete [2022-05-10T17:01:55.572Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T17:01:55.572Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T17:01:55.572Z] ---> e04c818066af [2022-05-10T17:01:55.572Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T17:01:55.572Z] ---> Running in 1127718a61b3 [2022-05-10T17:01:55.572Z] Removing intermediate container 1127718a61b3 [2022-05-10T17:01:55.572Z] ---> d11c292cceed [2022-05-10T17:01:55.572Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T17:01:55.572Z] ---> Running in 8b0d47d9d371 [2022-05-10T17:01:56.154Z] Removing intermediate container 8b0d47d9d371 [2022-05-10T17:01:56.154Z] ---> 90bc696cafa9 [2022-05-10T17:01:56.154Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T17:01:56.415Z] ---> Running in 3c26251117f9 [2022-05-10T17:01:56.676Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T17:01:57.246Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T17:01:57.817Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T17:01:57.817Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T17:01:57.817Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T17:01:57.817Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T17:01:58.077Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T17:01:58.077Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T17:01:58.077Z] OK: 8 MiB in 19 packages [2022-05-10T17:01:58.648Z] Removing intermediate container 3c26251117f9 [2022-05-10T17:01:58.648Z] ---> acccfaea5bd5 [2022-05-10T17:01:58.648Z] Step 16/25 : WORKDIR / [2022-05-10T17:01:58.648Z] ---> Running in 09ce36d5a1fa [2022-05-10T17:01:58.648Z] Removing intermediate container 09ce36d5a1fa [2022-05-10T17:01:58.648Z] ---> cf2023ac0716 [2022-05-10T17:01:58.648Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T17:01:58.648Z] ---> 5c78de08f22e [2022-05-10T17:01:58.648Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T17:01:59.586Z] ---> 8da78c899643 [2022-05-10T17:01:59.586Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T17:01:59.586Z] ---> 8df0aecaaec8 [2022-05-10T17:01:59.586Z] Step 20/25 : EXPOSE 59999 [2022-05-10T17:01:59.586Z] ---> Running in ac3fa3ea332c [2022-05-10T17:01:59.586Z] Removing intermediate container ac3fa3ea332c [2022-05-10T17:01:59.586Z] ---> 4635f23ee108 [2022-05-10T17:01:59.586Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T17:01:59.586Z] ---> Running in 8c874bb3ea53 [2022-05-10T17:01:59.848Z] Removing intermediate container 8c874bb3ea53 [2022-05-10T17:01:59.848Z] ---> 677d5106edd8 [2022-05-10T17:01:59.848Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T17:01:59.848Z] ---> Running in 4084687f009e [2022-05-10T17:01:59.848Z] Removing intermediate container 4084687f009e [2022-05-10T17:01:59.848Z] ---> 2f62d380a9d2 [2022-05-10T17:01:59.848Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T17:01:59.848Z] ---> Running in 4e887713d489 [2022-05-10T17:02:00.114Z] Removing intermediate container 4e887713d489 [2022-05-10T17:02:00.114Z] ---> 31021f890037 [2022-05-10T17:02:00.114Z] Step 24/25 : LABEL git_sha=4f64ab83298cb604fe88218673904389f4010661 [2022-05-10T17:02:00.114Z] ---> Running in 43112ec13fb2 [2022-05-10T17:02:00.114Z] Removing intermediate container 43112ec13fb2 [2022-05-10T17:02:00.114Z] ---> d5cc963d1ba8 [2022-05-10T17:02:00.114Z] Step 25/25 : LABEL version=2.2.0 [2022-05-10T17:02:00.114Z] ---> Running in 9596a77f1b70 [2022-05-10T17:02:00.375Z] Removing intermediate container 9596a77f1b70 [2022-05-10T17:02:00.375Z] ---> 9d5bb9901163 [2022-05-10T17:02:00.375Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T17:02:00.375Z] Successfully built 9d5bb9901163 [2022-05-10T17:02:00.375Z] 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-05-10T17:02:00.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T17:02:00.801Z] [2022-05-10T17:02:00.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:02:01.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T17:02:01.107Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T17:02:01.107Z] 5eb5b503b376: Pulling fs layer [2022-05-10T17:02:01.107Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T17:02:01.107Z] ec43610c2a17: Pulling fs layer [2022-05-10T17:02:01.107Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T17:02:01.107Z] 33b1e0a273af: Pulling fs layer [2022-05-10T17:02:01.107Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T17:02:01.107Z] 2f39f015ded8: Pulling fs layer [2022-05-10T17:02:01.107Z] 3a2ae6a8a46f: Waiting [2022-05-10T17:02:01.107Z] 33b1e0a273af: Waiting [2022-05-10T17:02:01.107Z] 5d3b04190fa2: Waiting [2022-05-10T17:02:01.107Z] 2f39f015ded8: Waiting [2022-05-10T17:02:01.107Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T17:02:01.107Z] 5c69ac0246d0: Download complete [2022-05-10T17:02:01.107Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T17:02:01.107Z] 3a2ae6a8a46f: Download complete [2022-05-10T17:02:01.107Z] 33b1e0a273af: Verifying Checksum [2022-05-10T17:02:01.107Z] 33b1e0a273af: Download complete [2022-05-10T17:02:01.366Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T17:02:01.366Z] 5d3b04190fa2: Download complete [2022-05-10T17:02:01.366Z] ec43610c2a17: Verifying Checksum [2022-05-10T17:02:01.366Z] ec43610c2a17: Download complete [2022-05-10T17:02:01.366Z] 5eb5b503b376: Verifying Checksum [2022-05-10T17:02:01.366Z] 5eb5b503b376: Download complete [2022-05-10T17:02:01.934Z] 2f39f015ded8: Download complete [2022-05-10T17:02:02.503Z] 5eb5b503b376: Pull complete [2022-05-10T17:02:02.762Z] 5c69ac0246d0: Pull complete [2022-05-10T17:02:03.332Z] ec43610c2a17: Pull complete [2022-05-10T17:02:03.332Z] 3a2ae6a8a46f: Pull complete [2022-05-10T17:02:03.332Z] 33b1e0a273af: Pull complete [2022-05-10T17:02:03.592Z] 5d3b04190fa2: Pull complete [2022-05-10T17:02:07.785Z] 2f39f015ded8: Pull complete [2022-05-10T17:02:07.785Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T17:02:07.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T17:02:07.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T17:02:07.848Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:02:07.901Z] $ 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-05-10T17:02:09.755Z] $ docker top ebef955098c1aa767e06954c2d928bff5d67bc6f20d2295b34674b79b693a393 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:02:10.156Z] ---> job-cost.sh [2022-05-10T17:02:10.157Z] lf-activate-venv: SKIPPING [2022-05-10T17:02:10.157Z] INFO: No Stack... [2022-05-10T17:02:10.728Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T17:02:10.988Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T17:02:11.281Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-05-10T17:02:11.281Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T17:02:11.300Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-75-stack-cost] [2022-05-10T17:02:11.307Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-75-stack-cost] did not exist. Created. [2022-05-10T17:02:11.307Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T17:02:11.618Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T17:02:11.646Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T17:02:11.651Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T17:02:11.687Z] $ docker stop --time=1 ebef955098c1aa767e06954c2d928bff5d67bc6f20d2295b34674b79b693a393 [2022-05-10T17:02:12.846Z] $ docker rm -f ebef955098c1aa767e06954c2d928bff5d67bc6f20d2295b34674b79b693a393 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T17:04:13.665Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47796 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-05-10T17:04:13.681Z] Running in /w/workspace/device-sdk-go/75 [Pipeline] { [Pipeline] checkout [2022-05-10T17:04:13.965Z] The recommended git tool is: git [2022-05-10T17:04:21.563Z] using credential edgex-jenkins-ssh [2022-05-10T17:04:21.590Z] Cloning the remote Git repository [2022-05-10T17:04:21.657Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T17:04:21.739Z] > git init /w/workspace/device-sdk-go/75 # timeout=10 [2022-05-10T17:04:21.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T17:04:21.897Z] > git --version # timeout=10 [2022-05-10T17:04:21.946Z] > git --version # 'git version 2.25.1' [2022-05-10T17:04:21.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T17:04:22.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T17:04:23.614Z] Avoid second fetch [2022-05-10T17:04:23.615Z] Checking out Revision 4f64ab83298cb604fe88218673904389f4010661 (main) [2022-05-10T17:04:23.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-10T17:04:23.600Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T17:04:23.648Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T17:04:23.667Z] > git checkout -f 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 [2022-05-10T17:04:28.400Z] Commit message: "Merge pull request #1156 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T17:04:29.458Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T17:04:29.458Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T17:04:29.458Z] Dload Upload Total Spent Left Speed [2022-05-10T17:04:29.458Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 77914 0 --:--:-- --:--:-- --:--:-- 77914 [Pipeline] sh [2022-05-10T17:04:30.040Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T17:04:30.411Z] + sudo tee /etc/docker/daemon.new [2022-05-10T17:04:30.411Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T17:04:30.411Z] { [2022-05-10T17:04:30.411Z] "registry-mirrors": [ [2022-05-10T17:04:30.411Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T17:04:30.411Z] ], [2022-05-10T17:04:30.411Z] "bip": "10.250.0.254/24", [2022-05-10T17:04:30.411Z] "hosts": [ [2022-05-10T17:04:30.411Z] "tcp://0.0.0.0:5555", [2022-05-10T17:04:30.411Z] "unix:///var/run/docker.sock" [2022-05-10T17:04:30.411Z] ], [2022-05-10T17:04:30.411Z] "mtu": 1458, [2022-05-10T17:04:30.411Z] "selinux-enabled": true, [2022-05-10T17:04:30.411Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T17:04:30.411Z] } [Pipeline] sh [2022-05-10T17:04:30.779Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T17:04:31.149Z] + sudo service docker restart [Pipeline] sh [2022-05-10T17:04:49.901Z] + git checkout 4f64ab83298cb604fe88218673904389f4010661 [2022-05-10T17:04:49.901Z] HEAD is now at 4f64ab8 Merge pull request #1156 from jpwhitemn/kamakura-rls-notes [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:04:49.939Z] provisioning config files... [2022-05-10T17:04:49.967Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/75@tmp/config112164673263143222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:04:50.337Z] ---> docker-login.sh [2022-05-10T17:04:50.337Z] nexus3.edgexfoundry.org:10001 [2022-05-10T17:04:50.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:04:51.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:04:51.210Z] Configure a credential helper to remove this warning. See [2022-05-10T17:04:51.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:04:51.210Z] [2022-05-10T17:04:51.210Z] Login Succeeded [2022-05-10T17:04:51.210Z] nexus3.edgexfoundry.org:10002 [2022-05-10T17:04:51.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:04:51.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:04:51.826Z] Configure a credential helper to remove this warning. See [2022-05-10T17:04:51.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:04:51.826Z] [2022-05-10T17:04:51.826Z] Login Succeeded [2022-05-10T17:04:51.826Z] nexus3.edgexfoundry.org:10003 [2022-05-10T17:04:52.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:04:52.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:04:52.397Z] Configure a credential helper to remove this warning. See [2022-05-10T17:04:52.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:04:52.397Z] [2022-05-10T17:04:52.397Z] Login Succeeded [2022-05-10T17:04:52.397Z] nexus3.edgexfoundry.org:10004 [2022-05-10T17:04:52.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:04:52.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:04:52.956Z] Configure a credential helper to remove this warning. See [2022-05-10T17:04:52.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:04:52.956Z] [2022-05-10T17:04:52.956Z] Login Succeeded [2022-05-10T17:04:52.956Z] docker.io [2022-05-10T17:04:53.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T17:04:53.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T17:04:53.505Z] Configure a credential helper to remove this warning. See [2022-05-10T17:04:53.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T17:04:53.505Z] [2022-05-10T17:04:53.780Z] Login Succeeded [2022-05-10T17:04:53.780Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T17:04:53.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T17:04:54.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T17:04:54.404Z] ========================================================= [2022-05-10T17:04:54.404Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T17:04:54.404Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:04:54.764Z] + 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-05-10T17:04:55.368Z] Sending build context to Docker daemon 5.25MB [2022-05-10T17:04:55.368Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T17:04:55.368Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T17:04:55.368Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T17:04:55.368Z] 9b3977197b4f: Pulling fs layer [2022-05-10T17:04:55.368Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T17:04:55.368Z] 94645a83ff95: Pulling fs layer [2022-05-10T17:04:55.368Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T17:04:55.368Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T17:04:55.368Z] 3096ccb668a1: Pulling fs layer [2022-05-10T17:04:55.368Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T17:04:55.368Z] 0c92f367c5e7: Waiting [2022-05-10T17:04:55.368Z] 3f3a8bcf1eab: Waiting [2022-05-10T17:04:55.368Z] 3096ccb668a1: Waiting [2022-05-10T17:04:55.368Z] e8cf19c19ddd: Waiting [2022-05-10T17:04:55.368Z] a4caa8a26152: Pulling fs layer [2022-05-10T17:04:55.368Z] 94645a83ff95: Download complete [2022-05-10T17:04:55.368Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T17:04:55.368Z] 1a89e8eeedd5: Download complete [2022-05-10T17:04:55.368Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T17:04:55.368Z] 0c92f367c5e7: Download complete [2022-05-10T17:04:55.651Z] 3096ccb668a1: Verifying Checksum [2022-05-10T17:04:55.651Z] 3096ccb668a1: Download complete [2022-05-10T17:04:55.651Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T17:04:55.651Z] e8cf19c19ddd: Download complete [2022-05-10T17:04:55.651Z] 9b3977197b4f: Verifying Checksum [2022-05-10T17:04:55.651Z] 9b3977197b4f: Download complete [2022-05-10T17:04:56.257Z] 9b3977197b4f: Pull complete [2022-05-10T17:04:56.879Z] 1a89e8eeedd5: Pull complete [2022-05-10T17:04:57.158Z] 94645a83ff95: Pull complete [2022-05-10T17:04:57.755Z] a4caa8a26152: Verifying Checksum [2022-05-10T17:04:57.755Z] a4caa8a26152: Download complete [2022-05-10T17:04:58.356Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T17:04:58.356Z] 3f3a8bcf1eab: Download complete [2022-05-10T17:05:10.772Z] 3f3a8bcf1eab: Pull complete [2022-05-10T17:05:10.772Z] 0c92f367c5e7: Pull complete [2022-05-10T17:05:10.772Z] 3096ccb668a1: Pull complete [2022-05-10T17:05:10.772Z] e8cf19c19ddd: Pull complete [2022-05-10T17:05:17.502Z] a4caa8a26152: Pull complete [2022-05-10T17:05:17.502Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T17:05:17.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T17:05:17.502Z] ---> 725f1c02e7f9 [2022-05-10T17:05:17.502Z] Step 3/11 : ARG MAKE=make build [2022-05-10T17:05:18.484Z] ---> Running in a17824fd313d [2022-05-10T17:05:18.769Z] Removing intermediate container a17824fd313d [2022-05-10T17:05:18.769Z] ---> 947ca53bbb5f [2022-05-10T17:05:18.769Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T17:05:18.769Z] ---> Running in 34e2862185ec [2022-05-10T17:05:19.046Z] Removing intermediate container 34e2862185ec [2022-05-10T17:05:19.046Z] ---> 3d83cbb1eee2 [2022-05-10T17:05:19.046Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T17:05:19.046Z] ---> Running in d158cbf6ce38 [2022-05-10T17:05:19.648Z] Removing intermediate container d158cbf6ce38 [2022-05-10T17:05:19.648Z] ---> fbf6a7c2010d [2022-05-10T17:05:19.648Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T17:05:19.648Z] ---> Running in 929543206e2d [2022-05-10T17:05:21.625Z] Removing intermediate container 929543206e2d [2022-05-10T17:05:21.625Z] ---> e86967046c15 [2022-05-10T17:05:21.625Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T17:05:21.625Z] ---> Running in e9a661c83a07 [2022-05-10T17:05:23.611Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:05:24.596Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T17:05:25.580Z] OK: 220 MiB in 52 packages [2022-05-10T17:05:26.197Z] Removing intermediate container e9a661c83a07 [2022-05-10T17:05:26.197Z] ---> cea6300bbb2b [2022-05-10T17:05:26.197Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T17:05:26.800Z] ---> e50299b66da9 [2022-05-10T17:05:26.800Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T17:05:27.081Z] ---> Running in ddd299908929 [2022-05-10T17:06:14.088Z] Removing intermediate container ddd299908929 [2022-05-10T17:06:14.088Z] ---> 8dabdfb603d9 [2022-05-10T17:06:14.088Z] Step 10/11 : COPY . . [2022-05-10T17:06:14.088Z] ---> 5655cc5f8248 [2022-05-10T17:06:14.088Z] Step 11/11 : RUN ${MAKE} [2022-05-10T17:06:14.088Z] ---> Running in 165f818eb85a [2022-05-10T17:06:14.088Z] noop [2022-05-10T17:06:14.361Z] Removing intermediate container 165f818eb85a [2022-05-10T17:06:14.361Z] ---> 56b48ec20cc5 [2022-05-10T17:06:14.361Z] Successfully built 56b48ec20cc5 [2022-05-10T17:06:14.635Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:06:14.984Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T17:06:14.984Z] . [Pipeline] withDockerContainer [2022-05-10T17:06:15.225Z] prd-ubuntu20.04-docker-arm64-4c-16g-47796 does not seem to be running inside a container [2022-05-10T17:06:15.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/75 -v /w/workspace/device-sdk-go/75:/w/workspace/device-sdk-go/75:rw,z -v /w/workspace/device-sdk-go/75@tmp:/w/workspace/device-sdk-go/75@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 ******** -e ******** ci-base-image-arm64 cat [2022-05-10T17:06:16.664Z] $ docker top 99bfcd95eac4f939bdf4051c8fe1d5d4bbfa47880431bddf11c96d0d24450fd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T17:06:17.619Z] + go version [2022-05-10T17:06:17.619Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T17:06:17.660Z] $ docker stop --time=1 99bfcd95eac4f939bdf4051c8fe1d5d4bbfa47880431bddf11c96d0d24450fd8 [2022-05-10T17:06:19.332Z] $ docker rm -f 99bfcd95eac4f939bdf4051c8fe1d5d4bbfa47880431bddf11c96d0d24450fd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:06:19.948Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T17:06:19.948Z] . [Pipeline] withDockerContainer [2022-05-10T17:06:20.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-47796 does not seem to be running inside a container [2022-05-10T17:06:20.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/75 -v /w/workspace/device-sdk-go/75:/w/workspace/device-sdk-go/75:rw,z -v /w/workspace/device-sdk-go/75@tmp:/w/workspace/device-sdk-go/75@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 ******** -e ******** ci-base-image-arm64 cat [2022-05-10T17:06:21.608Z] $ docker top 3a7613ab2fd7e6a544157f9034579457e56fc8a116a723fbfa808cd6dd8139a9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T17:06:22.529Z] + make test [2022-05-10T17:06:22.529Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T17:06:54.920Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T17:08:46.819Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T17:08:46.819Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T17:08:46.819Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T17:08:49.475Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.406s coverage: 23.3% of statements [2022-05-10T17:08:49.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T17:08:49.475Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.259s coverage: 27.6% of statements [2022-05-10T17:08:49.475Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.371s coverage: 78.9% of statements [2022-05-10T17:08:49.475Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.236s coverage: 10.8% of statements [2022-05-10T17:08:52.121Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.520s coverage: 60.0% of statements [2022-05-10T17:08:52.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T17:08:52.121Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T17:08:54.788Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.451s coverage: 34.8% of statements [2022-05-10T17:08:54.788Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T17:08:58.223Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.285s coverage: 86.5% of statements [2022-05-10T17:08:58.223Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T17:08:58.223Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T17:08:58.223Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.663s coverage: 65.1% of statements [2022-05-10T17:09:00.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.209s coverage: 89.2% of statements [2022-05-10T17:09:00.214Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T17:09:02.193Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.7% of statements [2022-05-10T17:09:02.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T17:09:02.788Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T17:09:02.788Z] GO111MODULE=on go vet ./... [2022-05-10T17:10:39.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T17:10:39.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T17:10:39.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T17:10:39.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T17:10:39.763Z] $ docker stop --time=1 3a7613ab2fd7e6a544157f9034579457e56fc8a116a723fbfa808cd6dd8139a9 [2022-05-10T17:10:41.713Z] $ docker rm -f 3a7613ab2fd7e6a544157f9034579457e56fc8a116a723fbfa808cd6dd8139a9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T17:10:43.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T17:10:43.321Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T17:10:44.238Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T17:10:44.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T17:10:45.075Z] + ls -al . [2022-05-10T17:10:45.075Z] total 296 [2022-05-10T17:10:45.075Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:10 . [2022-05-10T17:10:45.075Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:04 .. [2022-05-10T17:10:45.075Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 17:04 .dockerignore [2022-05-10T17:10:45.076Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:04 .git [2022-05-10T17:10:45.076Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:04 .github [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 17:04 .gitignore [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 17:04 .golangci.yml [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 10 17:04 CHANGELOG.md [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:04 GOVERNANCE.md [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 17:04 Jenkinsfile [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 17:04 LICENSE [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 17:04 Makefile [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 17:04 OWNERS.md [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 17:04 README.md [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:00 VERSION [2022-05-10T17:10:45.076Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:04 bin [2022-05-10T17:10:45.076Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 17:09 coverage.out [2022-05-10T17:10:45.076Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 17:04 example [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 17:04 go.mod [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 10 17:04 go.sum [2022-05-10T17:10:45.076Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 17:04 internal [2022-05-10T17:10:45.076Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:04 openapi [2022-05-10T17:10:45.076Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 17:04 pkg [2022-05-10T17:10:45.076Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:04 snap [2022-05-10T17:10:45.076Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 17:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:10:45.459Z] + 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=4f64ab83298cb604fe88218673904389f4010661 --label arch=arm64 --label version=2.2.0 . [2022-05-10T17:10:46.087Z] Sending build context to Docker daemon 5.381MB [2022-05-10T17:10:46.087Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T17:10:46.087Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T17:10:46.087Z] ---> 56b48ec20cc5 [2022-05-10T17:10:46.087Z] Step 3/25 : ARG MAKE=make build [2022-05-10T17:10:46.384Z] ---> Running in 01c8d8c83742 [2022-05-10T17:10:46.675Z] Removing intermediate container 01c8d8c83742 [2022-05-10T17:10:46.675Z] ---> 4abd99294e75 [2022-05-10T17:10:46.675Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T17:10:46.675Z] ---> Running in 6b26d0e2e748 [2022-05-10T17:10:47.273Z] Removing intermediate container 6b26d0e2e748 [2022-05-10T17:10:47.273Z] ---> 999bd29da761 [2022-05-10T17:10:47.273Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T17:10:47.273Z] ---> Running in 8c2c6494ab80 [2022-05-10T17:10:47.556Z] Removing intermediate container 8c2c6494ab80 [2022-05-10T17:10:47.556Z] ---> a267ba92ece2 [2022-05-10T17:10:47.556Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T17:10:47.556Z] ---> Running in 3d30580658a8 [2022-05-10T17:10:49.553Z] Removing intermediate container 3d30580658a8 [2022-05-10T17:10:49.553Z] ---> 997226d0838a [2022-05-10T17:10:49.553Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T17:10:49.553Z] ---> Running in fc739178e2e1 [2022-05-10T17:10:50.535Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:10:51.521Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T17:10:52.509Z] OK: 220 MiB in 52 packages [2022-05-10T17:10:53.496Z] Removing intermediate container fc739178e2e1 [2022-05-10T17:10:53.496Z] ---> 5b40251d9625 [2022-05-10T17:10:53.496Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T17:10:53.772Z] ---> 5d8ff0b939b7 [2022-05-10T17:10:53.772Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T17:10:54.056Z] ---> Running in 79af80071520 [2022-05-10T17:10:56.034Z] Removing intermediate container 79af80071520 [2022-05-10T17:10:56.034Z] ---> a26b8bda6808 [2022-05-10T17:10:56.034Z] Step 10/25 : COPY . . [2022-05-10T17:10:57.019Z] ---> 611ecc12031b [2022-05-10T17:10:57.019Z] Step 11/25 : RUN ${MAKE} [2022-05-10T17:10:57.299Z] ---> Running in 7581b7e36f2a [2022-05-10T17:10:58.288Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-10T17:13:05.192Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T17:13:09.500Z] Removing intermediate container 7581b7e36f2a [2022-05-10T17:13:09.500Z] ---> 85ecd8c135e6 [2022-05-10T17:13:09.500Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T17:13:09.500Z] 3.14: Pulling from library/alpine [2022-05-10T17:13:09.773Z] 455c02918c45: Pulling fs layer [2022-05-10T17:13:10.046Z] 455c02918c45: Verifying Checksum [2022-05-10T17:13:10.046Z] 455c02918c45: Download complete [2022-05-10T17:13:10.657Z] 455c02918c45: Pull complete [2022-05-10T17:13:10.657Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T17:13:10.657Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T17:13:10.657Z] ---> ac73e934f311 [2022-05-10T17:13:10.657Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T17:13:10.657Z] ---> Running in 994c6d85b2ca [2022-05-10T17:13:10.945Z] Removing intermediate container 994c6d85b2ca [2022-05-10T17:13:10.945Z] ---> 3a4b42676228 [2022-05-10T17:13:10.945Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T17:13:11.220Z] ---> Running in 7b2b51279cdf [2022-05-10T17:13:12.671Z] Removing intermediate container 7b2b51279cdf [2022-05-10T17:13:12.671Z] ---> 73c8b29a61b9 [2022-05-10T17:13:12.671Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T17:13:12.958Z] ---> Running in 76865dfa53bf [2022-05-10T17:13:13.935Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T17:13:14.915Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T17:13:15.896Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T17:13:15.896Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T17:13:15.896Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T17:13:15.896Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T17:13:16.171Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T17:13:16.171Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T17:13:16.171Z] OK: 8 MiB in 19 packages [2022-05-10T17:13:17.156Z] Removing intermediate container 76865dfa53bf [2022-05-10T17:13:17.156Z] ---> e3ec1f028898 [2022-05-10T17:13:17.156Z] Step 16/25 : WORKDIR / [2022-05-10T17:13:17.156Z] ---> Running in fd81567a7e80 [2022-05-10T17:13:17.429Z] Removing intermediate container fd81567a7e80 [2022-05-10T17:13:17.429Z] ---> e813caf4b416 [2022-05-10T17:13:17.429Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T17:13:18.043Z] ---> 4b053f34cc1a [2022-05-10T17:13:18.043Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T17:13:20.025Z] ---> fb5db2da038b [2022-05-10T17:13:20.025Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T17:13:20.620Z] ---> 5e9c9cef7d2c [2022-05-10T17:13:20.620Z] Step 20/25 : EXPOSE 59999 [2022-05-10T17:13:20.620Z] ---> Running in 8bb468cb1757 [2022-05-10T17:13:20.898Z] Removing intermediate container 8bb468cb1757 [2022-05-10T17:13:20.898Z] ---> d40013b27933 [2022-05-10T17:13:20.898Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T17:13:21.173Z] ---> Running in eb10982d0737 [2022-05-10T17:13:21.457Z] Removing intermediate container eb10982d0737 [2022-05-10T17:13:21.457Z] ---> bb9a00f4ed4d [2022-05-10T17:13:21.457Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T17:13:21.457Z] ---> Running in d837a47e2509 [2022-05-10T17:13:21.733Z] Removing intermediate container d837a47e2509 [2022-05-10T17:13:21.733Z] ---> 2d0606222269 [2022-05-10T17:13:21.733Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T17:13:21.733Z] ---> Running in 609889f825ee [2022-05-10T17:13:22.335Z] Removing intermediate container 609889f825ee [2022-05-10T17:13:22.335Z] ---> 3a96ba948466 [2022-05-10T17:13:22.335Z] Step 24/25 : LABEL git_sha=4f64ab83298cb604fe88218673904389f4010661 [2022-05-10T17:13:22.335Z] ---> Running in 703ccf2d0be6 [2022-05-10T17:13:22.612Z] Removing intermediate container 703ccf2d0be6 [2022-05-10T17:13:22.612Z] ---> 10f6ed42e440 [2022-05-10T17:13:22.612Z] Step 25/25 : LABEL version=2.2.0 [2022-05-10T17:13:22.612Z] ---> Running in a0fe1f935a2f [2022-05-10T17:13:22.948Z] Removing intermediate container a0fe1f935a2f [2022-05-10T17:13:22.948Z] ---> 169ebc61961f [2022-05-10T17:13:22.948Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T17:13:22.948Z] Successfully built 169ebc61961f [2022-05-10T17:13:22.948Z] 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-05-10T17:13:23.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T17:13:23.496Z] [2022-05-10T17:13:23.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:13:23.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T17:13:24.133Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T17:13:24.133Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T17:13:24.133Z] 04944245beec: Pulling fs layer [2022-05-10T17:13:24.133Z] 699f458cf7ca: Pulling fs layer [2022-05-10T17:13:24.133Z] 765212b225bb: Pulling fs layer [2022-05-10T17:13:24.133Z] f23df028b6ca: Pulling fs layer [2022-05-10T17:13:24.133Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T17:13:24.133Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T17:13:24.133Z] f23df028b6ca: Waiting [2022-05-10T17:13:24.133Z] 765212b225bb: Waiting [2022-05-10T17:13:24.133Z] 2437ff75d9bd: Waiting [2022-05-10T17:13:24.133Z] d65c8cfc05b1: Waiting [2022-05-10T17:13:24.133Z] 04944245beec: Verifying Checksum [2022-05-10T17:13:24.133Z] 04944245beec: Download complete [2022-05-10T17:13:24.133Z] 765212b225bb: Verifying Checksum [2022-05-10T17:13:24.133Z] 765212b225bb: Download complete [2022-05-10T17:13:24.133Z] f23df028b6ca: Download complete [2022-05-10T17:13:24.133Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T17:13:24.133Z] d65c8cfc05b1: Download complete [2022-05-10T17:13:24.409Z] 699f458cf7ca: Download complete [2022-05-10T17:13:24.683Z] 8998bd30e6a1: Download complete [2022-05-10T17:13:27.315Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T17:13:27.315Z] 2437ff75d9bd: Download complete [2022-05-10T17:13:28.757Z] 8998bd30e6a1: Pull complete [2022-05-10T17:13:29.357Z] 04944245beec: Pull complete [2022-05-10T17:13:30.809Z] 699f458cf7ca: Pull complete [2022-05-10T17:13:31.083Z] 765212b225bb: Pull complete [2022-05-10T17:13:32.067Z] f23df028b6ca: Pull complete [2022-05-10T17:13:32.343Z] d65c8cfc05b1: Pull complete [2022-05-10T17:13:47.510Z] 2437ff75d9bd: Pull complete [2022-05-10T17:13:47.510Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T17:13:47.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T17:13:47.510Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T17:13:47.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-47796 does not seem to be running inside a container [2022-05-10T17:13:47.883Z] $ 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/75 -v /w/workspace/device-sdk-go/75:/w/workspace/device-sdk-go/75:rw,z -v /w/workspace/device-sdk-go/75@tmp:/w/workspace/device-sdk-go/75@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T17:13:50.891Z] $ docker top 5a2f71ac34e6fb77c036576d25de02b4d8c6443ac7c263afe011c11cb03d0a55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:13:51.858Z] ---> job-cost.sh [2022-05-10T17:13:51.858Z] lf-activate-venv: SKIPPING [2022-05-10T17:13:51.858Z] INFO: No Stack... [2022-05-10T17:13:52.455Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T17:13:53.441Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T17:13:54.113Z] + cat /w/workspace/device-sdk-go/75/archives/cost.csv [2022-05-10T17:13:54.113Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T17:13:54.185Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-75-stack-cost] [2022-05-10T17:13:54.191Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-75-stack-cost] did not exist. Created. [2022-05-10T17:13:54.191Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T17:13:54.877Z] /w/workspace/device-sdk-go/75@tmp/durable-808bbe21/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T17:13:55.558Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T17:13:55.586Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T17:13:55.655Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T17:13:55.661Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T17:13:55.693Z] $ docker stop --time=1 5a2f71ac34e6fb77c036576d25de02b4d8c6443ac7c263afe011c11cb03d0a55 [2022-05-10T17:13:57.281Z] $ docker rm -f 5a2f71ac34e6fb77c036576d25de02b4d8c6443ac7c263afe011c11cb03d0a55 [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-05-10T17:13:57.876Z] provisioning config files... [2022-05-10T17:13:57.897Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4843174050713861349tmp [Pipeline] { [Pipeline] sh [2022-05-10T17:13:58.239Z] + set +x [2022-05-10T17:13:58.240Z] + curl -s https://codecov.io/bash [2022-05-10T17:13:58.240Z] + bash -s -- [2022-05-10T17:13:58.240Z] [2022-05-10T17:13:58.240Z] _____ _ [2022-05-10T17:13:58.240Z] / ____| | | [2022-05-10T17:13:58.240Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T17:13:58.240Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T17:13:58.240Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T17:13:58.240Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T17:13:58.240Z] Bash-1.0.6 [2022-05-10T17:13:58.240Z] [2022-05-10T17:13:58.240Z] [2022-05-10T17:13:58.240Z] ==> git version 2.25.1 found [2022-05-10T17:13:58.240Z] ==> 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-05-10T17:13:58.240Z] Release-Date: 2020-01-08 [2022-05-10T17:13:58.240Z] 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-05-10T17:13:58.240Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T17:13:58.240Z] ==> Jenkins CI detected. [2022-05-10T17:13:58.240Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-05-10T17:13:58.240Z] project root: . [2022-05-10T17:13:58.240Z] --> token set from env [2022-05-10T17:13:58.240Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T17:13:58.240Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T17:13:58.240Z] ==> Python coveragepy not found [2022-05-10T17:13:58.240Z] ==> Searching for coverage reports in: [2022-05-10T17:13:58.240Z] + . [2022-05-10T17:13:58.240Z] -> Found 1 reports [2022-05-10T17:13:58.240Z] ==> Detecting git/mercurial file structure [2022-05-10T17:13:58.240Z] ==> Reading reports [2022-05-10T17:13:58.240Z] + ./coverage.out bytes=130739 [2022-05-10T17:13:58.240Z] ==> Appending adjustments [2022-05-10T17:13:58.240Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T17:13:58.499Z] + Found adjustments [2022-05-10T17:13:58.499Z] ==> Gzipping contents [2022-05-10T17:13:58.499Z] 20K /tmp/codecov.qwkede.gz [2022-05-10T17:13:58.499Z] ==> Uploading reports [2022-05-10T17:13:58.499Z] url: https://codecov.io [2022-05-10T17:13:58.499Z] query: branch=main&commit=4f64ab83298cb604fe88218673904389f4010661&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T17:13:58.499Z] -> Pinging Codecov [2022-05-10T17:13:58.499Z] 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=4f64ab83298cb604fe88218673904389f4010661&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T17:13:58.759Z] -> Uploading to [2022-05-10T17:13:58.759Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7E55EF52A471D76F132DFD9A03CDDE97/4f64ab83298cb604fe88218673904389f4010661/d26ce4db-2d87-4644-8646-d2fb1fba1047.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T171358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c406eecbfc893e085883a313245870e302726f1394b0c797dba6976de9af8ae [2022-05-10T17:13:58.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T17:13:58.759Z] Dload Upload Total Spent Left Speed [2022-05-10T17:13:59.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16810 0 0 100 16810 0 72145 --:--:-- --:--:-- --:--:-- 72145 [2022-05-10T17:13:59.021Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4f64ab83298cb604fe88218673904389f4010661 [Pipeline] } [2022-05-10T17:13:59.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T17:13:59.282Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T17:13:59.294Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:13:59.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T17:13:59.591Z] [2022-05-10T17:13:59.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:13:59.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T17:13:59.902Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T17:13:59.902Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T17:13:59.902Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T17:13:59.902Z] de9db76c5a1d: Pulling fs layer [2022-05-10T17:13:59.902Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T17:13:59.902Z] 0d57e429df01: Pulling fs layer [2022-05-10T17:13:59.902Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T17:13:59.902Z] e1f770b5df2f: Pulling fs layer [2022-05-10T17:13:59.902Z] 85a0685a4137: Pulling fs layer [2022-05-10T17:13:59.902Z] 0d57e429df01: Waiting [2022-05-10T17:13:59.902Z] 0eba1c9be4d2: Waiting [2022-05-10T17:13:59.902Z] 4e4be7b47b0d: Waiting [2022-05-10T17:13:59.902Z] e1f770b5df2f: Waiting [2022-05-10T17:13:59.902Z] 85a0685a4137: Waiting [2022-05-10T17:13:59.902Z] de9db76c5a1d: Verifying Checksum [2022-05-10T17:13:59.902Z] de9db76c5a1d: Download complete [2022-05-10T17:13:59.902Z] 0ef7d3d256c8: Download complete [2022-05-10T17:13:59.902Z] 0d57e429df01: Verifying Checksum [2022-05-10T17:13:59.902Z] 0d57e429df01: Download complete [2022-05-10T17:13:59.902Z] 4e4be7b47b0d: Download complete [2022-05-10T17:13:59.902Z] 188c0c94c7c5: Verifying Checksum [2022-05-10T17:14:00.165Z] 188c0c94c7c5: Pull complete [2022-05-10T17:14:00.165Z] e1f770b5df2f: Verifying Checksum [2022-05-10T17:14:00.165Z] e1f770b5df2f: Download complete [2022-05-10T17:14:00.165Z] 0ef7d3d256c8: Pull complete [2022-05-10T17:14:00.429Z] de9db76c5a1d: Pull complete [2022-05-10T17:14:00.690Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T17:14:00.690Z] 0eba1c9be4d2: Download complete [2022-05-10T17:14:00.950Z] 85a0685a4137: Verifying Checksum [2022-05-10T17:14:00.950Z] 85a0685a4137: Download complete [2022-05-10T17:14:04.240Z] 0eba1c9be4d2: Pull complete [2022-05-10T17:14:04.240Z] 0d57e429df01: Pull complete [2022-05-10T17:14:04.240Z] 4e4be7b47b0d: Pull complete [2022-05-10T17:14:04.501Z] e1f770b5df2f: Pull complete [2022-05-10T17:14:07.796Z] 85a0685a4137: Pull complete [2022-05-10T17:14:07.796Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T17:14:07.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T17:14:07.796Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T17:14:07.866Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:14:07.918Z] $ 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-05-10T17:14:09.982Z] $ docker top 5f42f435e17c4aa0f0d281216aa7492519b25eb301fa8c1cc7d6ab435a4b502c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T17:14:10.043Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T17:14:10.331Z] + set -o pipefail [2022-05-10T17:14:10.331Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T17:14:15.617Z] [2022-05-10T17:14:15.617Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-05-10T17:14:15.617Z] [2022-05-10T17:14:15.617Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/42c9fb26-fb85-4faa-b1c1-575493f9d84b [2022-05-10T17:14:15.617Z] [2022-05-10T17:14:15.617Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T17:14:15.617Z] [2022-05-10T17:14:15.617Z] [Pipeline] } [2022-05-10T17:14:15.648Z] $ docker stop --time=1 5f42f435e17c4aa0f0d281216aa7492519b25eb301fa8c1cc7d6ab435a4b502c [2022-05-10T17:14:17.613Z] $ docker rm -f 5f42f435e17c4aa0f0d281216aa7492519b25eb301fa8c1cc7d6ab435a4b502c [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-05-10T17:14:18.041Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:14:18.056Z] provisioning config files... [2022-05-10T17:14:18.065Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1195613125659892754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:18.363Z] --> edgex-publish-swagger.sh [2022-05-10T17:14:18.363Z] === Publish openapi/v2 API === [2022-05-10T17:14:18.363Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-05-10T17:14:18.363Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-05-10T17:14:18.363Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T17:14:18.363Z] Dload Upload Total Spent Left Speed [2022-05-10T17:14:18.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 93641 --:--:-- --:--:-- --:--:-- 93477 100 53282 0 0 100 53282 0 93641 --:--:-- --:--:-- --:--:-- 93477 [2022-05-10T17:14:18.934Z] [2022-05-10T17:14:18.934Z] [Pipeline] } [2022-05-10T17:14:18.944Z] 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-05-10T17:14:19.345Z] + git log --format=format:%s -1 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] sh [2022-05-10T17:14:19.640Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T17:14:19.640Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:14:19.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:14:19.939Z] . [Pipeline] withDockerContainer [2022-05-10T17:14:20.008Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:14:20.060Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T17:14:20.460Z] $ docker top 1a89eac38f9d30417f97c59321d52b45379c00152876a88629df23af2303de5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T17:14:20.534Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.40' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T17:14:20.830Z] + git semver [Pipeline] } [2022-05-10T17:14:21.123Z] $ docker stop --time=1 1a89eac38f9d30417f97c59321d52b45379c00152876a88629df23af2303de5b [2022-05-10T17:14:22.403Z] $ docker rm -f 1a89eac38f9d30417f97c59321d52b45379c00152876a88629df23af2303de5b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:14:22.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T17:14:22.763Z] [2022-05-10T17:14:22.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:14:23.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T17:14:23.063Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T17:14:23.063Z] ab5ef0e58194: Pulling fs layer [2022-05-10T17:14:23.063Z] 9712f1f96733: Pulling fs layer [2022-05-10T17:14:23.063Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T17:14:23.063Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T17:14:23.063Z] e9a5061849ea: Pulling fs layer [2022-05-10T17:14:23.063Z] d747dcd14b5f: Pulling fs layer [2022-05-10T17:14:23.063Z] 2de7ff778b66: Pulling fs layer [2022-05-10T17:14:23.063Z] 0d9ebad4ef96: Waiting [2022-05-10T17:14:23.063Z] e9a5061849ea: Waiting [2022-05-10T17:14:23.063Z] d747dcd14b5f: Waiting [2022-05-10T17:14:23.063Z] 2de7ff778b66: Waiting [2022-05-10T17:14:23.322Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T17:14:23.322Z] 63f879dbbcfc: Download complete [2022-05-10T17:14:23.582Z] e9a5061849ea: Verifying Checksum [2022-05-10T17:14:23.582Z] e9a5061849ea: Download complete [2022-05-10T17:14:23.582Z] d747dcd14b5f: Download complete [2022-05-10T17:14:23.582Z] ab5ef0e58194: Verifying Checksum [2022-05-10T17:14:23.582Z] ab5ef0e58194: Download complete [2022-05-10T17:14:23.841Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T17:14:23.841Z] 0d9ebad4ef96: Download complete [2022-05-10T17:14:23.841Z] 2de7ff778b66: Verifying Checksum [2022-05-10T17:14:23.841Z] 2de7ff778b66: Download complete [2022-05-10T17:14:26.373Z] ab5ef0e58194: Pull complete [2022-05-10T17:14:26.373Z] 9712f1f96733: Pull complete [2022-05-10T17:14:27.310Z] 63f879dbbcfc: Pull complete [2022-05-10T17:14:30.600Z] 0d9ebad4ef96: Pull complete [2022-05-10T17:14:31.171Z] e9a5061849ea: Pull complete [2022-05-10T17:14:31.171Z] d747dcd14b5f: Pull complete [2022-05-10T17:14:32.111Z] 2de7ff778b66: Pull complete [2022-05-10T17:14:32.111Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T17:14:32.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T17:14:32.111Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T17:14:32.183Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:14:32.238Z] $ 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-05-10T17:14:34.252Z] $ docker top fb9698cb7e1b2051ebc349082dc31590fe1d47ad6acfe7653ed22bb0f1e7ff20 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:14:34.325Z] provisioning config files... [2022-05-10T17:14:34.333Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1151750370950698663tmp [2022-05-10T17:14:34.344Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3335676702825141870tmp [2022-05-10T17:14:34.355Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6712274309005087816tmp [Pipeline] { [Pipeline] echo [2022-05-10T17:14:34.373Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:34.660Z] ---> sigul-configuration.sh [2022-05-10T17:14:34.660Z] gpg: directory `/root/.gnupg' created [2022-05-10T17:14:34.660Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T17:14:34.660Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T17:14:34.660Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T17:14:34.660Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T17:14:34.660Z] gpg: CAST5 encrypted data [2022-05-10T17:14:34.660Z] gpg: encrypted with 1 passphrase [2022-05-10T17:14:34.660Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T17:14:34.949Z] + mkdir /home/jenkins [2022-05-10T17:14:34.949Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T17:14:35.237Z] + 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-05-10T17:14:35.248Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:35.615Z] ---> sigul-install.sh [2022-05-10T17:14:35.615Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T17:14:35.934Z] + git tag --list [2022-05-10T17:14:35.934Z] 0.7.1 [2022-05-10T17:14:35.934Z] delhi-tag [2022-05-10T17:14:35.934Z] v1.0.0 [2022-05-10T17:14:35.934Z] v1.1.0 [2022-05-10T17:14:35.934Z] v1.1.1 [2022-05-10T17:14:35.934Z] v1.1.2 [2022-05-10T17:14:35.934Z] v1.2.0 [2022-05-10T17:14:35.934Z] v1.2.1 [2022-05-10T17:14:35.934Z] v1.2.2 [2022-05-10T17:14:35.934Z] v1.2.3 [2022-05-10T17:14:35.934Z] v1.3.0 [2022-05-10T17:14:35.934Z] v1.4.0 [2022-05-10T17:14:35.934Z] v2.0.0 [2022-05-10T17:14:35.934Z] v2.0.1-dev.1 [2022-05-10T17:14:35.934Z] v2.0.1-dev.10 [2022-05-10T17:14:35.934Z] v2.0.1-dev.11 [2022-05-10T17:14:35.934Z] v2.0.1-dev.12 [2022-05-10T17:14:35.934Z] v2.0.1-dev.13 [2022-05-10T17:14:35.934Z] v2.0.1-dev.14 [2022-05-10T17:14:35.934Z] v2.0.1-dev.15 [2022-05-10T17:14:35.934Z] v2.0.1-dev.16 [2022-05-10T17:14:35.934Z] v2.0.1-dev.17 [2022-05-10T17:14:35.934Z] v2.0.1-dev.18 [2022-05-10T17:14:35.934Z] v2.0.1-dev.19 [2022-05-10T17:14:35.934Z] v2.0.1-dev.2 [2022-05-10T17:14:35.934Z] v2.0.1-dev.20 [2022-05-10T17:14:35.934Z] v2.0.1-dev.21 [2022-05-10T17:14:35.934Z] v2.0.1-dev.22 [2022-05-10T17:14:35.934Z] v2.0.1-dev.23 [2022-05-10T17:14:35.934Z] v2.0.1-dev.24 [2022-05-10T17:14:35.934Z] v2.0.1-dev.25 [2022-05-10T17:14:35.934Z] v2.0.1-dev.26 [2022-05-10T17:14:35.934Z] v2.0.1-dev.27 [2022-05-10T17:14:35.934Z] v2.0.1-dev.28 [2022-05-10T17:14:35.934Z] v2.0.1-dev.29 [2022-05-10T17:14:35.934Z] v2.0.1-dev.3 [2022-05-10T17:14:35.934Z] v2.0.1-dev.30 [2022-05-10T17:14:35.934Z] v2.0.1-dev.31 [2022-05-10T17:14:35.934Z] v2.0.1-dev.32 [2022-05-10T17:14:35.934Z] v2.0.1-dev.33 [2022-05-10T17:14:35.934Z] v2.0.1-dev.4 [2022-05-10T17:14:35.934Z] v2.0.1-dev.5 [2022-05-10T17:14:35.934Z] v2.0.1-dev.6 [2022-05-10T17:14:35.934Z] v2.0.1-dev.7 [2022-05-10T17:14:35.934Z] v2.0.1-dev.8 [2022-05-10T17:14:35.934Z] v2.0.1-dev.9 [2022-05-10T17:14:35.934Z] v2.1.0 [2022-05-10T17:14:35.934Z] v2.1.1-dev.1 [2022-05-10T17:14:35.934Z] v2.2.0 [2022-05-10T17:14:35.934Z] v2.2.0-dev.1 [2022-05-10T17:14:35.934Z] v2.2.0-dev.10 [2022-05-10T17:14:35.934Z] v2.2.0-dev.11 [2022-05-10T17:14:35.934Z] v2.2.0-dev.12 [2022-05-10T17:14:35.934Z] v2.2.0-dev.13 [2022-05-10T17:14:35.934Z] v2.2.0-dev.14 [2022-05-10T17:14:35.934Z] v2.2.0-dev.15 [2022-05-10T17:14:35.934Z] v2.2.0-dev.16 [2022-05-10T17:14:35.934Z] v2.2.0-dev.17 [2022-05-10T17:14:35.934Z] v2.2.0-dev.18 [2022-05-10T17:14:35.934Z] v2.2.0-dev.19 [2022-05-10T17:14:35.934Z] v2.2.0-dev.2 [2022-05-10T17:14:35.934Z] v2.2.0-dev.20 [2022-05-10T17:14:35.934Z] v2.2.0-dev.21 [2022-05-10T17:14:35.934Z] v2.2.0-dev.22 [2022-05-10T17:14:35.934Z] v2.2.0-dev.23 [2022-05-10T17:14:35.934Z] v2.2.0-dev.24 [2022-05-10T17:14:35.934Z] v2.2.0-dev.25 [2022-05-10T17:14:35.934Z] v2.2.0-dev.26 [2022-05-10T17:14:35.934Z] v2.2.0-dev.27 [2022-05-10T17:14:35.934Z] v2.2.0-dev.28 [2022-05-10T17:14:35.934Z] v2.2.0-dev.29 [2022-05-10T17:14:35.934Z] v2.2.0-dev.3 [2022-05-10T17:14:35.934Z] v2.2.0-dev.30 [2022-05-10T17:14:35.934Z] v2.2.0-dev.31 [2022-05-10T17:14:35.934Z] v2.2.0-dev.32 [2022-05-10T17:14:35.934Z] v2.2.0-dev.33 [2022-05-10T17:14:35.934Z] v2.2.0-dev.34 [2022-05-10T17:14:35.934Z] v2.2.0-dev.35 [2022-05-10T17:14:35.934Z] v2.2.0-dev.36 [2022-05-10T17:14:35.934Z] v2.2.0-dev.37 [2022-05-10T17:14:35.934Z] v2.2.0-dev.38 [2022-05-10T17:14:35.934Z] v2.2.0-dev.39 [2022-05-10T17:14:35.934Z] v2.2.0-dev.4 [2022-05-10T17:14:35.934Z] v2.2.0-dev.40 [2022-05-10T17:14:35.934Z] v2.2.0-dev.5 [2022-05-10T17:14:35.934Z] v2.2.0-dev.6 [2022-05-10T17:14:35.934Z] v2.2.0-dev.7 [2022-05-10T17:14:35.934Z] v2.2.0-dev.8 [2022-05-10T17:14:35.934Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T17:14:36.221Z] + lftools sign git-tag v2.2.0 [2022-05-10T17:14:36.792Z] Signing Git tag with Sigul... [2022-05-10T17:14:36.792Z] Signing v2.2.0 [Pipeline] echo [2022-05-10T17:14:37.065Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:37.358Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T17:14:37.367Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T17:14:37.408Z] $ docker stop --time=1 fb9698cb7e1b2051ebc349082dc31590fe1d47ad6acfe7653ed22bb0f1e7ff20 [2022-05-10T17:14:38.734Z] $ docker rm -f fb9698cb7e1b2051ebc349082dc31590fe1d47ad6acfe7653ed22bb0f1e7ff20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T17:14:39.131Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T17:14:39.131Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:14:39.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:14:39.425Z] . [Pipeline] withDockerContainer [2022-05-10T17:14:39.495Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:14:39.551Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T17:14:39.938Z] $ docker top 037b0844ae4aadfff6ccae000cedee39c31e4245550525f22bcd524782767d4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T17:14:40.006Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.40' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T17:14:40.299Z] + git semver [Pipeline] } [2022-05-10T17:14:40.592Z] $ docker stop --time=1 037b0844ae4aadfff6ccae000cedee39c31e4245550525f22bcd524782767d4a [2022-05-10T17:14:41.898Z] $ docker rm -f 037b0844ae4aadfff6ccae000cedee39c31e4245550525f22bcd524782767d4a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T17:14:42.236Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T17:14:42.236Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:14:42.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T17:14:42.530Z] . [Pipeline] withDockerContainer [2022-05-10T17:14:42.599Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:14:42.653Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T17:14:43.046Z] $ docker top 8ab37378ae70bc9d0126acf2ad4c010187e583d3b65f91c96d5f4608ce0263c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T17:14:43.118Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.40' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T17:14:43.410Z] + git semver [Pipeline] } [2022-05-10T17:14:43.704Z] $ docker stop --time=1 8ab37378ae70bc9d0126acf2ad4c010187e583d3b65f91c96d5f4608ce0263c1 [2022-05-10T17:14:45.026Z] $ docker rm -f 8ab37378ae70bc9d0126acf2ad4c010187e583d3b65f91c96d5f4608ce0263c1 [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-05-10T17:14:45.615Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-05-10T17:14:45.615Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-10T17:14:45.615Z] total 16 [2022-05-10T17:14:45.615Z] drwxr-xr-x 3 root root 4096 May 10 17:02 . [2022-05-10T17:14:45.615Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 17:14 .. [2022-05-10T17:14:45.615Z] drwxr-xr-x 2 root root 4096 May 10 17:02 cost [2022-05-10T17:14:45.615Z] -rw-r--r-- 1 root root 84 May 10 17:02 cost.csv [2022-05-10T17:14:45.615Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-10T17:14:45.615Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-10T17:14:45.615Z] total 16 [2022-05-10T17:14:45.615Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:02 . [2022-05-10T17:14:45.615Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 17:14 .. [2022-05-10T17:14:45.615Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 17:02 cost [2022-05-10T17:14:45.615Z] -rw-r--r-- 1 jenkins jenkins 84 May 10 17:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:45.911Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:46.777Z] ---> package-listing.sh [2022-05-10T17:14:46.777Z] ++ facter osfamily [2022-05-10T17:14:46.777Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T17:14:47.036Z] + OS_FAMILY=debian [2022-05-10T17:14:47.036Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-05-10T17:14:47.036Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T17:14:47.036Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T17:14:47.036Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T17:14:47.036Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T17:14:47.036Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-05-10T17:14:47.036Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T17:14:47.036Z] + case "${OS_FAMILY}" in [2022-05-10T17:14:47.036Z] + dpkg -l [2022-05-10T17:14:47.036Z] + grep '^ii' [2022-05-10T17:14:47.036Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T17:14:47.036Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T17:14:47.036Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T17:14:47.036Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-05-10T17:14:47.036Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-05-10T17:14:47.036Z] + 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-05-10T17:14:47.050Z] 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-05-10T17:14:47.330Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T17:14:47.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T17:14:47.894Z] . [Pipeline] withDockerContainer [2022-05-10T17:14:47.970Z] prd-ubuntu20.04-docker-8c-8g-47792 does not seem to be running inside a container [2022-05-10T17:14:48.024Z] $ 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-05-10T17:14:48.288Z] $ docker top 074b6e9fcca95f0519d82075c150742865c442e70199a335755f56d8dbe68ec6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T17:14:48.638Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T17:14:48.924Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T17:14:49.214Z] + ls /var/log/sa-host [2022-05-10T17:14:49.214Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T17:14:49.442Z] provisioning config files... [2022-05-10T17:14:49.449Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7454363150548058662tmp [Pipeline] { [Pipeline] echo [2022-05-10T17:14:49.464Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:49.753Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T17:14:49.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:50.111Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T17:14:50.124Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:50.412Z] ---> sudo-logs.sh [2022-05-10T17:14:50.412Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T17:14:50.435Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:50.730Z] ---> job-cost.sh [2022-05-10T17:14:50.730Z] lf-activate-venv: SKIPPING [2022-05-10T17:14:50.730Z] DEBUG: total: 0.2199999988079071 [2022-05-10T17:14:50.730Z] INFO: Retrieving Stack Cost... [2022-05-10T17:14:51.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T17:14:51.560Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T17:14:51.576Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T17:14:51.891Z] ---> logs-deploy.sh [2022-05-10T17:14:51.891Z] lf-activate-venv: SKIPPING [2022-05-10T17:14:51.891Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/75 [2022-05-10T17:14:51.891Z] INFO: archiving workspace using pattern(s): [2022-05-10T17:14:52.882Z] Archives upload complete. [2022-05-10T17:14:52.882Z] INFO: archiving logs to Nexus